.table-page {
    padding: 36px 0 60px;
    background:
        radial-gradient(circle at top left, rgba(217, 90, 43, 0.08), transparent 26%),
        radial-gradient(circle at 100% 10%, rgba(255, 255, 255, 0.72), transparent 18%),
        linear-gradient(180deg, #fcf6f1 0%, #f8f1ea 100%);
}

.table-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) 280px;
    gap: 20px;
    align-items: stretch;
    margin-bottom: 28px;
}

.table-hero-main,
.table-sidebar,
.table-panel {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #ead9cf;
    border-radius: 28px;
    box-shadow: 0 20px 40px rgba(90, 58, 36, 0.08);
}

.table-hero-main {
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.table-hero-main::after {
    content: "";
    position: absolute;
    right: -44px;
    top: -44px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 106, 53, 0.15), transparent 68%);
    pointer-events: none;
}

.table-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 14px;
    align-content: start;
    background: linear-gradient(180deg, #3a2a27 0%, #291c1b 100%);
    color: #fff;
}

.table-kicker-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.table-kicker,
.table-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: #fff4ec;
    border: 1px solid #efd1c0;
    color: #8b4a30;
    font-size: 12px;
    font-weight: 800;
}

.table-title {
    margin: 16px 0 18px;
    font-size: clamp(42px, 6vw, 68px);
    line-height: 0.98;
    letter-spacing: -0.05em;
    font-weight: 900;
}

.table-byline {
    display: flex;
    align-items: center;
    gap: 14px;
}

.table-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: #fff3eb;
    border: 1px solid #efd1c0;
    color: #8b4a30;
    font-weight: 900;
}

.table-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.table-byline strong,
.table-byline a {
    color: #d95a2b;
}

.table-byline p,
.table-panel-copy,
.table-movie-body p,
.table-comment-card p,
.table-member-row span {
    margin: 4px 0 0;
    color: #60534d;
    line-height: 1.8;
}

.table-description {
    margin: 22px 0 0;
    max-width: 760px;
    color: #4f4039;
    font-size: 18px;
    line-height: 1.85;
}

.table-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.table-schedule-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.table-schedule-block {
    padding: 16px 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, #fffaf6 0%, #fff4ee 100%);
    border: 1px solid #ead9cf;
}

.table-schedule-label {
    display: block;
    color: #a15f40;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 8px;
}

.table-schedule-block strong {
    color: #181311;
}

.table-stat-card {
    padding: 18px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.table-stat-card h3 {
    margin: 0;
    font-size: 40px;
    line-height: 1;
}

.table-stat-card h4 {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 900;
}

.table-stat-card p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800;
}

.table-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) 320px;
    gap: 20px;
}

.table-main-column,
.table-side-column,
.table-member-list,
.table-comment-list,
.table-movie-list {
    display: grid;
    gap: 18px;
}

.table-panel {
    padding: 24px;
}

