:root {
  color-scheme: light;
  --ink: #132232;
  --muted: #637485;
  --line: #dce4e8;
  --paper: #f5f7f6;
  --white: #ffffff;
  --navy: #101b27;
  --navy-2: #192b39;
  --accent: #f4b75c;
  --accent-dark: #ab6523;
  --teal: #1e766f;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #e99d32; outline-offset: 3px; }

.site-shell { min-height: 100vh; overflow: hidden; }
.topbar { height: 82px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(5.5vw, calc((100vw - 1230px) / 2)); background: var(--navy); color: white; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand { display: inline-flex; align-items: center; gap: 13px; color: white; text-decoration: none; font-size: 17px; font-weight: 800; letter-spacing: .02em; line-height: 1.1; }
.brand-sub { display: block; margin-top: 4px; font-size: 11px; font-weight: 500; letter-spacing: .26em; color: #aabac6; }
.brand-mark { width: 36px; height: 36px; border: 1.5px solid var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; gap: 3px; transform: rotate(-12deg); }
.brand-mark span { width: 3px; border-radius: 8px; background: var(--accent); }
.brand-mark span:nth-child(1), .brand-mark span:nth-child(3) { height: 10px; }
.brand-mark span:nth-child(2) { height: 21px; }
.topbar-tag { color: #b8c9d4; font-size: 12px; letter-spacing: .1em; border: 1px solid #3a4b59; padding: 9px 13px; border-radius: 999px; }

.hero { min-height: 435px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr); align-items: center; gap: 30px; background: radial-gradient(circle at 78% 38%, #294b54 0, #172c39 31%, var(--navy) 67%); color: white; padding: 58px max(5.5vw, calc((100vw - 1230px) / 2)) 62px; position: relative; }
.hero::after { content: ""; position: absolute; inset: 0; opacity: .08; pointer-events: none; background-image: linear-gradient(90deg, transparent 49.8%, white 50%, transparent 50.2%), linear-gradient(0deg, transparent 49.8%, white 50%, transparent 50.2%); background-size: 96px 96px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow, .section-kicker { font-size: 11px; font-weight: 800; letter-spacing: .23em; }
.eyebrow { display: flex; align-items: center; gap: 11px; color: #91c5c1; margin: 0 0 22px; }
.live-dot { height: 7px; width: 7px; background: #7de2b9; border-radius: 50%; box-shadow: 0 0 0 6px rgba(125,226,185,.12); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(44px, 5.1vw, 72px); line-height: 1.18; letter-spacing: -.055em; margin-bottom: 20px; }
h1 em { color: var(--accent); font-style: normal; }
.hero-lead { color: #c3d0d7; font-size: 16px; line-height: 1.85; max-width: 560px; margin-bottom: 28px; }
.hero-facts { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.hero-facts span { border: 1px solid rgba(255,255,255,.14); color: #b5c6cf; padding: 8px 13px; border-radius: 7px; font-size: 12px; }
.hero-facts strong { color: white; margin-right: 4px; font-size: 14px; }
.hero-visual { position: relative; z-index: 1; justify-self: end; width: min(380px, 100%); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: radial-gradient(circle, rgba(78,139,138,.16), rgba(9,31,42,.14) 55%, rgba(9,31,42,.03) 70%); border: 1px solid rgba(151,212,203,.12); box-shadow: 0 0 90px rgba(53,137,126,.16); }
.radar-grid { position: absolute; inset: 0; background: linear-gradient(90deg, transparent calc(50% - .5px), rgba(184,230,222,.13) 50%, transparent calc(50% + .5px)), linear-gradient(0deg, transparent calc(50% - .5px), rgba(184,230,222,.13) 50%, transparent calc(50% + .5px)); }
.radar-circle { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(184,230,222,.16); border-radius: 50%; transform: translate(-50%,-50%); }
.circle-one { width: 34%; height: 34%; }.circle-two { width: 67%; height: 67%; }.circle-three { width: 95%; height: 95%; }
.radar-sweep { position: absolute; width: 50%; height: 50%; left: 50%; top: 0; transform-origin: bottom left; background: conic-gradient(from -90deg at 0 100%, transparent 0deg, rgba(108,223,197,.04) 20deg, rgba(108,223,197,.22) 52deg, transparent 70deg); animation: sweep 12s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.radar-center { position: absolute; width: 116px; height: 116px; top: 50%; left: 50%; transform: translate(-50%,-50%); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #1c3f45; border: 1px solid #6daa9b; box-shadow: 0 0 0 11px rgba(92,185,169,.07), 0 0 30px rgba(72,203,168,.18); }
.radar-center span { color: #e7f6ed; font-family: Consolas, monospace; font-size: 31px; font-weight: 700; letter-spacing: .04em; }
.radar-center small { font-size: 9px; color: #a8cfc6; letter-spacing: .1em; }
.orbit-label { position: absolute; padding: 6px 9px; border: 1px solid rgba(164,225,210,.23); border-radius: 4px; background: rgba(18,40,49,.84); color: #aad9cb; font: 11px Consolas, monospace; }
.label-one { left: 12%; top: 23%; }.label-two { right: 5%; bottom: 22%; }

.workspace { width: min(1230px, 89vw); margin: 0 auto; padding: 58px 0 24px; }
.workspace-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-kicker { color: var(--teal); margin-bottom: 8px; }
.workspace-head h2 { font-size: clamp(27px, 3vw, 36px); letter-spacing: -.045em; margin: 0; }
.tab-list { display: flex; align-items: center; gap: 4px; background: #e8edee; padding: 5px; border-radius: 10px; }
.tab { border: 0; background: transparent; color: #60717d; padding: 12px 20px; border-radius: 7px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.tab.is-active { background: white; color: #172b36; box-shadow: 0 2px 9px rgba(20,40,50,.09); }
.panel { background: white; border: 1px solid #e4eaec; border-radius: 16px; box-shadow: 0 12px 35px rgba(30,60,70,.045); padding: 28px; }
.panel-intro { display: flex; align-items: start; justify-content: space-between; gap: 28px; margin-bottom: 20px; }
.panel-intro h3 { font-size: 20px; margin-bottom: 6px; }
.panel-intro p { color: var(--muted); line-height: 1.65; font-size: 13px; margin: 0; }
.teacher-controls { display: flex; align-items: center; flex-wrap: wrap; justify-content: end; gap: 12px 22px; min-width: 460px; }
.switch-label, .volume-label { display: inline-flex; align-items: center; gap: 8px; color: #3c5261; font-size: 12px; white-space: nowrap; }
.switch-label input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch { width: 30px; height: 18px; border-radius: 20px; background: #cbd7db; position: relative; transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; border-radius: 50%; background: white; transition: transform .2s; }
.switch-label input:checked + .switch { background: var(--teal); }
.switch-label input:checked + .switch::after { transform: translateX(12px); }
.switch-label input:focus-visible + .switch { outline: 3px solid #e99d32; outline-offset: 3px; }
.volume-label input { width: 80px; accent-color: var(--teal); }
.volume-label span { min-width: 31px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border-radius: 8px; border: 1px solid transparent; font-weight: 750; transition: transform .16s, background .16s, border-color .16s; }
.button:hover { transform: translateY(-1px); }
.button-quiet { padding: 9px 12px; background: #f2f6f6; color: #335562; border-color: #dce7e8; font-size: 12px; }
.button-quiet:hover { background: #e6eeee; }
.button-primary { background: #e8a74d; color: #192632; padding: 14px 22px; box-shadow: 0 8px 22px rgba(213,139,53,.18); font-size: 14px; }
.button-primary:hover { background: #f1b860; }
.now-playing { height: 48px; padding: 0 16px; margin-bottom: 19px; background: #f2f7f6; border: 1px solid #e2eeeb; color: #2f635f; border-radius: 7px; display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 650; }
.now-icon { display: flex; align-items: center; gap: 2px; height: 18px; }
.now-icon i { width: 3px; height: 5px; border-radius: 3px; background: #2b8c7c; }
.is-playing .now-icon i { animation: level .8s ease-in-out infinite alternate; }
.is-playing .now-icon i:nth-child(2) { animation-delay: .18s; }.is-playing .now-icon i:nth-child(3) { animation-delay: .36s; }.is-playing .now-icon i:nth-child(4) { animation-delay: .11s; }
@keyframes level { to { height: 17px; } }
.station-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.station-card { min-height: 205px; padding: 17px; border: 1px solid #dfe7e9; border-radius: 10px; background: #fff; transition: border-color .18s, box-shadow .18s, transform .18s; }
.station-card:hover { transform: translateY(-2px); border-color: #a5c6c0; box-shadow: 0 10px 24px rgba(24,80,72,.08); }
.station-card.is-playing { border-color: #3eaa96; box-shadow: 0 0 0 2px rgba(62,170,150,.13); }
.station-top { display: flex; align-items: center; justify-content: space-between; }
.station-number { background: #eaf2ef; color: #21695f; width: 36px; height: 36px; border-radius: 7px; display: grid; place-items: center; font: 700 17px Consolas, monospace; }
.station-type { color: #8c9ba3; font-size: 11px; }
.station-call { font: 700 22px Consolas, "Microsoft YaHei", monospace; letter-spacing: .06em; margin-top: 12px; }
.station-code { min-height: 28px; color: #b36c2e; font: 600 13px Consolas, monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 5px 0 9px; }
.station-freq { padding-top: 10px; border-top: 1px solid #edf0f1; color: #81909a; font: 11px/1.6 Consolas, monospace; }
.station-actions { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 13px; }
.play-button { background: #173442; color: white; border: 0; border-radius: 6px; padding: 7px 14px; font-size: 12px; font-weight: 700; }
.play-button:hover, .station-card.is-playing .play-button { background: var(--teal); }
.play-button span { font-size: 10px; margin-right: 5px; }
.station-actions a { font-size: 11px; text-decoration: none; color: #4a7776; border-bottom: 1px dotted #9bbfbb; }
.station-actions a:hover { color: #154f48; }

.game-intro, .game-result { min-height: 460px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 38px 20px; }
.game-badge, .result-icon { width: 77px; height: 77px; display: grid; place-items: center; border-radius: 50%; color: #f4b75c; background: #173442; font: 700 41px Consolas, monospace; margin-bottom: 24px; box-shadow: 0 0 0 9px #eaf3f0; }
.game-intro h3, .game-result h3 { font-size: clamp(25px, 3vw, 32px); margin: 0 0 10px; }
.game-intro > p:not(.section-kicker), .game-result > p:not(.section-kicker) { color: var(--muted); max-width: 460px; line-height: 1.7; margin-bottom: 22px; font-size: 14px; }
.mode-label { display: flex; align-items: center; gap: 12px; margin: 2px 0 22px; color: #4d6270; font-size: 13px; }
.mode-label select { border: 1px solid #cad9dc; background: white; border-radius: 7px; padding: 10px 12px; color: var(--ink); max-width: 270px; }
.game-play { width: min(740px, 100%); margin: 0 auto; padding: 5px 0 14px; }
.game-meta { display: flex; justify-content: space-between; color: #536a76; font-weight: 700; font-size: 13px; }
.progress-track { height: 5px; margin: 12px 0 26px; border-radius: 10px; background: #e8efee; overflow: hidden; }
#progress-fill { height: 100%; width: 0; border-radius: inherit; background: var(--teal); transition: width .3s; }
.signal-card { min-height: 215px; border-radius: 13px; background: radial-gradient(circle at 50% 0, #285660, #142935 66%); color: white; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 26px; }
.signal-caption { color: #a2c6c5; font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.signal-wave { height: 54px; display: flex; align-items: center; gap: 5px; margin: 10px 0 13px; }
.signal-wave i { width: 3px; height: 10px; border-radius: 5px; background: #f0b55c; opacity: .8; }
.signal-wave i:nth-child(3n) { height: 28px; }.signal-wave i:nth-child(4n) { height: 43px; }.signal-wave i:nth-child(5n) { height: 18px; }
.is-playing .signal-wave i { animation: level .75s ease-in-out infinite alternate; }
.signal-wave i:nth-child(2n) { animation-delay: .16s; }.signal-wave i:nth-child(3n) { animation-delay: .31s; }.signal-wave i:nth-child(5n) { animation-delay: .48s; }
.button-signal { background: #e9b05b; color: #1a2a35; padding: 10px 17px; font-size: 13px; }
.button-signal:hover { background: #f7c67a; }
.signal-card small { color: #a8c4c8; font-size: 11px; margin-top: 9px; }
.choice-heading { font-size: 17px; margin: 26px 0 14px; }
.choice-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.choice { min-height: 58px; background: white; border: 1.5px solid #d5e0e3; border-radius: 8px; color: #203746; font: 750 19px Consolas, monospace; }
.choice:hover:not(:disabled) { border-color: #4c998e; background: #f3faf8; }
.choice.is-correct { background: #d8f2e8; border-color: #47aa87; color: #176146; }
.choice.is-wrong { background: #fff0e7; border-color: #d98361; color: #9e4835; }
.choice:disabled { cursor: default; }
.feedback { min-height: 49px; padding: 13px 16px; margin-top: 17px; border-radius: 7px; font-size: 13px; font-weight: 650; }
.feedback:empty { padding: 0; }
.feedback.correct { background: #e8f7ee; color: #216b4e; }.feedback.wrong { background: #fff3e7; color: #9b552d; }
.next-button { margin-top: 4px; }
.result-icon { color: #dff7e8; background: #28785e; }

.direction-panel { padding: 30px; }
.direction-heading { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.direction-heading h3 { font-size: clamp(21px, 2.3vw, 29px); margin: 0 0 8px; }
.direction-heading p:last-child { max-width: 680px; color: var(--muted); line-height: 1.7; font-size: 13px; margin: 0; }
.direction-round { white-space: nowrap; color: #27736c; background: #eaf4f1; border-radius: 20px; padding: 8px 12px; font-size: 12px; font-weight: 800; }
.direction-modes { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px; margin-top: 25px; }
.direction-mode { text-align: left; border: 1.5px solid #dbe6e5; background: #f8faf9; border-radius: 10px; padding: 15px 17px; color: #24404a; }
.direction-mode.is-active { border-color: #338d80; background: #edf7f3; box-shadow: inset 4px 0 #338d80; }
.direction-mode strong, .direction-mode small { display: block; }
.direction-mode strong { font-size: 14px; margin-bottom: 5px; }
.direction-mode small { color: #6b7e85; font-size: 12px; line-height: 1.5; }
.direction-help { border-left: 3px solid #e9ae59; background: #fff9f0; color: #795936; line-height: 1.65; font-size: 13px; margin: 17px 0 23px; padding: 12px 16px; }
.direction-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, .78fr); gap: 23px; align-items: start; }
.direction-stage { background: radial-gradient(circle at 50% 40%, #264f58, #142a38 74%); border-radius: 13px; padding: 20px 15px 17px; min-width: 0; }
.direction-dial { width: min(390px, 100%); margin: 0 auto; touch-action: none; cursor: grab; user-select: none; }
.direction-dial:active { cursor: grabbing; }
.direction-dial svg { display: block; width: 100%; height: auto; }
.dial-rim { fill: #1c3945; stroke: #68928c; stroke-width: 2; }
.dial-inner { fill: #1a3440; stroke: #416b72; stroke-width: 1.5; stroke-dasharray: 3 6; }
.dial-tick { fill: none; stroke: #82aaa7; stroke-width: 2; stroke-linecap: round; }
.dial-label { fill: #c3dad7; font: 700 13px Consolas, sans-serif; }
.receiver-body { fill: #9baaa9; stroke: #d5e0dc; stroke-width: 2; }
.receiver-rod { fill: #334e4b; stroke: #1d3436; stroke-width: 1; }
.receiver-dial { fill: #18313d; stroke: #e0d8bb; stroke-width: 3; }
.receiver-center { fill: #e5b262; }
.receiver-face { fill: none; stroke: #efb75c; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.receiver-tip { fill: #dcece7; font: 700 10px sans-serif; paint-order: stroke; stroke: #21404a; stroke-width: 3px; }
.answer-line { stroke: #80d7be; stroke-width: 3; stroke-dasharray: 7 7; opacity: .8; }
.answer-dot { fill: #7de2b9; stroke: #193641; stroke-width: 3; }
.direction-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; color: #c0d3d0; font-size: 11px; }
.direction-legend span { display: inline-flex; align-items: center; gap: 5px; }
.direction-legend i { width: 13px; height: 4px; display: inline-block; border-radius: 3px; }
.legend-rod { background: #bbc9c5; }.legend-face { background: #efb75c; }.legend-answer { background: #7de2b9; }
.direction-console { border: 1px solid #dfe8e9; border-radius: 13px; padding: 24px; min-width: 0; }
.direction-readout { display: flex; flex-direction: column; gap: 2px; }
.direction-readout span, .direction-meter-head { color: #59707c; font-size: 12px; font-weight: 700; }
.direction-readout strong { font: 750 48px/1.2 Consolas, monospace; letter-spacing: -.06em; color: #1d605e; }
.direction-readout small { color: #82949a; font-size: 11px; }
.direction-meter-head { display: flex; justify-content: space-between; margin: 25px 0 8px; }
.direction-meter-head strong { color: #1a726d; font: 700 15px Consolas, monospace; }
.direction-meter { height: 16px; border-radius: 20px; background: #e8efed; overflow: hidden; }
.direction-meter span { display: block; height: 100%; width: 0; background: linear-gradient(90deg,#77c6af,#eeb05c); border-radius: inherit; transition: width .07s linear; }
.direction-slider-label { color: #59707c; font-size: 12px; font-weight: 700; display: block; margin-top: 27px; }
.direction-slider-label input { display: block; width: 100%; margin: 13px 0 24px; accent-color: #278679; }
.direction-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.direction-actions .button { min-height: 43px; }
.direction-actions .button-primary { padding: 10px 18px; }
.direction-actions .button-quiet { padding: 10px 14px; }
.direction-actions button:disabled { opacity: .55; cursor: default; transform: none; }
.direction-feedback { min-height: 54px; padding: 13px 14px; border-radius: 8px; margin: 18px 0 10px; background: #f2f6f5; color: #4f6770; font-size: 12px; line-height: 1.55; }
.direction-feedback.correct { background: #e8f7ee; color: #216b4e; }.direction-feedback.wrong { background: #fff3e7; color: #9b552d; }.direction-feedback.answer { background: #e8f4f6; color: #266771; }
.direction-secondary { display: flex; justify-content: space-between; gap: 12px; }
.direction-secondary button { padding: 4px 0; border: 0; background: transparent; color: #26786f; font-size: 12px; font-weight: 750; }
.direction-secondary button:hover { text-decoration: underline; }
.direction-teacher { margin-top: 24px; border-top: 1px solid #e6eded; padding-top: 16px; color: #526d77; font-size: 12px; }
.direction-teacher summary { cursor: pointer; font-weight: 700; }
.direction-teacher label { display: block; margin: 14px 0 7px; }
.direction-teacher > div { display: flex; gap: 8px; }
.direction-teacher input { width: 85px; min-height: 35px; border: 1px solid #cbd9da; border-radius: 6px; padding: 5px 8px; }
.direction-teacher small { display: block; color: #83949a; line-height: 1.5; margin-top: 8px; }
.direction-note { margin: 19px 0 0; color: #83919a; font-size: 11px; line-height: 1.65; }
.direction-continue { margin-top: 16px; }

.hunt-panel { padding: 30px; }
.hunt-heading { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.hunt-heading h3 { font-size: clamp(21px, 2.3vw, 29px); margin: 0 0 8px; }
.hunt-heading p:last-child { max-width: 670px; color: var(--muted); line-height: 1.7; font-size: 13px; margin: 0; }
.hunt-rounds { display: flex; gap: 7px; white-space: nowrap; }
.hunt-rounds span { color: #27736c; background: #eaf4f1; border-radius: 20px; padding: 8px 12px; font-size: 12px; font-weight: 800; }
.hunt-steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 23px 0 20px; }
.hunt-steps span { padding: 8px 11px; border-radius: 7px; background: #fff8eb; color: #92612b; font-size: 11px; font-weight: 750; }
.hunt-layout { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(300px,.8fr); align-items: start; gap: 20px; }
.hunt-map-column { min-width: 0; }
.hunt-map { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border: 3px solid #b7cabb; border-radius: 14px; background: #dbe8c4; cursor: crosshair; box-shadow: 0 10px 24px rgba(52,84,71,.09); }
.hunt-map.is-placing { border-color: #d58442; box-shadow: 0 0 0 4px rgba(229,158,80,.18); }
.hunt-map svg { display: block; width: 100%; height: 100%; }
.hunt-map-title { fill: #477362; font: 800 16px sans-serif; letter-spacing: .04em; }
.hunt-map-north { fill: #31564d; font: 800 18px Consolas, monospace; }
.hunt-map-place { fill: #4c8064; font: 750 16px sans-serif; opacity: .85; }
.hunt-start, .hunt-player, .hunt-station, .hunt-destination { position: absolute; transform: translate(-50%,-50%); z-index: 2; }
.hunt-start { width: 31px; height: 31px; background: #fff; border: 2px dashed #526f69; border-radius: 50%; }
.hunt-start span { position: absolute; left: 50%; top: -23px; transform: translateX(-50%); padding: 2px 5px; white-space: nowrap; color: #536b62; background: rgba(255,255,255,.86); border-radius: 4px; font-size: 10px; font-weight: 800; }
.hunt-player { z-index: 4; width: 29px; height: 29px; border-radius: 50%; background: #e7893e; border: 4px solid #fff; box-shadow: 0 0 0 4px rgba(181,93,31,.25), 0 5px 9px rgba(51,60,39,.3); transition: left .06s linear, top .06s linear; }
.hunt-player::before { content: ''; position: absolute; top: -10px; left: 50%; transform: translateX(-50%); border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 8px solid #b9602d; }
.hunt-player span { position: absolute; left: 50%; top: 25px; transform: translateX(-50%); color: #3f3628; background: rgba(255,255,255,.9); padding: 1px 4px; border-radius: 4px; font-size: 10px; font-weight: 850; white-space: nowrap; }
.hunt-station { z-index: 3; width: 33px; height: 33px; border-radius: 50%; background: #1b7766; border: 4px solid #e6fff2; box-shadow: 0 0 0 5px rgba(34,124,100,.2); }
.hunt-station::before { content: '⌁'; position: absolute; color: white; font-size: 20px; font-weight: 800; left: 50%; top: 45%; transform: translate(-50%,-50%); }
.hunt-station span { position: absolute; left: 50%; top: 30px; transform: translateX(-50%); background: #1b7766; color: white; padding: 3px 6px; font-size: 10px; font-weight: 800; white-space: nowrap; border-radius: 4px; }
.hunt-destination { z-index: 2; width: 18px; height: 18px; border-radius: 50%; border: 2px dashed #ad642d; background: rgba(255,255,255,.7); }
.hunt-map-hint { min-height: 35px; color: #6b7d81; line-height: 1.55; font-size: 11px; margin: 11px 0 6px; }
.hunt-pad { display: grid; justify-content: center; gap: 5px; margin-top: 10px; }
.hunt-pad > button { justify-self: center; }
.hunt-pad > div { display: flex; gap: 5px; }
.hunt-pad button { min-width: 49px; height: 39px; border: 1px solid #cadbd8; border-radius: 8px; background: #f1f7f5; color: #2c6a61; font-size: 20px; font-weight: 750; touch-action: none; }
.hunt-pad button:hover, .hunt-pad button:active { background: #d7ede5; }
.hunt-console { border: 1px solid #dfe8e9; border-radius: 13px; padding: 21px; min-width: 0; }
.hunt-console-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.hunt-console-top strong { font-size: 17px; }.hunt-console-top small { color: #729088; font-size: 11px; }
.hunt-mode-switch { display: flex; gap: 6px; padding: 4px; background: #edf2f1; border-radius: 8px; margin: 16px 0 8px; }
.hunt-mode-switch button { flex: 1; border: 0; border-radius: 6px; padding: 9px 4px; background: transparent; color: #5d7375; font-size: 12px; font-weight: 800; }
.hunt-mode-switch button.is-active { background: white; color: #236e65; box-shadow: 0 2px 7px rgba(24,75,68,.1); }
.hunt-method { min-height: 40px; margin: 0 0 8px; color: #637881; font-size: 11px; line-height: 1.6; }
.hunt-receiver-row { display: flex; align-items: center; gap: 15px; }
.hunt-compass { width: 138px; max-width: 52%; touch-action: none; cursor: grab; user-select: none; }
.hunt-compass:active { cursor: grabbing; }
.hunt-compass svg { display: block; width: 100%; }
.hunt-compass svg text { fill: #8ca9a6; font: 700 12px Consolas, monospace; }
.hunt-compass-rim { fill: #173542; stroke: #74a79d; stroke-width: 2; }
.hunt-rod { fill: #a8b8b3; stroke: #d9e4dd; stroke-width: 2; }
.hunt-rod-center { fill: #203f47; stroke: #e5be78; stroke-width: 2; }
.hunt-face-arrow { fill: none; stroke: #eab259; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.hunt-angle-readout { display: flex; flex-direction: column; gap: 5px; color: #71868d; font-size: 11px; }
.hunt-angle-readout strong { color: #1d6863; font: 750 33px Consolas, monospace; }
.hunt-control-label { display: block; color: #536e76; font-size: 12px; font-weight: 750; margin: 7px 0 18px; }
.hunt-control-label input { display: block; width: 100%; margin-top: 10px; accent-color: #287c73; }
.hunt-gain-line, .hunt-meter-head { display: flex; justify-content: space-between; align-items: center; color: #536e76; font-size: 12px; font-weight: 750; }
.hunt-gain-line strong, .hunt-meter-head strong { color: #1d6863; font: 750 15px Consolas, monospace; }
.hunt-knob-row { display: flex; align-items: center; gap: 20px; margin: 13px 0 17px; }
.hunt-knob { flex: 0 0 78px; height: 78px; position: relative; border-radius: 50%; background: radial-gradient(circle at 35% 28%, #f6f8f4, #c2d1cf 70%); border: 2px solid #8fa9a6; box-shadow: inset 0 0 0 5px #e8efed, 0 4px 10px rgba(26,59,61,.16); touch-action: none; cursor: grab; }
.hunt-knob span { position: absolute; inset: 7px; border-radius: 50%; transform: rotate(54deg); }
.hunt-knob span::before { content: ''; position: absolute; left: calc(50% - 2px); top: 0; width: 4px; height: 17px; background: #1f6962; border-radius: 3px; }
.hunt-knob-row label { min-width: 0; flex: 1; color: #819098; font-size: 11px; line-height: 1.5; }
.hunt-knob-row input { display: block; width: 100%; margin-top: 8px; accent-color: #287c73; }
.hunt-meter { height: 14px; border-radius: 20px; background: #e7efec; overflow: hidden; margin-top: 8px; }
.hunt-meter span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#64baa6,#e4b55f); transition: width .06s linear; }
.hunt-meter.is-overload span { background: #d3714f; }
.hunt-signal-note { min-height: 35px; margin: 10px 0 13px; color: #6c7e84; font-size: 11px; line-height: 1.5; }
.hunt-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hunt-actions .button { min-height: 41px; padding: 8px 12px; font-size: 12px; }
.hunt-actions button:disabled { opacity: .55; cursor: default; transform: none; }
.hunt-feedback { min-height: 56px; padding: 11px 12px; border-radius: 8px; margin: 14px 0 0; background: #f2f6f5; color: #587078; font-size: 12px; line-height: 1.55; }
.hunt-feedback.correct { background: #e6f6e9; color: #246647; }.hunt-feedback.wrong { background: #fff3e7; color: #98532e; }.hunt-feedback.answer { background: #e7f3f5; color: #2b6870; }
.hunt-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 20px; }
.hunt-bottom .button { padding: 9px 13px; }
.hunt-reveal { border: 0; background: transparent; color: #3b8178; font-size: 12px; font-weight: 750; padding: 9px 6px; }
.hunt-reveal:hover { text-decoration: underline; }
.hunt-teacher { border-top: 1px solid #e0e9e8; margin-top: 23px; padding-top: 17px; color: #526b73; font-size: 12px; }
.hunt-teacher summary { cursor: pointer; font-weight: 800; }
.hunt-teacher p { margin: 13px 0; max-width: 800px; line-height: 1.6; color: #74868b; }
.hunt-teacher-controls { display: flex; align-items: end; flex-wrap: wrap; gap: 9px; }
.hunt-teacher-controls label { display: flex; flex-direction: column; gap: 6px; font-size: 11px; font-weight: 700; }
.hunt-teacher-controls input, .hunt-teacher-controls select { min-height: 36px; border: 1px solid #cbd9da; border-radius: 6px; padding: 5px 8px; background: white; color: var(--ink); }
.hunt-teacher-controls input { width: 80px; }
.hunt-teacher-controls .button { min-height: 36px; padding: 7px 11px; font-size: 11px; }
.hunt-teacher small { display: block; margin-top: 9px; color: #89989a; line-height: 1.6; }
.hunt-disclaimer { color: #89989a; line-height: 1.6; font-size: 11px; margin: 18px 0 0; }

.learning-note { width: min(1230px, 89vw); display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; margin: 37px auto 76px; }
.learning-note > div { border-top: 2px solid #c5d6d2; padding: 20px 4px 0; }
.note-index { color: #358076; font-size: 11px; letter-spacing: .1em; font-weight: 800; }
.learning-note h2 { font-size: 18px; margin: 10px 0 8px; }
.learning-note p { color: #65747c; line-height: 1.8; font-size: 13px; max-width: 540px; margin: 0; }
.footer { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px max(5.5vw, calc((100vw - 1230px) / 2)); background: #eaf0ef; color: #61747e; font-size: 12px; }

@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0,1fr) 290px; }.hero-visual { width: 290px; }
  .panel-intro { flex-direction: column; }.teacher-controls { min-width: 0; width: 100%; justify-content: start; }
  .station-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .direction-layout { grid-template-columns: minmax(0, 1fr) minmax(270px, .9fr); gap: 15px; }
  .direction-console { padding: 17px; }
  .hunt-layout { grid-template-columns: minmax(0,1.25fr) minmax(280px,.8fr); gap: 14px; }
  .hunt-console { padding: 16px; }
}
@media (max-width: 720px) {
  .topbar { height: 70px; padding: 0 6vw; }.topbar-tag { display: none; }
  .hero { display: block; min-height: 0; padding: 48px 6vw 49px; }
  .hero-visual { display: none; }.hero-lead { font-size: 14px; }
  .hero-facts { gap: 7px; }.hero-facts span { font-size: 11px; padding: 7px 9px; }
  .workspace { width: 88vw; padding-top: 40px; }.workspace-head { flex-direction: column; align-items: stretch; gap: 16px; }
  .tab-list { width: 100%; }.tab { flex: 1; padding: 11px 3px; font-size: 10px; }
  .panel { padding: 18px; }.teacher-controls { gap: 12px; }
  .station-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .station-card { padding: 14px; }.station-code { font-size: 11px; }
  .choice-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .direction-panel { padding: 18px; }.direction-heading { gap: 9px; }
  .direction-layout { grid-template-columns: 1fr; }.direction-stage { padding: 12px; }
  .direction-dial { width: min(350px,100%); }
  .hunt-panel { padding: 18px; }.hunt-heading { flex-direction: column; gap: 11px; }
  .hunt-steps { margin-top: 17px; }.hunt-layout { grid-template-columns: 1fr; }
  .hunt-compass { width: 140px; }.hunt-map-hint { min-height: 0; }
  .learning-note { width: 88vw; grid-template-columns: 1fr; margin-bottom: 50px; }
  .footer { padding: 20px 6vw; }
}
@media (max-width: 410px) {
  .station-grid { grid-template-columns: 1fr; }.station-card { min-height: 0; }
  .mode-label { flex-direction: column; align-items: stretch; }
  .choice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .direction-modes { grid-template-columns: 1fr; }
  .direction-round { font-size: 10px; padding: 6px 8px; }
  .hunt-rounds span { font-size: 10px; padding: 6px 9px; }
  .hunt-steps span { font-size: 10px; padding: 7px 8px; }
  .hunt-map-title, .hunt-map-place { font-size: 13px; }
  .footer { flex-direction: column; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
