/* Inter Light for the big airy titles (index.html loads 400–800 only) */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300&display=swap");
/* look 9 · Frosted glass — look 8 (Outlined glass) re-scoped to data-look="9" as the base (parts 1–4 below are a
   straight copy), then part 5 turns it into glassmorphism: big chrome gl14 marks float behind the page and show through
   frosted panels (blur 28px) as soft silver glows; palette shifted to the light top of the logo (ice / silver / pale steel). */


@property --e1 { syntax: "<color>"; inherits: true; initial-value: rgba(240,247,255,.2); }
@property --e2 { syntax: "<color>"; inherits: true; initial-value: rgba(201,220,242,.07); }
@property --e3 { syntax: "<color>"; inherits: true; initial-value: rgba(143,179,217,.02); }


/* ===================== part 1 · Ghost base (from l2.css) ===================== */
:root[data-look="9"] {
  --g0: rgba(255,255,255,.025);   /* tile / input fill */
  --g1: rgba(255,255,255,.045);   /* hover */
  --g2: rgba(255,255,255,.065);   /* selected */
  --gl: rgba(255,255,255,.085);   /* divider peak */
  --fade: linear-gradient(90deg, transparent, var(--gl) 30%, var(--gl) 70%, transparent);
  --fade-v: linear-gradient(180deg, transparent, var(--gl) 30%, var(--gl) 70%, transparent);
  --ln: rgba(255,255,255,.045); --ln2: rgba(255,255,255,.06); --ln3: rgba(255,255,255,.1);
  --row-h: rgba(255,255,255,.025);
  --tile-sh: none;
}

/* ---------- outer cards: no fill, no border, one fading line on top ---------- */
:root[data-look="9"] :is(.card, .stat, .save-row, .tstrip, .lc-opt, .hh, .wv-fund, .sb-foot, .engine-strip, .fees-box) {
  background: var(--fade) top center / 100% 1px no-repeat !important;
  border-color: transparent !important; box-shadow: none !important; backdrop-filter: none;
}
:root[data-look="9"] :is(.card, .stat)::before,
:root[data-look="9"] :is(.card, .stat)::after { content: none !important; }
:root[data-look="9"] .card { border-radius: 0; }
/* the dashboard stat tiles keep their colour icon, not the glow box */
:root[data-look="9"] .stat { border-radius: 0; }
/* step bar: stays, with no frame around it or its parent */
:root[data-look="9"] .trk, :root[data-look="9"] :has(> .trk) { background: none !important; border-color: transparent !important; box-shadow: none !important; }
:root[data-look="9"] .trk-rail .trk-d { background: var(--bg); }
:root[data-look="9"] .trk-rail::before { opacity: .7; }

/* mode card on the right: no box, its line takes the mode colour */
:root[data-look="9"] .ha-mode {
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--mc, var(--ac)) 45%, transparent) 30%, color-mix(in srgb, var(--mc, var(--ac)) 45%, transparent) 70%, transparent) top center / 100% 1px no-repeat,
    radial-gradient(260px 120px at 50% 0%, color-mix(in srgb, var(--mc, var(--ac)) 7%, transparent), transparent 75%) !important;
  border-color: transparent !important; box-shadow: none !important;
}
:root[data-look="9"] .ha-doc { border-color: transparent !important; background: color-mix(in srgb, var(--mc, var(--ac)) 10%, transparent); }
:root[data-look="9"] .ha-doc:hover { background: color-mix(in srgb, var(--mc, var(--ac)) 18%, transparent); }
:root[data-look="9"] .ha-mic { border-radius: 10px; }
:root[data-look="9"] .ha-list.dn { border-top: 0; padding-top: 12px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--mc, var(--ac)) 22%, transparent) 30%, color-mix(in srgb, var(--mc, var(--ac)) 22%, transparent) 70%, transparent) top / 100% 1px no-repeat; }

/* ---------- inner lines: all fade at both ends ---------- */
:root[data-look="9"] :is(.ha-g + .ha-g, .tt-adv, .pos, .how-side .hh-nums) { border-top: 0 !important; background-image: var(--fade); background-repeat: no-repeat; background-size: 100% 1px; background-position: top center; }
:root[data-look="9"] .hl-or::before { background: linear-gradient(90deg, transparent, var(--gl)); }
:root[data-look="9"] .hl-or::after { background: linear-gradient(90deg, var(--gl), transparent); }
:root[data-look="9"] .tt-adv-h > i { background: linear-gradient(90deg, var(--gl), transparent); }
:root[data-look="9"] .hl-or, :root[data-look="9"] .tt-adv-h { color: var(--tx3); letter-spacing: .14em; }
:root[data-look="9"] .hh-nums { border-left: 0; background: var(--fade-v) left center / 1px 100% no-repeat; }
:root[data-look="9"] :is(.kv > div, .tbl th, .tbl td, .feed li, .tgl, .tp-r, .hr, .rung, .tabs) { border-color: rgba(255,255,255,.04); }

/* ---------- inner tiles and inputs: barely-there fill, 12px, no border ---------- */
:root[data-look="9"] :is(.hl-mode, .hl-prev, .hw, .hs-t, .hw-slot, .hf-addr, .inp, .tile, .check, .mini-g div, .bun-row,
  .rv-head, .rv-s, .src-row, .cln-row, .tpl-venue, .addr, .picker, .search, .wv-chs, .wv-mkt, .presets button, .bs, .seg, .drop, .empty, .lcard.add, .rl-q, .wv-q, .wx-q, .pp-search, .ro-q) {
  background: var(--g0) !important; border-color: transparent !important; box-shadow: none !important;
  transition: background .2s ease, color .2s ease;
}
:root[data-look="9"] :is(.hl-mode, .hw, .hs-t, .hf-addr, .inp, .tile, .check, .mini-g div, .bun-row, .rv-head, .rv-s, .src-row, .cln-row, .tpl-venue, .addr, .picker, .drop, .empty, .lcard.add, .hl-prev, .hw-slot) { border-radius: 12px !important; }
:root[data-look="9"] .hs-t.off { border-style: solid; background: rgba(255,255,255,.012) !important; }
:root[data-look="9"] .hs-t.off b { color: var(--tx2); }
:root[data-look="9"] :is(.hl-mode:not(.on), .hl-prev:not(:disabled), .hw, .hs-t, .hw-slot, .tile:not(.on):not(.static), .check, .bun-row, .src-row, .cln-row, .tpl-venue, .picker, .wv-mkt, .presets button, .lcard.add):hover { background: var(--g1) !important; }
/* the Wallets block: one soft fill, the slots a step lighter, no rules between */
:root[data-look="9"] .hw-slots, :root[data-look="9"] .hw-edit { border-top: 0 !important; }
:root[data-look="9"] .hw-slots { padding-top: 2px; }
:root[data-look="9"] .hw-slot { background: rgba(255,255,255,.035) !important; }
:root[data-look="9"] .hw:hover .hw-slot { background: rgba(255,255,255,.05) !important; }
:root[data-look="9"] .hw-edit:hover { background: none; }
:root[data-look="9"] .hw-ic, :root[data-look="9"] .hl-tpl, :root[data-look="9"] .pk-ic { background: rgba(255,255,255,.04); }
/* inputs: focus is a soft lift, not a frame */
:root[data-look="9"] .inp:focus-within { background: rgba(255,255,255,.05) !important; box-shadow: 0 0 0 1px color-mix(in srgb, var(--ac) 30%, transparent) !important; }
:root[data-look="9"] .search:focus-within { background: rgba(255,255,255,.05) !important; }

/* selected mode tile: brighter fill + a small dot in the mode colour */
:root[data-look="9"] :is(.hl-mode, .tile) { position: relative; }
:root[data-look="9"] .hl-mode.on { background: var(--g2) !important; color: var(--mc, var(--ac)); }
:root[data-look="9"] :is(.hl-mode.on, .tile.on:not(.static))::after { content: ""; position: absolute; top: 12px; right: 12px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--mc, var(--ac)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--mc, var(--ac)) 18%, transparent); }
:root[data-look="9"] :is(.tile.on, .presets button.on, .check.next) { background: var(--g2) !important; }
:root[data-look="9"] .seg button.on, :root[data-look="9"] .wv-chs .wv-ch.on { background: rgba(255,255,255,.07); box-shadow: none; }

