/* The Endless Tower – website styles. Design language of the channel: navy glass panels, cobalt bubbles with white outline, cyan only for live data. */
@font-face { font-family: 'Lilita One'; src: url('../fonts/LilitaOne-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url('../fonts/InterTight-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url('../fonts/InterTight-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url('../fonts/InterTight-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url('../fonts/InterTight-900.woff2') format('woff2'); font-weight: 900; font-display: swap; }

:root {
  --navy: #0b1236; --navy2: #060a22; --ink: #13207a; --ink2: #0a1150;
  --cob1: #3a62f0; --cob2: #16268a; --cob: #2747d8;
  --ice: #7fe3ff; --cyan: #4fd9ff; --white: #ffffff;
  --text: #ffffff; --muted: rgba(255,255,255,0.68); --faint: rgba(255,255,255,0.42);
  --panel: rgba(14, 24, 78, 0.62); --panel2: rgba(10, 17, 60, 0.85); --line: rgba(255,255,255,0.14); --line2: rgba(255,255,255,0.26);
  --epic1: #8a4dff; --epic2: #3b1a8f; --leg1: #ff5aa8; --leg2: #8a1656;
  --r: 22px; --r2: 16px; --gutter: 16px; --maxw: 1360px;
  --display: 'Lilita One', 'Impact', 'Arial Black', sans-serif; --body: 'Inter Tight', 'Segoe UI', system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--navy); color: var(--text); font-family: var(--body); font-weight: 600; font-size: 17px; line-height: 1.5; overflow-x: hidden;
  background-image: radial-gradient(1200px 700px at 50% -200px, rgba(58, 98, 240, 0.35), transparent 60%), radial-gradient(900px 500px at 100% 40%, rgba(127, 227, 255, 0.08), transparent 60%); }
img, svg, video { max-width: 100%; display: block; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='0.9'/></svg>"); }
main, header, footer { position: relative; z-index: 1; }
a { color: var(--ice); text-decoration: none; }
button { font: inherit; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; left: -9999px; }
h1, h2, h3, .display { font-family: var(--display); font-weight: 400; letter-spacing: 0.01em; margin: 0; line-height: 1.05; }
h1 { font-size: clamp(38px, 7vw, 64px); text-shadow: 0 6px 24px rgba(5, 10, 40, 0.5); }
h2 { font-size: clamp(30px, 5vw, 44px); }
h3 { font-size: 24px; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.tag { display: inline-block; font-family: var(--body); font-weight: 800; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--white);
  background: linear-gradient(180deg, var(--cob1), var(--cob2)); border: 2px solid var(--white); border-radius: 999px; padding: 4px 12px; box-shadow: 0 4px 14px rgba(5, 10, 40, 0.4); }
.tag.ice { background: rgba(127, 227, 255, 0.12); color: var(--ice); border-color: rgba(127, 227, 255, 0.5); box-shadow: none; }
.tag.ghost { background: transparent; border-color: var(--line2); color: var(--muted); box-shadow: none; }

/* bubbles */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; border: 3px solid var(--white); border-radius: 999px; padding: 12px 24px;
  background: linear-gradient(180deg, var(--cob1), var(--cob2)); color: var(--white); font-family: var(--display); font-size: 20px; letter-spacing: 0.02em; line-height: 1;
  box-shadow: 0 8px 22px rgba(5, 10, 40, 0.5), inset 0 2px 0 rgba(255,255,255,0.18); transition: transform 0.12s ease, box-shadow 0.12s ease; text-shadow: 0 2px 0 rgba(10, 17, 80, 0.6); white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(5, 10, 40, 0.55), inset 0 2px 0 rgba(255,255,255,0.18); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn.white { background: var(--white); color: var(--ink); text-shadow: none; }
.btn.ghost { background: rgba(255,255,255,0.06); border-color: var(--line2); box-shadow: none; }
.btn.sm { font-size: 17px; padding: 9px 18px; border-width: 2px; }
.btn svg { width: 22px; height: 22px; }
.btn[disabled] { opacity: 0.55; cursor: default; transform: none; }

.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 16px 40px rgba(3, 6, 30, 0.45), inset 0 1px 0 rgba(255,255,255,0.09); }
.panel.solid { background: var(--panel2); }
.panel .pad { padding: 22px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(11, 18, 54, 0.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 66px; }
.top .logo img { height: 34px; width: auto; }
.top nav { display: none; gap: 22px; margin-left: 8px; }
.top nav a { color: var(--muted); font-weight: 800; font-size: 15px; letter-spacing: 0.02em; white-space: nowrap; }
.top nav a:hover { color: var(--white); }
.top .spacer { flex: 1; }
.top-find { display: flex; align-items: center; min-width: 0; }
.top-find .tf { display: flex; align-items: center; gap: 6px; background: rgba(4, 8, 30, 0.7); border: 2px solid var(--line2); border-radius: 999px; padding: 0 6px 0 12px; height: 40px; }
.top-find .tf:focus-within { border-color: var(--ice); }
.top-find svg { width: 18px; height: 18px; color: var(--ice); flex: none; }
.top-find input { width: 118px; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--white); font: 800 14px var(--body); }
.top-find input::placeholder { color: var(--faint); }
.top-find .tf button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: linear-gradient(180deg, var(--cob1), var(--cob2)); color: var(--white); font-weight: 900; cursor: pointer; }
.top-find .me { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 12px; border-radius: 999px; background: rgba(127, 227, 255, 0.12); border: 2px solid rgba(127, 227, 255, 0.5); color: var(--white); font-weight: 800; font-size: 14px; max-width: 200px; }
.top-find .me span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-find .me b { font-family: var(--display); font-weight: 400; color: var(--ice); }
.top-find .chg { margin-left: 4px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line2); background: transparent; color: var(--muted); cursor: pointer; }
@media (max-width: 420px) { .top-find input { width: 86px; } .top .logo img { height: 28px; } }

/* hero */
.hero { padding: 36px 0 24px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(700px 420px at 72% 60%, rgba(58, 98, 240, 0.28), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; }
.hero .grid { display: grid; gap: 26px; align-items: center; }
.hero .copy p.lead { font-size: 19px; color: var(--muted); max-width: 560px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 26px; }
.hero .hero-logo { width: min(300px, 70%); margin: 0 auto 4px; filter: drop-shadow(0 10px 26px rgba(3, 6, 30, 0.55)); }
.hero .visual { display: grid; justify-items: center; }
.hero .copy h1 { margin-top: 6px; }
.holo { position: relative; width: 100%; height: clamp(300px, 50vh, 560px); margin-top: -10px; }
.holo canvas { position: absolute; inset: 0; }
.holo-cap { margin: -6px auto 0; width: fit-content; max-width: 100%; background: rgba(8, 14, 40, 0.8); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 800; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.holo-cap span { font-family: var(--display); color: var(--ice); letter-spacing: 0.08em; }
.holo-cap b { color: var(--white); }
.phone { position: relative; aspect-ratio: 9 / 16; width: min(100%, 380px); margin: 0 auto; border-radius: 30px; border: 3px solid var(--white); overflow: hidden;
  box-shadow: 0 30px 70px rgba(3, 6, 30, 0.6), 0 0 0 1px rgba(255,255,255,0.1); background: #1a2460; }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone .cap { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px;
  background: rgba(8, 14, 40, 0.86); border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px; font-size: 13px; font-weight: 800; letter-spacing: 0.04em; }
.phone .cap b { font-family: var(--display); font-weight: 400; font-size: 22px; color: var(--ice); letter-spacing: 0; }

/* live panel */
.live { display: grid; gap: 14px; padding: 18px 20px; min-width: 0; }
.live-top { display: grid; gap: 14px; grid-template-columns: auto 1fr; align-items: center; }
.live .num { font-family: var(--display); font-size: clamp(44px, 9vw, 64px); line-height: 1; color: var(--ice); text-shadow: 0 0 24px rgba(127, 227, 255, 0.35); }
.live .lbl { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 800; white-space: nowrap; }
.live .cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; min-width: 0; }
.live .cell { background: rgba(255,255,255,0.05); border: 1px solid var(--line); border-radius: 14px; padding: 8px 10px; min-width: 0; }
.live .cell .v { font-family: var(--display); font-size: clamp(18px, 2.4vw, 24px); line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.segs { display: grid; grid-template-columns: repeat(20, 1fr); gap: 3px; height: 14px; }
.segs i { display: block; border-radius: 3px; background: rgba(127, 227, 255, 0.12); border: 1px solid rgba(127, 227, 255, 0.18); }
.segs i.on { background: var(--ice); border-color: var(--ice); box-shadow: 0 0 10px rgba(127, 227, 255, 0.6); }
.live .next { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; font-weight: 800; font-size: 15px; }
.live .next b { font-family: var(--display); font-weight: 400; font-size: 22px; color: var(--ice); }
.live .upd { font-size: 12px; color: var(--faint); }
.live .cell .v small { font-size: 11px; font-family: var(--body); font-weight: 800; color: var(--muted); letter-spacing: 0.06em; }
.pending { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--muted); background: rgba(127, 227, 255, 0.08); border: 1px solid rgba(127, 227, 255, 0.35); border-radius: 14px; padding: 9px 12px; line-height: 1.35; }
.pending b { color: var(--ice); white-space: nowrap; }
.pending .pulse { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 0 0 rgba(127, 227, 255, 0.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(127, 227, 255, 0.7); } 70% { box-shadow: 0 0 0 9px rgba(127, 227, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(127, 227, 255, 0); } }
@media (max-width: 420px) { .live-top { grid-template-columns: 1fr; } }

/* 3D viewer */
.tv { position: relative; height: clamp(380px, 62vh, 700px); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #1a2460; box-shadow: 0 24px 60px rgba(3, 6, 30, 0.5); }
.tv .tv-stage, .tv .tv-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; touch-action: none; }
.tv .tv-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.6s; }
.tv.loaded .tv-poster, .tv.loaded .tv-start { opacity: 0; pointer-events: none; }
.tv .tv-start { position: absolute; inset: 0; display: grid; place-content: center; gap: 8px; text-align: center; background: rgba(11, 18, 54, 0.35); transition: opacity 0.4s; }
.tv .tv-size { font-size: 13px; color: var(--white); font-weight: 800; text-shadow: 0 2px 8px rgba(0,0,0,0.6); }
.tv .tv-load { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(255,255,255,0.15); opacity: 0; transition: opacity 0.3s; }
.tv.loading .tv-load { opacity: 1; }
.tv .tv-load i { display: block; height: 100%; width: 0; background: var(--ice); box-shadow: 0 0 10px var(--ice); transition: width 0.2s; }
.tv .tv-ui { position: absolute; left: 12px; right: 12px; bottom: 14px; display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; opacity: 0; transition: opacity 0.4s; }
.tv.loaded .tv-ui { opacity: 1; }
.tv .tv-ui button { cursor: pointer; border: 2px solid var(--white); border-radius: 999px; padding: 7px 14px; background: rgba(11, 18, 54, 0.78); color: var(--white); font: 800 13px var(--body); letter-spacing: 0.04em; backdrop-filter: blur(8px); }
.tv .tv-ui button:hover, .tv .tv-ui button.on { background: linear-gradient(180deg, var(--cob1), var(--cob2)); }
.tv .tv-hint { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); background: rgba(11, 18, 54, 0.78); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 12px; font-weight: 800; color: var(--muted); white-space: nowrap; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; opacity: 0; transition: opacity 0.4s; }
.tv.loaded .tv-hint { opacity: 1; }
.tv:fullscreen { border-radius: 0; height: 100vh; }
.tv-lift { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); display: grid; justify-items: center; gap: 6px; background: rgba(11, 18, 54, 0.78); border: 1px solid var(--line); border-radius: 999px; padding: 8px 6px; backdrop-filter: blur(8px); opacity: 0; transition: opacity 0.4s; }
.tv.loaded .tv-lift { opacity: 1; }
.tv-lift button { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--white); background: linear-gradient(180deg, var(--cob1), var(--cob2)); color: var(--white); font-size: 11px; cursor: pointer; }
.tv-lift input[type=range] { writing-mode: vertical-lr; direction: rtl; width: 28px; height: 150px; margin: 2px 0; appearance: none; -webkit-appearance: none; background: transparent; }
.tv-lift input[type=range]::-webkit-slider-runnable-track { width: 6px; background: rgba(255,255,255,0.18); border-radius: 3px; }
.tv-lift input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ice); border: 3px solid var(--white); margin-left: -8px; box-shadow: 0 0 12px rgba(127,227,255,0.8); cursor: grab; }
.tv-lift input[type=range]::-moz-range-track { width: 6px; background: rgba(255,255,255,0.18); border-radius: 3px; }
.tv-lift input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--ice); border: 3px solid var(--white); box-shadow: 0 0 12px rgba(127,227,255,0.8); }
.lift-lbl { font-family: var(--display); font-size: 12px; color: var(--ice); white-space: nowrap; letter-spacing: 0.04em; }

