/* MIRAI app (/app, a bare page: no site.css), concept A "HUD Terminal": a dense, crisp pro terminal. A slim icon rail
   (the chrome helmet badge marks the active section), a 48px top bar (wallet, balances, search, Ask Mirai, chain), one
   working column and Ask Mirai docked on the right. Near-black, brass and pale green; Chakra Petch for headings and big
   numbers, Inter for UI, Plex Mono for data. No light sweeps, shine or glints. Loaded after go.css, whose classes
   (shared with /go) are restyled here so every section reads as one design. */
@font-face { font-family: "Chakra Petch"; src: url(/fonts/chakra-petch-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url(/fonts/chakra-petch-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/fonts/inter-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/fonts/inter-latin-ext.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex Mono"; src: url(/fonts/ibm-plex-mono-400-latin.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(/fonts/ibm-plex-mono-500-latin.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #0b0b0c; --bg1: #0f0f11; --bg2: #151517; --bg3: #1b1b1e; --line: #232327; --line2: #2e2e33;
  --ink: #f1f0ec; --ink2: #c9c8c2; --mute: #9a9993; --dim: #6c6b67;
  --live: #9fd6a6; --live-t: rgba(159, 214, 166, .12); --brass: #d8c08a; --brass-t: rgba(216, 192, 138, .1); --brass-l: rgba(216, 192, 138, .36);
  --bad: #e0876d; --bad-t: rgba(224, 135, 109, .09);
  --r1: 4px; --r2: 6px; --r3: 8px; --h: 32px; --rail: 60px; --top: 48px; --ai: 368px;
  --f-title: "Chakra Petch", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Plex Mono", ui-monospace, Menlo, monospace;
  /* the names go.css and the shared Go modules read */
  --bg-2: var(--bg1); --bg-3: var(--bg2); --surface: var(--bg1); --surface-2: var(--bg2); --line-2: var(--line2);
  --ink-2: var(--ink2); --muted: var(--mute); --faint: var(--dim); --accent: var(--brass); --accent-ink: #17130a;
  --up: var(--live); --down: var(--bad); --warn: var(--brass); --f-num: var(--f-title); --f-pixel: var(--f-body); --r: var(--r3);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 13px/20px var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg, img { display: block; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 600; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; border-radius: 6px; }
::selection { background: rgba(216, 192, 138, .3); }
.mono { font-family: var(--f-mono); }
.num { font-family: var(--f-title); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .005em; }
.lab { font: 500 10px/12px var(--f-body); letter-spacing: .09em; text-transform: uppercase; color: var(--dim); }
.ic { width: 16px; height: 16px; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.note { font-size: 12.5px; line-height: 19px; color: var(--mute); }
.note b { color: var(--ink2); font-weight: 500; }
.hint { font-size: 11.5px; line-height: 17px; color: var(--dim); }
.muted { color: var(--dim); }
.link { color: var(--brass); border-bottom: 1px solid rgba(216, 192, 138, .3); transition: color .2s, border-color .2s; }
.link:hover { color: #efe0b8; border-color: rgba(216, 192, 138, .7); }
.k, .go-loans .k, .go-next .k, .go-sec .k { font: 500 10px/12px var(--f-body); letter-spacing: .09em; text-transform: uppercase; color: var(--dim); }
.cap { text-transform: capitalize; }

/* ── shell */
.shell { display: flex; height: 100vh; height: 100dvh; overflow: hidden; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.body { flex: 1; min-height: 0; display: flex; position: relative; }
.page { flex: 1; min-width: 0; overflow: auto; position: relative; container: page / inline-size; scrollbar-width: thin; scrollbar-color: #2a2a2f transparent;
  background: radial-gradient(900px 260px at 30% -60px, rgba(216, 192, 138, .045), transparent 70%), var(--bg); }
.page::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 420px; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(241, 240, 236, .07) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); }
.view { position: relative; max-width: 1080px; margin: 0 auto; padding: 22px 22px 48px; display: grid; gap: 12px; }
.sec { display: grid; gap: 12px; align-content: start; min-width: 0; }
.sec:focus { outline: none; }

/* rail */
.rail { position: relative; z-index: 30; width: var(--rail); flex: none; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 10px; background: var(--bg1); border-right: 1px solid var(--line); overflow: visible; }
.rail-logo { width: 40px; height: 44px; display: grid; place-items: center; margin-bottom: 6px; border-radius: var(--r3); }
.bm-wrap { display: block; filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .7)); }
.brand-mark { display: block; width: 21px; height: 29px; background: linear-gradient(112deg, #8c8a84 0%, #f7f5ef 26%, #a9a69f 42%, #f3ead2 56%, #8a8781 74%, #d8c08a 100%);
  -webkit-mask: url(/img/mira-mark-white.png) center / contain no-repeat; mask: url(/img/mira-mark-white.png) center / contain no-repeat; }
.ri { position: relative; width: 40px; height: 38px; flex: none; border-radius: var(--r2); display: grid; place-items: center; color: var(--dim); transition: color .2s, background-color .2s; }
.ri:hover { color: var(--ink); background: var(--bg2); }
.ri.on { color: var(--ink); background: var(--bg2); }
.rail-sep { width: 22px; height: 1px; background: var(--line); margin: 5px 0; flex: none; }
.rail-sp { flex: 1; min-height: 8px; }
.rind { position: absolute; left: 0; top: 0; width: 2px; height: 20px; border-radius: 0 2px 2px 0; background: var(--brass); box-shadow: 0 0 10px rgba(216, 192, 138, .8); opacity: 0; }
.tip { position: absolute; left: calc(100% + 6px); top: 0; height: 26px; padding: 0 10px; display: flex; align-items: center; gap: 8px; white-space: nowrap; border-radius: var(--r2); background: var(--bg3); border: 1px solid var(--line2); box-shadow: 0 8px 24px rgba(0, 0, 0, .5); font-size: 12px; font-weight: 500; pointer-events: none; opacity: 0; visibility: hidden; z-index: 5; }
.tip small { color: var(--dim); font-size: 11px; font-weight: 400; }
.ni { position: relative; width: 32px; height: 32px; flex: none; display: grid; place-items: center; }
.ni .hb { position: absolute; left: 0; top: 0; width: 32px; height: 32px; opacity: 0; transform: scale(.55) translateY(4px); transition: opacity .3s, transform .5s cubic-bezier(.2, .9, .25, 1.25); filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .6)); }
.ni .gl { position: relative; width: 17px; height: 17px; transition: transform .45s cubic-bezier(.2, .8, .2, 1), color .25s; }
.on > .ni .hb { opacity: 1; transform: none; }
.on > .ni .gl { color: #18181a; transform: translateY(2.6px) scale(.66); stroke-width: 2.2; }

/* top bar */
.top { height: var(--top); flex: none; display: flex; align-items: center; gap: 10px; padding: 0 12px; background: var(--bg1); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.tb-logo { display: none; }
.wbox { position: relative; flex: none; display: flex; }
.wsel { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 8px 0 4px; border-radius: var(--r2); border: 1px solid var(--line2); background: var(--bg2); transition: border-color .2s, background-color .2s; min-width: 0; }
button.wsel:hover { border-color: var(--brass-l); background: var(--bg3); }
.wsel .flash { position: absolute; inset: -1px; border-radius: inherit; box-shadow: 0 0 0 1px var(--brass), 0 0 18px rgba(216, 192, 138, .5); opacity: 0; pointer-events: none; }
.wsel .wn { font-weight: 600; font-size: 12.5px; white-space: nowrap; display: inline-block; max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.wsel .wn.mono { font: 500 12px var(--f-mono); }
.wsel .wa { font: 400 11.5px var(--f-mono); color: var(--mute); white-space: nowrap; }
.wsel .chev { width: 14px; height: 14px; color: var(--dim); }
.pic { width: 24px; height: 24px; border-radius: 6px; flex: none; object-fit: cover; background: #151517; box-shadow: 0 0 0 1px rgba(216, 192, 138, .3); }
.wmenu { position: absolute; left: 0; top: calc(100% + 6px); min-width: 230px; display: grid; gap: 2px; padding: 6px; border-radius: var(--r3); border: 1px solid var(--line2); background: var(--bg2); box-shadow: 0 18px 40px rgba(0, 0, 0, .55); z-index: 40; }
.wmenu .wm-h { display: grid; padding: 6px 8px 8px; margin-bottom: 4px; border-bottom: 1px solid var(--line); font-size: 11.5px; color: var(--dim); line-height: 16px; }
.wmenu .wm-h b { color: var(--ink); font-size: 12.5px; font-weight: 600; }
.wmenu button { display: flex; align-items: center; gap: 10px; width: 100%; height: 32px; padding: 0 8px; border: 0; border-radius: 5px; background: none; font-size: 12.5px; color: var(--ink2); text-align: left; }
.wmenu button:hover { background: var(--bg3); color: var(--ink); }
.wmenu button .ic { width: 15px; height: 15px; color: var(--dim); }
.readout { display: flex; gap: 16px; padding: 0 6px; }
.ro { display: grid; line-height: 1.2; }
.ro span { font-size: 10px; color: var(--dim); }
.ro b { font: 500 12px/16px var(--f-mono); white-space: nowrap; }
.top-sp { flex: 1; }
.search { position: relative; }
.sbox { display: flex; align-items: center; gap: 8px; width: 290px; height: 32px; padding: 0 6px 0 10px; border-radius: var(--r2); border: 1px solid var(--line2); background: var(--bg); color: var(--dim); transition: border-color .2s, box-shadow .2s; }
.sbox:focus-within { border-color: var(--brass-l); box-shadow: 0 0 0 3px rgba(216, 192, 138, .07); }
.sbox input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 12.5px; color: var(--ink); padding: 0; }
.sbox input::placeholder { color: var(--dim); }
.kbd { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 4px; border: 1px solid var(--line2); font: 500 10.5px var(--f-mono); color: var(--mute); }
.sres { position: absolute; left: 0; right: 0; top: calc(100% + 6px); padding: 6px; border-radius: var(--r3); border: 1px solid var(--line2); background: var(--bg2); box-shadow: 0 18px 40px rgba(0, 0, 0, .55); visibility: hidden; opacity: 0; z-index: 40; }
.sres button { display: flex; align-items: center; gap: 10px; width: 100%; height: 32px; padding: 0 8px; border: 0; border-radius: 5px; background: none; font-size: 12.5px; color: var(--ink2); text-align: left; overflow: hidden; }
.sres button > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sres .ic { color: var(--dim); }
.sres .act { background: var(--bg3); color: var(--ink); }
.sres small { margin-left: auto; color: var(--dim); font-size: 11px; flex: none; }
.ai-tog { position: relative; width: 32px; height: 32px; flex: none; border-radius: var(--r2); display: grid; place-items: center; border: 1px solid var(--brass-l); background: var(--brass-t); padding: 0; transition: background-color .2s, border-color .2s; }
.ai-tog:hover { background: rgba(216, 192, 138, .18); border-color: rgba(216, 192, 138, .6); }
.ai-tog svg { width: 20px; height: 20px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6)); }
.ai-tog[aria-expanded="true"] { background: rgba(216, 192, 138, .2); }
.chain { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 11px; border-radius: var(--r2); border: 1px solid var(--line); font-size: 12px; color: var(--mute); white-space: nowrap; }
.chain b { color: var(--ink); font-weight: 500; }
.chain .mono { font-size: 11.5px; color: var(--ink2); }
.dot { position: relative; width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--dim); }
.dot.on, .dot.live { background: var(--live); box-shadow: 0 0 8px rgba(159, 214, 166, .75); }
.dot i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--live); opacity: 0; }

