/* TradePulse terminal. Motion per docs/GALILEO_MOTION.md (a): 0.2s brand curve on hover, nothing heavier. */
@font-face { font-family: "Inter"; src: url("../fonts/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #fff; --soft: #f7f8ff; --soft-2: #f1f3fd;
  --ink: #0b1030; --ink-2: #454b76; --ink-3: #7a80ab;
  --line: #e6e9f9; --line-2: #d8dcf4;
  --cobalt: #3d50fc; --cobalt-ink: #2735c9;
  --green: #00bb7f; --red: #f0506e;
  --green-a: rgba(0, 187, 127, .11); --red-a: rgba(240, 80, 110, .11);
  --ease: cubic-bezier(1, 0, 0.5, 1); --t: .2s;
  --r: 10px; --row: 22px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--soft); color: var(--ink); font: 400 13px/1.4 "Inter", system-ui, sans-serif; font-feature-settings: "cv11", "ss01"; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h2, h3 { margin: 0; font-weight: 600; }
.num, table, .book, .tape, .pairs { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-3); }
.pos { color: var(--green) !important; } .neg { color: var(--red) !important; }

/* top bar */
.top { position: sticky; top: 0; z-index: 10; height: 52px; display: flex; align-items: center; gap: 28px; padding: 0 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 650; font-size: 16px; letter-spacing: -.02em; }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; padding: 6px 10px; border-radius: 6px; transition: color var(--t) var(--ease), background var(--t) var(--ease); }
.nav a:hover { color: var(--ink); background: var(--soft); }
.nav a[aria-current] { color: var(--ink); font-weight: 600; }
.top-r { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.bal { display: flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.bal span { color: var(--ink-3); font-size: 12px; } .bal b { font-weight: 600; } .bal i { font-style: normal; color: var(--ink-3); font-size: 12px; }
.btn { height: 32px; padding: 0 14px; border-radius: 6px; font-weight: 600; font-size: 13px; transition: background var(--t) var(--ease), border-color var(--t) var(--ease); }
.btn-ghost { border: 1px solid var(--line-2); background: var(--bg); }
.btn-ghost:hover { border-color: var(--cobalt); color: var(--cobalt); }

/* grid */
.grid { display: grid; gap: 6px; padding: 6px; grid-template-columns: minmax(0, 1fr) 300px 300px;
  grid-template-areas: "chart book side" "bots bots bots" "tabs form equity" "auc auc auc"; }
.panel { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); min-width: 0; }
.p-chart { grid-area: chart; display: flex; flex-direction: column; height: 642px; }
.p-book { grid-area: book; height: 642px; display: flex; flex-direction: column; }
.side { grid-area: side; display: flex; flex-direction: column; gap: 6px; height: 642px; min-width: 0; }
.p-form { grid-area: form; } .p-tabs { grid-area: tabs; } .p-equity { grid-area: equity; } .p-auctions { grid-area: auc; }
.p-bots { grid-area: bots; }
.btn-primary { background: var(--cobalt); color: #fff; }
.btn-primary:hover { filter: brightness(1.09); }

/* ---------- AI bots ---------- */
.bots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 0 12px 12px; }
.bot { border: 1px solid var(--line); border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 9px; background: var(--bg); transition: border-color var(--t) var(--ease); }
.bot:hover { border-color: var(--cobalt); }
.bot-top { display: flex; align-items: center; gap: 9px; }
.bot-ic { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; flex: none; }
.bot-ic svg { width: 18px; height: 18px; display: block; }
.wiz-head .bot-ic { width: 40px; height: 40px; }
.wiz-head .bot-ic svg { width: 21px; height: 21px; }
.bot h3 { font-size: 14px; }
.bot-style { font-size: 11px; color: var(--ink-3); }
.bot-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag2 { font-size: 10.5px; font-weight: 600; border-radius: 99px; padding: 2px 9px; background: var(--soft-2); color: var(--cobalt-ink); }
.tag2.rate { color: var(--green); background: var(--green-a); }
.bot p { margin: 0; font-size: 12px; line-height: 1.55; color: var(--ink-3); flex: 1; }
.bot .kv { font-size: 11.5px; }
.bot .submit { height: 32px; font-size: 12.5px; }

/* ---------- bot wizard ---------- */
.dlg-bot { width: min(480px, calc(100vw - 32px)); }
.dlg > section { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.dlg > section[hidden] { display: none; }
.wiz-head { display: flex; align-items: center; gap: 10px; }
.wiz-head h3 { font-size: 15px; }
.wiz-eyebrow { margin: 0 0 2px; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cobalt); }
.wiz-desc { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--ink-3); }
.wiz-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg-3 { grid-template-columns: repeat(3, 1fr); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { height: 28px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--bg); font-size: 12px; font-weight: 600; color: var(--ink-3); transition: border-color var(--t) var(--ease), color var(--t) var(--ease), background var(--t) var(--ease); }
.chip:hover { border-color: var(--cobalt); color: var(--cobalt); }
.chip.on { border-color: var(--cobalt); color: var(--cobalt-ink); background: rgba(61, 80, 252, .07); }
.live-top { display: flex; justify-content: space-between; align-items: flex-end; }
.live-top small { display: block; font-size: 11px; color: var(--ink-3); }
.live-top b { font-size: 26px; font-weight: 600; font-variant-numeric: tabular-nums; }
.live-right { text-align: right; }
.wiz-hint { margin: 0; font-size: 11.5px; line-height: 1.5; color: var(--ink-3); }
.wiz-status { margin: 0; font-size: 12.5px; color: var(--ink-3); display: flex; align-items: center; gap: 7px; }
.wiz-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; animation: wiz-pulse 1.6s ease infinite; }
@keyframes wiz-pulse { 50% { opacity: .35; } }
.result-big { font-size: 34px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* minimized live-trade card (right edge): chart stays in full view during a session */
.bot-mini { position: fixed; top: 60px; right: 12px; z-index: 40; width: 236px; display: flex; align-items: flex-start; gap: 10px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px;
  box-shadow: 0 18px 50px -18px rgba(11, 16, 48, .35); animation: tin .25s var(--ease); }
.bot-mini[hidden] { display: none; }
.bot-mini .bot-ic { width: 30px; height: 30px; }
.bot-mini .bot-ic svg { width: 16px; height: 16px; }
.mn-body { flex: 1; min-width: 0; display: grid; gap: 6px; }
.mn-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.mn-head b { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mn-count { font-size: 11.5px; color: var(--ink-3); flex: none; }
#mn-pnl { font-size: 22px; font-weight: 650; font-variant-numeric: tabular-nums; }
.mn-status { margin: 0; font-size: 11px; line-height: 1.45; color: var(--ink-3);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bot-mini .x { font-size: 16px; color: var(--ink-3); width: 22px; height: 22px; flex: none; }
.bot-mini .x:hover { color: var(--red); }
@media (max-width: 899px) { .bot-mini { top: auto; bottom: 12px; right: 12px; } }
.ph { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 6px; gap: 8px; }
.ph h2 { font-size: 13px; }
.fold { width: 20px; height: 20px; border-radius: 5px; color: var(--ink-3); font-size: 13px; line-height: 1; flex: none; transition: background var(--t) var(--ease), color var(--t) var(--ease); }
.fold:hover { background: var(--soft); color: var(--ink); }
.pane-toggle { height: 24px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink-3); font-size: 11px; font-weight: 600; white-space: nowrap; flex: none; transition: border-color var(--t) var(--ease), color var(--t) var(--ease); }
.pane-toggle:hover { border-color: var(--cobalt); color: var(--cobalt); }
.p-book[hidden], .p-markets[hidden] { display: none; }
.grid.no-book { grid-template-areas: "chart chart side" "bots bots bots" "tabs form equity" "auc auc auc"; }
.thead { display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 0 12px 4px; font-size: 11px; color: var(--ink-3); }
.thead span:not(:first-child) { text-align: right; }

/* chart panel */
.stats { display: flex; align-items: center; gap: 22px; padding: 10px 14px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.sym { display: flex; align-items: center; gap: 8px; font-size: 16px; white-space: nowrap; } .sym b { font-weight: 650; letter-spacing: -.01em; }
.coin { width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; color: #fff; font-size: 9px; font-weight: 700; background: var(--c, #999); }
.st-last { display: flex; flex-direction: column; line-height: 1.15; }
.st-last b { font-size: 18px; font-weight: 650; } .st-last small { color: var(--ink-3); font-size: 11px; }
.st-list { display: flex; gap: 22px; margin: 0; }
.st-list div { white-space: nowrap; } .st-list dt { font-size: 11px; color: var(--ink-3); } .st-list dd { margin: 0; font-size: 12px; font-weight: 500; }
.chart-bar { display: flex; align-items: center; gap: 16px; padding: 6px 10px; border-bottom: 1px solid var(--line); }
.tf { display: flex; gap: 2px; }
.tf button { padding: 3px 8px; border-radius: 5px; color: var(--ink-3); font-weight: 500; font-size: 12px; transition: color var(--t) var(--ease), background var(--t) var(--ease); }
.tf button:hover { color: var(--ink); }
.tf button.on { color: var(--cobalt); background: var(--soft-2); }
.ohlc { font-size: 11px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ohlc b { font-weight: 500; margin: 0 8px 0 2px; }
.chart { flex: 1; min-height: 0; position: relative; }

/* order book */
.book { display: flex; flex-direction: column; }
.book .r, .tape .r { display: grid; grid-template-columns: 1fr 1fr 1fr; height: var(--row); align-items: center; padding: 0 12px; font-size: 12px; position: relative; }
.book .r span:not(:first-child), .tape .r span:not(:first-child) { text-align: right; }
.book .r span { position: relative; z-index: 1; }
.book .r::before { content: ""; position: absolute; inset: 1px 0; right: 0; left: auto; width: var(--w); }
.asks .r::before { background: var(--red-a); } .bids .r::before { background: var(--green-a); }
.asks .r span:first-child { color: var(--red); } .bids .r span:first-child { color: var(--green); }
.book .r:hover { background: var(--soft); cursor: pointer; }
.book-mid { display: flex; align-items: baseline; gap: 8px; padding: 6px 12px; margin: 2px 0; border-block: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.book-mid b { font-size: 17px; font-weight: 650; } .book-mid small { color: var(--ink-3); font-size: 12px; }

/* markets + tape */
.p-markets { flex: none; }
.pairs { padding-bottom: 4px; }
.pairs button { width: 100%; display: grid; grid-template-columns: 1.25fr 1fr .8fr; align-items: center; height: 26px; padding: 0 12px; font-size: 12px; text-align: right; transition: background var(--t) var(--ease); }
.pairs button:hover { background: var(--soft); }
.pairs button.on { background: var(--soft-2); box-shadow: inset 2px 0 var(--cobalt); }
.pairs .pn { text-align: left; display: flex; align-items: center; gap: 6px; font-weight: 600; }
.pairs .pn small { color: var(--ink-3); font-weight: 400; }
.pairs .coin { width: 16px; height: 16px; font-size: 8px; }
.p-tape { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.tape { overflow: hidden; flex: 1; }
.tape .r span:nth-child(2) { color: var(--ink); } .tape .r span:last-child { color: var(--ink-3); }
.tape .r.buy span:first-child { color: var(--green); } .tape .r.sell span:first-child { color: var(--red); }

/* flash */
@keyframes fl-up { from { background: var(--green-a); } to { background: transparent; } }
@keyframes fl-dn { from { background: var(--red-a); } to { background: transparent; } }
.fl-up { animation: fl-up .3s linear; } .fl-dn { animation: fl-dn .3s linear; }
.tape .r.new { animation: fl-up .3s linear; } .tape .r.new.sell { animation-name: fl-dn; }

/* order form */
#order-form { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--soft); border-radius: 7px; padding: 2px; }
.seg button { height: 28px; border-radius: 5px; font-weight: 600; color: var(--ink-3); font-size: 12px; transition: background var(--t) var(--ease), color var(--t) var(--ease); }
.seg button.on { background: var(--bg); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.side-seg button.on#side-buy { background: var(--green); color: #fff; box-shadow: none; }
.side-seg button.on#side-sell { background: var(--red); color: #fff; box-shadow: none; }
.type { background: none; padding: 0; border-bottom: 1px solid var(--line); border-radius: 0; display: flex; gap: 16px; }
.type button { height: 28px; border-radius: 0; padding: 0; margin-bottom: -1px; border-bottom: 2px solid transparent; }
.type button.on { background: none; box-shadow: none; color: var(--ink); border-bottom-color: var(--cobalt); }
.avbl, .kv { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); }
.avbl b, .kv b { color: var(--ink); font-weight: 500; }
.field { display: flex; align-items: center; height: 36px; border: 1px solid var(--line-2); border-radius: 7px; padding: 0 10px; gap: 8px; transition: border-color var(--t) var(--ease); }
.field:focus-within { border-color: var(--cobalt); }
.field span { color: var(--ink-3); font-size: 12px; width: 52px; flex: none; }
.field input { flex: 1; min-width: 0; border: 0; outline: 0; text-align: right; font-variant-numeric: tabular-nums; font-weight: 500; background: none; }
.field input:disabled { color: var(--ink-3); }
.field em { font-style: normal; color: var(--ink-3); font-size: 12px; }
.field:has(input:disabled) { background: var(--soft); }
.pct { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pct button { height: 24px; border: 1px solid var(--line); border-radius: 5px; font-size: 11px; color: var(--ink-2); font-weight: 500; transition: border-color var(--t) var(--ease), color var(--t) var(--ease); }
.pct button:hover, .pct button.on { border-color: var(--cobalt); color: var(--cobalt); }
.submit { height: 38px; border-radius: 7px; color: #fff; font-weight: 600; font-size: 14px; width: 100%; transition: filter var(--t) var(--ease); }
.submit:hover { filter: brightness(.94); }
.submit.buy { background: var(--green); } .submit.sell { background: var(--red); } .submit.cobalt { background: var(--cobalt); }

/* tabs + tables */
.p-tabs { display: flex; flex-direction: column; min-height: 330px; }
.tabs { display: flex; gap: 20px; padding: 0 12px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs button { height: 40px; font-weight: 600; color: var(--ink-3); white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color var(--t) var(--ease); }
.tabs button:hover { color: var(--ink); }
.tabs button.on { color: var(--ink); border-bottom-color: var(--cobalt); }
.tabs i { font-style: normal; font-size: 11px; color: var(--ink-3); background: var(--soft); border-radius: 4px; padding: 1px 5px; margin-left: 3px; }
.tab-body { overflow: auto; flex: 1; max-height: 330px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 12px; white-space: nowrap; }
.tbl th { position: sticky; top: 0; background: var(--bg); text-align: right; font-weight: 400; color: var(--ink-3); font-size: 11px; padding: 8px 12px 6px; }
.tbl td { text-align: right; padding: 0 12px; height: 30px; border-top: 1px solid var(--line); }
.tbl th:first-child, .tbl td:first-child { text-align: left; }
.tbl tr:hover td { background: var(--soft); }
.tbl .empty td { text-align: center; color: var(--ink-3); height: 120px; border: 0; }
.tbl .pair { font-weight: 600; }
.tag { display: inline-block; padding: 1px 6px; border-radius: 4px; font-size: 11px; font-weight: 600; }
.tag.pending { background: #fff5e0; color: #b9770e; } .tag.open { background: var(--soft-2); color: var(--cobalt-ink); }
.lnk { color: var(--cobalt); font-weight: 600; font-size: 12px; }
.lnk:hover { color: var(--cobalt-ink); }

/* equity */
.p-equity { display: flex; flex-direction: column; }
.eq-head { display: flex; justify-content: space-between; align-items: flex-end; padding: 2px 12px 0; }
.eq-head small { display: block; color: var(--ink-3); font-size: 11px; }
.eq-head b { font-size: 20px; font-weight: 650; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.eq-head i { font-style: normal; color: var(--ink-3); font-size: 12px; margin-left: 4px; }
.eq-pnl { text-align: right; }
.equity { height: 150px; margin: 6px 0 0; }
.prize { padding: 8px 12px 12px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; margin-top: auto; }
.bar { height: 6px; background: var(--soft-2); border-radius: 3px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--cobalt); width: 0; border-radius: 3px; transition: width .3s ease; }

/* auctions */
.auctions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0 12px 12px; }
.auc { border: 1px solid var(--line); border-radius: 8px; padding: 12px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
.auc h3 { font-size: 13px; } .auc p { margin: 0; color: var(--ink-3); font-size: 12px; grid-column: 1; }
.auc .cd { font-variant-numeric: tabular-nums; font-weight: 600; font-size: 12px; color: var(--ink-2); background: var(--soft); padding: 2px 6px; border-radius: 4px; }
.auc .cur { font-variant-numeric: tabular-nums; font-size: 15px; font-weight: 650; }
.auc .lead { color: var(--green); font-size: 11px; font-weight: 600; }
.auc .bid { height: 30px; padding: 0 14px; border-radius: 6px; background: var(--cobalt); color: #fff; font-weight: 600; font-size: 12px; transition: background var(--t) var(--ease); }
.auc .bid:hover { background: var(--cobalt-ink); }

/* toasts */
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: flex; flex-direction: column; gap: 6px; }
.toast { background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; font-size: 12px; font-weight: 500; display: flex; gap: 8px; align-items: center; min-width: 240px; animation: tin .2s ease; font-variant-numeric: tabular-nums; }
.toast::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; }
.toast.err::before { background: var(--red); }
.toast.warn { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.toast.warn::before { background: var(--cobalt); }
@keyframes tin { from { opacity: 0; transform: translateY(6px); } }

/* dialogs */
.dlg { border: 1px solid var(--line); border-radius: 12px; padding: 0; width: min(400px, calc(100vw - 32px)); color: var(--ink); }
.dlg::backdrop { background: rgba(11, 16, 48, .3); }
.dlg form { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.dlg-h { display: flex; justify-content: space-between; align-items: center; }
.dlg-h h3 { font-size: 15px; }
.x { font-size: 20px; line-height: 1; color: var(--ink-3); width: 28px; height: 28px; border-radius: 6px; }
.x:hover { background: var(--soft); color: var(--ink); }
.f2 { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--ink-3); }
.f2 input, .f2 select { height: 38px; border: 1px solid var(--line-2); border-radius: 7px; padding: 0 10px; color: var(--ink); background: var(--bg); outline: 0; font-variant-numeric: tabular-nums; width: 100%; }
.f2 input:focus, .f2 select:focus { border-color: var(--cobalt); }
.amt { position: relative; display: block; }
.amt button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); color: var(--cobalt); font-weight: 600; font-size: 12px; }
.err { margin: 0; color: var(--red); font-size: 12px; min-height: 16px; }

/* responsive */
@media (max-width: 1279px) {
  .grid { grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "chart book" "bots bots" "tabs form" "side side" "equity equity" "auc auc"; }
  .grid.no-book { grid-template-areas: "chart chart" "bots bots" "tabs form" "side side" "equity equity" "auc auc"; }
  .bots { grid-template-columns: repeat(3, 1fr); }
  .side { height: 300px; flex-direction: row; } .side > .panel { flex: 1; min-width: 0; }
}
@media (max-width: 899px) {
  .nav, .bal span { display: none; }
  .top { gap: 12px; }
  .grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "chart" "bots" "form" "book" "side" "tabs" "equity" "auc"; }
  .bots { grid-template-columns: 1fr; }
  .p-chart { height: 520px; } .p-book { height: auto; }
  .side { height: auto; flex-direction: column; } .side > .panel { flex: none; }
  .p-tape { height: auto; } .tape { max-height: calc(var(--row) * 14); }
  .p-tabs { min-height: 220px; }
  .stats { gap: 16px; } .st-list { gap: 16px; }
  .auctions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; transition: none !important; } }

/* boot splash */
#boot { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: #fff; opacity: 1; transition: opacity .4s linear; }
#boot[hidden] { display: none; }
#boot.out { opacity: 0; }
.boot-logo { animation: boot-pulse 1.2s ease-in-out infinite; }
.boot-word { font-weight: 650; font-size: 20px; letter-spacing: -.02em; color: var(--ink); }
.boot-bar { width: min(240px, 60vw); height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; margin-top: 10px; }
.boot-bar span { display: block; height: 100%; width: 100%; background: var(--cobalt); transform-origin: left; animation: boot-fill 1.6s var(--ease) forwards; }
#boot.fast .boot-bar span { animation-duration: .5s; }
#boot p { margin: 0; font-size: 12px; color: var(--ink-3); min-height: 17px; }
@keyframes boot-pulse { 50% { transform: scale(1.08); opacity: .8; } }
@keyframes boot-fill { from { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { #boot { transition-duration: .05s; } .boot-logo, .boot-bar span { animation: none !important; } }