/* sections */
section { padding: 44px 0; scroll-margin-top: 70px; }
.result, .notfound { scroll-margin-top: 80px; }
.sec-head { margin-bottom: 22px; position: relative; }
.sec-head h2::after { content: ''; display: block; width: 56px; height: 4px; border-radius: 4px; margin-top: 12px; background: linear-gradient(90deg, var(--ice), rgba(127,227,255,0)); }
.sec-head .tag { margin-bottom: 10px; }
.sec-head p { color: var(--muted); max-width: 640px; margin-top: 8px; }

/* how it works */
.steps { display: grid; gap: 14px; }
.step { position: relative; overflow: hidden; display: grid; grid-template-columns: 120px 1fr; }
.step .pic { position: relative; height: 150px; }
.step .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.step .n { position: absolute; left: 12px; top: 12px; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-family: var(--display); font-size: 26px;
  background: linear-gradient(180deg, var(--cob1), var(--cob2)); border: 2px solid var(--white); box-shadow: 0 6px 16px rgba(5, 10, 40, 0.45); }
.step .txt { padding: 18px 20px; }
.step h3 { margin-bottom: 6px; font-size: 22px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 14px; }
.fact { padding: 14px 16px; border-radius: var(--r2); background: rgba(255,255,255,0.05); border: 1px solid var(--line); }
.fact b { display: block; font-family: var(--display); font-weight: 400; font-size: 26px; color: var(--ice); }
.fact span { font-size: 14px; color: var(--muted); }

/* find */
.find-wrap { display: grid; gap: 18px; }
.find-box { padding: 22px; }
.find-perks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; color: var(--muted); font-size: 15px; }
.find-perks li { padding-left: 26px; position: relative; }
.find-perks li::before { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 10px rgba(127,227,255,0.7); }
.find-perks b { color: var(--white); }
.find-pic { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); min-height: 220px; box-shadow: 0 16px 40px rgba(3, 6, 30, 0.45); }
.find-pic img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.find-pic .cap { position: absolute; left: 12px; bottom: 12px; background: rgba(8, 14, 40, 0.86); border: 1px solid var(--line); border-radius: 12px; padding: 7px 12px; font-size: 13px; font-weight: 800; }
.find-form { display: flex; gap: 10px; flex-wrap: wrap; }
.find-form .in { flex: 1 1 240px; display: flex; align-items: center; gap: 6px; background: rgba(4, 8, 30, 0.7); border: 2px solid var(--line2); border-radius: 999px; padding: 0 18px; min-height: 54px; }
.find-form .in:focus-within { border-color: var(--ice); box-shadow: 0 0 0 4px rgba(127, 227, 255, 0.15); }
.find-form .in span { color: var(--ice); font-family: var(--display); font-size: 22px; }
.find-form input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--white); font: 800 19px var(--body); }
.find-form input::placeholder { color: var(--faint); font-weight: 700; }
.hint { font-size: 14px; color: var(--faint); margin-top: 10px; }
.result { margin-top: 18px; display: none; }
.result.show { display: block; }
.res-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 20px; padding: 22px 22px 12px; }
.res-head .apt { font-family: var(--display); font-size: clamp(40px, 8vw, 64px); line-height: 0.95; }
.res-head .apt small { display: block; font-size: 14px; font-family: var(--body); font-weight: 800; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 4px; }
.res-head .who { font-size: 22px; font-weight: 900; color: var(--ice); word-break: break-all; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 22px 18px; }
.res-grid { display: grid; gap: 18px; padding: 0 22px 22px; }
.kv { display: grid; gap: 10px; align-content: start; }
.kv .k { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.kv .v { font-weight: 700; }
.kv .item { background: rgba(255,255,255,0.05); border: 1px solid var(--line); border-radius: var(--r2); padding: 12px 14px; }
.swatch { display: inline-block; width: 18px; height: 18px; border-radius: 6px; border: 2px solid var(--white); vertical-align: -3px; margin-right: 8px; }
.gift { display: flex; gap: 12px; align-items: center; }
.gift .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 24px; background: linear-gradient(180deg, var(--cob1), var(--cob2)); border: 2px solid var(--white); flex: none; }
.gift small { display: block; color: var(--muted); font-size: 13px; }
.neigh { display: flex; flex-wrap: wrap; gap: 6px; }
.neigh a { background: rgba(255,255,255,0.08); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: 14px; color: var(--white); font-weight: 700; }
.neigh a:hover { border-color: var(--ice); color: var(--ice); }
.plans { display: grid; gap: 14px; }
.plan { background: rgba(4, 8, 30, 0.55); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.plan .ttl { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.plan svg { width: 100%; height: auto; }
.plan .legend { font-size: 13px; color: var(--muted); margin-top: 8px; }
.share-row { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 22px 22px; }
.notfound { display: none; margin-top: 18px; padding: 22px; }
.notfound.show { display: block; }
.notfound h3 { margin-bottom: 8px; }
.notfound .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/* next */
.next-grid { display: grid; gap: 18px; }
.next-grid > div { min-width: 0; }
.goal { padding: 16px 20px; position: relative; overflow: hidden; display: grid; gap: 12px; background: linear-gradient(90deg, rgba(58, 98, 240, 0.55), rgba(22, 38, 138, 0.45)); border-color: rgba(255,255,255,0.22); margin-bottom: 8px; }
.goal .bg { position: absolute; inset: 0; background-image: url('../img/stills/holo_sky.jpg'); background-size: cover; background-position: right 30%; opacity: 0.5; }
.goal .bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22, 38, 138, 0.95) 0%, rgba(22, 38, 138, 0.75) 45%, rgba(22, 38, 138, 0.25) 100%); }
.goal > :not(.bg) { position: relative; }
.goal .g-left { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.goal .big { font-family: var(--display); font-size: clamp(26px, 4vw, 34px); line-height: 1; }
.goal .at { color: rgba(255,255,255,0.8); font-weight: 700; font-size: 14px; }
.bar { height: 12px; border-radius: 999px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); overflow: hidden; margin: 0 0 6px; }
.bar i { display: block; height: 100%; background: var(--ice); box-shadow: 0 0 14px rgba(127, 227, 255, 0.7); min-width: 4px; border-radius: 999px; }
.goal .prog { display: flex; justify-content: space-between; font-weight: 800; font-size: 13px; }
.goal .prog b { color: var(--ice); }
.cards { display: flex; align-items: stretch; gap: 12px; overflow-x: auto; padding: 8px 4px 16px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.card { flex: 0 0 168px; scroll-snap-align: start; border-radius: 20px; border: 3px solid var(--white); padding: 12px 12px 12px; height: 188px; display: flex; flex-direction: column; gap: 2px; position: relative; overflow: hidden;
  --c1: var(--cob1); --c2: var(--cob2);
  background: linear-gradient(135deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.06) 30%, rgba(255,255,255,0) 50%, rgba(0,0,0,0.14) 100%), repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 3px), linear-gradient(180deg, var(--c1), var(--c2));
  box-shadow: 0 12px 28px rgba(5, 10, 40, 0.55), inset 0 2px 0 rgba(255,255,255,0.5), inset 0 -3px 0 rgba(0,0,0,0.28), inset 0 0 0 1px rgba(255,255,255,0.14);
  transition: transform 0.2s, box-shadow 0.2s; }