/* ── controls */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: var(--h); padding: 0 12px; border-radius: var(--r2); border: 1px solid var(--line2); background: var(--bg2); color: var(--ink); font: 500 12.5px/1 var(--f-body); white-space: nowrap; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, opacity .2s; }
.btn:hover { background: var(--bg3); border-color: #3b3b42; }
.btn .ic { width: 15px; height: 15px; }
.btn.primary, .btn-p { color: #17130a; font-weight: 600; border-color: rgba(255, 238, 196, .55); background: linear-gradient(180deg, #eedcad 0%, #d8c08a 55%, #c8ac72 100%); box-shadow: inset 0 1px 0 rgba(255, 252, 240, .7), 0 6px 18px -8px rgba(216, 192, 138, .65); }
.btn.primary:hover, .btn-p:hover { background: linear-gradient(180deg, #f3e4bc 0%, #dfc895 55%, #cdb37a 100%); border-color: rgba(255, 238, 196, .75); }
.btn.ghost { background: transparent; border-color: var(--line2); color: var(--ink2); }
.btn.ghost:hover { background: var(--bg2); color: var(--ink); border-color: #3b3b42; }
.btn-q { border-color: transparent; background: none; color: var(--mute); padding: 0 8px; }
.btn-q:hover { background: var(--bg2); border-color: transparent; color: var(--ink); }
.btn.sm { height: 28px; padding: 0 10px; font-size: 12px; }
.btn.lg, .btn-lg { height: 40px; padding: 0 16px; font-size: 13.5px; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.lnk { color: var(--brass); font-weight: 500; font-size: 12px; border: 0; border-bottom: 1px solid rgba(216, 192, 138, .3); background: none; padding: 0; white-space: nowrap; cursor: pointer; transition: color .2s, border-color .2s; }
.lnk:hover { color: #efe0b8; border-color: rgba(216, 192, 138, .7); }
.hlink { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--mute); transition: color .2s; white-space: nowrap; }
.hlink:hover { color: var(--ink); }
.hlink .ic { width: 14px; height: 14px; }
.seg { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 2px; border-radius: var(--r2); border: 1px solid var(--line); background: var(--bg); }
.seg button { position: relative; z-index: 1; height: 24px; padding: 0 10px; border: 0; border-radius: 4px; background: none; font-size: 12px; font-weight: 500; color: var(--mute); white-space: nowrap; transition: color .2s; }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { color: var(--ink); }
.seg .ind { position: absolute; top: 2px; left: 2px; height: 24px; border-radius: 4px; background: var(--bg3); box-shadow: inset 0 0 0 1px var(--brass-l); }
.input { height: 34px; width: 100%; min-width: 0; padding: 0 10px; border-radius: var(--r2); border: 1px solid var(--line2); background: var(--bg); color: var(--ink); font-size: 13px; outline: none; transition: border-color .2s, box-shadow .2s; }
.input.mono { font: 500 12.5px var(--f-mono); }
.input:focus { border-color: var(--brass-l); box-shadow: 0 0 0 3px rgba(216, 192, 138, .07); }
.input::placeholder { color: var(--dim); }
select.input { -webkit-appearance: none; appearance: none; padding-right: 30px; cursor: pointer; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%239a9993' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 8 4 4 4-4'/%3E%3C/svg%3E") right 8px center / 14px 14px no-repeat; }
select.input option { background: var(--bg2); color: var(--ink); }
textarea.input { height: auto; padding: 8px 10px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font: 500 10px/12px var(--f-body); letter-spacing: .09em; text-transform: uppercase; color: var(--dim); }
.field label .muted { text-transform: none; letter-spacing: 0; }
.input-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--r1); border: 1px solid var(--line2); color: var(--mute); font: 500 11px/1 var(--f-body); white-space: nowrap; background: var(--bg); }
.pill.acc { border-color: var(--brass-l); color: var(--brass); background: var(--brass-t); }
.pill.up { border-color: rgba(159, 214, 166, .4); color: var(--live); background: var(--live-t); }
.pill.down { border-color: rgba(224, 135, 109, .45); color: var(--bad); background: var(--bad-t); }
.tabs { position: relative; display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 2px; border-radius: var(--r2); border: 1px solid var(--line); background: var(--bg); justify-self: start; max-width: 100%; }
.tabs a, .tabs button { height: 26px; padding: 0 12px; border: 0; border-radius: 4px; background: none; color: var(--mute); font-size: 12px; font-weight: 500; display: inline-flex; align-items: center; white-space: nowrap; cursor: pointer; transition: color .2s, background-color .2s; }
.tabs a:hover, .tabs button:hover { color: var(--ink); }
.tabs a[aria-current="page"], .tabs button[aria-pressed="true"] { background: var(--bg3); color: var(--ink); box-shadow: inset 0 0 0 1px var(--brass-l); }
.go-check, .choice input { accent-color: var(--brass); }
.go-check input { accent-color: var(--brass); }

/* ── page head and cards */
.phead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 2px 0 6px; }
.phead h1 { font: 700 24px/30px var(--f-title); letter-spacing: .005em; }
.phead p { color: var(--mute); font-size: 12.5px; margin-top: 2px; }
.phead-r { display: flex; gap: 8px; flex: none; }
.card, .action-box, .acard, .go-off, .app-hello { position: relative; border: 1px solid var(--line); border-radius: var(--r3); background: linear-gradient(180deg, rgba(255, 255, 255, .014), rgba(255, 255, 255, 0) 120px), var(--bg1); min-width: 0; }
.card::before, .action-box::before, .acard::before, .app-hello::before { content: ""; position: absolute; left: 12%; right: 12%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(216, 192, 138, .34), transparent); pointer-events: none; }
.card { overflow: hidden; isolation: isolate; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 7px 14px; border-bottom: 1px solid var(--line); }
.card-h h2 { font: 700 14px/20px var(--f-title); letter-spacing: .02em; display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.card-h h2 small { font: 400 12px var(--f-body); letter-spacing: 0; color: var(--mute); }
.cb { padding: 14px; }
/* the shared modules' card: its first heading becomes the card's header row */
.action-box, .acard { padding: 14px; display: grid; gap: 12px; align-content: start; }
.action-box > h3:first-child, .acard > h3:first-child { margin: -14px -14px 0; padding: 12px 14px; border-bottom: 1px solid var(--line); font: 700 14px/20px var(--f-title); letter-spacing: .02em; }
.action-box h3, .acard h3 { font: 700 14px/20px var(--f-title); letter-spacing: .02em; }
.action-box .action-box { background: var(--bg2); }
.action-box .action-box::before { display: none; }
.go-sec { display: grid; gap: 10px; margin-top: 10px; }
.sec > .go-sec:first-child { margin-top: 0; }
.go-sec > h3 { font: 700 15px/20px var(--f-title); letter-spacing: .02em; display: flex; align-items: center; gap: 8px; }
.go-sec > h3::before { content: ""; width: 3px; height: 12px; border-radius: 2px; background: var(--brass); box-shadow: 0 0 8px rgba(216, 192, 138, .5); }
.go-grid { gap: 12px; }
.go-off { padding: 18px; border-style: dashed; border-color: var(--line2); gap: 8px; max-width: none; }
.go-off h3 { font: 700 16px/22px var(--f-title); }
.go-off p { font-size: 13px; color: var(--ink2); }
.go-off .hint { color: var(--dim); }
.go-why { border-radius: var(--r2); background: var(--brass-t); border: 1px solid rgba(216, 192, 138, .32); padding: 9px 12px; font-size: 12.5px; line-height: 19px; color: var(--ink2); }
.go-ok { border-radius: var(--r2); background: var(--live-t); border: 1px solid rgba(159, 214, 166, .3); padding: 9px 12px; font-size: 12.5px; line-height: 19px; color: var(--ink2); }
.keybox { background: var(--bg); border: 1px dashed var(--brass-l); border-radius: var(--r3); padding: 12px; font: 12.5px/19px var(--f-mono); word-break: break-all; color: var(--ink); }
.empty { padding: 30px 20px; text-align: center; color: var(--mute); font-size: 12.5px; border: 1px dashed var(--line2); border-radius: var(--r3); background: rgba(15, 15, 17, .6); }
.empty b { display: block; color: var(--ink); font: 700 15px/22px var(--f-title); margin-bottom: 2px; }
.kv { display: grid; grid-template-columns: auto minmax(0, 1fr); font-size: 12.5px; border-radius: var(--r3); box-shadow: inset 0 0 0 1px var(--line); padding: 0 12px; margin: 0; }
.kv dt, .kv dd { min-height: 34px; display: flex; align-items: center; border-top: 1px solid var(--line); margin: 0; padding: 6px 0; }
.kv dt:first-of-type, .kv dd:first-of-type { border-top: 0; }
.kv dt { color: var(--mute); padding-right: 16px; }
.kv dd { justify-content: flex-end; text-align: right; font: 500 12px/17px var(--f-mono); color: var(--ink); overflow-wrap: anywhere; }
.go-rows { display: grid; border-top: 1px solid var(--line); }
.go-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--line); align-items: center; font-size: 13px; transition: background-color .2s; }
a.go-row:hover { background: rgba(255, 255, 255, .015); }
.go-row > div { display: grid; gap: 2px; min-width: 0; }
.go-row b { font-weight: 600; }
.go-row small { color: var(--mute); font-size: 11.5px; line-height: 17px; }
.go-row .input-row { justify-content: flex-end; }
.go-meta { color: var(--mute); font-size: 11.5px; font-weight: 400; }
.go-list { color: var(--ink2); font-size: 12.5px; }
.go-form { gap: 12px; }
.go-form textarea.input { font: 12.5px/1.5 var(--f-mono); }
.go-check { font-size: 12.5px; line-height: 19px; color: var(--ink2); }
.go-addr .keybox { padding: 10px 12px; }
.go-pick { gap: 10px; margin-bottom: 12px; }
.go-pick label { font: 500 10px/12px var(--f-body); letter-spacing: .09em; text-transform: uppercase; color: var(--dim); }
.go-pick select { height: 34px; }
.go-other { display: inline-flex; gap: 6px; align-items: center; }
.go-other .input { height: 34px !important; }
.go-other .btn { height: 34px; }
.choice { display: grid; gap: 6px; }
.choice label { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px; border: 1px solid var(--line2); border-radius: var(--r3); background: var(--bg); cursor: pointer; transition: border-color .2s, background-color .2s; }
.choice label:hover { border-color: #3b3b42; }
.choice label:has(input:checked) { border-color: var(--brass-l); background: var(--brass-t); }
.choice b { font-weight: 600; font-size: 13px; }
.choice small { color: var(--mute); display: block; font-size: 12px; }
.app-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.app-stats-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.app-stats > div { position: relative; padding: 10px 12px 11px; border-radius: var(--r3); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .014), rgba(255, 255, 255, 0)), var(--bg1); display: grid; gap: 6px; min-width: 0; }
.app-stats .k { font: 400 12px/16px var(--f-body); letter-spacing: 0; text-transform: none; color: var(--mute); }
.app-stats b { font: 700 20px/26px var(--f-title); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* agent identity row from the shared modules */
.ag { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ag > span:last-child { display: grid; min-width: 0; line-height: 1.3; }
.ag b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
.ag small { color: var(--mute); font: 11.5px var(--f-mono); }
.av { flex: none; display: grid; place-items: center; border-radius: 7px; font: 700 13px var(--f-title); color: #0b0b0c; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.av-img { display: block; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(216, 192, 138, .28); }
.acard header { display: flex; justify-content: space-between; align-items: center; gap: 10px; }

/* desk pieces (an agent's open loans, score block, borrow row) in the A look */
.go-loans { gap: 6px; margin-top: 4px; }
.go-loan { border-top: 1px solid var(--line); padding-top: 8px; }
.go-loan .mono { font-size: 12px; }
.go-loan small { font-size: 11.5px; }
.go-score { border-radius: var(--r3); background: var(--bg2); border: 0; box-shadow: inset 0 0 0 1px var(--line); padding: 12px 14px; }
.go-score > div:first-child b { font: 700 30px/1 var(--f-title); color: var(--ink); letter-spacing: 0; }
.go-score > div:first-child em { color: var(--brass); text-transform: capitalize; }
.go-score.bad > div:first-child b { color: var(--bad); }
.go-next li { font-size: 12.5px; }
.go-next li em { font: 500 10px var(--f-body); letter-spacing: .09em; color: var(--brass); }
.go-next li.met em { color: var(--live); }
.go-borrow { gap: 6px; }
.go-borrow .input { height: 32px; flex: 1 1 130px; }
.go-borrow select.input { flex: 0 1 112px; }
.go-borrow .btn { height: 32px; }
.go-links { border-top: 1px solid var(--line); padding-top: 10px; font-size: 12.5px; gap: 6px 16px; }
.go-links a { color: var(--mute); border-bottom: 1px solid var(--line2); }
.go-links a:hover { color: var(--brass); border-color: var(--brass-l); }

/* ── overview */
.prog { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 0 14px; margin-top: 12px; }
.prog i { height: 3px; border-radius: 2px; background: var(--line2); position: relative; overflow: hidden; }
.prog i b { position: absolute; inset: 0; border-radius: 2px; transform-origin: left center; }
.prog i.done b { background: var(--live); box-shadow: 0 0 8px rgba(159, 214, 166, .5); }
.prog i.now b { background: linear-gradient(90deg, var(--brass), rgba(216, 192, 138, .2)); transform: scaleX(.35); }
.steps { list-style: none; margin: 0; padding: 8px 8px 4px; }
.step { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; column-gap: 8px; min-height: 34px; padding: 4px 8px; border-radius: var(--r2); }
.step .ck { width: 15px; height: 15px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line2); display: grid; place-items: center; }
.step.done .ck { background: var(--live-t); box-shadow: inset 0 0 0 1px rgba(159, 214, 166, .5); color: var(--live); }
.step.done .ck svg { width: 11px; height: 11px; stroke-width: 2.4; }
.step .st { font-size: 13px; color: var(--ink2); min-width: 0; }
.step.done .st { color: var(--mute); }
.step.done .st small { color: var(--dim); font-family: var(--f-mono); font-size: 11.5px; margin-left: 8px; }
.step.now { background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); padding: 10px 8px; align-items: start; }
.step.now .ck { box-shadow: inset 0 0 0 1.5px var(--brass); margin-top: 2px; }
.step.now .ck::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 6px var(--brass); }
.step.now .st { color: var(--ink); font-weight: 500; }
.step.now .sd { display: block; color: var(--mute); font-size: 12.5px; font-weight: 400; margin-top: 2px; max-width: 64ch; }
.step.now .sd b { color: var(--ink2); font-weight: 500; }
.step-a { display: flex; align-items: center; gap: 6px; }
.showme { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 8px; border: 0; border-radius: 5px; background: none; font-size: 12px; color: var(--mute); transition: color .2s, background-color .2s; white-space: nowrap; }
.showme:hover { color: var(--ink); background: var(--bg3); }
.showme .ic { width: 12px; height: 12px; }
.gs-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 6px 16px 12px; color: var(--dim); font-size: 11.5px; }
.gs-body { overflow: hidden; }
.gs-done { display: flex; align-items: center; gap: 10px; padding: 12px 16px 14px; color: var(--mute); font-size: 12.5px; }
.gs-done .ck { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--live-t); color: var(--live); box-shadow: inset 0 0 0 1px rgba(159, 214, 166, .5); flex: none; }
.gs-done .ck svg { width: 12px; height: 12px; stroke-width: 2.4; }
.agsel { max-width: 240px; height: 28px; font-size: 12px; }
.agx { display: grid; grid-template-columns: 138px minmax(0, 1fr) minmax(0, 1.2fr); gap: 22px; align-items: center; padding: 16px 18px 16px 14px; }
.ring-wrap { position: relative; width: 138px; height: 138px; }
.ring { width: 100%; height: 100%; overflow: visible; }
.ring .ticks line { stroke: rgba(241, 240, 236, .15); stroke-width: 1.6; stroke-linecap: round; }
.ring .ticks line.mj { stroke: rgba(216, 192, 138, .6); stroke-width: 2.2; }
.ring .trk { fill: none; stroke: rgba(255, 255, 255, .06); stroke-width: 9; }
.ring .trk2 { stroke-width: 4; }
.ring .arc { fill: none; stroke-linecap: round; }
.ring .arc-s { stroke: url(#gArc); stroke-width: 9; }
.ring .arc-n { stroke: var(--live); stroke-width: 4; opacity: .9; }
.ring .comet { fill: none; stroke: var(--brass); stroke-width: 9; stroke-linecap: round; }
.ring .head-glow { fill: rgba(216, 192, 138, .3); }
.ring .head-core { fill: #fff3d6; }
.ring.bad .arc-s { stroke: var(--bad); }
.ring-c { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; }
.ring-col { display: grid; justify-items: center; gap: 8px; }
.ring-col > .lab { color: var(--mute); }
.ring-c .score { font-size: 42px; line-height: 1; }
.ring-c .of { font-size: 10.5px; color: var(--mute); margin-top: 3px; }
.idrow { display: flex; align-items: center; gap: 12px; min-width: 0; }
.idrow > div { min-width: 0; }
.avx { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; flex: none; background: radial-gradient(circle at 50% 28%, #2b2b2f, #111113 75%); box-shadow: inset 0 0 0 1px rgba(216, 192, 138, .3); }
.avx svg { width: 18px; height: 18px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6)); }
.av-md { width: 42px; height: 42px; border-radius: 10px; }
.av-md svg { width: 31px; height: 31px; }
.av-md .av { width: 42px !important; height: 42px !important; border-radius: 10px; font-size: 18px; }
.av-md .av-img { border-radius: 50%; box-shadow: 0 0 0 1px var(--brass-l), 0 4px 14px rgba(0, 0, 0, .5); }
.av-md { position: relative; display: block; flex: none; }
.idrow .lnk { font-size: 11.5px; margin-left: 8px; }
.an { font: 700 22px/26px var(--f-title); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.at { font-size: 11.5px; color: var(--mute); }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; margin-top: 14px; }
.facts > div { padding-right: 18px; margin-right: 18px; border-right: 1px solid var(--line); min-width: 0; }
.facts > div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.facts dt { font: 500 10px/12px var(--f-body); letter-spacing: .09em; text-transform: uppercase; color: var(--dim); }
.facts dd { font: 700 16px/22px var(--f-title); margin-top: 4px; white-space: nowrap; }
.facts dd small { display: block; font: 400 11.5px/16px var(--f-body); color: var(--mute); margin-top: 1px; }
.fl-box { padding: 12px 14px; border-radius: var(--r2); background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.fl-wrap { position: relative; margin-top: 10px; }
.ftrack { position: absolute; left: 10%; right: 10%; top: 6px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .08); }
.ffill { position: absolute; left: 0; top: 0; height: 100%; border-radius: 2px; background: linear-gradient(90deg, rgba(216, 192, 138, .45), var(--brass)); box-shadow: 0 0 8px rgba(216, 192, 138, .6); transform-origin: left center; }
.fnext { position: absolute; top: 0; height: 100%; background: repeating-linear-gradient(90deg, rgba(216, 192, 138, .5) 0 3px, transparent 3px 7px); transform-origin: left center; }
.floors { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; margin: 0; padding: 0; }
.floors li { display: grid; justify-items: center; gap: 6px; font-size: 11.5px; color: var(--dim); text-transform: capitalize; }
.floors li i { width: 10px; height: 10px; margin-top: 2px; border-radius: 50%; background: #1d1d20; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .15); }
.floors li.done { color: var(--mute); }
.floors li.done i { background: rgba(216, 192, 138, .55); box-shadow: none; }
.floors li.here { color: var(--ink); font-weight: 600; }
.floors li.here i { width: 14px; height: 14px; margin-top: 0; background: radial-gradient(circle at 38% 32%, #fff7df, #d8c08a 55%, #8f7445); box-shadow: 0 0 0 4px rgba(216, 192, 138, .12), 0 0 14px rgba(216, 192, 138, .75); }
.floors li.nxt { color: var(--brass); }
.floors li.nxt i { box-shadow: inset 0 0 0 1.5px rgba(216, 192, 138, .75); }
.nf { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line2); display: grid; gap: 6px; }
.nf-h { font-size: 12px; color: var(--mute); }
.nf-h b { color: var(--brass); font-weight: 600; text-transform: capitalize; }
.req { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink2); }
.req .ic { width: 14px; height: 14px; color: var(--brass); }
.req.met .ic { color: var(--live); }
.req b { font: 500 12px var(--f-mono); color: var(--ink); white-space: nowrap; }
.req .bar { grid-column: 2 / 4; }
.bar { position: relative; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bar i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p) * 100%); border-radius: 3px; background: var(--live); transform-origin: left center; }
.ag-more { display: grid; gap: 10px; padding: 0 14px 14px; }
.ag-more .k { margin-bottom: -2px; }
.ag-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.row3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 12px; align-items: stretch; }
.wrow { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px dashed var(--line2); }
.wrow > div { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.wrow b { font-weight: 600; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wrow .mono { font-size: 11.5px; color: var(--mute); }
.wrow .pic { width: 28px; height: 28px; border-radius: 7px; }
.tiles { display: grid; gap: 8px; }
.tiles.t2 { grid-template-columns: 1fr; }
.tiles.t3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile { position: relative; padding: 10px 12px 11px; border-radius: var(--r2); background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s, background-color .25s; min-width: 0; }
.tile:hover { box-shadow: inset 0 0 0 1px var(--line2); background: #18181a; }
.tl { display: flex; align-items: center; gap: 8px; color: var(--mute); font-size: 12px; line-height: 16px; }
.ti { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; flex: none; color: var(--brass); background: var(--brass-t); box-shadow: inset 0 0 0 1px rgba(216, 192, 138, .2); }
.ti .ic { width: 13px; height: 13px; }
.tile .num { display: block; font-size: 22px; line-height: 28px; margin-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile .num small { font: 500 11px var(--f-mono); color: var(--mute); margin-left: 6px; letter-spacing: 0; }
.live { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--mute); white-space: nowrap; }
.ph { display: grid; justify-items: center; text-align: center; padding: 48px 24px 44px; }
.ph-badge { position: relative; width: 84px; height: 84px; display: grid; place-items: center; }
.ph-badge .halo { position: absolute; inset: -22px; border-radius: 50%; background: radial-gradient(closest-side, rgba(216, 192, 138, .18), transparent 75%); filter: blur(10px); }
.ph-badge > svg.hb { position: relative; width: 84px; height: 84px; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .7)); }
.ph-badge > .gl { position: absolute; left: 50%; top: 58%; width: 30px; height: 30px; transform: translate(-50%, -50%); color: #18181a; stroke-width: 1.9; }
.ph h2 { font: 700 24px/30px var(--f-title); margin-top: 20px; }
.ph p { color: var(--mute); font-size: 13.5px; line-height: 21px; margin-top: 6px; max-width: 54ch; }
.ph .hint { margin-top: 18px; font-size: 12px; }
.ph .acts { justify-content: center; margin-top: 18px; }
.ph .acts .btn { flex: none; }

/* ── funds */
.fgrid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.fcol { display: grid; gap: 12px; min-width: 0; }
.leg { padding: 12px 14px 13px; border-radius: var(--r3); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s; }
.leg-in:focus-within { box-shadow: inset 0 0 0 1px var(--brass-l), 0 0 0 3px rgba(216, 192, 138, .06); }
.leg-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--mute); font-size: 12px; }
.leg-top .mono { font-size: 11px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.leg-mid { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.amt { flex: 1; min-width: 0; width: 100%; background: none; border: 0; outline: none; padding: 0; font: 700 28px/34px var(--f-title); color: var(--ink); }
.amt::placeholder { color: var(--dim); }
.out { flex: 1; min-width: 0; font-size: 28px; line-height: 34px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tokc { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 11px 0 5px; border-radius: var(--r2); border: 1px solid var(--line2); background: var(--bg2); font-weight: 600; font-size: 13px; flex: none; }
.tokc .t { width: 22px; height: 22px; border-radius: 5px; display: grid; place-items: center; color: var(--brass); background: var(--brass-t); }
.tokc .t .ic { width: 13px; height: 13px; }
.flip { position: relative; z-index: 2; display: grid; place-items: center; width: 32px; height: 32px; margin: -9px auto; padding: 0; border-radius: var(--r2); color: var(--brass); background: var(--bg2); border: 1px solid var(--line2); box-shadow: 0 4px 12px rgba(0, 0, 0, .6); transition: border-color .2s; }
.flip:hover { border-color: var(--brass-l); }
.flip .ic { width: 15px; height: 15px; }
.slip { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: 12px; color: var(--mute); }
.quote { margin-top: 10px; border-radius: var(--r3); box-shadow: inset 0 0 0 1px var(--line); padding: 2px 12px; transition: opacity .25s; }
.quote.off { opacity: .35; }
.qrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 34px; font-size: 12.5px; border-top: 1px solid var(--line); }
.qrow:first-child { border-top: 0; }
.qrow span { display: inline-flex; align-items: center; gap: 8px; color: var(--mute); }
.qrow span .ic { width: 14px; height: 14px; color: var(--dim); }
.qrow b { font: 500 12px var(--f-mono); text-align: right; }
.quote.wait .qrow b { color: transparent; border-radius: 4px; background: rgba(216, 192, 138, .12); animation: qwait 1.1s ease-in-out infinite alternate; }
@keyframes qwait { from { opacity: .45; } to { opacity: 1; } }
.qmsg { min-height: 18px; margin-top: 8px; font-size: 12px; color: var(--dim); }
.qmsg.warn { color: var(--brass); }
.swap-go { width: 100%; margin-top: 6px; }
.fine { margin-top: 10px; color: var(--dim); font-size: 11.5px; line-height: 17px; text-align: center; }
.addr { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r3); background: var(--bg); box-shadow: inset 0 0 0 1px var(--brass-l); min-width: 0; }
.addr > div { min-width: 0; }
.addr .pic { width: 34px; height: 34px; border-radius: 8px; }
.addr small { display: block; color: var(--mute); font-size: 11.5px; line-height: 16px; }
.addr .mono { display: block; font-size: 12.5px; line-height: 19px; word-break: break-all; }
.acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.acts .btn { flex: 1 1 auto; }
.bring-p { color: var(--mute); font-size: 12.5px; line-height: 19px; margin-bottom: 12px; }
.notice { display: flex; gap: 10px; align-items: flex-start; }
.notice .ic { width: 15px; height: 15px; margin-top: 2px; flex: none; color: var(--brass); }
.go-ok.notice .ic { color: var(--live); }
.notice p + p { margin-top: 4px; }

/* ── other sections */
.app-subtabs { margin-bottom: 0; }
.app-search { display: flex; gap: 8px; flex-wrap: wrap; }
.app-search .input { flex: 1 1 220px; }
.app-search select.input { flex: 0 1 220px; }
.app-row-link:hover b { color: var(--brass); }
.app-t { font-weight: 600; overflow-wrap: anywhere; }
.app-t:hover { color: var(--brass); }
.app-loan-agent { padding-top: 10px; }
.app-pre { white-space: pre-wrap; word-break: break-word; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r3); padding: 10px 12px; font-size: 12.5px; line-height: 19px; color: var(--ink2); }
.app-ptitle { font: 700 17px/23px var(--f-title); overflow-wrap: anywhere; }
.app-starter { border-color: var(--brass-l); }
.go-why p + p { margin-top: 6px; }
.app-wiz { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 12px; align-items: start; }
.app-steps { list-style: none; margin: 0; padding: 6px; display: grid; gap: 2px; position: sticky; top: 0; border-radius: var(--r3); border: 1px solid var(--line); background: var(--bg1); }
.app-steps li { display: flex; gap: 10px; align-items: center; min-height: 36px; padding: 6px 8px; border-radius: var(--r2); color: var(--mute); font-size: 12.5px; }
.app-steps li b { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 5px; box-shadow: inset 0 0 0 1px var(--line2); font: 500 11px var(--f-mono); flex: none; }
.app-steps li.on { color: var(--ink); background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); }
.app-steps li.on b { color: var(--brass); box-shadow: inset 0 0 0 1px var(--brass-l); background: var(--brass-t); }
.app-steps li.done { color: var(--mute); }
.app-steps li.done b { background: var(--live-t); color: var(--live); box-shadow: inset 0 0 0 1px rgba(159, 214, 166, .45); }
.cards { display: grid; gap: 12px; }

