.main-text table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(14, 0, 32, 0.95);
    border: 1px solid rgba(255, 208, 0, 0.18);
    border-radius: 14px;
    overflow: hidden;
    margin: 35px 0;
    color: #ffffff;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.35);
}

.main-text table thead {
    background: linear-gradient(90deg, #1b0036 0%, #2d0055 100%);
}

.main-text table thead tr {
    border-bottom: 2px solid #ffd000;
}

.main-text table th {
    padding: 16px 18px;
    text-align: left;
    color: #ffd000;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.main-text table td {
    padding: 15px 18px;
    color: #e6e0ef;
    font-size: 14px;
    line-height: 1.7;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    vertical-align: top;
}

.main-text table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.main-text table tbody tr:hover {
    background: rgba(255, 208, 0, 0.05);
    transition: 0.2s ease;
}

.main-text table tbody tr:last-child td {
    border-bottom: none;
}

.main-text table strong,
.main-text table b {
    color: #ffffff;
}

/* div.table-container > table — карточка как в референсе, палитра Boomerang (:root в style.css) */
.main-text .table-container,
#primary .entry-content .table-container {
	width: 100%;
	max-width: 100%;
	margin: 35px 0;
	box-sizing: border-box;
	background-color: var(--boom-surface, #1a1a1a);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
	-webkit-overflow-scrolling: touch;
}

.main-text .table-container > table,
#primary .entry-content .table-container > table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
	background: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none;
	color: #ffffff;
    overflow: scroll;
}

.main-text .table-container > table thead,
#primary .entry-content .table-container > table thead {
	background: rgba(0, 0, 0, 0.35);
}

.main-text .table-container > table thead tr,
#primary .entry-content .table-container > table thead tr {
	border-bottom: 2px solid var(--boom-gold, #ffd700);
}

.main-text .table-container > table th,
#primary .entry-content .table-container > table th {
	padding: 15px 20px;
	text-align: left;
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.02em;
	border: none;
	vertical-align: middle;
	overflow-wrap: break-word;
	word-break: break-word;
}

.main-text .table-container > table td,
#primary .entry-content .table-container > table td {
	padding: 15px 20px;
	text-align: left;
	color: #ffffff;
	font-size: 14px;
	line-height: 1.65;
	vertical-align: top;
	border: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	overflow-wrap: break-word;
	word-break: break-word;
}

.main-text .table-container > table tbody tr:nth-child(even),
#primary .entry-content .table-container > table tbody tr:nth-child(even) {
	background: rgba(255, 255, 255, 0.02);
}

.main-text .table-container > table tbody tr:hover,
#primary .entry-content .table-container > table tbody tr:hover {
	background: rgba(255, 215, 0, 0.05);
	transition: background 0.2s ease;
}

.main-text .table-container > table tbody tr:last-child td,
#primary .entry-content .table-container > table tbody tr:last-child td {
	border-bottom: none;
}

.main-text .table-container > table tbody b,
.main-text .table-container > table tbody strong,
#primary .entry-content .table-container > table tbody b,
#primary .entry-content .table-container > table tbody strong {
	color: #ffffff;
	font-weight: 700;
}

.main-text .table-container > table tbody span,
#primary .entry-content .table-container > table tbody span {
	color: var(--boom-text-muted, #a0a0a0);
	font-weight: 400;
}