/* Który Nadajnik - look modelled on Apple Maps and Weather in iOS 26: a floating glass sheet over the map, big rounded
   shapes, operator logos, round coloured icons and rich charts. Colour comes from logos, charts and icons - never from
   glowing backgrounds. */
:root {
  --map-bg: #0b0f1c;
  --glass: rgba(30, 34, 48, 0.56);
  --glass-solid: rgba(32, 36, 50, 0.92);
  --card: rgba(255, 255, 255, 0.075);
  --card-2: rgba(255, 255, 255, 0.13);
  --hair: rgba(255, 255, 255, 0.11);
  --text: #ffffff;
  --text-2: rgba(235, 238, 250, 0.64);
  --text-3: rgba(235, 238, 250, 0.36);
  --accent: #1a8cff;
  --accent-2: #5ac8fa;
  --green: #30d158;
  --amber: #ff9f0a;
  --red: #ff453a;
  --tint: #1a8cff;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', 'Segoe UI', Roboto, system-ui, sans-serif;
  --panel-w: 404px;
  /* names still used by the compass screen */
  --muted: var(--text-2); --dim: var(--text-3); --line: var(--hair); --good: var(--green); --fair: var(--amber); --weak: var(--red);
  --raise: var(--card); --raise-2: var(--card-2); --mono: var(--font); --sans: var(--font);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; margin: 0; background: var(--map-bg); color: var(--text); font: 15px/1.35 var(--font);
  -webkit-font-smoothing: antialiased; overscroll-behavior: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, p { margin: 0; }
b, .num, .v, .big { font-variant-numeric: tabular-nums; }
svg text { font-family: var(--font); }

#map { position: fixed; inset: 0; }

/* ---------- glass: the sheet, the map buttons, pop-ups */
.panel, .tools, .maplibregl-ctrl-group, .zoomhint, .lg-toggle, .lg-card {
  background: var(--glass) !important;
  -webkit-backdrop-filter: blur(34px) saturate(210%) brightness(1.06); backdrop-filter: blur(34px) saturate(210%) brightness(1.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1.5px 0 rgba(255, 255, 255, 0.2), 0 22px 60px rgba(0, 0, 0, 0.45) !important;
}
.panel { position: fixed; top: 14px; left: 14px; bottom: 14px; width: var(--panel-w); z-index: 5; display: flex; flex-direction: column; overflow: hidden; border-radius: 30px; }
.panel::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 260px; pointer-events: none;      /* a breath of the subject's colour behind the header */
  background: radial-gradient(120% 100% at 18% 0%, color-mix(in srgb, var(--tint) 26%, transparent), transparent 70%); transition: background 0.4s; }
.grip { display: none; }
.search { position: relative; flex: none; margin: 14px 14px 2px; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px;
  border-radius: 22px; background: var(--card-2); color: var(--text-2); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.12); }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: inherit; font-size: 16px; }
.search input::placeholder { color: var(--text-2); }
.search input::-webkit-search-cancel-button { filter: invert(1) opacity(0.55); }
.results { position: absolute; top: 50px; left: 0; right: 0; z-index: 3; background: var(--glass-solid); border-radius: 20px; overflow: hidden auto; max-height: 380px;
  -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 18px 44px rgba(0, 0, 0, 0.55); }
.results button { position: relative; display: flex; width: 100%; gap: 10px; align-items: baseline; text-align: left; padding: 12px 16px; }
.results button + button::before { content: ''; position: absolute; top: 0; left: 16px; right: 16px; height: 0.5px; background: var(--hair); }
.results button:hover, .results button.active { background: rgba(255, 255, 255, 0.07); }
.results .s { color: var(--text-2); font-size: 13px; margin-left: auto; white-space: nowrap; }
.results .empty { padding: 13px 16px; color: var(--text-2); }
.scroll { position: relative; flex: 1; overflow-y: auto; padding: 6px 14px 22px; scrollbar-width: none; }
.scroll::-webkit-scrollbar { display: none; }

.maplibregl-ctrl-attrib { background: rgba(28, 30, 40, 0.7) !important; color: var(--text-3); font: 10.5px var(--font); border-radius: 12px !important; }
.maplibregl-ctrl-attrib a { color: var(--text-2); }
.maplibregl-ctrl-attrib-button { filter: invert(1) opacity(0.5); }
.maplibregl-ctrl-group, .tools { border-radius: 24px !important; overflow: hidden; }
.maplibregl-ctrl-group button { width: 48px; height: 46px; }
.maplibregl-ctrl-group button + button { border-top: 0.5px solid var(--hair) !important; }
.maplibregl-ctrl-group .maplibregl-ctrl-icon { filter: invert(1); }
.maplibregl-ctrl-bottom-right { right: 4px; bottom: 6px; }
.tools { position: fixed; right: 14px; top: 14px; z-index: 4; display: grid; }
.tool { width: 48px; height: 48px; display: grid; place-items: center; color: var(--text); }
.tool + .tool { border-top: 0.5px solid var(--hair); }
.tool:hover { background: rgba(255, 255, 255, 0.08); }
.tool.busy { color: var(--accent); }
.zoomhint { position: fixed; left: calc(var(--panel-w) + 28px + (100vw - var(--panel-w) - 28px) / 2); transform: translateX(-50%); bottom: 24px; z-index: 3;
  padding: 10px 18px; border-radius: 999px; color: var(--text); font-size: 14px; font-weight: 500; pointer-events: none; }
