:root {
  color-scheme: light;
  --forest-950: #0a1d16;
  --forest-900: #102a20;
  --forest-800: #17432f;
  --forest-700: #1e5a3e;
  --forest-600: #2d7552;
  --lime: #d8f277;
  --lime-bright: #e8ff91;
  --orange: #ff8c56;
  --cream: #f3efe4;
  --paper: #fbf8ef;
  --ink: #14231a;
  --muted: #66736a;
  --line: rgba(20, 35, 26, 0.13);
  --white: #fff;
  --danger: #bd4d40;
  --shadow: 0 28px 80px rgba(14, 40, 27, 0.13);
  --radius-xl: 36px;
  --radius-lg: 27px;
  --radius-md: 18px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 3%, rgba(216, 242, 119, 0.42), transparent 26rem),
    radial-gradient(circle at 91% 30%, rgba(255, 140, 86, 0.13), transparent 28rem),
    var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
svg { display: block; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 9px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--forest-900);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus { transform: none; }

.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ambient i {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime-bright);
  box-shadow: 0 0 18px 5px rgba(216, 242, 119, 0.52);
  opacity: 0;
  animation: drift 10s infinite ease-in-out;
}
.ambient i:nth-child(1) { left: 8%; top: 22%; animation-delay: 0s; }
.ambient i:nth-child(2) { left: 25%; top: 66%; animation-delay: -3s; }
.ambient i:nth-child(3) { left: 48%; top: 28%; animation-delay: -6s; }
.ambient i:nth-child(4) { left: 72%; top: 72%; animation-delay: -1.7s; }
.ambient i:nth-child(5) { left: 89%; top: 18%; animation-delay: -8s; }
.ambient i:nth-child(6) { left: 60%; top: 50%; animation-delay: -4s; }