/* chips, tags, pills: fill only */
:root[data-look="9"] :is(.chip, .hh-ven, .nl .cnt, kbd, .balchip, .tbtn) { background: var(--g0) !important; border-color: transparent !important; }
:root[data-look="9"] .tag { border-color: color-mix(in srgb, currentColor 30%, transparent); }

/* buttons: secondary ones are soft fills; the primary keeps its accent edge */
:root[data-look="9"] .btn:not(.pri):not(.ghost):not(.dn) { background: rgba(255,255,255,.04) !important; border-color: transparent !important; box-shadow: none !important; }
:root[data-look="9"] .btn:not(.pri):not(.ghost):not(.dn):hover { background: rgba(255,255,255,.07) !important; filter: none; }
:root[data-look="9"] .btn.ghost { border-color: transparent !important; background: var(--g0); }
:root[data-look="9"] .btn.ghost:hover { background: var(--g1) !important; filter: none; }
:root[data-look="9"] .newr { border-color: transparent !important; background: var(--g1) !important; }

/* ---------- type carries the structure ---------- */
:root[data-look="9"] .how-ch > b { font-size: 15px; letter-spacing: -0.01em; }
:root[data-look="9"] .ha-r.ha-t b, :root[data-look="9"] .ha-r b, :root[data-look="9"] .hh-nums b { font-family: var(--fm); font-feature-settings: "tnum"; }
:root[data-look="9"] .ha-r b { color: var(--tx); }
:root[data-look="9"] .ha-r.ha-t span { font-size: 13px; color: var(--tx); }
:root[data-look="9"] .ha-r { color: var(--tx2); }
:root[data-look="9"] .ha-list > small { color: var(--tx3); }
:root[data-look="9"] .fl { color: var(--tx2); }

/* ---------- shell: no hard rails ---------- */
:root[data-look="9"] .sb { background: var(--fade-v) right center / 1px 100% no-repeat, #0d0e10 !important; border-right-color: transparent !important; }
:root[data-look="9"] .sb .nav.sub { border-top: 0; background: var(--fade) top / 100% 1px no-repeat; }
:root[data-look="9"] .topbar { border-bottom-color: transparent !important; background: var(--fade) bottom center / 100% 1px no-repeat, rgba(15,16,18,.72) !important; }
:root[data-look="9"] .nl.on { background: rgba(255,255,255,.05); box-shadow: none; }
:root[data-look="9"] .nl:hover { background: var(--g1); }
:root[data-look="9"] .status { background: var(--fade) top center / 100% 1px no-repeat, rgba(12,13,15,.8) !important; border-top-color: transparent !important; }
:root[data-look="9"] .sb-foot { background: var(--g0) !important; border-radius: 12px; }
:root[data-look="9"] .mode-sw { border-color: transparent !important; background: var(--g0) !important; }

/* pop-ups need a surface to read on: a solid, borderless panel with a soft shadow */
:root[data-look="9"] .wpop { border-color: rgba(255,255,255,.05) !important; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9) !important; }

/* sidebar rows, collapse, avatar, top-bar wallet button: fills only */
:root[data-look="9"] :is(.rl-row.on, .sb-collapse, .av, .wl-btn) { border-color: transparent !important; box-shadow: none !important; }
:root[data-look="9"] .rl-row.on { background: rgba(255,255,255,.05) !important; }
:root[data-look="9"] .rl-row:not(.on):hover { background: var(--g1); }
:root[data-look="9"] :is(.sb-collapse, .wl-btn, .av) { background: var(--g0) !important; }
:root[data-look="9"] :is(.sb-collapse, .wl-btn):hover { background: var(--g1) !important; }

/* other pages: quick-launch cards, eyebrows, empty states, token head, wallets page frame */
:root[data-look="9"] .eb { border-color: transparent; box-shadow: none; background: var(--g0); border-radius: 999px; }
:root[data-look="9"] :is(.ql-c, .tq-head, .ro-empty) { background: var(--g0) !important; border-color: transparent !important; box-shadow: none !important; border-radius: 12px; }
:root[data-look="9"] .ql-c:hover { background: var(--g1) !important; }
:root[data-look="9"] :is(.ql-ic, .steps .sn) { border-color: transparent !important; background: rgba(255,255,255,.045); }
:root[data-look="9"] .wv-h { border-bottom-color: transparent; background: var(--fade) bottom center / 100% 1px no-repeat; }
:root[data-look="9"] .wv-side { border-right-color: transparent; background: var(--fade-v) right center / 1px 100% no-repeat !important; }
:root[data-look="9"] .wv-tbl { border-color: transparent; background: rgba(255,255,255,.015); }
@media (max-width: 980px) { :root[data-look="9"] .wv-side { border-bottom-color: transparent; background: var(--fade) bottom center / 100% 1px no-repeat !important; } }

/* ---------- buttons, Ghost style: fills only, no gradient, no edge, no glow. One shape for all: 10px round.
   Primary = a soft blue fill with light-blue text. Secondary = the same faint white fill as the tiles.
   Ghost = no fill until hover. The Beginner/Pro switch is a quiet segmented control. ---------- */
:root[data-look="9"] {
  --b-r: 10px;
  --b-pri: color-mix(in srgb, var(--ac) 20%, transparent); --b-pri-h: color-mix(in srgb, var(--ac) 28%, transparent); --b-pri-a: color-mix(in srgb, var(--ac) 15%, transparent);
  --b-pri-tx: color-mix(in srgb, var(--ac) 35%, #fff);
}
:root[data-look="9"] :is(.btn, .dep, .newr, .mode-sw, .rl-new, .wl-btn, .balchip) { border-radius: var(--b-r) !important; }
/* primary: Deposit, Next, Launch, sidebar New Runner */
:root[data-look="9"] :is(.btn.pri, .dep) {
  background: var(--b-pri) !important; color: var(--b-pri-tx) !important; border: 1px solid transparent !important; box-shadow: none !important; filter: none !important;
  font-weight: 600; transition: background .18s ease, color .18s ease, transform .12s ease; }
:root[data-look="9"] :is(.btn.pri, .dep):hover:not(:disabled) { background: var(--b-pri-h) !important; color: #fff !important; }
:root[data-look="9"] :is(.btn.pri, .dep):active:not(:disabled) { background: var(--b-pri-a) !important; transform: translateY(1px); }
:root[data-look="9"] :is(.btn.pri, .dep) .i { color: inherit; }
:root[data-look="9"] .btn.pri:disabled, :root[data-look="9"] .btn.pri[disabled] { background: rgba(255,255,255,.035) !important; color: var(--tx3) !important; }
/* the big step button: a touch more presence, the arrow nudges on hover */
:root[data-look="9"] .btn.pri.start-btn { background: color-mix(in srgb, var(--ac) 23%, transparent) !important; padding-inline: 22px; }
:root[data-look="9"] .btn.pri.start-btn:hover:not(:disabled) { background: color-mix(in srgb, var(--ac) 32%, transparent) !important; }
:root[data-look="9"] .btn.pri.start-btn .i { transition: transform .18s ease; }
:root[data-look="9"] .btn.pri.start-btn:hover .i { transform: translateX(2px); }
/* sidebar New Runner: full width, same soft blue */
:root[data-look="9"] .rl-new { justify-content: center; }
/* secondary: faint fill like the tiles */
:root[data-look="9"] :is(.newr, .wl-btn, .balchip) { background: var(--g0) !important; border: 1px solid transparent !important; box-shadow: none !important; color: var(--tx) !important; transition: background .18s ease; }
:root[data-look="9"] :is(.newr, .wl-btn):hover { background: var(--g1) !important; }
:root[data-look="9"] .newr i { box-shadow: none; }
/* ghost: nothing until hover */
:root[data-look="9"] .btn.ghost { background: transparent !important; border-color: transparent !important; box-shadow: none !important; color: var(--tx2) !important; }
:root[data-look="9"] .btn.ghost:hover { background: var(--g1) !important; color: var(--tx) !important; }
/* Beginner / Pro: one faint track, the picked side a step brighter, no blue */
:root[data-look="9"] .mode-sw { padding: 3px !important; background: var(--g0) !important; border: 0 !important; box-shadow: none !important; }
:root[data-look="9"] .mode-sw button { border-radius: 7px !important; border: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--tx3) !important; }
:root[data-look="9"] .mode-sw button:not(.on):not(:disabled):hover { color: var(--tx2) !important; }
:root[data-look="9"] .mode-sw button.on { background: rgba(255,255,255,.085) !important; color: var(--tx) !important; }
:root[data-look="9"] .mode-sw button.on .i { color: var(--ac); }
/* focus: a soft ring for keyboard users */
:root[data-look="9"] :is(.btn, .dep, .newr, .mode-sw button):focus-visible { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--ac) 45%, transparent) !important; }

