:root {
  --bg: #070a0d;
  --bg-raised: #0d1216;
  --bg-card: #111820;
  --bg-deep: #050709;
  --line: rgba(80, 222, 200, 0.16);
  --line-soft: rgba(80, 222, 200, 0.1);
  --text: #eef6f3;
  --text-soft: #a7b7b5;
  --text-dim: #6d7d7c;
  --accent: #2fd6b7;
  --accent-strong: #22b99e;
  --accent-ink: #06130f;
  --reward: #ffc857;
  --live: #ff6b6b;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font: inherit;
  cursor: pointer;
}

.container {
  width: min(100% - 36px, 560px);
  margin-left: auto;
  margin-right: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 10, 13, 0.84);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.topbar-inner {
  width: min(100% - 28px, 560px);
  margin: 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 7px;
  object-fit: cover;
  filter: drop-shadow(0 0 10px rgba(47, 214, 183, 0.28));
}

.brand-name {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 3px;
  flex: 0 0 auto;
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 8px 8px;
  border-radius: 6px;
  min-width: 34px;
  text-align: center;
}

.lang-btn.is-active {
  background: var(--accent);
  color: var(--accent-ink);
}

.hero {
  position: relative;
  min-height: calc(100svh - 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 0 24px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -160px -90px auto auto;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 214, 183, 0.15), transparent 66%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section .eyebrow,
.radar-card .eyebrow,
.stats-head .eyebrow,
.final-inner .eyebrow {
  justify-content: flex-start;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(47, 214, 183, 0.9);
}

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

h1 {
  font-size: 34px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  text-wrap: balance;
}

h2 {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 10px;
  text-wrap: balance;
}

h3 {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 800;
  margin-bottom: 6px;
}

.hero-sub {
  margin: 0 auto 24px;
  max-width: 440px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.55;
}

.hero-actions,
.final-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 420px;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 30px rgba(47, 214, 183, 0.24);
}

.btn-primary:active {
  transform: translateY(1px) scale(0.99);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text-soft);
}

.btn-lg {
  min-height: 56px;
}

.hero-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 0;
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.45;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(47, 214, 183, 0.8);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}

.radar-section {
  padding: 0 0 52px;
}

.radar-card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: var(--shadow);
}

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

.radar-head .eyebrow {
  margin-bottom: 8px;
}

.radar-head h2 {
  margin-bottom: 0;
  font-size: 20px;
}

.radar-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid rgba(255, 107, 107, 0.32);
  color: var(--live);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.radar-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--live);
  animation: pulse 1.6s ease-in-out infinite;
}

.radar-sub {
  margin: 14px 0 18px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.count-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 10px 4px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
}

.count-cell strong {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--reward);
}

.count-cell span {
  margin-top: 6px;
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: 56px 0;
}

.section-head {
  margin-bottom: 22px;
}

.section-sub {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 0;
}

.quiz-section,
.match-section {
  background: var(--bg-deep);
  border-top: 1px solid var(--line-soft);
}

