/* League Next 资料站 · Hextech 风格 */
:root {
  --bg: #071120;
  --bg-soft: #0b1a2d;
  --panel: rgba(255, 255, 255, .042);
  --panel-2: rgba(255, 255, 255, .065);
  --line: rgba(200, 170, 110, .22);
  --line-soft: rgba(255, 255, 255, .09);
  --gold: #c8aa6e;
  --gold-bright: #e6cb96;
  --cyan: #39d3d0;
  --red: #e07a76;
  --text: #eaf0f8;
  --muted: #9dacc2;
  --dim: #71839d;
  --radius: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", "Noto Sans CJK SC", "Noto Sans SC", "Malgun Gothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Noto Sans Arabic", "Geeza Pro", Tahoma, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 82% -8%, rgba(57, 211, 208, .13), transparent 65%),
    radial-gradient(760px 480px at 6% 12%, rgba(200, 170, 110, .11), transparent 65%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='52' viewBox='0 0 60 52'%3E%3Cpath d='M15 1 45 1 59 26 45 51 15 51 1 26Z' fill='none' stroke='%23c8aa6e' stroke-opacity='.14' stroke-width='1'/%3E%3C/svg%3E") 0 0 / 60px 52px,
    linear-gradient(180deg, #081426, #06101e 60%, #050d19);
}
a { color: var(--gold-bright); text-decoration: none; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.skip-link {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: #101a28; padding: 8px 14px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 10px; color: #101a28; }

/* ------------------------------------------------------------ 顶部导航 */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 15, 28, .9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 11px 22px;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: 20px; direction: ltr;
}
html[dir="rtl"] .brand,
html[dir="rtl"] .main-nav,
html[dir="rtl"] .lang-area { direction: rtl; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; }
.brand:hover { color: var(--text); }
.brand-mark { flex: none; width: 34px; height: 38px; color: var(--gold); display: block; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.brand-text strong { display: block; font-size: 15px; letter-spacing: .02em; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text small { display: block; font-size: 10.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.main-nav { display: flex; justify-content: center; align-items: center; gap: 2px; flex-wrap: wrap; min-width: 0; max-width: 100%; }
.main-nav a {
  color: var(--muted); font-size: 13px; padding: 7px 11px; border-radius: 8px;
  white-space: nowrap; transition: color .18s, background .18s;
}
.main-nav a:hover { color: var(--text); background: var(--panel-2); }
.main-nav a[aria-current="page"] { color: var(--gold-bright); background: rgba(200, 170, 110, .12); }
.lang-area { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
html[dir="rtl"] .lang-area { align-items: flex-start; }
.lang-label { font-size: 10.5px; color: var(--dim); letter-spacing: .08em; }
.lang-area select {
  appearance: none; -webkit-appearance: none;
  min-width: 148px; padding: 8px 30px 8px 12px;
  font: inherit; font-size: 13px; color: var(--text); cursor: pointer;
  background: #0e2137 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c8aa6e' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 11px center;
  border: 1px solid rgba(200, 170, 110, .55); border-radius: 9px;
  transition: border-color .18s, box-shadow .18s;
}
.lang-area select:hover { border-color: var(--gold-bright); }
.lang-area select:focus-visible { box-shadow: 0 0 0 3px rgba(57, 211, 208, .28); }
html[dir="rtl"] .lang-area select {
  padding: 8px 12px 8px 30px; background-position: left 11px center; direction: rtl;
}
.lang-current { font-size: 10px; color: var(--dim); white-space: nowrap; }

/* ------------------------------------------------------------ 子页返回条 */
.subbar { border-bottom: 1px solid var(--line-soft); background: rgba(255, 255, 255, .02); }
.subbar-inner { display: flex; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.crumb { color: var(--dim); font-size: 12.5px; }

/* ------------------------------------------------------------ 按钮 */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 9px; font-size: 13px; font-weight: 600;
  border: 1px solid var(--line); transition: transform .18s, background .18s, border-color .18s, color .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn--home, .btn--ghost { color: var(--gold-bright); background: rgba(200, 170, 110, .08); }
.btn--home:hover, .btn--ghost:hover { background: rgba(200, 170, 110, .18); color: #fff; border-color: var(--gold); }
.btn--primary { background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: #101a28; border-color: transparent; }
.btn--primary:hover { color: #101a28; box-shadow: 0 8px 24px rgba(200, 170, 110, .22); }
html[dir="rtl"] .btn--home span[aria-hidden],
html[dir="rtl"] .btn--primary span[aria-hidden] { display: inline-block; transform: scaleX(-1); }

/* ------------------------------------------------------------ 首页 Hero */
.hero { position: relative; overflow: hidden; padding: 74px 0 66px; border-bottom: 1px solid var(--line-soft); }
.hero::after {
  content: ""; position: absolute; width: 480px; height: 480px; inset-inline-end: -120px; top: -190px;
  background: radial-gradient(circle, rgba(57, 211, 208, .14), transparent 70%); pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 900px; }
.kicker {
  margin: 0 0 16px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan); font-weight: 700;
}
.hero h1 {
  margin: 0 0 18px; font-size: clamp(32px, 5.2vw, 56px); line-height: 1.18; letter-spacing: -.01em;
  background: linear-gradient(100deg, #fff 10%, var(--gold-bright) 60%, var(--cyan) 110%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { margin: 0; max-width: 780px; font-size: 16.5px; color: #c6d2e2; }
.verdict {
  margin: 30px 0 0; padding: 18px 22px; max-width: 780px;
  background: linear-gradient(90deg, rgba(200, 170, 110, .13), rgba(200, 170, 110, .02));
  border: 1px solid var(--line); border-inline-start: 3px solid var(--gold); border-radius: var(--radius);
}
.verdict-label { display: block; font-size: 11px; letter-spacing: .12em; color: var(--gold); font-weight: 700; margin-bottom: 6px; }
.verdict p { margin: 0; font-size: 15px; }
.hero-meta { margin: 26px 0 0; font-size: 12px; color: var(--dim); display: flex; align-items: center; gap: 9px; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(57, 211, 208, .15); }

/* ------------------------------------------------------------ 通用区块 */
.section { padding: 60px 0; }
.section--alt { background: rgba(255, 255, 255, .022); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-head { margin-bottom: 30px; max-width: 820px; }
.section-head h2 { margin: 0 0 10px; font-size: clamp(22px, 3vw, 30px); letter-spacing: -.01em; }
.section-head p { margin: 0; color: var(--muted); font-size: 14.5px; }
.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 44px; align-items: start; }
.legend-copy { color: var(--muted); font-size: 13.5px; margin: 14px 0 0; }
.legend-copy strong { color: var(--gold-bright); }

/* ------------------------------------------------------------ 徽章 */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700;
  border: 1px solid transparent; white-space: nowrap; line-height: 1.6;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--official { color: #6fe0c0; background: rgba(57, 211, 180, .11); border-color: rgba(57, 211, 180, .3); }
.badge--reported { color: var(--gold-bright); background: rgba(200, 170, 110, .12); border-color: rgba(200, 170, 110, .32); }
.badge--unverified { color: #d5b06a; background: rgba(213, 176, 106, .1); border-color: rgba(213, 176, 106, .28); }
.badge--denied { color: var(--red); background: rgba(224, 122, 118, .1); border-color: rgba(224, 122, 118, .3); }
.legend-box { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 16px 18px; }
.legend-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 13px; color: var(--muted); }
.legend-row + .legend-row { border-top: 1px solid var(--line-soft); }

/* ------------------------------------------------------------ 事实卡片 */
.fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; }
.fact-card, .feature-card, .status-panel, .note-card {
  background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius);
}
.fact-card { padding: 22px; transition: transform .2s, border-color .2s, background .2s; }
.fact-card:hover { transform: translateY(-3px); border-color: var(--line); background: var(--panel-2); }
.fact-num { display: block; font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--gold); letter-spacing: .1em; margin-bottom: 14px; }
.fact-card h3, .feature-card h3 { margin: 0 0 10px; font-size: 17px; }
.fact-card p, .feature-card p { margin: 0; color: var(--muted); font-size: 13.8px; }

/* ------------------------------------------------------------ 小时间线 / CTA */
.mini-timeline { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 12px; }
.mini-timeline li {
  display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: start;
  padding: 14px 18px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: 10px;
}
.mini-date { color: var(--gold); font-size: 12.5px; font-weight: 700; }
.mini-timeline h3 { margin: 0 0 4px; font-size: 14.5px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.note-card { padding: 18px 22px; background: rgba(57, 211, 208, .055); border-color: rgba(57, 211, 208, .22); }
.note-card p { margin: 0; color: #c6d2e2; font-size: 14px; }
.note-card--inline { margin-bottom: 26px; }

/* ------------------------------------------------------------ 时间线 */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; inset-block: 10px 10px; inset-inline-start: 158px; width: 2px;
  background: linear-gradient(180deg, var(--cyan), rgba(200, 170, 110, .55), transparent);
}
.tl-item { display: grid; grid-template-columns: 140px 1fr; gap: 34px; margin-bottom: 20px; position: relative; }
.tl-item::before {
  content: ""; position: absolute; inset-inline-start: 152px; top: 26px;
  width: 14px; height: 14px; border-radius: 50%; background: var(--gold);
  border: 3px solid var(--bg); box-shadow: 0 0 0 3px rgba(200, 170, 110, .16);
}
.tl-date { padding-top: 20px; color: var(--gold-bright); font-size: 13px; font-weight: 700; }
.tl-card { padding: 20px 22px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.tl-card h3 { margin: 10px 0 8px; font-size: 17px; }
.tl-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* ------------------------------------------------------------ 技术卡片 */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.feature-card { padding: 22px; }
.feature-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.feature-num { font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--gold); }
.unknown-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 10px; }
.unknown-list li {
  padding: 12px 16px 12px 34px; background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: 10px; font-size: 13.8px; color: var(--muted); position: relative;
}
.unknown-list li::before {
  content: ""; position: absolute; inset-inline-start: 15px; top: 20px;
  width: 7px; height: 7px; border: 1.5px solid var(--gold); transform: rotate(45deg);
}

/* ------------------------------------------------------------ 事实核查 */
.status-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.status-panel { padding: 22px; border-top: 2px solid var(--line); }
.status-panel--official { border-top-color: #6fe0c0; }
.status-panel--reported { border-top-color: var(--gold); }
.status-panel--unverified { border-top-color: #d5b06a; }
.status-panel--denied { border-top-color: var(--red); }
.status-head h3 { margin: 12px 0 6px; font-size: 18px; }
.status-head p { margin: 0 0 16px; color: var(--dim); font-size: 12.8px; }
.status-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.status-list li {
  position: relative; padding-inline-start: 20px; color: #cbd6e5; font-size: 13.8px;
}
.status-list li::before {
  content: ""; position: absolute; inset-inline-start: 2px; top: 11px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}

/* ------------------------------------------------------------ FAQ */
.faq-list { display: grid; gap: 10px; max-width: 940px; }
.faq-item { background: var(--panel); border: 1px solid var(--line-soft); border-radius: 12px; overflow: hidden; }
.faq-item[open] { border-color: var(--line); background: var(--panel-2); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 16px 20px; display: flex;
  align-items: center; justify-content: space-between; gap: 16px; font-size: 15px; font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-bright); }
.faq-toggle { flex: none; width: 22px; height: 22px; position: relative; }
.faq-toggle::before, .faq-toggle::after {
  content: ""; position: absolute; top: 10px; left: 3px; width: 16px; height: 2px;
  background: var(--gold); border-radius: 2px; transition: transform .2s;
}
.faq-toggle::after { transform: rotate(90deg); }
.faq-item[open] .faq-toggle::after { transform: rotate(0); }
.faq-a { padding: 0 20px 18px; color: var(--muted); font-size: 14px; }
.faq-a p { margin: 0; }

/* ------------------------------------------------------------ 术语表 */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 24px; }
.glossary-table { width: 100%; border-collapse: collapse; min-width: 940px; font-size: 13px; }
.glossary-table th, .glossary-table td { padding: 12px 14px; text-align: start; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.glossary-table thead th {
  position: sticky; top: 0; background: #10243b; color: var(--gold-bright);
  font-size: 12px; letter-spacing: .03em; white-space: nowrap; z-index: 1;
}
.glossary-table tbody tr:nth-child(even) { background: rgba(255, 255, 255, .022); }
.glossary-table tbody tr:hover { background: rgba(200, 170, 110, .08); }
.glossary-table tbody tr:last-child td { border-bottom: 0; }

/* ------------------------------------------------------------ 资料来源 */
.source-group { margin-bottom: 34px; }
.source-group > h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 17px; }
.tier-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.tier-dot--tier1 { background: #6fe0c0; }
.tier-dot--tier2 { background: var(--gold); }
.tier-dot--tier3 { background: var(--dim); }
.tier-count { font-size: 11px; color: var(--dim); border: 1px solid var(--line-soft); border-radius: 999px; padding: 1px 8px; }
.source-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.source-item {
  display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: start;
  padding: 16px 20px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: 12px;
}
.source-main a { font-size: 14.5px; font-weight: 600; line-height: 1.5; }
.source-note { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.source-meta { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; max-width: 250px; }
html[dir="rtl"] .source-meta { justify-content: flex-start; }
.source-meta span {
  font-size: 11px; color: var(--dim); border: 1px solid var(--line-soft);
  border-radius: 999px; padding: 2px 9px; white-space: nowrap;
}

/* ------------------------------------------------------------ 页脚 */
.site-footer { border-top: 1px solid var(--line); background: rgba(3, 9, 18, .72); padding: 42px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; padding-bottom: 28px; border-bottom: 1px solid var(--line-soft); }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
html[dir="rtl"] .footer-brand { align-items: flex-start; }
.footer-langs h2 { margin: 0 0 12px; font-size: 12px; letter-spacing: .1em; color: var(--dim); text-transform: uppercase; }
.footer-langs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.footer-langs a {
  display: inline-block; padding: 5px 11px; border: 1px solid var(--line-soft);
  border-radius: 999px; font-size: 12.5px; color: var(--muted);
}
.footer-langs a:hover { border-color: var(--gold); color: var(--gold-bright); }
.footer-langs a.is-current { border-color: var(--gold); color: var(--gold-bright); background: rgba(200, 170, 110, .12); }
.footer-bottom { padding-top: 20px; display: grid; gap: 6px; position: relative; }
.footer-bottom p { margin: 0; color: var(--dim); font-size: 12px; max-width: 780px; }
.disclaimer { color: var(--gold); }
.to-top { position: absolute; inset-inline-end: 0; top: 22px; font-size: 12px; }

/* ------------------------------------------------------------ 响应式 */
@media (max-width: 980px) {
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 14px; padding: 10px 16px; }
  .brand { grid-column: 1; grid-row: 1; }
  .lang-area { grid-column: 2; grid-row: 1; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; min-width: 0; width: 100%; }
  html[dir="rtl"] .main-nav { justify-content: flex-start; }
  .split, .footer-top, .status-grid { grid-template-columns: 1fr; }
  .footer-top { gap: 26px; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 48px 0 44px; }
  .section { padding: 42px 0; }
  .brand-text small { display: none; }
  .brand-text strong { font-size: 13px; }
  .brand-mark { width: 28px; height: 32px; }
  .lang-area select { min-width: 108px; font-size: 12px; padding-inline-end: 26px; }
  .lang-current { display: none; }
  .hero h1 { overflow-wrap: break-word; }
  .timeline::before { inset-inline-start: 7px; }
  .tl-item { grid-template-columns: 1fr; gap: 4px; padding-inline-start: 26px; }
  .tl-item::before { inset-inline-start: 1px; top: 8px; }
  .tl-date { padding-top: 0; }
  .mini-timeline li { grid-template-columns: 1fr; gap: 4px; }
  .source-item { grid-template-columns: 1fr; }
  .source-meta { justify-content: flex-start; max-width: none; }
  .to-top { position: static; margin-top: 8px; justify-self: start; }
  .verdict { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
