/* ==========================================================================
   현역가왕 정보허브 Design System & Typography
   ========================================================================== */
:root {
    --ink: #0f172a;
    --ink-light: #1e293b;
    --muted: #475569;
    --paper: #f8fafc;
    --card-bg: #ffffff;
    --blue: #244ac7;
    --blue-hover: #1d3fa8;
    --blue-light: #edf2ff;
    --blue-border: #bfdbfe;
    --gold: #d97706;
    --gold-light: #fef3c7;
    --teal: #0f766e;
    --teal-hover: #0d9488;
    --teal-light: #f0fdfa;
    --teal-border: #99f6e4;
    --line: #e2e8f0;
    --line-subtle: #f1f5f9;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
    --shadow: 0 4px 16px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.03);
    --shadow-hover: 0 10px 25px -3px rgba(36, 74, 199, 0.12), 0 4px 10px -2px rgba(36, 74, 199, 0.06);
    --shadow-teal: 0 10px 25px -3px rgba(13, 148, 136, 0.15), 0 4px 10px -2px rgba(13, 148, 136, 0.06);
    --radius: 16px;
    --radius-sm: 10px;
}

*, *::before, *::after {
    box-sizing: border-box;
    word-break: keep-all;
    overflow-wrap: break-word;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif;
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, select, textarea {
    font: inherit;
}

button, a, input, select, summary, textarea {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

a:focus-visible, button:focus-visible, summary:focus-visible {
    outline: 3px solid #6389ff;
    outline-offset: 4px;
    border-radius: 4px;
}

button:disabled {
    cursor: default;
}

h1, h2, h3, p {
    margin: 0;
}

h1 {
    font-size: 38px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: -1.2px;
}

h2 {
    font-size: 24px;
    line-height: 1.45;
    font-weight: 800;
    letter-spacing: -0.7px;
}

h3 {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 700;
}

p + p {
    margin-top: 16px;
}

small, .muted {
    color: var(--muted);
    font-size: 13px;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -100px;
    padding: 10px 18px;
    background: white;
    color: var(--blue);
    font-weight: 700;
    border: 2px solid var(--blue);
    border-radius: 8px;
    z-index: 999;
    box-shadow: var(--shadow);
}
.skip-link:focus {
    top: 12px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}

.header-inner {
    max-width: 1220px;
    margin: auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.8px;
    color: var(--ink);
}

.logo-mark {
    background: var(--ink);
    color: var(--gold);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 22px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
}

.logo-sub {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--muted);
    border-left: 1px solid var(--line);
    padding-left: 12px;
}

.main-nav {
    display: flex;
    gap: 6px;
    align-items: center;
}

.nav-link {
    font-size: 14px;
    white-space: nowrap;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 8px;
    color: var(--ink-light);
    transition: all 0.18s ease;
}

.nav-link:hover, .nav-link[aria-current="page"] {
    background: var(--blue-light);
    color: var(--blue);
}

.nav-vote {
    background: var(--blue);
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(36, 74, 199, 0.25);
}

.nav-vote:hover {
    background: var(--blue-hover) !important;
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 14px;
    font-weight: 700;
    font-size: 14px;
    color: var(--ink);
}

.mobile-nav {
    padding: 14px 20px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    background: #ffffff;
}

.mobile-nav[hidden] {
    display: none;
}

.container {
    max-width: 868px;
    margin: auto;
    padding: 0 24px;
}

.topline {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    color: var(--muted);
    padding: 22px 0 16px;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 1.8px;
    font-weight: 800;
    color: var(--blue);
    text-transform: uppercase;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    background: var(--ink);
    color: white;
    padding: 44px 40px;
    border-radius: 22px;
    position: relative;
    overflow: hidden;
    background-image: radial-gradient(ellipse at 88% 10%, #2f3e69 0%, transparent 60%);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
}

.hero::after {
    content: '4';
    position: absolute;
    right: 20px;
    bottom: -95px;
    font-size: 340px;
    line-height: 1;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.hero .eyebrow {
    color: var(--gold);
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin: 16px 0;
    font-size: 38px;
    position: relative;
    z-index: 1;
}

.hero h1 span {
    display: block;
    color: var(--gold);
}

.hero p {
    color: #cbd5e1;
    max-width: 580px;
    position: relative;
    z-index: 1;
    font-size: 16px;
    line-height: 1.7;
}

.hero .button {
    margin-top: 26px;
    position: relative;
    z-index: 1;
}

.hero-foot {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 12px;
    color: #94a3b8;
}

/* ==========================================================================
   Buttons (Internal vs External)
   ========================================================================== */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    border: 0;
    background: var(--blue);
    color: #ffffff;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(36, 74, 199, 0.2);
}

.button:hover {
    background: var(--blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(36, 74, 199, 0.3);
}

.button--gold {
    background: var(--gold);
    color: #0f172a;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.25);
}

.button--gold:hover {
    background: #b45309;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35);
}

.button--light {
    background: var(--blue-light);
    color: var(--blue);
    border: 1.5px solid var(--blue-border);
    box-shadow: none;
}

.button--light:hover {
    background: var(--blue);
    color: #ffffff;
    border-color: var(--blue);
}

.button--external {
    background: var(--teal);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(13, 148, 136, 0.25);
}

.button--external:hover {
    background: var(--teal-hover);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.35);
}

/* ==========================================================================
   Breadcrumb Navigation
   ========================================================================== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 24px 0 16px;
    font-size: 13px;
}

.crumb-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--muted);
    padding: 4px 10px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
}

.crumb-link:hover {
    background: var(--blue-light);
    color: var(--blue);
    border-color: var(--blue-border);
    transform: translateY(-1px);
}

.crumb-icon {
    font-size: 13px;
}

.crumb-sep {
    color: #94a3b8;
    font-size: 11px;
}

.crumb-current {
    color: var(--ink);
    font-weight: 700;
    padding: 4px 8px;
}

.page-intro {
    padding: 8px 0 4px;
}

.page-intro h1 {
    margin: 10px 0 14px;
}

/* ==========================================================================
   Answer Box & Bylines
   ========================================================================== */
.answer-box {
    margin: 20px 0 10px;
    padding: 24px 26px;
    background: #f0f5ff;
    border: 1.5px solid #c7d8fe;
    border-left: 5px solid var(--blue);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
}

.answer-box h2 {
    font-size: 17px;
    font-weight: 800;
    color: var(--blue);
    line-height: 1.45;
    margin-bottom: 8px;
}

.direct-answer {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.8;
    color: var(--ink);
}

.byline {
    font-size: 12px;
    color: var(--muted);
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.byline-link {
    font-weight: 700;
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ==========================================================================
   EXTERNAL LINKS: Official Channels (.official-links)
   ========================================================================== */
.official-links {
    padding: 24px 26px;
    margin: 24px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 100%);
    border: 1.5px solid #99f6e4;
    border-top: 4px solid var(--teal);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(13, 148, 136, 0.08);
}

.official-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.official-badge {
    background: var(--teal);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 5px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(13, 148, 136, 0.25);
}

.official-head h2 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.official-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.official-link-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #ffffff;
    border: 1.5px solid #99f6e4;
    padding: 14px 18px;
    border-radius: 12px;
    color: #0f172a;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(13, 148, 136, 0.06);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.official-link-btn:hover {
    background: #f0fdfa;
    border-color: var(--teal);
    color: var(--teal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-teal);
}

.official-tag {
    background: #ccfbf1;
    color: var(--teal);
    font-size: 11px;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 5px;
    flex-shrink: 0;
    border: 1px solid #99f6e4;
}

.official-label {
    flex: 1;
    margin: 0 6px;
    line-height: 1.4;
}

.ext-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e6fffa;
    color: var(--teal);
    display: grid;
    place-items: center;
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.official-link-btn:hover .ext-icon {
    background: var(--teal);
    color: #ffffff;
    transform: translate(2px, -2px);
}

.official-note {
    font-size: 13px;
    color: #475569;
    margin-top: 14px;
    line-height: 1.6;
}

.external-disclaimer {
    font-size: 12px;
    color: #64748b;
    margin-top: 8px;
}

/* ==========================================================================
   Status Panel (Vote & Schedule)
   ========================================================================== */
.status-panel {
    padding: 26px 28px;
    background: #ffffff;
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-top: 22px;
    border-left: 5px solid var(--gold);
}

.status-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.status-head strong {
    font-size: 20px;
    font-weight: 800;
}

.badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    background: #fff4da;
    color: #865600;
}

.badge--open {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.badge--closed {
    background: #f1f5f9;
    color: #475569;
}

.status-panel p {
    font-size: 14px;
    color: var(--muted);
    margin-top: 8px;
}

.status-panel .button {
    margin-top: 16px;
}

.vote-steps {
    list-style: none;
    counter-reset: vote;
    padding: 0;
    margin: 20px 0;
}

.vote-steps li {
    counter-increment: vote;
    position: relative;
    padding: 14px 14px 14px 54px;
    border-bottom: 1px solid var(--line);
}

.vote-steps li::before {
    content: counter(vote);
    position: absolute;
    left: 8px;
    top: 14px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #ffffff;
    background: var(--blue);
    font-weight: 800;
    font-size: 14px;
}

.vote-steps strong {
    display: block;
    font-size: 15px;
    color: var(--ink);
}

.vote-steps span {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-top: 2px;
}

/* ==========================================================================
   Home Quick Grid & Season Cards
   ========================================================================== */
.quick-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.quick-card {
    background: #ffffff;
    border: 1.5px solid var(--line);
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 16px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: var(--ink);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-card:hover {
    transform: translateY(-3px);
    border-color: var(--blue);
    color: var(--blue);
    box-shadow: var(--shadow-hover);
}

.icon {
    display: grid;
    place-items: center;
    border-radius: 10px;
    width: 38px;
    height: 38px;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 19px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.quick-card:hover .icon {
    background: var(--blue);
    color: #ffffff;
}

.quick-title {
    flex: 1;
}

.quick-card .arrow {
    margin-left: auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f1f5f9;
    display: grid;
    place-items: center;
    font-size: 13px;
    color: #64748b;
    transition: all 0.2s ease;
}

.quick-card:hover .arrow {
    background: var(--blue);
    color: #ffffff;
    transform: translateX(2px);
}

.season-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.season-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #ffffff;
    border: 1.5px solid var(--line);
    border-radius: 16px;
    padding: 22px 24px;
    border-left: 5px solid var(--gold);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: var(--ink);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.season-card:hover {
    transform: translateY(-3px);
    border-color: #f59e0b;
    border-left-color: var(--gold);
    box-shadow: 0 10px 25px rgba(217, 119, 6, 0.12);
}

.season-num {
    width: 60px;
    height: 66px;
    display: grid;
    place-items: center;
    color: var(--gold);
    background: var(--ink);
    border-radius: 12px;
    font: italic 36px Georgia, serif;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
}

.season-info {
    flex: 1;
}

.season-info h3 {
    margin: 4px 0 6px;
    font-size: 18px;
    font-weight: 800;
}

.season-info p {
    font-size: 13px;
    color: var(--muted);
}

.season-label {
    font-size: 11px;
    color: #854d0e;
    font-weight: 800;
    letter-spacing: 1px;
}

.season-card-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fef3c7;
    color: #b45309;
    display: grid;
    place-items: center;
    font-size: 16px;
    font-weight: 800;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.season-card:hover .season-card-arrow {
    background: var(--gold);
    color: #ffffff;
    transform: translateX(3px);
}

/* ==========================================================================
   INTERNAL LINKS: Link List (.link-list)
   ========================================================================== */
.card, .tool-card {
    background: #ffffff;
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    margin-top: 24px;
}

.card--broadcast {
    border-top: 4px solid #0d9488;
}

.card--vote {
    border-top: 4px solid var(--blue);
}

.card--archive {
    border-top: 4px solid #7c3aed;
}

.link-list {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.link-list li {
    margin: 0;
}

.link-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 18px;
    background: #ffffff;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    color: var(--ink-light);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.link-list a:hover {
    background: var(--blue-light);
    border-color: var(--blue-border);
    color: var(--blue);
    transform: translateX(4px);
    box-shadow: 0 4px 14px rgba(36, 74, 199, 0.1);
}

.link-title {
    flex: 1;
}

.arrow-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    display: grid;
    place-items: center;
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.link-list a:hover .arrow-badge {
    background: var(--blue);
    color: #ffffff;
    transform: translateX(2px);
}

/* ==========================================================================
   Table of Contents (.toc)
   ========================================================================== */
.toc {
    margin: 26px 0;
    padding: 22px 26px;
    background: #ffffff;
    border: 1.5px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
}

.toc-title {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 800;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 8px;
}

.toc ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 24px;
    margin: 0;
    padding-left: 20px;
}

.toc li {
    color: var(--blue);
    font-size: 13px;
    font-weight: 600;
}

.toc a {
    display: block;
    padding: 8px 10px;
    color: var(--ink-light);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    transition: all 0.15s ease;
}

.toc a:hover {
    background: var(--blue-light);
    color: var(--blue);
    font-weight: 700;
    transform: translateX(3px);
}

/* ==========================================================================
   Article Body & Text Links
   ========================================================================== */
.article-body {
    background: #ffffff;
    border: 1.5px solid var(--line);
    border-radius: 18px;
    padding: 34px 32px;
    margin-top: 24px;
    box-shadow: var(--shadow-sm);
}

.article-body section + section {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid #edf0f5;
}

.article-body h2 {
    font-size: 22px;
    margin-bottom: 14px;
    color: var(--ink);
}

.article-body p {
    color: #334155;
    line-height: 1.88;
    font-size: 16px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    background: var(--blue-light);
    border: 1px solid var(--blue-border);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.text-link:hover {
    background: var(--blue);
    color: #ffffff;
    border-color: var(--blue);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(36, 74, 199, 0.2);
}

.revision-box {
    margin: 18px 0;
    display: flex;
    justify-content: flex-end;
}

.revision-box .text-link {
    background: #ffffff;
    border-color: var(--line);
    color: var(--muted);
}

.revision-box .text-link:hover {
    background: var(--blue-light);
    color: var(--blue);
    border-color: var(--blue-border);
}

/* ==========================================================================
   EXTERNAL LINKS: Verified Sources (.sources)
   ========================================================================== */
.sources {
    background: #f8fafc;
    border: 1.5px solid var(--line);
    border-radius: 16px;
    padding: 26px 28px;
    margin-top: 36px;
    box-shadow: var(--shadow-sm);
}

.sources-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.sources-badge {
    background: #334155;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 5px;
    letter-spacing: 0.5px;
}

.sources-head h2 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.sources-intro {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 16px;
    line-height: 1.6;
}

.sources-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sources-list li {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.source-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.source-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.source-date {
    font-size: 12px;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 4px;
}

.source-url {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 14px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    color: #0284c7;
    text-decoration: none;
    transition: all 0.2s ease;
}

.source-url:hover {
    background: #e0f2fe;
    border-color: #38bdf8;
    color: #0369a1;
    transform: translateX(2px);
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.12);
}

.source-url-text {
    font-size: 12px;
    font-weight: 500;
    word-break: break-all;
}

.ext-badge {
    background: #0284c7;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.sources-foot {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 16px;
}

/* ==========================================================================
   INTERNAL LINKS: Related Nexus Cards (.nexus-grid & .nexus-card)
   ========================================================================== */
.related-nexus-section {
    margin: 44px 0 28px;
}

.nexus-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.nexus-card {
    display: flex;
    flex-direction: column;
    padding: 22px 24px;
    background: #ffffff;
    border: 1.5px solid var(--line);
    border-top: 4px solid var(--blue);
    border-radius: 14px;
    text-decoration: none;
    color: var(--ink);
    box-shadow: var(--shadow-sm);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nexus-card:hover {
    transform: translateY(-4px);
    border-color: #93c5fd;
    border-top-color: var(--blue);
    box-shadow: var(--shadow-hover);
}

.nexus-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.nexus-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--blue-light);
    color: var(--blue);
    border: 1px solid var(--blue-border);
}

.nexus-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    margin: 4px 0 8px;
    line-height: 1.45;
}

.nexus-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.65;
    flex: 1;
    margin: 0;
}

.nexus-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 7px 16px;
    background: var(--blue-light);
    border: 1px solid var(--blue-border);
    border-radius: 20px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    width: fit-content;
    transition: all 0.2s ease;
}