.pin { width: 24px; height: 24px; pointer-events: none; }
.pin i { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--accent); border: 3.5px solid #fff; box-shadow: 0 3px 12px rgba(0, 0, 0, 0.5); animation: pop 0.5s cubic-bezier(0.3, 1.4, 0.5, 1) backwards; }
.pin::after { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: ring 1.4s ease-out 0.2s 2; }
.maplibregl-popup-content { background: var(--glass-solid); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); color: var(--text); border-radius: 20px; padding: 13px 16px;
  font-family: var(--font); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 14px 36px rgba(0, 0, 0, 0.5); }
.maplibregl-popup-tip { border-top-color: rgba(32, 36, 50, 0.92) !important; border-bottom-color: rgba(32, 36, 50, 0.92) !important; }
.pm-v { font-size: 20px; font-weight: 700; letter-spacing: -0.2px; }
.pm-s { color: var(--text-2); font-size: 13px; margin-top: 3px; line-height: 1.4; }
.pm-s a { color: var(--accent-2); text-decoration: none; }

/* ---------- type */
.topbar { display: flex; justify-content: space-between; align-items: center; height: 44px; margin: 2px 0 4px; }
.round { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--card-2); color: var(--text);
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.16); }
.round:hover { background: rgba(255, 255, 255, 0.2); }
.title { font-size: 28px; font-weight: 800; letter-spacing: -0.6px; line-height: 1.12; margin: 8px 4px 4px; }
.subtitle { color: var(--text-2); margin: 0 4px; font-size: 15px; }
.h { display: flex; align-items: baseline; gap: 8px; width: 100%; text-align: left; font-size: 20px; font-weight: 700; letter-spacing: -0.3px; margin: 24px 0 10px; padding: 0 4px; }
.h small { font-weight: 400; color: var(--text-2); font-size: 13px; letter-spacing: 0; }
.h .grow { flex: 1; }
.h .chev { align-self: center; color: var(--text-2); transition: transform 0.18s; }
.h.open .chev { transform: rotate(90deg); }
.foot { color: var(--text-2); font-size: 12.5px; line-height: 1.45; margin: 8px 4px 0; }
.foot a, .linkbtn { color: var(--accent-2); text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.warn { color: var(--amber); } .fine { color: var(--green); }

/* ---------- logos and round icons */
.logo { display: block; flex: none; width: 36px; height: 36px; border-radius: 23%; object-fit: cover; box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.2), 0 2px 8px rgba(0, 0, 0, 0.3); }
.logo.sm { width: 20px; height: 20px; box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.2); }
.logo.xs { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; box-shadow: none; }
.logo.lg { width: 58px; height: 58px; }
.logos { display: flex; gap: 8px; }
.ico { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 78%, #fff), var(--c)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35); }

/* ---------- networks picker (like "Places" in Maps) */
.nets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.net { display: grid; justify-items: center; gap: 6px; padding: 10px 2px 8px; border-radius: 20px; transition: opacity 0.2s, filter 0.2s; }
.net:hover { background: rgba(255, 255, 255, 0.06); }
.net .logo { width: 60px; height: 60px; }
.net b { font-size: 13.5px; font-weight: 600; }
.net span { font-size: 12.5px; color: var(--text-2); margin-top: -4px; }
.net[aria-pressed="false"] { opacity: 0.38; filter: saturate(0.2); }

/* ---------- cards, tiles, rows */
.card { background: var(--card); border-radius: 22px; overflow: hidden; box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.06); }
.card + .card, .card + .tiles, .tiles + .card, .gap { margin-top: 10px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { position: relative; background: var(--card); border-radius: 22px; padding: 12px 14px 14px; min-width: 0; box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.06); }
.tile.wide { grid-column: 1 / -1; }
.th { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--text-2); margin-bottom: 6px; }
.th .grow { flex: 1; }
.th small { text-transform: none; font-weight: 400; letter-spacing: 0; font-size: 12px; }
.th.two { align-items: flex-start; margin-bottom: 7px; }
.th.two > svg { margin-top: 0.5px; }
.th .tt { display: flex; flex-direction: column; gap: 2px; line-height: 1.2; }
.th .tt small { color: var(--text-3); font-size: 11.5px; }
.big { font-size: 30px; font-weight: 700; letter-spacing: -0.6px; line-height: 1.05; }
.big small { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--text-2); margin-left: 3px; }
.cap { color: var(--text-2); font-size: 13px; line-height: 1.35; margin-top: 3px; }
.cap.small { font-size: 12px; line-height: 1.4; margin-top: 8px; }
.r { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 10px 14px; text-align: left; }
.r + .r::before, .x + .r::before, .r + .x::before { content: ''; position: absolute; top: 0; left: 14px; right: 14px; height: 0.5px; background: var(--hair); }
button.r:hover { background: rgba(255, 255, 255, 0.05); }
.r .l { flex: 1; min-width: 0; font-weight: 600; }
.r .l small, .r .sub { display: block; color: var(--text-2); font-size: 13px; line-height: 1.35; margin-top: 1px; font-weight: 400; }
.r .v { color: var(--text-2); text-align: right; white-space: nowrap; flex: none; }
.r .v b { color: var(--text); font-weight: 700; }
.r .v small { display: block; font-size: 12px; color: var(--text-3); margin-top: 2px; }
.r.small { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.r.small .l { font-weight: 500; }
.r .l small.warn, .mast .l small.warn { color: var(--amber); }
.r.top { align-items: flex-start; }
.r.top .logo { margin-top: 2px; }
.r.top .l small + small { color: var(--text-3); }
.r .tech { flex: none; width: 28px; color: var(--text-2); font-size: 13px; font-weight: 700; }
.chev { flex: none; color: var(--text-3); transition: transform 0.18s; }
.r.open > .chev { transform: rotate(90deg); }
.dot { flex: none; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.dot.sq { border-radius: 3.5px; }
.best { color: var(--green); font-size: 13px; font-weight: 500; margin-left: 7px; }
.x { position: relative; padding: 2px 14px 14px; }

/* facts strip, as under a place name in Maps */
.facts { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin: 16px 0 2px; }
.facts div { text-align: center; padding: 0 4px; min-width: 0; }
.facts div + div { box-shadow: -0.5px 0 0 var(--hair); }
.facts span { display: block; font-size: 12px; color: var(--text-2); margin-bottom: 2px; white-space: nowrap; }
.facts b { font-size: 16px; font-weight: 700; white-space: nowrap; }

/* ---------- controls: one family, all capsules */
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 3px; background: var(--card); border-radius: 999px; box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.06); }
.seg button { height: 32px; border-radius: 999px; font-size: 13.5px; font-weight: 500; white-space: nowrap; padding: 0 6px; color: var(--text-2); }
.seg { position: relative; }
.seg:not(.multi)::before { content: ''; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / var(--n)); border-radius: 999px;
  background: rgba(255, 255, 255, 0.2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 5px rgba(0, 0, 0, 0.28);
  transform: translateX(calc(var(--i) * 100%)); transition: transform 0.38s cubic-bezier(0.3, 1.3, 0.45, 1); }