/* connect state */
.hello { padding: 0; }
.hello .ph { padding: 44px 24px 40px; }

/* ── Ask Mirai */
.ai { flex: none; width: var(--ai); display: flex; overflow: hidden; background: var(--bg1); border-left: 1px solid var(--line); position: relative; z-index: 10; }
.ai-in { width: var(--ai); flex: none; display: flex; flex-direction: column; min-height: 0; }
.ai-h { height: 44px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 8px 0 14px; border-bottom: 1px solid var(--line); }
.ai-t { display: inline-flex; align-items: center; gap: 8px; font: 700 13px/1 var(--f-title); letter-spacing: .02em; color: var(--brass); white-space: nowrap; }
.ai-t svg { width: 18px; height: 18px; }
.ctx { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 4px; border: 1px solid var(--line2); font-size: 11.5px; color: var(--mute); white-space: nowrap; }
.ctx .ic { width: 12px; height: 12px; }
.ai-sp { flex: 1; }
.ib { width: 28px; height: 28px; border-radius: 5px; display: grid; place-items: center; padding: 0; border: 0; background: none; color: var(--dim); flex: none; transition: color .2s, background-color .2s; }
.ib:hover { color: var(--ink); background: var(--bg2); }
.ib .ic { width: 15px; height: 15px; }
.thread { flex: 1; min-height: 0; overflow: auto; padding: 16px 14px 12px; scrollbar-width: thin; scrollbar-color: #2a2a2f transparent; }
.ai-empty { display: grid; justify-items: center; text-align: center; }
.bot { position: relative; width: 100%; height: 188px; border-radius: 10px; overflow: hidden; perspective: 800px; background: #0c0c0d; box-shadow: inset 0 0 0 1px var(--line); }
.bot-glow { position: absolute; inset: 0; background: radial-gradient(46% 70% at 50% 62%, rgba(88, 240, 216, .07), transparent 70%), radial-gradient(60% 50% at 50% 100%, rgba(255, 255, 255, .05), transparent 70%); }
.bot-cat video { position: absolute; left: 50%; top: 49%; height: 104%; width: auto; aspect-ratio: 1; transform: translate(-50%, -50%); object-fit: cover; -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); }
.bot-shade { position: absolute; inset: 0; background: radial-gradient(70% 80% at 50% 45%, transparent, rgba(12, 12, 13, .85)), linear-gradient(180deg, transparent 55%, rgba(15, 15, 17, .9)); }
.bot-l { position: absolute; inset: 0; transform-style: preserve-3d; }
.bot-l img { position: absolute; max-width: none; user-select: none; }
.bot-crop { -webkit-mask-image: radial-gradient(ellipse 46% 56% at 50% 48%, #000 50%, transparent 92%); mask-image: radial-gradient(ellipse 46% 56% at 50% 48%, #000 50%, transparent 92%); filter: contrast(1.06) saturate(1.05); }
.bot-motes i { position: absolute; display: block; width: 2px; height: 2px; border-radius: 50%; background: rgba(255, 238, 205, .8); box-shadow: 0 0 5px rgba(255, 230, 190, .7); opacity: .5; }
.bot-tag { position: absolute; left: 10px; bottom: 9px; display: inline-flex; align-items: center; gap: 6px; height: 20px; padding: 0 7px; border-radius: 4px; background: rgba(11, 11, 12, .7); box-shadow: inset 0 0 0 1px var(--line2); font: 500 10.5px var(--f-mono); color: var(--ink2); }
.ai-empty h3 { font: 700 16px/22px var(--f-title); margin-top: 16px; }
.ai-empty p { color: var(--mute); font-size: 12.5px; line-height: 19px; margin-top: 6px; max-width: 36ch; }
.sugs { display: grid; gap: 6px; justify-items: center; margin-top: 14px; }
.sug { min-height: 30px; padding: 5px 11px; border-radius: var(--r2); border: 1px solid var(--line2); background: var(--bg2); font-size: 12.5px; line-height: 18px; color: var(--ink2); text-align: center; transition: border-color .2s, color .2s, background-color .2s; }
.sug:hover { border-color: var(--brass-l); color: var(--ink); background: var(--bg3); }
.msg { margin-bottom: 14px; }
.msg.u { display: flex; justify-content: flex-end; }
.msg.u span { max-width: 86%; padding: 7px 11px; border-radius: 8px 8px 2px 8px; background: var(--bg3); border: 1px solid var(--line2); font-size: 12.5px; line-height: 18px; overflow-wrap: anywhere; white-space: pre-wrap; }
.msg.a { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; }
.msg.a .avx { margin-top: 1px; }
.mt { font-size: 13px; line-height: 20px; color: var(--ink2); overflow-wrap: anywhere; }
.mt b { color: var(--ink); font-weight: 600; }
.msg.err .mt { color: var(--mute); }
.msg.err .mt::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--brass); vertical-align: 1px; }
.typing { display: inline-flex; gap: 4px; padding: 8px 0; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--mute); }
.composer { flex: none; padding: 10px 12px 12px; border-top: 1px solid var(--line); }
.cbox { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 4px 0 12px; border-radius: var(--r3); border: 1px solid var(--line2); background: var(--bg); transition: border-color .2s, box-shadow .2s; }
.cbox:focus-within { border-color: var(--brass-l); box-shadow: 0 0 0 3px rgba(216, 192, 138, .06); }
.cbox input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 13px; color: var(--ink); padding: 0; }
.cbox input::placeholder { color: var(--dim); }
.send { width: 30px; height: 30px; border-radius: 6px; display: grid; place-items: center; padding: 0; color: var(--brass); background: var(--brass-t); border: 1px solid var(--brass-l); transition: background-color .2s, opacity .2s; }
.send:hover { background: rgba(216, 192, 138, .2); }
.send[disabled] { opacity: .4; cursor: not-allowed; }
.send .ic { width: 15px; height: 15px; }
.cnote { margin-top: 7px; font-size: 11px; color: var(--dim); text-align: center; }