/* ===================== part 2 · logo behind the setup pages (from runbg.css) ===================== */
:root[data-look="9"] #run-bg { display: block; position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; color: var(--ac); --sbw: 264px; }
:root[data-look="9"] body.sb-mini #run-bg { --sbw: 76px; }
@media (max-width: 980px) { :root[data-look="9"] #run-bg { --sbw: 0px; } #run-bg .rb-art { width: 90vw; top: 40%; } }

/* ===================== part 3 · smoked glass on the Ghost structure ===================== */
html:root[data-look="9"] {
  --ac: #8fb3d9; --ac-hi: #c9dcf2; --ac-ice: #f0f7ff; --ac-d: #3d5677; --ac-tx: #0d1016; --c-green: #8fb3d9; --c-blue: #8fb3d9; --wm-off: #2a3a50;
  --up: #34d39a; --dn: #f25c74; --on-up: #04140d;
  --bg: #0d1016; --bg1: #10141b; --bg2: #151b24; --bg2b: #131922; --bg3: #1b2330;
  --tx: #eef4fb; --tx2: #a7b4c5; --tx3: #7a8799;
  --ln: rgba(201,220,242,.06); --ln2: rgba(201,220,242,.09); --ln3: rgba(201,220,242,.15);
  --grid: rgba(201,220,242,.04); --row-h: rgba(201,220,242,.025);
  /* Ghost tokens, re-tinted cool */
  --g0: rgba(201,220,242,.035); --g1: rgba(201,220,242,.06); --g2: rgba(143,179,217,.12); --gl: rgba(201,220,242,.11);
  /* the glass recipe for small boxes: soft inner gradient + 1px ice light top-left + 1px cool rim lower-right */
  --gt: linear-gradient(160deg, rgba(201,220,242,.055), rgba(201,220,242,.02) 55%, rgba(127,184,255,.025));
  --gt-h: linear-gradient(160deg, rgba(201,220,242,.085), rgba(201,220,242,.035) 55%, rgba(127,184,255,.04));
  --gt-on: linear-gradient(160deg, rgba(143,179,217,.18), rgba(143,179,217,.07) 60%, rgba(127,184,255,.06));
  --gt-sh: inset 1px 1px 0 rgba(240,247,255,.07), inset -1px -1px 0 rgba(127,184,255,.09);
  --gt-sh-on: inset 1px 1px 0 rgba(240,247,255,.16), inset -1px -1px 0 rgba(127,184,255,.22), inset 0 0 0 1px rgba(143,179,217,.2), 0 0 24px -12px rgba(127,184,255,.5);
  --glow: 0 0 22px -6px rgba(127,184,255,.45); --ac-sh: var(--glow);
  --b-pri: rgba(143,179,217,.16); --b-pri-tx: #f0f7ff;
  --nav-on: linear-gradient(180deg, rgba(201,220,242,.07), rgba(143,179,217,.03)); --nav-on-sh: none;
  --seg-on: rgba(201,220,242,.1);
  --wm-fill: #c9dcf2;
  color-scheme: dark;
}
html:root[data-look="9"] body { color: var(--tx); background:
  radial-gradient(1000px 640px at 8% 6%, rgba(118,151,192,.12), transparent 62%),
  radial-gradient(820px 520px at 92% 100%, rgba(79,143,224,.07), transparent 60%),
  linear-gradient(rgba(201,220,242,.016) 1px, transparent 1px) 0 0 / 56px 56px,
  linear-gradient(90deg, rgba(201,220,242,.016) 1px, transparent 1px) 0 0 / 56px 56px,
  linear-gradient(180deg, #11151c, #0d1016 60%) fixed !important; }
html:root[data-look="9"] ::selection { background: rgba(143,179,217,.3); color: #fff; }

/* outer cards stay open (Ghost): only the fading divider, now in cool ice */
:root[data-look="9"] .stat-ic, :root[data-look="9"] .stat .i { color: var(--ac); }
:root[data-look="9"] .ha-doc { background: linear-gradient(160deg, rgba(143,179,217,.14), rgba(143,179,217,.05)); box-shadow: var(--gt-sh); }
:root[data-look="9"] .ha-doc:hover { background: linear-gradient(160deg, rgba(143,179,217,.22), rgba(143,179,217,.08)); }

/* numbered step badges: small ice-rimmed glass discs; done = lit steel→ice */
:root[data-look="9"] .vs-n { border: 0 !important; color: var(--ac-hi);
  background: linear-gradient(160deg, rgba(201,220,242,.12), rgba(143,179,217,.04)); box-shadow: inset 1px 1px 0 rgba(240,247,255,.2), inset -1px -1px 0 rgba(127,184,255,.22), 0 0 0 1px rgba(143,179,217,.28); }
:root[data-look="9"] .vs-n.ok { color: #0d1016; background: linear-gradient(160deg, #f0f7ff, #a9c6e6 55%, #7fa3cc); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 0 12px -2px rgba(127,184,255,.55); }
:root[data-look="9"] .vstep.locked .vs-n { color: var(--tx3); box-shadow: inset 1px 1px 0 rgba(240,247,255,.06), 0 0 0 1px rgba(201,220,242,.1); background: rgba(201,220,242,.03); }

/* option boxes, cards, tiles: subtle smoked glass in the Ghost shapes */
:root[data-look="9"] :is(.hl-mode, .hl-prev, .hw, .hs-t, .tile, .check, .mini-g div, .bun-row, .rv-head, .rv-s, .src-row, .cln-row, .tpl-venue,
  .wv-chs, .wv-mkt, .presets button, .bs, .drop, .empty, .lcard.add, .ql-c, .tq-head, .ro-empty) {
  background: var(--gt) !important; box-shadow: var(--gt-sh) !important; }
:root[data-look="9"] :is(.hl-mode:not(.on), .hl-prev:not(:disabled), .hw, .hs-t, .tile:not(.on):not(.static), .check, .bun-row, .src-row, .cln-row, .tpl-venue, .wv-mkt, .presets button, .lcard.add, .ql-c):hover {
  background: var(--gt-h) !important; }
:root[data-look="9"] .hs-t.off { background: rgba(201,220,242,.015) !important; box-shadow: inset 1px 1px 0 rgba(240,247,255,.03) !important; }
:root[data-look="9"] .hw-slot { background: rgba(201,220,242,.045) !important; box-shadow: inset 1px 1px 0 rgba(240,247,255,.05) !important; }
:root[data-look="9"] .hw:hover .hw-slot { background: rgba(201,220,242,.065) !important; }
/* selected: brighter steel glass, ice rim, ice dot */
:root[data-look="9"] :is(.hl-mode.on, .tile.on:not(.static), .presets button.on, .check.next) { background: var(--gt-on) !important; box-shadow: var(--gt-sh-on) !important; }
:root[data-look="9"] .hl-mode.on { color: var(--ac-hi); }
:root[data-look="9"] :is(.hl-mode.on, .tile.on:not(.static))::after { background: var(--ac-ice); box-shadow: 0 0 0 3px rgba(143,179,217,.2), 0 0 8px rgba(127,184,255,.6); }
:root[data-look="9"] :is(.hw-ic, .hl-tpl, .pk-ic, .ql-ic, .steps .sn) { background: linear-gradient(160deg, rgba(201,220,242,.09), rgba(201,220,242,.03)) !important; box-shadow: inset 1px 1px 0 rgba(240,247,255,.08), inset -1px -1px 0 rgba(127,184,255,.08); }

/* inputs: soft filled glass fields (Ghost shape), ice ring on focus */
html:root[data-look="9"][data-look] :is(.inp, .hf-addr, .addr, .picker, .search, .seg, .wv-q, .rl-q, .wx-q, .pp-search, .ro-q, input.inp, textarea, select) {
  background: linear-gradient(170deg, rgba(201,220,242,.05), rgba(201,220,242,.022)) !important; border-color: transparent !important; box-shadow: var(--gt-sh) !important; }
html:root[data-look="9"][data-look] :is(.inp, .search, .hf-addr, .picker, .wv-q, .rl-q, .pp-search, .ro-q):focus-within,
html:root[data-look="9"][data-look] :is(textarea, select, input.inp):focus {
  background: linear-gradient(170deg, rgba(201,220,242,.075), rgba(201,220,242,.035)) !important; outline: none;
  box-shadow: inset 1px 1px 0 rgba(240,247,255,.1), inset 0 0 0 1px rgba(143,179,217,.42), 0 0 0 3px rgba(127,184,255,.1), 0 0 18px -6px rgba(127,184,255,.4) !important; }
:root[data-look="9"] :is(.inp, .search) :is(input, textarea)::placeholder { color: #6c788a; }
html:root[data-look="9"][data-look] :is(.inp, .search, .picker) :is(input, textarea, select) { background: none !important; box-shadow: none !important; }

/* segmented controls (Beginner | Pro, tabs): faint glass track, picked side lit glass */
html:root[data-look="9"] .mode-sw { background: linear-gradient(170deg, rgba(201,220,242,.05), rgba(201,220,242,.022)) !important; box-shadow: var(--gt-sh) !important; }
:root[data-look="9"] :is(.seg button.on, .wv-chs .wv-ch.on, .mode-sw button.on, .tabs .on, .tf .on) {
  background: linear-gradient(180deg, rgba(201,220,242,.15), rgba(143,179,217,.06)) !important; color: var(--ac-ice) !important;
  box-shadow: inset 0 1px 0 rgba(240,247,255,.26), inset 0 -1px 0 rgba(127,184,255,.14), 0 1px 6px -2px rgba(0,0,0,.6) !important; }
:root[data-look="9"] .mode-sw button.on .i { color: var(--ac-hi); }
:root[data-look="9"] :is(.tgl i, .sw i, .switch i, .toggle i) { box-shadow: inset 1px 1px 0 rgba(240,247,255,.18); }

/* chips, tags */
:root[data-look="9"] :is(.chip, .hh-ven, .nl .cnt, kbd, .tbtn) { background: rgba(201,220,242,.05) !important; box-shadow: inset 1px 1px 0 rgba(240,247,255,.05); }
:root[data-look="9"] .eb { background: rgba(201,220,242,.05); color: var(--ac-hi); box-shadow: inset 1px 1px 0 rgba(240,247,255,.06); }
:root[data-look="9"] .tag { border-color: color-mix(in srgb, currentColor 28%, transparent); }

/* primary (Deposit, New Runner, Next, Launch): Ghost shape, glass fill with a top specular sliver */
:root[data-look="9"] :is(.btn.pri, .dep, .rl-new) {
  color: var(--ac-ice) !important; border: 0 !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.17) 0, rgba(240,247,255,.05) 46%, transparent 52%),
    linear-gradient(170deg, rgba(118,151,192,.36), rgba(48,65,87,.42)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.42), inset 1px 0 0 rgba(240,247,255,.08), inset -1px -1px 0 rgba(127,184,255,.26), 0 0 20px -8px rgba(127,184,255,.45) !important;
  text-shadow: 0 1px 0 rgba(13,16,22,.35); }
:root[data-look="9"] :is(.btn.pri, .dep, .rl-new):hover:not(:disabled) { color: #fff !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.23) 0, rgba(240,247,255,.07) 46%, transparent 52%),
    linear-gradient(170deg, rgba(134,170,214,.46), rgba(56,76,102,.52)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset -1px -1px 0 rgba(127,184,255,.34), 0 0 28px -6px rgba(127,184,255,.55) !important; }
:root[data-look="9"] .btn.pri.start-btn { background:
    linear-gradient(180deg, rgba(255,255,255,.2) 0, rgba(240,247,255,.06) 46%, transparent 52%),
    linear-gradient(170deg, rgba(126,160,203,.44), rgba(52,70,94,.52)) !important; }
:root[data-look="9"] .btn.pri:disabled, :root[data-look="9"] .btn.pri[disabled] {
  background: linear-gradient(180deg, rgba(201,220,242,.055), rgba(201,220,242,.022)) !important; color: #6f7c8f !important;
  box-shadow: inset 0 1px 0 rgba(240,247,255,.06) !important; text-shadow: none; }
/* secondary (New Runner in the top bar, Wallets, balance): soft glass fills */
:root[data-look="9"] :is(.btn:not(.pri):not(.ghost):not(.dn), .newr, .wl-btn, .balchip) {
  background: linear-gradient(170deg, rgba(201,220,242,.065), rgba(201,220,242,.028)) !important; box-shadow: var(--gt-sh) !important; border: 0 !important; }
:root[data-look="9"] :is(.btn:not(.pri):not(.ghost):not(.dn), .newr, .wl-btn):hover { background: linear-gradient(170deg, rgba(201,220,242,.1), rgba(201,220,242,.045)) !important; }
:root[data-look="9"] .newr i { background: var(--ac-hi); box-shadow: 0 0 6px rgba(127,184,255,.7); }
:root[data-look="9"] :is(.btn, .dep, .newr, .mode-sw button, .rl-new):focus-visible { outline: none; box-shadow: 0 0 0 2px rgba(143,179,217,.55), 0 0 18px -4px rgba(127,184,255,.55) !important; }

/* shell: graphite side rail with a cool hairline, quiet glass top bar, sidebar items stay plain rows */
:root[data-look="9"] .sb { background:
  linear-gradient(180deg, transparent, rgba(127,184,255,.1) 30%, rgba(127,184,255,.1) 70%, transparent) right center / 1px 100% no-repeat,
  linear-gradient(180deg, #11161e, #0e1218 70%, #0d1016) !important; }
:root[data-look="9"] .topbar { background: linear-gradient(90deg, transparent, rgba(201,220,242,.08) 30%, rgba(201,220,242,.08) 70%, transparent) bottom center / 100% 1px no-repeat,
  linear-gradient(180deg, rgba(19,24,32,.72), rgba(14,18,24,.6)) !important; -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); }
:root[data-look="9"] .status { background: linear-gradient(90deg, transparent, rgba(201,220,242,.08) 30%, rgba(201,220,242,.08) 70%, transparent) top center / 100% 1px no-repeat, rgba(11,14,19,.86) !important; }
:root[data-look="9"] :is(.nl.on, .rl-row.on) { background: var(--nav-on) !important; box-shadow: none !important; color: var(--ac-ice); }
:root[data-look="9"] .nl.on .i, :root[data-look="9"] .sb .nl.on .i { color: var(--ac-hi); }

/* pop-ups: a dense glass slab (a pop-up is a layer, not a page section) */
:root[data-look="9"] .wpop-bg { background: rgba(6,8,12,.6); -webkit-backdrop-filter: blur(6px) saturate(.9); backdrop-filter: blur(6px) saturate(.9); }
:root[data-look="9"] .wpop { background: linear-gradient(155deg, rgba(29,37,51,.95), rgba(17,22,30,.97)) !important; border: 0 !important; border-radius: 20px !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.2); backdrop-filter: blur(24px) saturate(1.2);
  box-shadow: inset 1px 1px 0 rgba(240,247,255,.11), inset -1px -1px 0 rgba(127,184,255,.16), 0 50px 100px -30px rgba(0,0,0,.95), 0 0 60px -30px rgba(127,184,255,.25) !important; }
:root[data-look="9"] .wpop-h { border-bottom-color: rgba(201,220,242,.06); }
:root[data-look="9"] .wpop-h > .i { color: var(--ac-hi); }

/* tables, lines, charts, step bar */
:root[data-look="9"] :is(.kv > div, .tbl th, .tbl td, .feed li, .tgl, .tp-r, .hr, .rung, .tabs) { border-color: rgba(201,220,242,.05); }
:root[data-look="9"] .tbl th { color: var(--tx3); }
:root[data-look="9"] .wv-tbl { background: linear-gradient(160deg, rgba(201,220,242,.03), rgba(201,220,242,.012)); box-shadow: var(--gt-sh); }
:root[data-look="9"] .mk-chart { background: linear-gradient(180deg, rgba(143,179,217,.07), transparent); }
:root[data-look="9"] .trk-rail .trk-d.done path { fill: var(--ac-hi); stroke: var(--ac-hi); }
:root[data-look="9"] .trk-run .i { fill: var(--ac-hi); stroke: var(--ac-hi); }

/* headings ice-white; the logo behind setup pages a touch more present on graphite */
:root[data-look="9"] :is(h1, h2, .h1) { color: #f2f7fd; }
:root[data-look="9"] #run-bg .rb-art.on { opacity: .13; }
@media (prefers-reduced-transparency: reduce) { :root[data-look="9"] :is(.topbar, .wpop) { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; } }

/* sidebar brand (same as look 6): expanded = the word "Runner", collapsed = the gl14 mark */
.wordmark::after, .wordmark .wm-coin, .mini-mark::before, .mini-mark::after { display: none !important; }
.wordmark { margin-left: 4px; }
.wordmark:hover .wm-t, .wordmark:focus-visible .wm-t { transform: none; opacity: 1; }
:root[data-look="9"] .wordmark .wm-t { color: #f0f7ff; }
:root[data-look="9"] .wordmark .wm-t::before { color: #5f82b0; }
.mini-mark .mm { filter: drop-shadow(0 0 6px rgba(90,150,230,.3)); }

/* ===================== part 4 · outlines instead of fills ===================== */
:root[data-look="9"] {
  /* section-group edge (large panels) */
  --s1: rgba(240,247,255,.22); --s2: rgba(201,220,242,.075); --s3: rgba(143,179,217,.018);
  /* option / input / pill edge, resting · hover · selected */
  --o1: rgba(240,247,255,.2);  --o2: rgba(201,220,242,.08);  --o3: rgba(143,179,217,.03);
  --h1: rgba(240,247,255,.4);  --h2: rgba(201,220,242,.16);  --h3: rgba(143,179,217,.07);
  --a1: rgba(240,247,255,.78); --a2: rgba(201,220,242,.42);  --a3: rgba(143,179,217,.26);
  --fill: rgba(201,220,242,.014);
  --fill-top: linear-gradient(180deg, rgba(240,247,255,.035), rgba(240,247,255,0) 38%);
  --glow-on: 0 0 0 1px rgba(143,179,217,.07), 0 0 26px -8px rgba(127,184,255,.5), inset 0 0 22px -12px rgba(143,179,217,.45);
  --fade-s: linear-gradient(90deg, transparent, rgba(201,220,242,.1) 30%, rgba(201,220,242,.1) 70%, transparent);
}

/* the ring needs a positioned host; the token strip (sticky) already is. The Beginner/Pro switch is absolute on some
   widths and static on others, so it gets a box-shadow hairline instead of the ring (below) */
:root[data-look="9"] :where(.card, .stat, .save-row, .lc-opt, .hh, .wv-fund, .engine-strip, .fees-box, .wv-tbl,
  .hl-mode, .hl-prev, .hw, .hs-t, .hw-slot, .tile, .check, .mini-g div, .bun-row, .rv-head, .rv-s, .src-row, .cln-row, .tpl-venue,
  .wv-mkt, .presets button, .drop, .empty, .lcard.add, .ql-c, .tq-head, .ro-empty, .tt-dir,
  .inp, .hf-addr, .addr, .picker, .search, .seg, .wv-chs, .wv-q, .rl-q, .wx-q, .pp-search, .ro-q,
  .chip, .hh-ven, .btn:not(.pri):not(.dn), .newr, .wl-btn, .balchip) { position: relative; }

/* look 7 switched these pseudo-elements off; switch them back on for the ring */
:root[data-look="9"] :is(.card, .stat)::before { content: "" !important; }

/* the hairline itself: a masked pseudo-element, 1px ring, gradient from the top-left (:where keeps specificity low) */
:root[data-look="9"] :where(.card, .stat, .save-row, .tstrip, .lc-opt, .hh, .wv-fund, .engine-strip, .fees-box, .wv-tbl,
  .hl-mode, .hl-prev, .hw, .hs-t, .hw-slot, .tile, .check, .mini-g div, .bun-row, .rv-head, .rv-s, .src-row, .cln-row, .tpl-venue,
  .wv-mkt, .presets button, .drop, .empty, .lcard.add, .ql-c, .tq-head, .ro-empty, .tt-dir,
  .inp, .hf-addr, .addr, .picker, .search, .seg, .wv-chs, .wv-q, .rl-q, .wx-q, .pp-search, .ro-q,
  .chip, .hh-ven, .btn:not(.pri):not(.dn), .newr, .wl-btn, .balchip) {
  --e1: var(--o1); --e2: var(--o2); --e3: var(--o3);
  transition: --e1 .2s ease, --e2 .2s ease, --e3 .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease !important;
}
:root[data-look="9"] :where(.card, .stat, .save-row, .tstrip, .lc-opt, .hh, .wv-fund, .engine-strip, .fees-box, .wv-tbl,
  .hl-mode, .hl-prev, .hw, .hs-t, .hw-slot, .tile, .check, .mini-g div, .bun-row, .rv-head, .rv-s, .src-row, .cln-row, .tpl-venue,
  .wv-mkt, .presets button, .drop, .empty, .lcard.add, .ql-c, .tq-head, .ro-empty, .tt-dir,
  .inp, .hf-addr, .addr, .picker, .search, .seg, .wv-chs, .wv-q, .rl-q, .wx-q, .pp-search, .ro-q,
  .chip, .hh-ven, .btn:not(.pri):not(.dn), .newr, .wl-btn, .balchip)::before {
  content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, var(--e1), var(--e2) 38%, var(--e3) 78%, var(--e3)) !important; opacity: 1 !important;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

/* ---------- section groups: open, outlined, 16px, nearly no fill ---------- */
:root[data-look="9"] :is(.card, .stat, .save-row, .tstrip, .lc-opt, .hh, .wv-fund, .engine-strip, .fees-box, .wv-tbl) {
  --e1: var(--s1); --e2: var(--s2); --e3: var(--s3);
  background: var(--fill-top), rgba(201,220,242,.012) !important; border-color: transparent !important; box-shadow: none !important;
  border-radius: 16px !important; -webkit-backdrop-filter: none; backdrop-filter: none;
}
:root[data-look="9"] .ha-mode {
  border-radius: 16px !important;
  background: radial-gradient(260px 120px at 50% 0%, color-mix(in srgb, var(--mc, var(--ac)) 6%, transparent), transparent 75%) !important;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mc, var(--ac)) 16%, transparent) !important;
}
/* panels inside panels (pop-ups, nested groups): a quieter edge so the rings don't stack up */
:root[data-look="9"] :is(.card, .wpop, .hh) :is(.card, .stat, .save-row, .tstrip, .lc-opt, .fees-box, .wv-fund) {
  --e1: rgba(240,247,255,.14); --e2: rgba(201,220,242,.05); --e3: rgba(143,179,217,.012); background: none !important; border-radius: 14px !important; }
:root[data-look="9"] .wpop :is(.card, .stat, .save-row, .tstrip, .fees-box) { --e1: rgba(240,247,255,.12); }
/* the step that is still locked: fainter still */
:root[data-look="9"] .vstep.locked { --e1: rgba(240,247,255,.1); --e2: rgba(201,220,242,.04); --e3: transparent; }

/* ---------- option cards, tiles, rows: hairline + faint top light ---------- */
:root[data-look="9"] :is(.hl-mode, .hl-prev, .hw, .hs-t, .tile, .check, .mini-g div, .bun-row, .rv-head, .rv-s, .src-row, .cln-row, .tpl-venue,
  .wv-mkt, .presets button, .drop, .empty, .lcard.add, .ql-c, .tq-head, .ro-empty, .tt-dir) {
  background: var(--fill-top), var(--fill) !important; border-color: transparent !important; box-shadow: none !important;
}
:root[data-look="9"] :is(.hl-mode, .hl-prev, .hw, .hs-t, .tile, .check, .bun-row, .src-row, .cln-row, .tpl-venue, .drop, .empty, .lcard.add, .ql-c, .tq-head, .ro-empty, .tt-dir) { border-radius: 12px !important; }
:root[data-look="9"] .hw { border-radius: 14px !important; }
:root[data-look="9"] .hw-slot { background: rgba(201,220,242,.012) !important; box-shadow: none !important; --e1: rgba(240,247,255,.13); --e2: rgba(201,220,242,.05); }
:root[data-look="9"] .hs-t.off { background: none !important; box-shadow: none !important; --e1: rgba(240,247,255,.09); --e2: rgba(201,220,242,.035); --e3: transparent; }

/* hover: the edge brightens, the fill barely moves */
:root[data-look="9"] :is(.hl-mode:not(.on), .hl-prev:not(:disabled), .hw, .hs-t, .tile:not(.on):not(.static), .check, .bun-row, .src-row, .cln-row,
  .tpl-venue, .wv-mkt, .presets button:not(.on), .lcard.add, .ql-c, .tt-dir, .chip, .hh-ven):hover {
  --e1: var(--h1); --e2: var(--h2); --e3: var(--h3); background: var(--fill-top), rgba(201,220,242,.024) !important; }
:root[data-look="9"] .hw:hover .hw-slot { --e1: rgba(240,247,255,.22); --e2: rgba(201,220,242,.09); background: rgba(201,220,242,.018) !important; }

/* selected: bright ice edge + soft cool glow, the fill stays a whisper */
:root[data-look="9"] :is(.hl-mode.on, .tile.on:not(.static), .presets button.on, .check.next, .tt-dir.on) {
  --e1: var(--a1); --e2: var(--a2); --e3: var(--a3);
  background: linear-gradient(180deg, rgba(240,247,255,.05), rgba(240,247,255,0) 45%), rgba(143,179,217,.03) !important;
  box-shadow: var(--glow-on) !important;
}
:root[data-look="9"] .hl-mode.on { color: var(--ac-hi); }
:root[data-look="9"] :is(.hl-mode.on, .tile.on:not(.static))::after { z-index: 1; }

/* ---------- inputs: same hairline, ice ring on focus ---------- */
html:root[data-look="9"][data-look] :is(.inp, .hf-addr, .addr, .picker, .search, .seg, .wv-chs, .wv-q, .rl-q, .wx-q, .pp-search, .ro-q) {
  background: var(--fill-top), var(--fill) !important; border-color: transparent !important; box-shadow: none !important; }
html:root[data-look="9"][data-look] :is(.inp, .hf-addr, .addr, .picker, .search, .wv-q, .rl-q, .wx-q, .pp-search, .ro-q):hover { --e1: var(--h1); --e2: var(--h2); --e3: var(--h3); }
html:root[data-look="9"][data-look] :is(.inp, .search, .hf-addr, .picker, .wv-q, .rl-q, .pp-search, .ro-q, .wx-q):focus-within {
  --e1: var(--a1); --e2: var(--a2); --e3: var(--a3);
  background: var(--fill-top), rgba(201,220,242,.025) !important; box-shadow: 0 0 0 3px rgba(127,184,255,.07), 0 0 20px -8px rgba(127,184,255,.45) !important; }
/* bare inputs and selects (no wrapper to hang the ring on): a two-edge hairline from box-shadow */
html:root[data-look="9"][data-look] :is(input.inp, textarea, select) { background: rgba(201,220,242,.014) !important; border-color: transparent !important;
  box-shadow: inset 1px 1px 0 rgba(240,247,255,.16), inset -1px -1px 0 rgba(143,179,217,.06) !important; }
html:root[data-look="9"][data-look] :is(input.inp, textarea, select):focus { box-shadow: inset 0 0 0 1px rgba(201,220,242,.5), 0 0 18px -6px rgba(127,184,255,.45) !important; }
html:root[data-look="9"][data-look] :is(.inp, .search, .picker) :is(input, textarea, select) { background: none !important; box-shadow: none !important; }

/* segmented controls: an outlined track, the picked side an ice-edged lens with a soft glow */
html:root[data-look="9"] .mode-sw { background: var(--fill) !important; border: 0 !important;
  box-shadow: inset 1px 1px 0 rgba(240,247,255,.16), inset -1px -1px 0 rgba(143,179,217,.05), inset 0 0 0 1px rgba(201,220,242,.05) !important; }
:root[data-look="9"] .seg, :root[data-look="9"] .wv-chs { background: var(--fill) !important; box-shadow: none !important; border: 0 !important; }
:root[data-look="9"] :is(.seg button.on, .wv-chs .wv-ch.on, .mode-sw button.on, .tabs .on, .tf .on) {
  background: linear-gradient(180deg, rgba(240,247,255,.07), rgba(143,179,217,.025)) !important; color: var(--ac-ice) !important;
  box-shadow: inset 0 0 0 1px rgba(201,220,242,.32), inset 0 1px 0 rgba(240,247,255,.18), 0 0 16px -6px rgba(127,184,255,.5) !important; }

/* chips, pills, tags: outline only */
:root[data-look="9"] :is(.chip, .hh-ven, .balchip) { background: rgba(201,220,242,.012) !important; box-shadow: none !important; border-color: transparent !important; }
:root[data-look="9"] :is(.chip, .hh-ven) { border-radius: 999px; }
:root[data-look="9"] :is(.nl .cnt, kbd, .tbtn) { background: none !important; box-shadow: inset 0 0 0 1px rgba(201,220,242,.14) !important; }
:root[data-look="9"] .eb { background: none; box-shadow: inset 0 0 0 1px rgba(201,220,242,.16); }

/* secondary buttons: outlined, no slab. The primary keeps look 7's glass with its specular sliver */
:root[data-look="9"] :is(.btn:not(.pri):not(.ghost):not(.dn), .newr, .wl-btn) {
  background: var(--fill-top), rgba(201,220,242,.016) !important; box-shadow: none !important; border: 0 !important; }
:root[data-look="9"] :is(.btn:not(.pri):not(.ghost):not(.dn), .newr, .wl-btn):hover {
  --e1: var(--h1); --e2: var(--h2); --e3: var(--h3); background: var(--fill-top), rgba(201,220,242,.03) !important; }
:root[data-look="9"] .btn.ghost { --e1: transparent; --e2: transparent; --e3: transparent; }
:root[data-look="9"] .btn.ghost:hover { --e1: var(--o1); --e2: var(--o2); --e3: var(--o3); background: rgba(201,220,242,.02) !important; }

/* small icon discs: outlined too */
:root[data-look="9"] :is(.hw-ic, .hl-tpl, .pk-ic, .ql-ic, .steps .sn) { background: rgba(201,220,242,.03) !important;
  box-shadow: inset 1px 1px 0 rgba(240,247,255,.16), inset -1px -1px 0 rgba(143,179,217,.06), inset 0 0 0 1px rgba(201,220,242,.05) !important; }

/* dividers: soft fading lines in ice */
:root[data-look="9"] :is(.ha-g + .ha-g, .tt-adv, .pos, .how-side .hh-nums) { background-image: var(--fade-s); }
:root[data-look="9"] .hh-nums { background: linear-gradient(180deg, transparent, rgba(201,220,242,.1) 30%, rgba(201,220,242,.1) 70%, transparent) left center / 1px 100% no-repeat; }
:root[data-look="9"] .ha-list.dn { background: var(--fade-s) top / 100% 1px no-repeat; }
:root[data-look="9"] .hl-or::before { background: linear-gradient(90deg, transparent, rgba(201,220,242,.12)); }
:root[data-look="9"] .hl-or::after { background: linear-gradient(90deg, rgba(201,220,242,.12), transparent); }
:root[data-look="9"] .tt-adv-h > i { background: linear-gradient(90deg, rgba(201,220,242,.12), transparent); }
:root[data-look="9"] :is(.kv > div, .tbl th, .tbl td, .feed li, .tgl, .tp-r, .hr, .rung, .tabs) { border-color: rgba(201,220,242,.055); }

/* the stat tile's colour icon wash is gone in Ghost; give the dashboard tiles a little air instead */
:root[data-look="9"] .stat { padding: 20px 22px; }
@media (prefers-reduced-motion: reduce) { :root[data-look="9"] * { transition-duration: 0s !important; } }

/* ===================== part 5 · frosted glass over chrome logo marks ===================== */
/* palette: the light top of the gl14 mark (ice #f0f7ff, silver #dfe9f5, pale steel #c9dcf2, steel #a9bfd8);
   cool blue only as a hint in glows; green / red stay for PnL */
html:root[data-look="9"] {
  --ac: #c9dcf2; --ac-hi: #dfe9f5; --ac-ice: #f0f7ff; --ac-d: #5d728c; --ac-tx: #0d1016; --c-green: #c9dcf2; --c-blue: #a9bfd8;
  --tx: #f2f6fb; --tx2: #b3becb; --tx3: #858f9d;
  --bg: #0e1116; --bg1: #12161c; --bg2: #171c24; --bg2b: #151a21; --bg3: #1d232d;
  --ln: rgba(255,255,255,.07); --ln2: rgba(255,255,255,.1); --ln3: rgba(255,255,255,.16);
  /* frosted glass recipe */
  --fz: linear-gradient(rgba(255,255,255,.05), rgba(255,255,255,.05)), rgba(15,19,25,.5);   /* panel fill: white frost over a graphite tint so text stays readable */
  --fz-top: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0) 42%);
  --fz-blur: blur(34px) saturate(1.2);
  --fz-sh: 0 24px 60px -28px rgba(0,0,0,.75), 0 2px 10px -4px rgba(0,0,0,.35);
  /* panel edge: brighter on the top, soft white all round */
  --s1: rgba(255,255,255,.26); --s2: rgba(255,255,255,.12); --s3: rgba(255,255,255,.08);
  --o1: rgba(255,255,255,.22); --o2: rgba(255,255,255,.1);  --o3: rgba(255,255,255,.06);
  --h1: rgba(255,255,255,.4);  --h2: rgba(255,255,255,.18); --h3: rgba(255,255,255,.1);
  --a1: rgba(248,251,255,.9);  --a2: rgba(223,233,245,.5);  --a3: rgba(201,220,242,.3);
  --fill: rgba(255,255,255,.035);
  --fill-top: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,0) 40%);
  --glow-on: 0 0 0 1px rgba(223,233,245,.08), 0 0 28px -10px rgba(201,220,242,.55), inset 0 0 22px -12px rgba(223,233,245,.35);
  --fade-s: linear-gradient(90deg, transparent, rgba(255,255,255,.12) 30%, rgba(255,255,255,.12) 70%, transparent);
  --wm-fill: #dfe9f5;
}
html:root[data-look="9"] ::selection { background: rgba(201,220,242,.3); color: #fff; }

/* ---------- background: graphite + faint grain + the chrome marks (#run-bg, built by js/runbg.js) ---------- */
html:root[data-look="9"] body { background:
  radial-gradient(900px 700px at 78% 40%, rgba(201,220,242,.07), transparent 70%),
  radial-gradient(700px 500px at 18% 100%, rgba(169,191,216,.05), transparent 70%),
  linear-gradient(180deg, #11151b, #0d1015 70%) fixed !important; }
html:root[data-look="9"] body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
/* the per-step art of runbg.js is not used here: the marks are drawn by the container's own pseudo-elements */
:root[data-look="9"] #run-bg .rb-art { display: none !important; }
:root[data-look="9"] #run-bg::before, :root[data-look="9"] #run-bg::after {
  content: ""; position: absolute; aspect-ratio: 1; pointer-events: none;
  background: url("../../brand/runner-mark-gl14.svg") center / contain no-repeat;
  /* bright chrome: lift the graphite base to steel, keep the ice top, a soft silver halo */
  filter: brightness(1.5) contrast(1.08) saturate(.5) drop-shadow(0 0 36px rgba(223,233,245,.22)) drop-shadow(0 0 110px rgba(169,191,216,.18));
  transition: opacity .6s ease, transform .6s ease, top .6s ease, right .6s ease, height .6s ease;
}
/* other pages: one softer mark, right side, partly off-screen */
:root[data-look="9"] #run-bg::before { height: 74vh; right: -6vw; top: 22vh; opacity: .5; transform: rotate(8deg); animation: l9drift 60s ease-in-out infinite alternate; }
:root[data-look="9"] #run-bg::after { height: 46vh; left: calc(var(--sbw) - 2vw); bottom: -12vh; opacity: 0; transform: rotate(-22deg); }
/* setup pages (Token & Venue, How, Fund, Launch review): one big mark behind the right half, a smaller one lower-left */
:root[data-look="9"] #run-bg:has(.rb-art.on)::before { height: 82vh; right: 4vw; top: 17vh; opacity: .6; transform: rotate(0deg); }
:root[data-look="9"] #run-bg:has(.rb-art.on)::after { opacity: .4; animation: l9drift2 70s ease-in-out infinite alternate; }
/* Token & Venue gets the full-strength pair; the later steps a touch calmer */
:root[data-look="9"] #run-bg:has(.rb-art[data-i="1"].on, .rb-art[data-i="2"].on, .rb-art[data-i="3"].on)::before { opacity: .44; height: 76vh; top: 20vh; }
:root[data-look="9"] #run-bg:has(.rb-art[data-i="1"].on, .rb-art[data-i="2"].on, .rb-art[data-i="3"].on)::after { opacity: .28; }
@keyframes l9drift { to { translate: -1.2vw 1.4vh; } }
@keyframes l9drift2 { to { translate: 1vw -1.2vh; } }
@media (max-width: 980px) { :root[data-look="9"] #run-bg::before { height: 60vh; right: -20vw; } :root[data-look="9"] #run-bg::after { display: none; } }

/* ---------- frosted panels. The blur sits on a ::after layer behind each panel (not on the panel itself), so
   pop-ups and menus that live inside a panel are not trapped by the containing block a backdrop-filter makes.
   Only the big containers get it; chips, tiles and inputs inside are plain translucent fills. ---------- */
:root[data-look="9"] :is(.card, .stat, .save-row, .lc-opt, .hh, .wv-fund, .engine-strip, .fees-box, .wv-tbl, .ql-c, .tq-head, .ro-empty) {
  background: var(--fz-top), var(--fz) !important; border-radius: 18px !important; box-shadow: var(--fz-sh) !important; }
:root[data-look="9"] :is(.card, .stat, .save-row, .lc-opt, .hh, .wv-fund, .engine-strip, .fees-box, .wv-tbl, .ql-c, .tq-head, .ro-empty)::after {
  content: "" !important; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  -webkit-backdrop-filter: var(--fz-blur); backdrop-filter: var(--fz-blur); }
/* nested panels: no second blur, a lighter frost */
:root[data-look="9"] :is(.card, .wpop, .hh) :is(.card, .stat, .save-row, .lc-opt, .fees-box, .wv-fund) { background: rgba(255,255,255,.025) !important; box-shadow: none !important; }
:root[data-look="9"] :is(.card, .wpop, .hh) :is(.card, .stat, .save-row, .lc-opt, .fees-box, .wv-fund)::after { content: none !important; }
:root[data-look="9"] .ql-c { border-radius: 14px !important; }
:root[data-look="9"] .ql-c:hover { background: var(--fz-top), rgba(255,255,255,.08) !important; }
/* the sticky token strip: same frost, blur straight on it (it holds no pop-ups) */
:root[data-look="9"] .tstrip { background: var(--fz-top), rgba(22,27,35,.55) !important; -webkit-backdrop-filter: var(--fz-blur); backdrop-filter: var(--fz-blur); box-shadow: var(--fz-sh) !important; }

/* tiles, options, rows inside panels: translucent white, no blur */
:root[data-look="9"] :is(.hl-mode, .hl-prev, .hw, .hs-t, .tile, .check, .mini-g div, .bun-row, .rv-head, .rv-s, .src-row, .cln-row, .tpl-venue,
  .wv-mkt, .presets button, .drop, .empty, .lcard.add, .tt-dir) { background: var(--fill-top), var(--fill) !important; }
:root[data-look="9"] :is(.hl-mode:not(.on), .hl-prev:not(:disabled), .hw, .hs-t, .tile:not(.on):not(.static), .check, .bun-row, .src-row, .cln-row,
  .tpl-venue, .wv-mkt, .presets button:not(.on), .lcard.add, .tt-dir):hover { background: var(--fill-top), rgba(255,255,255,.06) !important; }
/* selected: brighter frost + silver edge */
:root[data-look="9"] :is(.hl-mode.on, .tile.on:not(.static), .presets button.on, .check.next, .tt-dir.on) {
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.02) 60%), rgba(223,233,245,.06) !important; box-shadow: var(--glow-on) !important; }
:root[data-look="9"] :is(.hl-mode.on, .tile.on:not(.static))::after { background: #f6f9fd; box-shadow: 0 0 0 3px rgba(223,233,245,.16), 0 0 10px rgba(223,233,245,.6); }
:root[data-look="9"] .hl-mode.on { color: var(--ac-ice); }

/* inputs: a slightly darker frost so typed text reads crisply */
html:root[data-look="9"][data-look] :is(.inp, .hf-addr, .addr, .picker, .search, .wv-q, .rl-q, .wx-q, .pp-search, .ro-q) {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)), rgba(10,13,18,.22) !important; }
html:root[data-look="9"][data-look] :is(.inp, .search, .hf-addr, .picker, .wv-q, .rl-q, .pp-search, .ro-q, .wx-q):focus-within {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025)), rgba(10,13,18,.2) !important;
  box-shadow: 0 0 0 3px rgba(223,233,245,.07), 0 0 22px -8px rgba(201,220,242,.45) !important; }