.nexus-card:hover .nexus-card-link {
    background: var(--blue);
    color: #ffffff;
    border-color: var(--blue);
}

.nexus-card-link .arrow {
    transition: transform 0.2s ease;
}

.nexus-card:hover .nexus-card-link .arrow {
    transform: translateX(3px);
}

/* ==========================================================================
   Directory & Accordion Groups
   ========================================================================== */
.directory-group {
    background: #ffffff;
    border: 1.5px solid var(--line);
    border-radius: 14px;
    margin-top: 14px;
    padding: 0 20px;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s;
}

.directory-group[open] {
    border-color: var(--blue-border);
}

summary {
    cursor: pointer;
    padding: 18px 0;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.group-count {
    font-size: 12px;
    color: #64748b;
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: 8px;
}

.directory {
    columns: 2;
    column-gap: 20px;
    padding: 0 0 18px;
}

.directory li {
    break-inside: avoid;
    margin-bottom: 8px;
}

/* ==========================================================================
   FAQ & CTA Band
   ========================================================================== */
.faq {
    margin-top: 38px;
}

.faq h2 {
    margin-bottom: 16px;
}

details {
    background: #ffffff;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    margin-top: 10px;
    padding: 0 20px;
    box-shadow: var(--shadow-sm);
}

details p {
    font-size: 14px;
    color: var(--muted);
    padding: 0 0 18px;
    line-height: 1.7;
}

.cta-band {
    background: var(--ink);
    color: #ffffff;
    padding: 32px 30px;
    border-radius: 18px;
    margin: 36px 0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
}

.cta-band h2 {
    font-size: 23px;
    color: #ffffff;
}

.cta-band p {
    font-size: 14px;
    color: #cbd5e1;
    margin: 10px 0 20px;
}

/* ==========================================================================
   Tables, Ads, Tools & Share Banner
   ========================================================================== */
.table-scroll {
    overflow-x: auto;
    margin-top: 18px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

table {
    border-collapse: collapse;
    width: 100%;
    font-size: 14px;
    background: #ffffff;
}

caption {
    text-align: left;
    padding: 12px 16px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

th, td {
    padding: 13px 15px;
    text-align: left;
    border-top: 1px solid var(--line);
}

thead th {
    background: #edf1f8;
    color: #3c4b66;
    font-size: 12px;
    white-space: nowrap;
    font-weight: 700;
}

tbody th {
    font-weight: 700;
}

.rank-first {
    color: #b45309;
    font-weight: 800;
}

.notice {
    padding: 18px 22px;
    background: #fffbeb;
    border: 1.5px solid #fde68a;
    border-radius: 12px;
    font-size: 14px;
    margin: 20px 0;
    color: #92400e;
}

.ad-placement {
    width: 100%;
    max-width: 820px;
    margin: 30px auto;
    padding: 16px 10px;
    background: #f1f5f9;
    border: 1px solid var(--line);
    border-radius: 10px;
    text-align: center;
}

.ad-caption {
    font-size: 10px;
    letter-spacing: 2px;
    color: #64748b;
    margin-bottom: 8px;
}

.ad-placement ins.adsbygoogle {
    display: block;
}

.tool-card {
    border-top: 4px solid var(--blue);
}

.tool-card h2 {
    margin-bottom: 8px;
}

.tool-card p {
    font-size: 14px;
    color: var(--muted);
}

fieldset {
    padding: 0;
    border: 0;
    margin: 22px 0;
}

legend {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 10px;
}

.check-row {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: 8px;
    margin: 8px 0;
    cursor: pointer;
    background: #ffffff;
    transition: background 0.15s;
}

.check-row:hover {
    background: #f8fafc;
}

.check-row input {
    width: 20px;
    height: 20px;
    accent-color: var(--blue);
    flex-shrink: 0;
}

.field {
    display: block;
    margin-top: 18px;
    font-size: 14px;
    font-weight: 700;
}

select, input[type=search], input[type=text], textarea {
    display: block;
    width: 100%;
    margin-top: 7px;
    border: 2px solid #cbd5e1;
    padding: 12px 14px;
    border-radius: 9px;
    background: #ffffff;
    color: var(--ink);
}

input:focus, textarea:focus, select:focus {
    outline: 0;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(36, 74, 199, 0.15);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

.result-action-box {
    border-top: 1px dashed #cbd5e1;
    padding-top: 20px;
    margin-top: 20px;
}

.btn-view-result {
    width: 100%;
    background: linear-gradient(110deg, #244ac7, #1e3a8a);
}

.result-card {
    margin-top: 22px;
    padding: 23px;
    background: #edf3ff;
    border: 1px solid #bed0fa;
    border-radius: 12px;
    scroll-margin-top: 95px;
}

.result-section-header {
    font-size: 13px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 10px;
}

.result-value {
    font-size: 27px;
    font-weight: 800;
    margin-bottom: 10px;
}

.share-banner-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border: 1.5px dashed #f59e0b;
    background: #fffbeb;
    padding: 18px 22px;
    border-radius: 12px;
    margin-top: 24px;
    font-size: 14px;
}

.btn-share-url {
    background: #ffffff;
    border: 1.5px solid #d97706;
    padding: 8px 16px;
    border-radius: 8px;
    color: #92400e;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.btn-share-url:hover {
    background: var(--gold);
    color: #ffffff;
    transform: translateY(-1px);
}

.search-results {
    margin-top: 14px;
}

.search-results a {
    display: block;
    padding: 14px;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
}

.search-results a:hover {
    background: var(--blue-light);
    color: var(--blue);
}

.search-results[hidden] {
    display: none;
}

.filter-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 18px 0;
}

.filter-bar button {
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 7px 16px;
    background: #ffffff;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.15s ease;
}

.filter-bar button[aria-pressed=true] {
    background: var(--ink);
    color: #ffffff;
    border-color: var(--ink);
}

/* ==========================================================================
   Footer & Mobile Elements
   ========================================================================== */
.site-footer {
    margin-top: 60px;
    background: #e2e8f0;
    border-top: 1px solid var(--line);
    padding: 38px 0 44px;
    font-size: 13px;
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin: 18px 0;
}

.footer-links a {
    color: #334155;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s;
}

.footer-links a:hover {
    color: var(--blue);
    text-decoration: underline;
}

.footer-brand {
    font-weight: 800;
    font-size: 20px;
    color: var(--ink);
}

.footer-admin-bar {
    padding-top: 18px;
    border-top: 1px solid #cbd5e1;
    font-size: 12px;
}

.footer-admin-bar div {
    margin: 4px 0;
}

.mobile-vote {
    display: none;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 90px;
    transform: translateX(-50%);
    background: #0f172a;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 10px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
    z-index: 150;
    max-width: 90%;
    font-size: 14px;
    font-weight: 600;
}

.toast[hidden] {
    display: none;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1060px) {
    .main-nav {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
}

@media (min-width: 1061px) {
    .mobile-nav {
        display: none;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 28px;
    }
    h2 {
        font-size: 22px;
    }
    .container {
        padding: 0 18px;
    }
    .header-inner {
        padding: 12px 18px;
    }
    .logo-sub {
        display: none;
    }
    .hero {
        padding: 30px 22px;
    }
    .hero h1 {
        font-size: 30px;
    }
    .hero p {
        font-size: 14px;
    }
    .hero-foot {
        gap: 8px;
        font-size: 11px;
        flex-direction: column;
    }
    .topline {
        font-size: 11px;
        flex-wrap: wrap;
    }
    .quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .quick-card {
        padding: 14px 12px;
        font-size: 13px;
    }
    .quick-card .arrow {
        display: none;
    }
    .status-panel {
        padding: 20px;
    }
    .season-card {
        padding: 18px 16px;
        gap: 14px;
    }
    .season-num {
        width: 48px;
        height: 56px;
        font-size: 28px;
    }
    .card, .tool-card, .article-body {
        padding: 22px 18px;
    }
    .nexus-grid {
        grid-template-columns: 1fr;
    }
    .share-banner-box {
        align-items: stretch;
        flex-direction: column;
    }
    .mobile-vote {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 95;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(8px);
        border-top: 1px solid var(--line);
        padding: 10px 18px calc(10px + env(safe-area-inset-bottom));
    }
    .mobile-vote a {
        width: 100%;
        min-height: 46px;
    }
    .site-footer {
        padding-bottom: 115px;
    }
    .directory {
        columns: 1;
    }
    .toc ol {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .hero::after {
        font-size: 260px;
        right: -10px;
        bottom: -50px;
    }
    .official-links {
        padding: 18px;
    }
    .official-actions {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}

@media print {
    .site-header, .ad-placement, .mobile-vote, .tool-card, .share-banner-box, .site-footer, .related-nexus-section, .cta-band {
        display: none;
    }
    .container {
        max-width: none;
    }
    .article-body {
        border: 0;
    }
    .hero {
        background: white;
        color: black;
    }
    .hero p {
        color: black;
    }
}