/* ── modals (the shared modal(): wallet picker, the step runner, the wallet profile) */
.modal { position: fixed; inset: 0; z-index: 80; display: none; place-items: center; padding: 16px; background: rgba(5, 5, 6, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.modal.open { display: grid; }
.modal-box { position: relative; width: min(440px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto; border-radius: 12px; border: 1px solid var(--line2); background: var(--bg1); box-shadow: 0 30px 80px rgba(0, 0, 0, .7); padding: 16px; display: grid; gap: 12px; scrollbar-width: thin; scrollbar-color: #2a2a2f transparent; }
.modal-box::before { content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(216, 192, 138, .5), transparent); }
.modal-box h3 { font: 700 16px/22px var(--f-title); }
.modal-box.go-modal { width: min(600px, 100%); }
.wallets { display: grid; gap: 6px; }
.wallets button { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 12px; border-radius: var(--r3); border: 1px solid var(--line2); background: var(--bg); text-align: left; font-size: 13px; font-weight: 500; transition: border-color .2s, background-color .2s; }
.wallets button:hover { border-color: var(--brass-l); background: var(--bg2); }
.wallets img { width: 24px; height: 24px; border-radius: 6px; }
.go-steps { gap: 6px; }
.go-steps li { grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; padding: 10px 12px; border-radius: var(--r3); border: 0; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s; }
.go-steps li.on { box-shadow: inset 0 0 0 1px var(--brass-l); }
.go-steps li.done { box-shadow: inset 0 0 0 1px rgba(159, 214, 166, .35); }
.go-steps li.bad { box-shadow: inset 0 0 0 1px rgba(224, 135, 109, .55); }
.go-steps li b { font-size: 13px; font-weight: 600; }
.go-steps li p { font-size: 12px; line-height: 18px; }
.go-n { width: 24px; height: 24px; border-radius: 5px; border: 0; box-shadow: inset 0 0 0 1px var(--line2); font: 500 11px var(--f-mono); color: var(--mute); }
.go-steps li.on .go-n { background: var(--brass-t); color: var(--brass); box-shadow: inset 0 0 0 1px var(--brass-l); }
.go-steps li.done .go-n { background: var(--live-t); color: var(--live); box-shadow: inset 0 0 0 1px rgba(159, 214, 166, .45); }
/* concept A's own modal parts (the wallet profile) */
.modal-box.a-modal { padding: 0; gap: 0; width: min(460px, 100%); }
.m-h { display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 16px; border-bottom: 1px solid var(--line); }
.m-badge { position: relative; width: 34px; height: 34px; flex: none; }
.m-badge svg.hb { width: 34px; height: 34px; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .6)); }
.m-badge .gl { position: absolute; left: 50%; top: 58%; width: 13px; height: 13px; transform: translate(-50%, -50%); color: #18181a; stroke-width: 2.2; }
.m-h h2 { flex: 1; font: 700 16px/22px var(--f-title); }
.m-b { padding: 14px 16px 16px; }
.m-lead { color: var(--mute); font-size: 12.5px; line-height: 19px; }
.m-field { display: grid; gap: 6px; margin-top: 14px; }
.m-in { height: 40px; width: 100%; padding: 0 12px; border-radius: var(--r2); border: 1px solid var(--line2); background: var(--bg); color: var(--ink); font: 500 14px var(--f-mono); outline: none; transition: border-color .2s, box-shadow .2s; }
.m-in:focus { border-color: var(--brass-l); box-shadow: 0 0 0 3px rgba(216, 192, 138, .07); }
.m-in.bad { border-color: rgba(216, 192, 138, .85); }
.m-prev { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding: 10px 10px 10px 12px; border-radius: var(--r3); background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.m-prev .wsel { pointer-events: none; min-width: 0; }
.m-rules { display: flex; gap: 7px; align-items: flex-start; margin-top: 8px; font-size: 12px; line-height: 18px; color: var(--mute); }
.m-rules .ic { width: 14px; height: 14px; margin-top: 2px; color: var(--live); }
.m-rules.bad, .m-rules.bad .ic { color: var(--brass); }
.m-note { margin-top: 8px; font-size: 12px; line-height: 18px; color: var(--dim); }
.m-err { min-height: 18px; margin-top: 6px; font-size: 12px; line-height: 18px; color: var(--brass); }
.m-f { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, .012); }
.m-f .m-sp { flex: 1; }
.spin { width: 13px; height: 13px; border-radius: 50%; border: 2px solid rgba(23, 19, 10, .25); border-top-color: #17130a; animation: rot .8s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.m-done { position: absolute; inset: 0; z-index: 4; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; background: var(--bg1); }
.m-done svg.ok { width: 62px; height: 62px; }
.m-done svg.ok circle { fill: none; stroke: rgba(216, 192, 138, .22); stroke-width: 2; }
.m-done svg.ok .c2 { stroke: var(--brass); stroke-linecap: round; }
.m-done svg.ok path { fill: none; stroke: #f1e3bd; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.m-done h3 { font: 700 18px/24px var(--f-title); margin-top: 8px; }
.m-done p { color: var(--mute); font-size: 12.5px; }
.m-done p b { color: var(--ink); font: 500 12.5px var(--f-mono); }
.pic-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.pic-grid { padding: 3px; }
.pic-grid button { position: relative; aspect-ratio: 1; padding: 0; border-radius: 50%; border: 0; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line2); display: grid; place-items: center; color: var(--mute); transition: box-shadow .2s, transform .2s, opacity .2s; }
.pic-grid button img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.pic-grid button:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px var(--brass-l); }
.pic-grid:has([aria-pressed="true"]) button:not([aria-pressed="true"]) { opacity: .62; }
.pic-grid:has([aria-pressed="true"]) button:not([aria-pressed="true"]):hover { opacity: 1; }
.pic-grid button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--bg1), 0 0 0 4px var(--brass), 0 0 16px rgba(216, 192, 138, .45); }
.pic-grid button[aria-pressed="true"]::after { content: ""; position: absolute; right: -4px; top: -4px; width: 17px; height: 17px; border-radius: 50%; box-shadow: 0 0 0 2px var(--bg1);
  background: var(--brass) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2317130a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 10.5 3.6 3.6 7.4-8.2'/%3E%3C/svg%3E") center / 11px 11px no-repeat; }
.pic-grid .pic-up { border: 1px dashed #3a3a40; box-shadow: none; background: var(--bg); }
.pic-grid .pic-up .ic { width: 17px; height: 17px; }
.pic-grid .pic-up[aria-pressed="true"] { color: var(--brass); border-color: transparent; }
.m-prev .pv-big { display: flex; align-items: center; gap: 12px; min-width: 0; }
.m-prev .pv-big img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--brass-l); flex: none; }
.m-prev .pv-big b { display: block; font: 700 15px/20px var(--f-title); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-prev .pv-big span { font: 11.5px var(--f-mono); color: var(--mute); }
.m-sel { font-size: 12px; color: var(--mute); margin-top: 8px; }
.m-sel b { color: var(--brass); font-weight: 600; }

/* ── toast */
.toast { position: fixed; left: 50%; bottom: 20px; z-index: 90; display: flex; align-items: center; gap: 10px; max-width: min(520px, calc(100vw - 24px)); padding: 9px 12px; border-radius: var(--r3); border: 1px solid var(--line2); background: var(--bg2); box-shadow: 0 16px 40px rgba(0, 0, 0, .6); font-size: 12.5px; line-height: 18px; opacity: 0; visibility: hidden; transform: translate(-50%, 14px); pointer-events: none; transition: opacity .3s, transform .45s cubic-bezier(.16, 1, .3, 1), visibility .3s; }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); pointer-events: auto; }
.toast .ic { width: 15px; height: 15px; color: var(--brass); }