.card::after { content: ''; position: absolute; inset: 6px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.22); pointer-events: none; box-shadow: inset 0 1px 0 rgba(255,255,255,0.18); }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(5, 10, 40, 0.6), inset 0 2px 0 rgba(255,255,255,0.5), inset 0 -3px 0 rgba(0,0,0,0.28), inset 0 0 0 1px rgba(255,255,255,0.14); }
.card .f { text-shadow: 0 2px 0 rgba(10, 17, 80, 0.55), 0 0 18px rgba(255,255,255,0.25); }
.card.epic { --c1: var(--epic1); --c2: var(--epic2); }
.card.legendary { --c1: var(--leg1); --c2: var(--leg2); }
.card.done { opacity: 0.6; filter: saturate(0.4); }
.card.hidden { --c1: #2a3a8a; --c2: #121a4f; border-color: rgba(255,255,255,0.55); }
.card.hidden .q { font-family: var(--display); font-size: 34px; text-align: center; margin: -4px 0 0; color: rgba(255,255,255,0.85); text-shadow: 0 0 18px rgba(127,227,255,0.6); }
.card.hidden .blur { display: grid; gap: 5px; margin-top: 2px; }
.card.hidden .blur i { display: block; height: 7px; border-radius: 5px; background: rgba(255,255,255,0.35); filter: blur(2.5px); }
.card.hidden .blur i:nth-child(2) { width: 70%; } .card.hidden .blur i:nth-child(3) { width: 85%; }
.card.hidden .lock { margin-top: auto; font-size: 10px; font-weight: 900; letter-spacing: 0.14em; color: rgba(255,255,255,0.7); text-align: center; }
.card .rar { font-size: 10px; padding-right: 48px; letter-spacing: 0.2em; font-weight: 900; text-transform: uppercase; opacity: 0.85; }
.card .f { font-family: var(--display); font-size: 34px; line-height: 1; margin: 2px 0 6px; text-shadow: 0 2px 0 rgba(10, 17, 80, 0.5); }
.card .nm { font-weight: 900; font-size: 16px; line-height: 1.15; }
.card .wh { font-size: 12px; color: rgba(255,255,255,0.8); margin-top: 4px; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.card .next-band { position: absolute; top: 8px; right: 8px; z-index: 1; background: var(--white); color: var(--ink); font-family: var(--display); font-size: 13px; letter-spacing: 0.1em; border-radius: 999px; padding: 2px 10px; }
.card .tier { margin-top: 8px; font-size: 11px; font-weight: 900; letter-spacing: 0.1em; color: var(--ice); }
.ladder { display: grid; gap: 8px; }
.rung { display: grid; grid-template-columns: 74px 1fr auto; gap: 12px; align-items: center; padding: 10px 14px; border-radius: var(--r2); background: rgba(255,255,255,0.05); border: 1px solid var(--line); }
.rung .h { font-family: var(--display); font-size: 20px; color: var(--ice); }
.rung .f { font-size: 13px; color: var(--muted); font-weight: 800; white-space: nowrap; }
.rung.now { border-color: var(--ice); background: rgba(127, 227, 255, 0.08); }
.rung.done { opacity: 0.55; }
.records { display: grid; gap: 0; }
.rl { display: grid; grid-template-columns: 26px 72px 1fr auto; gap: 10px; align-items: center; padding: 9px 4px; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 15px; }
.rl .ck { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line2); display: grid; place-items: center; font-size: 13px; font-weight: 900; color: var(--navy); }
.rl .h { font-family: var(--display); color: var(--ice); letter-spacing: 0.02em; }
.rl .n { font-weight: 800; }
.rl .f { font-size: 12px; color: var(--muted); font-weight: 700; white-space: nowrap; }
.rl.done .ck { background: var(--ice); border-color: var(--ice); }
.rl.done .n, .rl.done .h { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: rgba(127,227,255,0.8); opacity: 0.55; }
.rl.now { background: linear-gradient(90deg, rgba(127,227,255,0.12), transparent); border-radius: 10px; border-bottom-color: transparent; }
.rl.now .ck i { width: 10px; height: 10px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 10px var(--ice); animation: pulse 1.8s infinite; }
.rl.now .n { color: var(--ice); }
.carousel { position: relative; }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 3px solid var(--white); background: linear-gradient(180deg, var(--cob1), var(--cob2)); color: var(--white); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 8px 20px rgba(5, 10, 40, 0.5); display: none; }
.car-btn.prev { left: -22px; } .car-btn.next { right: -22px; }
.car-dots { display: flex; justify-content: center; gap: 6px; margin-top: 2px; }
.car-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.2); cursor: pointer; transition: all 0.2s; }
.car-dots i.on { width: 22px; border-radius: 4px; background: var(--ice); box-shadow: 0 0 8px rgba(127,227,255,0.7); }
.cards { scrollbar-width: none; }
.cards::-webkit-scrollbar { display: none; }
.journey { display: grid; gap: 0; position: relative; padding-left: 8px; }
.jn { display: grid; grid-template-columns: 44px 1fr; gap: 14px; position: relative; padding-bottom: 22px; }
.jn-pic { display: none; }
.jn::before { content: ''; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: linear-gradient(180deg, rgba(127,227,255,0.5), rgba(127,227,255,0.08)); }
.jn:last-child::before { display: none; }
.jn .dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.05); border: 2px solid var(--line2); font-family: var(--display); font-size: 20px; color: var(--muted); }
.jn.now .dot { background: linear-gradient(180deg, var(--cob1), var(--cob2)); border-color: var(--white); color: var(--white); box-shadow: 0 0 22px rgba(127,227,255,0.5); }
.jn.done .dot { border-color: var(--ice); color: var(--ice); }
.jn-body { padding-top: 6px; display: grid; gap: 3px; }
.jn-body b { font-size: 19px; }
.jn-body em { font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; color: var(--ice); }
.jn-body span { font-size: 14px; color: var(--muted); max-width: 520px; }
.jn-body .tag { width: fit-content; margin-top: 6px; }
.jn.done .jn-body { opacity: 0.6; }
.eras { display: flex; gap: 12px; overflow-x: auto; padding: 8px 4px 16px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.era { flex: 0 0 230px; scroll-snap-align: start; position: relative; padding: 16px 16px 18px; border-radius: 20px; background: rgba(255,255,255,0.04); border: 1px solid var(--line); display: grid; gap: 4px; align-content: start; }
.era .i { font-family: var(--display); font-size: 34px; line-height: 1; color: var(--faint); }
.era b { font-size: 18px; }
.era .rng { font-size: 12px; color: var(--ice); font-weight: 800; letter-spacing: 0.04em; }
.era span { font-size: 13px; color: var(--muted); }
.era em { position: absolute; top: -10px; right: 12px; font-style: normal; font-family: var(--display); font-size: 11px; letter-spacing: 0.12em; background: var(--white); color: var(--ink); border-radius: 999px; padding: 3px 9px; }
.era.now { border-color: var(--ice); background: linear-gradient(180deg, rgba(58, 98, 240, 0.35), rgba(22, 38, 138, 0.25)); box-shadow: 0 0 24px rgba(127, 227, 255, 0.2); }
.era.now .i { color: var(--ice); }
.era.done { opacity: 0.55; }
.tierc { padding: 12px; border-radius: var(--r2); background: rgba(255,255,255,0.04); border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.tierc b { display: block; color: var(--white); font-family: var(--display); font-weight: 400; font-size: 18px; }
.tierc.now { border-color: var(--ice); background: rgba(127, 227, 255, 0.08); }
.tierc small { color: var(--ice); font-weight: 800; }
.subhead { font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 26px 0 10px; }

/* residents */
.bell { padding: 22px; }
.bell .filter { max-width: 360px; margin-bottom: 18px; }
.floor-head { display: flex; align-items: center; gap: 12px; margin: 18px 0 10px; font-weight: 900; }
.floor-head .f { font-family: var(--display); font-weight: 400; font-size: 24px; }
.floor-head .c { color: var(--muted); font-size: 14px; }
.plates { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 8px; }
.plate { display: flex; align-items: center; gap: 10px; background: var(--white); color: var(--ink2); border-radius: 12px; padding: 9px 12px; border: 0; cursor: pointer; text-align: left; font-weight: 800; font-size: 15px;
  box-shadow: 0 3px 0 rgba(5, 10, 40, 0.4); transition: transform 0.1s; min-width: 0; }
.plate:hover { transform: translateY(-2px); }
.plate .n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 14px; background: var(--cob); color: var(--white); }
.plate .u { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plate.free { background: rgba(255,255,255,0.08); color: var(--faint); box-shadow: none; cursor: default; border: 1px dashed var(--line2); }
.plate { padding: 0; }
.plate .pl-main { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; padding: 9px 6px 9px 12px; color: inherit; }
.plate .pl-ig { flex: none; display: grid; place-items: center; width: 36px; height: 44px; color: var(--cob); border-left: 1px solid rgba(10, 17, 80, 0.12); }
.plate .pl-ig svg { width: 18px; height: 18px; }
.plate .pl-ig:hover { color: #e1306c; }
.plate.free { padding: 9px 12px; }
.plate.nb { box-shadow: 0 0 0 2px var(--ice), 0 3px 0 rgba(5, 10, 40, 0.4); }
.plate.me { background: linear-gradient(180deg, var(--cob1), var(--cob2)); color: var(--white); box-shadow: 0 0 0 3px var(--white), 0 0 18px rgba(127, 227, 255, 0.6); }
.plate.me .n { background: var(--white); color: var(--ink); }
.plate.me .pl-ig { color: var(--white); border-color: rgba(255,255,255,0.2); }
.plate.free .n { background: rgba(255,255,255,0.1); color: var(--faint); }

/* episodes */
.eps { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.ep { overflow: hidden; }
.ep .media { position: relative; aspect-ratio: 9 / 16; background: #121a4a; cursor: pointer; }
.ep .media img, .ep .media video { width: 100%; height: 100%; object-fit: cover; }
.ep .play { position: absolute; inset: 0; display: grid; place-items: center; }
.ep .play i { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, var(--cob1), var(--cob2)); border: 3px solid var(--white); box-shadow: 0 10px 26px rgba(5, 10, 40, 0.6); }
.ep .play svg { width: 26px; height: 26px; fill: var(--white); margin-left: 4px; }
.ep .meta { padding: 12px 14px; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.ep .meta b { font-family: var(--display); font-weight: 400; font-size: 20px; }
.ep .meta span { font-size: 12px; color: var(--muted); text-align: right; }
@media (min-width: 760px) { .eps { grid-template-columns: repeat(auto-fill, minmax(220px, 260px)); } }

/* apartment page */
.apt-hero { padding: 18px 0 10px; }
.tv.room .tv-hint { top: auto; bottom: 66px; }
.tv.room { height: clamp(420px, 68vh, 760px); background: radial-gradient(900px 500px at 50% 60%, rgba(58, 98, 240, 0.35), transparent 70%), var(--navy); }
.tv .tv-cover { position: absolute; inset: 0; display: grid; place-content: center; gap: 12px; justify-items: center; transition: opacity 0.5s; }
.tv.loaded .tv-cover { opacity: 0; pointer-events: none; }
.tv.nomodel .spin { display: none; }
.tv .spin { width: 44px; height: 44px; border-radius: 50%; border: 4px solid rgba(255,255,255,0.15); border-top-color: var(--ice); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.room-card { position: absolute; left: 14px; top: 14px; max-width: min(360px, calc(100% - 28px)); background: rgba(8, 14, 40, 0.8); border: 1px solid var(--line); border-radius: 20px; padding: 14px 16px; backdrop-filter: blur(10px); }
.room-card .rc-top { display: flex; align-items: baseline; gap: 10px; }
.room-card small { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.room-card .rc-n { font-family: var(--display); font-size: clamp(40px, 7vw, 56px); line-height: 1; }
.room-card .rc-who { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 8px; color: var(--ice); font-weight: 900; font-size: 18px; word-break: break-all; }
.room-card .rc-who svg { width: 18px; height: 18px; flex: none; }
.room-card .chips { padding: 0; gap: 6px; }
.rc-toggle { display: none; margin: 2px 0 6px; padding: 0; border: 0; background: none; color: var(--ice); font: 800 12px var(--body); letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
@media (max-width: 759px) { .rc-toggle { display: block; } .room-card:not(.open) .rc-facts { display: none; } .room-card { max-width: calc(100% - 28px); } .room-card.open .rc-toggle::after { content: ' ▴'; } .room-card:not(.open) .rc-toggle::after { content: ' ▾'; } }
.rc-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; font-size: 12px; }
.rc-facts div { display: grid; gap: 0; min-width: 0; }
.rc-facts span { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.rc-facts b { font-weight: 800; color: var(--white); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-facts .swatch { width: 12px; height: 12px; border-radius: 4px; vertical-align: -1px; margin-right: 5px; border-width: 1.5px; }
.apt-body { padding: 10px 0 40px; }
.cabinet { margin-bottom: 16px; }
.cab-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 18px 18px 6px; }
.cab-foot { padding: 10px 18px 16px; font-size: 13px; }
.cabinet { background: linear-gradient(180deg, rgba(14, 24, 78, 0.85), rgba(8, 14, 44, 0.95)); }
.cab-shelves { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; padding: 8px 14px 6px; }
.cab-cell { position: relative; }
.cab-obj { position: relative; aspect-ratio: 1; border-radius: 16px; background: radial-gradient(60% 50% at 50% 30%, rgba(127, 227, 255, 0.22), rgba(255,255,255,0.03) 70%); border: 1px solid rgba(127, 227, 255, 0.25); overflow: hidden; display: grid; place-items: center; }
.cab-obj::after { content: ''; position: absolute; left: 8%; right: 8%; bottom: 0; height: 6px; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, rgba(127, 227, 255, 0.7), rgba(58, 98, 240, 0.4)); box-shadow: 0 -6px 18px rgba(127, 227, 255, 0.35); }
.cab-obj .emoji { font-size: 30px; filter: drop-shadow(0 6px 10px rgba(0,0,0,0.5)); transition: opacity 0.4s; }
.cab-obj.has3d .emoji { opacity: 0; }
.cab-obj .tv-stage, .cab-obj canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.cab-cell.empty .cab-obj { background: rgba(255,255,255,0.02); border-style: dashed; color: var(--faint); font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; }
.cab-cell.empty .cab-obj::after { opacity: 0.35; box-shadow: none; }
.cab-lbl { padding: 6px 2px 0; font-size: 12px; line-height: 1.2; text-align: center; }
.cab-lbl b { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cab-lbl small { color: var(--muted); font-size: 11px; }
.cab-cell.empty .cab-lbl b { color: var(--faint); font-weight: 700; text-transform: uppercase; font-size: 10px; letter-spacing: 0.1em; }
.apt-facts { padding: 18px; }
.apt-facts .tag { margin-bottom: 12px; }
.facts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fact-cell { background: rgba(255,255,255,0.05); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; min-width: 0; }
.fact-cell .k { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.fact-cell .v { font-weight: 800; font-size: 15px; margin-top: 2px; }
.inside { margin-top: 12px; }
.inside .k { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 800; margin-bottom: 6px; }
.inside .chips { padding: 0; }
.inside .tag.ghost { font-size: 11px; padding: 3px 9px; text-transform: none; letter-spacing: 0; }
.neigh-panel .plates { padding: 6px 14px 4px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.share-panel { display: grid; gap: 16px; padding: 22px; margin-bottom: 16px; align-items: center; }
.share-panel h3 { margin: 6px 0 6px; }
.share-panel p { margin: 0; }
.share-panel .share-row { padding: 0; }
.where { padding: 0; margin-bottom: 16px; }
.where summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 12px; padding: 16px 18px; font-weight: 800; color: var(--muted); }
.where summary::-webkit-details-marker { display: none; }
.where summary::after { content: '▾'; margin-left: auto; color: var(--faint); }
.where[open] summary::after { content: '▴'; }
.where-body { display: grid; gap: 16px; padding: 0 18px 18px; }
.where-body .plan { max-width: 420px; }
.where-txt p { font-size: 15px; }
.back-row { display: flex; flex-wrap: wrap; gap: 10px; }
.apt-missing { padding: 40px 0; }
@media (min-width: 760px) {
  .share-panel { grid-template-columns: 1fr auto; }
  .where-body { grid-template-columns: 420px 1fr; align-items: center; }
}

/* footer */
footer { padding: 40px 0 60px; border-top: 1px solid var(--line); margin-top: 20px; color: var(--muted); font-size: 14px; }
footer .cols { display: grid; gap: 22px; }
footer .logo img { height: 48px; width: auto; margin-bottom: 10px; }
footer a { color: var(--white); }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }

/* legal */
.legal { padding: 30px 0 60px; max-width: 760px; }
.legal h2 { margin: 32px 0 10px; font-size: 28px; }
.legal h3 { margin: 22px 0 6px; font-size: 20px; }
.legal p, .legal li { color: var(--muted); font-size: 16px; }
.legal .todo { background: rgba(255, 90, 168, 0.12); border: 1px dashed var(--leg1); border-radius: var(--r2); padding: 12px 14px; color: var(--white); }
.legal code { background: rgba(255,255,255,0.08); padding: 1px 6px; border-radius: 6px; }

/* desktop */
@media (min-width: 760px) {
  :root { --gutter: 24px; }
  .hero { padding: 56px 0 30px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { grid-template-columns: 1fr; grid-template-rows: 190px 1fr; }
  .step .pic { height: auto; }
  .find-wrap { grid-template-columns: 1.1fr 0.9fr; }
  .res-grid { grid-template-columns: 1fr 1.1fr; }
  .plans { grid-template-columns: 1fr; }
  .next-grid { grid-template-columns: 0.9fr 1.1fr; align-items: stretch; }
  .records { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .goal { grid-template-columns: 1.3fr 1fr; align-items: center; gap: 0 40px; }
  .car-btn { display: grid; place-items: center; }
  .jn { grid-template-columns: 52px minmax(300px, 0.9fr) 1.6fr; gap: 14px 18px; align-items: center; padding-bottom: 18px; }
  .jn::before { top: 52px; left: 25px; }
  .jn-pic { display: block; position: relative; height: 150px; border-radius: 18px; overflow: hidden; background: linear-gradient(90deg, rgba(58, 98, 240, 0.0), rgba(58, 98, 240, 0.18) 40%, rgba(127, 227, 255, 0.12)); }
  .jn-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.6) 22%, #000 55%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.6) 22%, #000 55%); }
  .jn-pic.nopic img { display: none; }
  .jn-pic.nopic::after { content: 'image coming'; position: absolute; right: 16px; bottom: 10px; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
  .jn.done .jn-pic { opacity: 0.6; }
  .tiers { grid-template-columns: repeat(3, 1fr); }
  footer .cols { grid-template-columns: 1.2fr 1fr 1fr; }
  .facts { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1000px) {
  .top nav { display: flex; }
  .hero .grid { grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: start; }
  .hero .visual { padding-top: 6px; }
  .hero .copy p.lead { max-width: 620px; }
  .res-grid { grid-template-columns: 1fr 1.2fr; }
  .plans { grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .plate { transition: none; } }

/* ---------- live tower (start page hero) ---------- */
.live-page .live { padding: 0; }
.live-tv { position: relative; height: calc(100svh - 66px); min-height: 520px; border-radius: 0; border: 0; box-shadow: none; }
.live-tv .tv-poster { opacity: 0.55; }
.hud { position: absolute; z-index: 3; background: rgba(8, 14, 40, 0.74); border: 1px solid var(--line); border-radius: 18px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 10px 30px rgba(3, 6, 30, 0.45); }
.hud-top { left: 14px; top: 14px; display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 12px; }
.hud-logo { height: 34px; width: auto; }
.hud-clock { display: grid; grid-template-columns: auto auto; column-gap: 10px; align-items: baseline; line-height: 1; }
.hud-clock small { grid-column: 1 / 3; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 800; margin-bottom: 3px; }
.hud-clock b { font-family: var(--display); font-weight: 400; font-size: 26px; color: var(--ice); }
.hud-clock span { font-family: var(--display); font-size: 15px; color: var(--white); }
.hud-clock em { grid-column: 1 / 3; font-style: normal; font-size: 11px; color: var(--muted); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 3px; }
.hud-side { right: 64px; top: 14px; display: flex; gap: 6px; padding: 8px; }
.hud-side .hs { padding: 6px 12px; border-radius: 12px; background: rgba(255,255,255,0.05); display: grid; gap: 1px; min-width: 70px; }
.hud-side small { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 800; white-space: nowrap; }
.hud-side b { font-family: var(--display); font-weight: 400; font-size: 20px; line-height: 1; white-space: nowrap; }
.hud-side .cd b { color: var(--ice); font-variant-numeric: tabular-nums; }
.hud-search { left: 50%; transform: translateX(-50%); bottom: 72px; display: flex; gap: 8px; padding: 8px; align-items: center; max-width: calc(100% - 28px); }
.hud-search .in { display: flex; align-items: center; gap: 6px; background: rgba(4, 8, 30, 0.75); border: 2px solid var(--line2); border-radius: 999px; padding: 0 14px; height: 44px; min-width: 0; }
.hud-search .in:focus-within { border-color: var(--ice); }
.hud-search .in span { color: var(--ice); font-family: var(--display); font-size: 20px; }
.hud-search input { width: 200px; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--white); font: 800 16px var(--body); }
.hud-search input::placeholder { color: var(--faint); font-weight: 700; }
.live-card { left: 14px; bottom: 140px; width: min(360px, calc(100% - 28px)); padding: 16px 18px; }
.live-card .x { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line2); background: transparent; color: var(--muted); font-size: 18px; cursor: pointer; }
.live-card .lc-top { display: flex; align-items: baseline; gap: 10px; }
.live-card .lc-top small { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.live-card .lc-top b { font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1; }
.live-card .lc-who { color: var(--ice); font-weight: 900; font-size: 18px; word-break: break-all; }
.live-card .lc-floor { font-size: 13px; color: var(--muted); font-weight: 800; margin: 2px 0 8px; }
.live-card .lc-light { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,0.05); border: 1px solid var(--line); margin-bottom: 10px; }
.live-card .lc-light i { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.15); border: 1px solid var(--line2); flex: none; }
.live-card .lc-light i.on { background: #ffd27a; border-color: #ffe3a8; box-shadow: 0 0 12px #ffc95a; }
.live-card .lc-row { display: flex; flex-wrap: wrap; gap: 6px; }
.live-card.nf b { font-size: 16px; display: block; margin-bottom: 6px; padding-right: 30px; }
.live-card.nf p { font-size: 14px; color: var(--muted); margin: 0 0 10px; }
.newv { position: absolute; z-index: 4; left: 50%; top: 90px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; background: rgba(8, 14, 40, 0.9); border: 1px solid var(--ice); border-radius: 999px; padding: 10px 18px; font-size: 14px; font-weight: 700; color: var(--muted); }
.newv b { color: var(--ice); }
.newv .pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--ice); animation: pulse 1.8s infinite; }
.live-tv .tv-ui { bottom: 16px; }
.live-tv .tv-lift { right: 14px; top: auto; bottom: 110px; transform: none; }
.live-tv .tv-start { background: rgba(11, 18, 54, 0.45); }
.live-tv.loaded .tv-poster { opacity: 0; }
.status { padding: 44px 0; }
.status-grid { display: grid; gap: 22px; align-items: center; }
.status .copy h1 { font-size: clamp(32px, 5.5vw, 52px); }
.status .copy .lead { color: var(--muted); font-size: 17px; max-width: 600px; }
.status .ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.plate.taken { background: rgba(127, 227, 255, 0.14); color: var(--white); border: 1px solid rgba(127, 227, 255, 0.4); box-shadow: none; cursor: default; padding: 9px 12px; }
.plate.taken .n { background: var(--ice); color: var(--ink); }
.plate.taken .u, .plate.free .u { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 800; color: var(--muted); }
.plate.me { padding: 0 12px 0 0; }
.plate.me .n { margin-left: 12px; }
.plate.me .u { padding: 9px 0; }
@media (max-width: 759px) {
  .live-tv { height: calc(100svh - 66px); min-height: 560px; }
  .hud-top { gap: 10px; padding: 8px 10px; }
  .hud-logo { height: 26px; }
  .hud-clock b { font-size: 20px; }
  .hud-side { left: 14px; right: 14px; top: 82px; flex-wrap: wrap; padding: 6px; gap: 4px; }
  .hud-side .hs { min-width: 0; flex: 1 1 28%; padding: 5px 8px; }
  .hud-side .cd { flex: 1 1 100%; }
  .hud-side b { font-size: 16px; }
  .hud-search { bottom: 66px; flex-direction: column; gap: 6px; width: calc(100% - 28px); }
  .hud-search .in { width: 100%; }
  .hud-search input { width: 100%; }
  .hud-search .btn { width: 100%; }
  .live-card { bottom: auto; top: 218px; left: 14px; }
  .live-tv .tv-lift { bottom: 190px; }
  .live-tv .tv-hint { display: none; }
}
@media (min-width: 760px) { .status-grid { grid-template-columns: 1.1fr 0.9fr; } }

/* ---------- status plate: the one panel that looks different ---------- */
.plate { position: relative; display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; padding: 22px; border-radius: 26px; border: 3px solid rgba(255,255,255,0.85); overflow: hidden;
  background: linear-gradient(135deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.05) 28%, rgba(255,255,255,0) 50%, rgba(0,0,0,0.16) 100%), repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 3px), linear-gradient(160deg, #3a62f0 0%, #2342c8 45%, #16268a 100%);
  box-shadow: 0 22px 50px rgba(5, 10, 40, 0.6), inset 0 2px 0 rgba(255,255,255,0.45), inset 0 -3px 0 rgba(0,0,0,0.3), inset 0 0 0 1px rgba(255,255,255,0.12); }
.plate::after { content: ''; position: absolute; inset: 7px; border-radius: 18px; border: 1px solid rgba(255,255,255,0.2); pointer-events: none; }
.plate-ring { position: relative; width: 150px; height: 150px; }
.plate-ring svg { width: 100%; height: 100%; display: block; }
.ring-txt { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1; }
.ring-txt b { font-family: var(--display); font-weight: 400; font-size: 40px; color: var(--white); text-shadow: 0 2px 0 rgba(10, 17, 80, 0.5); }
.ring-txt small { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-top: 2px; }
.ring-txt em { font-style: normal; font-size: 11px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ice); margin-top: 6px; }
.plate-main { min-width: 0; display: grid; gap: 10px; position: relative; }
.plate-lbl { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.75); font-weight: 900; }
.plate-num { display: flex; align-items: baseline; gap: 10px; line-height: 1; }
.plate-num span { font-family: var(--display); font-size: clamp(52px, 8vw, 72px); color: var(--white); text-shadow: 0 3px 0 rgba(10, 17, 80, 0.55), 0 0 28px rgba(127, 227, 255, 0.35); }
.plate-num small { font-size: 13px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ice); }
.plate-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.plate-chips > span { display: grid; gap: 1px; padding: 7px 12px; border-radius: 12px; background: rgba(8, 14, 40, 0.35); border: 1px solid rgba(255,255,255,0.2); min-width: 0; }
.plate-chips small { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.7); font-weight: 800; }
.plate-chips b { font-family: var(--display); font-weight: 400; font-size: 18px; line-height: 1.1; white-space: nowrap; }
.plate-chips b i { font-style: normal; font-family: var(--body); font-weight: 800; font-size: 11px; color: rgba(255,255,255,0.75); letter-spacing: 0.06em; }
.plate .pending { background: rgba(8, 14, 40, 0.45); border-color: rgba(127, 227, 255, 0.5); color: rgba(255,255,255,0.85); }
.plate-upd { font-size: 12px; color: rgba(255,255,255,0.6); font-weight: 700; }
@media (max-width: 480px) { .plate { grid-template-columns: 1fr; justify-items: center; text-align: center; } .plate-main { justify-items: center; } .plate-chips { justify-content: center; } }

/* self-sufficiency HUD */
.hud-aut { right: 64px; top: 92px; width: 300px; padding: 10px 12px; display: grid; gap: 6px; }
.aut-top { display: flex; justify-content: space-between; align-items: baseline; }
.aut-top small { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.aut-top b { font-family: var(--display); font-weight: 400; font-size: 20px; color: var(--ice); }
.aut-bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,0.12); overflow: hidden; }
.aut-bar i { display: block; height: 100%; background: var(--ice); box-shadow: 0 0 10px rgba(127,227,255,0.7); border-radius: 999px; width: 1%; }
.aut-open { font-size: 11px; color: var(--muted); font-weight: 700; line-height: 1.3; }
.how-note { margin: 14px 0 0; font-size: 14px; color: var(--muted); max-width: 760px; }
.how-note b { color: var(--white); }
@media (max-width: 759px) { .hud-aut { left: 14px; right: 14px; width: auto; top: 182px; padding: 8px 10px; } .live-card { top: 262px; } .live-tv .tv-lift { bottom: 190px; } }

/* ---------- portal: outside view ⇄ inside view (js/portal.js) ---------- */
.portal-label { position: fixed; z-index: 10000; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; gap: 8px; justify-items: center; text-align: center; color: var(--ink); pointer-events: none; transition: opacity .3s; }
.portal-label small { font: 800 11px var(--body); letter-spacing: 0.26em; text-transform: uppercase; opacity: 0.7; }
.portal-label b { font: 400 clamp(24px, 4.6vw, 40px) var(--display); max-width: 86vw; }
.portal-label i { display: block; width: 170px; height: 4px; border-radius: 4px; background: rgba(19, 32, 122, 0.15); overflow: hidden; }
.portal-label i span { display: block; height: 100%; width: 4%; border-radius: 4px; background: var(--ink); transition: width .35s; }
html.portal-arrive main, html.portal-arrive header, html.portal-arrive footer { visibility: hidden; }
html.portal-out .live-tv { transition: transform 1.15s cubic-bezier(.55, 0, .85, .35), filter 1.15s; transform: scale(1.65); filter: blur(5px) brightness(1.35); }
html.portal-out { overflow: hidden; }

/* ---------- start page: the three things you can do, in order ---------- */
.hud-dock { left: 50%; transform: translateX(-50%); bottom: 70px; width: min(1000px, calc(100% - 28px)); display: grid; grid-template-columns: 1.4fr 1fr 1fr; padding: 10px 6px; }
.dk { display: grid; gap: 9px; padding: 4px 14px; align-content: space-between; min-width: 0; }
.dk + .dk { border-left: 1px solid var(--line); }
.dk-h { display: flex; gap: 10px; align-items: center; min-width: 0; }
.dk-h > i { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 400 15px var(--display); font-style: normal; background: linear-gradient(180deg, var(--cob1), var(--cob2)); border: 2px solid var(--white); }
.dk-h b { display: block; font-family: var(--display); font-weight: 400; font-size: 19px; line-height: 1.05; }
.dk-h small { display: block; font-size: 12px; color: var(--muted); font-weight: 700; line-height: 1.25; }
.dk-row { display: flex; gap: 8px; min-width: 0; }
.dk .in { flex: 1; display: flex; align-items: center; gap: 6px; background: rgba(4, 8, 30, 0.75); border: 2px solid var(--line2); border-radius: 999px; padding: 0 14px; height: 44px; min-width: 0; }
.dk .in:focus-within { border-color: var(--ice); }
.dk .in span { color: var(--ice); font-family: var(--display); font-size: 20px; }
.dk .in input { width: 100%; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--white); font: 800 16px var(--body); }
.dk .in input::placeholder { color: var(--faint); font-weight: 700; }
.dk-enter .btn, .dk-open .btn { justify-self: start; }
.btn.portal-btn { background: radial-gradient(circle at 50% 120%, #ffffff 0%, var(--ice) 28%, var(--cob1) 70%, var(--cob2) 100%); color: var(--white); text-shadow: 0 1px 0 rgba(10,17,80,0.5); animation: portalGlow 2.6s ease-in-out infinite; }
@keyframes portalGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(127,227,255,0.0), 0 8px 22px rgba(5,10,40,0.5); } 50% { box-shadow: 0 0 22px 4px rgba(127,227,255,0.55), 0 8px 22px rgba(5,10,40,0.5); } }
.btn[aria-disabled="true"] { opacity: 0.45; cursor: default; transform: none; }
.live-card { bottom: 210px; }
@media (max-width: 759px) {
  .hud-dock { bottom: 60px; grid-template-columns: 1fr 1fr; padding: 8px; row-gap: 8px; }
  .dk { padding: 2px 6px; gap: 6px; } .dk + .dk { border-left: 0; }
  .dk-find { grid-column: 1 / -1; }
  .dk-h small { display: none; } .dk-h b { font-size: 15px; } .dk-h > i { width: 22px; height: 22px; font-size: 13px; }
  .dk-enter, .dk-open { border-top: 1px solid var(--line); padding-top: 8px; }
  .dk-open { border-left: 1px solid var(--line) !important; }
  .dk-enter .btn, .dk-open .btn { width: 100%; justify-self: stretch; padding-left: 10px; padding-right: 10px; }
  .live-tv .tv-lift { bottom: 270px; }
}
@media (prefers-reduced-motion: reduce) { .btn.portal-btn { animation: none; } html.portal-out .live-tv { transition: none; } }

/* touch devices: no live blur behind panels over the 3D view – it is re-blurred every frame and makes scrolling slow on phones */
@media (hover: none), (pointer: coarse) {
  .hud, .newv, .room-card, .tv-lift, .tv .tv-ui button { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: rgba(8, 14, 40, 0.9); }
  .panel { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: var(--panel2); }
  .top { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: rgba(11, 18, 54, 0.96); }
  body::before { display: none; }   /* fixed noise layer with blending: redrawn on every scroll step */
  html.portal-out .live-tv { filter: none; }
}

/* animations the GPU can do alone (transform/opacity) – box-shadow animations repaint on the main thread every frame and slowed phones down */
@keyframes pulseRing { 0% { transform: scale(1); opacity: 0.7; } 70%, 100% { transform: scale(2.8); opacity: 0; } }
.pending .pulse, .newv .pulse { position: relative; animation: none; box-shadow: none; }
.rl.now .ck i { position: relative; animation: none; }
.pending .pulse::after, .newv .pulse::after, .rl.now .ck i::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--ice); animation: pulseRing 1.8s infinite; will-change: transform, opacity; }
.btn.portal-btn { animation: none; position: relative; }
.btn.portal-btn::after { content: ''; position: absolute; inset: -3px; border-radius: inherit; box-shadow: 0 0 22px 4px rgba(127, 227, 255, 0.55); opacity: 0; animation: portalGlow2 2.6s ease-in-out infinite; pointer-events: none; will-change: opacity; }
@keyframes portalGlow2 { 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .btn.portal-btn::after, .pending .pulse::after, .newv .pulse::after, .rl.now .ck i::after { animation: none; } }

