/* SPACE — interface in the manner of NASA's Eyes: black, white type, one face,
   thin rules, small icon tools. Tokens are shared with the report page. */
:root {
  color-scheme: dark;
  --void: #000;
  --ink: #f2f4f7;
  --ink-2: #b9c0cb;
  --dim: #858d9a;
  --faint: #4b525d;
  --line: rgba(255, 255, 255, .12);
  --line-2: rgba(255, 255, 255, .24);
  --panel: rgba(12, 14, 18, .86);
  --accent: #9cc3ff;
  --cyan: #9cc3ff;
  --signal: #ff7a45;
  --built: #7fd4a0;
  --pending: #f0c070;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Inter', system-ui, sans-serif;
  --gut: 20px;
  --pw: 380px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--void); color: var(--ink); }
body { font: 400 14px/1.5 var(--sans); -webkit-font-smoothing: antialiased; font-feature-settings: 'tnum' 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: #fff; color: #000; padding: 10px 14px; font-weight: 600; text-decoration: none; border-radius: 4px; }
.skip:focus { top: 12px; }
.textbtn { background: none; border: 0; padding: 8px 2px; min-height: 36px; cursor: pointer; color: var(--ink-2); font: 500 13px var(--sans); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.textbtn:hover { color: #fff; }
.textbtn.strong { color: #fff; }
.textbtn:disabled { opacity: .35; cursor: default; }

/* ---------- stage ---------- */
.space-app { position: fixed; inset: 0; overflow: hidden; background: var(--void); }
.space-app .poster { position: absolute; inset: 0; background: var(--void) url(../img/poster-desktop.webp) center / cover no-repeat; transition: opacity .9s ease; }
.space-app.live .poster { opacity: 0; pointer-events: none; }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; outline: none; }
#scene.dragging { cursor: grabbing; }
#scene.hovering { cursor: pointer; }

/* ---------- labels ---------- */
.labels { position: absolute; inset: 0; pointer-events: none; }
.lbl { position: absolute; left: 0; top: 0; pointer-events: auto; display: flex; align-items: center; gap: 6px; padding: 2px 4px 2px 0; border: 0; background: none; cursor: pointer; white-space: nowrap;
  font: 400 12px/1 var(--sans); color: rgba(242,244,247,.78); will-change: transform; transition: color .2s, opacity .25s; text-shadow: 0 0 4px #000, 0 0 10px #000; }
.lbl i { width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--c, #fff); flex: none; }
.lbl b { font-weight: 400; }
.lbl:hover, .lbl.hl, .lbl:focus-visible { color: #fff; }
.lbl.on { color: #fff; }
.lbl.on b { font-weight: 600; }
.lbl.k-star { font-size: 13.5px; color: #fff; }
.lbl.k-star b { font-weight: 500; }
.lbl.k-star i { width: 8px; height: 8px; background: var(--c); border: 0; }
.lbl.k-station { font-size: 11px; color: #aab4c4; }
.lbl.k-skystar { font: 400 11px var(--sans); color: rgba(200,214,236,.62); }
.lbl.k-cons { font: 500 10px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(130,165,210,.7); }
.lbl.k-grid { pointer-events: none; font: 400 10px var(--sans); color: rgba(110,140,180,.7); }
.lbl.k-skystar::before, .lbl.k-cons::before, .lbl.k-grid::before { display: none; }
.lbl.hide, .lbl.clutter { opacity: 0; pointer-events: none; }
.lbl.clutter:focus-visible { opacity: 1; }
.lbl.flip { flex-direction: row-reverse; padding: 2px 0 2px 4px; }
.no-labels .lbl:not(.on):not(.k-cons):not(.k-grid) { opacity: 0; pointer-events: none; }
.reticle { position: absolute; left: 0; top: 0; width: 40px; height: 40px; border: 1.5px solid rgba(255,255,255,.75); border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .3s; will-change: transform; }
.reticle.on { opacity: 1; }

/* ---------- intro ---------- */
.title-card { position: absolute; left: 0; right: 0; top: 40%; padding: 0 20px; text-align: center; pointer-events: none; opacity: 0; z-index: 4; }
.intro.live .title-card { animation: tc 7.6s ease .3s both; }
@keyframes tc { 0% { opacity: 0; } 15% { opacity: 1; } 72% { opacity: 1; } 100% { opacity: 0; } }
.tc-n { font: 300 clamp(40px, 6vw, 72px)/1 var(--sans); letter-spacing: -.01em; color: #fff; }
.tc-s { margin-top: 14px; font: 400 clamp(15px, 1.6vw, 18px)/1.4 var(--sans); color: var(--ink-2); }
.skip-intro { position: absolute; right: var(--gut); bottom: 22px; z-index: 6; background: none; border: 0; color: var(--ink-2); font: 500 13px var(--sans); padding: 10px; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .6s; }
.intro .skip-intro { opacity: 1; pointer-events: auto; }
.hud { position: absolute; inset: 0; pointer-events: none; transition: opacity .9s ease; }
.hud > * { pointer-events: auto; }
.intro .hud, .intro .labels { opacity: 0; }
.intro .hud * { pointer-events: none !important; }

/* ---------- focus title + breadcrumb ---------- */
.focus { position: absolute; left: var(--gut); top: 18px; max-width: min(560px, calc(100vw - 560px)); pointer-events: none; text-shadow: 0 0 12px rgba(0,0,0,.9); }
.focus > * { pointer-events: auto; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; font: 400 13px/1.4 var(--sans); color: var(--dim); }
.crumbs button { background: none; border: 0; padding: 2px 0; color: var(--ink-2); cursor: pointer; font: inherit; }
.crumbs button:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.crumbs .sep { color: var(--faint); }
.focus h1 { margin: 4px 0 2px; font: 300 34px/1.1 var(--sans); letter-spacing: -.01em; color: #fff; }
.fsub { margin: 0; font: 400 14px/1.45 var(--sans); color: var(--ink-2); }
.more { margin-top: 10px; padding: 6px 12px; min-height: 32px; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); border-radius: 3px; cursor: pointer; font: 500 12.5px var(--sans); color: #fff; }
.more:hover { background: rgba(255,255,255,.12); }

/* ---------- tools (top right) ---------- */
.tools { position: absolute; right: var(--gut); top: 16px; display: flex; gap: 2px; align-items: center; }
.tool { height: 36px; min-width: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 8px; background: none; border: 0; border-radius: 3px; cursor: pointer; color: var(--ink-2); text-decoration: none; font: 500 12.5px var(--sans); }
.tool:hover, .tool[aria-expanded="true"] { color: #fff; background: rgba(255,255,255,.08); }
.tool svg { width: 19px; height: 19px; flex: none; }
.tool.wide { padding: 0 10px; }
#soundBtn .w { display: none; } #soundBtn.on .w { display: inline; } #soundBtn.on .x { display: none; } #soundBtn.on { color: #fff; }
.globe { width: 16px; height: 16px; border-radius: 50%; flex: none; background: radial-gradient(circle at 35% 30%, #cfeaff 0, #4b8fd0 38%, #1f4f86 66%, #0b1a30 100%); box-shadow: inset -2px -2px 3px rgba(0,0,0,.6); position: relative; overflow: hidden; }
.globe::after { content: ''; position: absolute; left: 3px; top: 4px; width: 7px; height: 5px; border-radius: 50% 40% 60% 40%; background: #5c9a5f; box-shadow: 4px 5px 0 -1px #5c9a5f; }

/* ---------- popovers ---------- */
.pop { position: absolute; right: var(--gut); top: 58px; z-index: 20; width: 320px; max-height: calc(100vh - 170px); display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.pop[hidden] { display: none; }
.browse input { margin: 10px; height: 38px; padding: 0 12px; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); border-radius: 3px; color: #fff; font: 400 14px var(--sans); outline: none; }
.browse input:focus { border-color: var(--accent); }
.blist { overflow: auto; padding: 0 6px 8px; overscroll-behavior: contain; }
.bg { padding: 12px 8px 4px; font: 500 11px var(--sans); color: var(--dim); }
.row { width: 100%; display: grid; grid-template-columns: 14px 1fr auto; align-items: center; gap: 10px; min-height: 40px; padding: 6px 8px; background: none; border: 0; border-radius: 3px; text-align: left; cursor: pointer; font: 400 14px var(--sans); color: var(--ink); }
.row:hover, .row[aria-selected="true"] { background: rgba(255,255,255,.08); }
.row i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--c); justify-self: center; }
.row.lead { font-weight: 500; }
.row.lead i { background: var(--c); border: 0; width: 9px; height: 9px; }
.row i.ring { border-color: #c8d6ee; border-style: dotted; }
.row small { font: 400 12px var(--sans); color: var(--dim); }
.empty { padding: 12px 10px; color: var(--dim); margin: 0; }
.layers { width: 280px; padding-bottom: 6px; }
.tog { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 12px; cursor: pointer; font: 400 14px var(--sans); color: var(--ink); }
.tog:hover { background: rgba(255,255,255,.05); }
.tog input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tog .sw { position: relative; width: 30px; height: 16px; flex: none; border-radius: 8px; background: #3a3f48; transition: background .2s; }
.tog .sw::after { content: ''; position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #c9ced6; transition: transform .2s; }
.tog input:checked + .sw { background: #4b7fd0; }
.tog input:checked + .sw::after { transform: translateX(14px); background: #fff; }
.tog input:focus-visible + .sw { outline: 2px solid var(--accent); outline-offset: 2px; }
.lp-foot { display: flex; gap: 16px; padding: 6px 12px 2px; border-top: 1px solid var(--line); margin-top: 4px; }

/* ---------- info panel ---------- */
.info { position: absolute; right: var(--gut); top: 64px; bottom: 92px; width: var(--pw); z-index: 8; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.info[hidden] { display: none; }
.grab { display: none; }
.info .x { position: absolute; right: 8px; top: 8px; z-index: 2; width: 36px; height: 36px; display: grid; place-items: center; background: none; border: 0; border-radius: 3px; cursor: pointer; color: var(--ink-2); }
.info .x:hover { color: #fff; background: rgba(255,255,255,.08); }
.info .x svg { width: 16px; height: 16px; }
.info-in { overflow: auto; overscroll-behavior: contain; padding: 18px 20px 22px; scrollbar-width: thin; scrollbar-color: #444 transparent; }
.ihead { padding-right: 34px; }
.kick { font: 400 12.5px var(--sans); color: var(--dim); }
.ihead h2 { margin: 2px 0 12px; font: 300 26px/1.15 var(--sans); color: #fff; outline: none; }
.tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.tabs button { background: none; border: 0; padding: 8px 0 9px; margin-bottom: -1px; cursor: pointer; font: 500 13px var(--sans); color: var(--dim); border-bottom: 2px solid transparent; }
.tabs button[aria-selected="true"] { color: #fff; border-bottom-color: #fff; }
.tabs button:hover { color: #fff; }
.tabpane p { margin: 0 0 12px; font: 400 14.5px/1.6 var(--sans); color: var(--ink-2); }
.tabpane .lede { font-size: 16px; line-height: 1.5; color: #fff; }
.tabpane h3 { margin: 22px 0 6px; font: 500 12.5px var(--sans); color: var(--dim); }
.pic { margin: 0 0 14px; }
.pic img { display: block; width: 100%; height: auto; max-height: 230px; object-fit: cover; object-position: top center; border-radius: 2px; background: #0b0d11; }
.pic img.contain { object-fit: contain; }
.pic figcaption { margin-top: 6px; font: 400 12px/1.45 var(--sans); color: var(--dim); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cta { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 4px; padding: 9px 14px; min-height: 40px; border: 1px solid rgba(255,255,255,.5); border-radius: 3px; color: #fff; text-decoration: none; font: 500 14px var(--sans); }
.cta:hover { background: #fff; color: #000; }
.sublinks { font-size: 13px !important; margin-top: 8px !important; }
.sublinks a { color: var(--ink-2); }
.sublinks a:hover { color: #fff; }
.rows { margin: 0 -8px 8px; }
.facts { display: grid; grid-template-columns: 116px 1fr; margin: 0 0 12px; }
.facts dt, .facts dd { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--line); font: 400 13.5px/1.45 var(--sans); }
.facts dt { color: var(--dim); }
.facts dd { color: var(--ink); }
.inl { background: none; border: 0; padding: 0; color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.4); cursor: pointer; font: inherit; }
.note { margin: 10px 0 0 !important; padding-left: 12px; border-left: 2px solid var(--pending); font-size: 13px !important; color: #e3d2b0 !important; }
.note.quiet { border-left-color: var(--line-2); color: var(--dim) !important; }
.thumbs { display: flex; gap: 6px; margin-top: 14px; }
.thumbs button { width: 64px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 2px; background: #000 center/cover; cursor: pointer; }
.thumbs button:hover { border-color: #fff; }

/* ---------- time (bottom centre) ---------- */
.time { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 2px; padding: 4px 6px; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.tbtn { width: 36px; height: 36px; display: grid; place-items: center; background: none; border: 0; border-radius: 3px; cursor: pointer; color: var(--ink-2); }
.tbtn:hover { color: #fff; background: rgba(255,255,255,.08); }
.tbtn:disabled { opacity: .3; cursor: default; background: none; }
.tbtn svg { width: 16px; height: 16px; }
.tbtn.play { color: #fff; }
.tbtn[aria-expanded="true"] { color: #fff; background: rgba(255,255,255,.08); }
.tread { display: flex; flex-direction: column; justify-content: center; min-width: 120px; padding: 0 8px 0 10px; border-left: 1px solid var(--line); margin-left: 4px; }
.tread span:first-child { font: 500 14px/1.2 var(--sans); color: #fff; font-variant-numeric: tabular-nums; }
.tread span:last-child { font: 400 11.5px/1.3 var(--sans); color: var(--dim); }
.history { position: absolute; left: 50%; bottom: 72px; transform: translateX(-50%); width: min(560px, calc(100vw - 2 * var(--gut))); padding: 10px 14px 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.history[hidden] { display: none; }
.h-row { display: flex; align-items: center; gap: 14px; }
.h-k { font: 500 12.5px var(--sans); color: var(--dim); }
.h-v { font: 500 14px var(--sans); color: #fff; margin-right: auto; font-variant-numeric: tabular-nums; }
.past .h-v { color: var(--pending); }
.tl-track { position: relative; height: 46px; margin-top: 4px; }
.tl-track .yr { position: absolute; top: 2px; font: 400 11px var(--sans); color: var(--faint); transform: translateX(-50%); }
.tl-track .lane { position: absolute; height: 3px; border-radius: 2px; background: rgba(255,255,255,.28); }
.tl-track .lane.lead { background: #fff; }
.tl-hand { position: absolute; top: 18px; bottom: 0; width: 2px; margin-left: -1px; background: var(--signal); pointer-events: none; }
.tl-track input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; }
.tl-track:focus-within .tl-hand { box-shadow: 0 0 0 2px var(--accent); }

/* ---------- zoom + scale ---------- */
.zoom { position: absolute; right: var(--gut); bottom: 18px; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; }
.zoom button { width: 36px; height: 36px; background: none; border: 0; cursor: pointer; font: 300 20px/1 var(--sans); color: var(--ink-2); }
.zoom button:hover { color: #fff; background: rgba(255,255,255,.08); }
.zoom button + button { border-top: 1px solid var(--line); }
.panel .zoom { right: calc(var(--gut) * 2 + var(--pw)); }
.scale { position: absolute; left: var(--gut); bottom: 22px; display: flex; flex-direction: column; gap: 4px; pointer-events: none; }
.scale i { display: block; height: 5px; border: 1px solid rgba(255,255,255,.6); border-top: 0; transition: width .2s; }
.scale span { font: 400 11.5px var(--sans); color: var(--ink-2); }

/* ---------- tour: full bleed, slim lower third ---------- */
.tour { position: absolute; left: 0; right: 0; bottom: 0; z-index: 9; padding: 60px var(--gut) 22px; background: linear-gradient(transparent, rgba(0,0,0,.72) 45%, rgba(0,0,0,.86)); pointer-events: auto; }
.tour[hidden] { display: none; }
.tour-in { max-width: 760px; margin: 0 auto; }
.tour-top { display: flex; align-items: center; gap: 14px; font: 400 12.5px var(--sans); color: var(--dim); font-variant-numeric: tabular-nums; }
.dots { display: flex; gap: 5px; }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.22); }
.dots i.done { background: rgba(255,255,255,.55); }
.dots i.on { background: #fff; transform: scale(1.3); }
.tour h2 { margin: 8px 0 6px; font: 300 30px/1.15 var(--sans); color: #fff; }
.tour p { margin: 0; max-width: 680px; font: 400 16px/1.55 var(--sans); color: var(--ink-2); }
.tour.in h2, .tour.in p { animation: tin .8s ease both; }
.tour.in p { animation-delay: .12s; }
@keyframes tin { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.tour-ctl { display: flex; gap: 22px; margin-top: 10px; }
.tour-ctl #tourExit { margin-left: auto; }
.touring .focus, .touring .tools, .touring .time, .touring .zoom, .touring .scale, .touring .info, .touring .pop, .touring .history { opacity: 0; pointer-events: none; }
.touring .focus, .touring .tools, .touring .time, .touring .zoom, .touring .scale { transition: opacity .6s; }

/* ---------- keyboard ---------- */
.keys { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; background: rgba(0,0,0,.6); }
.keys[hidden] { display: none; }
.keys-in { width: min(460px, calc(100vw - 32px)); max-height: 86vh; overflow: auto; padding: 20px 22px; background: #0d0f13; border: 1px solid var(--line-2); border-radius: 4px; }
.keys h2 { margin: 0 0 12px; font: 400 20px var(--sans); }
.keys dl { display: grid; grid-template-columns: 100px 1fr; gap: 8px 14px; margin: 0 0 14px; }
.keys dt { color: #fff; font-weight: 500; }
.keys dd { margin: 0; color: var(--ink-2); }

/* ---------- list view ---------- */
.listview { position: fixed; inset: 0; z-index: 30; overflow: auto; background: #000; display: none; }
.listview.open { display: block; }
.lv-in { max-width: 820px; margin: 0 auto; padding: 14px 24px 80px; }
.lv-bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; background: #000; border-bottom: 1px solid var(--line); }
.lv-in h1 { font: 300 40px/1.1 var(--sans); margin: 30px 0 10px; }
.lv-intro { color: var(--ink-2); font-size: 16px; max-width: 640px; }
.lv-in h2 { font: 400 20px var(--sans); color: #fff; margin: 44px 0 4px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.lv-list { list-style: none; margin: 0; padding: 0; }
.lv-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.lv-item h3 { margin: 0 0 4px; font: 500 18px/1.3 var(--sans); }
.lv-item h3 a { text-decoration: none; }
.lv-item h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lv-item p { margin: 0 0 6px; color: var(--ink-2); max-width: 66ch; }
.lv-hook { color: #fff !important; }
.lv-note { font-size: 13px; color: #e3d2b0 !important; }
.lv-meta { font-size: 13px; color: var(--dim) !important; }
.lv-meta a { color: var(--ink-2); }
.lv-fine { margin-top: 30px !important; font-size: 12px; color: var(--dim) !important; }
.no3d .space-app { display: none; }

/* ---------- tablets ---------- */
@media (max-width: 1100px) and (min-width: 761px) {
  :root { --pw: 340px; }
  .tool.wide span:not(.globe) { display: none; }
  .focus { max-width: calc(100vw - 420px); }
}

/* ---------- phones ---------- */
@media (max-width: 760px) {
  :root { --gut: 12px; }
  .space-app .poster { background-image: url(../img/poster-phone.webp); }
  .tools { top: max(8px, env(safe-area-inset-top)); right: 6px; gap: 0; }
  .tool { width: 44px; height: 44px; padding: 0; }
  .tool.wide span:not(.globe) { display: none; }
  #soundBtn { display: none; }
  .focus { top: calc(max(8px, env(safe-area-inset-top)) + 50px); max-width: calc(100vw - 2 * var(--gut)); }
  .focus h1 { font-size: 26px; }
  .fsub { font-size: 13px; }
  .more { display: none; }
  .pop { left: 8px; right: 8px; width: auto; top: calc(max(8px, env(safe-area-inset-top)) + 50px); max-height: 70vh; }
  .browse input { height: 44px; font-size: 16px; }
  .row { min-height: 46px; }
  .info { left: 0; right: 0; top: auto; bottom: 0; width: auto; border-radius: 10px 10px 0 0; border-bottom: 0; padding-bottom: env(safe-area-inset-bottom); height: 50vh; height: 50dvh; transition: height .3s cubic-bezier(.2,.8,.2,1); }
  .info.dragging { transition: none; }
  .info[data-sheet="peek"] { height: 112px; }
  .info[data-sheet="full"] { height: 88vh; height: 88dvh; }
  .info[data-sheet="peek"] .info-in { overflow: hidden; }
  .grab { display: flex; justify-content: center; align-items: center; height: 24px; flex: none; cursor: grab; touch-action: none; }
  .grab span { width: 36px; height: 4px; border-radius: 2px; background: var(--line-2); }
  .info .x { top: 6px; right: 6px; width: 44px; height: 44px; }
  .info-in { padding: 0 16px 20px; }
  .ihead h2 { font-size: 22px; margin-bottom: 8px; }
  .tabs button { padding: 10px 0 11px; min-height: 44px; }
  .time { bottom: max(14px, env(safe-area-inset-bottom)); }
  .tbtn { width: 44px; height: 44px; }
  .tread { min-width: 104px; }
  .panel .time, .panel .zoom, .panel .scale, .panel .history { opacity: 0; pointer-events: none; }
  .zoom, .scale { display: none; }
  .history { bottom: 76px; }
  .tour { padding: 50px 16px max(16px, env(safe-area-inset-bottom)); }
  .tour h2 { font-size: 24px; }
  .tour p { font-size: 15px; }
  .tour-ctl { gap: 10px; }
  .tour-ctl .textbtn { min-height: 44px; padding: 10px 6px; font-size: 14px; }
  .lbl { font-size: 11.5px; }
  .lbl.k-star { font-size: 13px; }
  .lv-in { padding: 10px 16px 60px; }
  .keys dl { grid-template-columns: 76px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