html:root[data-look="9"][data-look] :is(input.inp, textarea, select) { background: rgba(10,13,18,.22) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 0 0 1px rgba(255,255,255,.08) !important; }
html:root[data-look="9"][data-look] :is(input.inp, textarea, select):focus { box-shadow: inset 0 0 0 1px rgba(223,233,245,.5), 0 0 18px -6px rgba(201,220,242,.45) !important; }
html:root[data-look="9"][data-look] :is(.inp, .search, .picker) :is(input, textarea, select) { background: none !important; box-shadow: none !important; }
:root[data-look="9"] :is(.inp, .search) :is(input, textarea)::placeholder { color: #7d8796; }

/* segmented controls: picked side a bright frosted lens */
:root[data-look="9"] :is(.seg button.on, .wv-chs .wv-ch.on, .mode-sw button.on, .tabs .on, .tf .on) {
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.06)) !important; color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 0 0 1px rgba(255,255,255,.1), 0 2px 10px -4px rgba(0,0,0,.6) !important; }
:root[data-look="9"] .mode-sw button.on .i { color: var(--ac-ice); }

/* primary (Deposit, New Runner, Next, Launch): light silver glass, dark ink */
:root[data-look="9"] :is(.btn.pri, .dep, .rl-new) {
  color: #10141a !important; border: 0 !important; text-shadow: none !important;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(223,233,245,.86) 55%, rgba(201,220,242,.8)) !important;
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(169,191,216,.6), 0 8px 24px -10px rgba(201,220,242,.45), 0 0 0 1px rgba(255,255,255,.18) !important; }
:root[data-look="9"] :is(.btn.pri, .dep, .rl-new):hover:not(:disabled) { color: #0b0e12 !important;
  background: linear-gradient(180deg, #fff, rgba(234,241,250,.94) 55%, rgba(213,228,245,.9)) !important;
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(169,191,216,.6), 0 10px 30px -8px rgba(223,233,245,.55), 0 0 0 1px rgba(255,255,255,.28) !important; }
:root[data-look="9"] .btn.pri.start-btn { background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(223,233,245,.86) 55%, rgba(201,220,242,.8)) !important; }
:root[data-look="9"] :is(.btn.pri, .dep, .rl-new) :is(.i, span) { color: inherit !important; }
:root[data-look="9"] .btn.pri:disabled, :root[data-look="9"] .btn.pri[disabled] {
  background: rgba(255,255,255,.06) !important; color: #7d8796 !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.08) !important; }
/* secondary: frosted white */
:root[data-look="9"] :is(.btn:not(.pri):not(.ghost):not(.dn), .newr, .wl-btn, .balchip) { background: var(--fill-top), rgba(255,255,255,.05) !important; color: var(--tx) !important; }
:root[data-look="9"] :is(.btn:not(.pri):not(.ghost):not(.dn), .newr, .wl-btn):hover { background: var(--fill-top), rgba(255,255,255,.09) !important; }
:root[data-look="9"] .newr i { background: var(--ac-ice); box-shadow: 0 0 6px rgba(223,233,245,.8); }
:root[data-look="9"] :is(.btn, .dep, .newr, .mode-sw button, .rl-new):focus-visible { outline: none; box-shadow: 0 0 0 2px rgba(223,233,245,.6), 0 0 18px -4px rgba(201,220,242,.55) !important; }

/* chips and small badges: translucent, no blur */
:root[data-look="9"] :is(.chip, .hh-ven, .balchip) { background: rgba(255,255,255,.045) !important; }
:root[data-look="9"] .vs-n { color: var(--ac-ice); background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.05)); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 0 0 1px rgba(255,255,255,.14); }
:root[data-look="9"] .vs-n.ok { color: #10141a; background: linear-gradient(160deg, #fff, #dfe9f5 55%, #a9bfd8); box-shadow: inset 0 1px 0 #fff, 0 0 12px -2px rgba(223,233,245,.55); }
:root[data-look="9"] :is(.hw-ic, .hl-tpl, .pk-ic, .ql-ic, .steps .sn) { background: rgba(255,255,255,.06) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(255,255,255,.06) !important; }
:root[data-look="9"] :is(.stat-ic, .stat .i) { color: var(--ac-hi); }

/* ---------- shell: frosted sidebar and top bar over the marks ---------- */
:root[data-look="9"] .sb { background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02)), rgba(14,17,22,.42) !important;
  -webkit-backdrop-filter: var(--fz-blur); backdrop-filter: var(--fz-blur);
  box-shadow: inset -1px 0 0 rgba(255,255,255,.08), 12px 0 40px -30px rgba(0,0,0,.8) !important; }