/* ---------- phones: 80 % tower, everything else behind three buttons ---------- */
.mob-bar, .mob-sheet, .mob-scrim { display: none; }
@media (max-width: 759px) {
  .live-tv .hud-side, .live-tv .hud-aut, .live-tv .hud-dock, .live-tv .tv-ui { display: none; }   /* site.js moves them into the sheets */
  .live-tv .hud-top { left: 10px; top: 10px; padding: 6px 12px; gap: 8px; border-radius: 999px; }
  .live-tv .hud-logo { display: none; }
  .live-tv .hud-clock { display: flex; align-items: baseline; gap: 7px; }
  .live-tv .hud-clock small { display: none; }
  .live-tv .hud-clock b { font-size: 18px; } .live-tv .hud-clock span { font-size: 13px; } .live-tv .hud-clock em { margin: 0; font-size: 10px; }
  .live-tv .tv-lift { bottom: auto; top: 50%; transform: translateY(-50%); right: 8px; padding: 6px 4px; gap: 4px; }
  .live-tv .tv-lift input[type=range] { height: 110px; } .live-tv .tv-lift button { width: 26px; height: 26px; } .live-tv .lift-lbl { font-size: 10px; }
  .mob-bar { position: absolute; z-index: 6; left: 10px; right: 10px; bottom: 10px; display: flex; gap: 6px; align-items: stretch; }
  .mb { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 46px; border-radius: 999px; border: 2px solid var(--white); background: rgba(8, 14, 40, 0.9); color: var(--white); font: 800 13px var(--body); letter-spacing: 0.03em; cursor: pointer; padding: 0 10px; }
  .mb svg { width: 18px; height: 18px; flex: none; }
  .mb.primary { flex: 1.5; font-size: 14px; }
  .mb.on { background: linear-gradient(180deg, var(--cob1), var(--cob2)); }
  .mob-scrim { position: absolute; inset: 0; z-index: 4; background: rgba(4, 8, 30, 0.35); }
  .mob-scrim:not([hidden]) { display: block; }
  .mob-sheet { left: 10px; right: 10px; bottom: 66px; z-index: 5; max-height: calc(100% - 130px); overflow: auto; padding: 12px; }
  .mob-sheet:not([hidden]) { display: grid; gap: 10px; align-content: start; }
  .ms-h { display: flex; align-items: center; justify-content: space-between; }
  .ms-h b { font-family: var(--display); font-weight: 400; font-size: 18px; }
  .ms-h .x { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line2); background: transparent; color: var(--muted); font-size: 18px; cursor: pointer; }
  .ms-body { display: grid; gap: 10px; }
  .ms-body .hud, .ms-body .tv-ui, .ms-body .dk { position: static; transform: none; width: auto; max-width: none; box-shadow: none; opacity: 1; border-radius: 14px; }
  .ms-body .hud-side { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; }
  .ms-body .hud-aut { display: grid; }
  .ms-body .tv-ui { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-start; background: transparent; border: 0; padding: 0; }
  .ms-body .dk { display: grid; padding: 0; border: 0 !important; background: transparent; }
  .ms-body .dk-h small { display: block; }
  .ms-body .dk-open .btn { width: 100%; justify-self: stretch; }
  .live-tv .live-card { top: auto; bottom: 66px; left: 10px; right: 10px; width: auto; z-index: 5; }
  .live-tv .newv { top: 56px; }
}
@media (max-width: 759px) {
  #mobFind .dk-h { display: none; }                       /* the sheet header already says it */
  #mobMenu .dk-h > i { display: none; }
  .live-tv:has(.live-card:not([hidden])) .tv-lift { display: none; }   /* the result card needs the space */
  .live-tv .live-card .lc-row .btn { padding: 8px 12px; font-size: 13px; }
  .live-tv .live-card .lc-top b { font-size: 32px; }
}

