/* XVelo admin. Sign-in on obsidian like the app; signed in, an obsidian side menu and light pages for office work.
   Brand C7 Glacier – Glacier marks only the page you're on and a player's own result. */
:root {
  --obsidian: #0B0C0E; --basalt: #17191C; --iron: #3E434A; --gunmetal: #6F7680; --frost: #ECEFF2; --platinum: #D4D8DE; --muted-dark: #9AA0A8;
  --page: #F4F5F7; --card: #FFFFFF; --line: #E1E4E8; --ink: #111214; --muted: #5B6169; --soft: #EEF0F3;
  --glacier: #6FDDFF; --glacier-ink: #0A6E8F; --danger: #FF8A80; --danger-ink: #B3261E; --ok-ink: #1F7A3D;
  --display: 'Michroma', 'Arial', sans-serif; --body: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--obsidian); color: var(--frost); font-family: var(--body); font-size: 14px; line-height: 20px; -webkit-text-size-adjust: 100%; }
body.signed-in { background: var(--page); color: var(--ink); }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }

/* ---------- sign in, create login, login ready ---------- */
.gate { min-height: 100%; display: grid; place-items: center; padding: 32px max(16px, env(safe-area-inset-left, 0px)); }
.card { width: 100%; max-width: 420px; background: var(--basalt); border: 1px solid #26292E; border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.mark { display: flex; align-items: center; gap: 10px; }
.mark b { font-family: var(--display); font-weight: 400; letter-spacing: .16em; font-size: 15px; }
.mark small { margin-left: auto; color: var(--gunmetal); font-size: 13px; font-weight: 600; }
.gate h1 { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 32px; margin: 6px 0 0; }
.gate h2 { font-size: 15px; font-weight: 600; margin: 6px 0 -6px; color: var(--frost); }
.gate p { margin: 0; color: var(--muted-dark); font-size: 15px; line-height: 22px; }
.gate p b { color: var(--frost); }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 13px; color: var(--muted-dark); }
.gate .field input { height: 48px; border-radius: 10px; border: 1px solid var(--iron); background: var(--obsidian); color: var(--frost); font: 500 16px var(--body); padding: 0 14px; }
.gate .field input:focus { outline: 2px solid var(--glacier); outline-offset: 1px; border-color: transparent; }
.err { color: var(--danger); font-weight: 600; font-size: 14px; min-height: 20px; }
.good { color: var(--frost); font-weight: 600; font-size: 14px; }
.go { height: 50px; border: 0; border-radius: 12px; background: var(--frost); color: var(--ink); font: 700 16px var(--body); cursor: pointer; }
.go:disabled { opacity: .6; cursor: default; }
.ghost { height: 44px; border: 1px solid var(--iron); border-radius: 10px; background: transparent; color: var(--frost); font-weight: 600; cursor: pointer; padding: 0 14px; }
.switch { appearance: none; border: 0; background: none; color: var(--frost); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 6px; }
.back { color: var(--muted-dark); text-align: center; font-weight: 600; text-decoration: none; padding: 6px; }
.back:hover { color: var(--frost); }
.go:focus-visible, .ghost:focus-visible, .back:focus-visible, .switch:focus-visible { outline: 2px solid var(--glacier); outline-offset: 3px; }
.hint-pw { margin: -8px 0 0 !important; font-size: 13px !important; }
.row2 { display: flex; gap: 10px; } .row2 .field { flex: 1; }
.mydevices { display: flex; flex-direction: column; gap: 8px; }
.mydevices div { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--obsidian); border: 1px solid #26292E; border-radius: 10px; padding: 10px 12px; }
.mydevices span { color: var(--muted-dark); font-size: 13px; display: block; }
.loading { min-height: 100%; display: grid; place-items: center; color: var(--muted-dark); }

