:root {
  --ink: #0a0a0b;
  --ink-2: #111113;
  --glass: rgba(13, 13, 15, 0.78);
  --glass-hi: rgba(22, 21, 22, 0.9);
  --line: rgba(255, 244, 230, 0.08);
  --line-2: rgba(255, 244, 230, 0.14);
  --text: #efe9df;
  --mute: #958f86;
  --dim: #5f5a54;
  --ember: #ff5a1f;
  --flame: #ffb547;
  --spark: #fff2d6;
  --blood: #e0263f;
  --cool: #86a8ff;
  --r: 18px;
  --wire-w: 372px;
  --panel-w: 440px;
  --tl-h: 92px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --sans: "Archivo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--ink); color: var(--text); }
body { font-family: var(--sans); font-size: 14px; line-height: 1.4; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }
ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

/* themed scrollbars */
* { scrollbar-width: thin; scrollbar-color: rgba(255, 181, 71, .28) transparent; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: rgba(255, 181, 71, .22); border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }
*::-webkit-scrollbar-thumb:hover { background: rgba(255, 120, 50, .5); background-clip: padding-box; border: 2px solid transparent; }

#map { position: fixed; inset: 0; }
.maplibregl-ctrl-attrib { background: rgba(10, 10, 11, .6) !important; color: var(--dim); font-size: 10px; }
.maplibregl-ctrl-attrib a { color: var(--mute) !important; }
.maplibregl-ctrl-bottom-right { bottom: calc(var(--tl-h) + 18px); right: 8px; }
.maplibregl-ctrl-group { background: var(--glass) !important; border: 1px solid var(--line); box-shadow: none !important; backdrop-filter: blur(14px); }
.maplibregl-ctrl-group button { width: 34px; height: 34px; }
.maplibregl-ctrl-group button + button { border-top: 1px solid var(--line) !important; }
.maplibregl-ctrl-icon { filter: invert(1) opacity(.7); }
.maplibregl-canvas { outline: none; }

.vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(5, 5, 6, .72) 100%),
    linear-gradient(to bottom, rgba(10, 10, 11, .55), transparent 18%, transparent 78%, rgba(10, 10, 11, .7));
}
#embers { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; mix-blend-mode: screen; opacity: .9; }

/* ---------------------------------------------------------------- brand */
.brand {
  position: fixed; z-index: 10; top: 22px; left: 26px;
  display: flex; align-items: center; gap: 14px;
  opacity: 0; transform: translateY(-8px);
  transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out);
}
.ready .brand { opacity: 1; transform: none; }
.mark { position: relative; width: 34px; height: 34px; flex: none; }
.mark .core {
  position: absolute; inset: 9px; border-radius: 50%;
  background: radial-gradient(circle, var(--spark) 0 18%, var(--flame) 40%, var(--ember) 70%, transparent 72%);
  box-shadow: 0 0 22px 4px rgba(255, 90, 31, .55);
  animation: breathe 3.6s ease-in-out infinite;
}
.mark .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 140, 60, .5); animation: ring 3.6s var(--ease-out) infinite; }
@keyframes breathe { 50% { transform: scale(.86); box-shadow: 0 0 14px 2px rgba(255, 90, 31, .4); } }
@keyframes ring { 0% { transform: scale(.45); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.word h1 { font-weight: 800; font-variation-settings: "wdth" 125; font-size: 21px; letter-spacing: .26em; line-height: 1; }
.word p { margin-top: 6px; color: var(--mute); font-size: 12px; letter-spacing: .02em; }

.pulse-line {
  position: fixed; z-index: 10; top: 82px; left: 26px;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11px; color: var(--mute); letter-spacing: .02em;
  opacity: 0; transition: opacity 1.2s .2s var(--ease-out);
}
.ready .pulse-line { opacity: 1; }
.live { display: inline-flex; align-items: center; gap: 7px; color: var(--text); font-weight: 600; letter-spacing: .14em; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--blood); box-shadow: 0 0 0 0 rgba(224, 38, 63, .7); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(224, 38, 63, 0); } 100% { box-shadow: 0 0 0 0 rgba(224, 38, 63, 0); } }
#scanInfo b { color: var(--text); font-weight: 500; }