/* ── side panel (an agent record, a work request) */
.app-panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); z-index: 60; background: var(--bg1); border-left: 1px solid var(--line2); box-shadow: -24px 0 60px rgba(0, 0, 0, .55); display: flex; flex-direction: column; }
.app-panel[hidden] { display: none; }
.app-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; padding: 0 8px 0 16px; border-bottom: 1px solid var(--line); }
.app-panel-head b { font: 700 14px/20px var(--f-title); letter-spacing: .02em; }
.app-panel-body { padding: 14px 16px 20px; overflow-y: auto; display: grid; gap: 12px; align-content: start; scrollbar-width: thin; scrollbar-color: #2a2a2f transparent; }

/* ── phone bar and drawer */
.tabbar { display: none; }
.drawer { position: fixed; inset: 0; z-index: 50; }
.dr-scrim { position: absolute; inset: 0; background: rgba(5, 5, 6, .6); }
.dr-sheet { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line2); border-radius: 14px 14px 0 0; background: var(--bg1); max-height: calc(100vh - 40px); overflow-y: auto; }
.dr-sheet:focus { outline: none; }
.dr-grab { width: 36px; height: 4px; border-radius: 4px; background: var(--line2); margin: 0 auto 12px; }
.dr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.dr-grid a { display: grid; justify-items: center; gap: 4px; padding: 10px 4px 9px; border-radius: var(--r3); font-size: 12px; font-weight: 500; color: var(--mute); }
.dr-grid a.on { color: var(--ink); background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line2); }
.dr-foot { display: flex; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.dr-foot a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 38px; border-radius: var(--r2); background: var(--bg2); color: var(--mute); font-size: 12.5px; }