/* ---------- signed in: menu ---------- */
.app { display: flex; min-height: 100%; }
.side { width: 236px; flex: none; background: var(--obsidian); color: var(--frost); padding-block: 22px; padding-inline: 14px; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 0; height: 100vh; height: 100dvh; overflow-y: auto; }
.side .mark { padding: 0 10px 14px; }
.group { color: var(--gunmetal); font-size: 12px; font-weight: 600; padding: 14px 12px 4px; }
.nav { display: flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 8px; color: var(--muted-dark); font-weight: 500; position: relative; text-decoration: none; }
.nav:hover { color: var(--frost); }
.nav.on { background: var(--basalt); color: var(--frost); font-weight: 600; }
.nav.on::before { content: ''; position: absolute; left: 0; top: 9px; bottom: 9px; width: 3px; border-radius: 2px; background: var(--glacier); }
.nav:focus-visible { outline: 2px solid var(--glacier); outline-offset: 2px; }
.me { margin-top: auto; border-top: 1px solid #26292E; padding: 14px 12px 0; display: flex; flex-direction: column; gap: 6px; }
.me b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me .lvl { align-self: flex-start; }
.me .ghost { margin-top: 6px; height: 38px; }

/* ---------- signed in: pages ---------- */
.main { flex: 1; min-width: 0; padding-block: 26px 48px; padding-left: max(28px, env(safe-area-inset-left, 0px)); padding-right: max(28px, env(safe-area-inset-right, 0px)); display: flex; flex-direction: column; gap: 18px; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.app h1 { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 32px; letter-spacing: .04em; margin: 0; }
.app h2 { font-family: var(--display); font-weight: 400; font-size: 16px; line-height: 24px; letter-spacing: .03em; margin: 8px 0 0; }
.sub { color: var(--muted); margin: 4px 0 0; max-width: 64ch; }
.body { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.panel > h3 { margin: 0; font-size: 15px; font-weight: 700; }
.note { color: var(--muted); font-size: 13px; margin: 0; }
.btn { appearance: none; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 14px var(--body); min-height: 38px; padding: 0 14px; border-radius: 8px; cursor: pointer; white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.btn.pri { background: var(--ink); color: var(--frost); border-color: var(--ink); }
.btn.small { min-height: 32px; padding: 0 10px; font-size: 13px; }
.btn.danger { color: var(--danger-ink); }
.btn:disabled { opacity: .5; cursor: default; }
.btn:focus-visible, .main input:focus-visible, .main select:focus-visible, .main textarea:focus-visible { outline: 2px solid var(--glacier-ink); outline-offset: 2px; }
.form { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; align-items: end; }
.form .wide { grid-column: 1 / -1; }
.main .field { color: var(--muted); }
.main .field input, .main .field select, .main .field textarea, .main td input, .main td select { height: 38px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--ink); font: 500 14px var(--body); padding: 0 10px; min-width: 0; width: 100%; }
.main .field textarea { height: auto; min-height: 76px; padding: 8px 10px; resize: vertical; }
.main input[type=color] { padding: 2px; height: 38px; width: 100%; }
.main input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--ink); }
.check { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tablewrap { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; overflow-wrap: anywhere; }
th { font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td .who { display: block; font-weight: 600; }
td .sm { display: block; color: var(--muted); font-size: 13px; }
td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mono { font-family: ui-monospace, Menlo, monospace; font-size: 13px; letter-spacing: .02em; white-space: nowrap; }
.lvl { display: inline-block; border-radius: 8px; padding: 3px 9px; background: var(--soft); color: var(--ink); font-weight: 600; font-size: 13px; white-space: nowrap; }
.lvl.top { background: var(--ink); color: var(--frost); }
.side .lvl { background: var(--basalt); color: var(--frost); }
.side .lvl.top { background: var(--frost); color: var(--ink); }
.tag { display: inline-block; border-radius: 6px; padding: 2px 8px; font-size: 12px; font-weight: 600; background: var(--soft); color: var(--muted); white-space: nowrap; }
.tag.ok { color: var(--ok-ink); } .tag.bad { color: var(--danger-ink); } .tag.ink { background: var(--ink); color: var(--frost); }
.empty { background: var(--card); border: 1px dashed var(--line); border-radius: 16px; padding: 22px; color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tile .lab { font-size: 13px; font-weight: 600; color: var(--muted); }
.tile .big { font-family: var(--display); font-size: 30px; line-height: 38px; font-variant-numeric: tabular-nums; }
.tile .sm { color: var(--muted); font-size: 13px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--frost); padding: 10px 16px; border-radius: 10px; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); z-index: 50; max-width: calc(100vw - 32px); }
.toast.bad { background: var(--danger-ink); }
details.more > summary { cursor: pointer; font-weight: 600; color: var(--glacier-ink); list-style: none; }
details.more > summary::-webkit-details-marker { display: none; }
details.more[open] > summary { margin-bottom: 10px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.phone { width: 180px; height: 330px; border-radius: 26px; border: 6px solid #2A2D31; padding: 16px 12px; display: flex; flex-direction: column; gap: 8px; flex: none; }
.phone .pc { border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 4px; }
.phone b { font-family: var(--display); font-weight: 400; font-size: 20px; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.photos figure { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.photos img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--soft); }
.photos figcaption { padding: 10px; display: flex; flex-direction: column; gap: 6px; }
svg.outline { width: 100%; max-width: 260px; height: auto; }

@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .app { flex-direction: column; }
  .side { width: auto; height: auto; position: sticky; top: 0; z-index: 5; flex-direction: row; align-items: center; gap: 4px; overflow-x: auto; overflow-y: hidden; padding-left: max(12px, env(safe-area-inset-left, 0px)); padding-right: max(12px, env(safe-area-inset-right, 0px)); padding-block: 10px; scrollbar-width: none; }
  .side::-webkit-scrollbar { display: none; }
  .side .mark { padding: 0 6px 0 0; } .side .mark b, .side .mark small { display: none; }
  .group { display: none; }
  .nav { white-space: nowrap; min-height: 40px; }
  .me { margin: 0 0 0 8px; border: 0; padding: 0; flex-direction: row; align-items: center; } .me b, .me .lvl { display: none; } .me .ghost { margin: 0; white-space: nowrap; }
  .main { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-top: 18px; }
}
@media (max-width: 640px) {
  .tablewrap { background: none; border: 0; overflow: visible; }
  .tablewrap table, .tablewrap tbody, .tablewrap tr, .tablewrap td { display: block; width: 100%; }
  .tablewrap thead { display: none; }
  .tablewrap tr { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 8px 12px; margin-bottom: 10px; }
  .tablewrap td { border: 0; padding: 6px 0; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; align-items: center; }
  .tablewrap td::before { content: attr(data-label); color: var(--muted); font-size: 13px; font-weight: 600; }
  .tablewrap td.num { text-align: left; }
  .tablewrap td .tag, .tablewrap td .lvl { white-space: normal; }
  .tiles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .tile .big { font-size: 24px; }
  .card { padding: 22px; }
  .row2 { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.msg { margin: 0; white-space: pre-wrap; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 14px; line-height: 1.5; color: var(--ink); }
.features { display: flex; flex-direction: column; gap: 8px; }
.feature { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.feature input[type=number] { width: 64px; }
.feature input[type=text] { flex: 1 1 160px; min-width: 0; }
.feat-wrap { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; }
.legend { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.swatch { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.parks { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.park { gap: 8px; }
.park-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.park-head h3 { margin: 0; }
.outline.big { width: 100%; max-width: 420px; height: auto; align-self: center; }

/* ===== Premium look (28 Nov 2026, Dan: "ok, i like this"): signed-in pages go dark graphite like the app and the
   landing page – three surface layers lit from the top, hairlines instead of boxes, one ice-cyan signal (the page you're on),
   white for the one main action. The light variables are redefined, so every page module follows without changes. ===== */
body.signed-in {
  --page: #08090A; --card: #111316; --card2: #16191C; --line: rgba(255, 255, 255, .07); --ink: #ECEFF2; --muted: #8E959E; --soft: #1C1F23;
  --glacier-ink: #6FDDFF; --danger-ink: #FF8A80; --ok-ink: #7FD8A4; --bg: #0B0C0E;
  background: radial-gradient(1200px 520px at 75% -10%, rgba(111, 221, 255, .05), rgba(111, 221, 255, 0) 60%), #08090A fixed;
  color: var(--ink);
}
body.signed-in a { color: var(--platinum); }
.side { width: 228px; background: transparent; padding-inline: 12px; border-right: 1px solid rgba(255, 255, 255, .05); }
.side .mark { padding: 0 14px 18px; }
.side .mark b { font-size: 13px; letter-spacing: .2em; }
.group { color: #6C737C; font-weight: 500; padding: 20px 14px 6px; }
.nav { border-radius: 0; border-left: 2px solid transparent; color: #8E959E; padding: 0 12px; min-height: 38px; }
.nav.on { background: transparent; color: var(--frost); border-left-color: var(--glacier); }
.nav.on::before { display: none; }
.me { border-top: 1px solid rgba(255, 255, 255, .05); }
.side .lvl, .side .lvl.top { background: transparent; color: #8E959E; padding: 0; font-weight: 500; }
.side .ghost { border-color: rgba(255, 255, 255, .12); }
.main { padding-block: 36px 40px; padding-left: max(44px, env(safe-area-inset-left, 0px)); padding-right: max(44px, env(safe-area-inset-right, 0px)); gap: 26px; }
.app h1 { font-size: 30px; line-height: 38px; letter-spacing: .05em; }
.app h2 { font-size: 17px; letter-spacing: .04em; margin-top: 12px; }
.sub { color: var(--muted); font-size: 15px; line-height: 22px; margin-top: 8px; }
.body { gap: 22px; }
.panel, .tile, .tablewrap, .photos figure { background: linear-gradient(180deg, var(--card2), var(--card)); border: 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); border-radius: 20px; }
.panel { padding: 22px 24px; }
.panel > h3 { font-size: 15px; font-weight: 600; }
.empty { background: transparent; border: 1px dashed rgba(255, 255, 255, .12); border-radius: 20px; color: var(--muted); }
.btn { background: transparent; border: 1px solid rgba(255, 255, 255, .14); color: var(--ink); border-radius: 10px; }
.btn:hover:not(:disabled) { border-color: rgba(255, 255, 255, .28); }
.btn.pri { background: var(--frost); color: #08090A; border-color: var(--frost); }
.btn.danger { color: var(--danger-ink); }
.main .field { color: var(--muted); font-weight: 500; }
.main .field input, .main .field select, .main .field textarea, .main td input, .main td select { background: #0B0D0F; border: 1px solid rgba(255, 255, 255, .1); color: var(--ink); border-radius: 10px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03); }
.main input[type=checkbox] { accent-color: var(--glacier); }
.main input::placeholder, .main textarea::placeholder { color: #5B6169; }
.check { color: var(--ink); }
th { color: #6C737C; font-weight: 500; font-size: 12px; }
th, td { border-bottom: 1px solid var(--line); padding: 13px 16px; }
tbody tr:hover td { background: rgba(255, 255, 255, .02); }
.lvl { background: transparent; border: 1px solid rgba(255, 255, 255, .14); color: var(--platinum); font-weight: 600; }
.lvl.top { background: var(--frost); color: #08090A; border-color: var(--frost); }
.tag { background: rgba(255, 255, 255, .06); color: var(--muted); }
.tag.ink { background: var(--frost); color: #08090A; }
.tiles { gap: 1px; background: rgba(255, 255, 255, .06); border-radius: 20px; overflow: hidden; }
.tiles .tile { border-radius: 0; box-shadow: none; background: var(--card); padding: 20px 22px; text-decoration: none; color: var(--ink); transition: background .15s; }
a.tile:hover { background: var(--card2); }
a.tile:focus-visible { outline: 2px solid var(--glacier); outline-offset: -2px; }
.tile .lab { font-weight: 500; }
.tile .big { font-size: 32px; line-height: 40px; }
.tile .go-arrow { margin-top: 6px; color: #6C737C; font-size: 13px; }
.toast { background: var(--frost); color: #08090A; }
.msg { background: #0B0D0F; color: var(--ink); }
details.more > summary { color: var(--glacier); }
.phone { border-color: #2A2D31; }
.rowlink { display: block; color: inherit !important; text-decoration: none; }
.feedrow { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink) !important; }
.feedrow:first-of-type { border-top: 0; }
.feedrow:hover { color: var(--frost) !important; }
.legal { border-top: 1px solid rgba(255, 255, 255, .06); padding-top: 18px; margin-top: 12px; color: #6C737C; font-size: 12px; line-height: 19px; max-width: 80em; }
.legal a { color: #8E959E !important; }
@media (max-width: 760px) {
  .side { background: #0B0C0E; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .05); }
  .nav { border-left: 0; border-bottom: 2px solid transparent; }
  .nav.on { border-bottom-color: var(--glacier); }
  .main { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .tiles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 640px) { .tablewrap tr { background: var(--card); border: 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); } }

/* Player card */
.pc-head { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-end; }
.pc-who { display: flex; gap: 20px; align-items: center; min-width: 0; }
.avatar { flex: none; border-radius: 50%; background: linear-gradient(160deg, #3A3F46, #1C1F23); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); display: grid; place-items: center; font-weight: 600; color: var(--frost); }
.pc-who .avatar { width: 80px; height: 80px; font-size: 24px; }
.pc-who h2 { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 38px; letter-spacing: .03em; margin: 0; }
.pc-who p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.pc-acc { display: flex; gap: 28px; color: var(--muted); }
.pc-acc span span { display: block; font-size: 12px; }
.pc-acc b { color: var(--ink); font-weight: 500; }
.trend-row { display: flex; flex-wrap: wrap; gap: 20px; }
.trend-row > .panel { flex: 1 1 380px; }
.trend-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.trend-top .d { font-family: var(--display); font-size: 22px; }
svg.trend { width: 100%; height: auto; }
.key { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 12px; }
.key i { display: inline-block; width: 14px; height: 2px; background: var(--frost); vertical-align: middle; margin-right: 6px; }
.key i.dash { background: none; border-top: 2px dashed #6C737C; }
.back-link { font-size: 13px; color: var(--muted) !important; text-decoration: none; align-self: flex-start; }

/* Sign-in and login-ready: split screen, a big reading on the left like the landing page */
.gate.split { display: flex; flex-wrap: wrap; padding: 0; place-items: initial; min-height: 100vh; min-height: 100dvh; background: #08090A; }
.showcase { flex: 1 1 520px; min-width: 0; box-sizing: border-box; padding: 48px 56px; display: flex; flex-direction: column; justify-content: center; gap: 22px; background: radial-gradient(700px 500px at 30% 70%, rgba(111, 221, 255, .08), rgba(111, 221, 255, 0) 60%), #0B0C0E; border-right: 1px solid rgba(255, 255, 255, .05); position: relative; }
.sc-brand { position: absolute; top: 40px; left: 56px; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--frost); }
.sc-brand b { font-family: var(--display); font-weight: 400; letter-spacing: .2em; font-size: 15px; }
.sc-read { display: flex; align-items: baseline; gap: 10px; }
.sc-num { font-family: var(--display); font-size: clamp(72px, 9vw, 124px); line-height: 1; font-variant-numeric: tabular-nums; }
.sc-unit { font-size: 24px; color: #8E959E; }
.sc-arc { width: 100%; max-width: 520px; height: auto; }
.sc-arc path { stroke-dasharray: 600; animation: sc-draw 1.6s cubic-bezier(.2, .7, .2, 1) .3s both; }
@keyframes sc-draw { from { stroke-dashoffset: 600; } to { stroke-dashoffset: 0; } }
.sc-line { color: #B4BAC2; font-size: 18px; line-height: 28px; max-width: 26em; margin: 0; }
.gate-side { flex: 1 1 440px; min-width: 0; box-sizing: border-box; padding: 48px 40px 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
.gate.split .card { background: transparent; border: 0; padding: 0; max-width: 400px; }
.gate.split .card .mark { display: none; }
.gate.split .card h1 { font-size: 26px; margin: 0; }
.gate.split .field input { background: #111316; border-color: rgba(255, 255, 255, .1); border-radius: 12px; height: 50px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); }
.gate.split .go { border-radius: 14px; height: 52px; }
.gate.split .mydevices div { background: #111316; border-color: rgba(255, 255, 255, .06); }
.gate-legal { max-width: 400px; margin: 0; color: #6C737C; font-size: 12px; line-height: 19px; text-align: center; }
.gate-legal a { color: #8E959E; }
@media (max-width: 900px) {
  .showcase { flex-basis: 100%; padding: 88px 24px 32px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .05); gap: 12px; }
  .sc-brand { top: 28px; left: 24px; }
  .sc-num { font-size: 64px; }
  .sc-line { font-size: 16px; }
  .gate-side { padding: 32px 20px 24px; }
}
@media (prefers-reduced-motion: reduce) { .sc-arc path { animation: none; stroke-dasharray: none; } }
.tiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .tiles.three { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* The landscape iPad on the sign-in screen (Dan, 28 Nov 2026: "ipad landscape view with screen layout and some
   illustrative numbers, make it animated") */
.ipad-mock { width: 100%; max-width: 600px; aspect-ratio: 4 / 3; box-sizing: border-box; padding: 14px; border-radius: 34px; background: linear-gradient(140deg, #5B616A 0%, #2A2D32 35%, #15171A 60%, #4C525B 100%); box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .04); transform: perspective(1400px) rotateY(-8deg) rotateX(4deg); }
.ipad-scr { width: 100%; height: 100%; box-sizing: border-box; border-radius: 22px; background: #0B0C0E; border: 6px solid #050506; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.ip-top { display: flex; justify-content: space-between; color: #8E959E; font-size: 12px; }
.ip-live { display: inline-flex; align-items: center; gap: 6px; color: var(--platinum); font-weight: 600; }
.ip-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--glacier); animation: ip-pulse 1.6s infinite; }
@keyframes ip-pulse { 50% { opacity: .3; } }
.ip-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; align-items: center; }
.ip-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ip-lab { color: #8E959E; font-size: 12px; }
.ip-read { display: flex; align-items: baseline; gap: 8px; }
.ip-num { font-family: var(--display); font-size: clamp(40px, 5.4vw, 70px); line-height: 1; font-variant-numeric: tabular-nums; color: var(--frost); }
.ip-unit { color: #8E959E; font-size: 16px; }
.ip-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.ip-stats div { background: #16191C; border-radius: 10px; padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ip-stats span { color: #8E959E; font-size: 10px; }
.ip-stats b { font-family: var(--body); font-weight: 700; font-size: clamp(13px, 1.4vw, 17px); color: var(--frost); white-space: nowrap; }
.ip-field { width: 100%; height: auto; }
.ip-arc { stroke-dasharray: 400; }
.ip-arc.go { animation: ip-fly 1.1s cubic-bezier(.2, .7, .2, 1) both; }
.ip-land.go { animation: ip-pop 1.3s ease-out both; }
@keyframes ip-fly { from { stroke-dashoffset: 400; } to { stroke-dashoffset: 0; } }
@keyframes ip-pop { 0%, 70% { opacity: 0; } 100% { opacity: 1; } }
.ip-bars { height: 42px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; align-items: end; }
.ip-bars span { background: #3E434A; border-radius: 3px; transition: height .4s; }
.ip-bars span.now { background: var(--glacier); }
.sc-eg { color: #6C737C; font-size: 13px; }
@media (max-width: 900px) { .ipad-mock { transform: none; max-width: 420px; padding: 10px; border-radius: 26px; } .ipad-scr { padding: 10px 12px; border-width: 4px; } }
@media (prefers-reduced-motion: reduce) { .ip-live i, .ip-arc.go, .ip-land.go { animation: none; } .ip-bars span { transition: none; } }
details.more > summary { color: var(--platinum); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .ip-grid { grid-template-columns: 1.4fr .8fr; gap: 8px; } .ip-stats b { font-size: 12px; } .ip-stats div { padding: 6px 7px; } }
@media (max-width: 480px) { .ip-stats div:nth-child(3) { display: none; } .ip-stats { grid-template-columns: 1fr 1fr; } }