.quiz-shell {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.quiz-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.quiz-topline span:last-child {
  color: var(--accent);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
  text-align: right;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quiz-progress {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 22px;
}

.quiz-progress span {
  display: block;
  height: 100%;
  width: 25%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 0.35s ease;
}

.quiz-body h3 {
  font-size: 18px;
  margin-bottom: 18px;
}

.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.option-card {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--text);
  border-radius: var(--radius);
  padding: 16px 12px;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  text-align: left;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.option-card:active {
  transform: scale(0.98);
}

.option-card.is-selected {
  border-color: var(--accent);
  background: rgba(47, 214, 183, 0.12);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.option-index {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.option-card span:last-child {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.quiz-back {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 700;
  padding: 12px 0 0;
}

.match-shell {
  display: grid;
  gap: 14px;
}

.match-banner {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.match-card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.reveal-stage {
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  overflow: hidden;
}

.reveal-stage::before,
.reveal-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.reveal-stage::before {
  background:
    repeating-linear-gradient(0deg, rgba(47, 214, 183, 0.05) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(47, 214, 183, 0.05) 0 1px, transparent 1px 26px);
}

.reveal-stage::after {
  background: linear-gradient(180deg, transparent 48%, rgba(47, 214, 183, 0.18) 50%, transparent 52%);
  animation: scan 1.4s linear infinite;
}

@keyframes scan {
  from { transform: translateY(-60%); }
  to { transform: translateY(60%); }
}

.scanner {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(47, 214, 183, 0.28);
  border-top-color: var(--accent);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.reveal-stage p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 700;
}

.reveal-progress {
  position: relative;
  z-index: 1;
  width: min(100% - 20px, 320px);
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.reveal-progress span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--reward));
  transition: width 0.18s linear;
}

.match-content {
  animation: fadeUp 0.4s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.match-top {
  display: grid;
  grid-template-columns: 108px 1fr auto;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.match-art {
  width: 108px;
  height: 108px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0a0d10;
  border: 1px solid var(--line-soft);
}

.match-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.match-id {
  min-width: 0;
}

.match-tag {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--text-dim);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.match-id strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 6px;
}

.reward-chip {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(255, 200, 87, 0.12);
  border: 1px solid rgba(255, 200, 87, 0.32);
  color: var(--reward);
  font-size: 12px;
  font-weight: 800;
}

.status-chip {
  align-self: start;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(47, 214, 183, 0.12);
  border: 1px solid rgba(47, 214, 183, 0.35);
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-chip.is-live {
  background: rgba(255, 107, 107, 0.12);
  border-color: rgba(255, 107, 107, 0.35);
  color: var(--live);
}

.status-chip.is-testnet {
  background: rgba(138, 148, 255, 0.12);
  border-color: rgba(138, 148, 255, 0.35);
  color: #aeb4ff;
}

.deadline-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: rgba(255, 200, 87, 0.07);
  border: 1px solid rgba(255, 200, 87, 0.22);
}

.deadline-strip span {
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.deadline-strip strong {
  color: var(--reward);
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.match-thesis {
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.55;
}

.match-actions {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.text-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 0;
}

.how-section {
  background: var(--bg);
}

.steps {
  display: grid;
  gap: 12px;
}

.step {
  position: relative;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.step-num {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.step p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
}

.stats-section {
  border-top: 1px solid var(--line-soft);
  background: var(--bg-deep);
  padding: 48px 0;
}

.stats-head {
  margin-bottom: 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 96px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
}

.stat strong {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--accent);
  margin-bottom: 6px;
}

.stat span {
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.final-cta {
  position: relative;
  padding: 60px 0;
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 50% 120%, rgba(47, 214, 183, 0.14), transparent 58%),
    var(--bg);
  overflow: hidden;
}

.final-inner {
  text-align: center;
}

.final-inner .eyebrow {
  justify-content: center;
}

.final-inner p:not(.eyebrow) {
  margin: 0 auto 22px;
  max-width: 420px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.55;
}

.footer {
  border-top: 1px solid var(--line-soft);
  background: var(--bg-deep);
  padding: 34px 0 42px;
}

.footer-inner {
  display: grid;
  gap: 18px;
}

.footer .brand-name {
  letter-spacing: 0.12em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--text-dim);
  font-size: 13px;
}

.footer-note,
.footer-risk {
  margin: 0;
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.6;
}

.footer-risk {
  color: #596763;
}

[hidden] {
  display: none !important;
}

@media (min-width: 768px) {
  .container,
  .topbar-inner {
    width: min(100% - 64px, 760px);
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-sub {
    font-size: 17px;
  }

  .option-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .match-card {
    padding: 22px;
  }

  .match-top {
    grid-template-columns: 132px 1fr auto;
  }

  .match-art {
    width: 132px;
    height: 132px;
  }

  .match-id strong {
    font-size: 26px;
  }

  .count-cell {
    min-height: 84px;
  }

  .count-cell strong {
    font-size: 30px;
  }
}

@media (max-width: 359px) {
  h1 {
    font-size: 29px;
  }

  .brand-name {
    letter-spacing: 0.09em;
    font-size: 11px;
  }

  .lang-btn {
    min-width: 31px;
    padding: 8px 7px;
  }

  .option-card {
    min-height: 88px;
    padding: 13px 11px;
  }

  .match-top {
    grid-template-columns: 82px 1fr auto;
    gap: 10px;
  }

  .match-art {
    width: 82px;
    height: 82px;
  }

  .match-id strong {
    font-size: 19px;
  }

  .status-chip {
    padding: 5px 7px;
    font-size: 9px;
  }

  .count-cell {
    min-height: 66px;
  }

  .count-cell strong {
    font-size: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-dot,
  .radar-live i,
  .scanner,
  .reveal-stage::after {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Facebook 引导沿用页面配色；11 种语言按钮自动换行，阿拉伯语使用 RTL。 */
.lang-switch{flex-wrap:wrap;justify-content:flex-end;max-width:620px}.lang-btn{min-height:36px}
.footer-note{max-width:85ch;line-height:1.7}
.fb-browser[hidden]{display:none}.fb-browser{position:fixed;z-index:1000;inset-inline:16px;bottom:max(16px,env(safe-area-inset-bottom));max-width:420px;margin-inline:auto;padding:24px;border:1px solid var(--line);border-radius:var(--radius);background:var(--bg-card);color:var(--text);box-shadow:0 12px 48px #0008;max-height:75dvh;overflow-y:auto}
.fb-browser h2{font-size:23px;line-height:1.3;padding-inline-end:30px;margin:0;overflow-wrap:anywhere}.fb-browser p{font-size:14px;line-height:1.6;margin:12px 0 16px;color:var(--text-soft)}
.fb-dismiss{position:absolute;inset-inline-end:4px;top:4px;width:44px;height:44px;border:0;background:transparent;color:var(--text);font-size:26px;cursor:pointer}
.fb-browser .lp-btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;padding:12px 15px;border-radius:var(--radius);border:1px solid var(--accent);background:var(--accent);color:#101012;text-align:center;font-family:inherit;font-size:14px;font-weight:600;line-height:1.5;text-decoration:none;cursor:pointer;white-space:normal}
.fb-browser .lp-btn-ghost{background:transparent;color:var(--text);border-color:var(--line)}.fb-browser summary{padding:16px 0;cursor:pointer;font-size:14px}.fb-browser label{display:block;font-size:13px;margin-top:12px}.fb-browser input{width:100%;padding:10px;color:var(--text);background:var(--bg);border:1px solid var(--line);font-size:16px}
.fb-browser :focus-visible{outline:2px solid var(--accent);outline-offset:3px}
[dir="rtl"] .option-card,[dir="rtl"] .match-card{text-align:start}
@media(max-width:767px){.header-inner{flex-wrap:wrap;gap:12px}.lang-switch{max-width:100%;justify-content:flex-start;gap:4px}.lang-btn{padding:7px 9px}.fb-browser{padding:20px}}

/* 为新增语言留足空间，防止品牌与按钮重叠。 */
.topbar-inner{height:auto;min-height:56px;flex-wrap:wrap;padding-block:10px}.topbar-inner .brand{flex-shrink:0}.lang-switch{flex:1 1 320px;max-width:100%;overflow:visible}.lang-btn{color:var(--text-soft)}
.tool-chip{min-width:0;overflow-wrap:anywhere;padding-block:10px}.tool-chip span{min-width:0}.tools-grid,.tools-list{min-width:0}
@media(max-width:767px){.lang-switch{flex-basis:100%;justify-content:flex-start}.topbar-inner{gap:8px}}

/* 紧凑语言下拉，独立浮层不推挤页面。 */
.topbar-inner{flex-wrap:nowrap;min-height:64px;gap:10px}.language-picker{position:relative;flex:0 0 auto}
#language-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:40px;max-width:142px;padding:8px 12px;background:var(--bg-card);color:var(--text);border:1px solid var(--line);border-radius:var(--radius);font:inherit;font-size:12px;cursor:pointer}
.language-menu[hidden]{display:none}.language-menu{position:absolute;inset-inline-end:0;top:calc(100% + 8px);width:190px;max-width:calc(100vw - 28px);max-height:min(460px,70dvh);overflow-y:auto;overscroll-behavior:contain;background:var(--bg-card);border:1px solid var(--line);border-radius:var(--radius);padding:6px;box-shadow:0 12px 35px #0009}
.language-menu .lang-btn{display:block;width:100%;height:auto;min-height:40px;padding:10px 12px;text-align:start;font-size:13px;color:var(--text-soft);cursor:pointer}
.language-menu .lang-btn:hover,.language-menu .lang-btn:focus-visible{background:var(--bg-raised);color:var(--text)}.language-menu .lang-btn.is-active{background:var(--accent);color:var(--accent-ink)}
.language-picker :focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media(max-width:360px){.topbar-inner .brand-name{font-size:10px;letter-spacing:.06em}#language-trigger{padding:7px 8px;gap:7px}.topbar-inner .brand{gap:5px}}

/* 菜单展开时位于 Safari 提示之上，确保所有语言可点选。 */
.topbar:has(.language-menu:not([hidden])){z-index:1100}