/* ── container: a narrower working column */
@container page (max-width: 860px) {
  .agx { grid-template-columns: 138px minmax(0, 1fr); }
  .agx .fl-box { grid-column: 1 / -1; }
  .row3, .fgrid { grid-template-columns: minmax(0, 1fr); }
  .tiles.t2 { grid-template-columns: 1fr 1fr; }
  .app-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-wiz { grid-template-columns: minmax(0, 1fr); }
  .app-steps { position: static; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .app-steps li { flex-direction: column; justify-content: center; text-align: center; font-size: 11px; line-height: 14px; gap: 4px; padding: 6px 2px; }
}
@container page (max-width: 560px) {
  .view { padding: 14px 12px 24px; gap: 10px; }
  .sec { gap: 10px; }
  .phead h1 { font-size: 21px; line-height: 26px; }
  .phead p { display: none; }
  .agx { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 14px 12px; }
  .ring-wrap { width: 112px; height: 112px; }
  .ring-c .score { font-size: 34px; }
  .an { font-size: 19px; line-height: 24px; }
  .idrow { gap: 10px; }
  .av-md { width: 34px; height: 34px; }
  .av-md svg { width: 25px; height: 25px; }
  .av-md .av { width: 34px !important; height: 34px !important; font-size: 15px; }
  .facts { grid-template-columns: 1fr 1fr; gap: 10px 0; margin-top: 10px; }
  .facts > div:nth-child(2) { border-right: 0; }
  .facts > div:nth-child(3) { grid-column: 1 / -1; }
  .facts dd small { display: inline; margin-left: 6px; }
  .step { grid-template-columns: 22px minmax(0, 1fr); }
  .step .step-a { grid-column: 2; justify-content: flex-start; flex-wrap: wrap; }
  .step:not(.now) .step-a { display: none; }
  .step.now .step-a { margin-top: 10px; }
  .tiles.t3 { grid-template-columns: 1fr 1fr; }
  .tiles.t2 { grid-template-columns: 1fr; }
  .card-h { padding: 7px 12px; }
  .cb { padding: 12px; }
  .gs-foot { padding: 4px 12px 12px; }
  .prog { padding: 0 12px; }
  .ag-more { padding: 0 12px 12px; }
  .amt, .out { font-size: 24px; }
  .ph { padding: 36px 18px; }
  .app-stats b { font-size: 17px; line-height: 22px; }
  .action-box, .acard { padding: 12px; }
  .action-box > h3:first-child, .acard > h3:first-child { margin: -12px -12px 0; padding: 11px 12px; }
  .go-row { grid-template-columns: minmax(0, 1fr); }
  .go-row .input-row { justify-content: flex-start; }
  .app-steps li { font-size: 0; gap: 0; }
  .app-steps li b { font-size: 11px; }
  .agsel { max-width: 150px; }
  .kv dd { font-size: 11.5px; }
  .ag b { max-width: 180px; }
}

/* ── tablet: Ask Mirai floats over the page */
@media (max-width: 1279px) and (min-width: 761px) {
  .ai { position: absolute; right: 0; top: 0; bottom: 0; visibility: hidden; box-shadow: -24px 0 60px rgba(0, 0, 0, .55); }
  .readout { display: none !important; }
}
@media (max-width: 1100px) and (min-width: 761px) { .chain .cn, .chain .sep { display: none; } .sbox { width: 220px; } .wsel .wa { display: none; } }
@media (max-width: 900px) and (min-width: 761px) { .sbox { width: 180px; } .sbox .kbd { display: none; } #addFunds { padding: 0 9px; } }

/* ── phone */
@media (max-width: 760px) {
  .shell { display: block; height: auto; overflow: visible; }
  .rail, .readout, .search { display: none !important; }
  .main { display: block; }
  .body { display: block; }
  .page { overflow: visible; min-height: calc(100vh - 86px); padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .top { position: sticky; top: 0; height: auto; flex-wrap: wrap; gap: 0 8px; padding: 8px 10px 0; }
  .tb-logo { display: grid; place-items: center; width: 30px; height: 32px; }
  .wsel .wa, .wsel .chev { display: none; }
  .wsel .wn { max-width: 120px; }
  .wmenu { position: fixed; left: 10px; right: 10px; top: 52px; min-width: 0; }
  .chain { order: 9; width: calc(100% + 20px); margin: 8px -10px 0; height: 28px; justify-content: center; border: 0; border-top: 1px solid var(--line); border-radius: 0; font-size: 11px; }
  .ai { position: fixed; left: 0; right: 0; top: 0; bottom: 0; width: auto; z-index: 55; border-left: 0; visibility: hidden; }
  body.ai-sheet { overflow: hidden; }
  .ai-in { width: 100%; }
  .bot { height: 170px; }
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(5, 1fr); padding: 0 4px env(safe-area-inset-bottom); border-top: 1px solid var(--line); background: rgba(15, 15, 17, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .tb-a { display: grid; justify-items: center; align-content: center; gap: 1px; min-height: 58px; padding: 0; border: 0; background: none; font-size: 10px; font-weight: 500; color: var(--dim); }
  .tb-a.on { color: var(--ink); }
  .tb-a .ni { width: 30px; height: 30px; }
  .tb-a .ni .hb { width: 30px; height: 30px; }
  .tb-a .mirai { width: 22px; height: 22px; }
  .toast { bottom: calc(70px + env(safe-area-inset-bottom)); }
  .app-panel { width: 100%; z-index: 58; }
  .modal { align-items: end; padding: 10px; }
  .pic-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 380px) { #addFunds span { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Soft page changes between the site and the app (same rules as site.css) */
@view-transition { navigation: auto; types: page; }
html { background: #0b0b0c; }
@keyframes mirai-vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes mirai-vt-in { from { opacity: 0; transform: translateY(10px); } }
html:active-view-transition-type(page)::view-transition-old(root) { animation: 200ms cubic-bezier(.4, 0, .2, 1) both mirai-vt-out; }
html:active-view-transition-type(page)::view-transition-new(root) { animation: 340ms cubic-bezier(.2, 0, 0, 1) 40ms both mirai-vt-in; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
