/* Citeveriq design system */
:root {
  --cv-navy: #142A4F;
  --cv-navy-2: #1E3A66;
  --cv-cyan: #159CEB;
  --cv-cyan-soft: #E3F3FD;
  --cv-ink: #1B2433;
  --cv-slate: #5A6A80;
  --cv-mist: #F2F5F9;
  --cv-rule: #DCE3EC;
  --cv-white: #FFFFFF;
  --cv-success: #207245;
  --cv-success-soft: #E6F2EB;
  --cv-warn: #A86500;
  --cv-warn-soft: #FBF1E2;
  --cv-error: #A62C2C;
  --cv-error-soft: #F8E7E7;
  --cv-sans: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cv-serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --bs-body-font-family: var(--cv-sans);
  --bs-body-color: var(--cv-ink);
  --bs-body-bg: var(--cv-white);
  --bs-border-color: var(--cv-rule);
  --bs-link-color: var(--cv-navy);
  --bs-link-color-rgb: 20, 42, 79;
  --bs-link-hover-color: var(--cv-cyan);
  --bs-link-hover-color-rgb: 21, 156, 235;
  --bs-focus-ring-color: rgba(21, 156, 235, .35);
}

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

body { font-size: 15.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5 { font-family: var(--cv-sans); color: var(--cv-navy); font-weight: 600; letter-spacing: -0.015em; }
h1, h2, .h1, .h2 { text-wrap: balance; }
h1, .h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); line-height: 1.12; letter-spacing: -0.03em; }
h2, .h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); line-height: 1.2; }
h3, .h3 { font-size: 1.2rem; line-height: 1.3; }
.prose, .lede { font-family: var(--cv-serif); }
.lede { font-size: 1.2rem; line-height: 1.55; color: var(--cv-slate); max-width: 36em; }
.prose { font-size: 1.08rem; line-height: 1.7; max-width: 42em; }
.prose p { margin-bottom: 1.1em; }
.text-slate { color: var(--cv-slate) !important; }
.small-meta { font-size: .85rem; color: var(--cv-slate); }
a { text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--cv-cyan); outline-offset: 2px; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 2000; background: var(--cv-navy); color: #fff; padding: .6rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Buttons & forms ---------- */
.btn { font-weight: 600; border-radius: 8px; padding: .6rem 1.1rem; font-size: .95rem; }
.btn-lg { padding: .8rem 1.4rem; font-size: 1rem; }
.btn-sm { padding: .35rem .75rem; font-size: .85rem; border-radius: 6px; }
.btn-primary { --bs-btn-bg: var(--cv-navy); --bs-btn-border-color: var(--cv-navy); --bs-btn-hover-bg: var(--cv-navy-2);
  --bs-btn-hover-border-color: var(--cv-navy-2); --bs-btn-active-bg: #0e1f3b; --bs-btn-disabled-bg: var(--cv-navy); --bs-btn-disabled-border-color: var(--cv-navy); }
.btn-outline-primary { --bs-btn-color: var(--cv-navy); --bs-btn-border-color: var(--cv-rule); --bs-btn-hover-bg: var(--cv-mist);
  --bs-btn-hover-color: var(--cv-navy); --bs-btn-hover-border-color: var(--cv-navy); --bs-btn-active-bg: var(--cv-mist); --bs-btn-active-color: var(--cv-navy); }
.btn-light-on-dark { background: #fff; color: var(--cv-navy); border: 0; }
.btn-light-on-dark:hover { background: var(--cv-cyan-soft); color: var(--cv-navy); }
.form-label { font-weight: 600; font-size: .9rem; color: var(--cv-navy); margin-bottom: .35rem; }
.form-control, .form-select { border-radius: 8px; border-color: #C9D3DF; padding: .6rem .8rem; font-size: .95rem; }
.form-control:focus, .form-select:focus { border-color: var(--cv-cyan); box-shadow: 0 0 0 .2rem rgba(21, 156, 235, .2); }
.form-text { color: var(--cv-slate); font-size: .83rem; }
.invalid-feedback { font-size: .85rem; }
.otp-input { font-size: 1.8rem; letter-spacing: .5em; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--cv-rule); background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); position: sticky; top: 0; z-index: 1030; }
.site-header .navbar { padding: .85rem 0; }
.brand-logo { height: 30px; width: auto; display: block; }
.site-header .nav-link { color: var(--cv-ink); font-weight: 500; font-size: .93rem; padding: .5rem .75rem !important; white-space: nowrap; }
.site-header .btn { white-space: nowrap; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--cv-navy); }
.site-header .nav-link.active { box-shadow: inset 0 -2px 0 var(--cv-cyan); }
.navbar-toggler { border: 1px solid var(--cv-rule); padding: .4rem .55rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(21,156,235,.25); }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(circle at 92% 18%, rgba(21,156,235,.09), transparent 42%); pointer-events: none; }
.hero h1 { max-width: 13em; }
.hero-search { margin-top: 2rem; max-width: 560px; }
.search-field { position: relative; }
.search-field input { height: 58px; padding-left: 3rem; padding-right: 7.5rem; font-size: 1.02rem; border-radius: 10px; border: 1.5px solid #B9C6D6; }
.search-field .bi-search { position: absolute; left: 1.05rem; top: 50%; transform: translateY(-50%); color: var(--cv-slate); font-size: 1.1rem; }
.search-field .btn { position: absolute; right: 6px; top: 6px; bottom: 6px; border-radius: 7px; }
.search-hints { margin-top: .75rem; font-size: .85rem; color: var(--cv-slate); }
.search-hints a { color: var(--cv-slate); }

/* ---------- Record card (signature element) ---------- */
.record { background: #fff; border: 1px solid var(--cv-rule); border-radius: 14px; padding: 1.5rem 1.6rem 1.4rem;
  box-shadow: 0 1px 0 rgba(20,42,79,.04), 0 24px 48px -28px rgba(20,42,79,.35); position: relative; }
.record-tag { font-size: .75rem; color: var(--cv-slate); display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.record h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.record .issn { font-variant-numeric: tabular-nums; font-size: .85rem; color: var(--cv-slate); }
.score-line { display: flex; align-items: baseline; gap: .6rem; margin: 1.3rem 0 .7rem; }
.score-big { font-size: 2.6rem; font-weight: 600; color: var(--cv-navy); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.score-of { color: var(--cv-slate); font-size: .9rem; }
.score-class { margin-left: auto; font-size: .82rem; font-weight: 600; color: var(--cv-success); background: var(--cv-success-soft); padding: .25rem .6rem; border-radius: 99px; }

.rubric-bar { display: flex; gap: 3px; height: 14px; }
.rubric-seg { position: relative; background: #D5DEE9; border-radius: 3px; overflow: hidden; }
.rubric-seg > i { position: absolute; inset: 0 auto 0 0; background: var(--cv-navy); }
.rubric-seg.is-weak > i { background: var(--cv-warn); }
.rubric-seg.is-na { background: repeating-linear-gradient(-45deg, var(--cv-mist) 0 4px, #fff 4px 8px); }
.rubric-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .3rem 1.2rem; margin-top: 1rem; font-size: .8rem; }
.rubric-legend div { display: flex; justify-content: space-between; gap: .5rem; color: var(--cv-slate); border-bottom: 1px dotted var(--cv-rule); padding-bottom: .2rem; }
.rubric-legend b { color: var(--cv-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.citation-line { margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--cv-rule); display: flex; justify-content: space-between; font-size: .85rem; color: var(--cv-slate); }
.citation-line b { color: var(--cv-ink); }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-mist { background: var(--cv-mist); }
.section-head { max-width: 40rem; margin-bottom: 2.5rem; }
.section-head p { color: var(--cv-slate); font-size: 1.02rem; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--cv-navy); }
.step { padding: 1.4rem 1.4rem 0 0; position: relative; }
.step::before { counter-increment: step; content: counter(step); font-weight: 600; font-size: .85rem; color: #fff; background: var(--cv-navy);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; position: absolute; top: -15px; left: 0; }
.step h3 { font-size: 1.02rem; margin: .7rem 0 .4rem; }
.step p { color: var(--cv-slate); font-size: .92rem; margin: 0; }
.step .price { display: inline-block; font-size: .78rem; font-weight: 600; margin-top: .7rem; color: var(--cv-navy); background: var(--cv-cyan-soft); padding: .15rem .5rem; border-radius: 4px; }
@media (max-width: 767.98px) { .steps { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--cv-navy); }
  .step { padding: 0 0 1.6rem 1.6rem; } .step::before { left: -15px; top: 0; } .step h3 { margin-top: .15rem; } }

.compare { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--cv-rule); border-radius: 12px; overflow: hidden; background: #fff; }
.compare > div { padding: 1.8rem; }
.compare > div + div { border-left: 1px solid var(--cv-rule); }
.compare dl { margin: 1rem 0 0; font-size: .92rem; }
.compare dt { font-weight: 600; color: var(--cv-navy); font-size: .82rem; margin-top: .8rem; }
.compare dd { color: var(--cv-slate); margin: 0; }
.formula { font-family: var(--cv-serif); font-size: 1.15rem; color: var(--cv-navy); background: var(--cv-mist); padding: .8rem 1rem; border-radius: 8px; margin-top: 1rem; }
@media (max-width: 767.98px) { .compare { grid-template-columns: 1fr; } .compare > div + div { border-left: 0; border-top: 1px solid var(--cv-rule); } }

.verify-band { background: var(--cv-navy); color: #fff; border-radius: 16px; padding: clamp(1.8rem, 4vw, 3rem); }
.verify-band h2 { color: #fff; }
.verify-band p { color: #C3CEDF; }
.verify-band .form-control { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #fff; height: 52px; }
.verify-band .form-control::placeholder { color: #9FB0C8; }

/* ---------- Directory ---------- */
.page-head { padding: 2.6rem 0 1.6rem; border-bottom: 1px solid var(--cv-rule); }
.page-head p { color: var(--cv-slate); max-width: 44rem; margin: .5rem 0 0; }
.filters { position: sticky; top: 88px; }
.filters h2 { font-size: .9rem; margin-bottom: .8rem; }
.journal-row { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--cv-rule); }
.journal-row h3 { font-size: 1.05rem; margin: 0 0 .2rem; }
.journal-row h3 a { text-decoration: none; color: var(--cv-navy); }
.journal-row h3 a:hover { text-decoration: underline; }
.journal-row .meta { font-size: .85rem; color: var(--cv-slate); display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; }
.journal-row .side { text-align: right; min-width: 120px; }
.mini-score { font-size: 1.35rem; font-weight: 600; color: var(--cv-navy); font-variant-numeric: tabular-nums; line-height: 1.1; }
.mini-score small { font-size: .75rem; color: var(--cv-slate); font-weight: 500; }

.badge-status { display: inline-flex; align-items: center; gap: .35rem; font-size: .76rem; font-weight: 600; padding: .22rem .55rem; border-radius: 99px; border: 1px solid transparent; white-space: nowrap; }
.badge-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-listed, .st-valid { color: var(--cv-success); background: var(--cv-success-soft); }
.st-submitted, .st-verification, .st-draft, .st-unclaimed { color: var(--cv-navy); background: var(--cv-mist); border-color: var(--cv-rule); }
.st-corrections_required, .st-expired, .st-superseded { color: var(--cv-warn); background: var(--cv-warn-soft); }
.st-rejected, .st-suspended, .st-revoked { color: var(--cv-error); background: var(--cv-error-soft); }
.chip { display: inline-block; font-size: .78rem; padding: .18rem .55rem; border-radius: 4px; background: var(--cv-mist); color: var(--cv-navy); margin: 0 .25rem .25rem 0; }

/* ---------- Journal profile ---------- */
.profile-head { padding: 2.4rem 0 2rem; border-bottom: 1px solid var(--cv-rule); }
.profile-head h1 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); max-width: 22em; }
.facts { display: grid; grid-template-columns: 11rem 1fr; gap: 0; margin: 0; font-size: .93rem; }
.facts dt { font-weight: 500; color: var(--cv-slate); padding: .65rem 0; border-bottom: 1px solid var(--cv-rule); }
.facts dd { margin: 0; padding: .65rem 0; border-bottom: 1px solid var(--cv-rule); word-break: break-word; }
@media (max-width: 575.98px) { .facts { grid-template-columns: 1fr; } .facts dt { border-bottom: 0; padding-bottom: 0; } }
.unverified { font-size: .75rem; color: var(--cv-warn); margin-left: .35rem; }
.verified-mark { font-size: .75rem; color: var(--cv-success); margin-left: .35rem; }
.side-panel { border: 1px solid var(--cv-rule); border-radius: 12px; padding: 1.4rem; background: #fff; }
.side-panel h2 { font-size: 1rem; }
.notice { border-left: 3px solid var(--cv-cyan); background: var(--cv-cyan-soft); padding: .9rem 1.1rem; border-radius: 0 8px 8px 0; font-size: .9rem; }
.notice-warn { border-left-color: var(--cv-warn); background: var(--cv-warn-soft); }

/* ---------- Methodology ---------- */
.method-section { padding: 1.6rem 0; border-top: 1px solid var(--cv-rule); }
.method-section .weight { font-size: 2rem; font-weight: 600; color: var(--cv-navy); line-height: 1; font-variant-numeric: tabular-nums; }
.method-table { width: 100%; font-size: .92rem; }
.method-table td { padding: .55rem 0; border-bottom: 1px dotted var(--cv-rule); vertical-align: top; }
.method-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; width: 4rem; }
.method-table .g { display: block; color: var(--cv-slate); font-size: .84rem; margin-top: .1rem; }
.band-table td, .band-table th { padding: .6rem .8rem; font-size: .92rem; }

/* ---------- Auth ---------- */
.auth-wrap { min-height: calc(100vh - 220px); display: grid; place-items: center; padding: 3rem 1rem; background:
  linear-gradient(180deg, var(--cv-mist), #fff 60%); }
.auth-card { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--cv-rule); border-radius: 14px; padding: 2.2rem 2rem; box-shadow: 0 24px 48px -32px rgba(20,42,79,.35); }
.auth-card h1 { font-size: 1.5rem; }
.divider { display: flex; align-items: center; gap: .8rem; color: var(--cv-slate); font-size: .82rem; margin: 1.3rem 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--cv-rule); }
.btn-google { background: #fff; border: 1px solid #C9D3DF; color: var(--cv-ink); display: flex; align-items: center; justify-content: center; gap: .6rem; width: 100%; }
.btn-google:hover { background: var(--cv-mist); border-color: #B9C6D6; }

/* ---------- Portal / admin ---------- */
.portal { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 67px); }
.portal-nav { background: var(--cv-mist); border-right: 1px solid var(--cv-rule); padding: 1.5rem 1rem; }
.portal-nav .nav-link { color: var(--cv-ink); border-radius: 7px; padding: .5rem .75rem; font-size: .92rem; display: flex; align-items: center; gap: .6rem; }
.portal-nav .nav-link:hover { background: #fff; }
.portal-nav .nav-link.active { background: #fff; color: var(--cv-navy); font-weight: 600; box-shadow: inset 3px 0 0 var(--cv-cyan); }
.portal-nav .group { font-size: .78rem; color: var(--cv-slate); margin: 1.2rem .75rem .4rem; }
.portal-main { padding: 2rem clamp(1rem, 3vw, 2.5rem) 3rem; min-width: 0; }
.portal-main h1 { font-size: 1.6rem; }
@media (max-width: 991.98px) { .portal { grid-template-columns: 1fr; } .portal-nav { border-right: 0; border-bottom: 1px solid var(--cv-rule); padding: .75rem 1rem; }
  .portal-nav .nav { flex-direction: row !important; flex-wrap: nowrap; overflow-x: auto; } .portal-nav .group { display: none; } .portal-nav .nav-link { white-space: nowrap; } }
.panel { background: #fff; border: 1px solid var(--cv-rule); border-radius: 12px; padding: 1.4rem; }
.panel + .panel { margin-top: 1.2rem; }
.panel h2 { font-size: 1.05rem; margin-bottom: 1rem; }
.stat { border: 1px solid var(--cv-rule); border-radius: 10px; padding: 1rem 1.1rem; background: #fff; height: 100%; }
.stat .n { font-size: 1.8rem; font-weight: 600; color: var(--cv-navy); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat .l { font-size: .84rem; color: var(--cv-slate); }
.stat a { text-decoration: none; }
.table { --bs-table-color: var(--cv-ink); font-size: .9rem; }
.table thead th { font-size: .8rem; font-weight: 600; color: var(--cv-slate); border-bottom-color: var(--cv-rule); white-space: nowrap; }
.table td { vertical-align: middle; border-color: var(--cv-rule); }
.empty { text-align: center; padding: 3rem 1rem; color: var(--cv-slate); }
.empty h2 { color: var(--cv-navy); font-size: 1.15rem; }

/* AI auto-fill */
.ai-fill { position: relative; }
.ai-tag { display: inline-flex; align-items: center; justify-content: center; font-size: .72rem; color: #0B6EA8; background: var(--cv-cyan-soft); width: 1.25rem; height: 1.25rem; border-radius: 4px; margin-left: .35rem; vertical-align: -2px; cursor: help; }
.ai-tag[hidden] { display: none; }
.ai-tag.uncertain { color: var(--cv-warn); background: var(--cv-warn-soft); }
.form-control.is-ai, .form-select.is-ai { border-color: #8CCBF2; background-color: #F7FBFE; }
.form-control.is-ai.uncertain { border-color: #E2B36B; background-color: #FFFBF4; }
.reading-progress { border: 1px solid var(--cv-rule); border-radius: 12px; padding: 1.5rem; background: #fff; }
.reading-progress ol { list-style: none; padding: 0; margin: 1rem 0 0; }
.reading-progress li { padding: .4rem 0 .4rem 1.8rem; position: relative; color: var(--cv-slate); font-size: .92rem; }
.reading-progress li::before { content: ""; position: absolute; left: 0; top: .65rem; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--cv-rule); }
.reading-progress li.on { color: var(--cv-ink); }
.reading-progress li.on::before { border-color: var(--cv-cyan); border-top-color: transparent; animation: spin .8s linear infinite; }
.reading-progress li.done { color: var(--cv-ink); }
.reading-progress li.done::before { background: var(--cv-success); border-color: var(--cv-success); }
@keyframes spin { to { transform: rotate(360deg); } }
.form-section { padding: 1.6rem 0; border-top: 1px solid var(--cv-rule); }
.form-section:first-of-type { border-top: 0; padding-top: 0; }
.form-section h2 { font-size: 1.02rem; margin-bottom: .2rem; }
.form-section > p { color: var(--cv-slate); font-size: .88rem; margin-bottom: 1rem; }
.sticky-actions { position: sticky; bottom: 0; background: rgba(255,255,255,.96); border-top: 1px solid var(--cv-rule); padding: .9rem 0; margin-top: 1.5rem; z-index: 5; }
.timeline { list-style: none; padding: 0; margin: 0; font-size: .88rem; }
.timeline li { padding: 0 0 .9rem 1.1rem; border-left: 2px solid var(--cv-rule); position: relative; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: .4rem; width: 8px; height: 8px; border-radius: 50%; background: var(--cv-navy); }
code.token { font-size: .82rem; background: var(--cv-mist); color: var(--cv-navy); padding: .6rem .8rem; border-radius: 6px; display: block; word-break: break-all; }

/* ---------- Footer ---------- */
.site-footer { background: var(--cv-navy); color: #B9C6D9; padding: 3.5rem 0 2rem; font-size: .9rem; }
.site-footer h2 { color: #fff; font-size: .9rem; margin-bottom: .9rem; }
.site-footer a { color: #DCE5F2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.4rem; font-size: .82rem; color: #93A5C0; }
.footer-logo { height: 28px; width: auto; }

.alert { border-radius: 10px; font-size: .92rem; }
.pagination { --bs-pagination-color: var(--cv-navy); --bs-pagination-active-bg: var(--cv-navy); --bs-pagination-active-border-color: var(--cv-navy); }
.portal-nav .badge.text-bg-primary { background-color: var(--cv-cyan) !important; }

/* ---------- Covers ---------- */
.cover-thumb { width: 100%; max-width: 220px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; border: 1px solid var(--cv-rule); display: block; background: var(--cv-mist); }
.cover-sm { width: 46px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 3px; border: 1px solid var(--cv-rule); flex: none; background: var(--cv-mist); }
.cover-placeholder { display: grid; place-items: center; color: #fff; font-weight: 600; font-size: .8rem; letter-spacing: .02em; background: linear-gradient(160deg, var(--cv-navy), #2A4C80); }

/* ---------- Homepage ticker ---------- */
.ticker { background: var(--cv-navy); color: #DCE5F2; font-size: .86rem; border-bottom: 1px solid #0E1F3B; }
.ticker-inner { display: flex; align-items: center; gap: 1rem; padding: 0 clamp(1rem, 3vw, 2rem); }
.ticker-label { flex: none; font-weight: 600; color: #fff; padding: .6rem 1rem .6rem 0; border-right: 1px solid rgba(255,255,255,.18); white-space: nowrap; }
.ticker-label i { color: var(--cv-cyan); }
.ticker-viewport { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.ticker-track { display: flex; width: max-content; list-style: none; margin: 0; padding: 0; animation: ticker 60s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker-track li { white-space: nowrap; padding: .6rem 1.6rem .6rem 0; }
.ticker-track li::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--cv-cyan); margin-right: .7rem; vertical-align: middle; }
.ticker-track a { color: #fff; text-decoration: none; font-weight: 500; }
.ticker-track a:hover { text-decoration: underline; }
.ticker-track a .bi-star-fill { color: #F5C451; font-size: .75em; }
.ticker-track span { color: #93A5C0; margin-left: .45rem; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } .ticker-viewport { overflow-x: auto; } }
@media (max-width: 575.98px) { .ticker-label span, .ticker-label { font-size: .8rem; } }

/* ---------- Featured journals ---------- */
.featured-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.25rem; }
.featured-card { display: flex; flex-direction: column; text-decoration: none; color: var(--cv-ink); }
.featured-card img, .featured-card .cover-placeholder { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; border: 1px solid var(--cv-rule); margin-bottom: .7rem; font-size: 1.6rem; }
.featured-card:hover img, .featured-card:hover .cover-placeholder { border-color: var(--cv-navy); }
.fc-title { font-weight: 600; color: var(--cv-navy); line-height: 1.3; }
.featured-card:hover .fc-title { text-decoration: underline; }
.fc-meta { font-size: .82rem; color: var(--cv-slate); margin-top: .2rem; }
.fc-score { font-weight: 600; color: var(--cv-navy); margin-top: .3rem; font-variant-numeric: tabular-nums; }
.fc-score small { color: var(--cv-slate); font-weight: 500; }

/* ---------- Awards ---------- */
.awards-band { background: var(--cv-navy); color: #C3CEDF; border-radius: 16px; padding: clamp(1.8rem, 4vw, 3rem); position: relative; overflow: hidden; }
.awards-band h2 { color: #fff; }
.awards-year { font-size: clamp(2.6rem, 2rem + 3vw, 4.5rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1; color: var(--cv-cyan); }
.awards-list { list-style: none; margin: 0; padding: 0; }
.awards-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.awards-list span { font-size: .82rem; color: #93A5C0; }
.awards-list a { color: #fff; font-weight: 600; text-decoration: none; }
.awards-list a:hover { text-decoration: underline; }
.awards-list i { color: #F5C451; }
.awards-hero { padding: 3rem 0 2rem; border-bottom: 1px solid var(--cv-rule); background: linear-gradient(180deg, var(--cv-mist), #fff); }
.awards-hero .awards-year { color: var(--cv-navy); margin-bottom: .2rem; }
.award-card { display: flex; gap: 1.2rem; border: 1px solid var(--cv-rule); border-radius: 12px; padding: 1.2rem; background: #fff; height: 100%; }
.award-card.is-winner { border: 2px solid var(--cv-navy); }
.award-cover { width: 92px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; flex: none; border: 1px solid var(--cv-rule); }
.award-card.is-winner .award-cover { width: 130px; font-size: 1.5rem; }
.award-place { font-size: .82rem; font-weight: 600; color: var(--cv-warn); margin-bottom: .3rem; }
.award-card h3 { font-size: 1.1rem; }
.award-card h3 a { color: var(--cv-navy); text-decoration: none; }
.award-card h3 a:hover { text-decoration: underline; }
.award-badge { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 600; color: #7A4B00; background: #FBF1E2; border: 1px solid #F0D7AE; border-radius: 99px; padding: .25rem .65rem; text-decoration: none; }
a.stat { text-decoration: none; color: inherit; } a.stat:hover { border-color: var(--cv-navy); }

/* ---------- Policies ---------- */
.policy-body h2 { margin-top: 2rem; padding-top: .25rem; scroll-margin-top: 90px; font-family: var(--cv-sans); }
.policy-body h2:first-child { margin-top: 0; }
.policy-body ul { padding-left: 1.2rem; margin-bottom: 1.1em; }
.policy-body li { margin-bottom: .45em; }
.policy-toc { border-left: 3px solid var(--cv-cyan); padding: .6rem 0 .6rem 1rem; }
.policy-toc ol { padding-left: 1.1rem; columns: 2; column-gap: 2rem; }
@media (max-width: 575.98px) { .policy-toc ol { columns: 1; } }
.policy-nav h2 { font-size: .85rem; color: var(--cv-slate); margin-bottom: .6rem; }
.policy-card:hover { border-color: var(--cv-navy); }

/* ---------- Release 4: citation card, statistics, visitor counter ---------- */
.ci-card h3 { margin-bottom: .2rem; }
.ci-sub { font-size: .84rem; color: var(--cv-slate); margin: 0 0 .9rem; }
.ci-list { list-style: none; padding: 0; margin: 0; }
.ci-list li { display: flex; align-items: center; gap: .7rem; padding: .55rem 0; border-top: 1px solid var(--cv-rule); }
.ci-list li:first-child { border-top: 0; }
.ci-rank { flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--cv-mist); color: var(--cv-navy); font-size: .78rem; font-weight: 600; display: grid; place-items: center; }
.ci-list li:first-child .ci-rank { background: var(--cv-navy); color: #fff; }
.ci-list a { flex: 1; min-width: 0; color: var(--cv-ink); text-decoration: none; font-size: .9rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ci-list a:hover { color: var(--cv-navy); text-decoration: underline; }
.ci-list b { font-size: 1.05rem; color: var(--cv-navy); font-variant-numeric: tabular-nums; }
.ci-formula { display: flex; align-items: center; gap: .8rem; background: var(--cv-mist); border-radius: 10px; padding: 1rem 1.1rem; margin: .4rem 0 1rem; }
.ci-f-lhs { font-size: 1.6rem; font-weight: 600; color: var(--cv-navy); letter-spacing: -.02em; }
.ci-f-lhs sub { font-size: .9rem; }
.ci-f-eq { font-size: 1.4rem; color: var(--cv-slate); }
.ci-f-frac { display: flex; flex-direction: column; text-align: center; font-size: .84rem; font-weight: 500; color: var(--cv-ink); }
.ci-f-frac span:first-child { padding-bottom: .35rem; border-bottom: 2px solid var(--cv-navy); }
.ci-f-frac span:last-child { padding-top: .35rem; }
.ci-points { list-style: none; padding: 0; margin: 0; font-size: .85rem; }
.ci-points li { display: flex; gap: .5rem; padding: .2rem 0; }
.ci-points i { color: var(--cv-success); }
.citation-line a { white-space: nowrap; font-weight: 500; }

.stats-strip { background: var(--cv-navy); color: #fff; padding: 2rem 0 1.4rem; }
.stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.stats-item { display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; padding-left: 1rem; border-left: 2px solid rgba(21,156,235,.55); }
.stats-item i { color: var(--cv-cyan); font-size: 1.1rem; }
.stats-n { font-size: 1.9rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats-l { font-size: .8rem; color: #B9C6D9; }
.stats-more { margin: 1.2rem 0 0; text-align: right; font-size: .88rem; }
.stats-more a { color: #fff; text-decoration: none; font-weight: 500; }
.stats-more a:hover { color: var(--cv-cyan); }
@media (max-width: 991.98px) { .stats-grid { grid-template-columns: repeat(3, 1fr); row-gap: 1.4rem; } }
@media (max-width: 575.98px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } .stats-n { font-size: 1.6rem; } }

.hbars { list-style: none; padding: 0; margin: 0; }
.hbars li { display: grid; grid-template-columns: minmax(7rem, 38%) 1fr 3.4rem; align-items: center; gap: .7rem; padding: .3rem 0; font-size: .86rem; }
.hb-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--cv-ink); }
.hb-t { height: 10px; background: var(--cv-mist); border-radius: 0 4px 4px 0; overflow: hidden; }
.hb-t i { display: block; height: 100%; background: var(--cv-navy); border-radius: 0 4px 4px 0; }
.hbars li:hover .hb-t i { background: var(--cv-cyan); }
.hb-n { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--cv-navy); }

.visitor-counter { display: flex; align-items: center; justify-content: center; gap: .6rem; font-size: .82rem; color: #B9C6D9; margin: 1.6rem 0 0; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.12); }
.visitor-counter span { display: inline-flex; gap: 3px; }
.visitor-counter b { display: inline-block; min-width: 1.35rem; padding: .2rem 0; text-align: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 4px; color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.ci-card .citation-line { flex-wrap: wrap; gap: .3rem 1rem; align-items: baseline; }