.seg button { position: relative; z-index: 1; }
.seg button.on { color: var(--text); font-weight: 600; }
.seg.multi { gap: 3px; }
.seg.multi button.on { background: rgba(255, 255, 255, 0.2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 5px rgba(0, 0, 0, 0.28); }
.seg.multi button:not(.on) { color: var(--text-3); }
.seg + .seg { margin-top: 8px; }
.switch { position: relative; flex: none; width: 56px; height: 30px; border-radius: 15px; background: rgba(255, 255, 255, 0.16); transition: background 0.2s; }
.switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 34px; height: 26px; border-radius: 13px; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); transition: transform 0.22s; }
.switch.on { background: var(--green); }
.switch.on::after { transform: translateX(18px); }
.stepper { flex: none; display: inline-grid; grid-template-columns: 46px 46px; background: var(--card-2); border-radius: 999px; overflow: hidden; }
.stepper button { height: 34px; font-size: 20px; line-height: 1; }
.stepper button + button { box-shadow: -0.5px 0 0 var(--hair); }
.stepper button:hover { background: rgba(255, 255, 255, 0.1); }
.actions { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; margin-top: 16px; }
.btn { display: grid; justify-items: center; align-content: center; gap: 5px; height: 62px; padding: 0 6px; border-radius: 18px; font-size: 13px; font-weight: 600; white-space: nowrap;
  background: color-mix(in srgb, var(--accent) 16%, rgba(255, 255, 255, 0.07)); color: var(--accent-2); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
.btn:hover { filter: brightness(1.15); }
.btn.primary { background: linear-gradient(180deg, #37a7ff, #0a7cff); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn.flat { display: flex; height: 44px; gap: 8px; font-size: 15px; }

/* ---------- charts */
.chart { display: block; width: 100%; height: auto; overflow: visible; }
.chart .grid { stroke: rgba(255, 255, 255, 0.1); stroke-width: 1; }
.chart .grid.dash { stroke-dasharray: 2 3; }
.chart text { fill: var(--text-2); font-size: 11px; }
.chart text.on { fill: var(--text); font-weight: 600; }
.chart text.off { fill: var(--text-3); }
.chart .roofline { stroke: rgba(255, 255, 255, 0.42); stroke-width: 1; stroke-dasharray: 3 3; }
.chart .sector-ant { transform-box: fill-box; transform-origin: center; transform: rotate(var(--lean, 8deg)); animation: panel-lean 0.9s cubic-bezier(0.3, 1.35, 0.5, 1) 0.3s backwards; }
@keyframes panel-lean { from { transform: rotate(0deg); } }
.readout { text-align: center; margin: 2px 0 6px; }
.readout span { display: block; color: var(--text-2); font-size: 12.5px; }
.readout b { font-size: 26px; font-weight: 700; letter-spacing: -0.4px; }
.readout b small { font-size: 14px; font-weight: 600; color: var(--text-2); margin-left: 3px; }
.rank { display: grid; gap: 2px; }
.rk { display: grid; grid-template-columns: 36px 1fr auto; column-gap: 12px; row-gap: 5px; align-items: center; width: 100%; text-align: left; padding: 10px 14px; border-radius: 18px; }
.rk:hover, .rk.open { background: rgba(255, 255, 255, 0.07); }
.rk .logo { grid-row: span 2; }
.rk .nm { font-weight: 700; }
.rk .sp { font-weight: 700; font-size: 17px; }
.rk .sp small { font-size: 12px; font-weight: 500; color: var(--text-2); margin-left: 2px; }
.rk .bar { grid-column: 2 / 4; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.09); overflow: hidden; }
.rk .bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 45%, transparent), var(--c)); transition: width 0.4s; }
.rk .q { grid-column: 2 / 4; color: var(--text-2); font-size: 13px; margin-top: -1px; }
.bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 13px; vertical-align: -1px; }
.bars i { width: 3.5px; border-radius: 1.5px; background: var(--text-3); }
.bars i:nth-child(1) { height: 4px; } .bars i:nth-child(2) { height: 7px; } .bars i:nth-child(3) { height: 10px; } .bars i:nth-child(4) { height: 13px; }
.bars i.on { background: var(--text); }
.spec { display: grid; grid-template-columns: 46px 1fr auto; gap: 7px 10px; align-items: center; font-size: 13px; }
.spec .bn { font-weight: 700; }
.spec .bn small { display: block; font-weight: 500; font-size: 11px; color: var(--text-2); margin-top: -1px; }
.spec .st { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: rgba(255, 255, 255, 0.07); }
.spec .st i { display: block; height: 100%; }
.spec .st i + i { box-shadow: -1px 0 0 rgba(0, 0, 0, 0.35); }
.spec .mh { color: var(--text-2); text-align: right; white-space: nowrap; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; font-size: 12.5px; color: var(--text-2); }
.areas { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 10px; align-items: center; font-size: 13.5px; margin-top: 12px; }
.areas .bar { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.areas .bar i { display: block; height: 100%; border-radius: 4px; background: var(--c); }
.areas .mh { color: var(--text-2); white-space: nowrap; text-align: right; }
.ramp { margin: 14px 4px 0; }
.ramp i { display: block; height: 8px; border-radius: 4px; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 16%, transparent), var(--c) 62%, #fff); }
.ramp div { display: flex; justify-content: space-between; margin-top: 5px; font-size: 12px; color: var(--text-2); }
.scale { display: flex; flex-wrap: wrap; gap: 5px 12px; margin: 10px 4px 0; font-size: 12px; color: var(--text-2); }
.scale span::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c); margin-right: 5px; }
.scale span.hollow::before { background: transparent; box-shadow: inset 0 0 0 1.2px var(--c); }
.rose { display: block; margin: 0 auto; }
.mast { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 10px 14px; }
.mast + .mast { box-shadow: 0 -0.5px 0 var(--hair); }
.mast:hover { background: rgba(255, 255, 255, 0.05); }
.mast .l { flex: 1; min-width: 0; font-weight: 600; }
.mast .l small { display: block; color: var(--text-2); font-size: 13px; font-weight: 400; line-height: 1.35; margin-top: 1px; }