@keyframes drift {
  0%, 100% { opacity: 0; transform: translate3d(0, 18px, 0) scale(0.6); }
  25%, 70% { opacity: 0.7; }
  50% { opacity: 1; transform: translate3d(18px, -28px, 0) scale(1); }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 76px;
  padding: 0 max(24px, calc((100vw - var(--max-width)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 239, 228, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--lime);
  background: var(--forest-900);
  box-shadow: 0 10px 26px rgba(16, 42, 32, 0.2);
}

.brand-mark svg { width: 27px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.brand > span:last-child { display: flex; align-items: baseline; gap: 5px; }
.brand strong { font-size: 1.1rem; letter-spacing: 0.05em; }
.brand small { color: var(--muted); font-size: 0.72rem; font-weight: 750; }

.main-nav {
  padding: 4px;
  display: flex;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
}

.main-nav button {
  padding: 7px 18px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 750;
}

.main-nav button.active { color: var(--white); background: var(--forest-800); }

.top-actions { display: flex; align-items: center; gap: 14px; }
.mini-progress { min-width: 110px; display: grid; grid-template-columns: auto 56px; align-items: center; gap: 8px; }
.mini-progress span { color: var(--muted); font-size: 0.78rem; font-weight: 800; }
.mini-progress i, .question-progress i {
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(20, 35, 26, 0.12);
}
.mini-progress b, .question-progress b { width: 0; height: 100%; display: block; border-radius: inherit; background: var(--forest-700); transition: width 320ms ease; }

.icon-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--forest-800);
  background: rgba(255, 255, 255, 0.62);
  cursor: pointer;
}
.icon-button svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-button .sound-off { display: none; }
.icon-button.muted .sound-on { display: none; }
.icon-button.muted .sound-off { display: block; }

.page-shell { width: min(calc(100% - 40px), var(--max-width)); margin-inline: auto; }
.screen { min-height: calc(100vh - 76px); }
.screen[hidden] { display: none !important; }
.screen.active { animation: screenIn 380ms ease both; }

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

.home-grid {
  min-height: calc(100svh - 76px);
  padding-block: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(400px, 0.77fr);
  align-items: center;
  gap: clamp(44px, 6vw, 90px);
}

.kicker {
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--forest-700);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}
.kicker span { width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.kicker.light { color: var(--lime); }

.hero-copy h1,
.inner-header h1,
.question-card h1,
.result-card > h1 {
  margin: 0;
  letter-spacing: -0.06em;
  line-height: 1.03;
}

.hero-copy h1 { max-width: 690px; font-size: clamp(3.7rem, 7.4vw, 7.2rem); }
.hero-copy h1 em { position: relative; color: var(--forest-700); font-style: normal; white-space: nowrap; }
.hero-copy h1 em::after {
  content: "";
  position: absolute;
  left: -1%; right: -3%; bottom: 0.03em; z-index: -1;
  height: 0.19em;
  border-radius: 99px;
  background: var(--lime);
  transform: rotate(-1.2deg);
}

.hero-lead { max-width: 650px; margin: 25px 0 30px; color: #536159; font-size: clamp(1.02rem, 1.8vw, 1.2rem); }
.hero-actions, .result-actions { display: flex; flex-wrap: wrap; gap: 11px; }

.button {
  min-height: 50px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 15px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  font-weight: 820;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(16, 42, 32, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(16, 42, 32, 0.12); }
.button:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid rgba(45, 117, 82, 0.34); outline-offset: 3px; }
.button.primary { color: var(--white); background: var(--forest-700); }
.button.primary:hover { background: var(--forest-800); }
.button.ghost { border-color: var(--line); background: rgba(255, 255, 255, 0.6); }
.button.compact { min-height: 44px; padding: 9px 16px; color: var(--white); background: var(--forest-700); }
.button.lime { color: var(--forest-950); background: var(--lime); }
.button.dark-ghost { border-color: rgba(255,255,255,.18); color: var(--white); background: rgba(255,255,255,.07); box-shadow: none; }

.trust-note { margin-top: 24px; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.84rem; }
.trust-note svg { width: 19px; fill: none; stroke: var(--forest-600); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.hero-board {
  position: relative;
  min-height: 540px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 42px;
  color: var(--white);
  background:
    linear-gradient(rgba(216,242,119,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216,242,119,.03) 1px, transparent 1px),
    var(--forest-900);
  background-size: 32px 32px;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.hero-board::before {
  content: "";
  position: absolute;
  width: 300px; height: 300px; right: -128px; top: -90px; z-index: -1;
  border: 62px solid rgba(216, 242, 119, 0.84); border-radius: 50%;
}
.board-top { display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.62); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.14em; }
.case-number { color: var(--lime); }
.board-art { height: 390px; display: grid; place-items: center; }
.board-art svg { width: 100%; max-width: 460px; overflow: visible; }
.board-leaf { fill: rgba(216,242,119,.13); stroke: var(--lime); stroke-width: 2; }
.board-leaf-line, .clue-lines path { fill: none; stroke: rgba(216,242,119,.45); stroke-width: 1.4; stroke-linecap: round; }
.board-bug ellipse, .board-bug path { fill: var(--orange); stroke: var(--paper); stroke-width: 2.5; }
.board-bug circle { fill: var(--forest-950); }
.magnifier circle { fill: none; stroke: var(--paper); stroke-width: 13; }
.magnifier path { fill: none; stroke: var(--paper); stroke-width: 19; stroke-linecap: round; }
.board-stamp { position: absolute; top: 116px; right: 25px; padding: 6px 13px; border: 2px solid var(--orange); color: var(--orange); font-size: 0.85rem; font-weight: 900; letter-spacing: 0.13em; transform: rotate(8deg); }
.board-clues { display: flex; flex-wrap: wrap; gap: 7px; }
.board-clues span { padding: 6px 11px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: rgba(255,255,255,.72); background: rgba(255,255,255,.06); font-size: .76rem; }

.home-stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.58); box-shadow: 0 18px 50px rgba(16,42,32,.06); }
.home-stats article { min-height: 150px; padding: 28px 32px; display: grid; grid-template-columns: 1fr auto; align-content: center; gap: 5px 15px; border-right: 1px solid var(--line); }
.home-stats article:last-child { border-right: 0; }
.home-stats span { grid-column: 1/-1; color: var(--muted); font-size: .78rem; font-weight: 800; }
.home-stats strong { font-size: 2.6rem; line-height: 1; }
.home-stats strong.rank-text { align-self: center; font-size: 1.35rem; }
.home-stats small { align-self: end; color: var(--muted); font-size: .66rem; font-weight: 750; }

.briefing { padding: 110px 0 120px; }
.section-heading p { margin: 0 0 8px; color: var(--forest-600); font-size: .76rem; font-weight: 900; letter-spacing: .15em; }
.section-heading h2 { margin: 0 0 34px; font-size: clamp(2rem, 4vw, 3.7rem); letter-spacing: -.05em; }
.briefing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.briefing-grid article { min-height: 220px; padding: 27px; display: flex; align-items: flex-start; gap: 18px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,.5); }
.briefing-grid b { width: 43px; height: 43px; flex: 0 0 43px; display: grid; place-items: center; border-radius: 14px; color: var(--forest-900); background: var(--lime); }
.briefing-grid h3 { margin: 6px 0 8px; font-size: 1.12rem; }
.briefing-grid p { margin: 0; color: var(--muted); font-size: .9rem; }

