* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  background:
    radial-gradient(900px 560px at 82% -4%, rgba(3, 117, 229, .20), transparent 62%),
    radial-gradient(700px 480px at 0% 100%, rgba(255, 106, 19, .08), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(216, 236, 246, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 236, 246, .04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(800px 700px at 50% 30%, #000 20%, transparent 85%);
  z-index: 0;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: var(--sig); }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

.app {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  min-height: 100dvh;
  margin: 0 auto;
  padding-bottom: calc(76px + var(--safe-bottom));
}
.app.no-nav { padding-bottom: 0; }
.loading { padding: 40vh 24px; text-align: center; color: var(--muted); letter-spacing: .12em; }
.noscript { padding: 24px; text-align: center; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: calc(10px + var(--safe-top)) 16px 10px;
  background: linear-gradient(180deg, rgba(4, 24, 46, .96), rgba(4, 24, 46, .78) 70%, transparent);
  backdrop-filter: blur(14px);
}
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.topbar-brand { font-family: var(--font-mono); font-size: 10px; letter-spacing: .22em; color: var(--amber); text-transform: uppercase; }
.topbar-team { font-size: 16px; font-weight: 650; margin-top: 2px; }
.topbar-score { text-align: right; flex: none; }
.topbar-score strong { display: block; font-family: var(--font-mono); font-size: 22px; line-height: 1.1; color: var(--paper); }
.topbar-score span { font-size: 10px; color: var(--muted); letter-spacing: .08em; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ice); background: var(--surface-2); }

.page { padding: 4px 16px 18px; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; margin: 18px 2px 8px; }
.section-title h2 { font-family: var(--font-display); font-size: 18px; letter-spacing: .06em; font-weight: 700; }
.section-title span { font-size: 11px; color: var(--muted); letter-spacing: .06em; }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card + .card { margin-top: 12px; }
.card-pad { padding: 14px; }

.map-card { padding: 0; }
.map-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.map-head h2 { font-family: var(--font-display); font-size: 16px; letter-spacing: .08em; }
.map-head .live { font-family: var(--font-mono); font-size: 10px; color: var(--amber); letter-spacing: .08em; display: flex; align-items: center; gap: 5px; }
.map-head .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.map-wrap { position: relative; width: 100%; aspect-ratio: 3720 / 3300; background: #0b2a45 url("/shared/map-base-1200-q72.webp") center / cover no-repeat; overflow: hidden; touch-action: manipulation; }
.map-wrap::after { content: ""; position: absolute; inset: 0; background: url("/shared/map-shade-1200.webp") center / cover no-repeat; mix-blend-mode: multiply; opacity: 1; pointer-events: none; }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-svg .route-casing { fill: none; stroke: rgba(4, 24, 46, .55); stroke-width: 34; stroke-linecap: round; stroke-linejoin: round; }
.map-svg .route-line { fill: none; stroke: var(--ice); stroke-width: 14; stroke-dasharray: 26 30; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.map-svg .route-done { fill: none; stroke: var(--orange); stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; opacity: .95; }
.map-note { position: absolute; left: 10px; bottom: 8px; z-index: 3; font-size: 9px; color: rgba(244, 240, 230, .72); background: rgba(4, 24, 46, .65); border: 1px solid var(--line); padding: 3px 7px; border-radius: 20px; letter-spacing: .04em; }
.pin {
  position: absolute;
  z-index: 4;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px;
  min-width: 34px;
  min-height: 34px;
  border-radius: 12px;
  color: var(--paper);
}
.pin-dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); border: 2px solid var(--ice); font-family: var(--font-mono); font-size: 11px; font-weight: 700; box-shadow: 0 4px 12px rgba(0, 0, 0, .4); }
.pin-label { font-size: 9px; line-height: 1.1; padding: 1px 4px; border-radius: 4px; background: rgba(4, 24, 46, .72); white-space: nowrap; letter-spacing: .02em; max-width: 84px; overflow: hidden; text-overflow: ellipsis; }
.pin.done .pin-dot { background: var(--orange); border-color: #FFD8BF; color: #1a0a02; }
.pin.next .pin-dot { background: var(--orange); border-color: #fff; color: #1a0a02; animation: pulse 1.8s infinite; }
.pin.locked { opacity: .46; }
.pin.gps .pin-dot { width: 15px; height: 15px; font-size: 0; border-width: 2px; background: var(--ice); border-color: var(--navy); }
.pin.gps.done .pin-dot { background: var(--orange); border-color: #FFD8BF; }
.pin.start .pin-dot { width: 34px; height: 34px; background: var(--paper); color: var(--ink); border-color: var(--orange); border-width: 3px; }
.pin.start .pin-label { background: rgba(244, 240, 230, .88); color: var(--ink); font-weight: 700; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 106, 19, .55); } 50% { box-shadow: 0 0 0 10px rgba(255, 106, 19, 0); } }

.map-legend { display: flex; flex-wrap: wrap; gap: 10px 14px; padding: 10px 14px 12px; font-size: 10px; color: var(--muted); border-top: 1px solid var(--line); }
.map-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; vertical-align: 0; }
.legend-done { background: var(--orange); }
.legend-next { background: var(--orange); box-shadow: 0 0 0 3px rgba(255, 106, 19, .2); }
.legend-lock { background: var(--dim); }
.legend-gps { background: var(--ice); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 8px; text-align: center; }
.stat b { display: block; font-family: var(--font-mono); font-size: 20px; line-height: 1.15; color: var(--paper); }
.stat span { font-size: 10px; color: var(--muted); letter-spacing: .06em; }
.stat.accent b { color: var(--amber); }

.next-card { margin-top: 12px; border-color: rgba(255, 106, 19, .38); background: linear-gradient(135deg, rgba(255, 106, 19, .14), rgba(3, 117, 229, .10) 62%, var(--surface)); }
.next-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.next-kicker { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; color: var(--amber); }
.next-name { font-family: var(--font-display); font-size: 23px; line-height: 1.2; margin-top: 5px; letter-spacing: .04em; }
.next-desc { color: var(--muted); font-size: 12px; margin-top: 5px; line-height: 1.6; }
.next-actions { display: flex; gap: 8px; margin-top: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: 10px; font-weight: 650; font-size: 14px; letter-spacing: .04em; transition: transform .12s ease, opacity .12s ease; }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .42; pointer-events: none; }
.btn-primary { background: var(--orange); color: #1a0a02; box-shadow: 0 8px 22px rgba(255, 106, 19, .24); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--ice); background: rgba(216, 236, 246, .04); }
.btn-block { width: 100%; }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: 12px; border-radius: 8px; }
.btn-danger { border: 1px solid rgba(255, 90, 90, .5); color: #ffb3b3; background: rgba(255, 90, 90, .08); }

.chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 20px; font-size: 10px; letter-spacing: .04em; border: 1px solid var(--line); color: var(--muted); background: rgba(216, 236, 246, .04); }
.chip.on { color: #1a0a02; background: var(--orange); border-color: var(--orange); font-weight: 700; }
.chip.ok { color: var(--ok); border-color: rgba(38, 194, 129, .4); }
.chip.warn { color: var(--amber); border-color: rgba(242, 163, 58, .4); }

.progress { height: 7px; border-radius: 10px; background: rgba(216, 236, 246, .10); overflow: hidden; }
.progress > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--sig)); }
.progress.orange > i { background: linear-gradient(90deg, var(--orange), var(--amber)); }
.progress-meta { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); margin-top: 5px; }