/* ---------- compass screen */
.compass { position: fixed; inset: 0; z-index: 20; background: #0d0f16; display: flex; flex-direction: column; align-items: center;
  padding: max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom)); overflow-y: auto; }
.cx-top { width: 100%; max-width: 520px; display: flex; align-items: flex-start; gap: 12px; }
.cx-top .who { flex: 1; min-width: 0; }
.cx-top .opname { display: block; margin-bottom: 2px; color: var(--text-2); font-size: 13px; font-weight: 600; }
.cx-top h2 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.15; }
.cx-top p { margin: 3px 0 0; color: var(--text-2); }
.cx-close { width: 38px; height: 38px; border-radius: 50%; background: var(--card-2); display: grid; place-items: center; color: var(--text); flex: none; }
.cx-dial { width: min(78vw, 46vh, 380px); aspect-ratio: 1; margin: 22px 0 8px; touch-action: none; cursor: grab; }
.cx-turn { font-size: 32px; font-weight: 800; letter-spacing: -0.5px; text-align: center; min-height: 40px; }
.cx-turn.hit { color: var(--green); }
.cx-facing { color: var(--text-2); text-align: center; min-height: 20px; margin-top: 4px; }
.cx-stats { width: 100%; max-width: 520px; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; background: var(--card); border-radius: 22px; overflow: hidden; }
.cx-stats div { padding: 12px 6px; text-align: center; white-space: nowrap; }
.cx-stats div + div { box-shadow: -0.5px 0 0 var(--hair); }
.cx-stats span { display: block; font-size: 12px; color: var(--text-2); margin-bottom: 3px; }
.cx-stats b { font-size: 18px; font-weight: 700; letter-spacing: -0.2px; }
.cx-msg { width: 100%; max-width: 520px; margin-top: 12px; color: var(--text-2); font-size: 13px; line-height: 1.5; text-align: center; }
.cx-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; justify-content: center; }
.cx-actions .btn { display: flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px; font-size: 15px; border-radius: 999px; }

