.anon-page > #detail-page-content,
.anon-page > #detail-page-content > .content-card,
.anon-page > #detail-page-content > .content-card > .container {
    background: transparent !important; padding: 0 !important; margin: 0 !important;
    max-width: 100% !important; width: 100% !important; box-shadow: none !important; border-radius: 0 !important;
}

body.detail-page .content,
body:has(.table-page) .content {
    padding-top: 0 !important; padding-bottom: 0 !important;
    margin-top: 0 !important; margin-bottom: 0 !important; background: transparent !important;
}

body:has(.table-page),
body.detail-page { background-color: var(--bg-primary); }

.table-page {
    --card-bg: #2a2a2a;
    width: 100%;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    padding: 100px 0 0;
    margin: 0;
    min-height: auto;
    position: relative;
}

.table-page::before,
.table-page::after { content: none !important; }

.table-page img {
    -webkit-user-select: none !important; -moz-user-select: none !important;
    -ms-user-select: none !important; user-select: none !important;
    -webkit-user-drag: none !important; -webkit-touch-callout: none !important;
}

.table-page__inner { max-width: 1200px; margin: 0 auto; padding: 0 20px 20px; }

.table-page__head { background: var(--card-bg); border-radius: 12px; padding: 26px 28px; margin: 0 0 20px; }