.inner-page { padding-block: 76px 120px; }
.inner-header { margin-bottom: 40px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.inner-header h1 { font-size: clamp(2.7rem, 6vw, 5.3rem); }
.inner-header > div > p:last-child { max-width: 680px; margin: 18px 0 0; color: var(--muted); }
.text-button { padding: 8px 2px; border: 0; border-bottom: 1px solid currentColor; background: transparent; cursor: pointer; font-weight: 750; }
.text-button.danger { color: var(--danger); }

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.case-card { position: relative; min-height: 420px; padding: 22px; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: rgba(255,255,255,.64); box-shadow: 0 16px 48px rgba(16,42,32,.06); transition: transform 180ms ease, box-shadow 180ms ease; }
.case-card:not(.locked):hover { transform: translateY(-5px); box-shadow: 0 24px 60px rgba(16,42,32,.13); }
.case-card.locked { opacity: .56; filter: grayscale(.4); }
.case-card.complete::after { content: "已结案"; position: absolute; top: 20px; right: -28px; width: 110px; padding: 4px 0; color: var(--forest-950); background: var(--lime); font-size: .69rem; font-weight: 900; text-align: center; transform: rotate(38deg); }
.case-card-top { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .71rem; font-weight: 850; letter-spacing: .09em; }
.case-art { height: 190px; margin: 16px 0; display: grid; place-items: center; overflow: hidden; border-radius: 20px; background: var(--forest-900); }
.case-art svg { width: 78%; height: 78%; }
.case-card h2 { margin: 0 0 6px; font-size: 1.5rem; letter-spacing: -.03em; }
.case-card p { min-height: 46px; margin: 0 0 18px; color: var(--muted); font-size: .86rem; }
.case-card button { width: 100%; min-height: 44px; border: 0; border-radius: 13px; color: var(--white); background: var(--forest-700); cursor: pointer; font-weight: 820; }
.case-card.locked button { color: var(--muted); background: rgba(20,35,26,.08); cursor: not-allowed; }

.game-screen { color: var(--white); background: var(--forest-950); }
.game-shell { width: min(calc(100% - 40px), 1300px); margin-inline: auto; padding: 30px 0 70px; }
.game-topline { margin-bottom: 22px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.back-button { padding: 8px 0; border: 0; color: rgba(255,255,255,.66); background: transparent; cursor: pointer; font-weight: 700; }
.question-progress { min-width: 250px; display: grid; grid-template-columns: auto 120px; align-items: center; gap: 11px; }
.question-progress span { color: rgba(255,255,255,.62); font-size: .75rem; font-weight: 850; }
.question-progress i { background: rgba(255,255,255,.12); }
.question-progress b { background: var(--lime); }
.game-layout { min-height: calc(100svh - 170px); display: grid; grid-template-columns: minmax(370px, .78fr) minmax(500px, 1.22fr); gap: 20px; }
.evidence-panel, .question-card { border: 1px solid rgba(255,255,255,.1); border-radius: 30px; }
.evidence-panel { position: relative; padding: 24px; overflow: hidden; background: var(--forest-900); }
.evidence-panel::after { content: ""; position: absolute; width: 230px; height: 230px; right: -118px; bottom: -78px; border: 45px solid rgba(216,242,119,.14); border-radius: 50%; }
.evidence-meta { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 14px; color: rgba(255,255,255,.58); font-size: .73rem; font-weight: 850; letter-spacing: .1em; }
.risk-pill { padding: 5px 10px; border-radius: 999px; color: var(--forest-950); background: var(--lime); font-size: .68rem; letter-spacing: 0; }
.risk-pill.caution { background: #ffd274; }
.risk-pill.avoid { color: #fff; background: var(--danger); }
.insect-art { height: 390px; display: grid; place-items: center; }
.insect-art svg { width: min(85%, 420px); max-height: 350px; filter: drop-shadow(0 25px 28px rgba(0,0,0,.27)); }
.evidence-caption { position: relative; z-index: 1; }
.evidence-caption small { color: var(--lime); font-size: .66rem; font-weight: 850; letter-spacing: .14em; }
.evidence-caption h2 { margin: 5px 0 7px; font-size: 1.65rem; }
.evidence-caption p { margin: 0; color: rgba(255,255,255,.6); font-size: .86rem; }
.clue-tags { position: relative; z-index: 1; margin-top: 18px; display: flex; flex-wrap: wrap; gap: 7px; }
.clue-tags span { padding: 5px 9px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; color: rgba(255,255,255,.68); background: rgba(255,255,255,.05); font-size: .72rem; }

.question-card { padding: clamp(30px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; background: var(--paper); color: var(--ink); }
.question-label { margin: 0 0 13px; color: var(--forest-600); font-size: .74rem; font-weight: 900; letter-spacing: .12em; }
.question-card h1 { max-width: 760px; font-size: clamp(2.05rem, 4vw, 4.1rem); }
.question-hint { margin: 17px 0 26px; color: var(--muted); }
.option-list { display: grid; gap: 10px; }
.option-button { width: 100%; min-height: 58px; padding: 13px 16px; display: grid; grid-template-columns: 35px 1fr; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); background: rgba(255,255,255,.66); cursor: pointer; text-align: left; font-weight: 720; transition: border 160ms ease, transform 160ms ease, background 160ms ease; }
.option-button:hover:not(:disabled) { transform: translateX(4px); border-color: rgba(45,117,82,.4); background: var(--white); }
.option-button b { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 10px; color: var(--forest-700); background: rgba(45,117,82,.09); }
.option-button.correct { border-color: var(--forest-600); background: rgba(216,242,119,.36); }
.option-button.wrong { border-color: rgba(189,77,64,.48); background: rgba(189,77,64,.08); }
.option-button:disabled { cursor: default; }
.feedback { margin-top: 18px; padding: 15px; display: grid; grid-template-columns: 40px 1fr; gap: 12px; border-radius: 15px; background: rgba(45,117,82,.09); }
.feedback.wrong { background: rgba(189,77,64,.08); }
.feedback-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: var(--white); background: var(--forest-600); font-weight: 900; }
.feedback.wrong .feedback-icon { background: var(--danger); }
.feedback strong { display: block; margin-bottom: 2px; }
.feedback p { margin: 0; color: var(--muted); font-size: .84rem; }
.next-button { align-self: flex-start; margin-top: 14px; }

.archive-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.archive-card { border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.64); overflow: hidden; }
.archive-card.locked { min-height: 220px; padding: 28px; display: grid; place-items: center; color: var(--muted); text-align: center; background: rgba(255,255,255,.34); }
.archive-card.locked b { width: 50px; height: 50px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 16px; background: rgba(20,35,26,.08); }
.archive-summary { padding: 22px; display: grid; grid-template-columns: 100px 1fr auto; align-items: center; gap: 17px; cursor: pointer; list-style: none; }
.archive-summary::-webkit-details-marker { display: none; }
.archive-thumb { height: 88px; display: grid; place-items: center; border-radius: 17px; background: var(--forest-900); }
.archive-thumb svg { width: 75px; height: 75px; }
.archive-summary small { color: var(--muted); font-size: .7rem; }
.archive-summary h2 { margin: 2px 0 0; font-size: 1.3rem; }
.archive-summary > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: rgba(20,35,26,.07); transition: transform 160ms ease; }
details[open] .archive-summary > span { transform: rotate(45deg); }
.archive-detail { padding: 0 24px 24px; border-top: 1px solid var(--line); }
.archive-detail dl { margin: 20px 0; display: grid; grid-template-columns: 92px 1fr; gap: 11px 14px; }
.archive-detail dt { color: var(--muted); font-size: .78rem; font-weight: 800; }
.archive-detail dd { margin: 0; font-size: .88rem; }
.archive-risk { padding: 13px 15px; border-left: 4px solid var(--lime); border-radius: 10px; background: rgba(216,242,119,.18); font-size: .84rem; }
.science-note { margin-top: 28px; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--forest-900); color: var(--white); }
.science-note > strong { color: var(--lime); }
.science-note p { max-width: 880px; margin: 8px 0 18px; color: rgba(255,255,255,.64); font-size: .86rem; }
.source-links { display: flex; flex-wrap: wrap; gap: 8px; }
.source-links a { padding: 6px 10px; border: 1px solid rgba(255,255,255,.15); border-radius: 10px; color: rgba(255,255,255,.8); font-size: .76rem; text-decoration: none; }