/* ---------- phones: the sheet comes up from the bottom, as in Maps */
@media (max-width: 760px) {
  :root { --panel-w: 100vw; }
  .panel { top: auto; left: 6px; right: 6px; bottom: 6px; width: auto; height: 46vh; border-radius: 30px; transition: height 0.25s ease; }
  .panel.tall { height: 86vh; }
  .panel.low { height: 112px; }
  .grip { display: block; height: 16px; flex: none; cursor: grab; }
  .grip::before { content: ''; display: block; width: 38px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.34); margin: 7px auto 0; }
  .search { margin-top: 2px; }
  .tools { top: max(10px, env(safe-area-inset-top)); right: 10px; }
  .maplibregl-ctrl-attrib.maplibregl-compact-show { max-width: 70vw; }
  .maplibregl-ctrl-bottom-right { bottom: calc(46vh + 10px); }
  .maplibregl-ctrl-group { display: none; }
  .zoomhint { left: 50%; bottom: calc(46vh + 64px); white-space: nowrap; }   /* nad przyciskiem „Legenda”, który stoi w tym samym rzędzie */
  .seg button { font-size: 13px; letter-spacing: -0.2px; padding: 0 2px; }
}

/* ---------- motion: things slide, grow and settle instead of jumping */
@property --tint { syntax: '<color>'; inherits: true; initial-value: #1a8cff; }
.panel { transition: --tint 0.7s ease, height 0.25s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes growx { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes growy { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pop { 0% { transform: scale(0.2); opacity: 0; } 60% { transform: scale(1.14); opacity: 1; } 100% { transform: scale(1); } }
@keyframes ring { 0% { transform: scale(0.4); opacity: 0.8; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }

.scroll [data-k] { animation: rise 0.46s cubic-bezier(0.2, 0.9, 0.25, 1) backwards; }
.scroll.fresh > * { animation: rise 0.56s cubic-bezier(0.2, 0.9, 0.25, 1) backwards; animation-delay: calc(var(--n, 0) * 38ms); }
.fade { animation: fade 0.9s ease 0.12s backwards; }
.growx { transform-origin: left center; animation: growx 0.75s cubic-bezier(0.2, 0.9, 0.25, 1) 0.1s backwards; }
.growy { transform-box: fill-box; transform-origin: center bottom; animation: growy 0.62s cubic-bezier(0.25, 1.1, 0.4, 1) backwards; animation-delay: calc(80ms + var(--n, 0) * 48ms); }
.draw { stroke-dasharray: 1; animation: draw 1s cubic-bezier(0.3, 0.7, 0.2, 1) 0.1s backwards; }
.petal { transform-box: view-box; transform-origin: center; animation: pop 0.62s cubic-bezier(0.3, 1.3, 0.5, 1) backwards; animation-delay: calc(120ms + var(--n, 0) * 90ms); }
.scrub { transition: transform 0.34s cubic-bezier(0.3, 1.25, 0.45, 1); }
.scrub circle { transition: cy 0.34s ease; }
.needle { transition: transform 0.6s cubic-bezier(0.3, 1.3, 0.45, 1); }
.rk .bar i { transition: width 0.7s cubic-bezier(0.2, 0.9, 0.25, 1); }
.floorchart { cursor: ew-resize; touch-action: none; }

button, .tool, .round { transition: transform 0.16s cubic-bezier(0.3, 1.4, 0.5, 1), background-color 0.2s ease, filter 0.2s ease, opacity 0.25s ease, color 0.2s ease; }
button:active { transform: scale(0.965); }
.round:active, .tool:active, .stepper button:active { transform: scale(0.88); }
.net:active { transform: scale(0.93); }
.net .logo, .logo { transition: transform 0.25s cubic-bezier(0.3, 1.4, 0.5, 1); }
.net:hover .logo { transform: translateY(-2px) scale(1.04); }
.round.done, .btn.done { color: var(--green); }
.spin { display: inline-block; width: 12px; height: 12px; margin-right: 7px; vertical-align: -1.5px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.22); border-top-color: #fff; animation: spin 0.8s linear infinite; }
.skeleton { background: linear-gradient(100deg, rgba(255, 255, 255, 0.05) 30%, rgba(255, 255, 255, 0.13) 50%, rgba(255, 255, 255, 0.05) 70%) 0 0 / 220% 100%; animation: shimmer 1.3s linear infinite; }

/* ---------- legend: what the symbols on the map mean, only those on screen right now */
.legend-box { position: fixed; left: calc(var(--panel-w) + 28px); bottom: 14px; z-index: 4; }
.lg-toggle { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 13px; border-radius: 20px; font-size: 13.5px; font-weight: 600; color: var(--text); }
.lg-card { width: 262px; border-radius: 24px; padding: 12px 14px 13px; transform-origin: left bottom; animation: lg-in 0.34s cubic-bezier(0.25, 1.2, 0.4, 1) both; }
.lg-head { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--text-2); margin-bottom: 9px; }
.lg-head span { flex: 1; }
.lg-head button { width: 26px; height: 26px; margin: -4px -4px -4px 0; border-radius: 50%; display: grid; place-items: center; background: var(--card-2); color: var(--text); }
.lg-ops { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 12px; }
.lg-ops span { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.lg-ops i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1.5px rgba(11, 15, 28, 0.9); }
.lg-sep { height: 0.5px; background: var(--hair); margin: 9px 0 7px; }
.lg-row { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: center; min-height: 25px; font-size: 13px; line-height: 1.25; }
.lg-row svg { display: block; width: 36px; height: 18px; overflow: visible; }
.lg-row { animation: rise 0.34s ease both; }
.lg-row + .lg-row { margin-top: 6px; }
.lg-row small { display: block; color: var(--text-2); font-size: 12px; }
.lg-ramp { height: 8px; border-radius: 4px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.7) 62%, #fff); }
.lg-dots { display: flex; gap: 3px; align-items: center; }
.lg-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
@keyframes lg-in { from { opacity: 0; transform: scale(0.86) translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- introduction: five steps over a live 3D scene (intro.js, intro3d.js); first visit, again from "?" */
.intro { position: fixed; inset: 0; z-index: 40; overflow: hidden; background: #070a16; animation: fade 0.45s ease both; }
.intro.leaving { animation: in-leave 0.3s ease both; }
.in-stage { position: absolute; inset: 0; background: #070a16 url('assets/intro/poster.jpg') center / cover no-repeat; }
.in-stage canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 0.9s ease; cursor: grab; touch-action: pan-y; }
.in-stage canvas:active { cursor: grabbing; }
.in-stage.live canvas { opacity: 1; }
.in-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 8, 18, 0.93) 0%, rgba(5, 8, 18, 0.76) 26%, rgba(5, 8, 18, 0) 57%), linear-gradient(0deg, rgba(5, 8, 18, 0.5), rgba(5, 8, 18, 0) 20%); }
.in-top { position: absolute; top: 0; left: 0; right: 0; z-index: 4; display: flex; align-items: center; justify-content: space-between; padding: 20px clamp(20px, 4.6vw, 76px); pointer-events: none; }
.in-top > * { pointer-events: auto; }
/* Znak marki: ikona + „Który Nadajnik”. Jeden wzór wszędzie; rozmiar ustawia font-size miejsca, w którym stoi. */
.wordmark { display: inline-flex; align-items: center; gap: 0.58em; font-weight: 700; letter-spacing: -0.021em; line-height: 1; color: var(--text); white-space: nowrap; }
.wordmark img { display: block; width: 1.79em; height: 1.79em; border-radius: 22.5%; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35); }
.wordmark i { font-style: normal; font-weight: 500; color: var(--text-2); }
.in-brand { display: flex; align-items: center; font-size: 19px; }
.in-skip { height: 38px; padding: 0 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--text); background: rgba(40, 46, 66, 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.16); transition: transform 0.15s, background 0.2s; }
.in-skip:hover { background: rgba(60, 68, 94, 0.7); }
.in-skip:active { transform: scale(0.94); }

.in-copy { position: absolute; z-index: 3; left: clamp(20px, 4.6vw, 76px); top: 50%; transform: translateY(-50%); width: min(456px, 41vw); max-height: calc(100% - 150px); overflow-y: auto; scrollbar-width: none; padding: 4px 2px; }
.in-copy::-webkit-scrollbar { display: none; }
.in-text > * { animation: in-rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: calc(var(--i, 0) * 55ms + 60ms); }
.in-eyebrow { font-size: 14px; font-weight: 600; color: var(--accent-2); margin-bottom: 10px; }
.in-copy h1 { font-size: clamp(36px, 3.7vw, 54px); font-weight: 800; letter-spacing: -0.032em; line-height: 1.03; text-wrap: balance; }
.in-copy h2 { font-size: clamp(30px, 2.9vw, 42px); font-weight: 800; letter-spacing: -0.028em; line-height: 1.07; text-wrap: balance; }
.in-copy p { font-size: 17px; line-height: 1.46; color: rgba(235, 238, 250, 0.76); margin-top: 14px; text-wrap: pretty; }
.in-copy p.in-lead { color: var(--text); font-weight: 600; margin-top: 20px; font-size: 16px; }
.in-copy p.in-small { font-size: 13px; color: var(--text-3); margin-top: 16px; }
.in-copy p.in-small a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.in-copy p.in-credit-m { display: none; }
.in-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 9px; }
.in-list li { display: grid; grid-template-columns: 18px 1fr; gap: 11px; align-items: start; font-size: 16px; line-height: 1.38; color: rgba(245, 247, 255, 0.9); }
.in-list li svg { margin-top: 2px; }
.in-list b { font-weight: 700; color: #fff; }

.in-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; animation: in-rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s both; }
.in-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 999px; font-size: 16px; font-weight: 600; white-space: nowrap; color: #fff;
  background: rgba(255, 255, 255, 0.13); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.14); transition: transform 0.15s, filter 0.2s; }