.table-page__head h1 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(30px, 3.4vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    letter-spacing: 1.5px;
    margin: 0 0 10px;
    padding: 0;
    text-transform: uppercase;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.table-page__head .subtitle {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.55;
    color: rgba(230, 230, 235, 0.85);
    margin: 0 0 16px;
    letter-spacing: 0.2px;
}

.table-page__head p { margin: 0; font-size: 16px; line-height: 1.75; color: var(--text-secondary); }
.table-page__head p:last-child { margin: 0; }

.table-back-btn-wrap { margin-top: 30px; width: 100%; }

.ts-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; min-height: 52px; padding: 0 32px; border-radius: 6px;
    font-family: inherit; font-weight: 600; font-size: 0.98rem; letter-spacing: 0.3px;
    text-decoration: none; box-sizing: border-box; cursor: pointer; user-select: none;
    transition: background 0.2s, border-color 0.2s, transform 0.1s;
}
.ts-btn-secondary { background: transparent; border: 1px solid #555555; color: #e0e0e0 !important; }
.ts-btn-secondary:hover { background: #333333; border-color: #777777; color: #ffffff !important; }
.ts-btn:active { transform: translateY(1px); }

.stat-tabs { display: flex; gap: 8px; margin: 0 0 14px; flex-wrap: wrap; }
.stat-tab {
    display: inline-block; padding: 10px 20px; background: var(--card-bg);
    color: var(--text-secondary); border-radius: 8px; text-decoration: none;
    font-weight: 600; font-size: 14px; transition: background 0.2s, color 0.2s;
    -webkit-tap-highlight-color: transparent;
}
.stat-tab:hover { color: #fff; background: #333; }
.stat-tab.is-active { background: #4a9fd4; color: #fff; }

.stat-year-selector { display: flex; gap: 6px; margin: 0 0 20px; flex-wrap: wrap; }
.stat-year {
    display: inline-block; padding: 8px 14px; background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15); color: var(--text-secondary);
    border-radius: 6px; text-decoration: none; font-size: 13px; font-weight: 600;
    -webkit-tap-highlight-color: transparent;
}
.stat-year:hover { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.stat-year.is-active { background: #4a9fd4; border-color: #4a9fd4; color: #fff; }

.stat-table-wrap { background: var(--card-bg); border-radius: 12px; overflow: hidden; margin: 0 0 16px; }
.stat-table { width: 100%; border-collapse: collapse; display: table; table-layout: auto; }
.stat-table th, .stat-table td {
    padding: 12px 16px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary); font-size: 14px; vertical-align: top;
}
.stat-table th {
    background: var(--card-bg); color: #fff; font-weight: 700; font-size: 12.5px;
    text-transform: uppercase; letter-spacing: 0.6px; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.stat-table tr:last-child td { border-bottom: none; }
.stat-table__value { color: #ffffff; font-weight: 700; white-space: nowrap; }
.stat-table__value--zero { color: #666; font-weight: 500; }
.stat-table__num { color: #888; font-size: 12.5px; }

.stat-pagination {
    display: flex; align-items: center; justify-content: center; gap: 14px;
    margin: 0 0 24px; padding: 12px 16px; background: var(--card-bg);
    border-radius: 12px; flex-wrap: wrap;
}
.stat-pagination__btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 8px 18px; background: #383838; color: #fff; border-radius: 6px;
    text-decoration: none; font-weight: 600; font-size: 13px;
    transition: background 0.2s, color 0.2s; min-height: 36px;
    -webkit-tap-highlight-color: transparent;
}
.stat-pagination__btn:hover { background: #4a9fd4; color: #fff; }
.stat-pagination__btn.is-disabled { opacity: 0.3; cursor: default; pointer-events: none; }
.stat-pagination__info { color: #b8b8b8; font-size: 13px; font-weight: 500; text-align: center; }
.stat-pagination__info b { color: #fff; font-weight: 700; }

.stat-chart-empty { text-align: center; color: #888; padding: 30px 10px 10px; font-size: 14px; background: var(--card-bg); border-radius: 12px; margin-bottom: 20px; }

.stat-locked { position: relative; display: block; width: 100%; padding: 0; margin: 0 0 24px; background: transparent; pointer-events: auto; opacity: 1; }
.stat-locked__inner {
    position: relative; z-index: 2; width: 100%; max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    gap: 40px; align-items: center; padding: 32px 36px;
    background: var(--card-bg); border-radius: 12px; box-sizing: border-box;
}
.stat-locked__gif { display: flex; justify-content: center; align-items: center; width: 100%; pointer-events: none; user-select: none; }
.stat-locked__gif img { display: block; width: auto; max-width: 100%; max-height: 220px; height: auto; object-fit: contain; }
.stat-locked__content { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
.stat-locked__title { margin: 0; font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 28px; font-weight: 800; color: #ffffff; line-height: 1.15; letter-spacing: 0.2px; }
.stat-locked__text { margin: 0; color: #b8b8b8; font-size: 0.98rem; line-height: 1.6; font-weight: 400; letter-spacing: 0.1px; }
.stat-locked__btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; min-height: 52px; padding: 0 32px; margin-top: 6px;
    background: #0073aa; border: 1px solid #0073aa; border-radius: 6px;
    color: #ffffff; font-weight: 600; font-size: 0.98rem; letter-spacing: 0.3px;
    text-decoration: none; box-sizing: border-box; cursor: pointer; user-select: none;
    transition: background 0.2s, border-color 0.2s, transform 0.1s; align-self: stretch;
}
.stat-locked__btn:hover { background: #005177; border-color: #005177; color: #ffffff; }
.stat-locked__btn:active { transform: translateY(1px); }
.stat-locked__btn svg { width: 22px; height: 22px; flex-shrink: 0; fill: currentColor; color: inherit; display: block; }

@media (max-width: 900px) {
    .table-page__head { padding: 22px 22px; }
    .table-page__head h1 { text-align: center; font-size: clamp(26px, 5.2vw, 34px); letter-spacing: 1px; margin-bottom: 12px; }
    .table-page__head .subtitle { text-align: center; font-size: 16px; margin-bottom: 14px; }
    .table-page__head p { text-align: center; }
    .stat-locked__inner { grid-template-columns: 1fr; gap: 24px; padding: 28px 22px; }
    .stat-locked__gif img { max-height: 180px; }
    .stat-locked__content { align-items: stretch; text-align: center; }
    .stat-locked__title { font-size: 24px; }
}

@media (max-width: 600px) {
    .table-page { padding: 90px 0 0; }
    .table-page__inner { padding: 0 14px 14px; }
    .table-page__head { padding: 20px 20px; border-radius: 10px; margin: 0 0 16px; }
    .table-page__head h1 { font-size: clamp(24px, 6.5vw, 30px); letter-spacing: 0.8px; margin-bottom: 10px; }
    .table-page__head .subtitle { font-size: 15px; margin-bottom: 12px; }
    .table-page__head p { font-size: 15px; line-height: 1.7; }
    .stat-tab { padding: 9px 16px; font-size: 13px; }
    .stat-year { padding: 7px 12px; font-size: 12.5px; }
    .stat-table th, .stat-table td { padding: 10px 12px; font-size: 13px; }
    .stat-table th { font-size: 11.5px; }
    .stat-pagination { gap: 10px; padding: 10px 12px; margin-bottom: 16px; }
    .stat-pagination__btn { padding: 7px 14px; font-size: 12.5px; min-height: 34px; }
    .stat-pagination__info { font-size: 12px; }
    .stat-locked { margin: 0 0 16px; }
    .stat-locked__inner { padding: 24px 18px; gap: 20px; }
    .stat-locked__gif img { max-height: 160px; }
    .stat-locked__title { font-size: 20px; }
    .stat-locked__text { font-size: 0.92rem; }
    .stat-locked__btn { min-height: 48px; padding: 0 24px; font-size: 0.92rem; }
    .stat-locked__btn svg { width: 20px; height: 20px; }
}

@media (max-width: 480px) {
    .table-page__head h1 { font-size: 22px; letter-spacing: 0.6px; }
    .table-page__head .subtitle { font-size: 14.5px; margin-bottom: 10px; }
}