:root[data-look="9"] .topbar { background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)), rgba(14,17,22,.4) !important;
  -webkit-backdrop-filter: var(--fz-blur); backdrop-filter: var(--fz-blur); box-shadow: inset 0 -1px 0 rgba(255,255,255,.07) !important; }
:root[data-look="9"] .status { background: rgba(12,15,19,.6) !important; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: inset 0 1px 0 rgba(255,255,255,.07); }
:root[data-look="9"] :is(.nl.on, .rl-row.on) { background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.05)) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 1px rgba(255,255,255,.06) !important; color: #fff; }
:root[data-look="9"] .nl.on .i, :root[data-look="9"] .sb .nl.on .i { color: var(--ac-ice); }
:root[data-look="9"] :is(.nl:not(.on), .rl-row:not(.on)):hover { background: rgba(255,255,255,.05); }
:root[data-look="9"] .sb-foot { background: rgba(255,255,255,.04) !important; }

/* pop-ups: a denser frosted slab */
:root[data-look="9"] .wpop-bg { background: rgba(6,8,12,.45); -webkit-backdrop-filter: blur(10px) saturate(.9); backdrop-filter: blur(10px) saturate(.9); }
:root[data-look="9"] .wpop { background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02) 40%), rgba(20,24,31,.78) !important; border-radius: 20px !important;
  -webkit-backdrop-filter: blur(36px) saturate(1.2); backdrop-filter: blur(36px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), inset 0 0 0 1px rgba(255,255,255,.08), 0 50px 100px -30px rgba(0,0,0,.95) !important; }