.in-btn:hover { filter: brightness(1.14); }
.in-btn:active { transform: scale(0.96); }
.in-btn.primary { background: linear-gradient(180deg, #37a7ff, #0a7cff); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.in-btn.quiet { background: none; box-shadow: none; color: var(--text-2); padding: 0 12px; }
.in-btn svg { flex: none; }
.in-back { flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, 0.13); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.14); transition: transform 0.15s; }
.in-back:active { transform: scale(0.9); }
.in-dots { display: flex; gap: 7px; margin-left: 8px; }
.in-dots button { width: 7px; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.3); transition: width 0.3s cubic-bezier(0.3, 1.3, 0.45, 1), background 0.3s; }
.in-dots button.on { width: 22px; background: #fff; }
.in-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.in-soon, .in-store { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; margin-top: 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--text);
  background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.14); text-decoration: none; }
.intro[data-step="app"] .in-nav { margin-top: 20px; }
.intro[data-step="app"] .in-nav .in-btn { padding: 0 17px; font-size: 15px; }
.intro[data-step="app"] .in-dots { width: 100%; margin: 2px 0 0 4px; }

.in-chips { display: grid; grid-template-columns: repeat(5, auto); gap: 5px; margin-top: 12px; }
.in-chips button { height: 36px; padding: 0 4px; border-radius: 999px; font-size: 13.5px; white-space: nowrap; font-weight: 600; color: var(--text-2); background: rgba(255, 255, 255, 0.085);
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.07); transition: background 0.25s, color 0.25s, transform 0.15s; }
.in-chips button:active { transform: scale(0.94); }
.in-chips button.on { color: #fff; background: rgba(255, 255, 255, 0.24); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 1px 6px rgba(0, 0, 0, 0.3); }
.in-control { margin-top: 12px; padding: 16px 18px 15px; border-radius: 24px; background: rgba(24, 30, 50, 0.6);
  -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.13), 0 14px 40px rgba(0, 0, 0, 0.28); }