.result-screen { padding: 60px 20px 90px; display: grid; place-items: center; background: var(--forest-950); }
.result-card { position: relative; width: min(100%, 900px); padding: clamp(32px, 7vw, 76px); overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 40px; color: var(--white); background: var(--forest-900); text-align: center; box-shadow: 0 40px 100px rgba(0,0,0,.25); }
.result-card::before, .result-card::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.result-card::before { width: 340px; height: 340px; top: -190px; right: -110px; border: 65px solid rgba(216,242,119,.8); }
.result-card::after { width: 260px; height: 260px; left: -160px; bottom: -110px; border: 54px solid rgba(255,140,86,.65); }
.result-card .kicker { position: relative; z-index: 1; justify-content: center; }
.rank-seal { position: relative; z-index: 1; width: 126px; height: 126px; margin: 0 auto 24px; display: grid; place-items: center; align-content: center; border: 3px double var(--lime); border-radius: 50%; color: var(--lime); transform: rotate(-6deg); }
.rank-seal span { font-size: .7rem; letter-spacing: .17em; }
.rank-seal b { font-size: 1.45rem; }
.result-overline { position: relative; z-index: 1; margin: 0 0 8px; color: rgba(255,255,255,.58); font-size: .74rem; font-weight: 800; letter-spacing: .12em; }
.result-card > h1 { position: relative; z-index: 1; font-size: clamp(2.6rem, 6vw, 5.5rem); }
.result-card > p:not(.kicker):not(.result-overline):not(.share-status) { position: relative; z-index: 1; max-width: 650px; margin: 14px auto; color: rgba(255,255,255,.65); }
.result-score { position: relative; z-index: 1; margin: 24px 0 3px; color: var(--lime); }
.result-score strong { font-size: clamp(4rem, 10vw, 7.5rem); line-height: .9; letter-spacing: -.06em; }
.result-score span { font-size: 1.2rem; }
.result-card > h2 { position: relative; z-index: 1; margin: 8px 0 28px; font-size: 1.5rem; }
.result-metrics { position: relative; z-index: 1; max-width: 600px; margin: 0 auto 30px; padding: 18px; display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid rgba(255,255,255,.12); border-radius: 17px; background: rgba(255,255,255,.05); }
.result-metrics div { border-right: 1px solid rgba(255,255,255,.12); }
.result-metrics div:last-child { border-right: 0; }
.result-metrics strong, .result-metrics span { display: block; }
.result-metrics strong { color: var(--lime); font-size: 1.25rem; }
.result-metrics span { color: rgba(255,255,255,.54); font-size: .71rem; }
.result-actions { position: relative; z-index: 1; justify-content: center; }
.share-status { position: relative; z-index: 1; min-height: 24px; margin: 14px 0 0; color: var(--lime); font-size: .82rem; }