/* ---------- sky dial (phones): the tower clock as a half-round sky with sun or moon ---------- */
.dial { display: none; }
@media (max-width: 759px) {
  .live-tv .hud-top { border-radius: 20px; padding: 7px 10px 7px; }
  .live-tv .hud-clock { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: baseline; justify-items: start; }
  .live-tv .hud-clock .dial { display: block; grid-column: 1 / 3; width: 118px; height: auto; margin-bottom: 3px; }
  .live-tv .hud-clock b { font-size: 20px; } .live-tv .hud-clock span { font-size: 12px; } .live-tv .hud-clock em { grid-column: 1 / 3; font-size: 9.5px; margin-top: 1px; }
}
/* phones: the clock stands free – no card, but an outline, a glow and a drop shadow keep it readable on grass, sky and night */
@media (max-width: 759px) {
  .live-tv .hud-top, #inside #hud { background: transparent !important; border: 0; box-shadow: none; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; padding: 0; border-radius: 0; }
  .dial { filter: drop-shadow(0 3px 6px rgba(3, 6, 30, 0.7)) drop-shadow(0 0 10px rgba(127, 227, 255, 0.35)); overflow: visible; }
  .dial > path[fill="none"], .dial > line { stroke: rgba(255, 255, 255, 0.85); stroke-width: 1.8; }
  .live-tv .hud-clock b, .live-tv .hud-clock span, .live-tv .hud-clock em, #inside .itime b, #inside .itime span, #inside .itime em { text-shadow: 0 1px 2px rgba(3, 6, 30, 0.9), 0 2px 10px rgba(3, 6, 30, 0.7); }
  .live-tv .hud-clock span, #inside .itime span { color: var(--white); }
  .live-tv .hud-clock em, #inside .itime em { color: var(--ice); }
}

