/* ---------- explore mode ---------- */
.explore { position: fixed; inset: 0; z-index: 40; display: none; pointer-events: none; }
body.exploring .explore { display: block; }
body.exploring .story, body.exploring .panel, body.exploring .hero, body.exploring .foot, body.exploring .base-intro, body.exploring .rail { visibility: hidden; }
.explore .grab { position: absolute; inset: 0; pointer-events: auto; touch-action: none; cursor: grab; }
.explore .grab:active { cursor: grabbing; }
.ex-top { position: absolute; top: calc(env(safe-area-inset-top, 0px) + var(--nav-h) + 4px); left: var(--margin); right: var(--margin); display: flex; flex-wrap: wrap; gap: 10px; pointer-events: none; }
.ex-top > * { pointer-events: auto; }
.seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; }
.seg button { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: none; font-size: 13px; color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: color 0.2s, background-color 0.25s; }
.seg button:hover { color: var(--ink-1); }
.seg button[aria-pressed="true"] { background: var(--ink-1); color: #000; }
.seg button[aria-pressed="true"] .sym::before { background: #000; }
.ex-zoom { position: absolute; right: var(--margin); top: 50%; transform: translateY(-50%); display: grid; gap: 8px; pointer-events: auto; }
.rbtn { width: 44px; height: 44px; border-radius: 50%; border: 0; display: inline-grid; place-items: center; cursor: pointer; color: var(--ink-1); background: transparent; padding: 0; transition: background-color 0.2s, transform 0.2s var(--ease); }
.rbtn:hover { background: rgba(255, 255, 255, 0.08); }
.rbtn:active { transform: scale(0.96); }
.rbtn svg { width: 20px; height: 20px; }
.rbtn.glass:hover { background: rgba(60, 60, 64, 0.6); }
.ex-time { position: absolute; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom, 0px) + 24px); display: grid; justify-items: center; gap: 10px; padding: 0 var(--margin); pointer-events: none; }
.ex-cap { font-size: 13px; color: var(--ink-1); font-variant-numeric: tabular-nums; padding: 6px 12px; border-radius: 999px; background: rgba(14, 14, 15, 0.62); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); text-shadow: none; }
.ex-row { display: flex; align-items: center; gap: 10px; pointer-events: auto; max-width: 100%; }
.transport { display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px; }
.transport .rbtn { width: 46px; height: 46px; }
.rbtn--play { width: 54px !important; height: 54px !important; background: var(--ink-1); color: #000; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4); }
.rbtn--play:hover { background: #fff; }
.rbtn--play .i-pause { display: none; }
.rbtn--play.on .i-play { display: none; }
.rbtn--play.on .i-pause { display: block; }
.scrub { --pct: 50%; position: relative; display: grid; grid-template-columns: auto minmax(120px, 1fr) auto; align-items: center; gap: 16px; height: 56px; width: min(460px, 52vw); padding: 0 22px; border-radius: 999px; overflow: hidden; }
.scrub::before { content: ""; position: absolute; inset: 0; width: var(--pct); background: rgba(255, 255, 255, 0.07); border-right: 1px solid rgba(255, 255, 255, 0.08); pointer-events: none; }
.scrub label { position: relative; font-size: 14px; color: var(--ink-1); }
.scrub output { position: relative; font-size: 14px; color: var(--ink-1); font-variant-numeric: tabular-nums; text-align: right; min-width: 70px; }
.scrub input { position: relative; -webkit-appearance: none; appearance: none; width: 100%; height: 30px; margin: 0; background: transparent; cursor: pointer; }
.scrub input::-webkit-slider-runnable-track { height: 30px; background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 1.4px, transparent 1.9px) center / 22px 30px repeat-x; }
.scrub input::-moz-range-track { height: 30px; background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 1.4px, transparent 1.9px) center / 22px 30px repeat-x; }
.scrub input::-webkit-slider-thumb { -webkit-appearance: none; width: 3px; height: 20px; margin-top: 5px; border-radius: 2px; background: var(--ink-1); box-shadow: 0 0 10px rgba(255, 255, 255, 0.4); }
.scrub input::-moz-range-thumb { width: 3px; height: 20px; border: 0; border-radius: 2px; background: var(--ink-1); }
.scrub input:focus-visible { outline: none; }
.scrub:focus-within { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), inset 0 1px 0 var(--glass-hi), 0 18px 50px rgba(0, 0, 0, 0.45); }
.ex-row > .btn { height: 44px; transition: opacity 0.25s; }
.ex-row > .btn.off { opacity: 0.35; pointer-events: none; }
.ex-hint { position: absolute; left: 50%; top: calc(env(safe-area-inset-top, 0px) + var(--nav-h) + 76px); transform: translateX(-50%); font-size: 13px; color: var(--ink-2);
  white-space: nowrap; pointer-events: none; transition: opacity 0.6s; padding: 6px 12px; border-radius: 999px; background: rgba(14, 14, 15, 0.62); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); text-shadow: none; }
.detail { position: absolute; left: var(--margin); top: calc(env(safe-area-inset-top, 0px) + var(--nav-h) + 64px); width: min(400px, calc(100% - 40px));
  max-height: calc(100svh - var(--nav-h) - 220px); overflow: auto; pointer-events: auto; border-radius: 24px; padding: 24px; display: grid; gap: 16px;
  scrollbar-width: thin; scrollbar-color: var(--ink-4) transparent; }
.detail[hidden] { display: none; }
.detail .x { position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; }
.detail .x svg { width: 14px; height: 14px; }
.detail .cat { display: flex; align-items: baseline; gap: 10px; padding-right: 40px; }
.detail .cat b { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.detail .cat span { font-size: 13px; color: var(--ink-3); }
.detail h3 { font-size: 30px; line-height: 1.05; letter-spacing: -0.035em; padding-right: 30px; margin-top: -6px; }
.detail p { font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.detail .spec > div { grid-template-columns: 80px minmax(0, 1fr); }
.live { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); font-size: 14px; line-height: 1.4; color: var(--ink-1); }
.live svg { width: 18px; height: 18px; display: block; }
.live small { display: block; color: var(--ink-3); font-size: 13px; margin-top: 2px; }
.detail .acts { display: flex; flex-wrap: wrap; gap: 8px; }
.detail .acts .btn { height: 36px; font-size: 13px; }

/* ---------- loader ---------- */
.loader { position: fixed; z-index: 45; left: var(--margin); bottom: calc(env(safe-area-inset-bottom, 0px) + 20px); display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; transition: opacity 0.8s var(--ease); pointer-events: none; }
.loader-bar { width: 72px; height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.loader-bar i { position: absolute; inset: 0; width: var(--p, 6%); background: var(--ink-1); transition: width 0.5s var(--ease); }
.loader.done { opacity: 0; }
body.nogl [data-explore], body.nogl [data-show-site] { display: none; }