.site-footer { min-height: 145px; padding: 35px max(24px, calc((100vw - var(--max-width)) / 2)); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 30px; border-top: 1px solid var(--line); background: rgba(255,255,255,.34); }
.site-footer > div { display: flex; align-items: baseline; gap: 12px; }
.site-footer > div span { color: var(--muted); font-size: .78rem; }
.site-footer > a { color: var(--forest-700); font-size: .84rem; font-weight: 820; text-decoration: none; }
.site-footer > p { grid-column: 1/-1; margin: 0; color: var(--muted); font-size: .74rem; }
.mobile-nav { display: none; }

@media (max-width: 1020px) {
  .home-grid { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding-top: 20px; }
  .hero-board { min-height: 500px; }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .game-layout { grid-template-columns: 1fr; }
  .evidence-panel { min-height: 600px; }
  .question-card { min-height: 650px; }
}

@media (max-width: 760px) {
  body { padding-bottom: 70px; }
  .topbar { height: 64px; padding-inline: 14px; }
  .brand-mark { width: 37px; height: 37px; border-radius: 12px; }
  .main-nav, .mini-progress { display: none; }
  .page-shell { width: min(calc(100% - 28px), var(--max-width)); }
  .screen { min-height: calc(100vh - 64px); }
  .home-grid { padding-block: 46px 36px; gap: 36px; }
  .hero-copy h1 { font-size: clamp(3.2rem, 17vw, 5rem); }
  .hero-lead { font-size: .98rem; }
  .hero-actions .button { width: 100%; }
  .hero-board { min-height: 440px; padding: 20px; border-radius: 30px; }
  .board-art { height: 315px; }
  .board-stamp { top: 100px; }
  .home-stats { grid-template-columns: 1fr; }
  .home-stats article { min-height: 112px; border-right: 0; border-bottom: 1px solid var(--line); }
  .home-stats article:last-child { border-bottom: 0; }
  .briefing { padding: 82px 0; }
  .briefing-grid { grid-template-columns: 1fr; }
  .briefing-grid article { min-height: auto; }
  .inner-page { padding-block: 54px 90px; }
  .inner-header { align-items: flex-start; flex-direction: column; }
  .case-grid, .archive-grid { grid-template-columns: 1fr; }
  .case-card { min-height: 405px; }
  .game-shell { width: min(calc(100% - 20px), 1300px); padding: 15px 0 40px; }
  .game-topline { align-items: flex-start; flex-direction: column; }
  .question-progress { width: 100%; grid-template-columns: auto 1fr; }
  .evidence-panel { min-height: 520px; padding: 20px; border-radius: 24px; }
  .insect-art { height: 330px; }
  .question-card { min-height: 610px; padding: 28px 20px; border-radius: 24px; }
  .question-card h1 { font-size: clamp(2rem, 10vw, 3rem); }
  .archive-summary { grid-template-columns: 78px 1fr auto; padding: 16px; }
  .archive-thumb { height: 72px; }
  .archive-thumb svg { width: 62px; height: 62px; }
  .archive-detail dl { grid-template-columns: 1fr; gap: 3px; }
  .archive-detail dd { margin-bottom: 9px; }
  .result-screen { padding: 22px 10px 45px; }
  .result-card { padding: 36px 18px; border-radius: 27px; }
  .result-metrics { padding: 13px 8px; }
  .result-actions .button { width: 100%; }
  .site-footer { grid-template-columns: 1fr; padding: 30px 18px; }
  .site-footer > div { align-items: flex-start; flex-direction: column; gap: 1px; }
  .mobile-nav { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 100; height: 58px; padding: 5px; display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid rgba(255,255,255,.13); border-radius: 18px; background: rgba(10,29,22,.92); box-shadow: 0 17px 42px rgba(0,0,0,.23); backdrop-filter: blur(14px); }
  .mobile-nav button { border: 0; border-radius: 13px; color: rgba(255,255,255,.55); background: transparent; font-size: .72rem; font-weight: 750; }
  .mobile-nav button span { margin-right: 5px; font-size: 1rem; }
  .mobile-nav button.active { color: var(--forest-950); background: var(--lime); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ambient { display: none; }
}