/* ---------- the three steps in their own colours: 1 find = ice · 2 enter = violet (portal) · 3 open = gold ---------- */
.dk-find { --sc: #7fe3ff; --sc2: #2b9fd6; } .dk-enter { --sc: #b98bff; --sc2: #5b2bd1; } .dk-open { --sc: #ffc95a; --sc2: #e5891c; }
.hud-dock .dk { position: relative; border-radius: 14px; background: linear-gradient(180deg, color-mix(in srgb, var(--sc) 16%, transparent), transparent 75%); }
.hud-dock .dk::before { content: ''; position: absolute; left: 14px; right: 14px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--sc); opacity: 0.9; }
.hud-dock .dk + .dk { border-left: 0; }
.dk .dk-h > i { background: linear-gradient(180deg, var(--sc), var(--sc2)); color: #0b1236; }
.dk .dk-h b { color: var(--white); } .dk .dk-h small { color: color-mix(in srgb, var(--sc) 55%, white); }
.btn.step-find { background: linear-gradient(180deg, #a5efff, #2b9fd6); color: #06204a; text-shadow: none; }
.btn.portal-btn { background: radial-gradient(circle at 50% 120%, #ffffff 0%, #e2ccff 22%, #9a5cff 62%, #4b1fb0 100%); color: #fff; }
.btn.portal-btn::after { box-shadow: 0 0 22px 4px rgba(170, 120, 255, 0.6); }
.btn.step-open { background: linear-gradient(180deg, #ffe08a, #e5891c); color: #3a1d00; text-shadow: none; }
.btn.step-open[aria-disabled="true"] { background: rgba(255, 201, 90, 0.12); color: #ffd98a; border-color: rgba(255, 201, 90, 0.5); opacity: 1; }
.btn i { font-style: normal; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: -2px; border-radius: 50%; background: rgba(255, 255, 255, 0.85); color: #0b1236; font: 400 12px var(--display); }

/* ---------- result card (your apartment, outside view): clean head, two big actions, one share button ---------- */
.live-card { padding: 14px 16px 16px; }
.live-card .lc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.live-card .lc-tools { display: flex; align-items: center; gap: 6px; }
.live-card .x { position: static; }
.lc-share { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 10px; border-radius: 999px; border: 0; cursor: pointer; color: #fff; font: 800 13px var(--body); background: linear-gradient(45deg, #f9b84b, #f2694a 35%, #d62976 65%, #8f3bd6); box-shadow: 0 4px 14px rgba(214, 41, 118, 0.35); }
.lc-share svg { width: 17px; height: 17px; } .lc-share.on { outline: 2px solid #fff; outline-offset: 2px; }
.live-card .lc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 2px; }
.live-card .lc-actions .btn { width: 100%; padding: 10px 10px; font-size: 13.5px; gap: 8px; }
.lc-menu { position: absolute; z-index: 6; right: 12px; top: 54px; width: 260px; display: grid; gap: 4px; padding: 6px; border-radius: 16px; background: #0d1645; border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: 0 16px 40px rgba(2, 6, 30, 0.6); }
.lc-menu[hidden] { display: none; }
.lc-menu button { all: unset; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; color: #fff; }
.lc-menu button:hover, .lc-menu button:focus-visible { background: rgba(255, 255, 255, 0.08); }
.lc-menu svg { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); }
.lc-menu #lcCard svg { background: linear-gradient(45deg, #f9b84b, #f2694a 35%, #d62976 65%, #8f3bd6); }
.lc-menu b { display: block; font: 800 14px var(--body); } .lc-menu small { display: block; font: 600 12px var(--body); color: var(--muted); }
@media (max-width: 759px) {
  .live-tv .live-card .lc-actions .btn { padding: 9px 8px; font-size: 13px; }
  .lc-menu { right: 8px; left: 8px; width: auto; top: auto; bottom: calc(100% - 8px); }
  .hud-dock .dk::before { left: 8px; right: 8px; }
}
/* phones: the bottom bar keeps the step colours too */
.mb.portal-btn { background: radial-gradient(circle at 50% 130%, #ffffff 0%, #e2ccff 20%, #9a5cff 60%, #4b1fb0 100%) !important; color: #fff !important; border-color: rgba(255, 255, 255, 0.75) !important; }
#mbFind { color: #a5efff; border-color: rgba(127, 227, 255, 0.6); }

/* ===================================================================================================
   Start page hero, desktop: game-UI zones – every element has one fixed place, one panel style, one spacing
   top-left  clock with sky dial      top-right  status (numbers + self-sufficiency), fixed 440 px
   right     camera rail (views + floor lift)
   bottom    the three steps as equal cards (3 × 300 px) · right above them: your apartment as one strip
   =================================================================================================== */
@media (min-width: 760px) {
  .live-tv { --e: 20px; --gap: 12px; --pbg: rgba(8, 14, 40, 0.82); --pline: rgba(255, 255, 255, 0.12); }
  .live-tv .hud { background: var(--pbg); border: 1px solid var(--pline); border-radius: 20px; box-shadow: 0 14px 34px rgba(3, 6, 30, 0.45); }

  /* top-left: tower clock with the sky dial (same design as on phones) */
  .live-tv .hud-top { left: var(--e); top: var(--e); padding: 12px 18px 12px 14px; gap: 0; }
  .live-tv .hud-logo { display: none; }
  .live-tv .hud-clock { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto auto; column-gap: 14px; align-items: center; }
  .live-tv .hud-clock .dial { display: block; grid-row: 1 / span 3; width: 132px; height: auto; overflow: visible; filter: drop-shadow(0 0 10px rgba(127, 227, 255, 0.25)); }
  .live-tv .hud-clock small { grid-column: 2; margin: 0; }
  .live-tv .hud-clock b { grid-column: 2; font-size: 34px; line-height: 1; }
  .live-tv .hud-clock span { grid-column: 2; font-size: 14px; } .live-tv .hud-clock em { grid-column: 2; margin: 2px 0 0; }

  /* top-right: one status block – numbers on top, self-sufficiency right below, same width */
  .live-tv .hud-side { right: var(--e); top: var(--e); width: 440px; height: 64px; box-sizing: border-box; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 7px; }
  .live-tv .hud-side .hs { min-width: 0; padding: 6px 8px; align-content: center; }
  .live-tv .hud-side b { font-size: 19px; }
  .live-tv .hud-aut { right: var(--e); top: calc(var(--e) + 64px + 8px); width: 440px; box-sizing: border-box; padding: 10px 14px; }

  /* right: camera rail – views in a compact grid, the floor lift below, both 136 px wide */
  .live-tv .tv-ui { left: auto; right: var(--e); bottom: auto; top: 186px; width: 136px; box-sizing: border-box; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px; justify-content: stretch;
    background: var(--pbg); border: 1px solid var(--pline); border-radius: 20px; box-shadow: 0 14px 34px rgba(3, 6, 30, 0.45); }
  .live-tv .tv-ui button { padding: 7px 0; font-size: 12px; border-width: 1px; border-color: rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.06); backdrop-filter: none; }
  .live-tv .tv-ui button[data-view="fs"] { font-size: 14px; }
  .live-tv .tv-lift { right: var(--e); top: 340px; bottom: auto; transform: none; width: 136px; box-sizing: border-box; border-radius: 20px; padding: 10px 0 8px; background: var(--pbg); border: 1px solid var(--pline); box-shadow: 0 14px 34px rgba(3, 6, 30, 0.45); }
  .live-tv .tv-lift input[type=range] { height: clamp(70px, calc(100svh - 66px - 640px), 150px); }

  /* bottom: the three steps – equal cards, each with its own colour, accent follows the rounded corner */
  .live-tv .hud-dock { bottom: var(--e); width: auto; display: grid; grid-template-columns: repeat(3, 300px); gap: var(--gap); padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .live-tv .hud-dock .dk { min-height: 136px; box-sizing: border-box; padding: 16px 16px 14px; gap: 10px; align-content: space-between; border-radius: 20px; border: 1px solid color-mix(in srgb, var(--sc) 35%, transparent);
    background: linear-gradient(180deg, color-mix(in srgb, var(--sc) 20%, transparent) 0%, transparent 70%), var(--pbg);
    box-shadow: inset 0 3px 0 var(--sc), 0 14px 34px rgba(3, 6, 30, 0.45); }
  .live-tv .hud-dock .dk::before { display: none; }
  .live-tv .hud-dock .dk + .dk { border-left: 1px solid color-mix(in srgb, var(--sc) 35%, transparent); }
  .live-tv .hud-dock .dk-h { align-items: flex-start; }
  .live-tv .hud-dock .dk-h b { font-size: 19px; }
  .live-tv .hud-dock .dk-h small { min-height: 30px; margin-top: 2px; }
  .live-tv .hud-dock .dk-enter .btn, .live-tv .hud-dock .dk-open .btn { justify-self: stretch; }
  .live-tv .hud-dock .dk .in { height: 42px; }

  /* right above the steps: your apartment as one strip, same width as the three cards */
  .live-tv .live-card { left: 50%; transform: translateX(-50%); bottom: calc(var(--e) + 136px + var(--gap)); top: auto; width: calc(3 * 300px + 2 * var(--gap)); box-sizing: border-box; padding: 12px 16px;
    display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 380px) auto; grid-template-areas: "num who light tools" "num floor light tools"; column-gap: 18px; align-items: center; }
  .live-tv .live-card .lc-head { display: contents; }
  .live-tv .live-card .lc-top { grid-area: num; flex-direction: column; align-items: flex-start; gap: 0; padding-right: 18px; border-right: 1px solid var(--pline); }
  .live-tv .live-card .lc-top b { font-size: 38px; }
  .live-tv .live-card .lc-who { grid-area: who; align-self: end; } .live-tv .live-card .lc-floor { grid-area: floor; align-self: start; margin: 0; }
  .live-tv .live-card .lc-light { grid-area: light; margin: 0; font-size: 13px; }
  .live-tv .live-card .lc-tools { grid-area: tools; }
  .live-tv .live-card .lc-actions { display: none; }   /* steps 2 and 3 right below already lead to your floor and your apartment */
  .live-tv .live-card .lc-menu { right: 50px; top: auto; bottom: calc(100% + 8px); }
  .live-tv .live-card.nf { display: block; padding: 14px 18px; }
  .live-tv .live-card.nf[hidden], .live-tv .live-card[hidden] { display: none; }
  .live-tv .live-card.nf .x { position: absolute; top: 10px; right: 10px; }
}
@media (min-width: 760px) {
  .live-tv .hud-side, .live-tv .hud-aut { width: 480px; }
  .live-tv .hud-side b { font-size: 18px; } .live-tv .hud-side small { font-size: 8.5px; letter-spacing: 0.12em; }
  .live-tv .tv-ui { grid-template-columns: 1fr; gap: 5px; }
  .live-tv .tv-ui button { padding: 6px 0; }
  .live-tv .tv-lift { top: 392px; }
  .live-tv .tv-lift input[type=range] { height: clamp(60px, calc(100svh - 66px - 680px), 150px); }
}

/* ===== hero, desktop v2 (Adrian 17.10.: right side was overloaded): free clock, no status block, tiny self-sufficiency, one slim camera rail ===== */
@media (min-width: 760px) {
  /* clock stands free – no card, outline and shadow keep it readable (same as phones) */
  .live-tv .hud-top { background: transparent; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; }
  .live-tv .hud-clock .dial { width: 150px; filter: drop-shadow(0 3px 6px rgba(3, 6, 30, 0.7)) drop-shadow(0 0 12px rgba(127, 227, 255, 0.35)); }
  .live-tv .hud-clock .dial > path[fill="none"], .live-tv .hud-clock .dial > line { stroke: rgba(255, 255, 255, 0.85); stroke-width: 1.8; }
  .live-tv .hud-clock b, .live-tv .hud-clock span, .live-tv .hud-clock em, .live-tv .hud-clock small { text-shadow: 0 1px 2px rgba(3, 6, 30, 0.9), 0 2px 12px rgba(3, 6, 30, 0.8); }
  .live-tv .hud-clock small { color: rgba(255, 255, 255, 0.85); } .live-tv .hud-clock span { color: #fff; } .live-tv .hud-clock em { color: var(--ice); }
  /* the numbers block is gone on desktop (it lives in the page sections); self-sufficiency becomes a small chip under the clock */
  .live-tv .hud-side { display: none; }
  .live-tv .hud-aut { left: var(--e); right: auto; top: calc(var(--e) + 96px); width: auto; display: flex; align-items: center; gap: 10px; padding: 6px 12px; border-radius: 999px; background: rgba(8, 14, 40, 0.7); }
  .live-tv .hud-aut .aut-top { gap: 8px; } .live-tv .hud-aut .aut-top b { font-size: 15px; }
  .live-tv .hud-aut .aut-bar { width: 70px; height: 6px; } .live-tv .hud-aut .aut-open { display: none; }
  /* one slim camera rail on the right: view icons on top, floor lift below */
  .live-tv .tv-lift { top: 50%; transform: translateY(-50%); width: 60px; padding: 8px 0 10px; gap: 6px; }
  .live-tv .tv-lift .tv-ui { position: static; display: grid; grid-template-columns: 1fr; gap: 4px; width: auto; padding: 0 0 8px; margin-bottom: 4px; border: 0; border-bottom: 1px solid var(--pline); border-radius: 0; background: none; box-shadow: none; opacity: 1; }
  .live-tv .tv-lift .tv-ui button { width: 42px; height: 42px; padding: 0; display: grid; place-items: center; border-radius: 14px; border: 1px solid transparent; background: transparent; color: rgba(255, 255, 255, 0.85); }
  .live-tv .tv-lift .tv-ui button:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
  .live-tv .tv-lift .tv-ui button.on { background: linear-gradient(180deg, var(--cob1), var(--cob2)); border-color: rgba(255, 255, 255, 0.4); color: #fff; }
  .live-tv .tv-lift .tv-ui button svg { width: 22px; height: 22px; } .live-tv .tv-lift .tv-ui button span { display: none; }
  .live-tv .tv-lift .tv-ui button[hidden] { display: none; }
  .live-tv .tv-lift input[type=range] { height: clamp(70px, calc(100svh - 66px - 560px), 140px); }
  .live-tv .tv-lift .lift-lbl { font-size: 10px; }
}
/* phones: the views sit in the menu sheet – icon and word side by side */
@media (max-width: 759px) {
  .tv-ui button svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }
  .live-tv .tv-lift > .tv-ui:not(.ms-body *) { display: none; }   /* before the phone layout moves the views into the menu */
}
@media (min-width: 760px) { .live-tv .hud-aut { top: calc(var(--e) + 114px); } }