/* ---------- type: white / silver, large titles light and airy ---------- */
:root[data-look="9"] :is(h1, h2, .h1) { color: #f5f8fc; }
html:root[data-look="9"] { --h1: 300 36px var(--f); --h1-ls: -0.03em; }
:root[data-look="9"] .ph h1 { color: #f6f9fd; }
:root[data-look="9"] .ph p, :root[data-look="9"] .ph .sub { color: var(--tx2); }
:root[data-look="9"] .stat b, :root[data-look="9"] .stat .v { font-weight: 400; }
:root[data-look="9"] .wordmark .wm-t { color: #f6f9fd; }
:root[data-look="9"] .wordmark .wm-t::before { color: #a9bfd8; }
:root[data-look="9"] .trk-rail .trk-d.done path, :root[data-look="9"] .trk-run .i { fill: var(--ac-ice); stroke: var(--ac-ice); }
:root[data-look="9"] .mk-chart { background: linear-gradient(180deg, rgba(223,233,245,.06), transparent); }

@media (prefers-reduced-transparency: reduce) {
  :root[data-look="9"] :is(.sb, .topbar, .tstrip, .wpop, .status), :root[data-look="9"] :is(.card, .stat, .save-row, .lc-opt, .hh, .wv-fund, .engine-strip, .fees-box, .wv-tbl, .ql-c, .tq-head, .ro-empty)::after {
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  :root[data-look="9"] :is(.card, .stat, .save-row, .lc-opt, .hh, .wv-fund, .engine-strip, .fees-box, .wv-tbl) { background: #171c24 !important; } }
@media (prefers-reduced-motion: reduce) { :root[data-look="9"] #run-bg::before, :root[data-look="9"] #run-bg::after { animation: none !important; } }