/* ---------------------------------------------------------------- stats */
.stats {
  position: fixed; z-index: 10; top: 22px; right: 26px;
  display: flex; gap: 30px; text-align: right;
  opacity: 0; transform: translateY(-8px);
  transition: opacity 1.2s .1s var(--ease-out), transform 1.2s .1s var(--ease-out), right .6s var(--ease);
}
.ready .stats { opacity: 1; transform: none; }
.stats b { display: block; font-family: var(--sans); font-weight: 700; font-variation-settings: "wdth" 112; font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.stats span { display: block; margin-top: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.panel-open .stats { right: calc(var(--panel-w) + 46px); }

/* contract address: click copies */
.ca {
  position: fixed; z-index: 10; top: 88px; right: 26px;
  display: inline-flex; align-items: center; gap: 9px; height: 30px; padding: 0 11px 0 5px; border-radius: 99px;
  background: var(--glass); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-family: var(--mono); font-size: 11px; color: var(--text);
  opacity: 0; transform: translateY(-8px);
  transition: opacity 1.2s .15s var(--ease-out), transform 1.2s .15s var(--ease-out), right .6s var(--ease), background .2s, border-color .2s;
}
.ready .ca { opacity: 1; transform: none; }
.ca:hover { background: var(--glass-hi); border-color: rgba(255, 181, 71, .45); }
.ca:active { transform: scale(.97); }
.ca-k { height: 20px; padding: 0 7px; border-radius: 99px; display: inline-flex; align-items: center; background: var(--ember); color: #fff; font-weight: 600; font-size: 10px; letter-spacing: .1em; }
.ca-i { color: var(--mute); transition: color .2s; }
.ca:hover .ca-i { color: var(--flame); }
.ca.copied .ca-k { background: #2fbf71; }
.panel-open .ca { right: calc(var(--panel-w) + 46px); }

/* ---------------------------------------------------------------- wire */
.wire {
  position: fixed; z-index: 9; left: 18px; top: 116px; bottom: calc(var(--tl-h) + 30px);
  width: var(--wire-w);
  display: flex; flex-direction: column;
  background: var(--glass); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid var(--line); border-radius: var(--r);
  opacity: 0; transform: translateX(-16px);
  transition: opacity 1s .35s var(--ease-out), transform 1s .35s var(--ease-out);
  overflow: hidden;
}
.ready .wire { opacity: 1; transform: none; }
.wire-head { padding: 16px 16px 12px; border-bottom: 1px solid var(--line); }
.wire-head h2 { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px; border-radius: 99px;
  border: 1px solid var(--line-2); color: var(--mute); font-size: 12px;
  transition: background .25s, color .25s, border-color .25s, transform .2s var(--ease);
}
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.chip em { font-style: normal; font-family: var(--mono); font-size: 10.5px; color: var(--dim); }
.chip:hover { color: var(--text); border-color: rgba(255, 244, 230, .3); }
.chip:active { transform: scale(.96); }
.chip.on { background: rgba(255, 244, 230, .09); color: var(--text); border-color: rgba(255, 244, 230, .35); }
.chip.on em { color: var(--mute); }

.wire-list { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 6px 0 10px; }
.w-item {
  position: relative; display: grid; grid-template-columns: 1fr 64px; gap: 12px;
  padding: 12px 16px 12px 18px; cursor: pointer;
  transition: background .25s;
}
.w-item::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; background: var(--c); opacity: .85; }
.w-item:hover, .w-item.hl { background: rgba(255, 244, 230, .045); }
.w-item.sel { background: rgba(255, 120, 50, .08); }
.w-item.fresh { animation: arrive 1.4s var(--ease-out) both; }
.w-item.fresh::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 110, 40, .22), transparent 70%); animation: flash 3.2s ease-out forwards; pointer-events: none; }
@keyframes arrive { from { opacity: 0; transform: translateY(-10px); } }
@keyframes flash { to { opacity: 0; } }
.w-top { display: flex; gap: 8px; align-items: baseline; font-family: var(--mono); font-size: 10.5px; color: var(--mute); letter-spacing: .03em; }
.w-top b { color: var(--text); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-family: var(--sans); font-variation-settings: "wdth" 110; font-size: 11px; }
.w-top .nat { color: var(--dim); }
.w-h { margin-top: 5px; font-size: 13.5px; line-height: 1.32; font-weight: 500; color: var(--text); text-wrap: pretty; }
.w-src { margin-top: 5px; font-size: 11.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thumb { position: relative; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: #1a1918; align-self: start; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .5s, transform .6s var(--ease); }
.thumb img.ok { opacity: 1; }
.w-item:hover .thumb img { transform: scale(1.06); }
.thumb .play { position: absolute; inset: auto 5px 5px auto; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(10, 10, 11, .72); backdrop-filter: blur(6px); }
.thumb .play svg { width: 8px; height: 8px; margin-left: 1px; }
.thumb.empty { display: grid; place-items: center; }
.thumb.empty::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 18px 4px var(--c); opacity: .6; }
.wire-empty { padding: 30px 18px; color: var(--mute); font-size: 13px; }

/* ---------------------------------------------------------------- panel */
.panel {
  position: fixed; z-index: 11; top: 14px; right: 14px; bottom: 14px; width: var(--panel-w);
  background: var(--glass-hi); backdrop-filter: blur(22px) saturate(1.25); -webkit-backdrop-filter: blur(22px) saturate(1.25);
  border: 1px solid var(--line); border-radius: 22px;
  transform: translateX(calc(100% + 30px)); opacity: .2;
  transition: transform .75s var(--ease-out), opacity .5s;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
.panel-open .panel { transform: none; opacity: 1; }
.panel-scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 28px; }
.close {
  position: absolute; z-index: 3; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(10, 10, 11, .6); border: 1px solid var(--line-2); color: var(--text);
  transition: transform .25s var(--ease), background .25s;
}
.close:hover { background: rgba(255, 244, 230, .12); transform: rotate(90deg); }
.p-head { padding: 26px 24px 18px; }
.p-kicker { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--flame); display: flex; gap: 10px; align-items: center; padding-right: 44px; }
.p-kicker i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.p-head h2 {
  margin-top: 12px; font-weight: 800; font-variation-settings: "wdth" 118; font-size: 40px; line-height: .98; letter-spacing: -.01em;
  text-wrap: balance; padding-right: 30px;
}
.p-head h2 .site { display: block; margin-top: 8px; font-size: 15px; font-weight: 500; font-variation-settings: "wdth" 100; letter-spacing: 0; color: var(--mute); }
.p-meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-family: var(--mono); font-size: 11px; color: var(--mute); }
.p-meta b { color: var(--text); font-weight: 500; }
.panel-open .p-head > * { animation: rise .8s var(--ease-out) both; }
.panel-open .p-head h2 { animation-delay: .06s; }
.panel-open .p-head .p-meta { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

.stage {
  position: relative; margin: 0 14px; border-radius: 16px; overflow: hidden; background: #000;
  aspect-ratio: var(--ar, 16 / 10); max-height: 62vh;
  transition: aspect-ratio .5s var(--ease);
}
.stage:empty { display: none; }
.stage video, .stage img, .stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.stage video, .stage img { object-fit: contain; background: #000; }
.stage img.cover { object-fit: cover; }
.stage .blur { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(26px) brightness(.45); transform: scale(1.1); }
.stage .fade-in { animation: fadein .7s var(--ease-out) both; }
@keyframes fadein { from { opacity: 0; transform: scale(1.02); } }
.stage .badge {
  position: absolute; z-index: 2; left: 12px; top: 12px; height: 24px; padding: 0 10px; border-radius: 99px;
  display: inline-flex; align-items: center; gap: 6px; background: rgba(10, 10, 11, .66); backdrop-filter: blur(8px);
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; pointer-events: none;
}
.stage .badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--blood); }
.stage .unmute {
  position: absolute; z-index: 2; right: 12px; bottom: 12px; height: 32px; padding: 0 12px; border-radius: 99px;
  display: inline-flex; align-items: center; gap: 8px; background: rgba(10, 10, 11, .7); backdrop-filter: blur(8px);
  font-size: 12px; border: 1px solid var(--line-2); transition: background .2s;
}
.stage .unmute:hover { background: rgba(40, 38, 36, .9); }
.stage a.unmute { text-decoration: none; color: var(--text); }
.stage a.unmute svg { width: 9px; height: 9px; }
.stage .loading { position: absolute; inset: 0; display: grid; place-items: center; }
.stage .loading::after { content: ""; width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(255, 244, 230, .15); border-top-color: var(--flame); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.caption { padding: 14px 24px 4px; }
.caption:empty { display: none; }
.caption .c-h { font-size: 17px; line-height: 1.3; font-weight: 600; text-wrap: pretty; }
.caption .c-fr { margin-top: 6px; font-size: 13px; color: var(--mute); line-height: 1.4; }
.caption .c-row { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-family: var(--mono); font-size: 11px; color: var(--mute); }
.caption .c-row a { color: var(--flame); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.caption .c-row a:hover { text-decoration: underline; text-underline-offset: 3px; }

.reel { display: flex; gap: 8px; overflow-x: auto; padding: 14px 24px 4px; scroll-snap-type: x mandatory; }
.reel:empty { display: none; }
.reel button { position: relative; flex: none; width: 92px; height: 64px; border-radius: 10px; overflow: hidden; background: #1a1918; scroll-snap-align: start; outline: 1px solid transparent; outline-offset: 2px; transition: outline-color .2s, transform .2s var(--ease); }
.reel button:hover { transform: translateY(-2px); }
.reel button.on { outline-color: var(--flame); }
.reel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel .play { position: absolute; left: 6px; bottom: 6px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: rgba(10, 10, 11, .75); }
.reel .play svg { width: 7px; height: 7px; margin-left: 1px; }

.p-sub { margin: 24px 24px 6px; font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.reports li { border-top: 1px solid var(--line); }
.reports li:first-child { border-top: 0; }
.rep { display: grid; grid-template-columns: 54px 1fr; gap: 12px; width: 100%; text-align: left; padding: 13px 24px; transition: background .2s; }
.rep:hover { background: rgba(255, 244, 230, .04); }
.rep.on { background: rgba(255, 120, 50, .07); }
.rep .t { font-family: var(--mono); font-size: 11px; color: var(--mute); padding-top: 2px; }
.rep .h { font-size: 13.5px; font-weight: 500; line-height: 1.32; }
.rep .s { margin-top: 4px; font-size: 11.5px; color: var(--dim); display: flex; gap: 8px; align-items: center; }
.rep .s .cat { color: var(--c); }
.rep .s svg { width: 11px; height: 11px; }

/* ---------------------------------------------------------------- tooltip */
.tip {
  position: fixed; z-index: 20; pointer-events: none; left: 0; top: 0;
  min-width: 190px; max-width: 280px; padding: 10px 12px; border-radius: 12px;
  background: rgba(14, 14, 16, .92); border: 1px solid var(--line-2); backdrop-filter: blur(12px);
  opacity: 0; transform: translate(-50%, calc(-100% - 14px)) scale(.96);
  transition: opacity .18s, transform .25s var(--ease);
}
.tip.on { opacity: 1; transform: translate(-50%, calc(-100% - 18px)) scale(1); }
.tip b { display: block; font-weight: 700; font-variation-settings: "wdth" 112; font-size: 15px; }
.tip span { display: block; margin-top: 3px; font-family: var(--mono); font-size: 10.5px; color: var(--mute); }
.tip p { margin-top: 7px; font-size: 12.5px; line-height: 1.3; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------------------------------------------------------------- timeline */
.timeline {
  position: fixed; z-index: 9; left: 18px; right: 18px; bottom: 18px; height: var(--tl-h);
  display: grid; grid-template-columns: auto 1fr auto; align-items: stretch; gap: 14px;
  padding: 12px 16px 10px 12px;
  background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line); border-radius: var(--r);
  opacity: 0; transform: translateY(14px);
  transition: opacity 1s .5s var(--ease-out), transform 1s .5s var(--ease-out), right .6s var(--ease);
}
.ready .timeline { opacity: 1; transform: none; }
.panel-open .timeline { right: calc(var(--panel-w) + 28px); }
.replay {
  align-self: center; height: 40px; padding: 0 16px 0 13px; border-radius: 99px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--text); color: var(--ink); font-weight: 600; font-size: 13px;
  transition: transform .2s var(--ease), background .2s;
}
.replay:hover { background: #fff; }
.replay:active { transform: scale(.96); }
.replay.on { background: var(--ember); color: #fff; }
.tl-body { position: relative; min-width: 0; cursor: crosshair; }
#tlSvg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
#tlSvg .bar { transition: opacity .3s; }
#tlSvg .axis { font-family: var(--mono); font-size: 9.5px; fill: var(--dim); letter-spacing: .04em; }
#tlSvg .day { font-family: var(--mono); font-size: 9.5px; fill: var(--mute); letter-spacing: .1em; text-transform: uppercase; }
#tlSvg .rule { stroke: var(--line-2); stroke-width: 1; }
#tlSvg .now { fill: var(--blood); }
.tl-cursor { position: absolute; top: -2px; bottom: 14px; width: 1px; background: var(--spark); box-shadow: 0 0 10px var(--flame); opacity: 0; pointer-events: none; transition: opacity .2s; }
.tl-cursor span { position: absolute; bottom: 100%; left: 50%; transform: translate(-50%, -4px); white-space: nowrap; font-family: var(--mono); font-size: 10px; background: var(--ink); border: 1px solid var(--line-2); padding: 2px 6px; border-radius: 6px; }
.tl-cursor.on { opacity: 1; }
.overseas { display: flex; flex-direction: column; justify-content: center; gap: 5px; }
.overseas:empty { display: none; }
.overseas button { height: 24px; padding: 0 10px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 11.5px; color: var(--mute); white-space: nowrap; transition: color .2s, border-color .2s; }
.overseas button:hover { color: var(--text); border-color: rgba(255, 244, 230, .35); }
.overseas button em { font-style: normal; font-family: var(--mono); color: var(--flame); margin-left: 4px; }

.wire-toggle { display: none; }

/* ---------------------------------------------------------------- intro */
.boot { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: var(--ink); transition: opacity 1.4s var(--ease-out), visibility 1.4s; }
.ready .boot { opacity: 0; visibility: hidden; }

/* ---------------------------------------------------------------- small screens */
@media (max-width: 1100px) {
  :root { --wire-w: 320px; --panel-w: 400px; }
  .stats b { font-size: 26px; }
  .stats { gap: 20px; }
}
@media (max-width: 1180px) and (min-width: 761px) {
  .panel-open .wire, .panel-open .stats, .panel-open .ca, .panel-open .timeline { opacity: 0; pointer-events: none; }
  .panel-open .wire { transform: translateX(-16px); }
}
@media (max-width: 760px) {
  :root { --tl-h: 64px; }
  .brand { top: 14px; left: 16px; gap: 10px; }
  .mark { width: 28px; height: 28px; }
  .word h1 { font-size: 17px; }
  .word p { font-size: 11px; }
  .pulse-line { top: 60px; left: 16px; right: 16px; font-size: 10px; white-space: nowrap; overflow: hidden; }
  #scanInfo { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .stats { top: 92px; left: 16px; right: auto; text-align: left; gap: 22px; }
  .stats b { font-size: 22px; }
  .stats span { margin-top: 4px; font-size: 9px; }
  .panel-open .stats, .panel-open .pulse-line, .panel-open .ca { opacity: 0; pointer-events: none; }
  .ca { top: 138px; left: 16px; right: auto; height: 28px; font-size: 10.5px; }
  .panel-open .ca { right: auto; }
  .timeline { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 8px 10px; gap: 10px; grid-template-columns: auto 1fr; }
  .panel-open .timeline { right: 10px; }
  .replay { height: 34px; padding: 0 12px 0 10px; font-size: 12px; }
  .replay span { display: none; }
  .overseas { display: none; }
  .wire {
    left: 10px; right: 10px; width: auto; top: auto; bottom: calc(var(--tl-h) + 20px + env(safe-area-inset-bottom)); height: 46vh;
    transform: translateY(calc(100% + 40px)); opacity: 1; transition: transform .6s var(--ease-out);
  }
  .ready .wire { transform: translateY(calc(100% + 120px)); }
  .wire-open .wire { transform: none; }
  .wire-toggle {
    display: inline-flex; position: fixed; z-index: 10; right: 14px; bottom: calc(var(--tl-h) + 22px + env(safe-area-inset-bottom));
    height: 38px; padding: 0 16px; border-radius: 99px; align-items: center; font-weight: 600; font-size: 13px;
    background: var(--glass-hi); border: 1px solid var(--line-2); backdrop-filter: blur(14px);
  }
  .wire-open .wire-toggle { bottom: calc(var(--tl-h) + 46vh + 30px + env(safe-area-inset-bottom)); }
  .panel {
    top: auto; left: 0; right: 0; bottom: 0; width: auto; height: 84vh; border-radius: 22px 22px 0 0;
    transform: translateY(105%);
  }
  .panel-open .wire-toggle, .panel-open .wire { visibility: hidden; }
  .p-head h2 { font-size: 32px; }
  .maplibregl-ctrl-bottom-right { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