.list { display: grid; gap: 8px; }
.item { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); text-align: left; width: 100%; }
.item:active { background: rgba(216, 236, 246, .09); }
.item.done { border-color: rgba(255, 106, 19, .38); }
.item.locked { opacity: .48; }
.item-no { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-family: var(--font-mono); font-size: 12px; background: rgba(3, 117, 229, .18); border: 1px solid rgba(3, 117, 229, .4); color: var(--ice); }
.item.done .item-no { background: var(--orange); border-color: var(--orange); color: #1a0a02; font-weight: 700; }
.item-main { flex: 1; min-width: 0; }
.item-main b { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item-main span { display: block; font-size: 10px; color: var(--muted); margin-top: 2px; }
.item-tail { flex: none; text-align: right; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.item-tail b { display: block; color: var(--amber); font-size: 13px; }

.tabs { display: flex; gap: 6px; padding: 4px; background: rgba(216, 236, 246, .05); border: 1px solid var(--line); border-radius: 12px; margin: 4px 0 12px; }
.tabs button { flex: 1; min-height: 34px; border-radius: 8px; font-size: 12px; color: var(--muted); }
.tabs button.on { background: var(--surface); color: var(--paper); box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }

.rule-list { display: grid; gap: 8px; }
.rule { display: flex; gap: 9px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.rule b { flex: none; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; font-size: 9px; background: var(--orange); color: #1a0a02; margin-top: 2px; }

.bottom-nav { position: fixed; z-index: 30; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 560px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; padding: 7px 10px calc(7px + var(--safe-bottom)); background: rgba(4, 24, 46, .94); border-top: 1px solid var(--line); backdrop-filter: blur(16px); }
.bottom-nav button { min-height: 48px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 10px; color: var(--dim); letter-spacing: .06em; }
.bottom-nav button .nav-ico { font-size: 17px; line-height: 1; font-family: var(--font-mono); }
.bottom-nav button.on { color: var(--paper); background: rgba(255, 106, 19, .10); }
.bottom-nav button.on .nav-ico { color: var(--orange); }

.access-page { min-height: 100dvh; display: flex; flex-direction: column; padding: calc(14px + var(--safe-top)) 20px calc(16px + var(--safe-bottom)); }
.access-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; color: var(--dim); text-transform: uppercase; }
.access-rule { height: 1px; background: var(--line); margin-top: 11px; }
.access-hero { margin-top: 22px; }
.access-hero .eyebrow { display: flex; align-items: center; gap: 9px; font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.access-hero .eyebrow i { width: 18px; height: 2px; background: var(--sig); display: block; }
.access-hero h1 { margin: 12px 0 0; font-family: var(--font-display); font-size: 40px; line-height: 1.1; letter-spacing: .06em; color: var(--ice); font-weight: 700; }
.access-hero p { margin: 12px 0 0; font-size: 13px; line-height: 1.72; color: var(--muted); letter-spacing: .02em; }
.access-stats { display: flex; gap: 28px; margin-top: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.access-stats div { display: flex; flex-direction: column; gap: 4px; }
.access-stats b { font-family: var(--font-mono); font-size: 27px; line-height: 1; font-weight: 600; color: var(--ice); font-variant-numeric: tabular-nums; }
.access-stats span { font-size: 10px; letter-spacing: .1em; color: var(--dim); }
.access-form { display: flex; flex-direction: column; flex: 1; }
.team-block { margin-top: 18px; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.block-head strong { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--ice); }
.block-head .micro { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: var(--dim); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.team { height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 1px solid var(--line); border-radius: 12px; background: rgba(216, 236, 246, .04); color: rgba(216, 236, 246, .76); transition: transform .12s ease, border-color .12s ease; }
.team b { font-family: var(--font-mono); font-size: 21px; font-weight: 500; line-height: 1; letter-spacing: .02em; }
.team span { font-size: 9px; letter-spacing: .04em; color: var(--dim); }
.team.on { border-color: var(--sig); background: var(--navy); color: var(--ice); box-shadow: inset 0 0 0 1px rgba(216, 236, 246, .16); }
.team.on span { color: var(--ice); opacity: .72; }
.team:active { transform: scale(.97); }
.team-loading { padding: 14px 0 2px; font-size: 12px; color: var(--dim); }
.pass-field { margin-top: 18px; }
.pass-field .input { height: 52px; font-size: 18px; letter-spacing: .3em; }
.access-submit { margin-top: 16px; min-height: 54px; font-size: 16px; letter-spacing: .08em; }
.access-note { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; color: var(--dim); }
.access-note i { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); display: block; }
.access-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 9px; letter-spacing: .08em; color: var(--dim); }

.field { display: block; margin-top: 11px; }
.field > span { display: block; font-size: 10px; letter-spacing: .12em; color: var(--muted); margin-bottom: 5px; }
.input, .select, .textarea { width: 100%; min-height: 46px; border-radius: 10px; border: 1px solid var(--line); background: rgba(3, 117, 229, .08); padding: 10px 12px; color: var(--paper); font-size: 15px; outline: none; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--sig); box-shadow: 0 0 0 3px rgba(26, 138, 239, .16); }
.input.mono { font-family: var(--font-mono); letter-spacing: .18em; text-transform: uppercase; }
.textarea { min-height: 72px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; background: rgba(2, 9, 18, .68); backdrop-filter: blur(4px); }
.modal[hidden] { display: none; }
.sheet { width: 100%; max-width: 560px; max-height: 88dvh; overflow: auto; background: linear-gradient(180deg, #0a2846, #061a30); border: 1px solid var(--line); border-bottom: 0; border-radius: 20px 20px 0 0; padding: 18px 18px calc(22px + var(--safe-bottom)); animation: sheet-up .22s ease-out; }
@keyframes sheet-up { from { transform: translateY(24px); opacity: .6; } to { transform: translateY(0); opacity: 1; } }
.sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.sheet-head h2 { font-family: var(--font-display); font-size: 22px; letter-spacing: .05em; line-height: 1.2; }
.sheet-head .sub { font-size: 11px; color: var(--muted); margin-top: 4px; }
.sheet-close { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); color: var(--ice); font-size: 18px; line-height: 1; }
.sheet-actions { display: flex; gap: 8px; margin-top: 16px; }
.sheet-note { font-size: 10px; color: var(--dim); line-height: 1.6; margin-top: 10px; }

.photo-box { position: relative; border: 1px dashed var(--line-strong); border-radius: 12px; min-height: 92px; display: grid; place-items: center; overflow: hidden; background: rgba(216, 236, 246, .03); margin-top: 8px; }
.photo-box img { width: 100%; max-height: 200px; object-fit: cover; }
.photo-box .ph { font-size: 11px; color: var(--muted); text-align: center; line-height: 1.7; padding: 12px; }
.photo-box input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }

.option { display: flex; align-items: flex-start; gap: 9px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; margin-top: 8px; font-size: 13px; line-height: 1.5; cursor: pointer; }
.option input { margin-top: 3px; accent-color: var(--orange); }
.option:has(input:checked) { border-color: var(--orange); background: rgba(255, 106, 19, .10); }
.option.correct { border-color: var(--ok); background: rgba(38, 194, 129, .10); }
.option.wrong { border-color: var(--bad); background: rgba(255, 90, 90, .10); }

.lb-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 8px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.lb-row:last-child { border-bottom: 0; }
.lb-row.me { background: rgba(255, 106, 19, .09); }
.lb-rank { font-family: var(--font-mono); font-size: 15px; color: var(--muted); text-align: center; }
.lb-row:nth-child(1) .lb-rank { color: var(--amber); }
.lb-main b { display: block; font-size: 13px; font-weight: 600; }
.lb-main span { display: block; font-size: 10px; color: var(--muted); margin-top: 2px; }
.lb-score { text-align: right; font-family: var(--font-mono); }
.lb-score b { display: block; font-size: 17px; color: var(--paper); }
.lb-score span { font-size: 9px; color: var(--muted); }
.lb-head { display: flex; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 10px; color: var(--muted); letter-spacing: .08em; }

.result-hero { text-align: center; padding: 30px 18px 22px; }
.result-rank { font-family: var(--font-display); font-size: 58px; line-height: 1; color: var(--orange); }
.result-rank small { font-size: 16px; color: var(--muted); font-family: var(--font-body); }
.result-title { font-family: var(--font-display); font-size: 22px; margin-top: 8px; letter-spacing: .08em; }
.result-sub { color: var(--muted); font-size: 11px; margin-top: 6px; }
.breakdown { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.breakdown div { padding: 10px 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; }
.breakdown b { display: block; font-family: var(--font-mono); font-size: 20px; }
.breakdown span { font-size: 10px; color: var(--muted); }

.toast { position: fixed; z-index: 80; left: 50%; bottom: calc(86px + var(--safe-bottom)); transform: translateX(-50%); max-width: 86vw; padding: 10px 14px; border-radius: 10px; background: rgba(244, 240, 230, .96); color: var(--ink); font-size: 12px; line-height: 1.45; text-align: center; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.toast[hidden] { display: none; }
.toast.bad { background: #FFE1E1; color: #7a1010; }

.empty { text-align: center; padding: 28px 16px; color: var(--muted); font-size: 12px; }
.notice { margin-top: 12px; padding: 10px 12px; border: 1px solid rgba(242, 163, 58, .28); background: rgba(242, 163, 58, .08); border-radius: 10px; font-size: 11px; color: rgba(244, 240, 230, .78); line-height: 1.65; }
.notice b { color: var(--amber); }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }
.tiny { font-size: 10px; }
.center { text-align: center; }
.row { display: flex; align-items: center; gap: 8px; }
.row.between { justify-content: space-between; }
.mt8 { margin-top: 8px; }
.mt12 { margin-top: 12px; }
.mt16 { margin-top: 16px; }
.grow { flex: 1; }
.hide { display: none !important; }

.succ-page { min-height: 100dvh; display: flex; flex-direction: column; padding: calc(18px + var(--safe-top)) 24px calc(18px + var(--safe-bottom)); }
.succ-top { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-mono); font-size: 10px; letter-spacing: .15em; color: var(--muted); }
.succ-top time { font-size: 11px; letter-spacing: .08em; }
.succ-radar { position: relative; width: min(268px, 74vw); aspect-ratio: 1; margin: 16px auto 0; display: grid; place-items: center; }
.succ-radar .ring { position: absolute; border-radius: 50%; border: 1px solid var(--line); }
.succ-radar .r1 { width: 100%; height: 100%; border-style: dashed; }
.succ-radar .r2 { width: 72%; height: 72%; }
.succ-radar .r3 { width: 50%; height: 50%; }
.succ-radar .axis { position: absolute; left: 8%; right: 8%; height: 1px; background: var(--line); }
.succ-radar .seal { position: relative; width: 44%; height: 44%; border: 2px solid var(--orange); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: var(--bg); transform: rotate(-6deg); box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.succ-radar .seal span { font-family: var(--font-mono); font-size: 8px; letter-spacing: .18em; color: var(--amber); }
.succ-radar .seal strong { font-family: var(--font-display); font-size: 34px; line-height: 1.05; font-weight: 700; letter-spacing: .03em; color: var(--ice); }
.succ-radar .seal i { width: 18px; height: 1px; background: rgba(255, 106, 19, .75); display: block; margin-top: 3px; }
.succ-copy { margin-top: 6px; text-align: center; }
.succ-copy .micro { font-family: var(--font-mono); font-size: 9px; letter-spacing: .2em; color: var(--muted); }
.succ-copy h1 { margin: 6px 0 0; font-family: var(--font-display); font-size: 30px; font-weight: 700; line-height: 1.2; letter-spacing: .08em; color: var(--ice); }
.succ-copy p { margin: 6px 0 0; font-size: 13px; letter-spacing: .04em; color: var(--muted); }
.succ-score { margin-top: 12px; text-align: center; }
.succ-score .micro { font-family: var(--font-mono); font-size: 9px; letter-spacing: .18em; color: var(--muted); }
.score-line { display: flex; align-items: flex-start; justify-content: center; gap: 2px; margin-top: 2px; color: var(--orange); }
.score-line .plus { font-family: var(--font-mono); font-size: 26px; line-height: 1; margin-top: 7px; }
.score-line b { font-family: var(--font-mono); font-size: 60px; line-height: .95; font-weight: 500; letter-spacing: -.02em; }
.score-line .unit { font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; align-self: flex-end; margin-bottom: 6px; margin-left: 3px; color: var(--amber); }
.succ-meta { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 10px; font-size: 12px; color: var(--muted); text-align: center; }
.succ-meta b { font-family: var(--font-mono); font-size: 13px; color: var(--ice); }
.succ-next { margin-top: auto; min-height: 54px; font-size: 15px; letter-spacing: .08em; }

@media (min-width: 620px) {
  body { padding: 18px 0; }
  .app { border-left: 1px solid var(--line); border-right: 1px solid var(--line); min-height: calc(100dvh - 36px); }
  .bottom-nav { bottom: 18px; border-radius: 14px; border: 1px solid var(--line); }
  .access-page { min-height: calc(100dvh - 36px); }
}

.manual-code { margin-top: 10px; }
.manual-code summary { color: var(--muted); font-size: 11px; cursor: pointer; }
.manual-code .field { margin-top: 8px; }
.test-notice { border-color: rgba(242, 163, 58, .4); }
.test-notice b { color: var(--amber); }

@media (max-height: 700px) {
  .access-page { padding-top: calc(10px + var(--safe-top)); }
  .access-hero { margin-top: 14px; }
  .access-hero h1 { font-size: 32px; }
  .access-hero p { margin-top: 8px; font-size: 12px; }
  .access-stats { margin-top: 12px; padding-bottom: 12px; }
  .access-stats b { font-size: 22px; }
  .team-block { margin-top: 12px; }
  .team { height: 46px; }
  .team b { font-size: 18px; }
  .pass-field { margin-top: 12px; }
  .pass-field .input { height: 48px; }
  .access-submit { margin-top: 12px; min-height: 50px; }
  .access-note { margin-top: 8px; }
  .succ-radar { width: min(220px, 62vw); margin-top: 10px; }
  .succ-copy h1 { font-size: 26px; }
  .score-line b { font-size: 50px; }
  .succ-next { min-height: 50px; }
}

.team-qr { display: flex; justify-content: center; padding: 16px; background: #fff; border-radius: 14px; margin: 12px 0; }
.team-qr svg { width: 100%; max-width: 340px; height: auto; }

/* 现场任务 */
.item.pending { border-color: rgba(242, 163, 58, .45); }
.item.rejected { border-color: rgba(255, 90, 90, .45); }
.quest-media { display: block; width: 100%; max-height: 320px; object-fit: contain; border-radius: 10px; margin-top: 12px; background: #000; }
.quest-audio { display: block; width: 100%; margin-top: 12px; }
.quest-video { display: block; width: 100%; max-height: 360px; border-radius: 10px; margin-top: 12px; background: #000; }
.quest-preview { margin-top: 8px; }
.quest-text { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(216, 236, 246, .05); font-size: 13px; line-height: 1.5; }
.notice.good { border-color: rgba(38, 194, 129, .45); color: var(--ok); }