.in-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.in-name { font-size: 14.5px; font-weight: 600; color: var(--text-2); }
.in-val { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.in-val small { font-size: 15px; font-weight: 500; color: var(--text-2); margin-left: 6px; letter-spacing: 0; }
.in-control p { font-size: 14.5px; line-height: 1.42; margin-top: 13px; color: rgba(235, 238, 250, 0.72); min-height: 62px; }
.in-control .seg button { height: 36px; font-size: 14.5px; }
.in-range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 28px; margin: 0; background: none; cursor: pointer; }
.in-range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, #37a7ff var(--fill), rgba(255, 255, 255, 0.16) var(--fill)); }
.in-range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4), 0 0 0 0.5px rgba(0, 0, 0, 0.1); transition: transform 0.15s; }
.in-range:active::-webkit-slider-thumb { transform: scale(1.12); }
.in-range::-moz-range-track { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.16); }
.in-range::-moz-range-progress { height: 6px; border-radius: 3px; background: #37a7ff; }
.in-range::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4); }

.in-labels { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.in-label { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity 0.4s ease; will-change: transform; }
.in-label.in { opacity: 1; }
.in-label.off { opacity: 0; }
.in-label i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.22); }
.in-label u { position: absolute; left: 0; top: 0; width: var(--len); height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.4)); transform-origin: 0 0; transform: rotate(var(--ang)); }
.in-label b { position: absolute; left: var(--dx); top: var(--dy); transform: translate(var(--nx, 0px), -50%); white-space: nowrap; padding: 7px 13px 8px; border-radius: 15px; font-size: 14.5px; font-weight: 650; line-height: 1.2; color: #fff;
  background: rgba(22, 28, 48, 0.62); -webkit-backdrop-filter: blur(16px) saturate(1.7); backdrop-filter: blur(16px) saturate(1.7); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.18), 0 8px 24px rgba(0, 0, 0, 0.32); }
.in-label.left b { transform: translate(calc(-100% + var(--nx, 0px)), -50%); }
.in-label small { display: block; font-size: 12.5px; font-weight: 500; color: var(--text-2); margin-top: 1px; }
.in-label small:empty { display: none; }
.intro.flat .in-labels, .intro.flat .in-hint { display: none; }
.in-control[hidden] { display: none; }
.in-hint { position: absolute; z-index: 2; left: 69%; bottom: 44px; transform: translateX(-50%); display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 999px; white-space: nowrap;
  font-size: 13.5px; font-weight: 600; color: var(--text-2); background: rgba(22, 28, 48, 0.55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.14);
  opacity: 0; pointer-events: none; transition: opacity 0.6s ease; }
.intro[data-ready="1"][data-step="start"]:not(.dragged) .in-hint, .intro[data-ready="1"][data-step="beam"][data-param=""]:not(.dragged) .in-hint { opacity: 1; transition-delay: 1.6s; }