.table-panel-soft {
    background: linear-gradient(180deg, #fffaf6 0%, #fff5ef 100%);
}

.table-current-next-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.table-current-next-card {
    padding: 16px 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, #fffaf6 0%, #fff5ef 100%);
    border: 1px solid #ead9cf;
}

.table-current-next-card strong,
.table-current-next-card strong a {
    color: #181311;
}

.table-poll-list {
    display: grid;
    gap: 14px;
}

.table-poll-card {
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, #fffaf6 0%, #fff4ee 100%);
    border: 1px solid #ead9cf;
}

.table-poll-head {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 14px;
}

.table-poll-head strong {
    display: block;
    margin: 0;
    color: #181311;
}

.table-poll-head p,
.table-poll-meta {
    margin: 8px 0 0;
    color: #60534d;
    line-height: 1.7;
}

.table-poll-threshold {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #ead9cf;
    color: #8b4a30;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.table-poll-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.table-poll-score,
.table-poll-actions,
.table-poll-launchers {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.table-poll-score-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #ead9cf;
    color: #5b463c;
    font-size: 12px;
    font-weight: 800;
}

.table-poll-score-yes {
    color: #2f7a41;
    border-color: rgba(47, 122, 65, 0.24);
    background: rgba(47, 122, 65, 0.08);
}

.table-poll-score-no {
    color: #9a4d35;
    border-color: rgba(154, 77, 53, 0.24);
    background: rgba(217, 90, 43, 0.08);
}

.table-poll-launcher {
    margin-top: 16px;
    border-top: 1px solid #ead9cf;
    padding-top: 16px;
}

.table-poll-launcher summary {
    cursor: pointer;
    list-style: none;
    color: #8b4a30;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.table-poll-launcher summary::-webkit-details-marker {
    display: none;
}

.table-poll-launcher[open] summary {
    margin-bottom: 12px;
}

.table-poll-launcher-copy {
    margin: 0 0 12px;
    color: #60534d;
    line-height: 1.7;
}

.table-section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-bottom: 18px;
}

.table-section-kicker {
    color: #a15f40;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 12px;
    font-weight: 900;
}

.table-section-head h2 {
    margin: 8px 0 0;
    font-size: 34px;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.table-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.table-guide-card {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #ead9cf;
    box-shadow: 0 12px 24px rgba(90, 58, 36, 0.05);
}

.table-guide-card strong {
    display: block;
    color: #181311;
    margin-bottom: 8px;
}

.table-guide-card p {
    margin: 0;
    color: #5f524b;
    line-height: 1.75;
}

.table-movie-card,
.table-comment-card,
.table-member-row {
    border: 1px solid #ead9cf;
    border-radius: 22px;
    background: linear-gradient(180deg, #fffaf6 0%, #fff6f0 100%);
}

.table-movie-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 18px;
    box-shadow: 0 12px 24px rgba(90, 58, 36, 0.04);
}

.table-movie-rank {
    display: grid;
    place-items: center;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(180deg, #5c2f23 0%, #d95a2b 100%);
    color: #fff;
    font-weight: 900;
    font-size: 20px;
}

.table-movie-body h3 {
    margin: 0;
    font-size: 28px;
    line-height: 1.05;
}

.table-movie-body h3 a {
    color: #181311;
}

.table-movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
    color: #7a665c;
    font-size: 13px;
    font-weight: 800;
}

.table-movie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.table-comment-card {
    padding: 18px;
    box-shadow: 0 12px 24px rgba(90, 58, 36, 0.04);
}

.table-comment-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-bottom: 8px;
}

.table-comment-head span {
    color: #7a665c;
    font-size: 13px;
    font-weight: 800;
}

.table-member-row {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    box-shadow: 0 12px 24px rgba(90, 58, 36, 0.04);
}

.table-member-body a {
    color: #181311;
}

.table-member-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: #fff3eb;
    border: 1px solid #efd1c0;
    color: #8b4a30;
    font-weight: 900;
}

.table-member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.table-member-row strong {
    display: block;
    color: #181311;
}

.table-member-action {
    margin: 0;
}

.btn-table-light {
    padding: 10px 14px;
    font-size: 12px;
    border-color: #efc1b8;
    color: #8c2f1d;
    background: #fff6f4;
}

.btn-table-light:hover {
    box-shadow: 0 12px 22px rgba(140, 47, 29, 0.10);
}

@media (max-width: 1100px) {
    .table-hero,
    .table-layout {
        grid-template-columns: 1fr;
    }

    .table-guide-grid {
        grid-template-columns: 1fr;
    }

    .table-schedule-strip {
        grid-template-columns: 1fr;
    }

    .table-current-next-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .table-page {
        padding: 24px 0 44px;
    }

    .table-hero-main,
    .table-panel {
        padding: 20px;
    }

    .table-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .table-movie-card {
        grid-template-columns: 1fr;
    }

    .table-movie-rank {
        width: 72px;
    }
}