.in-phones { position: absolute; z-index: 2; right: clamp(40px, 9vw, 150px); top: 50%; height: min(74vh, 700px); aspect-ratio: 0.72; margin: 0; transform: translateY(-46%); opacity: 0; pointer-events: none;
  transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.intro[data-step="app"] .in-phones { opacity: 1; transform: translateY(-50%); }
.in-phone { position: absolute; right: 0; top: 0; height: 100%; aspect-ratio: 1206 / 2622; border-radius: 13% / 6%; padding: 1.3%; background: #05060a; overflow: hidden;
  box-shadow: 0 0 0 1.5px #343a4e, 0 0 0 3px #0a0c12, 0 40px 90px rgba(0, 0, 0, 0.6); }
.in-phone img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 11.4% / 5.25%; }
.in-phone.back { right: auto; left: 0; top: 7%; height: 86%; filter: brightness(0.8); }

.in-ops { display: flex; gap: 9px; margin-top: 16px; }
.in-ops img { display: block; width: 36px; height: 36px; border-radius: 23%; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3); }
.in-sources { display: flex; align-items: center; gap: 28px; }
.in-sources span { font-size: 13px; color: var(--text-3); white-space: nowrap; }
.in-sources a { display: block; opacity: 0.6; transition: opacity 0.2s; }
.in-sources a:hover { opacity: 1; }
.in-sources img { display: block; width: auto; height: var(--h); }
.in-sources.copy { flex-wrap: wrap; row-gap: 11px; margin-top: 30px; animation: in-rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.42s both; }
.in-sources.copy span { flex-basis: 100%; }
.in-sources.bottom { position: absolute; z-index: 3; left: 50%; bottom: 50px; transform: translateX(-50%); opacity: 0; pointer-events: none; transition: opacity 0.5s ease; }
.intro[data-sources="bottom"][data-step="start"] .in-sources.bottom { opacity: 1; pointer-events: auto; transition-delay: 0.5s; }
.intro[data-sources="bottom"] .in-hint { left: 84%; }
.in-credit { position: absolute; z-index: 3; right: 16px; bottom: 10px; max-width: min(560px, 50vw); margin: 0; text-align: right; font-size: 11px; line-height: 1.4; color: rgba(235, 238, 250, 0.34); }
.in-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.in-credit a:hover { color: var(--text-2); }
.title.brand { font-size: 22px; margin: 10px 4px 9px; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 13px 4px 2px; }
.quick button { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px 0 11px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--text);
  background: var(--card-2); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.08); transition: transform 0.15s, background 0.2s; }
.quick button:hover { background: rgba(255, 255, 255, 0.2); }
.quick button:active { transform: scale(0.95); }
.quick button svg { color: var(--accent-2); }
.search.nudge { animation: kn-nudge 1.5s ease 0.15s 2; }
@keyframes in-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes in-leave { to { opacity: 0; } }
@keyframes kn-nudge { 0%, 100% { box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.12); } 50% { box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.12), 0 0 0 4px rgba(26, 140, 255, 0.55); } }

/* phones: the legend sits above the sheet; the introduction puts the scene on top and the text below it */
@media (max-width: 760px) {
  .legend-box { left: 10px; bottom: calc(46vh + 14px); }
  .lg-card { width: min(262px, calc(100vw - 20px)); }
  .in-stage, .in-labels { inset: 0 0 auto 0; height: 43dvh; }
  .in-shade { background: linear-gradient(180deg, rgba(5, 8, 18, 0.6) 0, rgba(5, 8, 18, 0) 11dvh, rgba(5, 8, 18, 0) 31dvh, #070a16 43dvh); }
  .in-top { padding: 12px 16px; }
  .in-brand { font-size: 17px; }
  .in-copy { left: 0; right: 0; top: 40dvh; bottom: 0; width: auto; max-height: none; transform: none; padding: 0 20px calc(118px + env(safe-area-inset-bottom)); }
  .in-copy h1 { font-size: 31px; }
  .in-copy h2 { font-size: 27px; }
  .in-copy p { font-size: 16px; margin-top: 11px; }
  .in-copy p.in-lead { margin-top: 16px; }
  .intro[data-step="beam"]:not([data-param=""]) .in-copy p.in-lead { display: none; }
  .in-hint { left: 50%; bottom: auto; top: calc(40dvh - 44px); height: 30px; font-size: 12.5px; }
  .intro[data-step="app"] .in-dots { width: 100%; margin: 0 0 4px; }
  .intro[data-step="beam"] .in-copy p { font-size: 15.5px; }
  .in-copy p.in-credit-m { display: block; }
  .in-list li { font-size: 15.5px; }
  .in-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; flex-wrap: wrap; margin: 0; padding: 18px 20px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(0deg, #070a16 72%, rgba(7, 10, 22, 0)); }
  .in-nav .in-btn.primary { flex: 1; }
  .in-dots { order: -1; width: 100%; justify-content: center; margin: 0 0 4px; }
  .intro[data-step="app"] .in-nav { margin-top: 0; }
  .in-locate { flex: none; width: 50px; padding: 0 !important; }
  .in-locate span { display: none; }
  .in-control { padding: 14px 16px 13px; }
  .in-control p { min-height: 62px; margin-top: 10px; font-size: 14px; }
  .in-chips { grid-template-columns: repeat(5, max-content); overflow-x: auto; margin-right: -20px; padding-right: 20px; scrollbar-width: none; }
  .in-chips::-webkit-scrollbar { display: none; }
  .in-chips button { padding: 0 14px; font-size: 14.5px; }
  .in-label b { font-size: 12.5px; padding: 5px 10px 6px; border-radius: 12px; }
  .in-label small { font-size: 11px; }
  .in-phones { right: 50%; top: 23dvh; height: 35dvh; transform: translate(50%, -46%); }
  .intro[data-step="app"] .in-phones { transform: translate(50%, -50%); }
  .in-credit { display: none; }
  .in-sources.bottom { display: none; }
  .in-sources.copy { margin-top: 18px; gap: 16px; row-gap: 9px; flex-wrap: wrap; }
  .in-sources.copy img { height: calc(var(--h) * 0.72); }
  .intro[data-sources="bottom"] .in-hint { left: 50%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
