/* /tokens.css */
/* RAEN design tokens: the one place for colours, type, spacing, radii and motion.
   Loaded before every other stylesheet. Change a value here and every layer that reads the token follows.
   Themes override tokens under html[data-theme=…] (hoot-system.css, hoot-theme.css, inu-theme.css), which outranks :root.
   Older layers still carry literal values; when you touch one, replace the literal with the token it matches.
   Do not define :root tokens in other files. */
:root{
 color-scheme:dark;

 /* Surfaces: Black granite, darkest to lightest */
 --bg:#030405;
 --ground:#050607;
 --surface:#090a0b;
 --lift:#0d0e10;

 /* Lines */
 --line:#26282b;
 --line2:#3b3e42;

 /* Text */
 --ink:#f7f7f5;
 --muted:#c0c1c2;
 --dim:#8d9094;

 /* Market direction. Fills (candles, Buy, Home v2) use --up/--down; figures in rows and PnL use the -ink pair. */
 --up:#2ebd85;
 --down:#f6465d;
 --up-ink:#3ddc97;
 --down-ink:#ff5c7a;

 /* Accents and signals */
 --accent-warm:#ffad47;
 --accent-warm-ink:#1b1003;
 --green:#40e6a6;
 --red:#ff657c;
 --amber:#ffc46c;
 --orange:#ff962d;
 --cyan:#80caff;
 --lime:#ff982e;
 --glass:rgba(24,31,36,.64);

 /* Pulse workspace surfaces (workspace-layout.css) */
 --surface-raised:#102333;
 --surface-selected:#172a39;
 --text-primary:#edf3fa;
 --text-secondary:#a8bbcd;
 --text-muted:#8198ad;
 --border:#233b4d;
 --accent:#ffab38;
 --positive:#36dba0;
 --negative:#ff6575;

 /* Granite material */
 --granite-flat:radial-gradient(ellipse at 16% 0%,rgba(255,255,255,.055),transparent 35%),radial-gradient(ellipse at 88% 110%,rgba(255,255,255,.025),transparent 42%),linear-gradient(145deg,#101113 0%,#08090a 48%,#0c0d0f 100%);
 --granite-raised:linear-gradient(112deg,rgba(255,255,255,.065),transparent 19%,transparent 74%,rgba(255,255,255,.018)),radial-gradient(ellipse at 72% -20%,rgba(255,255,255,.07),transparent 38%),linear-gradient(150deg,#151618,#0a0b0c 52%,#111214);
 --granite-soft:radial-gradient(ellipse at 20% -35%,rgba(255,255,255,.06),transparent 42%),linear-gradient(150deg,#0f1012,#070809 58%,#0b0c0e);
 --granite-inset:linear-gradient(155deg,#050607,#0b0c0e);
 --granite-shadow:0 18px 48px rgba(0,0,0,.38),inset 0 1px rgba(255,255,255,.055),inset 0 -1px rgba(0,0,0,.8);

 /* Type */
 --sans:Manrope,'Segoe UI',sans-serif;
 --mono:'Cascadia Mono',Consolas,monospace;
 --fs-2xs:10px;
 --fs-xs:11px;
 --fs-sm:12px;
 --fs-md:13px;
 --fs-base:14px;
 --fs-lg:16px;
 --fs-xl:20px;
 --fs-2xl:28px;
 --fs-display:clamp(30px,3.4vw,46px);

 /* Spacing: 4px grid */
 --space-1:4px;
 --space-2:8px;
 --space-3:12px;
 --space-4:16px;
 --space-5:20px;
 --space-6:24px;
 --space-8:32px;
 --space-10:40px;

 /* Radii */
 --radius-sm:6px;
 --radius-md:9px;
 --radius-lg:14px;
 --radius-pill:999px;

 /* Touch and chrome */
 --touch-min:44px;
 --tabbar-height:56px;

 /* Motion */
 --ease-out:cubic-bezier(.23,1,.32,1);
}

/* /trader-v2.css */
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:radial-gradient(900px 500px at 66% -12%,rgba(63,151,173,.10),transparent 67%),var(--bg);color:var(--ink);font:14px/1.45 var(--sans)}button,input,select{font:inherit;color:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}a{color:inherit}.defs{position:absolute;width:0;height:0}.skip{position:fixed;left:12px;top:-60px;z-index:100;background:var(--ink);color:#000;padding:10px}.skip:focus{top:12px}:focus-visible{outline:2px solid var(--lime);outline-offset:3px}::selection{background:var(--cyan);color:#001014}*{scrollbar-color:#33474d transparent;scrollbar-width:thin}
.shell{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:100vh}.rail{position:sticky;top:0;height:100vh;z-index:20;padding:24px 14px 18px;background:rgba(3,5,6,.94);border-right:1px solid var(--line);display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;padding:0 8px 30px;text-decoration:none;font-weight:750;letter-spacing:.13em}.brand-r{width:39px;height:39px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(145deg,rgba(255,255,255,.22),rgba(255,255,255,.035) 52%,rgba(124,231,255,.07));box-shadow:inset 0 1px 1px rgba(255,255,255,.28),inset 0 -12px 24px rgba(0,0,0,.27),0 12px 30px rgba(0,0,0,.36);font-size:20px;color:rgba(255,255,255,.9)}.rail nav{display:grid;gap:7px}.rail nav button{position:relative;display:grid;grid-template-columns:22px 1fr auto;align-items:center;gap:12px;min-height:48px;border:0;border-radius:8px;padding:11px;background:transparent;color:var(--muted);text-align:left;font-weight:620}.rail nav button:hover{background:#0a0f11;color:var(--ink)}.rail nav button[aria-current=page]{background:linear-gradient(90deg,rgba(124,231,255,.12),rgba(124,231,255,.02));box-shadow:inset 1px 0 var(--cyan);color:var(--ink)}svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.rail nav em{font:10px var(--mono);font-style:normal;color:var(--dim)}.rail nav i{width:7px;height:7px;border-radius:50%;background:var(--dim)}.rail nav i.on{background:var(--green);box-shadow:0 0 14px rgba(99,230,166,.5)}.rail-status{margin-top:auto;padding:16px 9px 0;border-top:1px solid var(--line);display:flex;align-items:center;gap:10px}.rail-status>i{width:7px;height:7px;border-radius:50%;background:var(--amber)}.rail-status>i.live{background:var(--green)}.rail-status b,.rail-status small{display:block;font-size:11px}.rail-status small{color:var(--muted)}
main{min-width:0;padding:0 28px 72px}.topbar{position:sticky;top:0;z-index:15;height:80px;border-bottom:1px solid var(--line);background:rgba(2,3,4,.87);backdrop-filter:blur(18px);display:flex;align-items:center;gap:20px}.topbar h1{margin:0;font-size:19px;line-height:1.1;letter-spacing:-.02em}.topbar p{margin:5px 0 0;color:var(--muted);font-size:12px}.top-actions{margin-left:auto;display:flex;align-items:center;gap:10px;color:var(--muted);font:11px var(--mono)}.icon-button{width:40px;height:40px;padding:0;border:1px solid var(--line);border-radius:8px;background:linear-gradient(160deg,#10181a,#050708);display:grid;place-items:center}.icon-button:hover{border-color:var(--cyan);color:var(--cyan)}.ticker{display:flex;overflow:auto;min-height:43px;margin-bottom:0;border-bottom:1px solid var(--line);scrollbar-width:none}.ticker::-webkit-scrollbar{display:none}.ticker button{white-space:nowrap;padding:0 18px;border:0;border-right:1px solid var(--line);background:transparent;color:var(--muted);font:11px var(--mono)}.ticker button:hover{background:#081012;color:var(--ink)}.ticker b{color:var(--ink);margin-right:8px}.ticker .up{color:var(--green)}.notice{position:fixed;right:24px;bottom:24px;z-index:50;width:min(430px,calc(100vw - 36px));padding:13px 16px;border:1px solid var(--line2);border-radius:9px;background:#101719;box-shadow:0 16px 46px rgba(0,0,0,.55)}
.view{display:none;padding-top:28px}.view.active{display:block;animation:view-in .32s cubic-bezier(.16,1,.3,1)}@keyframes view-in{from{opacity:.3;clip-path:inset(0 0 10% 0);filter:blur(3px)}to{opacity:1;clip-path:inset(0);filter:blur(0)}}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px}.section-head h2,.vault-main h2{font-size:27px;line-height:1.05;letter-spacing:-.035em;margin:0}.section-head p,.vault-main>p{max-width:66ch;margin:7px 0 0;color:var(--muted)}.bastion{border:1px solid var(--line2);border-top-color:var(--cyan);background:radial-gradient(700px 220px at 0 0,rgba(124,231,255,.07),transparent 72%),rgba(5,8,9,.85)}.bastion .section-head{padding:21px 22px;border-bottom:1px solid var(--line)}.project{display:flex;gap:12px;align-items:center;min-width:0}.project b,.project small{display:block}.project b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project small{color:var(--dim);font:10px var(--mono);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.score strong{font:700 22px var(--mono)}.score small{display:block;color:var(--muted);font-size:10px}.score.high strong{color:var(--lime)}.market b,.flow b{display:block;font:12px var(--mono)}.market small,.flow small{display:block;color:var(--dim);font-size:10px;margin-top:4px}.flow .positive{color:var(--green)}
.search{height:42px;min-width:250px;display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:8px;border:1px solid var(--line2);border-radius:7px;background:#050809;padding:0 11px}.search svg{color:var(--dim);width:16px}.search input{min-width:0;width:100%;border:0;outline:0;background:transparent}.search input::placeholder{color:var(--dim)}.empty{padding:38px 14px;color:var(--muted);text-align:center}
.positions-list{border-top:1px solid var(--line2)}.position-identity{display:flex;align-items:center;gap:12px;min-width:0}.position-identity img{width:42px;height:42px;flex:0 0 42px;border-radius:8px;object-fit:cover;border:1px solid var(--line)}.position-identity b,.position-identity small{display:block}.position-identity small{color:var(--muted);font-size:10px;margin-top:4px}.chevron{color:var(--dim);transition:transform .2s ease}.chart-entry{stroke:var(--amber);stroke-width:1;stroke-dasharray:5 5;vector-effect:non-scaling-stroke}.chart-label{fill:var(--amber);font:9px var(--mono)}.chart-empty{height:230px;display:grid;place-items:center;text-align:center;color:var(--muted);padding:20px}
.vault-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);min-height:calc(100vh - 180px);border:1px solid var(--line);background:radial-gradient(620px 430px at 20% 10%,rgba(124,231,255,.08),transparent 70%),#050708}.vault-main{padding:clamp(30px,6vw,78px);display:flex;flex-direction:column;align-items:flex-start}.vault-main h2{font-size:39px}.vault-art{position:relative;width:112px;height:112px;display:grid;place-items:center;margin-bottom:38px}.vault-art span{width:58px;height:58px;display:grid;place-items:center;border-radius:17px;background:linear-gradient(145deg,rgba(255,255,255,.2),rgba(255,255,255,.025));box-shadow:inset 0 1px 1px rgba(255,255,255,.3),0 22px 50px rgba(0,0,0,.5);font-size:24px;font-weight:700}.vault-art i{position:absolute;inset:0;border:1px solid rgba(124,231,255,.17);border-radius:50%}.vault-art i:last-child{inset:14px}.vault-main dl{width:100%;max-width:690px;margin:36px 0 24px;border-block:1px solid var(--line)}.vault-main dl div{display:grid;grid-template-columns:115px 1fr;gap:20px;padding:13px 0;border-bottom:1px solid var(--line)}.vault-main dl div:last-child{border:0}.vault-main dt{color:var(--muted)}.vault-main dd{margin:0;font:12px var(--mono);overflow-wrap:anywhere}.vault-main form{width:100%;max-width:690px;display:flex;gap:10px;align-items:end}.vault-main label{display:grid;gap:7px;flex:1;color:var(--muted);font-size:11px}.vault-main input{height:46px;border:1px solid var(--line2);border-radius:7px;background:#030506;padding:0 13px}.primary,.secondary{min-height:46px;border-radius:7px;padding:0 14px;font-weight:650}.primary{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--ink);background:var(--ink);color:#050708}.primary:hover{background:var(--lime);border-color:var(--lime)}.secondary{margin-top:10px;border:1px solid var(--line2);background:transparent}.secondary:hover{border-color:var(--cyan);color:var(--cyan)}.vault-note{border-left:1px solid var(--line);background:rgba(8,12,13,.68);padding:43px 30px}.vault-note h3{margin:0 0 25px}.vault-note ol{list-style:none;padding:0;margin:0}.vault-note li{padding:18px 0;border-bottom:1px solid var(--line)}.vault-note b,.vault-note span{display:block}.vault-note span{color:var(--muted);font-size:12px;margin-top:5px}.vault-note a{display:flex;justify-content:space-between;align-items:center;margin-top:29px;color:var(--cyan);text-decoration:none}
dialog{width:min(720px,94vw);max-height:88vh;padding:0;border:1px solid var(--line2);border-radius:12px;background:#080d0f;color:var(--ink);box-shadow:0 30px 90px rgba(0,0,0,.72)}dialog::backdrop{background:rgba(0,0,0,.73);backdrop-filter:blur(6px)}dialog>header{display:flex;justify-content:space-between;align-items:center;padding:21px 24px;border-bottom:1px solid var(--line)}dialog>header span{color:var(--cyan);font:9px var(--mono);letter-spacing:.09em}dialog h2{margin:4px 0 0;font-size:24px}.evidence{display:grid;grid-template-columns:1fr 1fr;gap:20px}.evidence h3{font-size:13px}.evidence ul{padding-left:18px;color:var(--muted);line-height:1.7}
@media(max-width:1100px){.shell{grid-template-columns:76px minmax(0,1fr)}.rail{padding-inline:10px}.brand{padding-inline:9px}.brand>span:last-child,.rail nav span,.rail nav em,.rail-status span{display:none}.rail nav button{grid-template-columns:1fr;place-items:center}.rail nav i{position:absolute;right:9px;top:8px}.rail-status{justify-content:center}}
@media(max-width:760px){body{padding-bottom:66px}.shell{display:block}.rail{position:fixed;inset:auto 0 0;height:66px;padding:7px 10px calc(7px + env(safe-area-inset-bottom));display:block;border:0;border-top:1px solid var(--line);z-index:40}.brand,.rail-status{display:none}.rail nav{grid-template-columns:repeat(4,1fr);gap:4px}.rail nav button{display:flex;flex-direction:column;gap:3px;min-height:50px;padding:4px;font-size:10px}.rail nav span{display:block}.rail nav button[aria-current=page]{box-shadow:inset 0 -1px var(--cyan);background:rgba(124,231,255,.06)}.rail nav i{right:calc(50% - 13px);top:3px}main{padding:0 13px 30px}.topbar{height:70px}.topbar p,#updated-at{display:none}.top-actions{gap:6px}.ticker{margin-inline:-13px}.view{padding-top:18px}.bastion .section-head{display:block;padding:18px 15px}.bastion .section-head p{font-size:12px}.score strong{font-size:19px}.search{grid-column:1/-1;min-width:0}.vault-layout{grid-template-columns:1fr}.vault-main{padding:30px 20px}.vault-main h2{font-size:31px}.vault-main form{display:grid}.vault-main form button{width:100%}.vault-main dl div{grid-template-columns:90px 1fr}.vault-note{border:0;border-top:1px solid var(--line);padding:28px 20px}.evidence{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.view.active{animation:none}}

/* RAEN v2 — quiet glass, legible market data, deliberate state transitions. */
body{background:radial-gradient(ellipse 80% 32% at 70% 0,rgba(78,105,120,.10),transparent 75%),#050607;font-size:14px;-webkit-font-smoothing:antialiased;font-variant-numeric:tabular-nums}button,input,select{caret-color:var(--cyan)}button,a,input,select{transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease}button:active:not(:disabled){transform:translateY(1px)}button:disabled{cursor:not-allowed;opacity:.45}button[aria-busy=true]{cursor:progress}input:focus,select:focus{border-color:var(--cyan);outline:2px solid rgba(192,229,243,.17);outline-offset:2px}a{text-underline-offset:4px}.shell{grid-template-columns:208px minmax(0,1fr)}
.rail{background:rgba(8,11,13,.86);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);padding-top:28px}.brand{gap:13px;padding-bottom:36px;letter-spacing:0}.brand-r{width:37px;height:42px;background:none;border-radius:0;box-shadow:none}.brand-r svg{width:34px;height:40px;filter:drop-shadow(0 7px 7px rgba(145,192,211,.11))}.rail nav{gap:6px}.rail nav button{min-height:46px;border-radius:10px;font-weight:600}.rail nav button[aria-current=page]{background:rgba(198,224,235,.09);box-shadow:inset 0 1px rgba(234,246,251,.10);color:#fff}.rail-status{font-size:11px}.topbar{height:84px;background:rgba(5,7,9,.80);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}.topbar h1{font-size:21px;font-weight:650;letter-spacing:-.025em}.topbar p{font-size:12px}.top-actions{font-family:var(--sans)}.icon-button{background:linear-gradient(150deg,rgba(214,236,245,.085),rgba(214,236,245,.025));border-color:var(--line2);border-radius:10px;font-weight:600}.ticker button{font-size:11px;min-height:43px}.view{padding-top:28px}.view.active{animation:view-in .22s ease-out}.section-head h2{font-size:25px;font-weight:650;letter-spacing:-.025em}.section-head p{font-size:12px;line-height:1.6}.bastion{border-radius:14px;overflow:hidden;border-color:var(--line2);background:linear-gradient(110deg,rgba(45,62,71,.20),rgba(14,19,23,.60));backdrop-filter:blur(18px)}.bastion .section-head{padding:23px}.project{gap:11px}.project>div{min-width:0}.project b{font-size:14px;font-weight:650}.project small{margin-top:4px;font-size:11px}.score strong{font-size:23px;font-weight:600}.score small{font-size:10px;margin-top:2px}.market b,.flow b{font-size:11px;line-height:1.5}.market small,.flow small{font-size:11px}.search{min-width:230px}.search,input,select{border-radius:9px!important}.search input{font-size:12px}.empty{font-size:12px;line-height:1.7;padding:42px 22px}.positions-list{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:rgba(12,17,20,.5)}.position-identity b{font-weight:650}.position-identity small{overflow-wrap:anywhere}.primary{background:linear-gradient(155deg,rgba(245,251,255,.95),rgba(193,218,228,.91));color:#11171a;border:0;border-radius:10px;font-weight:700;box-shadow:0 6px 18px rgba(0,0,0,.16)}.primary:hover{background:#fff}.secondary{border-radius:10px;background:rgba(226,243,250,.035);font-weight:600}.vault-layout{border-radius:16px;overflow:hidden;background:radial-gradient(ellipse at 20% 0,rgba(168,199,218,.065),transparent 60%),rgba(10,14,17,.75)}.vault-main{padding:48px;min-width:0}.vault-main h2{font-size:34px;font-weight:600;letter-spacing:-.025em}.vault-main>p{font-size:13px;line-height:1.75;max-width:52ch}.vault-art{width:120px;height:120px;margin-bottom:30px}.vault-art span{width:63px;height:72px;background:none;box-shadow:none;border-radius:0;position:relative;z-index:2;transition:filter .4s ease,transform .4s ease}.vault-art span svg{width:100%;height:100%;opacity:.8;transition:opacity .4s ease}.vault-art i{border-color:rgba(216,238,247,.075);transition:border-color .4s ease,transform .7s ease}.vault-art i:last-of-type{inset:12px;border-style:dashed;opacity:.55}.vault-orbit{position:absolute;inset:0;border:1px solid transparent;border-radius:50%;opacity:0;transition:opacity .25s ease}.vault-layout.is-unlocking .vault-orbit,.vault-layout[data-state=unlocking] .vault-orbit{opacity:1;border-top-color:rgba(230,247,255,.65);animation:vault-unlocking 1s linear infinite}.vault-layout.is-unlocking .vault-art span,.vault-layout[data-state=unlocking] .vault-art span{filter:blur(1px);transform:scale(.94)}.vault-layout.is-unlocked .vault-art span,.vault-layout[data-state=unlocked] .vault-art span{filter:drop-shadow(0 9px 18px rgba(129,204,194,.20));transform:translateY(-3px)}.vault-layout.is-unlocked .vault-art span svg,.vault-layout[data-state=unlocked] .vault-art span svg{opacity:1}.vault-layout.is-unlocked .vault-art i,.vault-layout[data-state=unlocked] .vault-art i{border-color:rgba(137,219,182,.20);transform:scale(1.05)}@keyframes vault-unlocking{to{transform:rotate(360deg)}}.vault-main form{flex-wrap:wrap}.vault-main form label{min-width:160px}.vault-main form button{white-space:nowrap}.vault-note{background:rgba(217,235,246,.022);padding:48px 30px;backdrop-filter:blur(18px)}.vault-note h3{font-size:15px;font-weight:650}.vault-note li{padding:23px 0}.vault-note b{font-size:13px}.vault-note span{font-size:12px;line-height:1.6}.vault-note a{font-size:12px;font-weight:600;gap:12px}.vault-main dl{margin-top:28px}.vault-main input{background:rgba(0,0,0,.22)}.notice{background:rgba(26,35,41,.96);backdrop-filter:blur(18px);border-radius:12px;font-size:13px}dialog{background:rgba(15,21,26,.98);border-radius:16px}dialog::backdrop{backdrop-filter:blur(12px);background:rgba(0,0,0,.60)}.market,.score{font-variant-numeric:tabular-nums}
@media(min-width:1600px){main{padding-inline:36px}}
@media(max-width:1280px){.vault-main{padding:34px}}
@media(max-width:1100px){.shell{grid-template-columns:76px minmax(0,1fr)}.brand{padding-inline:7px}.rail nav button{min-height:48px}.rail nav button svg{width:20px;height:20px}}
@media(max-width:760px){body{padding-bottom:calc(76px + env(safe-area-inset-bottom))}.shell{display:block}.rail{height:auto;min-height:70px;background:rgba(8,12,16,.94);padding:7px 7px calc(7px + env(safe-area-inset-bottom));backdrop-filter:blur(24px)}.rail nav{grid-template-columns:repeat(5,minmax(0,1fr));gap:2px}.rail nav button{min-height:52px;padding:5px 2px;gap:4px;border-radius:9px;font-size:9px}.rail nav button svg{width:19px;height:19px}.rail nav button[aria-current=page]{background:rgba(203,232,246,.08);box-shadow:none}.rail nav span{letter-spacing:0}.topbar{height:72px}.topbar h1{font-size:20px}main{padding-inline:14px}.view{padding-top:20px}.bastion{border-radius:12px}.bastion .section-head{padding:19px 16px}.section-head h2{font-size:24px}.market small{display:inline;margin-left:8px}.market b{display:inline}.project b{font-size:14px}.project small{font-size:10px}.position-identity{gap:9px}.position-identity b{font-size:13px;overflow-wrap:anywhere}.vault-layout{grid-template-columns:1fr}.vault-main{padding:29px 22px}.vault-art{margin-bottom:26px}.vault-main h2{font-size:31px}.vault-note{padding:27px 22px}.vault-main form{display:grid;width:100%}.vault-main form label{min-width:0}.vault-main dl div{gap:12px;grid-template-columns:75px 1fr;font-size:12px}.vault-main dd{font-size:11px}.notice{bottom:calc(88px + env(safe-area-inset-bottom));right:14px;width:calc(100vw - 28px)}dialog>header{padding:19px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}.vault-art span{filter:none!important}}

/* Semantic data markup and hidden states are shared with the v2 controller. */
[hidden]{display:none!important}


.brand-r img{width:100%;height:100%;object-fit:contain}


/* Operational clarity: observed candles, source health and pending execution. */
.positive{color:var(--green)}.negative{color:var(--red)}.token-candle-panel{margin-bottom:22px;border:1px solid var(--line);border-radius:10px;overflow:hidden}.candle-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 13px;border-bottom:1px solid var(--line);font-size:10px;color:var(--muted)}.candle-toolbar>div{display:flex;gap:3px;flex-shrink:0}.candle-toolbar button{border:0;border-radius:6px;background:transparent;color:var(--muted);min-width:34px;height:30px;font-size:11px;font-weight:600}.candle-toolbar button[aria-pressed=true]{background:rgba(216,237,247,.13);color:var(--ink)}.candle-toolbar button:hover{background:rgba(216,237,247,.075);color:var(--ink)}.candle-canvas{min-height:220px;overflow:hidden}.candle-canvas .candlestick-svg{width:100%;height:auto;min-height:220px;display:block;stroke:none;overflow:visible}.candle-grid{stroke:rgba(215,235,245,.09);stroke-width:1;vector-effect:non-scaling-stroke}.candle-axis{fill:#92a6b2;font:11px var(--mono);stroke:none}.candle.up{color:#85d8b0}.candle.down{color:#ed8994}.candle line{stroke:currentColor;stroke-width:1;vector-effect:non-scaling-stroke}.candle rect{fill:currentColor;stroke:none}.candle-gap{fill:rgba(235,199,137,.045);stroke:rgba(235,199,137,.11);stroke-dasharray:3 5;stroke-width:1}.candle-coverage{padding:0 13px;margin:0 0 13px;color:var(--muted);font-size:10px;line-height:1.6}.candle-canvas .chart-empty{height:220px;font-size:12px}.token-candle-panel .chart-entry{stroke:var(--amber);stroke-dasharray:5 5}.token-candle-panel .chart-label{font-size:10px;fill:var(--amber);stroke:none}
@media(max-width:760px){.candle-toolbar{padding:10px;align-items:flex-start;flex-direction:column}.candle-toolbar>div{width:100%}.candle-toolbar button{flex:1;min-height:36px}.candle-canvas{overflow-x:auto}.candle-canvas .candlestick-svg{min-width:520px}.candle-coverage{font-size:10px;padding:0 10px}.token-candle-panel{margin-inline:-7px}}







/* RAEN ice-blue: colour signals interaction; market gains/losses keep their semantics. */
body{background:radial-gradient(ellipse at 76% -10%,rgba(0,175,231,.075),transparent 55%),#03070a}
.rail{background:rgba(4,10,14,.94)}
.rail nav button[aria-current=page]{color:var(--cyan);background:rgba(54,203,247,.09);box-shadow:inset 0 1px rgba(100,225,255,.16)}
.rail nav button:hover,.ticker button:hover{color:#a4efff}
.topbar{background:rgba(3,9,13,.9);border-color:var(--line)}
.bastion{background:linear-gradient(110deg,rgba(13,41,55,.65),rgba(6,15,22,.85));border-color:#294956}
.bastion .section-head h2{color:#e5f8ff}
.search:focus-within{outline:1px solid var(--cyan);outline-offset:2px}
.primary{background:linear-gradient(145deg,#94edff,#47cff6);color:#05171e;box-shadow:0 8px 22px rgba(0,107,148,.16)}
.primary:hover{background:#b2f3ff}.secondary:hover{border-color:rgba(85,220,255,.50);color:#9cecff}

/* Extend the sticky header background through the workspace gutters. */
main{--workspace-gutter:28px}.topbar{margin-inline:calc(-1 * var(--workspace-gutter));padding-inline:var(--workspace-gutter)}@media(min-width:1600px){main{--workspace-gutter:36px}}@media(max-width:760px){main{--workspace-gutter:14px}.topbar{gap:10px}.top-actions{gap:7px}}

/* /pulse-terminal.css */
.terminal-workspace{margin-top:22px;--terminal-accent:#57deff;color:#d9e6ee;font-size:12px}.terminal-workspace button,.terminal-workspace input,.terminal-workspace select,.terminal-workspace summary{font:inherit}.terminal-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 0}.terminal-source,.terminal-toolbar-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.terminal-source label{font-size:10px;color:var(--muted)}.terminal-workspace select,.terminal-workspace input[type=search]{background:#09151c;border:1px solid #233b48;border-radius:7px;padding:8px;color:#e7f6fd;max-width:100%}.terminal-source input{width:200px}.terminal-workspace button,.terminal-workspace summary{border:1px solid #223844;border-radius:6px;background:#0b1820;color:#aac5d4;padding:7px 9px;cursor:pointer}.terminal-workspace button:hover{border-color:#59d8fa;color:#b7f3ff}.terminal-workspace button[aria-pressed=true]{color:#79e6ff;border-color:#3ba8c5;background:#0b2a37}.terminal-workspace button:focus-visible,.terminal-workspace summary:focus-visible{outline:2px solid #67dfff;outline-offset:2px}.terminal-workspace svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.6}.terminal-health{padding:5px 0 14px;color:#91b2c4;font-size:10px}.terminal-toolbar details,.terminal-column-filter{position:relative}.terminal-toolbar details>div,.terminal-toolbar details>form,.terminal-column-filter>div{position:absolute;right:0;top:38px;z-index:40;background:#0b1821;border:1px solid #365265;border-radius:10px;padding:14px;width:270px;box-shadow:0 14px 34px #0009;display:grid;gap:10px}.terminal-workspace details label{display:flex;align-items:center;gap:9px;font-size:11px}.terminal-workspace details input[type=checkbox]{accent-color:#53d9ff;width:15px;height:15px}.terminal-workspace details p,.terminal-workspace details small{font-size:10px;color:#91adbd;line-height:1.6}.terminal-presets fieldset{display:flex;gap:8px;border:1px solid #29424f;padding:10px;min-width:0}.terminal-presets input{width:56px;background:#051016;border:1px solid #345766;padding:5px;color:white}.terminal-presets legend{color:#afd1e2;font-size:10px}.terminal-presets label{display:grid!important}.terminal-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.terminal-lane{min-width:0;background:#071219;border:1px solid #1b303e;border-radius:12px;overflow:visible}.terminal-lane>header{display:flex;align-items:center;flex-wrap:wrap;gap:7px;padding:12px 10px 7px;position:relative;z-index:3}.terminal-lane>header>div:first-child{display:flex;align-items:center;gap:7px;flex:1}.terminal-lane h3{font-size:14px;margin:0;color:#f0f8fc;white-space:nowrap}.terminal-lane [data-count]{font-size:10px;color:#83a7ba}.terminal-lane header input[type=search]{width:110px;font-size:10px;padding:6px}.terminal-lane-note{font-size:9px;color:#8cabbc;margin:0;padding:0 10px 10px;min-height:25px}.terminal-column-filter>div{top:28px}.terminal-column-filter label{display:grid!important;gap:5px!important}.terminal-column-filter input[type=number]{background:#040c12;border:1px solid #2d4655;color:#deedf5;padding:7px;width:100%}.terminal-rows{height:calc(100vh - 290px);min-height:360px;max-height:820px;overflow:auto;overscroll-behavior:contain}.terminal-token{--heat:0;display:grid;grid-template-columns:64px minmax(0,1fr) 112px;gap:9px;position:relative;padding:12px 10px;border-bottom:1px solid #21303a;background:linear-gradient(110deg,rgba(21,105,134,.05),transparent);transition:background-color 1.2s ease,border-color 1.2s ease}.terminal-token:hover{background-color:#0a202c}.terminal-artwork{min-width:0}.terminal-artwork button{padding:0;background:none;width:64px;height:64px;border:1px solid #3c7286;border-radius:12px;overflow:hidden}.terminal-artwork img{width:100%;height:100%;object-fit:cover;display:grid;place-items:center}.terminal-artwork small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;color:#89a6b6;margin-top:5px}.terminal-artwork button:hover img{transform:scale(1.12)}.terminal-artwork img{transition:transform .2s ease}.terminal-identity{min-width:0}.terminal-name{display:flex;gap:5px;align-items:center;min-width:0;flex-wrap:wrap}.terminal-name>button:first-child{font-size:12px;font-weight:750;color:#f1f9ff;border:0;background:none;padding:0;max-width:100%;overflow:hidden;text-overflow:ellipsis}.terminal-name>span{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;color:#8ea7b4}.terminal-name button:not(:first-child){padding:1px 3px;background:none;border:0}.terminal-socials{display:flex;align-items:center;gap:5px;flex-wrap:wrap;font-size:10px;margin-top:6px}.terminal-socials a{color:#91b7c9;text-decoration:none}.terminal-socials a:hover{color:#7ce7ff}.terminal-chips{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px;font-size:9px}.terminal-chips>span{padding:2px 4px;border-radius:3px;background:#13252f;color:#9eb7c5;white-space:nowrap}.terminal-chips b{color:#c2e4f2;font-weight:500}.terminal-row-actions{display:flex;gap:5px;margin-top:6px;align-items:center}.terminal-row-actions button,.terminal-row-actions a{font-size:9px;padding:3px 5px;background:none;border:0;color:#8aafc3}.terminal-values{text-align:right;font-size:10px;min-width:0;font-variant-numeric:tabular-nums}.terminal-values>div:not(.terminal-flow){display:flex;justify-content:space-between;gap:5px;margin-bottom:5px;flex-wrap:wrap}.terminal-values span{color:#8dacbd}.terminal-values b{color:#e0f2fc;font-weight:600}.terminal-values .terminal-buy{color:#031720;background:#57dcff;border:0;padding:6px 12px;font-weight:750;font-size:11px;min-height:28px;white-space:nowrap}.terminal-values .terminal-buy:hover{background:#a2efff}.terminal-empty{padding:28px 15px;color:#a0b7c6;font-size:11px;line-height:1.7}.terminal-more{width:calc(100% - 20px);margin:8px 10px}.terminal-footnote{padding:12px 0;color:#8fa9b8;font-size:10px}.terminal-mobile-tabs{display:none}.terminal-compact .terminal-token{padding-block:9px}.terminal-workspace:not(.terminal-compact) .terminal-token{padding-block:18px}.terminal-table .terminal-columns{grid-template-columns:1fr}.terminal-table .terminal-rows{height:auto;max-height:650px}.terminal-table .terminal-token{grid-template-columns:64px minmax(0,1fr) 230px}.terminal-table .terminal-name>span{max-width:500px}.terminal-table .terminal-chips{display:inline-flex;margin-right:15px}.terminal-table .terminal-row-actions{display:inline-flex}.terminal-table .terminal-values>div{justify-content:flex-end;gap:18px!important}
.terminal-holder-filters{display:flex;align-items:center;gap:4px;flex:0 0 100%;overflow-x:auto;padding-top:2px;scrollbar-width:thin}.terminal-holder-filters>span{margin-right:3px;color:#91b2c4;font-size:10px}.terminal-holder-filters button{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:4px 8px;white-space:nowrap}.terminal-holder-filters button>span{font-size:14px;line-height:1}.terminal-holder-filters button>b{font-size:10px}.terminal-holder-filters button>small{color:#7899aa;font-size:8px}.terminal-holder-filters button[aria-pressed=true]>small{color:#8bdff2}
@media(min-width:1500px){.terminal-token{grid-template-columns:72px minmax(0,1fr) 126px}.terminal-artwork button{width:72px;height:72px}.terminal-lane>header{flex-wrap:nowrap}.terminal-lane header input[type=search]{width:85px}.terminal-name>span{max-width:120px}}
@media(max-width:1200px) and (min-width:761px){.terminal-token{grid-template-columns:46px minmax(0,1fr)}.terminal-artwork button{width:46px;height:46px}.terminal-values{grid-column:2;display:flex;gap:8px;align-items:center;flex-wrap:wrap;text-align:left}.terminal-values .terminal-buy{margin-left:auto}.terminal-values>div{gap:8px!important}.terminal-column-filter>div{width:230px}}
@media(max-width:760px){.terminal-toolbar{display:block}.terminal-source{display:grid;grid-template-columns:1fr 1fr}.terminal-source input{width:100%;min-width:0}.terminal-source label{min-width:0}.terminal-source select{width:100%}.terminal-toolbar-actions{margin-top:12px;gap:6px}.terminal-toolbar-actions>button,.terminal-toolbar-actions summary{font-size:11px;min-height:38px}.terminal-holder-filters{margin-top:10px;padding-bottom:3px}.terminal-holder-filters button{min-height:40px}.terminal-toolbar details>div,.terminal-toolbar details>form{position:fixed;top:120px;right:15px;left:15px;width:auto;max-height:65vh;overflow:auto}.terminal-mobile-tabs{display:flex;gap:6px;margin-bottom:10px}.terminal-mobile-tabs button{flex:1;min-height:40px;font-size:11px}.terminal-columns{display:block}.terminal-lane{display:none}.terminal-lane.mobile-selected{display:block}.terminal-lane>header{gap:10px;padding:13px}.terminal-rows{height:auto;min-height:200px;max-height:none;overflow:visible}.terminal-token{grid-template-columns:54px minmax(0,1fr) 100px;gap:8px}.terminal-artwork button{width:54px;height:54px}.terminal-values{font-size:9px}.terminal-values .terminal-buy{min-height:36px}.terminal-column-filter>div{right:0;width:270px}.terminal-table .terminal-token{grid-template-columns:54px minmax(0,1fr) 100px}.terminal-table .terminal-lane{display:block;margin-bottom:14px}.terminal-table .terminal-rows{max-height:none}.terminal-name>button:first-child{font-size:12px}.terminal-row-actions button,.terminal-row-actions a{min-height:28px;min-width:28px}.terminal-presets input{width:100%}.terminal-presets label{min-width:0}.terminal-health{line-height:1.7}}
@media(prefers-reduced-motion:reduce){.terminal-token,.terminal-artwork img{transition:none}}

.terminal-token{background:linear-gradient(105deg,hsla(var(--heat-hue,195),85%,55%,var(--heat-alpha,.04)),transparent 85%);border-bottom-color:hsla(var(--heat-hue,195),50%,55%,.18)}.terminal-artwork button{border-color:hsla(var(--heat-hue,195),80%,65%,.65)}

.terminal-research button{font:inherit;font-size:10px;background:none;border:0;padding:3px 0;color:#8cb9cb;text-align:left;cursor:pointer}.terminal-research .research-related{color:#8cf2cf}.terminal-research .research-conflict{color:#ffb8a4}

@property --heat-hue{syntax:"<number>";inherits:true;initial-value:195}@property --heat-alpha{syntax:"<number>";inherits:true;initial-value:.04}.terminal-token{transition:--heat-hue 1.4s ease,--heat-alpha 1.4s ease,background-color .2s ease}.terminal-research button{max-width:100%}@media(prefers-reduced-motion:reduce){.terminal-token{transition:none}}

.terminal-chips .developer-launch-count{padding:3px 6px;border:1px solid #355765;border-radius:4px;background:#11242d;color:#a6bdc9;font:inherit;cursor:pointer}.terminal-chips .developer-launch-count b{color:#88e4ff;font-weight:700;font-variant-numeric:tabular-nums}.developer-launch-count:focus-visible{outline:2px solid #88e4ff;outline-offset:2px}

.terminal-row-actions .terminal-nearly-link{color:#a0ebff;border:1px solid #356171;background:#102b36;padding:4px 7px;border-radius:5px;font-size:11px;font-weight:650;text-decoration:none;min-height:27px;display:inline-flex;align-items:center}.terminal-nearly-link:focus-visible{outline:2px solid #90e7ff;outline-offset:2px}

.terminal-values>.terminal-buy-controls:not(.terminal-flow){display:grid;flex:0 0 64px;width:64px;gap:4px!important;margin:6px 0 0 auto;justify-content:stretch;flex-wrap:nowrap}.terminal-buy-controls>.terminal-buy{box-sizing:border-box;width:100%;margin:0;padding:6px 4px}.terminal-buy-controls>.terminal-quick-presets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px!important;margin:0}.terminal-buy-controls>.terminal-quick-presets>button{box-sizing:border-box;width:100%;min-width:0;padding:4px 0}.terminal-quick-presets button{min-width:28px;min-height:26px;padding:4px 8px;border-color:#32576a;background:#102630;color:#b7efff;font-size:11px;font-weight:750;font-variant-numeric:tabular-nums}.terminal-workspace button:disabled{opacity:.5;cursor:wait}

.terminal-chips .developer-launch-count.developer-first-launch{color:#b7f8d8;border-color:#3dde9270;background:#123429;box-shadow:0 0 9px #37e58e24}.terminal-chips .developer-launch-count.developer-first-launch b{color:#64f3a7}

.developer-evidence-popover a{display:block;margin:10px 0 12px;color:#7ee7ff;font-weight:750;overflow-wrap:anywhere;text-decoration:none}.developer-evidence-popover a:hover,.developer-evidence-popover a:focus-visible{color:#fff;text-decoration:underline}
.terminal-lane [data-count],.terminal-mobile-tabs [data-tab-count]{display:none!important}.terminal-lane h3,.terminal-mobile-tabs button{display:inline-flex;align-items:center;gap:8px}.terminal-lane h3:before,.terminal-mobile-tabs button:before{content:'';width:6px;height:6px;flex:none;border-radius:50%;background:#66808f;box-shadow:0 2px 8px #0008}.terminal-lane[data-lane=new] h3:before,.terminal-mobile-tabs [data-mobile-lane=new]:before{background:#ff9f43}.terminal-lane[data-lane=stretch] h3:before,.terminal-mobile-tabs [data-mobile-lane=stretch]:before{background:#68b8ff}.terminal-lane[data-lane=trading] h3:before,.terminal-mobile-tabs [data-mobile-lane=trading]:before{background:#5fd3a7}
/* Compact New Pairs toolbar: search, presets and Advanced settings; everything else opens on demand. */
.terminal-toolbar:not(.advanced-open){display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:8px;padding-block:8px!important}
.terminal-toolbar:not(.advanced-open)>:is(.terminal-toolbar-actions,.terminal-holder-filters,.research-filter-tools),.terminal-toolbar:not(.advanced-open) .terminal-source>label,.terminal-toolbar:not(.advanced-open) .terminal-column-filter{display:none!important}
.terminal-toolbar:not(.advanced-open) .terminal-source{flex:1 1 auto;min-width:0;display:flex!important}
.terminal-toolbar:not(.advanced-open) #terminal-search{width:100%;min-width:0}
.terminal-toolbar:not(.advanced-open) .terminal-toolbar-presets{flex:none}
.terminal-advanced-toggle{flex:none;white-space:nowrap}
.terminal-toolbar.advanced-open .terminal-advanced-toggle{border-color:var(--amber,#f5a524)}
@media(max-width:760px){.terminal-toolbar:not(.advanced-open){flex-wrap:wrap!important}.terminal-toolbar:not(.advanced-open) .terminal-source{flex-basis:100%}}
/* Advanced settings open (desktop and tablet): search + presets on the first row, the extra controls wrap below at full
   width, so nothing is squeezed into overlapping buttons. */
@media(min-width:761px){
 #terminal .terminal-toolbar.advanced-open:not(#_){display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-auto-rows:auto;align-items:center;gap:8px}
 #terminal .terminal-toolbar.advanced-open:not(#_)>.terminal-source{grid-column:1;grid-row:1;min-width:0;flex-wrap:wrap}
 #terminal .terminal-toolbar.advanced-open:not(#_)>.terminal-toolbar-presets{grid-column:2;grid-row:1}
 #terminal .terminal-toolbar.advanced-open:not(#_)>.terminal-toolbar-actions{grid-column:1/-1;grid-row:2;display:flex!important;flex-wrap:wrap;gap:6px}
 #terminal .terminal-toolbar.advanced-open:not(#_)>.terminal-toolbar-actions button{white-space:nowrap}
 #terminal .terminal-toolbar.advanced-open:not(#_)>.terminal-holder-filters{grid-column:1/-1;grid-row:3}
 #terminal .terminal-toolbar.advanced-open:not(#_)>.research-filter-tools{grid-column:1/-1;grid-row:4}
 #terminal .terminal-toolbar.advanced-open:not(#_) #terminal-search{flex:1 1 220px;min-width:180px}
}
/* Phone tab bar: six equal columns. */
@media(max-width:760px){.rail nav{grid-template-columns:repeat(6,minmax(0,1fr))}.rail nav button{font-size:8px}}

/* /pulse-alerts.css */
.pulse-alerts{margin:16px 0 20px;padding:18px;border:1px solid #244350;border-radius:12px;background:#08151bcc}.pulse-alerts header{display:flex;justify-content:space-between;gap:16px;align-items:center}.alert-eyebrow{font-size:10px;letter-spacing:.13em;color:#7edfff}.pulse-alerts h2{margin:5px 0;font-size:20px}.pulse-alerts p{color:#a8bdc6;font-size:12px;line-height:1.6}.alert-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.alert-controls label{font-size:11px;display:flex;align-items:center;gap:6px}.alert-controls input{width:80px}.pulse-alerts summary{font-size:12px;color:#c8dce4;cursor:pointer}.alert-events{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;margin-top:14px;max-height:360px;overflow:auto}.pulse-alert-event{display:flex;text-align:left;gap:10px;padding:12px;border:1px solid #355864;border-radius:9px;background:#0c242d;align-items:center;min-width:0}.pulse-alert-event img{width:36px;height:36px;object-fit:cover;border-radius:8px}.pulse-alert-event span{display:grid;gap:4px;min-width:0}.pulse-alert-event b{font-size:14px;overflow-wrap:anywhere}.pulse-alert-event strong{font-size:11px}.pulse-alert-event small,.pulse-alert-event time{font-size:10px;color:#c8d2d7}.pulse-alert-event time{margin-left:auto;white-space:nowrap}.pulse-alert-event.is-fire{border-color:#fa862f;background:linear-gradient(110deg,#422014,#211710);box-shadow:inset 3px 0 #ff7b22,0 0 16px #ff6b161a}.pulse-alert-event.is-fire b,.pulse-alert-event.is-fire strong{color:#ffb16d}.alert-empty{grid-column:1/-1}.alert-health{margin:10px 0}.pulse-alert-event:focus-visible{outline:2px solid #ffb16d;outline-offset:2px}@media(max-width:760px){.pulse-alerts header{align-items:flex-start;flex-direction:column}.alert-events{grid-template-columns:1fr}.pulse-alerts{padding:12px}.alert-controls button{min-height:36px}.pulse-alert-event time{font-size:9px}}

.terminal-token.terminal-alert-hot{border-left:3px solid #ff802c;background:linear-gradient(110deg,#522512a6,#17130d66)!important;box-shadow:inset 0 0 24px #ff782218}.terminal-alert-hot .terminal-name>button:first-child{color:#ffb16d}

.candle.flat line{stroke:#b0c3cb}.candle.flat rect{fill:#b0c3cb;stroke:#b0c3cb}.chart-calm{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:220px}.chart-calm strong{font-size:23px;color:#d9e6eb;font-variant-numeric:tabular-nums}.chart-calm span{font-size:13px;color:#aabcc5}.chart-calm small{font-size:11px;color:#8096a2}

.pulse-alerts{position:fixed;z-index:65;right:22px;top:84px;margin:0;padding:0;border:0;background:transparent;max-width:calc(100vw - 28px)}.alert-dock>summary{display:flex;gap:8px;align-items:center;width:max-content;margin-left:auto;padding:9px 12px;border:1px solid #36515c;border-radius:9px;background:#0b181ff5;box-shadow:0 4px 18px #0005;color:#d3e4eb;font-size:12px;list-style:none}.alert-dock>summary::-webkit-details-marker{display:none}.alert-badge{min-width:19px;padding:2px 4px;text-align:center;border-radius:4px;background:#214454;color:#a5e9ff;font-size:10px}.alert-latest{max-width:90px;overflow:hidden;text-overflow:ellipsis}.has-hot-alert .alert-dock>summary{border-color:#ff873a;box-shadow:0 0 12px #ff752225}.has-hot-alert .alert-badge{background:#5b2b15;color:#ffc18f}.alert-drawer{margin-top:8px;width:340px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 170px);overflow:auto;padding:14px;border:1px solid #35515e;border-radius:12px;background:#081319f5;backdrop-filter:blur(18px);box-shadow:0 12px 40px #0008}.pulse-alerts header{display:block}.pulse-alerts h2{font-size:16px}.pulse-alerts header>div>p,.alert-eyebrow{display:none}.alert-controls{margin-top:10px;gap:6px}.alert-controls button{border:1px solid #35515e;background:#10232c;color:#c9dfe8;border-radius:6px;padding:6px 8px;font-size:11px;cursor:pointer}.pulse-alerts p,.pulse-alerts summary{font-size:11px}.alert-events{grid-template-columns:1fr;max-height:260px;margin-top:10px}.pulse-alert-event{padding:9px;gap:7px}.pulse-alert-event time{display:none}.alert-empty{margin:0}.pulse-alerts .alert-health{margin:10px 0;font-size:10px}.alert-dock>summary:focus-visible{outline:2px solid #88e4ff}@media(max-width:760px){.pulse-alerts{top:78px;right:14px;padding:0}.alert-drawer{width:320px;max-height:calc(100dvh - 230px)}}

.alert-controls .alert-threshold{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:6px}.alert-threshold input{width:70px;padding:5px;border-radius:5px;border:1px solid #35515e;background:#10232c;color:#d4e5ec}

/* Persistent companion: status remains visible across application panels. */
.pulse-alerts .alert-dock>summary{gap:5px;padding:4px 10px 4px 4px;min-height:54px;border-radius:16px;color:#8aa2ae;transition:border-color 160ms ease,background-color 160ms ease}.companion-bell{width:44px;height:44px;flex:none;overflow:visible}.companion-copy{display:grid;gap:3px;min-width:69px}.companion-copy>span{font-size:10px;color:#a8bdc8}.companion-status{font-size:11px;font-weight:650;color:currentColor}.pulse-alerts[data-sound=on] .alert-dock>summary{color:#80e7ff;border-color:#3d7f91;background:#0a1e28f5}.pulse-alerts[data-sound=paused] .alert-dock>summary{color:#edc17e;border-color:#79603b}.pulse-alerts .alert-latest{display:none}.pulse-alerts .alert-badge{font-variant-numeric:tabular-nums}.bell-eyes{transform-box:fill-box;transform-origin:center;animation:companion-blink 5.8s infinite}.bell-body{transform-origin:32px 12px;animation:companion-float 7s ease-in-out infinite}.pulse-alerts[data-sound=off] .bell-eyes{animation:none;transform:scaleY(.22)}.pulse-alerts[data-sound=off] .bell-body{animation:none}.pulse-alerts.has-hot-alert .alert-dock>summary{border-color:#ff873a}.pulse-alerts .alert-dock[open] .bell-body{animation-play-state:paused}.pulse-alerts .alert-dock>summary:active{transform:scale(.98)}
@keyframes companion-blink{0%,43%,47%,76%,80%,100%{transform:scaleY(1)}45%,78%{transform:scaleY(.08)}}
@keyframes companion-float{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-2px) rotate(2deg)}}
@media(prefers-reduced-motion:reduce){.bell-eyes,.bell-body{animation:none!important}.pulse-alerts .alert-dock>summary{transition:none}.pulse-alerts .alert-dock>summary:active{transform:none}}

.pulse-alert-event.is-drop{border-color:#f46b7e;background:linear-gradient(110deg,#401722,#201117);box-shadow:inset 3px 0 #ef526e,0 0 16px #ee406418}.pulse-alert-event.is-drop b,.pulse-alert-event.is-drop strong{color:#ffa3b2}.pulse-alerts.has-drop-alert .alert-dock>summary{border-color:#f46b7e;box-shadow:0 0 12px #f04b6728}.has-drop-alert .alert-badge{background:#4e1d2b;color:#ffb3c0}.terminal-token.terminal-alert-drop{border-left:3px solid #f46b7e;background:linear-gradient(110deg,#491624aa,#21121b66)!important}.terminal-alert-drop .terminal-name>button:first-child{color:#ffa3b2}

.alert-live-rail{display:grid;gap:6px;width:224px;max-width:calc(100vw - 28px);margin:8px 0 0 auto}.alert-live-rail:empty{display:none}.alert-live-rail .pulse-alert-event{width:100%;padding:8px;background-color:#09171ef5;backdrop-filter:blur(14px);box-shadow:0 6px 20px #0005}.alert-live-rail .pulse-alert-event img{width:28px;height:28px}.alert-live-rail .pulse-alert-event b{font-size:12px}.alert-live-rail .pulse-alert-event small{font-size:10px}.alert-live-rail .pulse-alert-event time{display:none}.pulse-alerts:has(.alert-dock[open]) .alert-live-rail{display:none}@media(max-width:760px){.alert-live-rail{width:188px;max-height:190px;overflow:auto}}

.alert-live-card{position:relative;min-width:0}.alert-live-card>.pulse-alert-event{padding-right:30px}.alert-live-card>.alert-dismiss{position:absolute;right:3px;top:3px;width:26px;height:26px;display:grid;place-items:center;padding:0;border:0;border-radius:6px;background:#08141b99;color:#c7dce7;font-size:20px;line-height:1;cursor:pointer}.alert-live-card>.alert-dismiss:hover{background:#294451;color:#fff}.alert-live-card>.alert-dismiss:focus-visible{outline:2px solid #83dfff;outline-offset:1px}

.alert-badge[hidden]{display:none!important}

.alert-advanced{margin:10px 0;padding:10px;border:1px solid #31536b;border-radius:8px;background:#091c2a}.alert-advanced>summary{cursor:pointer;color:#d3e5f2;font-weight:700}.alert-type-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.alert-type-options label{display:flex;align-items:center;gap:8px;font-size:12px;cursor:pointer}.alert-type-options input{width:17px;height:17px;accent-color:#ff9f37;flex:none}.alert-advanced p{font-size:11px;line-height:1.5;color:#b1c7d9}.alert-advanced .alert-threshold{display:flex;justify-content:space-between;align-items:center;margin-top:8px;gap:8px}.alert-advanced .alert-threshold input{width:80px}@media(max-width:480px){.alert-type-options{grid-template-columns:1fr}.alert-type-options label{min-height:34px}}

.alert-extra-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px}.alert-extra-controls>label{display:flex;align-items:center;gap:6px;font-size:12px}.alert-extra-controls input[type=range]{width:90px}.alert-drawer .alert-controls{display:flex;gap:6px;flex-wrap:wrap}.alert-drawer .alert-advanced:not([open]){padding:8px 10px}
.alert-clear-all{display:block;margin:10px auto 1px;padding:3px 8px;border:0;background:transparent;color:#7fe8ff;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;text-shadow:0 0 7px #31cfff,0 0 14px #31cfff66;transition:color 140ms ease,text-shadow 140ms ease}.alert-clear-all:hover{color:#fff;text-shadow:0 0 8px #7fe8ff,0 0 18px #31cfff}.alert-clear-all:focus-visible{outline:1px solid #7fe8ff;outline-offset:3px;border-radius:3px}.alert-clear-all[hidden]{display:none}

/* Only live notification cards follow the viewport; the bell stays in the header. */
body>.alert-live-rail{position:fixed;z-index:119;right:max(16px,env(safe-area-inset-right));top:max(104px,env(safe-area-inset-top));bottom:auto;max-width:calc(100vw - 32px);isolation:isolate}
.top-actions .pulse-alerts .alert-drawer{position:absolute;top:48px;right:0;bottom:auto;width:340px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 120px);margin:0;padding:14px;overflow:auto;box-shadow:0 14px 40px 4px #0009}
body>.alert-live-rail{max-height:calc(100dvh - 120px);overflow:auto;overscroll-behavior:contain}
.alert-live-clear{justify-self:end;margin:1px 3px 0;padding:3px 7px;border:1px solid #ffffff1c;border-radius:5px;background:#050506a8;color:#c9cdd1;font:600 9px/1.2 inherit;letter-spacing:.07em;text-transform:uppercase;opacity:.48;cursor:pointer;backdrop-filter:blur(8px);transition:opacity 140ms ease,border-color 140ms ease,color 140ms ease}.alert-live-clear:hover,.alert-live-clear:focus-visible{opacity:.92;color:#fff;border-color:#ffffff5c}.alert-live-clear:focus-visible{outline:1px solid #fff;outline-offset:2px}.alert-live-clear[hidden]{display:none}
body:has(.alert-dock[open])>.alert-live-rail{display:none}
.alert-live-card>.alert-dismiss,.alert-drawer-close{position:absolute;right:4px;top:4px;width:28px;height:28px;display:grid;place-items:center;padding:0;border:0;border-radius:7px;background:#08141bd9;color:#c7dce7;cursor:pointer}
.alert-live-card>.alert-dismiss svg,.alert-drawer-close svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.alert-live-card>.alert-dismiss:hover,.alert-drawer-close:hover{background:#294451;color:#fff}
.alert-live-card>.alert-dismiss:focus-visible,.alert-drawer-close:focus-visible{outline:2px solid #83dfff;outline-offset:1px}
.alert-drawer-close{z-index:2;right:10px;top:10px}
.alert-drawer>header{padding-right:30px}
@media(max-width:760px){body>.alert-live-rail{right:max(10px,env(safe-area-inset-right));top:auto;bottom:max(84px,calc(76px + env(safe-area-inset-bottom)));max-width:calc(100vw - 20px)}.top-actions .pulse-alerts .alert-drawer{position:fixed;top:64px;right:12px;bottom:auto;width:min(320px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 154px)}}

.pulse-alert-event time.alert-age,.alert-live-rail .pulse-alert-event time.alert-age{display:block;margin:1px 0 0;color:#9fb3bd;font-size:9px;line-height:1.3;font-variant-numeric:tabular-nums;white-space:nowrap}
.alert-threshold-help{margin:10px 0 2px;color:#9aa4ad;font-size:11px;line-height:1.45}
.alert-drawer .alert-threshold-help.is-warning{color:#f5a524!important}

/* A hot run: the pop-up pulses and carries a HOT RUN tag in its free bottom-right corner, beside the age, until it is
   dismissed or ten minutes pass. */
.alert-live-card.is-alarm{position:relative;border-radius:12px;box-shadow:0 0 0 1px #ff8a1f,0 0 26px rgba(255,138,31,.42);animation:alert-alarm-pulse 1.2s ease-in-out infinite}
.alert-live-card.is-alarm::before{content:"HOT RUN";position:absolute;right:12px;bottom:10px;pointer-events:none;z-index:3;padding:2px 7px;border-radius:999px;background:#ff8a1f;color:#150b02;font:800 9.5px/1.4 var(--mono,ui-monospace,monospace);letter-spacing:.12em}
@keyframes alert-alarm-pulse{0%,100%{box-shadow:0 0 0 1px #ff8a1f,0 0 18px rgba(255,138,31,.30)}50%{box-shadow:0 0 0 2px #ffa64f,0 0 34px rgba(255,138,31,.6)}}
@media(prefers-reduced-motion:reduce){.alert-live-card.is-alarm{animation:none}}
html[data-motion=off] .alert-live-card.is-alarm{animation:none}

/* Buys by blacklisted wallets (incident participants). */
.pulse-alert-event.is-blacklist{border-color:#f6465d!important;background:linear-gradient(120deg,rgba(246,70,93,.16),rgba(246,70,93,.04))!important}
.pulse-alert-event.is-blacklist strong{color:#ff6b80}

/* Evidence and full wallet addresses must fit both pop-ups and alert history. */
.pulse-alert-event{height:auto;white-space:normal;box-sizing:border-box}
.pulse-alert-event>img{flex-shrink:0}
.pulse-alert-event>span{flex:1;min-width:0;grid-template-columns:minmax(0,1fr)}
.pulse-alert-event>span>:is(b,strong,small){min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.4}
.alert-live-card>.pulse-alert-event{padding-right:36px}
/* Focus halo: a feathered band around the live notification cards blurs and dims the page behind them, so the tile stands
   out. The rail grows by the halo on every side and gives it back with negative margins, so the cards stay in place, and
   only the cards and Clear all take clicks. Light performance keeps the dim and drops the blur. */
body>.alert-live-rail:has(>.alert-live-card){--alert-halo:28px;padding:var(--alert-halo);margin:calc(8px - var(--alert-halo)) calc(-1 * var(--alert-halo)) calc(-1 * var(--alert-halo));width:calc(224px + 2 * var(--alert-halo));max-width:calc(100vw - 32px + 2 * var(--alert-halo));pointer-events:none}
body>.alert-live-rail:has(>.alert-live-card)>*{pointer-events:auto}
body>.alert-live-rail:has(>.alert-live-card)::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:#00000059;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);-webkit-mask:linear-gradient(90deg,transparent,#000 var(--alert-halo) calc(100% - var(--alert-halo)),transparent),linear-gradient(transparent,#000 var(--alert-halo) calc(100% - var(--alert-halo)),transparent);-webkit-mask-composite:source-in;mask:linear-gradient(90deg,transparent,#000 var(--alert-halo) calc(100% - var(--alert-halo)),transparent),linear-gradient(transparent,#000 var(--alert-halo) calc(100% - var(--alert-halo)),transparent);mask-composite:intersect}
@media(max-width:760px){body>.alert-live-rail:has(>.alert-live-card){--alert-halo:20px;width:calc(188px + 2 * var(--alert-halo));max-width:calc(100vw - 20px + 2 * var(--alert-halo))}}
html[data-performance=light] body>.alert-live-rail::before{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:#00000080}

/* /near-fm.css */
/* NEAR FM in Tools (tools-hub.js opens #near-fm-tool); inherits every RAEN theme through --fm-accent.
   Panel buttons elsewhere get padding and a border from a broad rule, so the player's own controls use #near-fm-tool. */
#near-fm-tool{--fm-accent:var(--green,#57d6b0);--fm-ink:#04130d;max-width:560px}
html:is([data-theme=hoot],[data-theme=inu]) #near-fm-tool{--fm-accent:var(--jh-accent);--fm-ink:#150b02}
#near-fm-tool .near-fm{position:relative;isolation:isolate;padding:2px 0 0;border:0;background:none;color:var(--ink)}
#near-fm-tool .near-fm::before{content:"";position:absolute;z-index:-1;inset:-18px -18px auto auto;width:220px;height:160px;background:radial-gradient(ellipse at 100% 0,color-mix(in srgb,var(--fm-accent) 16%,transparent),transparent 70%);pointer-events:none}
.near-fm-heading{display:flex;align-items:center;gap:8px;min-width:0}
.near-fm-heading strong{flex:none;font-size:13px;font-weight:800;letter-spacing:.06em}
.near-fm-heading .near-fm-bars{display:none;color:var(--fm-accent)}
.near-fm:is([data-state=playing],[data-state=loading]) .near-fm-heading .near-fm-bars{display:inline-flex}
.near-fm-status{flex:1;min-width:0;color:var(--muted);font-size:11px;line-height:1.4}
.near-fm[data-state=playing] .near-fm-status{color:var(--fm-accent)}
.near-fm[data-state=error] .near-fm-status{color:var(--orange,#ff9c38)}
#near-fm-tool .near-fm :is(button,.near-fm-source):not(#_){display:grid;place-items:center;flex:none;padding:0;border:1px solid var(--line2,#2e353e)!important;border-radius:50%;background:transparent!important;color:var(--muted)!important;box-shadow:none!important;cursor:pointer;touch-action:manipulation;transition:color .15s,border-color .15s,background-color .15s}
#near-fm-tool .near-fm :is(button,.near-fm-source):not(#_):hover{color:var(--ink)!important;border-color:var(--fm-accent)!important;background:color-mix(in srgb,var(--fm-accent) 10%,transparent)!important}
#near-fm-tool .near-fm .near-fm-source:not(#_){width:30px;height:30px;margin:-4px 0;border-color:transparent!important}
#near-fm-tool .near-fm .near-fm-play:not(#_){width:52px;height:52px;border:0!important;background:var(--fm-accent)!important;color:var(--fm-ink)!important;box-shadow:0 6px 18px color-mix(in srgb,var(--fm-accent) 28%,transparent)!important}
#near-fm-tool .near-fm .near-fm-play:not(#_):hover{background:var(--fm-accent)!important;color:var(--fm-ink)!important;filter:brightness(1.08)}
#near-fm-tool .near-fm .near-fm-next:not(#_){width:40px;height:40px}
#near-fm-tool .near-fm .near-fm-mute:not(#_){width:32px;height:32px}
#near-fm-tool .near-fm button:disabled:not(#_){opacity:.4;cursor:default}
.near-fm svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.near-fm .near-fm-play svg{width:20px;height:20px;fill:currentColor;stroke-width:1.4}
.near-fm .near-fm-play svg path[d^="m9"]{transform:translateX(1px)}
.near-fm .near-fm-play svg path[d^="M8"]{stroke-width:3.2}
.near-fm button:focus-visible,.near-fm-source:focus-visible,.near-fm input:focus-visible{outline:2px solid var(--fm-accent);outline-offset:3px}
.near-fm-controls{display:flex;align-items:center;gap:14px;margin-top:14px;min-width:0}
.near-fm-track{flex:1;min-width:0}
.near-fm-title,.near-fm-artist{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.45}
.near-fm-title{font-size:14px;font-weight:700}
.near-fm-artist{font-size:12px;color:var(--muted)}
.near-fm-timeline{display:flex;align-items:center;gap:10px;min-height:36px;margin-top:12px}
#near-fm-tool .near-fm-timeline input:not(#_){flex:1;width:0;min-width:0;height:4px;margin:0;accent-color:var(--fm-accent)!important;cursor:pointer}
#near-fm-tool .near-fm-timeline .near-fm-volume:not(#_){flex:0 0 92px;width:92px}
.near-fm-timeline time{min-width:32px;font:500 11px/1 var(--mono,ui-monospace,monospace);font-variant-numeric:tabular-nums;color:var(--muted);text-align:right}
.near-fm audio{display:none}
@media(max-width:760px),(pointer:coarse){#near-fm-tool .near-fm .near-fm-next:not(#_),#near-fm-tool .near-fm .near-fm-mute:not(#_){width:44px;height:44px}.near-fm-timeline input{height:6px}}
@media(max-width:760px){#near-fm-tool{max-width:none}#near-fm-tool .near-fm-timeline .near-fm-volume:not(#_){flex-basis:72px;width:72px}}

/* Header chip while NEAR FM plays: three small bars and "FM". It opens NEAR FM in Tools. */
.near-fm-now{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 9px;border:1px solid color-mix(in srgb,var(--green,#57d6b0) 40%,transparent);border-radius:999px;background:color-mix(in srgb,var(--green,#57d6b0) 10%,transparent);color:var(--green,#57d6b0);font:700 10px/1 var(--mono,ui-monospace,monospace);letter-spacing:.08em;cursor:pointer}
.near-fm-now[hidden]{display:none!important}
.near-fm-now:hover{background:color-mix(in srgb,var(--green,#57d6b0) 18%,transparent)}
.near-fm-now:focus-visible{outline:2px solid var(--green,#57d6b0);outline-offset:2px}
html:is([data-theme=hoot],[data-theme=inu]) .near-fm-now{--green:var(--jh-accent)}
.near-fm-bars{display:inline-flex;align-items:flex-end;gap:2px;width:11px;height:11px}
.near-fm-bars i{flex:1;height:100%;border-radius:1px;background:currentColor;transform-origin:bottom;animation:near-fm-bar 1.1s ease-in-out infinite}
.near-fm-bars i:nth-child(1){transform:scaleY(.45);animation-delay:-.4s}.near-fm-bars i:nth-child(2){transform:scaleY(.9);animation-delay:-.15s}.near-fm-bars i:nth-child(3){transform:scaleY(.6);animation-delay:-.7s}
.near-fm-now[data-state=loading] .near-fm-bars i{animation:none;opacity:.55}
@keyframes near-fm-bar{0%,100%{transform:scaleY(.3)}50%{transform:scaleY(1)}}
@media(prefers-reduced-motion:reduce){.near-fm-bars i{animation:none}}
html[data-motion=off] .near-fm-bars i{animation:none}
@media(max-width:760px){.near-fm-now{height:28px;padding:0 7px}.near-fm-now-label{display:none}}

/* /reference-theme.css */
/* RAEN Observatory. Load after legacy component styles; trading semantics are unchanged. */
/* Latin subset of Manrope (OFL, assets/fonts/Manrope-OFL.txt) as WOFF2: 32 KB instead of the 165 KB full TTF; other scripts fall back to the system font. */
@font-face{font-family:Manrope;src:url('/assets/fonts/Manrope-Variable-latin.woff2') format('woff2');font-weight:200 800;font-display:swap}
html{background:var(--bg);scroll-behavior:auto}body{background:radial-gradient(ellipse at 88% 0,rgba(26,78,119,.14),transparent 48%),var(--bg);color:var(--ink);font:13px/1.5 var(--sans);padding-bottom:0;-webkit-font-smoothing:antialiased}
button,input,select{font-family:var(--sans)}button{font-weight:650}input,select{caret-color:var(--orange)}button,a{-webkit-tap-highlight-color:transparent}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #a0d6ff;outline-offset:3px}::selection{background:#35638c;color:#fff}*{scrollbar-color:#294c68 transparent;scrollbar-width:thin}svg{stroke-width:1.6}h1,h2,h3{font-family:var(--sans);font-weight:750;letter-spacing:-.025em}button,summary{transition:background-color 140ms ease,border-color 140ms ease,color 140ms ease}button:active:not(:disabled){transform:translateY(1px)}a{text-underline-offset:3px}
.shell{grid-template-columns:74px minmax(0,1fr)}.rail{width:74px;padding:22px 12px 20px;background:rgba(3,15,27,.96);border-right:1px solid #294661;backdrop-filter:blur(16px)}.brand{padding:0 0 32px;justify-content:center}.brand-r{width:40px;height:43px;border:0;box-shadow:none;background:transparent}.brand-r svg{width:36px;height:40px}.rail nav{display:grid;grid-template-columns:1fr;gap:12px}.rail nav button{display:grid;grid-template-columns:1fr;place-items:center;gap:0;width:48px;min-height:46px;padding:11px;border:1px solid transparent;border-radius:10px;color:#b9d2eb;background:transparent}.rail nav button>svg{width:22px;height:22px}.rail nav button>span,.rail-status span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;display:block}.rail nav em{display:none}.rail nav i{position:absolute;right:5px;top:5px;width:5px;height:5px}.rail nav button[aria-current=page]{color:var(--orange);border-color:#9b5b26;background:linear-gradient(145deg,rgba(255,150,45,.14),rgba(255,150,45,.035));box-shadow:none}.rail nav button:hover{color:#fff;background:#102338}.rail nav button:is(:hover,:focus-visible)>span{clip:auto;width:max-content;height:auto;left:57px;top:8px;margin:0;padding:8px 12px;overflow:visible;border:1px solid var(--line2);border-radius:7px;background:#0a1a2b;z-index:70;box-shadow:0 5px 18px #0005;font-size:12px;color:var(--ink)}.rail-status{justify-content:center;padding:15px 0 0}.rail-status>i{width:8px;height:8px}
main{--workspace-gutter:22px;padding:0 var(--workspace-gutter) 42px;min-width:0}.topbar{height:96px;min-height:96px;position:relative;isolation:isolate;background:transparent;backdrop-filter:none;border-bottom:0;gap:20px}.topbar:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#020b14 24%,rgba(2,11,20,.8) 54%,rgba(2,11,20,.23)),url('/assets/home-space/earth-poster.webp') right 32%/850px auto no-repeat;opacity:.86}.topbar h1{font-size:29px;line-height:1.15;letter-spacing:-.03em}.topbar p{font-size:12px;color:#b8cee8;margin-top:5px}.top-actions{font-family:var(--sans);font-size:10px;gap:10px}.top-actions #updated-at{color:#a6c2da}.icon-button{border-color:var(--line2);background:rgba(4,17,30,.84);border-radius:9px;color:#adc7df}.icon-button:hover{color:#fff;background:#102c46;border-color:#5081a8}.ticker{min-height:32px;background:rgba(3,14,24,.5);border-color:#162b3e}.ticker button{padding:0 16px;font:11px var(--sans);font-variant-numeric:tabular-nums;border-right-color:#172c40}.ticker b{font-weight:750}.view{padding-top:17px}.view.active{animation:none}.section-head h2,.vault-main h2{font-size:25px;letter-spacing:-.025em}.section-head p{font-size:12px;line-height:1.6;color:var(--muted)}
/* Signal inventory remains available in three modes, with a quieter footprint. */
.bastion{border:1px solid #294861;border-radius:11px;background:linear-gradient(100deg,rgba(6,26,43,.94),rgba(4,18,31,.95));overflow:hidden}.bastion .section-head{padding:12px 16px;align-items:center;border-bottom-color:var(--line)}.bastion .section-head h2{font-size:16px;color:#e8f3ff;letter-spacing:-.015em}.bastion .section-head p{font-size:10px;margin-top:3px;color:#91adc8}
/* Strong actions share one warm accent; prices and first-launch badges retain semantics. */
.primary{background:linear-gradient(120deg,#ffab42,#ff922c);color:#1b1006;border-color:#ffaf55;box-shadow:none;font-weight:800}.primary:hover{background:#ffb45b;border-color:#ffbc6d;color:#140b03}.secondary{border-color:var(--line2);background:rgba(5,20,35,.6);color:#c3d9ee}.secondary:hover{background:#102c45;border-color:#49779b;color:#fff}.positive{color:var(--green)}.negative{color:var(--red)}input:not([type=range]):not([type=checkbox]),select{border-color:#2a4b65;background-color:#061525;color:#e3f0ff;border-radius:8px}input::placeholder{color:#8fabc6;opacity:1}.search{background:#071a2d;border-color:#2a4b65}.search input{background:transparent!important}.search svg{color:#9fbed8}input[type=range],input[type=checkbox]{accent-color:var(--orange)}
/* Holdings, tools and wallet use the same readable dark surfaces as the terminal. */
.positions-list{border:1px solid var(--line2);border-radius:12px;overflow:hidden;background:rgba(4,18,31,.8)}.position-identity b{font-size:14px}.position-identity small{font-size:11px}.token-candle-panel{border-radius:10px;border-color:var(--line);background:#041322;overflow:hidden}.candle-toolbar{background:rgba(11,32,51,.6);color:#acc8e2}.candle-toolbar button[aria-pressed=true]{background:#1a436b;color:#eef7ff}.candle.up{color:var(--green)}.candle.down{color:var(--red)}.candle-coverage{font-size:10px;color:#8faec8}.vault-layout{border:1px solid var(--line2);border-radius:14px;overflow:hidden;background:radial-gradient(ellipse at 14% 10%,#102c46,transparent 55%),#041322}.vault-main{padding:44px;min-width:0}.vault-main h2{font-size:34px}.vault-main>p{font-size:13px;line-height:1.7}.vault-art{margin-bottom:24px}.vault-art span{background:rgba(174,209,239,.08);border:1px solid #3b5872;box-shadow:none}.vault-note{background:rgba(4,15,28,.68);border-color:var(--line2)}.vault-note li{padding:22px 0}.vault-main dd{font-size:12px}.vault-main input{background:#04101e}
dialog{border:1px solid #365c7b;background:#041523;border-radius:14px;box-shadow:0 24px 80px #0009}dialog::backdrop{background:#000812b8;backdrop-filter:blur(8px)}dialog[open]{animation:observatory-dialog-in 180ms var(--ease-out)}dialog>header{padding:20px 24px;background:#081e32}dialog>header>div>span{display:none}dialog h2{margin:0;font-size:24px}.notice{background:#0a2238;border-color:#486d8b;box-shadow:0 12px 40px #0007;line-height:1.6}
/* Companion remains reachable across routes; history stays in its drawer. */
.pulse-alerts{top:auto;bottom:22px;right:22px}.pulse-alerts .alert-dock>summary{background:#092035f5;border-color:#335779;border-radius:12px;box-shadow:0 8px 22px #0005}.pulse-alerts[data-sound=on] .alert-dock>summary{color:#9fd9ff;border-color:#427aa4;background:#0b263ef5}.alert-drawer{position:absolute;bottom:64px;right:0;margin:0;background:#06192bf5;border-color:#355b7a;max-height:min(640px,calc(100dvh - 140px));border-radius:12px}.alert-live-rail{position:absolute;right:0;bottom:66px;margin:0;width:260px}.pulse-alert-event{background:#0b2942;border-color:#315475}.pulse-alert-event.is-fire{box-shadow:none;background:#2b2017;border-color:#b97636}.pulse-alert-event.is-drop{box-shadow:none;background:#2b1727;border-color:#a94c69}.alert-controls button,.alert-threshold input{background:#102c46;border-color:#355777}.pulse-alerts .bell-body{animation:none}.alert-live-card{animation:observatory-toast-in 160ms var(--ease-out)}.alert-dismiss{color:#d2e5f8}.alert-live-card>.alert-dismiss:hover{background:#32516b}.alert-live-rail .pulse-alert-event{background-color:#0a2034f5;box-shadow:0 8px 24px #0006}
@keyframes observatory-dialog-in{from{opacity:.6;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes observatory-toast-in{from{opacity:.65;transform:translateX(8px)}to{opacity:1;transform:translateX(0)}}
@media(min-width:1600px){main{--workspace-gutter:26px}}
@media(max-width:1100px) and (min-width:761px){.topbar h1{font-size:25px}.topbar p{max-width:42ch}.top-actions #updated-at{display:none}.vault-main{padding:30px}}
@media(max-width:760px){body{padding-bottom:calc(76px + env(safe-area-inset-bottom))}.shell{display:block}.rail{inset:auto 0 0;width:100%;height:calc(72px + env(safe-area-inset-bottom));min-height:0;padding:7px 8px calc(7px + env(safe-area-inset-bottom));border:0;border-top:1px solid #2b4b65;background:rgba(3,16,29,.98)}.brand,.rail-status{display:none}.rail nav{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none}.rail nav button{display:flex;flex-direction:column;justify-content:center;gap:5px;width:auto;min-width:65px;min-height:54px;padding:6px 7px;flex:1 0 65px;font-size:9px}.rail nav button>span,.rail nav button:is(:hover,:focus-visible)>span{position:static;clip:auto;width:auto;height:auto;padding:0;margin:0;background:none;box-shadow:none;border:0;color:inherit;font-size:9px;overflow:visible}.rail nav button>svg{width:20px;height:20px}.rail nav button[aria-current=page]{box-shadow:none}.rail nav i{right:12px;top:5px}main{--workspace-gutter:13px;padding-bottom:30px}.topbar{height:83px;min-height:83px;gap:10px}.topbar:before{background-position:right 31%;background-size:auto,600px auto;opacity:.54}.topbar h1{font-size:23px}.topbar p{display:block;font-size:10px;max-width:27ch}.top-actions{gap:6px}.top-actions #updated-at{display:none}.top-actions .icon-button{width:35px;height:35px}.ticker{min-height:30px;margin-inline:0}.ticker button{font-size:10px;padding-inline:12px}.view{padding-top:12px}.bastion .section-head{display:flex;align-items:flex-start;gap:10px;padding:12px}.bastion .section-head h2{font-size:14px}.bastion .section-head p{max-width:26ch;font-size:10px}.vault-main{padding:25px 19px}.vault-main h2{font-size:30px}.vault-note{padding:25px 19px}.pulse-alerts{top:auto;bottom:calc(84px + env(safe-area-inset-bottom));right:12px}.pulse-alerts .alert-dock>summary{min-height:46px;padding:3px 9px 3px 3px}.companion-bell{width:37px;height:37px}.companion-copy{min-width:62px}.alert-drawer{bottom:57px;width:320px;max-height:calc(100dvh - 225px)}.alert-live-rail{bottom:56px;width:230px;max-height:250px}.alert-live-card>.alert-dismiss{width:30px;height:30px}.alert-live-card>.pulse-alert-event{padding-right:33px}.notice{bottom:calc(146px + env(safe-area-inset-bottom));right:12px;width:calc(100vw - 24px)}dialog{max-height:calc(100dvh - 34px);width:calc(100vw - 20px)}dialog>header{padding:17px}.vault-main input{font-size:16px}.section-head h2{font-size:23px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}button:active:not(:disabled){transform:none}}

.reference-top-nav{display:flex;align-items:stretch;align-self:center;gap:0;border:1px solid #2e4f6c;border-radius:11px;background:rgba(3,17,31,.88);margin-left:auto;height:46px;flex-shrink:0;overflow:hidden}.reference-top-nav button{position:relative;display:flex;align-items:center;justify-content:center;gap:9px;min-width:106px;padding:0 16px;border:0;background:transparent;color:#b9d3ec;font-size:12px;font-weight:650}.reference-top-nav button svg{width:18px;height:18px}.reference-top-nav button:hover{background:#102b44;color:#fff}.reference-top-nav button[aria-pressed=true],.reference-top-nav button[aria-current=page]{color:var(--orange);background:linear-gradient(180deg,rgba(255,150,45,.025),rgba(255,150,45,.06))}.reference-top-nav button[aria-pressed=true]:after,.reference-top-nav button[aria-current=page]:after{content:'';position:absolute;bottom:0;left:8px;right:8px;height:2px;background:var(--orange);border-radius:2px}.topbar:has(.reference-top-nav) .top-actions{margin-left:12px}@media(max-width:1240px) and (min-width:761px){.topbar:has(.reference-top-nav) p{max-width:30ch;font-size:11px}.reference-top-nav button{min-width:84px;padding:0 10px;font-size:11px}.topbar:has(.reference-top-nav) .top-actions{margin-left:0}.topbar:has(.reference-top-nav) #updated-at{display:none}}@media(max-width:960px) and (min-width:761px){.reference-top-nav button{min-width:74px;padding:0 8px;font-size:10px}.reference-top-nav button svg{display:none}.topbar:has(.reference-top-nav) p{display:none}.topbar:has(.reference-top-nav) h1{font-size:22px}}@media(max-width:760px){.topbar:has(.reference-top-nav){height:126px;min-height:126px;flex-wrap:wrap;align-content:center;gap:12px 8px;padding-bottom:8px}.reference-top-nav{order:3;width:100%;height:36px;margin:0;border-radius:8px}.reference-top-nav button{min-width:0;flex:1;padding:0 10px;font-size:11px;gap:7px}.reference-top-nav button svg{width:15px;height:15px}.topbar:has(.reference-top-nav) .top-actions{margin-left:auto}.topbar:has(.reference-top-nav)>div:first-child{flex:1}}

/* Bastion is a compact signal strip; the table remains the dominant workspace. */
.bastion .section-head{padding:10px 14px}.bastion .section-head p{display:none}.bastion .empty{padding:18px;grid-column:1/-1;font-size:11px}
@media(max-width:760px){.bastion .section-head{padding:10px 12px;align-items:center}}
@media(min-width:761px){body>.pulse-alerts{top:84px;bottom:auto;right:22px}body>.pulse-alerts .alert-drawer{top:64px;bottom:auto}body>.pulse-alerts .alert-live-rail{top:66px;bottom:auto}}

/* /pulse-reference.css */
/* Market Pulse: dense discovery table, selected research alongside. */
.pulse-reference{--terminal-accent:#ff9c36;margin:0;min-width:0;border:1px solid #244259;border-radius:12px;background:#031320eb;overflow:visible;color:#dceaff;font-size:12px;display:flex;flex-direction:column}
.pulse-reference .terminal-mobile-tabs{display:flex;order:-3;margin:0;padding:0 14px;border-bottom:1px solid #203b52;gap:20px}
.pulse-reference .terminal-mobile-tabs button{position:relative;flex:1;border:0;border-radius:0;background:none!important;min-height:55px;padding:14px 5px;color:#a9c2dd;font-size:14px;font-weight:650;white-space:nowrap}
.pulse-reference .terminal-mobile-tabs button[aria-pressed=true]{color:#f4f8ff}.pulse-reference .terminal-mobile-tabs button[aria-pressed=true]:after{content:'';position:absolute;height:3px;bottom:-1px;left:8px;right:8px;background:#ff9b36;border-radius:3px 3px 0 0}
.pulse-reference [data-tab-count]{font-size:10px;padding:3px 5px;margin-left:5px;background:#162c41;color:#b5cce0;border-radius:4px;font-weight:500}
.pulse-reference .terminal-toolbar{order:-2;padding:13px 14px 8px;gap:9px;flex-wrap:wrap}.pulse-reference .terminal-source{display:flex;flex:1;flex-wrap:nowrap;gap:8px}.pulse-reference .terminal-source input{order:-1;min-width:100px;flex:1;width:180px;min-height:36px}.pulse-reference .terminal-source label{font-size:0}.pulse-reference .terminal-source select{font-size:11px;width:125px;min-height:36px}.pulse-reference .terminal-toolbar-actions{gap:5px}.pulse-reference .terminal-toolbar-actions>button,.pulse-reference .terminal-toolbar-actions summary{font-size:10px;min-height:32px}.pulse-reference .terminal-health{order:-1;padding:0 14px 10px;font-size:10px;line-height:1.5;color:#91b3cc}
.pulse-reference .terminal-columns{display:block}.pulse-reference .terminal-lane{display:none;border:0;border-radius:0;background:none}.pulse-reference .terminal-lane.mobile-selected{display:block}.pulse-reference .terminal-lane>header{padding:8px 14px;border-top:1px solid #183248;justify-content:space-between;gap:8px}.pulse-reference .terminal-lane>header>div:first-child{display:none}.pulse-reference .terminal-lane header input[type=search]{width:150px;font-size:11px;min-height:31px}.pulse-reference .terminal-lane-note{font-size:10px;min-height:0;padding:0 14px 8px;color:#9ab9d0}
.pulse-reference .terminal-table-head,.pulse-reference .terminal-token{display:grid;grid-template-columns:minmax(170px,1fr) 38px 77px 60px 68px 61px 66px;gap:9px;align-items:center}.pulse-reference .terminal-table-head{padding:10px 14px;color:#9ebdd8;font-size:10px;border-block:1px solid #173147;background:#081b2b}.pulse-reference .terminal-table-head>span:not(:first-child){text-align:right}.pulse-reference .terminal-rows{height:calc(100vh - 410px);min-height:365px;max-height:900px;overflow:auto;scrollbar-width:thin;scrollbar-color:#34546b #061624;overscroll-behavior:contain}
.pulse-reference .terminal-token,.pulse-reference.terminal-compact .terminal-token{padding:12px 14px;border-bottom:1px solid #1b3448;background:transparent;transition:background-color 140ms ease-out;cursor:pointer;min-height:103px}.pulse-reference:not(.terminal-compact) .terminal-token{padding-block:18px}.pulse-reference .terminal-token:hover{background:#10283e}.pulse-reference .terminal-token.terminal-selected{background:linear-gradient(100deg,#143351,#102944);box-shadow:inset 0 0 0 1px #4d8dc4;border-radius:6px}.pulse-reference .terminal-token.terminal-alert-hot{background:linear-gradient(95deg,#452917c9,#1d2028);border-left:0;box-shadow:inset 2px 0 #f69842}.pulse-reference .terminal-token.terminal-alert-drop{background:linear-gradient(95deg,#3f2030cc,#1b202a);border-left:0;box-shadow:inset 2px 0 #e0647b}.pulse-reference .terminal-token.terminal-selected.terminal-alert-hot{box-shadow:inset 0 0 0 1px #f69842}
.pulse-reference .terminal-token-main{display:flex;gap:9px;align-items:center;min-width:0}.pulse-reference .terminal-artwork{flex:0 0 43px;align-self:flex-start}.pulse-reference .terminal-artwork button{width:43px;height:43px;border-radius:11px;border-color:#3b5e7a}.pulse-reference .terminal-artwork button:hover img{transform:none}.pulse-reference .terminal-identity{flex:1}.pulse-reference .terminal-name{gap:4px;flex-wrap:nowrap}.pulse-reference .terminal-name>button:first-child{font-size:12px;font-weight:720}.pulse-reference .terminal-name button:not(:first-child){flex-shrink:0}.pulse-reference .terminal-contract{font-size:10px;color:#98b6cf;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:170px;margin-top:3px}.pulse-reference .terminal-socials{font-size:9px;gap:4px;margin-top:5px;flex-wrap:wrap}.pulse-reference .terminal-socials svg{width:11px;height:11px}.pulse-reference .developer-launch-count{padding:2px 4px;font-size:9px;line-height:1.2;border-radius:4px;white-space:nowrap;background:#13293d;border-color:#2a4a60;color:#a8c6df}.pulse-reference .developer-launch-count.developer-first-launch{color:#9ef2c8;background:#14382d;border-color:#378462;box-shadow:0 0 7px #32c47825}.pulse-reference .developer-first-launch b{color:#6defab}.pulse-reference .terminal-row-actions{margin-top:5px;gap:4px}.pulse-reference .terminal-row-actions a,.pulse-reference .terminal-row-actions button{font-size:9px;min-height:21px;padding:2px 4px}.pulse-reference .terminal-row-actions .terminal-nearly-link{background:transparent;border:0;color:#9fcbe7}.pulse-reference .terminal-row-actions svg{width:12px;height:12px}
.pulse-reference .terminal-values{grid-column:auto;display:block;font-size:10px}.pulse-reference .terminal-values>.terminal-buy-controls:not(.terminal-flow){width:66px;display:grid;margin:0;gap:4px!important}.pulse-reference .terminal-buy-controls>.terminal-buy{background:#ff9d3b;color:#19120b;border:0;border-radius:7px;font-size:11px;min-height:29px;font-weight:750;padding:5px 2px}.pulse-reference .terminal-buy-controls>.terminal-buy:hover{background:#ffb35f;color:#17110b}.pulse-reference .terminal-quick-presets>button{border-color:#36546e;color:#c4d9ec;background:#0b2033;min-height:24px;padding:3px 0;font-size:10px}.pulse-reference .terminal-expanded-research{display:none;grid-column:1/-1;padding-left:52px;color:#9eb9d0;font-size:10px}.pulse-reference.terminal-table .terminal-expanded-research{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.pulse-reference .terminal-expanded-research .terminal-chips{margin:0}.pulse-reference .terminal-footnote{padding:12px 14px;color:#8eaec8;font-size:10px;line-height:1.6;border-top:1px solid #1d354a}.pulse-reference .terminal-more{background:#0e253b;border-color:#31516b;color:#bad0e7}.pulse-reference button:focus-visible,.pulse-reference summary:focus-visible,.pulse-reference a:focus-visible{outline:2px solid #ffac57;outline-offset:3px}.pulse-reference button:active{transform:translateY(1px)}.pulse-reference input{caret-color:#ffab52}.pulse-reference ::selection{background:#a76b30;color:#fff}
@media(max-width:1200px) and (min-width:761px){.pulse-reference .terminal-table-head,.pulse-reference .terminal-token{grid-template-columns:minmax(170px,1fr) 40px 78px 62px 74px 65px 66px;gap:8px}.pulse-reference .terminal-values{grid-column:auto;display:block}.pulse-reference .terminal-token-main{min-width:0}}
@media(max-width:760px){.pulse-reference{border-radius:10px}.pulse-reference .terminal-mobile-tabs{gap:5px;padding:0 8px}.pulse-reference .terminal-mobile-tabs button{font-size:11px;min-height:46px;padding-inline:0}.pulse-reference [data-tab-count]{font-size:9px;margin-left:2px;padding:2px 3px}.pulse-reference .terminal-toolbar{padding:10px}.pulse-reference .terminal-source{width:100%;display:flex}.pulse-reference .terminal-source input{width:100px}.pulse-reference .terminal-source select{width:115px}.pulse-reference .terminal-toolbar-actions{margin-top:0}.pulse-reference .terminal-health{padding-inline:10px}.pulse-reference .terminal-table-head{display:none}.pulse-reference .terminal-token,.pulse-reference.terminal-table .terminal-token{grid-template-columns:minmax(0,1fr) 67px;gap:5px 8px;padding:12px 10px}.pulse-reference .terminal-token-main{grid-row:1/5}.pulse-reference .terminal-artwork{flex-basis:42px}.pulse-reference .terminal-artwork button{width:42px;height:42px}.pulse-reference .terminal-values{grid-column:2;grid-row:5}.pulse-reference .terminal-token-main{align-self:start}.pulse-reference .terminal-row-actions{flex-wrap:wrap}.pulse-reference .terminal-rows{height:auto;min-height:200px;max-height:65vh;overflow:auto}.pulse-reference .terminal-contract{max-width:145px}.pulse-reference .terminal-expanded-research{padding:0}.pulse-reference .terminal-lane>header{padding:8px 10px}.pulse-reference .terminal-lane header input[type=search]{width:110px}.pulse-reference .terminal-column-filter>div{position:fixed;right:12px;left:12px;top:180px;width:auto;max-height:60vh;overflow:auto}.pulse-reference .terminal-table .terminal-lane{margin:0}}
@media(prefers-reduced-motion:reduce){.pulse-reference .terminal-token{transition:none}.pulse-reference button:active{transform:none}}

.pulse-reference .terminal-token.terminal-first-match{background:linear-gradient(100deg,#123d2ddd,#07281ee8)!important;border-color:#3fbe83;box-shadow:inset 0 0 24px #35d48712}.pulse-reference .terminal-first-match .terminal-name>button:first-child{color:#8ff0bb}.pulse-reference .terminal-first-match.terminal-selected{outline:1px solid #77e8b1;outline-offset:-1px}.pulse-reference .terminal-first-match.terminal-alert-drop{outline:1px solid #f46b7e;outline-offset:-1px}


/* Compact market rows: common metric columns, inline evidence, one-click actions. */
.pulse-reference .terminal-table-head,.pulse-reference .terminal-market-row,.pulse-reference.terminal-compact .terminal-market-row,.pulse-reference.terminal-table .terminal-market-row{grid-template-columns:minmax(205px,1fr) 82px 60px 68px 64px 48px 76px;gap:7px}
.pulse-reference .terminal-table-head{display:grid;font-size:10px;padding:10px 13px}.pulse-reference .terminal-rows{padding:0;container-type:inline-size;background:#061523}.pulse-reference .terminal-market-row,.pulse-reference.terminal-compact .terminal-market-row{padding:12px 13px 9px;min-height:98px;margin:0;clip-path:none;border:0;border-bottom:1px solid #20394d;border-radius:0;background:#071724;align-items:center;box-shadow:none}.pulse-reference .terminal-market-row.terminal-selected{background:linear-gradient(90deg,#29302f80,#0b2135);box-shadow:inset 2px 0 #ff9c37;border-radius:0}.pulse-reference .terminal-market-row.terminal-first-match{background:linear-gradient(100deg,#103a2bc7,#0a2530);box-shadow:inset 2px 0 #4bce8d}.pulse-reference .terminal-market-row.terminal-alert-hot{background:linear-gradient(90deg,#422914bb,#101d2a);box-shadow:inset 2px 0 #ffa143}.pulse-reference .terminal-market-row.terminal-alert-drop{background:linear-gradient(90deg,#3c2130bb,#101d2a);box-shadow:inset 2px 0 #ed7890}
.pulse-reference .terminal-market-row .terminal-token-main{grid-column:1;grid-row:1;gap:10px;align-items:center}.pulse-reference .terminal-market-row .terminal-artwork{flex:0 0 50px;align-self:center}.pulse-reference .terminal-market-row .terminal-artwork button{width:50px;height:50px;border:1px solid #3e6179;border-radius:10px}.pulse-reference .terminal-market-row .terminal-name>button:first-child{font-size:13px}.pulse-reference .terminal-market-row .terminal-contract{max-width:170px;font-size:9px;color:#98b6cc}.pulse-reference .ticket-origin{display:flex;gap:8px;font-size:10px;color:#b2c9dc;margin-top:6px}.pulse-reference .ticket-origin>span+span{border-left:1px solid #345163;padding-left:8px}
.pulse-reference .ticket-market,.pulse-reference .ticket-price-box,.pulse-reference .ticket-stats{display:contents}.pulse-reference .ticket-price-box>span,.pulse-reference .ticket-stats>span{grid-row:1;min-width:0;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.pulse-reference .ticket-price-box>span:first-child{grid-column:2}.pulse-reference .ticket-price-box>span:last-child{grid-column:3}.pulse-reference .ticket-stats>span:nth-child(1){grid-column:4}.pulse-reference .ticket-stats>span:nth-child(2){grid-column:5}.pulse-reference .ticket-stats>span:nth-child(3){grid-column:6}.pulse-reference .ticket-market small{display:none}.pulse-reference .ticket-market b{font-size:11px;font-weight:600;color:#dfedf8}.pulse-reference .ticket-market .positive b{color:#51dfae}.pulse-reference .ticket-market .negative b{color:#ff8291}
.pulse-reference .terminal-market-row .ticket-order{grid-column:7;grid-row:1/3;align-self:center;display:block;border:0;margin:0;padding:0;min-width:0}.pulse-reference .terminal-market-row .terminal-values>.terminal-buy-controls:not(.terminal-flow){display:flex;flex-direction:column;width:76px;gap:5px!important;margin:0}.pulse-reference .terminal-market-row .terminal-buy-controls>.terminal-buy{order:-1;background:#ff9c38!important;color:#1d1409!important;min-height:31px;border-radius:6px;display:flex;align-items:center;justify-content:center;gap:3px;font-size:11px;font-weight:750;border:1px solid #ffb264!important;width:100%;padding:5px 3px}.pulse-reference .terminal-market-row .terminal-buy svg{width:11px;height:11px;stroke:currentColor;fill:none}.pulse-reference .terminal-market-row .terminal-quick-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px!important}.pulse-reference .terminal-market-row .terminal-quick-presets>button{padding:3px 0;font-size:9px;min-height:22px;border-radius:4px}.pulse-reference .terminal-market-row .terminal-quick-presets .ticket-preset-active{border-color:#f3a148;color:#ffbd70}
.pulse-reference .ticket-footer{grid-row:2;grid-column:1/7;display:flex;align-items:center;gap:8px;padding:0 0 0 60px;flex-wrap:wrap;min-width:0}.pulse-reference .ticket-footer>.developer-launch-count{padding:3px 5px;font-size:9px}.pulse-reference .ticket-footer .terminal-socials{margin:0;gap:5px;font-size:9px}.pulse-reference .ticket-footer .terminal-socials a{display:flex;align-items:center}.pulse-reference .ticket-footer .terminal-socials span{font-size:9px;color:#92b1c7}.pulse-reference .ticket-footer .terminal-socials .identity-match{color:#7fcca8}.pulse-reference .ticket-footer .terminal-socials .identity-mismatch{color:#e9a877}.pulse-reference .ticket-footer .terminal-row-actions{margin:0 0 0 auto;gap:3px}.pulse-reference .terminal-market-row .terminal-expanded-research{grid-column:1/7;grid-row:3;padding:5px 0 0 60px}
.pulse-reference .terminal-lane>header{justify-content:flex-end;padding:0 13px 7px;border:0}.pulse-reference .terminal-lane header [data-query],.pulse-reference .terminal-lane-note,.pulse-reference .terminal-footnote{display:none}.pulse-reference .terminal-health{padding-bottom:7px;font-size:9px}.pulse-reference .terminal-toolbar{padding-bottom:7px}.pulse-reference .terminal-source{min-width:220px}.pulse-reference .terminal-toolbar-actions{gap:4px}
@container(max-width:700px){.pulse-reference .terminal-market-row,.pulse-reference.terminal-compact .terminal-market-row,.pulse-reference.terminal-table .terminal-market-row{grid-template-columns:minmax(155px,1fr) 70px 58px 70px;gap:8px}.pulse-reference .terminal-market-row .terminal-token-main{grid-column:1;grid-row:1/3;align-self:center}.pulse-reference .terminal-market-row .ticket-price-box>span:first-child{grid-column:2;grid-row:1}.pulse-reference .terminal-market-row .ticket-price-box>span:last-child{grid-column:3;grid-row:1}.pulse-reference .terminal-market-row .ticket-stats>span:nth-child(1){grid-column:2;grid-row:2}.pulse-reference .terminal-market-row .ticket-stats>span:nth-child(2){grid-column:3;grid-row:2}.pulse-reference .terminal-market-row .ticket-stats>span:nth-child(3){display:none}.pulse-reference .terminal-market-row .ticket-order{grid-column:4;grid-row:1/3}.pulse-reference .terminal-market-row .ticket-market small{display:block;font-size:8px;color:#8da9bc;margin-bottom:3px}.pulse-reference .terminal-market-row .ticket-footer{grid-column:1/-1;grid-row:3;padding:0}.pulse-reference .terminal-market-row .terminal-expanded-research{grid-column:1/-1;grid-row:4;padding:0}}
@media(max-width:760px){.pulse-reference .terminal-table-head{display:none}.pulse-reference .terminal-market-row,.pulse-reference.terminal-compact .terminal-market-row,.pulse-reference.terminal-table .terminal-market-row{grid-template-columns:minmax(0,1fr) 60px 66px;gap:8px;padding:12px 10px}.pulse-reference .terminal-market-row .terminal-token-main{grid-column:1/3;grid-row:1}.pulse-reference .terminal-market-row .terminal-artwork{flex-basis:44px}.pulse-reference .terminal-market-row .terminal-artwork button{width:44px;height:44px}.pulse-reference .terminal-market-row .ticket-order{grid-column:3;grid-row:1/3}.pulse-reference .terminal-market-row .terminal-values>.terminal-buy-controls:not(.terminal-flow){width:66px}.pulse-reference .terminal-market-row .ticket-price-box>span:first-child{grid-column:1;grid-row:2;text-align:left}.pulse-reference .terminal-market-row .ticket-price-box>span:last-child{grid-column:2;grid-row:2}.pulse-reference .terminal-market-row .ticket-stats>span:nth-child(1){grid-column:1;grid-row:3;text-align:left}.pulse-reference .terminal-market-row .ticket-stats>span:nth-child(2){grid-column:2;grid-row:3}.pulse-reference .terminal-market-row .ticket-stats>span:nth-child(3){display:block;grid-column:3;grid-row:3}.pulse-reference .terminal-market-row .ticket-footer{grid-column:1/-1;grid-row:4;padding:5px 0 0;border-top:1px solid #1d3546}.pulse-reference .terminal-market-row .terminal-expanded-research{grid-row:5}.pulse-reference .terminal-market-row .terminal-contract{max-width:175px}.pulse-reference .ticket-footer .terminal-row-actions{margin-left:0}}

/* Readable operational density: reflow below the wide comparison layout. */
.pulse-reference .terminal-mobile-tabs button{min-height:44px;padding-block:10px;font-size:14px}.pulse-reference .terminal-workspace{font-size:13px}.pulse-reference .terminal-table-head,.pulse-reference .terminal-health,.pulse-reference [data-tab-count],.pulse-reference .terminal-socials,.pulse-reference .terminal-contract,.pulse-reference .ticket-origin,.pulse-reference .ticket-footer .terminal-socials span,.pulse-reference .ticket-footer .terminal-row-actions button,.pulse-reference .ticket-footer .terminal-row-actions a,.pulse-reference .ticket-footer>.developer-launch-count,.pulse-reference .terminal-expanded-research,.pulse-reference .terminal-expanded-research button,.pulse-reference .terminal-chips,.pulse-reference .terminal-workspace small{font-size:11px!important;line-height:16px}.pulse-reference .terminal-market-row .terminal-name>button:first-child{font-size:16px;line-height:20px}.pulse-reference .ticket-market b{font-size:14px;line-height:20px}.pulse-reference .terminal-toolbar button,.pulse-reference .terminal-toolbar summary,.pulse-reference .terminal-toolbar select,.pulse-reference .terminal-toolbar input{font-size:12px;line-height:18px}.pulse-reference .terminal-toolbar input,.pulse-reference .terminal-toolbar select{min-height:36px}.pulse-reference .terminal-market-row .terminal-quick-presets>button{font-size:11px;line-height:16px}.pulse-reference .terminal-market-row .terminal-buy-controls>.terminal-buy{font-size:12px;min-height:36px}.pulse-reference .terminal-market-row .terminal-artwork{flex-basis:44px}.pulse-reference .terminal-market-row .terminal-artwork button{width:44px;height:44px}.pulse-reference .terminal-market-row{min-height:108px;padding-block:12px}.pulse-reference.terminal-compact .terminal-market-row{min-height:86px;padding-block:7px}.pulse-reference .terminal-market-row:focus-visible,.pulse-reference .ticket-market b:focus-visible{outline:2px solid #ffb34c;outline-offset:-2px}.pulse-reference .terminal-active-filters:empty{display:none}.pulse-reference .terminal-active-filters{display:flex;gap:8px;align-items:center;padding:7px 13px;font-size:11px;color:#c3d5e5;background:#122637}.pulse-reference .terminal-active-filters button{font-size:11px;padding:4px 8px;margin-left:auto}.pulse-reference .terminal-market-row .ticket-footer{padding-left:54px;gap:6px}.pulse-reference .terminal-health{color:#abc2d4}.pulse-reference .ticket-market .neutral b{color:#c1d2e1}
@container(min-width:850px){.pulse-reference .terminal-market-row,.pulse-reference.terminal-compact .terminal-market-row,.pulse-reference.terminal-table .terminal-market-row{grid-template-columns:minmax(200px,1.6fr) minmax(115px,1fr) 73px 85px 78px 61px 88px;gap:10px}.pulse-reference .terminal-market-row .terminal-values>.terminal-buy-controls:not(.terminal-flow){width:88px}}
@container(max-width:849px) and (min-width:601px){.pulse-reference .terminal-market-row,.pulse-reference.terminal-compact .terminal-market-row,.pulse-reference.terminal-table .terminal-market-row{grid-template-columns:minmax(185px,1fr) 116px 84px 88px;gap:6px 12px}.pulse-reference .terminal-market-row .terminal-token-main{grid-column:1;grid-row:1/3}.pulse-reference .terminal-market-row .ticket-price-box>span:first-child{grid-column:2;grid-row:1}.pulse-reference .terminal-market-row .ticket-price-box>span:last-child{grid-column:3;grid-row:1}.pulse-reference .terminal-market-row .ticket-stats>span:nth-child(1){grid-column:2;grid-row:2}.pulse-reference .terminal-market-row .ticket-stats>span:nth-child(2){grid-column:3;grid-row:2}.pulse-reference .terminal-market-row .ticket-stats>span:nth-child(3){display:none}.pulse-reference .terminal-market-row .ticket-order{grid-column:4;grid-row:1/3}.pulse-reference .terminal-market-row .ticket-footer{grid-column:1/-1;grid-row:3;padding-left:0}.pulse-reference .terminal-market-row .ticket-market small{display:block;font-size:11px;line-height:16px;color:#a8bfd1}.pulse-reference .terminal-market-row .terminal-expanded-research{grid-row:4;grid-column:1/-1;padding-left:0}}
@media(max-width:760px){.pulse-reference .terminal-market-row .terminal-name>button:first-child{font-size:16px}.pulse-reference .terminal-market-row .ticket-price-box b,.pulse-reference .terminal-market-row .ticket-stats b{font-size:14px}.pulse-reference .terminal-market-row .ticket-market small{font-size:11px!important;line-height:16px}.pulse-reference .terminal-market-row .ticket-footer{padding-left:0}.pulse-reference .terminal-row-actions button,.pulse-reference .terminal-row-actions a,.pulse-reference .terminal-market-row .terminal-quick-presets>button,.pulse-reference .terminal-market-row .terminal-buy-controls>.terminal-buy{min-height:44px}.pulse-reference .terminal-toolbar-actions>button,.pulse-reference .terminal-toolbar-actions summary{min-height:40px}.pulse-reference .ticket-footer .terminal-socials a{min-height:32px;min-width:26px;justify-content:center}.pulse-reference .terminal-market-row{min-height:0}.pulse-reference .terminal-market-row .terminal-contract{max-width:160px}}

.pulse-reference .terminal-toolbar{display:grid;grid-template-columns:minmax(280px,1fr) auto auto;align-items:center;gap:5px 7px;padding:8px 12px 5px}.pulse-reference .terminal-source{min-width:0}.pulse-reference .terminal-source input{min-height:32px!important}.pulse-reference .terminal-source select{min-height:32px!important}.pulse-reference .terminal-toolbar-actions{flex-wrap:nowrap}.pulse-reference .terminal-toolbar-actions>button,.pulse-reference .terminal-toolbar-actions>details>summary{min-height:30px;padding:5px 8px}.pulse-reference .terminal-toolbar-presets{display:flex;align-items:center;justify-content:flex-end;min-width:154px}.pulse-reference .terminal-toolbar-preset-group{display:flex;align-items:center;gap:4px}.pulse-reference .terminal-toolbar-preset-group[hidden]{display:none!important}.pulse-reference .terminal-toolbar-preset-group>button,.pulse-reference .terminal-toolbar-preset-group>details>summary{box-sizing:border-box;min-height:30px;padding:5px 7px;font-size:11px;line-height:18px}.pulse-reference .terminal-toolbar-preset-group>button small{margin-left:5px;color:#8f969c;font-size:10px;font-weight:600}.pulse-reference .terminal-toolbar-preset-group>button[aria-pressed=true] small{color:#ffcf96}.pulse-reference .terminal-toolbar-preset-group>button[aria-pressed=true]{color:#ffaf5c!important;border-color:#9d622d!important;background:#24170d!important}.pulse-reference .terminal-toolbar-preset-group .terminal-column-filter>div{top:34px}.pulse-reference .terminal-holder-filters{grid-column:1/-1;flex-basis:auto;padding:0;gap:3px}.pulse-reference .terminal-holder-filters button{min-height:27px;padding:3px 7px}.pulse-reference .terminal-health{padding:4px 12px 6px!important;line-height:1.25}.pulse-reference .terminal-lane>header{display:none!important}.pulse-reference .terminal-lane-note{display:none!important}.pulse-reference .terminal-table-head{border-top:1px solid #25282b}
@media(max-width:1050px) and (min-width:761px){.pulse-reference .terminal-toolbar{grid-template-columns:minmax(240px,1fr) auto}.pulse-reference .terminal-toolbar-presets{grid-column:2}.pulse-reference .terminal-toolbar-actions{grid-column:1/2;grid-row:2}.pulse-reference .terminal-holder-filters{grid-row:3}}
@media(max-width:760px){.pulse-reference .terminal-toolbar{display:grid;grid-template-columns:1fr;padding:9px 10px 6px}.pulse-reference .terminal-source,.pulse-reference .terminal-toolbar-actions,.pulse-reference .terminal-toolbar-presets{width:100%}.pulse-reference .terminal-toolbar-presets{justify-content:flex-start}.pulse-reference .terminal-toolbar-preset-group>button,.pulse-reference .terminal-toolbar-preset-group>details>summary{min-height:38px}.pulse-reference .terminal-holder-filters{margin-top:1px}.pulse-reference .terminal-holder-filters button{min-height:38px}.pulse-reference .terminal-toolbar-preset-group .terminal-column-filter>div{position:fixed;top:180px;right:12px;left:12px;width:auto;max-height:60vh;overflow:auto}}

.pulse-reference{container-type:inline-size}.pulse-reference .ticket-market b[title]{position:relative;cursor:help}.pulse-reference .ticket-market b[title]:focus-visible:after{content:attr(title);position:absolute;right:0;top:calc(100% + 4px);padding:5px 8px;border:1px solid #44627a;background:#142b3e;color:#edf3fa;border-radius:5px;font-size:12px;line-height:18px;z-index:15;white-space:nowrap}@container(max-width:849px){.pulse-reference .terminal-table-head{display:none}}

/* Header and rows must use the same container breakpoint and column tracks. */
.pulse-reference .terminal-rows{container-type:normal;scrollbar-gutter:stable}
.pulse-reference .terminal-table-head{overflow-y:scroll;scrollbar-width:thin;scrollbar-color:transparent transparent;column-gap:7px}
@container(min-width:850px){.pulse-reference .terminal-table-head{grid-template-columns:minmax(200px,1.6fr) minmax(115px,1fr) 73px 85px 78px 61px 88px;gap:10px}.pulse-reference .terminal-table-head>span:last-child{text-align:center}}

.pulse-reference .ticket-origin .terminal-momentum{color:#ffbc70;border:1px solid #a36a32;border-radius:4px;background:#a66a191a;padding:0 5px;font-size:11px}.pulse-reference .ticket-origin{flex-wrap:wrap}

/* Confirmed creator sales override momentum and identity treatments. */
.pulse-reference .terminal-token.terminal-dev-sold{position:relative;isolation:isolate;background:linear-gradient(105deg,#581425,#2d0c18 65%,#400d1c)!important;border-color:#bc304b!important;box-shadow:inset 0 0 0 1px #bb29494d!important}
.pulse-reference .terminal-token.terminal-dev-sold:before{content:'';display:block;position:absolute;inset:0 0 auto;width:100%;height:58px;border:0;border-radius:0;background:url('/assets/dev-sold-drips.svg') top/100% 58px no-repeat;transform:none;clip-path:none;pointer-events:none;z-index:-1;opacity:.9}
.pulse-reference .terminal-token.terminal-dev-sold .terminal-name>button:first-child{color:#fff0f1!important}
.pulse-reference .terminal-dev-sold .terminal-contract,.pulse-reference .terminal-dev-sold .ticket-origin{color:#e6b7c1}
.pulse-reference .terminal-dev-sold .ticket-footer{border-color:#863149}
.pulse-reference .terminal-dev-sold .developer-first-launch{background:#471522!important;border-color:#a64a60!important;color:#f1c7d0!important;box-shadow:none!important}
.pulse-reference .terminal-dev-sold-badge{display:inline-flex;align-items:center;padding:1px 6px;border:1px solid #ff7288;border-radius:4px;background:#a81432;color:#fff!important;font-size:10px;font-weight:800;line-height:16px;white-space:nowrap}
.pulse-reference .terminal-token.terminal-dev-buy{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(108deg,#082b2a 0%,#0b3d35 45%,#082722 100%)!important;border-color:#3cc89a!important;box-shadow:inset 0 0 0 1px #62f0be2b,0 0 24px #0b9c7130!important}.pulse-reference .terminal-token.terminal-dev-buy:before{content:'◆';position:absolute;left:7%;top:28%;z-index:-1;color:#7bffd1;font-size:9px;line-height:1;text-shadow:74px -20px 0 #37dda2,182px 18px 0 #8dffe0,318px -8px 0 #35c993,486px 24px 0 #83f7d0,650px -18px 0 #31bd8a,820px 13px 0 #9affdf;opacity:.62;filter:drop-shadow(0 0 5px #46efb8);pointer-events:none;animation:dev-buy-sapphires 5.8s ease-in-out infinite}.pulse-reference .terminal-token.terminal-dev-buy:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(112deg,transparent 20%,#72ffd013 39%,transparent 56%);background-size:220% 100%;pointer-events:none;animation:dev-buy-sheen 7s ease-in-out infinite}.pulse-reference .terminal-dev-buy .terminal-name>button:first-child{color:#baffdf!important;text-shadow:0 0 14px #54eeb34d}.pulse-reference .terminal-dev-buy .terminal-contract,.pulse-reference .terminal-dev-buy .ticket-origin{color:#b4ded1}.pulse-reference .terminal-dev-buy .ticket-footer{border-color:#27765f}.pulse-reference .terminal-dev-buy-badge{display:inline-flex;align-items:center;padding:1px 6px;border:1px solid #62e8b7;border-radius:4px;background:#0c5a45;color:#d9fff1!important;font-size:10px;font-weight:800;line-height:16px;white-space:nowrap;box-shadow:0 0 13px #37dfa33d}
@keyframes dev-buy-sapphires{0%,100%{transform:translate3d(-8px,9px,0) rotate(-7deg);opacity:.3}48%{transform:translate3d(18px,-8px,0) rotate(8deg);opacity:.8}}@keyframes dev-buy-sheen{0%,100%{background-position:100% 50%}50%{background-position:0 50%}}

/* Holographic foil: verified developer token burn / active non-revocable lock. */
.pulse-reference .terminal-token.terminal-supply-holo{position:relative;isolation:isolate;background:linear-gradient(112deg,#102d39,#252040 32%,#143934 64%,#242440)!important;border-color:#92dadd!important;box-shadow:inset 0 0 0 1px #c0f3ed35!important}
.pulse-reference .terminal-token.terminal-supply-holo:before{content:'';display:block;position:absolute;inset:0;border:0;border-radius:0;width:auto;height:auto;transform:none;clip-path:none;pointer-events:none;z-index:-1;background:linear-gradient(115deg,transparent 15%,#7efbe51f 27%,#bda2ff38 35%,#ffe3a32b 42%,#93ebff38 49%,transparent 62%);background-size:250% 100%;animation:supply-foil 9s ease-in-out infinite alternate}
.pulse-reference .terminal-supply-holo .terminal-name>button:first-child{color:#edfffc!important}.pulse-reference .terminal-supply-holo .terminal-contract,.pulse-reference .terminal-supply-holo .ticket-origin{color:#c5dfe6}
.pulse-reference .terminal-supply-badge{display:inline-flex;align-items:center;padding:1px 6px;border:1px solid #bce5ec;border-radius:4px;background:#213f50;color:#eafffd;font-size:10px;font-weight:800;line-height:16px;white-space:nowrap}
@keyframes supply-foil{from{background-position:100% 50%}to{background-position:0% 50%}}
@media(prefers-reduced-motion:reduce){.pulse-reference .terminal-token.terminal-supply-holo:before,.pulse-reference .terminal-token.terminal-dev-buy:before,.pulse-reference .terminal-token.terminal-dev-buy:after{animation:none}.pulse-reference .terminal-token.terminal-supply-holo:before{background-position:45% 50%}}
.pulse-reference .terminal-token.terminal-dev-rebuy{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(108deg,#1b0c30 0%,#3b1858 48%,#211039 100%)!important;border-color:#a96cf2!important;box-shadow:inset 0 0 0 1px #d6a7ff2e,0 0 25px #7b39c83d!important}.pulse-reference .terminal-token.terminal-dev-rebuy:before{content:'◆';position:absolute;left:7%;top:28%;z-index:-1;color:#e3b7ff;font-size:9px;line-height:1;text-shadow:74px -20px 0 #a66bea,182px 18px 0 #e7c0ff,318px -8px 0 #864bd1,486px 24px 0 #d59fff,650px -18px 0 #7437bd,820px 13px 0 #efcfff;opacity:.7;filter:drop-shadow(0 0 6px #b46ef4);pointer-events:none;animation:dev-buy-sapphires 5.8s ease-in-out infinite}.pulse-reference .terminal-token.terminal-dev-rebuy:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(112deg,transparent 20%,#dca8ff17 39%,transparent 56%);background-size:220% 100%;pointer-events:none;animation:dev-buy-sheen 7s ease-in-out infinite}.pulse-reference .terminal-dev-rebuy .terminal-name>button:first-child{color:#edceff!important;text-shadow:0 0 14px #bd7cff66}.pulse-reference .terminal-dev-rebuy .terminal-contract,.pulse-reference .terminal-dev-rebuy .ticket-origin{color:#cdb8df}.pulse-reference .terminal-dev-rebuy .ticket-footer{border-color:#6c438c}.pulse-reference .terminal-dev-rebuy .terminal-dev-buy-badge{border-color:#c68cff;background:#522477;color:#f3ddff!important;box-shadow:0 0 13px #a765eb52}
.pulse-reference .holder-tier{display:inline-grid;place-items:center;width:19px;height:19px;margin-left:5px;border:1px solid #3c6076;border-radius:50%;background:#0b2030;font-size:12px;line-height:1;vertical-align:-2px;filter:drop-shadow(0 1px 2px #0008)}

.pulse-loader{position:fixed;z-index:70;inset:106px 14px 14px 76px;display:grid;place-items:center;background:#030708db;backdrop-filter:blur(8px)}
.pulse-loader[hidden]{display:none}
.pulse-loader-track{height:2px;margin-top:14px;overflow:hidden;border-radius:2px;background:#28383a}.pulse-loader-track i{display:block;width:100%;height:100%;transform:scaleX(0);transform-origin:left;background:#a6e7d8}
@media(max-width:760px){.pulse-loader{inset:84px 10px calc(82px + env(safe-area-inset-bottom)) 10px}}
@media(prefers-reduced-motion:reduce){.pulse-loader{backdrop-filter:none}}
/* The loader is the video alone: no card behind it, the title sits on the footage. Progress stays for screen readers only. */
.pulse-loader-status{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;border:0!important}

/* Prominent project links beside identity. */
.pulse-reference .terminal-market-row .terminal-token-main{flex-wrap:wrap;column-gap:10px;row-gap:8px}
.pulse-reference .terminal-market-row .terminal-identity{flex:0 1 auto;min-width:0;max-width:calc(100% - 54px)}
.pulse-reference .terminal-project-links{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin-left:4px;max-width:100%}
.pulse-reference .terminal-project-links a{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:34px;min-height:34px;padding:6px 8px;border:1px solid #395a72;border-radius:6px;background:#102735;color:#d3e9f5;text-decoration:none;font-size:11px;font-weight:650;white-space:nowrap}
.pulse-reference .terminal-project-links a:hover{border-color:#88cce7;background:#1c394b;color:#fff}
.pulse-reference .terminal-project-links a:focus-visible{outline:2px solid #ffb34a;outline-offset:2px}
.pulse-reference .terminal-project-links svg{width:18px;height:18px;flex:none}
@container(max-width:1100px){.pulse-reference .terminal-project-links{margin-left:54px}.pulse-reference .terminal-project-links a{padding:6px}.pulse-reference .terminal-project-links a span{display:none}}
@media(max-width:760px){.pulse-reference .terminal-project-links a{min-width:40px;min-height:40px}}

.developer-evidence-popover{position:fixed;inset:auto;margin:0;width:min(328px,calc(100vw - 16px));padding:14px;border:1px solid #4e7590;border-radius:9px;background:#102536;color:#d7e7f2;box-shadow:0 12px 32px #0009;font:12px/1.6 Manrope,sans-serif;z-index:100}.developer-evidence-popover strong{font-size:13px;color:#fff}.developer-evidence-popover p{margin:8px 0 0;overflow-wrap:anywhere}.developer-evidence-popover::backdrop{background:transparent}.pulse-reference span.developer-launch-count{display:inline-flex;gap:3px;align-items:center;border:1px solid #2a4a60;cursor:default}

/* Crown stays directly below the artwork; metadata shares a compact footer. */
.pulse-reference .terminal-market-row .terminal-artwork{display:flex;flex-direction:column;align-items:center;gap:3px;flex:0 0 48px;align-self:start}.pulse-reference .terminal-market-row .terminal-artwork>.developer-launch-count{display:inline-flex;align-items:center;justify-content:center;gap:3px;width:48px;height:20px;min-height:20px;padding:0 2px;margin:0;border:1px solid #37556b;border-radius:4px;background:#112a3a;color:#b8d5e7;font:10px/18px inherit;white-space:nowrap}.pulse-reference .terminal-artwork .developer-launch-count svg{width:13px;height:13px;fill:#e8b95b;stroke:#e8b95b;stroke-width:1.4}.pulse-reference .terminal-artwork button.developer-launch-count{cursor:pointer}.pulse-reference .terminal-artwork .developer-first-launch{border-color:#3c936e;color:#90ecc2}.pulse-reference .terminal-market-row .terminal-token-main{row-gap:3px;align-items:flex-start}.pulse-reference .terminal-market-row,.pulse-reference.terminal-compact .terminal-market-row{min-height:0;padding-top:7px;padding-bottom:7px;row-gap:3px}.pulse-reference .terminal-market-row .ticket-footer{flex-wrap:nowrap;gap:8px;min-height:22px}.pulse-reference .ticket-footer .terminal-socials{flex-wrap:nowrap;min-width:0}.pulse-reference .ticket-footer .terminal-row-actions{flex:none;margin-left:6px}.pulse-reference .terminal-market-row .terminal-expanded-research:empty{display:none}
.pulse-reference .terminal-personal-position{display:inline-flex;align-items:center;gap:7px;min-width:0;padding:3px 7px;border:1px solid #35546a;border-radius:6px;background:#0b1a25;color:#c8d9e7;font-size:10px;white-space:nowrap}.pulse-reference .terminal-personal-position b{color:#f4f8fb}.pulse-reference .terminal-personal-position.positive{border-color:#26795e;background:#09241c}.pulse-reference .terminal-personal-position.positive span{color:#58e2ae}.pulse-reference .terminal-personal-position.negative{border-color:#7f3544;background:#2b1017}.pulse-reference .terminal-personal-position.negative span{color:#ff8291}.pulse-reference .terminal-personal-position small{color:#92adbf}@media(max-width:760px){.pulse-reference .terminal-personal-position{white-space:normal}}
.pulse-reference .terminal-trend-score{display:inline-flex;align-items:center;gap:6px;padding:3px 7px;border:1px solid #2f745e;border-radius:6px;background:#0b241c;color:#69e5b7;white-space:nowrap}.pulse-reference .terminal-trend-score b{color:#7aebc1}.pulse-reference .terminal-trend-score small{color:#9fc9ba}
@container(min-width:850px){.pulse-reference .terminal-market-row .terminal-token-main{grid-row:1}.pulse-reference .terminal-market-row .ticket-footer{grid-column:2/7;grid-row:2;padding-left:0;justify-content:flex-start}.pulse-reference .terminal-market-row .ticket-order{grid-row:1/3}.pulse-reference .terminal-market-row .terminal-project-links{margin-left:58px;gap:4px}.pulse-reference .terminal-project-links a{min-height:26px;padding:3px 6px}}
@container(max-width:849px){.pulse-reference .terminal-market-row .ticket-footer{overflow-x:auto;scrollbar-width:thin}}

.pulse-reference .terminal-market-row .terminal-artwork>.developer-launch-count{border:0;background:none;box-shadow:none;border-radius:0;padding:0;color:#bfd4e4}

.pulse-reference .terminal-rows{height:max(730px,calc(200vh - 820px));max-height:none;min-height:730px}.pulse-reference .terminal-more[hidden]{display:none!important}@media(max-width:760px){.pulse-reference .terminal-rows{height:130vh;min-height:600px;max-height:none}}

@container(min-width:850px){.pulse-reference .terminal-market-row .ticket-footer{grid-column:1/7;padding-left:58px;align-self:end}.pulse-reference .ticket-footer .ticket-origin{margin:0;flex:none}.pulse-reference .terminal-market-row .terminal-token-main{align-self:start}.pulse-reference .terminal-identity{padding-top:0}}
/* The default loader scene is orbital and keeps progress understandable without relying on motion. */
.pulse-loader-track[role=progressbar]{position:relative}
/* The token list scrolls on its own; keep that scroll area within one screen on tall and vertical monitors. */
@media(min-width:761px){.pulse-reference .terminal-rows{height:max(730px,min(calc(200vh - 820px),calc(100vh - 32px)))}}

/* News tab: posts drawn like X, in one timeline column. */
.terminal-columns[hidden],.terminal-news[hidden]{display:none!important}
.pulse-reference[data-active-lane=news]>.terminal-toolbar,.pulse-reference[data-active-lane=news]>.terminal-health,.pulse-reference[data-active-lane=news]>.terminal-active-filters,.pulse-reference[data-active-lane=news]>.terminal-footnote{display:none!important}
.terminal-news{--news-pad-top:14px;--news-pad-x:14px;padding:var(--news-pad-top) var(--news-pad-x) 20px}
/* The posts scroll over a still backdrop: a sticky layer one viewport tall keeps its place while the cards move past, clipped to the panel. */
.terminal-news{position:relative;isolation:isolate;overflow:clip;min-height:70vh}
.terminal-news::before{content:"";display:block;position:sticky;top:0;z-index:-1;height:100vh;margin:calc(-1*var(--news-pad-top)) calc(-1*var(--news-pad-x)) calc(var(--news-pad-top) - 100vh);background:var(--news-backdrop) center/cover no-repeat #090b0d;pointer-events:none}
/* A phone shows only the empty centre of a covering image, so it pins the left and right edges of the picture instead, dimmed. */
@media(max-width:760px){.terminal-news::before{background:linear-gradient(#090b0d66,#090b0d66),var(--news-backdrop) left center/auto 100% no-repeat,var(--news-backdrop) right center/auto 100% no-repeat,#090b0d;background-blend-mode:normal,lighten,normal}}
.terminal-news .news-card{box-shadow:0 14px 34px rgba(0,0,0,.42)}
.terminal-news>*{max-width:600px;margin-inline:auto}
.terminal-news .news-intro{margin-block:0 4px;color:#a9bac7;font-size:12px;line-height:1.5}
.terminal-news .news-status{margin-block:0 12px;min-height:16px;color:#91b2c4;font-size:12px}
.terminal-news .news-status button{border:0;background:transparent;color:#57deff;padding:0 4px;font:inherit;cursor:pointer}
.terminal-news .news-list{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}

.news-card{background:#000;border:1px solid #2f3336;border-radius:16px;padding:12px 16px 4px;color:#e7e9ea;font:15px/20px -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;min-width:0}
/* The terminal draws its own icons as outlines; X icons are solid. */
.terminal-news .news-card svg{fill:currentColor;stroke:none}
.news-head{display:flex;align-items:center;gap:10px}
.news-avatar{width:40px;height:40px;border-radius:50%;flex:none;background:#333639;object-fit:cover;display:grid;place-items:center;font-weight:700;color:#e7e9ea}
.news-who{display:flex;flex-wrap:wrap;align-items:center;column-gap:2px;min-width:0;flex:1;line-height:20px}
.news-who b,.news-line b{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:calc(100% - 22px)}
.news-who span{flex-basis:100%;color:#71767b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.terminal-news .news-card svg.news-verified{width:18px;height:18px;flex:none;fill:#1d9bf0}
.news-x{display:grid;place-items:center;align-self:flex-start;width:36px;height:36px;margin:-4px -8px 0 0;border-radius:50%;color:#e7e9ea}
.news-x:hover{background:#181919}
.terminal-news .news-x svg{width:20px;height:20px}
.news-time,.news-line a{color:inherit;text-decoration:none}
.news-time:hover,.news-line a:hover{text-decoration:underline}

.news-text{margin:12px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:20px}
.news-card .news-text:not(.expanded):not(.news-parent-text):has(+.news-more){display:-webkit-box;-webkit-line-clamp:8;-webkit-box-orient:vertical;overflow:hidden}
.news-text.expanded{display:block}
.news-p{display:block}.news-p+.news-p{margin-top:20px}
.news-card-link{color:#1d9bf0}
.news-more-chip{display:inline-grid;place-items:center;width:16px;height:16px;margin-left:4px;border-radius:3px;background:#1d9bf0;vertical-align:-3px}
.terminal-news .news-card .news-more-chip svg{width:12px;height:12px;fill:#fff}
.news-more[aria-expanded=true] .news-more-chip svg{transform:rotate(180deg)}
.news-card-pager{display:flex;flex-direction:column;align-items:center;gap:6px;margin-top:12px}
.news-card-pager-btn[hidden],.news-card-pager-note:empty{display:none}
.terminal-news .news-card-pager-btn{min-height:40px;padding:0 18px;border:1px solid #2f3336;border-radius:999px;background:transparent;color:#e7e9ea;font:inherit;cursor:pointer}
.news-card-pager-note{color:#71767b;font-size:12px}
.terminal-news .news-card .news-more{display:block;min-height:0;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#1d9bf0;padding:2px 0;font:inherit;cursor:pointer}
.terminal-news .news-card .news-more:hover{background:transparent;text-decoration:underline}

/* A reply sits under the post it answers, joined by a thread line. */
.news-thread{display:grid;grid-template-columns:40px minmax(0,1fr);column-gap:10px}
.news-rail{display:flex;flex-direction:column;align-items:center}
.news-rail::after{content:"";flex:1;width:2px;margin-top:4px;background:#333639}
.news-thread-body{min-width:0;padding-bottom:16px}
.news-line{display:flex;align-items:center;column-gap:2px;min-width:0;line-height:20px}
.news-line span{color:#71767b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;margin-left:2px}
.news-text.news-parent-text{margin-top:2px;display:-webkit-box;-webkit-line-clamp:8;-webkit-box-orient:vertical;overflow:hidden}
.news-replying{margin:10px 0 0;color:#71767b;font-size:15px;line-height:20px}
.news-replying a{color:#1d9bf0;text-decoration:none}.news-replying a:hover{text-decoration:underline}
.news-replying+.news-text{margin-top:4px}

/* Photo grids follow X: one image keeps its shape, two to four share a 16:9 frame. */
.news-photos{display:grid;gap:2px;margin-top:12px;border:1px solid #2f3336;border-radius:16px;overflow:hidden;background:#2f3336}
.news-photos img{display:block;width:100%;height:100%;object-fit:cover;background:#16181c}
.news-photos.n1 img{height:auto;max-height:510px}
.news-photos.n2,.news-photos.n3,.news-photos.n4{aspect-ratio:16/9;grid-template-columns:1fr 1fr}
.news-photos.n3,.news-photos.n4{grid-template-rows:1fr 1fr}
.news-photos.n3 img:first-child{grid-row:span 2}
.news-photos img{min-height:0}

.news-stats{display:flex;align-items:center;gap:24px;margin-top:4px;color:#71767b;font-size:13px}
.news-stats span{display:inline-flex;align-items:center;gap:4px;min-height:36px}
.terminal-news .news-stats svg{width:18px;height:18px}
.news-stats a{margin-left:auto;display:inline-flex;align-items:center;min-height:36px;color:#71767b;text-decoration:none}
.news-stats a:hover{color:#1d9bf0}

/* RAEN's own reading of the post, kept apart from the post itself. */
.news-note{display:grid;gap:4px;margin:0 -16px;padding:10px 16px 12px;border-top:1px solid #2f3336;font-size:13px;line-height:18px}
.news-note:empty{display:none}
.news-score{justify-self:start;padding:1px 8px;border-radius:999px;background:#0e2a33;color:#57deff;font-size:11px;font-weight:600;letter-spacing:.02em}
.news-note>span:not(.news-score):not(.news-tokens){color:#e7e9ea}
.news-note small{color:#8b98a5;font-size:12px}
.news-tokens{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.news-tokens button{font:inherit;font-size:12px;min-height:28px;padding:2px 10px;border:1px solid #2f3336;border-radius:999px;color:#9fd3ff;background:transparent;cursor:pointer}
.news-tokens button:hover:not(:disabled){border-color:#57deff}
.news-tokens button:disabled{color:#8b98a5;cursor:default}

.terminal-news :is(button,a):focus-visible{outline:2px solid #57deff;outline-offset:2px}
.terminal-news ::selection{background:#245765;color:#fff}
@media(pointer:coarse){.terminal-news .news-card .news-more,.news-tokens button,.news-stats a,.news-stats span{min-height:44px}.news-x{width:44px;height:44px}}
@media(max-width:480px){.pulse-reference .terminal-mobile-tabs{gap:3px;padding-inline:6px}.pulse-reference .terminal-mobile-tabs button{font-size:11px;min-width:0;min-height:44px}.pulse-reference .terminal-news{--news-pad-top:10px;--news-pad-x:8px;padding-bottom:16px}.news-card{padding:12px 12px 4px}.news-note{margin-inline:-12px;padding-inline:12px}.news-stats{gap:16px}.news-photos.n1 img{max-height:400px}}

/* News tab stands out: X mark, accent colour and an unread badge with a soft pulse. */
.terminal-mobile-tabs button.news-tab{display:inline-flex;align-items:center;justify-content:center;gap:6px;color:#7cc4ff}
.terminal-mobile-tabs button.news-tab svg{width:13px;height:13px;flex:none;fill:currentColor;stroke:none}
.terminal-mobile-tabs button.news-tab[aria-pressed=true]{color:#e8f4ff}
.terminal-mobile-tabs button.news-tab[aria-pressed=true]:after{background:#1d9bf0}
.news-tab-badge{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#1d9bf0;color:#fff;font-size:10px;font-weight:800;line-height:1}
.news-tab-badge[hidden]{display:none}
.terminal-mobile-tabs button.news-tab.has-unread .news-tab-badge{box-shadow:0 0 0 0 #1d9bf099;animation:news-tab-pulse 2s ease-out infinite}
@keyframes news-tab-pulse{0%{box-shadow:0 0 0 0 #1d9bf099}70%{box-shadow:0 0 0 7px #1d9bf000}100%{box-shadow:0 0 0 0 #1d9bf000}}
@media(prefers-reduced-motion:reduce){.terminal-mobile-tabs button.news-tab.has-unread .news-tab-badge{animation:none}}
@media(max-width:480px){.terminal-mobile-tabs button.news-tab{gap:4px}.terminal-mobile-tabs button.news-tab svg{width:11px;height:11px}.news-tab-badge{min-width:16px;height:16px;font-size:9px;padding:0 4px}}
.developer-evidence-popover{max-height:calc(100dvh - 16px);overflow:auto;overflow-wrap:anywhere}
.pulse-reference .terminal-market-row .developer-evidence-popover .developer-block-action{width:100%;height:auto;min-height:44px;padding:10px 14px;margin-top:6px;background:#7d2032;border:1px solid #c25167;border-radius:6px;color:#fff;font:inherit;font-weight:700;cursor:pointer}
.pulse-reference .terminal-market-row .developer-evidence-popover .developer-block-action:hover{background:#98273c}
.pulse-reference .terminal-market-row .developer-evidence-popover .developer-block-action:disabled{opacity:.55;cursor:wait}
.developer-block-action:focus-visible,.terminal-blocked-item button:focus-visible{outline:2px solid #ffae55;outline-offset:3px}
.developer-block-controls{border-top:1px solid #ffffff26;margin-top:12px;padding-top:4px}
.developer-block-controls [role=status]:empty{display:none}
.terminal-blocked-manager{border-top:1px solid #ffffff26;margin-top:10px;padding-top:10px}
.terminal-blocked-manager [data-blocked-dev-list]{max-height:220px;overflow:auto}
.pulse-reference .terminal-toolbar .terminal-blocked-manager>div{position:static;inset:auto;width:auto;padding:0;border:0;border-radius:0;box-shadow:none;display:block}
.terminal-blocked-item{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid #ffffff18}
.terminal-blocked-item span{flex:1;min-width:0;overflow-wrap:anywhere}
.terminal-blocked-item button{flex:none;min-height:44px}

/* A listed website that did not answer, in the row checks. */
.pulse-reference .ticket-footer .terminal-socials .identity-offline{color:#ff8a98}
.pulse-reference .ticket-footer .terminal-socials .identity-blacklist{color:#1b0307;background:#f6465d;border-radius:5px;padding:0 5px;font-weight:800}
/* Bundle check (public/bundle-badge.js): amber for a possible bundle, red for a likely one. */
.pulse-reference .terminal-bundle-badge,.reference-bundle-badge{display:inline-flex;align-items:center;padding:1px 6px;border:1px solid #ffb15a;border-radius:4px;background:#ffb15a1f;color:#ffcf8a!important;font-size:10px;font-weight:800;line-height:16px;white-space:nowrap;cursor:help}
.pulse-reference .terminal-bundle-badge[data-level=likely],.reference-bundle-badge[data-level=likely]{border-color:#ff7288;background:#a81432;color:#fff!important}

/* /reference-detail.css */

.reference-detail{position:sticky;top:18px;min-width:0;padding:16px;border:1px solid #284c64;border-radius:12px;background:linear-gradient(135deg,#071c2dee,#04111cf5);color:#edf5ff}.reference-token-head{display:grid;grid-template-columns:72px minmax(0,1fr) 34px;gap:13px;align-items:center;margin-bottom:16px}.reference-token-logo{width:72px;height:72px;border-radius:13px;object-fit:cover;border:1px solid #355f78}.reference-token-head h2{font-size:23px;font-weight:750;line-height:1.2;margin:0 0 5px}.reference-contract{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:0;background:none;color:#a8c6dd;padding:0;font-size:11px;text-align:left;cursor:pointer}.reference-token-tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:9px}.reference-token-tags span{font-size:10px;padding:3px 7px;border:1px solid #315069;border-radius:12px;color:#bad0e1;background:#10293c}.reference-token-tags span:first-child{color:#ffbc69;border-color:#83542d;background:#402715}.reference-watch{padding:7px;background:#091e2e;border:1px solid #365b75;border-radius:8px;color:#abcce6;cursor:pointer}.reference-watch svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5}.reference-watch[aria-pressed=true]{color:#ffac49;border-color:#ffac49}.reference-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:12px}.reference-metrics>div{padding:12px 10px;min-width:0;border:1px solid #26495f;border-radius:8px;background:#051624}.reference-metrics span{display:block;font-size:11px;color:#b0cbe0;margin-bottom:7px}.reference-metrics strong{font-size:17px;line-height:1.2;font-variant-numeric:tabular-nums;display:block;overflow-wrap:anywhere}.reference-metrics small{display:block;margin-top:7px;font-size:10px}.reference-detail .reference-candles{margin:0 0 12px;background:#041522;border-color:#26495f}.reference-detail .candle-toolbar{padding:10px;font-size:11px}.reference-detail .candle-toolbar button{padding:5px 7px;font-size:10px}.reference-detail .candle-canvas{min-height:180px}.reference-detail .candle-canvas svg{min-height:180px;max-height:230px}.reference-detail .chart-empty,.reference-detail .chart-calm{min-height:190px}.reference-detail .candle-coverage{padding:0 10px 8px;font-size:10px;line-height:1.5;color:#92b4cc}.reference-evidence-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:10px;margin-bottom:12px}.reference-evidence-grid>section{min-width:0;padding:13px;border:1px solid #23475e;border-radius:9px;background:#041420}.reference-evidence-grid h3{font-size:12px;margin:0 0 13px;color:#ecf4ff}.reference-check{display:flex;align-items:flex-start;gap:8px;font-size:11px;line-height:1.5;color:#b2cbdd;margin:9px 0}.reference-check i{width:7px;height:7px;flex:none;margin-top:5px;border-radius:50%;background:#d2a16a}.reference-check.match i{background:#45deb0}.reference-evidence-link{border:0;background:none;padding:5px 0 0;color:#9ccdf3;font-size:10px;cursor:pointer}.reference-facts{margin:0;font-size:11px}.reference-facts>div{display:flex;gap:7px;justify-content:space-between;padding:8px 0;border-bottom:1px solid #173b50}.reference-facts dt{color:#9bbbd1}.reference-facts dd{margin:0;text-align:right;color:#e5f1fb}.reference-order{padding:12px;border:1px solid #2a4b61;border-radius:10px;background:#061725}.reference-order-tabs{display:flex;gap:18px;border-bottom:1px solid #26465a;margin:-2px 0 13px}.reference-order-tabs button{border:0;border-bottom:2px solid transparent;border-radius:0;background:none;padding:8px 12px;color:#9fbcd0;font-size:12px;font-weight:700;cursor:pointer}.reference-order-tabs button[aria-pressed=true]{color:#ffa546;border-bottom-color:#ff962f}.reference-vault-state{margin:auto 0 auto auto;font-size:10px;color:#aac5d9}.reference-order label{display:block;color:#a7c5dd;font-size:11px;margin-bottom:7px}.reference-order-input{display:flex;gap:8px;align-items:center}.reference-order-input input{box-sizing:border-box;min-width:0;width:100%;border:1px solid #355c78;border-radius:8px;padding:9px;background:#021320;color:#edf5ff;font-size:16px;font-weight:600}.reference-amount-presets{display:flex;gap:5px}.reference-amount-presets button{min-width:32px;padding:9px 6px;border:1px solid #2c4d66;border-radius:6px;background:#081c2c;color:#c3d9e9;font-size:11px;cursor:pointer}.reference-order-submit{width:100%;margin-top:12px;padding:12px;border:1px solid #ffaf57;border-radius:8px;background:linear-gradient(110deg,#ffad47,#ff8724);color:#1d1103;font-size:13px;font-weight:800;cursor:pointer}.reference-order-submit:disabled{opacity:.45;cursor:not-allowed}.reference-order-note{margin:8px 0 0;font-size:10px;color:#94b4ca;text-align:center}.reference-source-links{display:flex;justify-content:space-between;gap:10px;margin-top:12px;font-size:10px}.reference-source-links a{color:#a1c9e8}.reference-detail-empty{padding:70px 20px;text-align:center;color:#a1c1d9}.reference-detail-empty svg{width:60px;height:60px;stroke:#ff9f43;fill:none;stroke-width:1}.reference-detail-empty h2{font-size:21px;color:#edf4ff}.reference-detail-empty p{font-size:13px;line-height:1.7;max-width:28ch;margin:12px auto}.reference-detail button:focus-visible,.reference-detail input:focus-visible{outline:2px solid #a3d8ff;outline-offset:3px}.reference-detail button:active{transform:scale(.98)}
@media(max-width:1150px){.reference-detail{position:static}.reference-token-head{grid-template-columns:64px minmax(0,1fr) 36px}.reference-token-logo{width:64px;height:64px}}
@media(max-width:560px){.reference-detail{padding:12px}.reference-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.reference-evidence-grid{grid-template-columns:1fr 1fr}.reference-token-head h2{font-size:20px}.reference-order-input{flex-wrap:wrap}.reference-amount-presets{width:100%}.reference-amount-presets button{flex:1;min-height:36px}.reference-detail .candle-toolbar{flex-wrap:wrap;gap:8px}}
@media(prefers-reduced-motion:reduce){.reference-detail button:active{transform:none}}

.interactive-market-chart{position:relative;min-height:260px}.market-chart-plot{height:260px;width:100%}.market-chart-legend{min-height:20px;font-size:10px;color:#9eb5c9;white-space:normal;padding:5px 8px;font-variant-numeric:tabular-nums}.reference-detail .market-chart-plot{height:230px}.reference-detail .interactive-market-chart{min-height:250px}
.market-chart-trade-tip{position:absolute;z-index:5;display:grid;gap:2px;max-width:220px;padding:7px 9px;border:1px solid #355168;border-radius:8px;background:#071018ed;box-shadow:0 8px 24px #0008;pointer-events:none;font-size:10px;color:#b8cad8}.market-chart-trade-tip[hidden]{display:none}.market-chart-trade-tip b{font-size:11px}.market-chart-trade-tip b.buy{color:#45e2aa}.market-chart-trade-tip b.sell{color:#ff7182}

.reference-layout-tools{display:flex;justify-content:flex-end;margin:12px 0 -6px}.reference-layout-tools button{border:1px solid #31536b;border-radius:7px;padding:8px 12px;background:#0a2031;color:#bad2e7;font:600 11px Manrope,sans-serif;cursor:pointer}.reference-close{position:absolute;right:8px;top:6px;border:0;background:none;color:#b8d2e5;font-size:24px;line-height:1;width:28px;height:28px;cursor:pointer}.reference-token-head{padding-right:18px}.reference-layout-tools button:focus-visible,.reference-close:focus-visible{outline:2px solid #ffad51;outline-offset:3px}

/* Reference inspector: price hierarchy and explicit locked-wallet state. */
.reference-token-head{grid-template-columns:80px minmax(0,1fr) 34px;gap:14px;margin-bottom:18px}.reference-token-logo{width:80px;height:80px;border-radius:14px}.reference-token-head h2{font-size:25px;overflow-wrap:anywhere}.reference-metrics{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:12px;align-items:center;margin-bottom:14px}.reference-unlock{display:flex;align-items:center;gap:12px;width:100%;min-height:58px;padding:13px 15px;margin-top:4px;border:1px solid #c47f31;border-radius:10px;background:linear-gradient(110deg,#3a2817b3,#211b1499);color:#ffad51;text-align:left;cursor:pointer}.reference-unlock svg{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.reference-unlock strong{font-size:13px;font-weight:750}.reference-unlock span{margin-left:auto;font-size:10px;color:#e7d4bc}.reference-unlock svg:last-child{width:16px}.reference-unlock:hover{background:#38281b;border-color:#ffb85d}.reference-order[hidden],.reference-unlock[hidden]{display:none!important}.reference-detail .reference-candles{overflow:hidden}.reference-detail .market-chart-plot{height:250px}.reference-detail .interactive-market-chart{min-height:270px}.reference-evidence-grid{gap:0;border:1px solid #23475e;border-radius:10px;overflow:hidden;background:#041420}.reference-evidence-grid>section{border:0;border-radius:0;background:none}.reference-evidence-grid>section+section{border-left:1px solid #23475e}.reference-detail .reference-hide{margin-top:12px;font-size:10px;color:#9bbbd1}.reference-detail .reference-contract:hover,.reference-evidence-link:hover,.reference-source-links a:hover{color:#fff}.reference-detail ::selection{background:#365b75;color:#fff}
@media(max-width:560px){.reference-token-head{grid-template-columns:64px minmax(0,1fr) 32px;gap:10px}.reference-token-logo{width:64px;height:64px}.reference-token-head h2{font-size:21px}.reference-metrics{grid-template-columns:minmax(0,1fr);gap:12px}.reference-unlock{padding:12px 10px;gap:9px}.reference-unlock span{font-size:9px}.reference-unlock strong{font-size:12px}.reference-evidence-grid>section{padding:11px}.reference-detail .market-chart-plot{height:230px}}

.reference-token-head{grid-template-columns:64px minmax(0,1fr) 34px}.reference-token-logo{width:64px;height:64px}.reference-token-head h2{font-size:24px;line-height:30px}.reference-detail [hidden]{display:none!important}.reference-detail-tabs{display:flex;border-bottom:1px solid #294154;margin-top:12px}.reference-detail-tabs button{border:0;border-radius:0;border-bottom:2px solid transparent;background:none;padding:12px;color:#a8bbcd;font:600 13px Manrope,sans-serif;cursor:pointer}.reference-detail-tabs button[aria-selected=true]{color:#edf3fa;border-bottom-color:#ffab38}.reference-evidence-grid{border-top:0;border-radius:0 0 10px 10px}.reference-tab-panel{padding:12px;margin-bottom:12px;background:#041420;border-bottom:1px solid #23475e}.reference-tab-panel p,.reference-selection-status{font-size:12px;line-height:1.6;color:#abc2dc}.reference-selection-status{padding:12px;background:#382c19;color:#f3cd91}.reference-unlock:disabled{cursor:not-allowed;opacity:.7}.reference-detail :is(.reference-contract,.reference-token-tags span,.reference-metrics span,.reference-metrics small,.reference-main-price small span,.reference-secondary-metrics span,.reference-evidence-link,.reference-vault-state,.reference-order-note,.reference-source-links,.reference-hide,.reference-unlock span,.candle-toolbar,.candle-toolbar button,.candle-coverage,.market-chart-legend){font-size:11px}.reference-token-logo[hidden]{display:block!important;visibility:hidden}@media(max-width:560px){.reference-detail-tabs button{min-height:44px}.reference-watch,.reference-close,.reference-contract{min-height:44px}.reference-close{top:2px}.reference-token-head{padding-right:20px}.reference-detail .reference-contract{display:flex;align-items:center}.reference-unlock span{font-size:11px}.reference-detail .reference-contract{min-height:28px}}

.reference-sell-actions{display:grid;gap:8px;margin-bottom:13px}.reference-sell-actions>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.reference-sell-actions button{min-height:40px;border:1px solid #7e4c29;border-radius:8px;background:#211710;color:#ffc386;font-size:12px;font-weight:800;cursor:pointer}.reference-sell-actions .reference-sell-all{min-height:48px;border-color:#ffaf57;background:linear-gradient(110deg,#ffad47,#ff8724);color:#1d1103;font-size:14px;box-shadow:0 0 18px #ff8e2524}.reference-sell-actions button:disabled{opacity:.42;cursor:not-allowed}.reference-sell-actions>span{color:#7898ae;font-size:9px;text-align:center;text-transform:uppercase;letter-spacing:.08em}
.reference-social-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.reference-social-shortcuts a,.reference-social-shortcuts span{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:5px 9px;border:1px solid #2e5268;border-radius:7px;font-size:12px;color:#bdddF0;text-decoration:none;background:#081c29}.reference-social-shortcuts svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.reference-social-shortcuts a:hover{color:#fff;border-color:#6fccea;background:#143349}.reference-social-shortcuts span{opacity:.45}@media(max-width:760px){.reference-social-shortcuts a{min-height:44px}}

.reference-creator-identity{font-size:11px;line-height:1.5;color:#adc7d5;margin:8px 0 0;overflow-wrap:anywhere}

.reference-evidence-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.reference-evidence-grid>section{min-width:0;padding:12px 10px}.reference-dev-wallet>div{display:block}.reference-dev-wallet dd{text-align:left;margin:3px 0 0;overflow-wrap:anywhere}.reference-evidence-grid h3{font-size:12px}@container(max-width:430px){.reference-evidence-grid{grid-template-columns:1fr}.reference-dev-wallet>div{display:flex}}

/* Verified developer sale overrides positive identity and supply decoration. */
.reference-detail.reference-dev-sold{position:relative;isolation:isolate;border-color:#c93953!important;background:linear-gradient(120deg,#4c1221 0%,#2b0d19 48%,#190c16 100%)!important;box-shadow:inset 0 0 0 1px #dc34532b,0 0 24px #960e2922}.reference-detail.reference-dev-sold:before{content:'';position:absolute;inset:0 0 auto;height:74px;background:url('/assets/dev-sold-drips.svg') top/100% 74px no-repeat;opacity:.75;pointer-events:none;z-index:0;border-radius:inherit}.reference-detail.reference-dev-sold>*{position:relative;z-index:1}.reference-detail.reference-dev-sold>.reference-close{position:absolute;z-index:2}.reference-detail.reference-dev-sold .reference-token-head h2{color:#ffabb9}.reference-detail.reference-dev-sold .reference-token-tags .reference-dev-sold-badge{display:inline-flex;background:#6c162a;border:1px solid #f05e79;color:#ffe1e7;font-size:10px;font-weight:800;letter-spacing:.055em;padding:4px 7px;border-radius:5px}.reference-detail.reference-dev-sold .reference-evidence-grid,.reference-detail.reference-dev-sold .reference-detail-tabs{border-color:#713045}

.reference-activity{padding:10px!important}.reference-activity-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.reference-activity-summary>div{min-width:0;padding:9px 8px;border:1px solid #303439;border-radius:7px;background:#090a0b}.reference-activity-summary span{display:block;margin-bottom:5px;color:#8f949b;font-size:9px;white-space:nowrap}.reference-activity-summary strong{display:block;overflow:hidden;color:#f0f1f2;font-size:12px;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.reference-activity-heading{display:flex;align-items:center;justify-content:space-between;margin:12px 2px 6px}.reference-activity-heading h3{margin:0;color:#edeef0;font-size:11px}.reference-activity-heading span{color:#5ee6b5;font-size:9px;text-transform:uppercase;letter-spacing:.08em}.reference-activity-feed{display:grid;gap:4px;max-height:238px;overflow:auto;scrollbar-width:thin}.reference-activity-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:8px;align-items:center;padding:7px 8px;border:1px solid #292c30;border-radius:7px;background:#08090a;color:inherit;text-decoration:none;transition:background-color .12s,border-color .12s}.reference-activity-row:hover{background:#101214;border-color:#45494f}.reference-activity-row>b{padding:4px 3px;border-radius:4px;font-size:9px;text-align:center}.reference-activity-row>b.buy{background:#123e32;color:#66e8ba}.reference-activity-row>b.sell{background:#45212c;color:#ff91a8}.reference-activity-row>span{min-width:0}.reference-activity-row strong,.reference-activity-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reference-activity-row strong{color:#e9eaec;font-size:10px}.reference-activity-row small{margin-top:2px;color:#8e939a;font-size:9px}.reference-activity-row time{color:#92979e;font-size:9px;font-variant-numeric:tabular-nums}.reference-activity-coverage,.reference-activity-none{margin:8px 2px 0!important;color:#777d84!important;font-size:9px!important;line-height:1.45!important}.reference-activity-loading,.reference-activity-empty{display:flex;min-height:90px;align-items:center;justify-content:center;gap:8px;color:#a7abb0;font-size:11px;text-align:center}.reference-activity-loading i{width:8px;height:8px;border-radius:50%;background:#5ee6b5;box-shadow:0 0 10px #5ee6b577;animation:activity-pulse 1.2s ease-in-out infinite}.reference-activity-empty{flex-direction:column}.reference-activity-empty strong{color:#e5e6e8}.reference-activity-empty p{max-width:38ch;margin:0!important;font-size:10px!important}@keyframes activity-pulse{50%{opacity:.35;transform:scale(.75)}}@media(max-width:560px){.reference-activity-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.reference-activity-row{min-height:42px}.reference-activity-feed{max-height:270px}}@media(prefers-reduced-motion:reduce){.reference-activity-loading i{animation:none}}

.reference-holder-summary{display:flex;align-items:center;gap:18px;padding:9px 8px;margin-bottom:7px;border:1px solid #303439;border-radius:7px;background:#090a0b}.reference-holder-summary>span{min-width:0}.reference-holder-summary small,.reference-holder-summary strong{display:block}.reference-holder-summary small{margin-bottom:3px;color:#858b92;font-size:9px}.reference-holder-summary strong{color:#eef0f1;font-size:12px;font-variant-numeric:tabular-nums}.reference-holder-summary em{margin-left:auto;color:#5ee6b5;font-size:9px;font-style:normal;text-transform:uppercase;letter-spacing:.08em}.reference-holder-list{display:grid;gap:4px;max-height:310px;overflow:auto;scrollbar-width:thin}.reference-holder-row{display:grid;grid-template-columns:24px minmax(0,1fr) minmax(70px,auto);gap:8px;align-items:center;padding:7px 8px;border:1px solid #292c30;border-radius:7px;background:#08090a;color:inherit;text-decoration:none}.reference-holder-row:hover{background:#101214;border-color:#45494f}.reference-holder-row>b{color:#757b82;font-size:9px;font-variant-numeric:tabular-nums}.reference-holder-row>span{min-width:0}.reference-holder-row>span:last-child{text-align:right}.reference-holder-row strong,.reference-holder-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reference-holder-row strong{color:#e8eaeb;font-size:10px}.reference-holder-row small{margin-top:2px;color:#858b92;font-size:9px}.reference-holder-row span:first-of-type small:not(:only-child){color:#b4b8bd}@media(max-width:560px){.reference-holder-list{max-height:360px}.reference-holder-row{min-height:42px}}
.reference-detail.reference-dev-buy,.reference-detail.reference-dev-rebuy{position:relative;isolation:isolate;overflow:hidden}.reference-detail.reference-dev-buy{border-color:#3cc89a!important;background:linear-gradient(120deg,#082b2a 0%,#0b3d35 48%,#082722 100%)!important;box-shadow:inset 0 0 0 1px #62f0be2b,0 0 24px #0b9c7130!important}.reference-detail.reference-dev-rebuy{border-color:#a96cf2!important;background:linear-gradient(120deg,#1b0c30 0%,#3b1858 48%,#211039 100%)!important;box-shadow:inset 0 0 0 1px #d6a7ff2e,0 0 25px #7b39c83d!important}.reference-detail.reference-dev-buy:before,.reference-detail.reference-dev-rebuy:before{content:'◆';position:absolute;left:8%;top:9%;z-index:-1;font-size:9px;line-height:1;pointer-events:none;animation:dev-buy-sapphires 5.8s ease-in-out infinite}.reference-detail.reference-dev-buy:before{color:#7bffd1;text-shadow:74px -20px 0 #37dda2,182px 18px 0 #8dffe0,318px -8px 0 #35c993,486px 24px 0 #83f7d0;filter:drop-shadow(0 0 5px #46efb8)}.reference-detail.reference-dev-rebuy:before{color:#e3b7ff;text-shadow:74px -20px 0 #a66bea,182px 18px 0 #e7c0ff,318px -8px 0 #864bd1,486px 24px 0 #d59fff;filter:drop-shadow(0 0 6px #b46ef4)}.reference-detail.reference-dev-buy:after,.reference-detail.reference-dev-rebuy:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(112deg,transparent 20%,#ffffff14 39%,transparent 56%);background-size:220% 100%;pointer-events:none;animation:dev-buy-sheen 7s ease-in-out infinite}.reference-detail.reference-dev-buy .reference-token-head h2{color:#baffdf}.reference-detail.reference-dev-rebuy .reference-token-head h2{color:#edceff}.reference-dev-buy-badge{display:inline-flex;border:1px solid #62e8b7;background:#0c5a45;color:#d9fff1!important;font-size:10px;font-weight:800;letter-spacing:.035em;padding:4px 7px;border-radius:5px}.reference-dev-rebuy .reference-dev-buy-badge{border-color:#c68cff;background:#522477;color:#f3ddff!important;box-shadow:0 0 13px #a765eb52}@media(prefers-reduced-motion:reduce){.reference-detail.reference-dev-buy:before,.reference-detail.reference-dev-buy:after,.reference-detail.reference-dev-rebuy:before,.reference-detail.reference-dev-rebuy:after{animation:none}}

.reference-external-trade{display:flex;justify-content:center;align-items:center;margin:14px 0;padding:14px;border:1px solid #ffad42;border-radius:10px;background:#332818;color:#ffbd61;font-weight:700;text-decoration:none}.reference-external-trade[hidden]{display:none}.terminal-external-trade{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;padding:9px 12px}

.dex-profile-badge{display:inline-flex;align-items:center;white-space:nowrap;font-size:11px;font-weight:600;color:#9bb2c4;text-decoration:none;padding:2px 4px;border-radius:4px}.dex-profile-badge[data-dex-status="approved"]{color:#59efb8;background:#103c30}.dex-profile-badge[data-dex-status="pending"]{color:#ffbd60;background:#352917}.dex-profile-badge:hover{text-decoration:underline}.reference-checks>.dex-profile-badge{margin:4px 0 8px}

.pulse-reference .ticket-footer .terminal-socials a.dex-profile-badge{width:auto;min-width:max-content;flex:none;height:auto;padding:2px 5px;line-height:18px}
.reference-dex-primary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;margin:0 0 12px;padding:0 15px;border:1px solid #f4c542;border-radius:9px;background:linear-gradient(105deg,#3d3212,#171b16);color:#fff;text-decoration:none;box-shadow:inset 3px 0 #f4c542}.reference-dex-primary span{font-size:15px;font-weight:850;letter-spacing:.045em}.reference-dex-primary strong{font-size:12px;color:#ffe891}.reference-dex-primary:hover{border-color:#ffe46f;background:linear-gradient(105deg,#514217,#1d231b)}.reference-dex-primary:focus-visible{outline:2px solid #ffe891;outline-offset:3px}
/* Trade in Telegram: opens the token's trade window in the RAEN bot (docs/TELEGRAM-COMMAND-CENTER.md); hidden without a bot. */
.reference-telegram-trade{display:flex;align-items:center;gap:10px;min-height:40px;margin:0 0 12px;padding:0 14px;border:1px solid #2a2a2f;border-radius:9px;background:#161618;color:#f4f4f5;font-size:13px;font-weight:650;text-decoration:none}
.reference-telegram-trade[hidden]{display:none!important}
.reference-telegram-trade svg{flex:none;width:17px;height:17px;color:#ff8a2a}
.reference-telegram-trade span{flex:1;min-width:0}
.reference-telegram-trade i{font-style:normal;color:#a1a1aa}
.reference-telegram-trade:hover{border-color:rgba(255,122,26,.55)}
.reference-telegram-trade:focus-visible{outline:2px solid #ff8a2a;outline-offset:3px}
/* Compact, container-aware market statistics. */
.reference-detail .reference-metrics{display:block;margin:0 0 14px;container-type:inline-size}
.reference-detail .token-statistics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 12px;margin:0;padding:14px 0;border-block:1px solid #ffffff18}
.reference-detail .token-statistic{min-width:0;padding:0;background:none;border:0;border-radius:0}
.reference-detail .token-statistic dt{color:#b0b9bf;font-size:10px;line-height:1.4;letter-spacing:.045em;text-transform:uppercase}
.reference-detail .token-statistic dd{margin:5px 0 0;font-size:15px;line-height:1.3;font-weight:750;color:#f5f7f8;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.reference-detail .token-statistic small{display:block;margin:4px 0 0;color:#a8b5bc;font-size:10px;line-height:1.4}
.reference-detail .token-statistic small.positive{color:#67e6bc}.reference-detail .token-statistic small.negative{color:#ff8598}
@container(min-width:660px){.reference-detail .token-statistics{grid-template-columns:repeat(7,minmax(0,1fr));gap:12px}}
@container(max-width:280px){.reference-detail .token-statistics{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Live quote in the order panel: everything the wallet will sign, priced before the button is pressed. */
.reference-slippage{display:flex;align-items:center;gap:6px;margin-top:12px;flex-wrap:wrap}
.reference-slippage span{margin-right:auto;color:#9aa4ad;font-size:11px}
.reference-order .reference-slippage button{min-height:30px;min-width:46px;padding:4px 10px;border:1px solid #30343a;border-radius:999px;background:transparent;color:#c9d0d6;font-size:12px;font-weight:650;cursor:pointer;box-shadow:none}
.reference-order .reference-slippage button[aria-pressed=true]{border-color:#ff9a3d;color:#ffb15a;background:#ff9a3d14}
.reference-quote:empty{display:none}
.reference-quote{margin-top:12px}
.trade-quote{display:grid;gap:7px;margin:0;padding:12px;border:1px solid #2b2f34;border-radius:10px;background:#08090a;transition:opacity .15s ease}
.trade-quote.is-refreshing{opacity:.75}
.trade-quote>div{display:flex;justify-content:space-between;align-items:baseline;gap:12px;min-width:0}
.trade-quote dt{color:#8b939b;font-size:12px;white-space:nowrap}
.trade-quote dd{margin:0;color:#e8ecef;font-size:12px;font-weight:650;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.trade-quote dd small{color:#8b939b;font-weight:500}
.trade-quote .trade-quote-main dt{color:#c9d0d6}
.trade-quote .trade-quote-main dd{color:#fff;font-size:15px;font-weight:750}
.trade-quote .impact-low{color:#4fd68b}.trade-quote .impact-medium{color:#f5a524}.trade-quote .impact-high{color:#ff5d5d}
.trade-quote-status,.trade-quote-hint{margin:0;padding:10px 12px;border-radius:10px;background:#0d0f11;color:#9aa4ad;font-size:12px;line-height:1.45}
.trade-quote-status.is-error{color:#ff8a8a;background:#2a0f0f}
.trade-quote-status.is-warning{margin-top:8px;color:#f5a524;background:#2a1d08}
.trade-quote-hint{margin-top:8px;padding:0;background:none;font-size:11px}
.reference-order-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:7px}
.reference-order-head label{margin:0!important}
.reference-order .reference-balance{min-height:0;padding:0;border:0;background:transparent;box-shadow:none;color:#9aa4ad;font-size:11px;font-weight:600;font-variant-numeric:tabular-nums;cursor:pointer;text-align:right}
.reference-order .reference-balance:hover:not(:disabled){color:#ffb15a;text-decoration:underline}
.reference-order .reference-balance:disabled{cursor:default}

/* Activity filters, trader names and the top-traders list. */
.reference-activity-filters{display:flex;flex-wrap:wrap;gap:4px;margin:0 0 8px}
.reference-detail .reference-activity-filters button{min-height:26px!important;padding:0 9px!important;border:1px solid #2a2d31!important;border-radius:999px!important;background:#0a0b0c!important;color:#9a9da2!important;box-shadow:none!important;animation:none!important;font-size:11px!important;font-weight:700!important}
.reference-detail .reference-activity-filters button[aria-pressed=true]{border-color:#2ebd85!important;background:rgba(46,189,133,.14)!important;color:#e9eaec!important}
.reference-detail .reference-activity-filters button:disabled{opacity:.4;cursor:not-allowed}
.reference-trader{margin-left:6px;color:#8b8f95;font-style:normal;font-weight:600}
.reference-trader i{margin-left:5px;padding:1px 5px;border-radius:4px;background:#1c2126;color:#b9c4cc;font-style:normal;font-size:9px;font-weight:800;letter-spacing:.02em}
.reference-trader-row>b.rank{background:#15181b;color:#c9cacd}
.reference-trader-row .reference-trader{margin-left:0;color:#e9eaec}
.reference-trader-net{font-size:11px;font-weight:800;white-space:nowrap}
.reference-trader-net.buy{color:#66e8ba}.reference-trader-net.sell{color:#ff91a8}

/* Pools in the Activity tab. */
.reference-pools{margin:0 0 12px}
.reference-pool-windows{display:inline-flex;gap:2px;padding:2px;border-radius:8px;background:rgba(255,255,255,.045)}
.reference-detail .reference-pool-windows button{min-width:34px!important;min-height:22px!important;padding:0 7px!important;border:0!important;border-radius:6px!important;background:transparent!important;color:#8b8f95!important;box-shadow:none!important;animation:none!important;font-size:10.5px!important;font-weight:700!important}
.reference-detail .reference-pool-windows button[aria-pressed=true]{background:#202125!important;color:#ededee!important}
.reference-pool-list{display:grid;gap:6px}
.reference-pool{display:grid;gap:7px;padding:9px 10px;border:1px solid #292c30;border-radius:9px;background:#08090a;color:inherit;text-decoration:none}
.reference-pool:hover{background:#101214;border-color:#45494f}
.reference-pool-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;min-width:0}
.reference-pool-head b{overflow:hidden;color:#e9eaec;font-size:11.5px;white-space:nowrap;text-overflow:ellipsis}
.reference-pool-head small{flex:none;color:#7d8087;font-size:10px}
.reference-pool-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.reference-pool-stats span{display:grid;gap:2px;min-width:0}
.reference-pool-stats small{overflow:hidden;color:#6c6f75;font-size:9.5px;white-space:nowrap;text-overflow:ellipsis}
.reference-pool-stats strong{color:#d7d8da;font-size:11px;font-variant-numeric:tabular-nums}
.reference-pool-stats .up{color:#66e8ba}.reference-pool-stats .down{color:#ff91a8}
@media(max-width:420px){.reference-pool-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* A listed website that did not answer. */
.reference-check.offline{color:#ffb3bd}.reference-check.offline i{background:#f6465d}
/* The dev-state cards switch to position:relative for their decoration; the sticky offset must not push them down. */
.reference-detail:is(.reference-dev-sold,.reference-dev-buy,.reference-dev-rebuy){top:0}

/* Blacklisted wallets (incident participants): the trader tag in Activity and the warning in the checks. */
.reference-trader i.blacklist-tag{background:#f6465d!important;color:#1b0307!important;font-weight:800;letter-spacing:.06em}
.reference-trader.is-blacklist{color:#ff9cab}
.reference-check.blacklist-buyers{color:#ffb3bd;font-weight:600}.reference-check.blacklist-buyers b{color:#f6465d;letter-spacing:.06em}.reference-check.blacklist-buyers a{color:#ff9cab}
.reference-activity-note{margin:6px 0;color:#d2a16a;font-size:11px}
/* Compact token metrics: the figures stay readable at a glance and the chart and order form move up. */
.reference-detail .token-statistics:not(#_){gap:8px 10px;padding:8px 0}
.reference-detail .token-statistic dt:not(#_){font-size:9px;line-height:1.3;letter-spacing:.04em}
.reference-detail .token-statistic dd:not(#_){margin:2px 0 0;font-size:13px;line-height:1.25}
.reference-detail .token-statistic small:not(#_){margin:1px 0 0;font-size:9.5px;line-height:1.3}
.reference-detail .reference-metrics:not(#_){margin-bottom:10px}
/* Custom slippage: typed percent next to the presets; a warning above 5%. */
.reference-slippage-custom{display:inline-flex;align-items:center;gap:2px;min-height:30px;padding:0 8px;border:1px solid #30343a;border-radius:999px;color:#9aa4ad;font-size:12px}
.reference-slippage-custom:focus-within,.reference-slippage-custom:has(input.active){border-color:#ff9a3d;color:#ffb15a}
.reference-slippage-custom input:not(#_){width:52px;min-width:0;height:28px;min-height:0;margin:0;padding:0;border:0!important;border-radius:0;background:transparent!important;color:inherit!important;font:inherit;font-weight:650;text-align:right;outline:none!important;box-shadow:none!important}
.reference-slippage-custom input[aria-invalid=true]:not(#_){color:#ff6b6b!important}
.reference-slippage-custom b{font-weight:600}
.reference-slippage-warning{flex-basis:100%;margin:2px 0 0;color:#ffb15a;font-size:11px}
@media(pointer:coarse){.reference-slippage-custom{min-height:44px}.reference-slippage-custom input:not(#_){height:42px}}
/* Telegram "Open in RAEN": the exact contract while its market row loads, or a plain "not found". */
.reference-handoff .reference-handoff-logo{display:block;width:56px;height:56px;margin:0 auto 14px;border-radius:50%;object-fit:cover}
.reference-handoff .reference-handoff-contract{margin-top:6px;font-size:12px;color:#8fb3cc;overflow-wrap:anywhere}
.reference-handoff .reference-activity-loading{min-height:48px}
/* Bootstrap market state (public/bootstrap-evidence.js): no order form until the full snapshot's evidence is shown. */
#detail.reference-evidence-loading :is(.reference-order,.reference-quickbar,.reference-evm-buy,.reference-unlock,.reference-tools-entry,.reference-external-trade){display:none!important}

/* /workspace-layout.css */
/* Market Pulse specification: viewport geometry and readable operating surfaces. */
@media(min-width:761px){.shell{grid-template-columns:64px minmax(0,1fr)}.rail{width:64px;padding:16px 8px}.rail nav button{width:48px}.brand{padding-bottom:24px}main{--workspace-gutter:16px}.topbar,.topbar:has(.reference-top-nav){height:64px;min-height:64px;gap:16px}.topbar h1{font-size:24px;line-height:30px;font-weight:650}.topbar p{font-size:12px;line-height:16px;margin-top:0}.reference-top-nav{height:40px}.reference-top-nav button{font-size:13px;min-width:100px}.ticker{height:32px;min-height:32px}.ticker button{font-size:11px}.view{padding-top:12px}.reference-side-shell{max-width:560px;width:100%}.reference-layout-tools{margin:8px 0 0}.reference-layout-tools button{min-height:32px;font-size:11px;padding:5px 10px}.bastion .section-head h2{font-size:14px;line-height:20px}}
.reference-side-tabs button{font-size:12px;min-height:36px}.candle-toolbar,.candle-toolbar button,.candle-coverage,.market-chart-legend{font-size:11px}
.top-actions .pulse-alerts{position:relative;inset:auto;margin:0;padding:0;order:1;z-index:70}.top-actions .alert-dock>summary{width:40px;height:40px;min-height:40px;padding:2px;position:relative;border-radius:8px}.top-actions .companion-bell{width:34px;height:34px}.top-actions .companion-copy,.top-actions .alert-latest{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}.top-actions .alert-badge{position:absolute;top:-4px;right:-4px;min-width:15px;font-size:10px;padding:1px 3px}.top-actions .pulse-alerts[data-sound=on] .alert-dock>summary{border-color:#36dba0}.top-actions .alert-drawer{top:48px;bottom:auto;right:0;max-height:calc(100dvh - 120px)}.top-actions .alert-live-rail{top:48px;bottom:auto;right:0}.top-actions .alert-drawer button{font-size:12px}.top-actions .alert-drawer label{font-size:12px}
@media(min-width:1280px) and (max-width:1599px){.reference-top-nav button{min-width:90px}.topbar p{max-width:36ch}}
@media(max-width:1279px){.reference-side-shell{position:fixed;z-index:55;top:80px;right:16px;bottom:20px;width:440px;max-width:calc(100vw - 32px);overflow:auto;background:#050e16;border:1px solid #31536b;border-radius:12px;padding:8px;box-shadow:0 20px 60px #0009}.reference-side-tabs{position:sticky;top:-8px;z-index:3;background:#050e16;padding:6px 0}.reference-side-shell>.reference-detail{position:relative;top:auto}}
@media(max-width:959px){.reference-side-shell{inset:72px 12px 90px;width:auto;max-width:none}.reference-side-tabs button{min-height:44px}.reference-side-tabs .side-collapse{min-width:44px}}
@media(max-width:760px){.topbar:has(.reference-top-nav){min-height:116px;height:116px}.topbar h1{font-size:24px;line-height:30px}.topbar p{font-size:11px}.reference-top-nav{height:40px}.reference-top-nav button{font-size:12px}.rail nav button{font-size:11px;min-width:70px}.reference-layout-tools{margin:8px 0}.reference-layout-tools button{min-height:44px;font-size:12px}.top-actions .alert-drawer{position:fixed;top:64px;right:12px;width:calc(100vw - 24px);max-height:calc(100dvh - 180px)}.top-actions .alert-live-rail{position:fixed;top:120px;right:12px;width:min(300px,calc(100vw - 24px));max-height:240px}.reference-side-shell{top:12px}.reference-close{width:44px;height:44px}}
@media(prefers-reduced-motion:reduce){.reference-side-shell{animation:none!important;transition:none!important}}

.terminal-rows:empty:before{content:"Loading market feed…";display:block;padding:28px 16px;min-height:104px;color:#a8bbcd;font-size:14px;background:linear-gradient(90deg,#0a1a27,#102333)}

/* Keep precise token prices readable in the compact inspector. */
.reference-detail{container-type:inline-size}
@container(max-width:490px){.reference-metrics{grid-template-columns:minmax(0,1fr);gap:12px}}

/* Continuous left-to-right market tape; the animated track survives data refreshes. */
#ticker{display:block;overflow:hidden;position:relative;mask-image:linear-gradient(90deg,transparent,#000 18px,#000 calc(100% - 18px),transparent)}
#ticker button{display:inline-flex;align-items:center;flex:none;gap:8px;border:0;border-radius:0;background:none;padding:0;white-space:nowrap;box-shadow:none}
@media(prefers-reduced-motion:reduce){#ticker{overflow-x:auto;mask-image:none}}


#ticker[data-cached=true]:after{content:"Updating";position:absolute;right:0;top:0;bottom:0;display:flex;align-items:center;padding:0 12px;background:#071823;color:#adc7d5;font-size:10px;pointer-events:none}


/* Two planet states, driven by source health. */
.rail-status #source-dot{position:relative;display:block;flex:none;width:40px!important;height:40px!important;border:0;border-radius:8px;background:#020303 url('/assets/wallet-orb-red.gif?v=2') center/40px 40px no-repeat;box-shadow:none;transition:filter .2s ease}
.rail-status #source-dot:before,.rail-status #source-dot:after{content:none}
.rail-status #source-dot.live{background-image:url('/assets/wallet-orb-green.gif?v=2');box-shadow:none}
@media(prefers-reduced-motion:reduce){.rail-status #source-dot{transition:none}}


/* Shared project treatment across the summary strip and notification cards. */
.signal-dev-sold{position:relative;background:linear-gradient(105deg,#581425,#2d0c18)!important;border-color:#bc304b!important}.signal-dev-sold:before{content:'';position:absolute;inset:0 0 auto;height:36px;background:url('/assets/dev-sold-drips.svg') top/100% 36px no-repeat;opacity:.45;pointer-events:none}.signal-dev-sold .project b,.signal-dev-sold>span>b{color:#ffb0be}


/* Six summaries retain the established two-line card design. */

.side-panel-label{font-size:12px;color:#adc6d8;padding:8px 0;align-self:center}.reference-side-tabs .side-collapse{margin-left:auto}
/* Desktop side panel: one top line inside the token card. The avatar, a small Token label above the name, a small Hide side
   panel button left of the star and the star share the card's top padding, so the card starts level with the Pulse lists. */
@media(min-width:1051px){
 .product-market:not(.inspector-hidden) .product-inspector{position:relative}
 .product-market:not(.inspector-hidden) .product-inspector>.reference-side-tabs{position:absolute;top:17px;left:95px;right:57px;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;min-height:0;height:22px;margin:0;padding:0;pointer-events:none}
 .product-market:not(.inspector-hidden) .product-inspector>.reference-side-tabs>*{pointer-events:auto}
 .product-market:not(.inspector-hidden) .product-inspector>.reference-side-tabs .side-panel-label{min-height:0!important;height:12px;padding:0!important;font-size:9.5px!important;line-height:12px!important;letter-spacing:.1em}
 .product-market:not(.inspector-hidden) .product-inspector>.reference-side-tabs #hide-inspector{min-height:0!important;height:22px;padding:0 8px!important;font-size:10.5px!important;line-height:20px!important;border-radius:6px!important}
 .product-market:not(.inspector-hidden) .product-inspector .reference-token-head{align-items:start;padding-right:0}
 .product-market:not(.inspector-hidden) .product-inspector .reference-token-head>div:nth-child(2){padding-top:18px}
}
/* Home needs no page title: the heading stays for screen readers only. */
.product-header[data-view=home] #page-title{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.product-header[data-view=home] #page-subtitle{display:none}
/* Desktop: the page subtitle stays on one line; wrapping pushed the page title above the top edge in Black granite. */
@media(min-width:761px){.product-header #page-subtitle:not(#_){max-width:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-header>div:first-child{min-width:0}}

/* /product.css */
/* Product additions reuse the V2 shell, type, spacing and market components. */
[hidden]{display:none!important}.product-main{margin:0;max-width:none}.product-rail nav button.active{color:var(--orange);border-color:#9b5b26;background:linear-gradient(145deg,rgba(255,150,45,.14),rgba(255,150,45,.035))}.product-main>[data-panel]{padding-top:12px}.product-header{border-bottom:0}.header-actions{display:flex;align-items:center}.header-actions #connect-header{height:40px;border:1px solid var(--line2);background:rgba(2,13,25,.84);color:#c8daf0;border-radius:9px;font-size:12px;padding:0 14px;white-space:nowrap}.header-actions #connect-header i{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--amber);margin-right:8px}.header-actions #connect-header.connected i{background:var(--green)}.product-main .section-head{margin-bottom:16px}.product-main .section-head h2{font-size:22px}.product-main .vault-main h2{font-size:34px}.product-main .wallet-connect{padding:0;max-width:520px}.product-main .vault-note button{margin-top:16px}.product-main .vault-main{padding:34px}.product-main .vault-layout{max-width:1100px}.product-main .vault-main dl{margin:22px 0}.coming-soon h2{font-size:34px;line-height:1.2;margin:12px 0}.coming-soon h2 span{color:var(--muted)}
.surface{border:1px solid #244459;border-radius:12px;background:linear-gradient(135deg,#0b2232,#071925);padding:26px}.surface h3{margin:0;font-size:17px;letter-spacing:-.02em}.surface p{font-size:12px;line-height:1.8;color:#93afc2}.section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.section-title p{margin:7px 0 0}.pill{border:1px solid #306d5d;border-radius:20px;padding:3px 9px;font-size:10px;color:#73dfb7}.pill.amber{color:#ffc077;border-color:#865c32;background:#ff9f3110}.wallet-connect{padding:30px}.wallet-option{width:100%;display:flex;align-items:center;gap:16px;padding:18px;background:#102a3b;margin:15px 0;text-align:left}.wallet-option>span:last-child{margin-left:auto}.wallet-option b{font-size:15px}.wallet-option small{display:block;font-size:11px;color:#8eadc3;margin-top:4px}.wallet-glyph{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;font-size:25px;font-weight:800}.meteor{background:linear-gradient(135deg,#5b6ef6,#8460ce);color:#fff}.hot{background:#f49636;color:#1e1720}.subtle-note{border-top:1px solid #294454;padding-top:17px!important;margin-top:20px!important;font-size:10px!important;color:#7999ad!important}.connected-account{padding:14px;margin:14px 0;border:1px solid #376954;border-radius:8px;color:#78d5ae;overflow-wrap:anywhere}.copy-layout{display:grid;grid-template-columns:320px minmax(0,1fr);gap:22px}.wallet-orb{width:70px;height:70px;background:radial-gradient(circle at 30% 20%,#477a96,#133247 65%,#092032);border:1px solid #486b81;box-shadow:0 0 35px #3b8dae20;border-radius:20px;margin:25px auto;display:grid;place-items:center}.wallet-orb svg{width:35px;height:35px;stroke:#b9e3f4;fill:none;stroke-width:1.3}.copy-wallet-card{text-align:center}.copy-wallet-card .section-title{text-align:left}.copy-wallet-card h3{font-size:15px}.copy-wallet-card .primary{font-size:11px;width:100%}.wallet-balance{margin:24px 0 16px}.wallet-balance small{display:block;color:#85a4b8;font-size:11px}.wallet-balance strong{font-size:32px}.wallet-balance strong span{font-size:13px;color:#829fb4}.wallet-actions{display:flex;gap:6px}.wallet-actions button{flex:1;font-size:10px;padding:8px 4px}.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}.stat-grid .surface{padding:21px}.stat-grid small{display:block;color:#8eadc3;font-size:11px}.stat-grid strong{display:block;font-size:28px;margin:9px 0}.stat-grid span{font-size:10px;color:#6f90a5}.stat-grid .amber-text{color:#efb265;font-size:24px}.sources-card{min-height:270px}.empty-product{text-align:center;padding:35px 14px;color:#7b9db3}.empty-product b{display:block;font-size:16px;color:#b9d1e1;margin-bottom:9px}.strategy-note{display:flex;gap:20px;border-top:1px solid #294454;padding-top:17px;font-size:10px;color:#7294ab}.strategy-note b{color:#9fc6da;white-space:nowrap}.target-card{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#061925;border:1px solid #28495e;padding:16px;border-radius:8px;margin-bottom:10px}.target-card b{font-size:13px}.target-card small{display:block;color:#7d9cb0;font-size:11px;margin-top:6px}.target-card button{font-size:11px}.coming-soon{min-height:70vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.coming-soon p{color:#7f9fb4;line-height:1.9;margin:0 0 28px}
/* Compact Signal Bastion and the same terminal/inspector proportions as V2. */
.reference-layout-tools:has(button[hidden]){display:none}.product-market{display:grid;grid-template-columns:minmax(0,1fr) minmax(380px,30%);gap:16px;align-items:start;margin-top:8px}.product-market.inspector-hidden{grid-template-columns:minmax(0,1fr)}.product-market.inspector-hidden .product-inspector{display:none}.product-inspector{min-width:0;width:100%;max-width:560px}.reference-side-tabs{display:flex;align-items:center;margin-bottom:8px}.reference-side-tabs #hide-inspector{margin-left:auto}.reference-candles iframe{border:0;width:100%;height:280px;border-radius:8px}.reference-close,.reference-source-links,.reference-hide{display:none!important}.reference-order-note{font-size:10px}.reference-detail-empty{padding:38px 18px!important}.terminal-rows{height:850px;min-height:500px;max-height:none}.terminal-more[hidden]{display:none!important}.position-table{margin-top:20px}.holding{display:grid;grid-template-columns:minmax(0,1fr) 140px 130px;padding:18px 0;border-bottom:1px solid #243e50;font-size:13px}.holding small{display:block;font-size:10px;color:#7798ad}.position-table .empty-product{padding:70px 0}.surface{padding:20px;border-radius:10px;background:#061827}.wallet-option{padding:14px;margin:10px 0}.stat-grid strong{font-size:24px}.copy-layout{grid-template-columns:300px minmax(0,1fr)}.wallet-orb{width:52px;height:52px;margin:16px auto}.wallet-orb svg{width:28px;height:28px}.coming-soon{min-height:55vh}
dialog{background:#0b2232;color:#d5e9f5;border:1px solid #41627a;border-radius:14px;width:min(500px,calc(100vw - 32px));padding:28px}dialog::backdrop{background:#020910cc;backdrop-filter:blur(5px)}dialog label{display:block;font-size:12px;color:#abc5d6;margin:15px 0}dialog input{display:block;width:100%;padding:12px;border:1px solid #35566b;border-radius:7px;background:#061623;color:#e1f1fb;margin-top:7px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.form-grid label:last-child{grid-column:1/-1}dialog p{font-size:12px;color:#8eafc4;line-height:1.7}dialog>.primary,dialog form>.primary{width:100%}#toast{position:fixed;right:24px;bottom:24px;max-width:400px;background:#112e42;color:#dcf1ff;padding:16px 20px;border:1px solid #547e97;border-radius:9px;font-size:12px;z-index:100}[hidden]{display:none!important}

@media(min-width:1280px) and (max-width:1599px){.product-market{grid-template-columns:minmax(0,1fr) 380px}}
@media(max-width:1279px){.product-market{grid-template-columns:minmax(0,1fr) 350px}.copy-layout{grid-template-columns:280px minmax(0,1fr)}.stat-grid .surface{padding:14px}.top-actions #updated-at{display:none}}
@media(max-width:1050px){.product-market{grid-template-columns:minmax(0,1fr)}.product-inspector{max-width:none}.product-market:not(.inspector-hidden) .product-inspector{border-top:1px solid var(--line);padding-top:14px}.copy-layout{grid-template-columns:1fr}.wallet-actions{max-width:400px;margin:auto}}
@media(max-width:760px){.product-main{padding:0 13px 30px}.product-main .vault-main{padding:24px 18px}.header-actions #connect-header{max-width:160px;overflow:hidden;text-overflow:ellipsis;padding:0 10px;font-size:11px}.surface{padding:16px}.stat-grid{gap:7px}.stat-grid strong{font-size:21px}.stat-grid span{font-size:9px}.strategy-note{flex-direction:column;gap:6px}.holding{grid-template-columns:minmax(0,1fr) 95px 90px;font-size:11px}.coming-soon{min-height:55vh}}
@media(max-width:650px){.form-grid{grid-template-columns:1fr}.form-grid label:last-child{grid-column:auto}}

.position-realized{color:var(--muted);font-size:11px}.top-actions #pulse-alerts:empty{display:none}.top-actions #pulse-alerts{order:1}.top-actions #connect-header{order:2}

/* Apply existing V2 action surfaces to the new account forms. */
.product-main>[data-panel]:not([data-panel=pulse]) button,dialog button{border:1px solid var(--line2);border-radius:7px;background:#092032;color:#c3d9ee;padding:9px 13px;font-size:12px}.product-main>[data-panel]:not([data-panel=pulse]) button.primary,dialog button.primary{background:linear-gradient(120deg,#ffab42,#ff922c);border-color:#ffaf55;color:#1b1006;font-weight:800}.product-main>[data-panel]:not([data-panel=pulse]) button:hover,dialog button:hover{border-color:#5883a2}.product-main .wallet-option{width:100%;display:flex;align-items:center;gap:16px;text-align:left}.product-main .wallet-option>span:last-child{margin-left:auto}.product-main .wallet-actions button{padding:8px 5px;font-size:11px}.product-main .vault-note li span{display:block}.product-main .vault-main>p{max-width:62ch}

/* Bind the product renderer to the same six-card V2 layout. */
.bastion .signal-identity-match{background:#103629!important;border-color:#3ba987!important}.bastion .signal-identity-match .project b{color:#a0f3c8}.bastion .signal-supply-holo{background:linear-gradient(110deg,#123943,#382344,#20473c)!important;border-color:#9bdddf!important}
.bastion .signal-dev-buy{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(108deg,#082b2a,#0c4237 55%,#08251f)!important;border-color:#3dcc9c!important;box-shadow:inset 0 0 0 1px #69f5c028!important}.bastion .signal-dev-buy:before{content:'◆';position:absolute;z-index:-1;left:8%;top:42%;color:#7dffd2;font-size:7px;text-shadow:58px -18px 0 #31d397,138px 12px 0 #92ffe0,246px -10px 0 #3adca3,352px 15px 0 #78f4c8;filter:drop-shadow(0 0 4px #4cf0b8);opacity:.65;pointer-events:none;animation:dev-buy-sapphires 5.8s ease-in-out infinite}.bastion .signal-dev-buy:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(115deg,transparent 20%,#7bffd014 42%,transparent 58%);background-size:220% 100%;pointer-events:none;animation:dev-buy-sheen 7s ease-in-out infinite}.bastion .signal-dev-buy .project b{color:#baffdf;text-shadow:0 0 12px #4debb04d}.bastion .signal-dev-buy>*{position:relative;z-index:1}
.bastion .signal-dev-rebuy{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(108deg,#1a0c2d,#3a1956 55%,#211038)!important;border-color:#a86af0!important;box-shadow:inset 0 0 0 1px #ddb5ff2c!important}.bastion .signal-dev-rebuy:before{content:'◆';position:absolute;z-index:-1;left:8%;top:42%;color:#e3b9ff;font-size:7px;text-shadow:58px -18px 0 #985ddd,138px 12px 0 #eccbff,246px -10px 0 #b775ef,352px 15px 0 #d8a4ff;filter:drop-shadow(0 0 5px #a960e8);opacity:.7;pointer-events:none;animation:dev-buy-sapphires 5.8s ease-in-out infinite}.bastion .signal-dev-rebuy:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(115deg,transparent 20%,#d8a7ff18 42%,transparent 58%);background-size:220% 100%;pointer-events:none;animation:dev-buy-sheen 7s ease-in-out infinite}.bastion .signal-dev-rebuy .project b{color:#efd4ff;text-shadow:0 0 12px #bd7cf05c}.bastion .signal-dev-rebuy>*{position:relative;z-index:1}

/* Match the V2 selected Token tab and compact side-panel controls. */
.reference-side-tabs{display:flex;align-items:center;gap:4px;min-height:36px;margin:0 0 8px}.reference-side-tabs .side-panel-label{display:inline-flex;align-items:center;justify-content:center;align-self:stretch;min-height:36px;padding:8px 14px;border:1px solid #a97029;border-radius:7px;background:rgba(255,158,45,.14);color:#ffb449;font-size:12px;font-weight:700;line-height:18px}.reference-side-tabs #hide-inspector,#show-inspector{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:5px 10px;border:1px solid #2e526a;border-radius:7px;background:#092032;color:#bad7ea;font-family:var(--sans);font-size:11px;font-weight:600;line-height:20px;cursor:pointer}.reference-side-tabs #hide-inspector{margin-left:auto}.reference-side-tabs #hide-inspector:hover,#show-inspector:hover{background:#102c45;border-color:#49779b;color:#fff}.reference-layout-tools{display:flex;justify-content:flex-end}.reference-side-tabs #hide-inspector:focus-visible,#show-inspector:focus-visible{outline:2px solid #ffb34a;outline-offset:2px}
/* Position sell controls stay within the same dark trading surface. */
[data-position-sell]{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px;margin-top:14px}[data-position-sell] label{display:grid;gap:7px;color:var(--muted);font-size:11px;flex:1;min-width:140px}[data-position-sell] input{width:100%;min-height:38px;padding:9px 11px;border:1px solid #2a4b65;border-radius:7px;background:#061525;color:#e3f0ff;font:12px var(--sans)}[data-position-sell] input:focus-visible{outline:2px solid #ffb34a;outline-offset:2px}.product-main [data-position-sell] button{min-height:38px;padding:9px 13px;border:1px solid #a95864;background:#341a25;color:#ffb0be;border-radius:7px;font-size:12px}.product-main [data-position-sell] button:hover{border-color:#dd7588;background:#472331;color:#ffe0e5}@media(max-width:760px){.reference-side-tabs #hide-inspector,#show-inspector{min-height:40px}.reference-side-tabs .side-panel-label{min-height:40px}[data-position-sell] input{font-size:16px}}


/* The public Home restores the full station hero instead of the compact workspace strip. */
.product-build-note{position:absolute;top:50%;left:50%;margin:0;transform:translate(-50%,-50%);color:#f3f7fb;font-size:11px;font-weight:600;letter-spacing:.04em;white-space:nowrap;opacity:.78}.product-build-note::before{content:'';display:inline-block;width:5px;height:5px;margin:0 8px 1px 0;border-radius:50%;background:#ffae36;box-shadow:0 0 8px rgba(255,174,54,.55)}@media(max-width:1240px){.product-build-note{display:none}}

/* Desktop refinement: keep the dense market workspace calm, legible and keyboard friendly. */
::selection{background:#1f6787;color:#fff}.product-main :is(a,button,summary,input,select,textarea):focus-visible{outline:2px solid #ffb34a;outline-offset:2px}.product-main :is(button,summary,select){touch-action:manipulation}.product-main :is(.terminal-table-head,.terminal-market-row,.reference-metrics,.dialog-metrics){font-variant-numeric:tabular-nums}.product-main :is(button,a)[aria-disabled=true],.product-main button:disabled{cursor:not-allowed;opacity:.48}

@media(min-width:1241px){.product-header>.product-build-note{top:31px;left:50%;transform:translate(-50%,-50%);font-size:10px;letter-spacing:.025em;opacity:.72}}
@media(min-width:1241px) and (max-width:1499px){.product-header{padding-bottom:17px}.product-header>.product-build-note{top:auto;bottom:4px;left:50%;transform:translateX(-50%);font-size:9px}}

@media(min-width:1051px){.product-market{gap:12px}.reference-layout-tools{height:0;position:relative;z-index:6}.reference-layout-tools #show-inspector{position:absolute;top:17px;right:10px;min-height:32px}.product-market.inspector-hidden{margin-top:8px}.product-market.inspector-hidden .pulse-reference .terminal-mobile-tabs{padding-right:118px}}

.reference-side-tabs{min-height:32px;margin-bottom:6px}.reference-side-tabs .side-panel-label{min-height:32px;padding:5px 3px;border:0;background:transparent;color:#9db8cc;font-size:10px;letter-spacing:.08em;text-transform:uppercase}.reference-side-tabs #hide-inspector{min-height:30px;padding:4px 9px;background:transparent;border-color:#27475d;color:#9db9cb}.reference-side-tabs #hide-inspector:hover{background:#0d2639;border-color:#426c88}

@media(hover:hover){.pulse-reference .terminal-market-row:not(.terminal-dev-sold):not(.terminal-dev-buy):not(.terminal-dev-rebuy):hover{background:#0a2032}}
.ai-review-badge{display:inline-flex;align-items:center;width:max-content;margin:3px 0 0;padding:2px 5px;border:1px solid #ffffff2c;border-radius:4px;background:#090a0bd9;color:#f1f3f4;font-size:8px;font-weight:800;line-height:1.2;letter-spacing:.055em;white-space:nowrap}.ai-review-badge.positive{border-color:#54d8a56b;color:#8ff0c7}.ai-review-badge.negative{border-color:#ee6b7c70;color:#ff9cab}.terminal-name>.ai-review-badge{margin:0 2px}.ai-review-evidence{margin-top:14px;padding-top:12px;border-top:1px solid #3b3d40}.ai-review-evidence a{color:#cfd3d6}

.app-startup-notice{position:fixed;z-index:10000;inset:auto 16px 24px;max-width:420px;margin:auto;padding:20px;border:1px solid #57666b;border-radius:12px;background:#101517;color:#eaf4f7;box-shadow:0 12px 48px #0009;font:14px/1.5 system-ui,sans-serif}.app-startup-notice strong{font-size:17px}.app-startup-notice p{margin:8px 0 16px}.app-startup-notice button{padding:10px 18px;border:1px solid #78ecd6;border-radius:7px;background:#17332f;color:#fff;cursor:pointer}
/* Pulse side panel follows the page: while News or any lane scrolls, the open token stays in view. A token taller than the
   window scrolls inside the panel. Dev-state cards keep this too; their decorations are positioned inside #detail. */
@media(min-width:1051px){
 .product-market>.product-inspector:not(#_){position:sticky;top:12px;align-self:start;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain}
}

/* Wallet picker: availability badges and the NEAR Connect wallets (public/wallet-options.js). */
.wallet-option b+.wallet-state{display:inline-block;margin-left:8px;padding:2px 7px;border:1px solid #2f5268;border-radius:999px;color:#8eadc3;font-size:10px;font-style:normal;font-weight:700;line-height:1.3;vertical-align:2px}
.wallet-option[data-wallet-state=installed] .wallet-state,.wallet-option[data-wallet-state=ready] .wallet-state{border-color:#376954;color:#78d5ae}
.wallet-group-label{margin:22px 0 4px!important;color:#8eadc3!important;font-size:11px!important;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.wallet-group-label small{margin-left:6px;color:#63889e;font-weight:500;letter-spacing:0;text-transform:none}
.wallet-more{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0 4px}
.wallet-more .wallet-option{margin:0;padding:12px;gap:12px;min-width:0}
.wallet-more .wallet-option>span:nth-child(2){min-width:0}
.wallet-more .wallet-option b{font-size:13.5px}
.wallet-more .wallet-option small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wallet-more .wallet-glyph{flex:none;width:36px;height:36px;border-radius:10px;font-size:14px;letter-spacing:-.02em}
.wallet-glyph-intear-wallet{background:#0079fb;color:#fff}.wallet-glyph-mynearwallet{background:#ffd447;color:#1b1406}.wallet-glyph-nightly-wallet{background:linear-gradient(135deg,#6067f9,#2f2a8c);color:#fff}.wallet-glyph-okx-wallet{background:#0b0b0b;color:#fff;border:1px solid #3a3a3a}.wallet-glyph-near-mobile{background:#1b66ff;color:#fff}.wallet-glyph-ledger{background:#f5f5f5;color:#111}
@media(max-width:560px){.wallet-more{grid-template-columns:minmax(0,1fr)}.wallet-more .wallet-option small{white-space:normal}}

/* /position-analytics.css */

.position-lifetime{margin:24px 0}.lifetime-empty{display:grid;gap:5px;padding:20px;border-radius:14px;background:#081b29;box-shadow:0 18px 50px #00000030}.lifetime-empty span{color:#88a6ba;font-size:11px}
.lifetime-columns{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,.75fr);gap:16px;margin-top:16px}.lifetime-panel{min-width:0;padding:18px;border-radius:15px;background:linear-gradient(145deg,#0a1f2d,#06141e);box-shadow:0 20px 56px #00000035}.lifetime-panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.lifetime-panel h3{margin:0;font-size:15px}.lifetime-panel>header span{color:#88a6b9;font-size:10px}.lifetime-project-list,.recent-trade-list{max-height:540px;overflow:auto;scrollbar-width:thin}.lifetime-project,.recent-trade{width:100%;border:0;border-bottom:1px solid #ffffff0a;background:transparent;color:#dcebf3;cursor:pointer}.lifetime-project{display:grid;grid-template-columns:38px minmax(0,1fr) minmax(180px,.9fr);gap:11px;align-items:center;padding:11px 5px;text-align:left}.lifetime-project:hover,.recent-trade:hover{background:#ffffff07}.lifetime-project img{width:38px;height:38px;border-radius:9px;object-fit:cover}.lifetime-project span{min-width:0}.lifetime-project b,.lifetime-project small,.recent-trade b,.recent-trade small{display:block}.lifetime-project small,.recent-trade small{color:#89a6b8;font-size:9px;line-height:1.45}.lifetime-project .lifetime-flow{text-align:right}.lifetime-flow b{margin-top:4px;font-size:11px;font-variant-numeric:tabular-nums}.lifetime-flow b.positive{color:#57e4ad}.lifetime-flow b.negative{color:#ff7b91}.lifetime-flow em{font-style:normal;font-size:9px;opacity:.8}.recent-trade{display:grid;grid-template-columns:45px minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 4px;text-align:left}.recent-trade>span:last-child{text-align:right}.trade-side{display:grid;place-items:center;min-height:26px;border-radius:6px;font-size:9px;font-weight:800;text-transform:uppercase}.trade-side.buy{background:#123c31;color:#78e7ba}.trade-side.sell{background:#49202c;color:#ff9bac}

.position-table{padding:18px;background:#051521}.position-table>.section-title{margin-bottom:14px}
.position-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;width:100%;max-width:1340px;margin:0 auto;border:0!important;border-radius:0!important;overflow:visible!important;background:transparent!important}
.position-card-grid>.empty-product{grid-column:1/-1}
.position-card{position:relative;display:flex;flex-direction:column;min-width:0;aspect-ratio:1/1;padding:18px;border:0;border-radius:14px;background:radial-gradient(circle at 90% 0,#16425a55,transparent 35%),linear-gradient(150deg,#0a2031,#05131f 70%);box-shadow:0 20px 55px #00000038,inset 0 1px #ffffff0c;overflow:hidden}
.position-card.position-profit{background:radial-gradient(circle at 92% 0,#1d765f55,transparent 37%),linear-gradient(150deg,#092b2b,#061821 68%);box-shadow:0 20px 55px #001b143d,inset 0 1px #88f0ce16}
.position-card.position-loss{background:radial-gradient(circle at 92% 0,#7b294455,transparent 37%),linear-gradient(150deg,#271522,#071620 68%);box-shadow:0 20px 55px #23000b3d,inset 0 1px #ff9cb016}
.position-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.position-card .position-identity{min-width:0}.position-card .position-identity img{width:46px;height:46px;flex:0 0 46px;border-radius:11px}.position-card .position-identity span{min-width:0}.position-card .position-identity b{font-size:15px}.position-card .position-identity small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.position-inspect-icon{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border:1px solid #34566d;border-radius:9px;background:#0a2232;color:#cdeaff;font-size:16px;cursor:pointer}.position-inspect-icon:hover{border-color:#70d6f5;background:#102f42}
.position-card-value{padding:18px 0 14px}.position-card-value small,.position-card-value span{display:block;color:#8facc0;font-size:10px}.position-card-value strong{display:block;margin:4px 0 2px;color:#f3f8fb;font-size:clamp(24px,2.1vw,34px);line-height:1.1;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.position-card-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px 16px;margin:0;padding:14px 0;border-block:1px solid #254155}.position-card-metrics div{min-width:0}.position-card-metrics dt,.position-card-metrics small{display:block;color:#8ca9bc;font-size:9px;line-height:1.35}.position-card-metrics dd{margin:4px 0 0;color:#e3f0f7;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.position-card-metrics dd.positive{color:#4ee2ac}.position-card-metrics dd.negative{color:#ff7890}
.position-links{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:14px 0 12px}.position-links a{display:flex;align-items:center;min-height:30px;padding:5px 8px;border:1px solid #2d4d62;border-radius:6px;background:#081a28;color:#b9d3e3;text-decoration:none;font-size:10px;font-weight:650}.position-links a:hover{border-color:#67caea;color:#e8f8ff}.position-links .position-link-dex{border-color:#8c7422;background:#28230f;color:#ffe784}
.position-quick-sell{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:auto}.position-quick-sell button{min-height:38px;border:1px solid #8e4a28;border-radius:7px;background:#261810;color:#ffc58d;font-size:11px;font-weight:750;cursor:pointer}.position-quick-sell button:first-child{grid-column:1/-1;background:linear-gradient(100deg,#ffab43,#ff8d2a);border-color:#ffb75d;color:#1b1209}.position-quick-sell button:hover{filter:brightness(1.08)}.position-quick-sell button:focus-visible,.position-links a:focus-visible,.position-inspect-icon:focus-visible{outline:2px solid #72dcff;outline-offset:2px}
.position-readonly{margin-top:auto;padding:10px 12px;border:1px solid #2f5870;border-radius:7px;background:#0a2030;color:#9dc4d8;font-size:11px;text-align:center}
.position-valuation{margin:9px 0 0;color:#7597ab;font-size:9px;line-height:1.35}
@media(max-width:1180px){.position-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.position-card{aspect-ratio:auto;min-height:430px}.lifetime-columns{grid-template-columns:1fr}}
@media(max-width:760px){.position-table{padding:12px}.position-card-grid{grid-template-columns:1fr;gap:12px}.position-card{aspect-ratio:auto;min-height:0;padding:16px}.position-card-value{padding-block:15px 12px}.position-card-value strong{font-size:29px}.position-links a{min-height:38px;padding-inline:10px}.position-quick-sell button{min-height:46px}.position-inspect-icon{width:44px;height:44px;flex-basis:44px}.lifetime-columns{grid-template-columns:1fr}.lifetime-panel{padding:14px}.lifetime-project{grid-template-columns:38px minmax(0,1fr);min-height:64px}.lifetime-project .lifetime-flow{grid-column:1/-1;text-align:left;padding-left:49px}.recent-trade{min-height:58px}}

/* Keep the lifetime summary first, then surface active holdings before history. */
[data-panel="positions"]:not([hidden]){display:flex;flex-direction:column}
:is([data-panel="positions"],.positions-docked) .position-lifetime{display:contents}
:is([data-panel="positions"],.positions-docked) .lifetime-empty{order:1;margin:24px 0}
:is([data-panel="positions"],.positions-docked) .position-realized{order:2}
:is([data-panel="positions"],.positions-docked) .position-table{order:3}
:is([data-panel="positions"],.positions-docked) .lifetime-columns{order:4;margin-top:24px}

/* Holdings are the surface: no enclosing panel, no fixed-square clipping. */
.holdings-order-note{margin:6px 0 0;font-size:11px;line-height:1.5;color:var(--muted)}
:is([data-panel="positions"],.positions-docked) .surface.position-table{padding:0;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important}
:is([data-panel="positions"],.positions-docked) #holdings.position-card-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:12px;max-width:none;max-height: min(760px,75vh);margin:0;padding:2px 8px 8px 2px;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-y:contain;scrollbar-gutter:stable;background:transparent!important;box-shadow:none!important;align-items:stretch}
:is([data-panel="positions"],.positions-docked) #holdings:focus-visible{outline:2px solid var(--cyan,#72dcff);outline-offset:4px}
:is([data-panel="positions"],.positions-docked) .position-card{aspect-ratio:auto;min-height:0;padding:16px;overflow:visible;border-radius:12px}
:is([data-panel="positions"],.positions-docked) .position-card-head{align-items:center;gap:8px}
:is([data-panel="positions"],.positions-docked) .position-card .position-identity{display:flex;align-items:center;gap:10px;min-width:0;overflow:hidden}
:is([data-panel="positions"],.positions-docked) .position-card .position-identity>span{display:grid;gap:4px;min-width:0}
:is([data-panel="positions"],.positions-docked) .position-card .position-identity b,:is([data-panel="positions"],.positions-docked) .position-card .position-identity small{display:block;margin:0;min-width:0}
:is([data-panel="positions"],.positions-docked) .position-card .position-identity img{width:36px;height:36px;flex-basis:36px;border-radius:8px}
:is([data-panel="positions"],.positions-docked) .position-card .position-identity b{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:is([data-panel="positions"],.positions-docked) .position-card .position-identity small{font-size:10px}
:is([data-panel="positions"],.positions-docked) .position-inspect-icon{width:36px;height:36px;flex-basis:36px}
:is([data-panel="positions"],.positions-docked) .position-card-value{padding:12px 0}
:is([data-panel="positions"],.positions-docked) .position-card-value strong{font-size:28px;line-height:1.15;white-space:nowrap}
:is([data-panel="positions"],.positions-docked) .position-card-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;padding:12px 0}
:is([data-panel="positions"],.positions-docked) .position-card-metrics dd{font-size:11px;line-height:1.4;overflow-wrap:anywhere}
:is([data-panel="positions"],.positions-docked) .position-card-metrics dt,:is([data-panel="positions"],.positions-docked) .position-card-metrics small{font-size:10px}
:is([data-panel="positions"],.positions-docked) .position-links{gap:4px;margin:12px 0}
:is([data-panel="positions"],.positions-docked) .position-links a{min-height:30px;padding:5px 7px;font-size:9px}
:is([data-panel="positions"],.positions-docked) .position-quick-sell{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding-top:4px}
:is([data-panel="positions"],.positions-docked) .position-quick-sell button{min-height:36px;padding:6px;font-size:10px;white-space:nowrap}
:is([data-panel="positions"],.positions-docked) .position-quick-sell button:first-child{grid-column:auto}
:is([data-panel="positions"],.positions-docked) .position-valuation{font-size:10px;line-height:1.5;margin-top:10px}
@media(min-width:1600px){:is([data-panel="positions"],.positions-docked) #holdings.position-card-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:600px){:is([data-panel="positions"],.positions-docked) #holdings.position-card-grid{grid-template-columns:1fr;max-height:72vh;padding-right:6px}:is([data-panel="positions"],.positions-docked) .position-links a,:is([data-panel="positions"],.positions-docked) .position-quick-sell button,:is([data-panel="positions"],.positions-docked) .position-inspect-icon{min-height:44px}:is([data-panel="positions"],.positions-docked) .position-inspect-icon{width:44px;flex-basis:44px}}
/* The page title already names Positions; the lifetime P&L card is the first block, with no extra space above it. */
:is([data-panel="positions"],.positions-docked) .position-lifetime,:is([data-panel="positions"],.positions-docked) .lifetime-empty{margin-top:0}
/* Voluntary burn stays separate from sale shortcuts. */
:is([data-panel="positions"],.positions-docked) .position-burn{width:100%;min-height:38px;margin-top:8px;border:1px solid #75414b;border-radius:7px;background:#211418;color:#ffb4bd;font:inherit;font-size:12px;cursor:pointer}
:is([data-panel="positions"],.positions-docked) .position-burn:hover{background:#382027}
.position-burn:focus-visible,.burn-dialog button:focus-visible,.burn-dialog input:focus-visible{outline:2px solid #72dcff;outline-offset:2px}
.burn-dialog{width:min(480px,calc(100vw - 32px));box-sizing:border-box;max-height:90vh;overflow:auto}
.burn-dialog p,.execution-review dd{overflow-wrap:anywhere}
.burn-dialog label{display:block;margin:18px 0 8px}
.burn-amount-row{display:flex;gap:8px}.burn-amount-row input{min-width:0;flex:1;padding:12px;background:#0c0f12;color:#f7f7f5;border:1px solid #56616c;border-radius:6px;font:inherit}
.burn-amount-row button,.burn-dialog button{min-height:44px}
.burn-warning,#burn-amount-error{color:#ffb4bd}#burn-amount-error{min-height:1.4em;font-size:13px}
@media(max-width:600px){:is([data-panel="positions"],.positions-docked) .position-burn{min-height:44px}}

/* /mobile-polish.css */
@media(max-width:760px){
  .rail nav{--tab-label:var(--fs-xs)}
  .rail nav{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:2px;overflow:visible!important}
  .rail nav button{width:auto!important;min-width:0!important;flex:none!important;padding-inline:2px!important}
  .rail nav button>span{font-size:var(--tab-label)!important;white-space:nowrap}
  .pulse-reference .terminal-toolbar{display:grid;gap:10px;padding:12px}
  .pulse-reference .terminal-source{display:grid!important;grid-template-columns:minmax(0,1fr) 145px;gap:8px;width:100%}
  .pulse-reference .terminal-source input,.pulse-reference .terminal-source select{width:100%!important;min-width:0;min-height:44px}
  .pulse-reference .terminal-toolbar-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;margin:0}
  .pulse-reference .terminal-toolbar-actions>*{min-width:0;min-height:44px!important;padding-inline:5px!important}
  .pulse-reference .terminal-health{padding:0 12px 12px;line-height:1.55}
  .pulse-reference .terminal-market-row,.pulse-reference.terminal-compact .terminal-market-row,.pulse-reference.terminal-table .terminal-market-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 92px!important;gap:10px 12px!important;padding:14px 12px!important;min-height:0!important}
  .pulse-reference .terminal-market-row .terminal-token-main{grid-column:1/3!important;grid-row:1!important;align-self:start}
  .pulse-reference .terminal-market-row .terminal-artwork{flex-basis:48px}.pulse-reference .terminal-market-row .terminal-artwork button{width:48px;height:48px}
  .pulse-reference .terminal-market-row .ticket-order{grid-column:3!important;grid-row:1/3!important;align-self:start}
  .pulse-reference .terminal-market-row .terminal-values>.terminal-buy-controls:not(.terminal-flow){width:92px}
  .pulse-reference .terminal-market-row .ticket-price-box>span:first-child{grid-column:1!important;grid-row:2!important;text-align:left}.pulse-reference .terminal-market-row .ticket-price-box>span:last-child{grid-column:2!important;grid-row:2!important;text-align:right}
  .pulse-reference .terminal-market-row .ticket-stats>span:nth-child(1){grid-column:1!important;grid-row:3!important;text-align:left}.pulse-reference .terminal-market-row .ticket-stats>span:nth-child(2){grid-column:2!important;grid-row:3!important;text-align:right}.pulse-reference .terminal-market-row .ticket-stats>span:nth-child(3){grid-column:3!important;grid-row:3!important;text-align:right;display:block!important}
  .pulse-reference .ticket-market small{display:block!important;margin-bottom:3px;color:#91adbf;font-size:10px!important}
  .pulse-reference .terminal-market-row .ticket-footer{grid-column:1/-1!important;grid-row:4!important;display:flex!important;flex-wrap:wrap!important;gap:7px!important;padding:10px 0 0!important;border-top:1px solid #264054;overflow:visible!important}
  .pulse-reference .ticket-footer .terminal-socials{flex-wrap:wrap!important}.pulse-reference .ticket-footer .terminal-row-actions{margin-left:0!important}
  .pulse-reference .terminal-market-row .terminal-expanded-research{grid-column:1/-1!important;grid-row:5!important;padding:0!important}
  .pulse-reference .terminal-market-row .terminal-buy-controls>.terminal-buy{min-height:46px!important}.pulse-reference .terminal-market-row .terminal-quick-presets>button{min-height:40px!important}
  .pulse-reference .terminal-market-row .terminal-project-links{margin-left:0;flex-wrap:wrap}
}
@media(max-width:390px){
  .pulse-reference .terminal-source{grid-template-columns:1fr 128px}
  .pulse-reference .terminal-toolbar-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pulse-reference .terminal-market-row,.pulse-reference.terminal-compact .terminal-market-row,.pulse-reference.terminal-table .terminal-market-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 82px!important;gap-inline:8px!important}
  .pulse-reference .terminal-market-row .terminal-values>.terminal-buy-controls:not(.terminal-flow){width:82px}
}

/* Mobile workspace: preserve the dense terminal while making every primary action
   reachable, readable and safe around notches and the browser home indicator. */
@media(max-width:760px){
  html{overflow-x:hidden;scroll-padding-bottom:calc(88px + env(safe-area-inset-bottom))}
  body{min-width:320px;overflow-x:hidden;padding-bottom:calc(78px + env(safe-area-inset-bottom))}
  .product-main{padding-right:max(12px,env(safe-area-inset-right));padding-left:max(12px,env(safe-area-inset-left))}

  .rail{padding-right:max(6px,env(safe-area-inset-right));padding-left:max(6px,env(safe-area-inset-left));box-shadow:0 -12px 32px #0008}
  .rail nav{grid-template-columns:repeat(6,minmax(52px,1fr));overflow-x:auto!important;overscroll-behavior-x:contain;scrollbar-width:none}
  .rail nav::-webkit-scrollbar{display:none}
  .rail nav button{min-height:56px!important;touch-action:manipulation}
  .rail nav button>svg{width:20px!important;height:20px!important}
  .rail nav button>span{font-size:var(--tab-label)!important;line-height:1.1;letter-spacing:-.01em}
  /* Labels too long for a phone column show their short form; the button keeps the full name for screen readers. */
  .rail nav button>span[data-short]{font-size:0!important;letter-spacing:0}
  .rail nav button>span[data-short]:after{content:attr(data-short);content:attr(data-short)/"";font-size:var(--tab-label);letter-spacing:-.01em}

  .product-header,.topbar:has(.reference-top-nav){height:auto;min-height:118px;padding-top:max(9px,env(safe-area-inset-top));align-content:center}
  /* The header is as tall as its content. Hoot keeps room on Home for the owl peeking over the ticker. */
  html[data-theme=hoot] .product-header:not([data-view=home]){min-height:0;padding-bottom:8px}
  /* In the Telegram Mini App the body already clears the status bar and Telegram's own controls (--mini-safe-top), so the
     header must not add the device inset again. */
  html.telegram-mini-app :is(.product-header,.topbar:has(.reference-top-nav)){padding-top:8px}
  .product-header>div:first-child{min-width:0}
  .product-header h1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .product-header p{max-width:30ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .product-header>.product-build-note{display:block;top:62px;left:12px;max-width:calc(100% - 24px);transform:none;color:#b9cad8;font-size:9px;line-height:12px;letter-spacing:.015em}
  .header-actions{flex:0 0 auto}
  .header-actions #connect-header{width:40px;min-width:40px;height:40px;padding:0;font-size:0}
  .header-actions #connect-header i{margin:0}
  .header-actions .icon-button{min-width:40px;min-height:40px}
  .reference-top-nav{order:3;flex:1 0 100%;height:42px!important;margin-top:16px}
  .reference-top-nav button{min-height:42px;font-size:12px}

  #ticker{margin-right:calc(-1 * max(12px,env(safe-area-inset-right)));margin-left:calc(-1 * max(12px,env(safe-area-inset-left)))}

  
  
  

  .pulse-reference,.pulse-reference *{min-width:0}
  .pulse-reference .terminal-toolbar{padding-inline:10px}
  .pulse-reference .terminal-source{grid-template-columns:minmax(0,1fr) minmax(118px,38%)}
  .pulse-reference .terminal-toolbar-actions button{white-space:normal;line-height:1.15}
  .pulse-reference .terminal-health{overflow-wrap:anywhere}
  .pulse-reference .terminal-market-row .terminal-token-main{overflow:hidden}
  .pulse-reference .terminal-market-row .terminal-token-main b,
  .pulse-reference .terminal-market-row .terminal-token-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .pulse-reference .terminal-market-row .ticket-market{font-variant-numeric:tabular-nums}
  .pulse-reference .ticket-footer{font-size:11px;line-height:1.45}
  .pulse-reference .ticket-footer button,
  .pulse-reference .ticket-footer a{min-height:40px}
  .pulse-reference .terminal-row-actions button{min-width:40px}

  .product-inspector,.reference-side-shell{max-width:none}
  .reference-side-shell{right:max(8px,env(safe-area-inset-right));left:max(8px,env(safe-area-inset-left));bottom:calc(78px + env(safe-area-inset-bottom));border-radius:14px}
  .reference-side-tabs{min-height:48px}
  .reference-side-tabs button{min-width:44px;min-height:44px}

  .section-head{gap:9px}
  .section-head h2{font-size:22px!important;line-height:1.2}
  .section-head p{font-size:12px;line-height:1.5}
  

  .position-table{margin-inline:-2px;padding:10px;border-radius:14px}
  .position-card-grid{gap:18px}
  .position-card{padding:15px;border-radius:14px}
  .position-card-head{gap:10px}
  .position-card .position-identity{display:flex;align-items:center;gap:10px;overflow:hidden}
  .position-card .position-identity img{width:42px;height:42px;flex-basis:42px}
  .position-card .position-identity b{font-size:14px}
  .position-card-value{padding:13px 0 11px}
  .position-card-value strong{font-size:27px}
  .position-card-metrics{gap:11px 13px;padding:12px 0}
  .position-links{margin:11px 0 10px;gap:7px}
  .position-links a{min-height:44px;padding-inline:11px}
  .position-quick-sell{gap:8px}
  .position-quick-sell button{min-height:46px}
  
  .lifetime-panel{border-radius:14px}
  .lifetime-project-list,.recent-trade-list{max-height:none}

  .vault-layout{border-radius:14px}
  .product-main .vault-main,.vault-note{padding:24px 18px}
  .wallet-option{min-height:58px}

  dialog{inset:auto 8px max(8px,env(safe-area-inset-bottom));width:auto;max-width:none;max-height:calc(100dvh - max(16px,env(safe-area-inset-top)) - max(16px,env(safe-area-inset-bottom)));margin:0;border-radius:14px}
  dialog button,dialog a{min-height:44px}
}

@media(max-width:380px){
  .product-main{padding-inline:10px}
  .product-header #page-subtitle{display:none}
  .product-header>.product-build-note{top:41px}
  .product-header,.topbar:has(.reference-top-nav){min-height:108px}
  .reference-top-nav{margin-top:10px}
  .rail nav{grid-template-columns:repeat(6,minmax(50px,1fr))}
  .pulse-reference .terminal-source{grid-template-columns:1fr}
  .pulse-reference .terminal-market-row,.pulse-reference.terminal-compact .terminal-market-row,.pulse-reference.terminal-table .terminal-market-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 78px!important;padding-inline:10px!important}
  .pulse-reference .terminal-market-row .terminal-values>.terminal-buy-controls:not(.terminal-flow){width:78px}
  .position-card-metrics{grid-template-columns:1fr}
}

@media(max-width:760px) and (orientation:landscape) and (max-height:520px){
  body{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
  .rail{min-height:60px;padding-top:3px;padding-bottom:calc(3px + env(safe-area-inset-bottom))}
  .rail nav button{min-height:52px!important}
  .reference-side-shell{bottom:calc(66px + env(safe-area-inset-bottom))}
}

@media(pointer:coarse){
  button,a,input,select,summary{touch-action:manipulation}
  .pulse-reference button,.position-card button,.position-card a{min-height:44px}
  .pulse-reference .terminal-market-row{touch-action:pan-y;-webkit-touch-callout:none}
  .pulse-reference .terminal-market-row img{-webkit-user-drag:none;user-select:none}
  .pulse-reference .terminal-project-links,.pulse-reference .terminal-socials,.pulse-reference .terminal-row-actions,.pulse-reference .ticket-order{position:relative;z-index:6;pointer-events:auto}
  .pulse-reference .terminal-project-links a,.pulse-reference .terminal-socials a,.pulse-reference .terminal-row-actions a,.pulse-reference .terminal-row-actions button,.pulse-reference .ticket-order a,.pulse-reference .ticket-order button{pointer-events:auto;touch-action:manipulation;-webkit-touch-callout:default}
}

/* Telegram reserves space for its system controls, including fullscreen. */
html.telegram-mini-app body{padding-top:var(--mini-safe-top,0px);padding-left:var(--mini-safe-left,0px);padding-right:var(--mini-safe-right,0px)}
@media(max-width:760px){
 .terminal-holder-filters button[data-holder-tier] b,.terminal-holder-filters button[data-holder-tier] small{display:none!important}
 .terminal-holder-filters{gap:4px!important;flex-wrap:wrap}
 .terminal-holder-filters button[data-holder-tier]{min-width:36px;min-height:44px;padding:4px 8px!important}
 .terminal-holder-filters button[data-holder-tier] span{font-size:19px}
 html.telegram-mini-app .rail{padding-bottom:max(env(safe-area-inset-bottom),var(--mini-safe-bottom,0px))}
}

.mobile-scroll-top{display:none}
@media(max-width:760px){.mobile-scroll-top:not([hidden]){display:grid;place-items:center;position:fixed;z-index:50;right:14px;bottom:calc(88px + max(env(safe-area-inset-bottom),var(--mini-safe-bottom,0px)));width:44px;height:44px;padding:0;border:1px solid #ffffff35;border-radius:50%;background:#171b1a;color:#85ebc7;font-size:25px;box-shadow:0 4px 16px #0005;animation:back-top-hint 3s ease-in-out 3}.mobile-scroll-top:focus-visible{outline:2px solid #85ebc7;outline-offset:3px}}
@keyframes back-top-hint{0%,100%{opacity:1}50%{opacity:.55}}
html[data-performance=light] .mobile-scroll-top,html[data-motion=off] .mobile-scroll-top{animation:none!important}
@media(prefers-reduced-motion:reduce){.mobile-scroll-top{animation:none!important}}

.inline-analysis-hide{display:none}
/* Matches INLINE_ANALYSIS_QUERY in mobile-inline-inspector.js. */
@media(max-width:1050px){
 .product-inspector.mobile-inline-inspector{position:relative!important;inset:auto!important;width:100%!important;max-width:none!important;max-height:none!important;overflow:visible!important;margin:0!important;padding:10px 0!important;z-index:auto!important;box-sizing:border-box}
 .mobile-inline-inspector .reference-side-tabs{display:none!important}
 .mobile-inline-inspector #detail{position:relative!important;top:auto!important;width:100%;max-width:none;margin:0;box-sizing:border-box}
 .mobile-inline-inspector .reference-close{display:grid!important;position:absolute;top:8px;right:8px;z-index:5;width:44px;height:44px}
 .mobile-inline-inspector .reference-token-head{padding-right:38px}
 .mobile-inline-inspector .inline-analysis-hide{display:block;width:100%;min-height:44px;margin-top:8px;background:#101413;color:#e5f5ee;border:1px solid #ffffff26;border-radius:8px}
}
/* The source-health planet is also the settings button; keep it at the right end of the mobile bar instead of under it. */
@media(max-width:760px){
 .rail{display:flex!important;flex-direction:row!important;align-items:center;gap:6px}
 .rail nav{flex:1 1 auto;min-width:0}
 .rail-status.settings-trigger{display:grid!important;place-items:center;flex:none;width:48px;height:48px;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
 .rail-status.settings-trigger>span{display:none!important}
 .rail-status.settings-trigger #source-dot{width:40px!important;height:40px!important;margin:0}
}

/* Mobile keeps the settings control, without planet graphics or video downloads. */
@media(max-width:760px){
 .topbar:before{background-image:none!important}
 .rail-status.settings-trigger #source-dot,.rail-status.settings-trigger #source-dot.live{background:none!important;display:grid!important;place-items:center;color:#b7c8cc}
 .rail-status.settings-trigger #source-dot:before{content:'⚙';display:block;font:26px/1 sans-serif}
}


/* Phones: everything in Pulse sits on one grid.
   Lane tabs: four equal columns, the dot and label centred, a long label wraps to two lines instead of colliding.
   Presets: P1-P3 and Advanced settings share one height.
   Signal Bastion cards: icon | name | price | actions, then Liq and FDV on two lines, then the sparkline with the 24h
   change, so the icon and the chart never cover the figures. */
@media(max-width:760px){
 .pulse-reference .terminal-mobile-tabs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:0!important;padding:0 4px!important}
 .pulse-reference .terminal-mobile-tabs button{display:flex!important;align-items:center;justify-content:center;gap:4px!important;min-width:0!important;min-height:48px!important;padding:6px 2px!important;font-size:11px!important;letter-spacing:-.01em;line-height:1.15!important;text-align:center;white-space:normal!important}
 .pulse-reference .terminal-mobile-tabs button[aria-pressed=true]:after{left:14%!important;right:14%!important}
 .pulse-reference .terminal-toolbar-preset-group>button,.pulse-reference .terminal-toolbar-preset-group>details>summary,.pulse-reference .terminal-advanced-toggle{box-sizing:border-box;height:40px!important;min-height:40px!important;align-self:center}
 .pulse-reference .terminal-toolbar-preset-group{align-self:center}
 .pulse-reference .terminal-advanced-toggle{flex:1 1 auto!important;justify-content:center}

 
 
 
 
 
 
}
/* Touch screens: small controls get a finger-sized hit area (about 40px) without changing their look much. */
@media(pointer:coarse){
 .grad-trade:not(#_){height:36px}
 .grad-close:not(#_){width:36px;height:36px;line-height:36px!important}
 .pnl-periods button:not(#_){min-height:36px}
}

/* Tab bar labels: 11px from tokens.css; 10px only where six 11px labels cannot fit. */
@media(max-width:340px){
  .rail nav{--tab-label:var(--fs-2xs);grid-template-columns:repeat(6,minmax(48px,1fr))}
}

/* /granite-theme.css */
/* Black granite surface system. Loaded last so every card and control shares one material. Its tokens live in tokens.css. */
html,body{background:#030405;color:var(--ink)}body{background:radial-gradient(ellipse at 78% -10%,#202124 0,transparent 34%),linear-gradient(135deg,#030405,#08090a 58%,#030405);color:#f7f7f5}.rail{background:linear-gradient(180deg,#0c0d0f,#050607 72%);border-color:#292b2e;box-shadow:inset -1px 0 rgba(255,255,255,.025)}.topbar:before{background:linear-gradient(90deg,#050607 28%,rgba(5,6,7,.9) 59%,rgba(5,6,7,.58)),url('/assets/home-space/earth-poster.webp') right 32%/850px auto no-repeat;filter:grayscale(.72) contrast(1.08);opacity:.82}.ticker{background:#070809;border-color:#25272a;box-shadow:inset 0 1px rgba(255,255,255,.035),inset 0 -1px #000}
.bastion,.pulse-reference,.product-inspector,.reference-side-shell,.reference-detail,.positions-list,.position-table,.vault-layout,.surface,.lifetime-empty,.lifetime-panel,.alert-drawer,dialog{background:var(--granite-flat)!important;border-color:#303236!important;box-shadow:var(--granite-shadow)!important;color:#f7f7f5}
.bastion .section-head,.reference-side-tabs,.terminal-toolbar,.terminal-table-head,.candle-toolbar,dialog>header,.vault-note,.alert-advanced{background:var(--granite-soft)!important;border-color:#2b2d30!important;color:#f5f5f3}.product-market{background:transparent!important}
.pulse-reference .terminal-token,.pulse-reference .terminal-market-row,.target-card,.position-card,.lifetime-project,.recent-trade,.wallet-option,.pulse-alert-event,.alert-live-card>.pulse-alert-event,.notice{background:var(--granite-raised)!important;border-color:#2d2f32!important;color:#f7f7f5;box-shadow:inset 0 1px rgba(255,255,255,.055),inset 0 -1px rgba(0,0,0,.82)!important}
.pulse-reference .terminal-rows,.token-candle-panel,.reference-candles{background:var(--granite-inset)!important;border-color:#242629!important}.pulse-reference .terminal-market-row:hover,.pulse-reference .terminal-token:hover,.lifetime-project:hover,.recent-trade:hover{background:linear-gradient(145deg,#1a1b1e,#0c0d0f 58%,#131416)!important;border-color:#4b4e52!important}
.pulse-reference .terminal-token.terminal-selected,.pulse-reference .terminal-market-row.terminal-selected{background:var(--granite-raised)!important;box-shadow:inset 2px 0 #e69a43,inset 0 1px rgba(255,255,255,.06)!important}.pulse-reference .terminal-token.terminal-first-match,.pulse-reference .terminal-market-row.terminal-first-match,.bastion .signal-identity-match{background:var(--granite-raised)!important;border-color:#34373a!important;box-shadow:inset 2px 0 #48c895,inset 0 1px rgba(255,255,255,.055)!important}.pulse-reference .terminal-token.terminal-alert-hot,.pulse-reference .terminal-market-row.terminal-alert-hot,.pulse-alert-event.is-fire{background:var(--granite-raised)!important;border-color:#383532!important;box-shadow:inset 2px 0 #f39a46,inset 0 1px rgba(255,255,255,.055)!important}.pulse-reference .terminal-token.terminal-alert-drop,.pulse-reference .terminal-market-row.terminal-alert-drop,.pulse-alert-event.is-drop{background:var(--granite-raised)!important;border-color:#393335!important;box-shadow:inset 2px 0 #e7657c,inset 0 1px rgba(255,255,255,.055)!important}.pulse-reference .terminal-token.terminal-dev-sold{background:var(--granite-raised)!important;border-color:#393033!important;box-shadow:inset 2px 0 #e96079,inset 0 1px rgba(255,255,255,.055)!important}.pulse-reference .terminal-token.terminal-dev-buy,.bastion .signal-dev-buy{background:var(--granite-raised)!important;border-color:#303936!important;box-shadow:inset 2px 0 #43d09b,inset 0 1px rgba(255,255,255,.055)!important}.pulse-reference .terminal-token.terminal-dev-rebuy,.bastion .signal-dev-rebuy{background:var(--granite-raised)!important;border-color:#36313b!important;box-shadow:inset 2px 0 #ae79e7,inset 0 1px rgba(255,255,255,.055)!important}.pulse-reference .terminal-token.terminal-supply-holo,.bastion .signal-supply-holo{background:var(--granite-raised)!important;border-color:#34373a!important;box-shadow:inset 2px 0 #8fb8bf,inset 0 1px rgba(255,255,255,.055)!important}
.pulse-reference .terminal-token.terminal-dev-sold:before,.pulse-reference .terminal-token.terminal-dev-buy:before,.pulse-reference .terminal-token.terminal-dev-rebuy:before,.pulse-reference .terminal-token.terminal-supply-holo:before,.bastion .signal-dev-buy:before,.bastion .signal-dev-rebuy:before{content:'';inset:0;left:0;top:0;width:auto;height:auto;background:radial-gradient(circle at 14% 18%,rgba(255,255,255,.075) 0 1px,transparent 1.5px),radial-gradient(circle at 62% 74%,rgba(255,255,255,.045) 0 1px,transparent 1.5px);background-size:73px 61px,91px 79px;opacity:.55;filter:none;text-shadow:none;animation:none;pointer-events:none}.pulse-reference .terminal-token.terminal-dev-buy:after,.pulse-reference .terminal-token.terminal-dev-rebuy:after,.bastion .signal-dev-buy:after,.bastion .signal-dev-rebuy:after{background:linear-gradient(112deg,transparent 22%,rgba(255,255,255,.05) 42%,transparent 60%);background-size:220% 100%;opacity:.7}
.reference-top-nav,.pulse-reference .terminal-project-links a,.position-links a,.position-quick-sell button,.reference-layout-tools button,.reference-side-tabs button,.alert-controls button,.alert-threshold input,.alert-dock>summary,.icon-button,input:not([type=range]):not([type=checkbox]),select,.secondary,.product-main>[data-panel]:not([data-panel=pulse]) button:not(.primary),dialog button:not(.primary){background:var(--granite-soft)!important;border-color:#373a3e!important;color:#f1f1ef!important;box-shadow:inset 0 1px rgba(255,255,255,.05),inset 0 -1px #000!important}
.reference-top-nav button{background:transparent!important;color:#d6d6d4!important}.reference-top-nav button:hover,.reference-side-tabs button:hover,.position-links a:hover,.position-quick-sell button:hover{background:#17181a!important;color:#fff!important}.reference-top-nav button[aria-pressed=true],.reference-top-nav button[aria-current=page]{background:linear-gradient(180deg,#1b1c1f,#101113)!important;color:#fff!important}.terminal-buy,.primary,.product-main>[data-panel]:not([data-panel=pulse]) button.primary,dialog button.primary{box-shadow:inset 0 1px rgba(255,255,255,.28),0 7px 18px rgba(0,0,0,.24)!important}
h1,h2,h3,h4,.project b,.terminal-name>button:first-child,.ticket-market b,.position-card b,.position-card strong,.lifetime-panel h3{color:#f7f7f5!important;text-shadow:none!important}p,small,dt,.terminal-contract,.ticket-origin,.terminal-health,.terminal-footnote,.position-valuation,.position-card dt,.position-card small,.lifetime-project small,.recent-trade small{color:#aeb0b3!important}.positive,.ticket-market .positive b{color:#51dfae!important}.negative,.ticket-market .negative b{color:#ff7d8e!important}
#toast,.notice{background:var(--granite-raised)!important;border-color:#404348!important;color:#fff!important;box-shadow:0 20px 54px #000a,inset 0 1px rgba(255,255,255,.07)!important}.alert-live-rail .pulse-alert-event,.alert-drawer{backdrop-filter:blur(12px) saturate(.4)}dialog::backdrop{background:rgba(0,0,0,.78);backdrop-filter:blur(7px)}
@media(max-width:760px){.rail{background:linear-gradient(180deg,#111214,#050607)!important;border-color:#303236!important}.topbar:before{filter:grayscale(.82) contrast(1.1);opacity:.7}.product-header>.product-build-note{color:#b6b7b9}}
@media(prefers-reduced-motion:reduce){.pulse-reference .terminal-token:after{animation:none!important}}

/* Verified market states keep their signal color and motion over either base theme. */
.pulse-reference .terminal-token.terminal-dev-sold{background:linear-gradient(105deg,#581425,#2d0c18 65%,#400d1c)!important;border-color:#bc304b!important;box-shadow:inset 0 0 0 1px #bb29494d!important}.pulse-reference .terminal-token.terminal-dev-sold:before{content:'';display:block;position:absolute;inset:0 0 auto;width:100%;height:58px;background:url('/assets/dev-sold-drips.svg') top/100% 58px no-repeat;opacity:.9;pointer-events:none;z-index:-1;animation:none}.pulse-reference .terminal-token.terminal-dev-buy,.bastion .signal-dev-buy{background:linear-gradient(108deg,#082b2a 0%,#0b3d35 48%,#082722 100%)!important;border-color:#3cc89a!important;box-shadow:inset 0 0 0 1px #62f0be2b,0 0 24px #0b9c7130!important}.pulse-reference .terminal-token.terminal-dev-rebuy,.bastion .signal-dev-rebuy{background:linear-gradient(108deg,#1b0c30 0%,#3b1858 48%,#211039 100%)!important;border-color:#a96cf2!important;box-shadow:inset 0 0 0 1px #d6a7ff2e,0 0 25px #7b39c83d!important}.pulse-reference .terminal-token.terminal-dev-buy:before,.pulse-reference .terminal-token.terminal-dev-rebuy:before,.bastion .signal-dev-buy:before,.bastion .signal-dev-rebuy:before{content:'◆';position:absolute;left:7%;top:28%;z-index:-1;width:auto;height:auto;font-size:9px;line-height:1;background:none;opacity:.7;pointer-events:none;animation:dev-buy-sapphires 5.8s ease-in-out infinite}.pulse-reference .terminal-token.terminal-dev-buy:before,.bastion .signal-dev-buy:before{color:#7bffd1;text-shadow:74px -20px 0 #37dda2,182px 18px 0 #8dffe0,318px -8px 0 #35c993,486px 24px 0 #83f7d0,650px -18px 0 #31bd8a;filter:drop-shadow(0 0 5px #46efb8)}.pulse-reference .terminal-token.terminal-dev-rebuy:before,.bastion .signal-dev-rebuy:before{color:#e3b7ff;text-shadow:74px -20px 0 #a66bea,182px 18px 0 #e7c0ff,318px -8px 0 #864bd1,486px 24px 0 #d59fff,650px -18px 0 #7437bd;filter:drop-shadow(0 0 6px #b46ef4)}.pulse-reference .terminal-token.terminal-dev-buy:after,.pulse-reference .terminal-token.terminal-dev-rebuy:after,.bastion .signal-dev-buy:after,.bastion .signal-dev-rebuy:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(112deg,transparent 20%,#ffffff14 39%,transparent 56%);background-size:220% 100%;opacity:1;pointer-events:none;animation:dev-buy-sheen 7s ease-in-out infinite}.reference-detail.reference-dev-sold{background:linear-gradient(120deg,#4c1221 0%,#2b0d19 48%,#190c16 100%)!important;border-color:#c93953!important}.reference-detail.reference-dev-buy{background:linear-gradient(120deg,#082b2a 0%,#0b3d35 48%,#082722 100%)!important;border-color:#3cc89a!important}.reference-detail.reference-dev-rebuy{background:linear-gradient(120deg,#1b0c30 0%,#3b1858 48%,#211039 100%)!important;border-color:#a96cf2!important}.reference-detail.reference-dev-buy:before,.reference-detail.reference-dev-rebuy:before{background:none!important;animation:dev-buy-sapphires 5.8s ease-in-out infinite!important}.reference-detail.reference-dev-buy:after,.reference-detail.reference-dev-rebuy:after{animation:dev-buy-sheen 7s ease-in-out infinite!important}

/* Bottom rail settings. */
.settings-trigger{cursor:pointer;border-radius:12px;transition:background .18s ease,transform .18s ease}.settings-trigger:hover,.settings-trigger:focus-visible{background:#17181a;outline:1px solid #474a4f;transform:translateY(-1px)}.settings-dialog{width:min(620px,calc(100vw - 28px));padding:0;overflow:hidden}.settings-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:20px 22px}.settings-dialog header small{color:#78ecd6;font-size:9px;font-weight:800;letter-spacing:.16em}.settings-dialog h2{margin:4px 0 0}.settings-close{width:34px;height:34px;border-radius:9px}.settings-layout{display:grid;grid-template-columns:150px minmax(0,1fr);min-height:330px}.settings-layout>nav{display:flex;flex-direction:column;gap:6px;padding:18px 12px;border-right:1px solid #292b2e}.settings-layout>nav button{min-height:40px;padding:0 12px;text-align:left;border:0;border-radius:8px;background:transparent!important;color:#aeb0b3!important}.settings-layout>nav button[aria-selected=true]{background:#1a1b1d!important;color:#fff!important}.settings-layout>section{padding:24px}.settings-layout h3{margin:0 0 7px}.settings-layout section>p{margin:0 0 22px}.settings-toggle{display:grid;grid-template-columns:auto 54px minmax(0,1fr);align-items:center;gap:13px;padding:13px;margin-top:10px;border:1px solid #303236;border-radius:11px;background:var(--granite-soft);cursor:pointer}.settings-toggle>span{display:grid;gap:3px}.settings-toggle small{color:#989b9f!important}.settings-toggle{grid-template-columns:1fr auto}.settings-toggle input{width:42px;height:22px;accent-color:#78ecd6}html[data-motion=off] .terminal-dev-buy:before,html[data-motion=off] .terminal-dev-buy:after,html[data-motion=off] .terminal-dev-rebuy:before,html[data-motion=off] .terminal-dev-rebuy:after,html[data-motion=off] .signal-dev-buy:before,html[data-motion=off] .signal-dev-buy:after,html[data-motion=off] .signal-dev-rebuy:before,html[data-motion=off] .signal-dev-rebuy:after,html[data-motion=off] .reference-dev-buy:before,html[data-motion=off] .reference-dev-buy:after,html[data-motion=off] .reference-dev-rebuy:before,html[data-motion=off] .reference-dev-rebuy:after{animation:none!important}@media(max-width:620px){.settings-layout{grid-template-columns:1fr}.settings-layout>nav{flex-direction:row;border-right:0;border-bottom:1px solid #292b2e}.settings-layout>nav button{flex:1;text-align:center}.settings-layout>section{padding:18px}}

/* Pulse inspector: one continuous black surface, including the chart workspace. */
.product-inspector>.reference-side-tabs{background:transparent!important;border-color:transparent!important;box-shadow:none!important;padding-bottom:8px}.product-inspector>.reference-side-tabs .side-panel-label{color:#9b9ea3}.product-inspector>.reference-side-tabs .side-collapse{background:#070708!important;border-color:#45484d!important;color:#e9e9e7!important}.reference-detail .reference-candles,.reference-detail .token-candle-panel,.reference-detail .candle-canvas,.reference-detail .market-chart-plot,.reference-detail .reference-tab-panel{background:#050506!important;border-color:#414449!important}.reference-detail .reference-candles{box-shadow:inset 0 1px rgba(255,255,255,.035),inset 0 -1px rgba(255,255,255,.02)!important}.reference-detail .candle-toolbar{background:#080809!important;border-color:#3e4146!important}.reference-detail .market-chart-legend{color:#b5b7ba!important;background:linear-gradient(90deg,#080809,transparent)!important}.reference-detail .candle-coverage{background:#070708!important;border-top:1px solid #2d3034!important;color:#979a9f!important}.reference-detail .reference-evidence-grid{background:#060607!important;border-color:#44474c!important}.reference-detail .reference-evidence-grid>section+section{border-color:#44474c!important}.reference-detail .reference-facts>div{border-color:#35383c!important}
.reference-detail :is(.reference-watch,.reference-close,.reference-social-shortcuts a,.reference-social-shortcuts span,.candle-toolbar button,.reference-detail-tabs button,.reference-evidence-link,.reference-source-links a,.reference-hide),.pulse-reference :is(.terminal-toolbar button,.terminal-toolbar summary,.terminal-toolbar select,.terminal-lane-actions button,.terminal-lane-actions summary,.terminal-project-links a,.terminal-row-actions button,.terminal-row-actions a,.terminal-quick-presets button,.terminal-more),.reference-layout-tools button{background:#080809!important;border-color:#474a4f!important;color:#e7e8e9!important;box-shadow:inset 0 1px rgba(255,255,255,.045),inset 0 -1px #000!important}.reference-detail .reference-detail-tabs button{border-width:0 0 2px!important;border-color:transparent!important;background:transparent!important}.reference-detail .reference-detail-tabs button[aria-selected=true]{border-bottom-color:#d9dbde!important;color:#fff!important}.reference-detail .candle-toolbar button[aria-pressed=true],.reference-detail .candle-toolbar button:hover,.pulse-reference :is(.terminal-toolbar button,.terminal-toolbar summary,.terminal-project-links a,.terminal-row-actions button,.terminal-row-actions a,.terminal-quick-presets button):hover{background:#151618!important;border-color:#777b81!important;color:#fff!important}.reference-detail .reference-token-tags span:not(:first-child){background:#090a0b!important;border-color:#484b50!important;color:#d4d5d7!important}
@keyframes granite-edge-breathe{0%,100%{box-shadow:inset 0 1px rgba(255,255,255,.045),0 0 0 rgba(255,255,255,0)}50%{box-shadow:inset 0 1px rgba(255,255,255,.075),0 0 10px rgba(255,255,255,.035)}}@media(hover:hover) and (prefers-reduced-motion:no-preference){.product-inspector>.reference-side-tabs .side-collapse:hover,.reference-detail :is(.reference-watch,.reference-close,.reference-social-shortcuts a,.candle-toolbar button,.reference-evidence-link,.reference-source-links a,.reference-hide):hover,.pulse-reference :is(.terminal-toolbar button,.terminal-toolbar summary,.terminal-project-links a,.terminal-row-actions button,.terminal-row-actions a,.terminal-quick-presets button):hover{animation:granite-edge-breathe 2.8s ease-in-out infinite}}

/* Neutral silver scrollbars replace the remaining blue browser chrome. */
:is(html,body,.pulse-reference .terminal-rows,.product-inspector,.reference-detail,.alert-drawer,.position-card-grid,.lifetime-project-list){scrollbar-width:thin;scrollbar-color:#c5c7ca #090a0b}:is(html,body,.pulse-reference .terminal-rows,.product-inspector,.reference-detail,.alert-drawer,.position-card-grid,.lifetime-project-list)::-webkit-scrollbar{width:8px;height:8px}:is(html,body,.pulse-reference .terminal-rows,.product-inspector,.reference-detail,.alert-drawer,.position-card-grid,.lifetime-project-list)::-webkit-scrollbar-track{background:#090a0b;border-left:1px solid #242629}:is(html,body,.pulse-reference .terminal-rows,.product-inspector,.reference-detail,.alert-drawer,.position-card-grid,.lifetime-project-list)::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#f0f1f2,#969a9f);border:2px solid #090a0b;border-radius:999px}:is(html,body,.pulse-reference .terminal-rows,.product-inspector,.reference-detail,.alert-drawer,.position-card-grid,.lifetime-project-list)::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#fff,#c5c8cc)}.rail-status.settings-trigger{display:grid;place-items:center;width:48px;height:48px;margin-top:auto;padding:0!important;border:1px solid #3f4247;background:#050506!important}.rail-status.settings-trigger:hover{border-color:#777b81;background:#090a0b!important}.rail-status.settings-trigger #source-dot{margin:auto}
/* Graphite loader: matte planetary system with restrained silver light. */
.pulse-loader-track{background:#25282b!important}.pulse-loader-track i{background:linear-gradient(90deg,#777d82,#f7f8f9)!important;box-shadow:0 0 12px #fff5}
@media(max-width:1240px){.product-header{padding-bottom:17px!important}.product-header>.product-build-note{display:block!important;position:absolute!important;left:50%!important;right:auto!important;top:auto!important;bottom:4px!important;margin:0!important;transform:translateX(-50%)!important;max-width:calc(100vw - 150px);overflow:hidden;text-overflow:ellipsis;text-align:center;font-size:9px!important;white-space:nowrap}}

/* Compact lane markers replace the old blue count pills. */
.terminal-lane [data-count],.terminal-mobile-tabs [data-tab-count]{display:none!important;background:transparent!important}

/* Trading form: graphite surfaces with one clear orange action. */
.reference-order{padding:16px;border:1px solid #30343a;border-radius:12px;background:linear-gradient(180deg,#111316,#0b0c0e);box-shadow:inset 0 1px #ffffff08,0 18px 45px #0000002e}
.reference-order-tabs{gap:8px;margin:-3px 0 16px;border-bottom:1px solid #2b2f34}
.reference-order-tabs button{min-height:42px;padding:8px 13px;color:#929aa3;font-size:12px}
.reference-order-tabs button[aria-pressed=true]{color:#ff9a38;border-bottom-color:#ff922e}
.reference-vault-state{color:#89939e}
.reference-sell-actions{gap:9px;margin-bottom:15px}
.reference-sell-actions>div{gap:9px}
.reference-sell-actions button{min-height:42px;border:1px solid #343941;border-radius:9px;background:#15181c;color:#d3d8de;box-shadow:inset 0 1px #ffffff08;font-weight:750}
.reference-sell-actions button:hover:not(:disabled){border-color:#626b75;background:#1d2126;color:#fff}
.reference-sell-actions .reference-sell-all{min-height:48px;border-color:#ff9b3d;background:linear-gradient(105deg,#ffb14f,#ff8928);color:#17100a;box-shadow:0 8px 22px #ff8f2529,inset 0 1px #ffffff4a}
.reference-sell-actions .reference-sell-all:hover:not(:disabled){border-color:#ffc37e;background:linear-gradient(105deg,#ffc066,#ff9638)}
.reference-sell-actions button:disabled{border-color:#2d3035;background:#17181a;color:#74787d;box-shadow:none;opacity:1}
.reference-sell-actions>span{display:flex;align-items:center;gap:10px;color:#737c86;font-size:9px}
.reference-sell-actions>span:before,.reference-sell-actions>span:after{content:"";height:1px;flex:1;background:#2b2f34}
.reference-order label{color:#aeb5bd}
.reference-order-input input{min-height:46px;border-color:#373c43;background:#08090a;color:#f4f5f6;box-shadow:inset 0 1px 4px #0008}
.reference-order-input input::placeholder{color:#747b84}
.reference-order-input input:focus{border-color:#ff9a3d;outline:1px solid #ff9a3d55}
.reference-order-submit{min-height:48px;border-color:#ff9b3d;border-radius:9px;background:linear-gradient(105deg,#ffb14f,#ff8928);color:#17100a;box-shadow:0 8px 22px #ff8f2529}
.reference-order-submit:disabled{border-color:#30343a;background:#17191c;color:#686e75;box-shadow:none;opacity:1}
.reference-order-note{color:#767f88}

/* Long market lists stay cheap to paint while preserving native scrolling. */
.terminal-token{content-visibility:auto;contain:layout style paint;contain-intrinsic-size:auto 112px}

/* One black surface per card; nested content must not restore the navy theme. */
.reference-detail .reference-evidence-grid>section{background:transparent!important}
.search{background:#080808!important;border-color:#414141!important;box-shadow:inset 0 1px #ffffff08}
.search input{background:transparent!important;box-shadow:none!important;border:0!important;min-width:0;width:100%}
.reference-amount-presets button,.market-chart-trade-tip,.developer-evidence-popover,.pulse-reference .holder-tier,.rail nav button:hover,.rail nav button>span,.alert-live-card>.alert-dismiss:hover,.terminal-personal-position:not(.positive):not(.negative){background:#0a0a0a!important;border-color:#414141!important}
.pulse-loader{background:rgba(0,0,0,.82)!important}
.alert-drawer-close,#connect-header,.terminal-toolbar details>div,.terminal-toolbar details>form,.terminal-column-filter>div{background:#0a0a0a!important;border-color:#414141!important}
.alert-threshold input[type=range]{accent-color:#e6e6e6;box-shadow:none!important}
/* Holdings share the section surface; cards use only a light separator. */
:is([data-panel="positions"],.positions-docked) #holdings.position-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:12px;width:100%;max-width:none;max-height:none;margin:0;padding:0;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;align-items:stretch}
:is([data-panel="positions"],.positions-docked) #holdings .position-card{aspect-ratio:auto;min-height:0;height:auto;min-width:0;padding:14px;overflow:visible;border:1px solid #ffffff18!important;border-radius:10px;background:transparent!important;box-shadow:none!important}
:is([data-panel="positions"],.positions-docked) .position-card-head{align-items:center;gap:8px}
:is([data-panel="positions"],.positions-docked) .position-card .position-identity{display:flex;align-items:center;gap:9px;min-width:0;overflow:hidden}
:is([data-panel="positions"],.positions-docked) .position-card .position-identity img{width:36px;height:36px;flex-basis:36px}
:is([data-panel="positions"],.positions-docked) .position-card .position-identity span{display:grid;min-width:0;gap:3px}
:is([data-panel="positions"],.positions-docked) .position-card .position-identity b{font-size:13px}
:is([data-panel="positions"],.positions-docked) .position-card .position-identity small{display:block;max-width:100%;font-size:10px}
:is([data-panel="positions"],.positions-docked) .position-card-value{padding:10px 0}
:is([data-panel="positions"],.positions-docked) .position-card-value strong{font-size:26px;line-height:1.15;overflow-wrap:anywhere}
:is([data-panel="positions"],.positions-docked) .position-card-metrics{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px 0;gap:9px 12px;border-color:#ffffff20}
:is([data-panel="positions"],.positions-docked) .position-card-metrics dd{font-size:12px;line-height:1.35}
:is([data-panel="positions"],.positions-docked) .position-links{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}
:is([data-panel="positions"],.positions-docked) .position-quick-sell{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:auto}
:is([data-panel="positions"],.positions-docked) .position-quick-sell button{grid-column:auto;min-width:0;min-height:36px;padding:7px 4px;font-size:11px}
:is([data-panel="positions"],.positions-docked) .position-valuation{margin:10px 0 0;font-size:10px;line-height:1.4;overflow-wrap:anywhere}
@media(max-width:600px){:is([data-panel="positions"],.positions-docked) #holdings.position-card-grid{grid-template-columns:1fr}:is([data-panel="positions"],.positions-docked) #holdings .position-card{padding:12px}:is([data-panel="positions"],.positions-docked) .position-quick-sell button,:is([data-panel="positions"],.positions-docked) .position-links a{min-height:44px}}

/* The inspector heading sits directly on the workspace. */
.product-inspector{background:transparent!important;border:0!important;box-shadow:none!important}
.product-inspector .reference-side-tabs{background:transparent!important;border:0!important;box-shadow:none!important}

@media(min-width:761px){.product-inspector>.reference-side-tabs{padding-bottom:0;margin-bottom:4px}}

/* /hoot-theme.css */
/* Hoot theme. Selected in Settings → Theme and applied as html:is([data-theme=hoot],[data-theme=inu]). It builds on the granite structure
   (granite stays loaded) and changes only material and color: near-black surfaces, warm white text, orange #ff8a1f for
   actions and active navigation, green / pink kept for market direction. The first groups reuse granite's exact
   surface selector lists; keep them in step when granite's groups change. */
html:is([data-theme=hoot],[data-theme=inu]){color-scheme:dark;--bg:var(--jh-bg);--ground:var(--jh-bg-2);--surface:var(--jh-panel);--lift:var(--jh-panel-3);--line:var(--jh-line-2);--line2:var(--jh-line-3);--ink:var(--jh-text);--muted:var(--jh-muted);--dim:var(--jh-muted);--orange:var(--jh-accent);--green:var(--jh-up);--red:var(--jh-down);
 --granite-flat:linear-gradient(180deg,var(--jh-panel-2),var(--jh-panel));--granite-raised:linear-gradient(180deg,var(--jh-panel-2),var(--jh-panel-2));--granite-soft:linear-gradient(180deg,var(--jh-panel),var(--jh-bg-2));--granite-inset:var(--jh-bg-2);--granite-shadow:inset 0 1px rgba(245,241,232,.035),0 10px 28px rgba(0,0,0,.28);
 --hoot-accent:var(--jh-accent);--hoot-accent-hover:var(--jh-accent-2);--hoot-on-accent:var(--jh-ink);--hoot-gain:var(--jh-up);--hoot-loss:var(--jh-down);--hoot-focus:var(--jh-focus)}
html:is([data-theme=hoot],[data-theme=inu]),html:is([data-theme=hoot],[data-theme=inu]) body{background:var(--jh-bg)!important;color:var(--jh-text)}

/* Granite surface groups with Hoot borders */
html:is([data-theme=hoot],[data-theme=inu]) :is(.bastion,.pulse-reference,.product-inspector,.reference-side-shell,.reference-detail,.position-summary,.positions-list,.position-table,.vault-layout,.surface,.sniper-card,.x-connect,.x-feed,.system-health,.order-journal,.home-intro,.home-price,.home-network,.home-runners,.home-capability-grid,.lifetime-empty,.lifetime-hero,.lifetime-panel,.leaderboard-card,.alert-drawer,dialog,.pulse-loader-card){border-color:var(--jh-line-2)!important}
html:is([data-theme=hoot],[data-theme=inu]) :is(.market-strip,.bastion .section-head,.reference-side-tabs,.terminal-toolbar,.terminal-table-head,.candle-toolbar,.system-health>header,dialog>header,.dialog-metrics,.order-preview,.vault-note,.alert-advanced,.home-motion){border-color:var(--jh-line)!important;color:var(--jh-text)}
html:is([data-theme=hoot],[data-theme=inu]) :is(.bastion .bastion-row,.summary-card,.pulse-reference .terminal-token,.pulse-reference .terminal-market-row,.home-token,.runner-card,.home-capability-grid article,.target-card,.tool-list a,.position-card,.lifetime-hero dl div,.lifetime-project,.recent-trade,.wallet-option,.pulse-alert-event,.alert-live-card>.pulse-alert-event,.notice){border-color:var(--jh-line-2)!important;color:var(--jh-text);box-shadow:inset 0 1px rgba(245,241,232,.03)!important}
html:is([data-theme=hoot],[data-theme=inu]) :is(.pulse-reference .terminal-rows,.position-detail,.position-chart,.token-candle-panel,.sniper-indicator,.reference-candles,.home-candle-plot){border-color:var(--jh-line)!important}
html:is([data-theme=hoot],[data-theme=inu]) :is(.pulse-reference .terminal-market-row:hover,.pulse-reference .terminal-token:hover,.bastion .bastion-row:hover,.runner-card:hover,.home-token:hover,.tool-list a:hover,.lifetime-project:hover,.recent-trade:hover){background:var(--jh-panel-3)!important;border-color:var(--jh-line-3)!important}
html:is([data-theme=hoot],[data-theme=inu]) :is(.reference-top-nav,.segmented,.bastion-modes,.pulse-reference .terminal-project-links a,.position-links a,.position-quick-sell button,.reference-layout-tools button,.reference-side-tabs button,.home-periods button,.alert-controls button,.alert-threshold input,.alert-dock>summary,.icon-button,#wallet-pill,input:not([type=range]):not([type=checkbox]),select,.secondary,.action-icon,.dialog-links a,.position-control a,.position-control button,.product-main>[data-panel]:not([data-panel=pulse]) button:not(.primary),dialog button:not(.primary)){border-color:var(--jh-line-2)!important;color:var(--jh-text)!important;box-shadow:none!important}
html:is([data-theme=hoot],[data-theme=inu]) :is(h1,h2,h3,h4,.project b,.terminal-name>button:first-child,.ticket-market b,.position-card b,.position-card strong,.reference-main-price>strong,.home-price strong,.home-network dd,.leaderboard-card b,.runner-card b,.lifetime-panel h3){color:var(--jh-text)!important}
html:is([data-theme=hoot],[data-theme=inu]) :is(p,small,dt,.terminal-contract,.ticket-origin,.terminal-health,.terminal-footnote,.position-valuation,.position-card dt,.position-card small,.lifetime-project small,.recent-trade small,.source-freshness,#market-status){color:var(--jh-muted)!important}

/* Shell: flat sidebar, active section in orange with a left marker, calm topbar and ticker */
html:is([data-theme=hoot],[data-theme=inu]) .rail{background:var(--jh-bg-2)!important;border-color:var(--jh-panel-3)!important;box-shadow:none!important}
html:is([data-theme=hoot],[data-theme=inu]) .rail nav button{color:var(--jh-muted)}
html:is([data-theme=hoot],[data-theme=inu]) .rail nav button:hover{background:var(--jh-panel-2)!important;border-color:var(--jh-line-2)!important;color:var(--jh-text)!important}
html:is([data-theme=hoot],[data-theme=inu]) .rail nav button[aria-current=page],html:is([data-theme=hoot],[data-theme=inu]) .rail nav button.active{background:color-mix(in srgb,var(--jh-accent) 12%,transparent)!important;border-color:color-mix(in srgb,var(--jh-accent) 32%,transparent)!important;color:var(--jh-accent)!important;box-shadow:inset 3px 0 var(--jh-accent)!important}
html:is([data-theme=hoot],[data-theme=inu]) .rail nav button>span{background:transparent!important;border-color:transparent!important}
html:is([data-theme=hoot],[data-theme=inu]) .topbar:before{background:radial-gradient(ellipse at 88% -40%,color-mix(in srgb,var(--jh-accent) 10%,transparent),transparent 55%),linear-gradient(90deg,var(--jh-bg),var(--jh-bg-2))!important;filter:none!important;opacity:1!important}
html:is([data-theme=hoot],[data-theme=inu]) .ticker{background:var(--jh-bg-2)!important;border-color:var(--jh-panel-3)!important;box-shadow:none!important}
html:is([data-theme=hoot],[data-theme=inu]) .rail-status.settings-trigger{border-color:var(--jh-line-2)!important}
html:is([data-theme=hoot],[data-theme=inu]) .rail-status.settings-trigger:hover,html:is([data-theme=hoot],[data-theme=inu]) .settings-trigger:hover{background:var(--jh-panel-2)!important;outline-color:var(--jh-line-3)}

/* Actions in orange with dark text; connected wallet stays quiet with an orange edge */
html:is([data-theme=hoot],[data-theme=inu]) :is(#connect-header,.primary,.mobile-connect,dialog button.primary,.product-main>[data-panel]:not([data-panel=pulse]) button.primary){background:var(--jh-accent)!important;border-color:var(--jh-accent)!important;color:var(--jh-ink)!important;box-shadow:none!important}
html:is([data-theme=hoot],[data-theme=inu]) :is(#connect-header,.primary,.mobile-connect):hover{background:var(--jh-accent-2)!important;border-color:var(--jh-accent-2)!important}
html:is([data-theme=hoot],[data-theme=inu]) #connect-header:not(.connected) i{background:var(--jh-ink)!important;box-shadow:none!important}
html:is([data-theme=hoot],[data-theme=inu]) #connect-header.connected{background:var(--jh-panel)!important;border-color:color-mix(in srgb,var(--jh-accent) 55%,transparent)!important;color:var(--jh-text)!important}
html:is([data-theme=hoot],[data-theme=inu]) .terminal-buy-controls>.terminal-buy,html:is([data-theme=hoot],[data-theme=inu]) .reference-order-submit:not(:disabled),html:is([data-theme=hoot],[data-theme=inu]) .reference-sell-actions .reference-sell-all:not(:disabled){background:var(--jh-accent)!important;border-color:var(--jh-accent)!important;color:var(--jh-ink)!important;box-shadow:none!important}
html:is([data-theme=hoot],[data-theme=inu]) .terminal-buy-controls>.terminal-buy:hover,html:is([data-theme=hoot],[data-theme=inu]) .reference-order-submit:not(:disabled):hover{background:var(--jh-accent-2)!important}

/* Tabs and segments: the active one in orange */
html:is([data-theme=hoot],[data-theme=inu]) :is(.reference-top-nav button[aria-pressed=true],.reference-top-nav button[aria-current=page],.segmented button.selected,.bastion-modes button[aria-pressed=true],.home-periods button[aria-pressed=true]){background:color-mix(in srgb,var(--jh-accent) 12%,transparent)!important;color:var(--jh-accent)!important}
html:is([data-theme=hoot],[data-theme=inu]) .reference-detail .reference-detail-tabs button[aria-selected=true]{border-bottom-color:var(--jh-accent)!important;color:var(--jh-text)!important}
html:is([data-theme=hoot],[data-theme=inu]) .reference-order-tabs button[aria-pressed=true]{color:var(--jh-accent)!important;border-bottom-color:var(--jh-accent)!important}
html:is([data-theme=hoot],[data-theme=inu]) .token-rows .tr-head .tr-sort:not(#_).is-active{color:var(--jh-accent)!important}

/* Market direction: green / pink, never orange */
html:is([data-theme=hoot],[data-theme=inu]) :is(.positive,.token-change.positive,.ticket-market .positive b,.summary-change){color:var(--jh-up)!important}
html:is([data-theme=hoot],[data-theme=inu]) :is(.negative,.token-change.negative,.ticket-market .negative b){color:var(--jh-down)!important}

/* Signal states as narrow markers: no full-row fills, drips or sparkles */
html:is([data-theme=hoot],[data-theme=inu]) .pulse-reference .terminal-token:is(.terminal-dev-sold,.terminal-dev-buy,.terminal-dev-rebuy),html:is([data-theme=hoot],[data-theme=inu]) .bastion :is(.signal-dev-buy,.signal-dev-rebuy){background:linear-gradient(180deg,var(--jh-panel-2),var(--jh-panel-2))!important;border-color:var(--jh-line-2)!important}
html:is([data-theme=hoot],[data-theme=inu]) .pulse-reference .terminal-token.terminal-dev-sold{box-shadow:inset 3px 0 var(--jh-down)!important}
html:is([data-theme=hoot],[data-theme=inu]) .pulse-reference .terminal-token.terminal-dev-buy,html:is([data-theme=hoot],[data-theme=inu]) .bastion .signal-dev-buy{box-shadow:inset 3px 0 var(--jh-up)!important}
html:is([data-theme=hoot],[data-theme=inu]) .pulse-reference .terminal-token.terminal-dev-rebuy,html:is([data-theme=hoot],[data-theme=inu]) .bastion .signal-dev-rebuy{box-shadow:inset 3px 0 #b48cf2!important}
html:is([data-theme=hoot],[data-theme=inu]) .pulse-reference .terminal-token:is(.terminal-dev-sold,.terminal-dev-buy,.terminal-dev-rebuy,.terminal-supply-holo)::before,html:is([data-theme=hoot],[data-theme=inu]) .pulse-reference .terminal-token:is(.terminal-dev-sold,.terminal-dev-buy,.terminal-dev-rebuy,.terminal-supply-holo)::after,html:is([data-theme=hoot],[data-theme=inu]) .bastion :is(.signal-dev-buy,.signal-dev-rebuy,.signal-supply-holo)::before,html:is([data-theme=hoot],[data-theme=inu]) .bastion :is(.signal-dev-buy,.signal-dev-rebuy,.signal-supply-holo)::after{display:none!important;animation:none!important}
html:is([data-theme=hoot],[data-theme=inu]) .reference-detail:is(.reference-dev-sold,.reference-dev-buy,.reference-dev-rebuy){background:linear-gradient(180deg,var(--jh-panel-2),var(--jh-panel))!important;border-color:var(--jh-line-2)!important}
html:is([data-theme=hoot],[data-theme=inu]) .reference-detail.reference-dev-sold{box-shadow:inset 0 3px var(--jh-down)!important}
html:is([data-theme=hoot],[data-theme=inu]) .reference-detail.reference-dev-buy{box-shadow:inset 0 3px var(--jh-up)!important}
html:is([data-theme=hoot],[data-theme=inu]) .reference-detail.reference-dev-rebuy{box-shadow:inset 0 3px #b48cf2!important}
html:is([data-theme=hoot],[data-theme=inu]) .reference-detail:is(.reference-dev-sold,.reference-dev-buy,.reference-dev-rebuy)::before,html:is([data-theme=hoot],[data-theme=inu]) .reference-detail:is(.reference-dev-sold,.reference-dev-buy,.reference-dev-rebuy)::after{display:none!important;animation:none!important}
html:is([data-theme=hoot],[data-theme=inu]) .pulse-reference :is(.terminal-token,.terminal-market-row).terminal-selected{box-shadow:inset 3px 0 var(--jh-accent)!important}

/* Token inspector and chart */
html:is([data-theme=hoot],[data-theme=inu]) .reference-detail :is(.reference-candles,.token-candle-panel,.candle-canvas,.market-chart-plot,.reference-tab-panel){background:var(--jh-bg-2)!important;border-color:var(--jh-line-2)!important}
html:is([data-theme=hoot],[data-theme=inu]) .reference-detail :is(.reference-evidence-grid,.reference-secondary-metrics){background:var(--jh-bg-2)!important;border-color:var(--jh-line-2)!important}
html:is([data-theme=hoot],[data-theme=inu]) .reference-detail :is(.reference-watch,.reference-close,.reference-social-shortcuts a,.reference-social-shortcuts span,.candle-toolbar button,.reference-evidence-link,.reference-source-links a,.reference-hide){background:var(--jh-panel)!important;border-color:var(--jh-line-2)!important;color:var(--jh-text)!important;box-shadow:none!important;animation:none!important}
html:is([data-theme=hoot],[data-theme=inu]) .reference-order{background:var(--jh-panel)!important;border-color:var(--jh-line-2)!important}
html:is([data-theme=hoot],[data-theme=inu]) .reference-order-input input{background:var(--jh-bg-2)!important;border-color:var(--jh-line-2)!important}
html:is([data-theme=hoot],[data-theme=inu]) .reference-order-input input:focus{border-color:var(--jh-accent)!important;outline-color:color-mix(in srgb,var(--jh-accent) 35%,transparent)!important}
html:is([data-theme=hoot],[data-theme=inu]) .token-candle-panel:not(#_){--cc-bg:var(--jh-bg-2);--cc-line:var(--jh-line-2);--cc-muted:var(--jh-muted);--cc-ink:var(--jh-text);--cc-up:var(--jh-up);--cc-down:var(--jh-down)}
html:is([data-theme=hoot],[data-theme=inu]) .token-candle-panel:not(#_) :is(.candle-frames,.chart-seg) button[aria-pressed=true]{background:color-mix(in srgb,var(--jh-accent) 14%,transparent)!important;color:var(--jh-accent)!important}

/* Module cards that keep their own palette */
html:is([data-theme=hoot],[data-theme=inu]) #pnl-summary{--pnl-up:var(--jh-up);--pnl-down:var(--jh-down);--pnl-muted:var(--jh-muted);background:var(--jh-panel);border-color:var(--jh-line-2)}
html:is([data-theme=hoot],[data-theme=inu]) #pnl-summary .pnl-periods button[aria-selected=true]{background:color-mix(in srgb,var(--jh-accent) 14%,transparent)!important;color:var(--jh-accent)!important}
html:is([data-theme=hoot],[data-theme=inu]) #trade-tools{--tt-mint:var(--jh-up);--tt-rose:var(--jh-down);--tt-warm:var(--jh-accent);--tt-line:var(--jh-line-2);--tt-muted:var(--jh-muted);background:var(--jh-panel)!important;color:var(--jh-text)}
html:is([data-theme=hoot],[data-theme=inu]) #reclaim-tool{background:var(--jh-panel)!important;border-color:var(--jh-line-2);color:var(--jh-text)}
html:is([data-theme=hoot],[data-theme=inu]) #reclaim-tool :is(.reclaim-check button,.reclaim-go){background:var(--jh-accent)!important;color:var(--jh-ink)!important}
html:is([data-theme=hoot],[data-theme=inu]) .token-rows{--tr-bg:var(--jh-panel)}
html:is([data-theme=hoot],[data-theme=inu]) .search{background:var(--jh-bg-2)!important;border-color:var(--jh-line-2)!important}

/* Settings: the Hoot swatch and orange checks */
html:is([data-theme=hoot],[data-theme=inu]) .settings-dialog header small{color:var(--jh-accent)}
html:is([data-theme=hoot],[data-theme=inu]) .settings-layout>nav button[aria-selected=true]{background:color-mix(in srgb,var(--jh-accent) 12%,transparent)!important;color:var(--jh-accent)!important}
html:is([data-theme=hoot],[data-theme=inu]) :is(.theme-choice input,.settings-toggle input){accent-color:var(--jh-accent)}

/* Focus, scrollbars, dialogs */
html:is([data-theme=hoot],[data-theme=inu]) :focus-visible{outline-color:var(--jh-focus)}
html:is([data-theme=hoot],[data-theme=inu]) :is(html,body,.pulse-reference .terminal-rows,.product-inspector,.reference-detail,.alert-drawer,.position-card-grid,.lifetime-project-list){scrollbar-color:var(--jh-line-3) var(--jh-bg-2)}
html:is([data-theme=hoot],[data-theme=inu]) dialog::backdrop{background:color-mix(in srgb,var(--jh-bg) 78%,transparent)}
html:is([data-theme=hoot],[data-theme=inu]) #toast,html:is([data-theme=hoot],[data-theme=inu]) .notice{border-color:var(--jh-line-3)!important}
/* News backdrop: the owls replace the NEAR coins behind the post cards. */
html[data-theme=hoot] .terminal-news{--news-backdrop:url(/assets/news-backdrop-hoot-v1.webp)}

/* /hoot-art.css */
/* Hoot illustrations and motion. Everything here applies only with the Hoot theme, so granite never downloads these images.
   The owl is a small guide in the poses approved on 2026-10-07 (hoot-scene.css adds the Home scene, Signal Bastion and Leaderboard owls): an owl with a wallet over the Vault wallet card (hoot-system.css), a waving guide beside Tools, and friendly empty states.
   Working screens (Pulse lanes, Positions, Leaderboard) show an owl only while a list is empty, never beside data or Buy.
   Motion borrows from the JustHoot site: the owl peeks in and sways slowly, Home cards rise in, cards lift on hover, the
   leading runner breathes an orange glow, new trades flash and the live dot pings. It all stops under reduced motion,
   Motion off and Light power. */

/* Guides beside explanations. */
html[data-theme=hoot] #trade-tools .tt-head::after{content:"";order:1;flex:none;width:104px;aspect-ratio:1;margin:-10px 0 -12px;background:url(/assets/hoot/hoot-owl-wave-v3.webp) center/contain no-repeat}
html[data-theme=hoot] #trade-tools .tt-head>div:first-child{flex:1 1 320px}
html[data-theme=hoot] #trade-tools .tt-head .tt-wallet{order:2}
@media(max-width:760px){html[data-theme=hoot] #trade-tools .tt-head::after{display:none}}

/* Empty states: the owl sits above the message, which is centred under it. */
html[data-theme=hoot] :is(#home-v2 :is(.hv2-grad-list,.hv2-trade-list,.hv2-carousel)>.hv2-empty,#home-v2 .tr-empty,#leaderboard-list .tr-empty,#leaderboard-list>.empty,#holdings>.empty-product,.terminal-lane:not(.terminal-news) .terminal-empty,.alert-empty){text-align:center}
html[data-theme=hoot] :is(#home-v2 :is(.hv2-grad-list,.hv2-trade-list,.hv2-carousel)>.hv2-empty,#home-v2 .tr-empty,#leaderboard-list .tr-empty,#leaderboard-list>.empty,#holdings>.empty-product,.terminal-lane:not(.terminal-news) .terminal-empty,.alert-empty)::before{content:"";display:block;width:var(--owl-w,84px);aspect-ratio:var(--owl-r,1);margin:2px auto 10px;background:var(--owl,url(/assets/hoot/hoot-owl-wave-v3.webp)) center/contain no-repeat;transform-origin:50% 92%}
html[data-theme=hoot] #holdings>.empty-product{--owl:url(/assets/hoot/hoot-owl-wallet-v3.webp);--owl-r:1;--owl-w:120px}
html[data-theme=hoot] .terminal-lane:not(.terminal-news) .terminal-empty{--owl:url(/assets/hoot/hoot-owl-telescope-v3.webp);--owl-r:1;--owl-w:120px}
html[data-theme=hoot] .terminal-lane[data-lane=positions] .terminal-empty{--owl:url(/assets/hoot/hoot-owl-wallet-v3.webp);--owl-r:1;--owl-w:104px}
html[data-theme=hoot] .alert-empty{--owl:url(/assets/hoot/hoot-owl-bell-v3.webp);--owl-r:1;--owl-w:96px}


/* Orange actions: a warm edge and glow, and a small press. */
html[data-theme=hoot] :is(#connect-header,.primary,.mobile-connect,#home-v2 .hv2-cta,#trade-tools .tt-primary):not(:disabled){box-shadow:inset 0 0 0 1px rgba(255,178,107,.75),0 6px 22px rgba(255,138,31,.18)!important}

@keyframes hoot-peek{0%{opacity:0;transform:translateY(22px) rotate(-6deg) scale(.88)}38%{opacity:1}55%{transform:translateY(-3px) rotate(2deg) scale(1.04)}100%{opacity:1;transform:none}}
@keyframes hoot-sway{0%,100%{transform:translateY(0) rotate(0)}25%{transform:translateY(-1px) rotate(-1.4deg)}55%{transform:translateY(-2px) rotate(2deg)}80%{transform:translateY(-.5px) rotate(.6deg)}}
@keyframes hoot-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes hoot-rise{0%{opacity:0;transform:translateY(8px)}100%{opacity:1;transform:none}}
@keyframes hoot-pop{0%{opacity:0;transform:translateY(8px) scale(.985)}}

@media(prefers-reduced-motion:no-preference){
 
 
 /* Single owls sway from their feet; scenes with props only float. */
 html[data-theme=hoot]:not([data-motion=off]) :is(#home-v2 :is(.hv2-grad-list,.hv2-trade-list,.hv2-carousel)>.hv2-empty,#home-v2 .tr-empty,.alert-empty)::before{animation:hoot-peek .72s cubic-bezier(.16,1,.3,1) both,hoot-sway 8.2s ease-in-out .9s infinite}
 html[data-theme=hoot]:not([data-motion=off]) :is(#leaderboard-list .tr-empty,#leaderboard-list>.empty,#holdings>.empty-product,.terminal-lane:not(.terminal-news) .terminal-empty)::before,
 html[data-theme=hoot]:not([data-motion=off]) #trade-tools .tt-head::after{animation:hoot-peek .72s cubic-bezier(.16,1,.3,1) both,hoot-float 7s ease-in-out .9s infinite}
 /* Home v2 buttons force animation and box-shadow off, so the glow, shine and flash are drawn by pseudo-elements. */
 
 
 
 
 html[data-theme=hoot]:not([data-motion=off]) dialog[open]{animation:hoot-pop .18s ease-out}
 html[data-theme=hoot]:not([data-motion=off]) :is(#connect-header,.primary,.mobile-connect,#home-v2 .hv2-cta,#trade-tools .tt-primary){transition:background-color .15s,border-color .15s,box-shadow .15s,transform .1s}
 html[data-theme=hoot]:not([data-motion=off]) :is(#connect-header,.primary,.mobile-connect,#home-v2 .hv2-cta,#trade-tools .tt-primary):active:not(:disabled){transform:translateY(1px)}
}

/* /hoot-system.css */
/* Hoot design system, matched to justhoot.fun: their palette tokens, JetBrains Mono figures with slashed zero and tabular
   digits, their button and segmented-control shapes, a LIVE trade tape, the TradingView chart look, a wallet card with an
   owl peeking over it, and a personal owl for the connected account. Everything is scoped to the Hoot theme except the
   font face, which the browser only downloads once Hoot text uses it. */
@font-face{font-family:"JetBrains Mono";src:url(/assets/fonts/JetBrainsMono-Variable-latin.woff2) format("woff2");font-weight:400 700;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

html[data-theme=hoot]{--mono:"JetBrains Mono",ui-monospace,"SF Mono",Menlo,Consolas,monospace;--jh-bg:#0a0c0f;--jh-bg-2:#0e1115;--jh-panel:#12161b;--jh-panel-2:#171c22;--jh-panel-3:#1d232a;--jh-line:#22282f;--jh-line-2:#2e353e;--jh-line-3:#3d4550;--jh-text:#f2f3f5;--jh-text-2:#c9ced6;--jh-muted:#8a94a2;--jh-dim:#5d6773;--jh-accent:#ff8a1f;--jh-accent-2:#ffa64f;--jh-ink:#150b02;--jh-up:#2fcf8a;--jh-down:#ff5d6c;--jh-focus:#ffc078;--jh-card-top:#161b21;--jh-card-bottom:#11151a}

/* Figures. */
html[data-theme=hoot] :is(#home-v2 :is(.hv2-num b,.hv2-num small,.hv2-tile strong,.hv2-value,.hv2-pnl b,.hv2-kv dd,.hv2-status b),.token-rows :is(.tr-num,.tr-change),[data-panel=leaderboard] .leaderboard-metrics dd,.star-atlas-card .atlas-metrics strong,.reference-metrics strong,.reference-main-price>strong,.reference-detail .token-statistic dd,.reference-activity-summary strong,.reference-holder-summary strong,.reference-holder-row>b,.reference-pool-stats strong,.trade-quote dd,.reference-order .reference-balance,.pulse-reference .ticket-price-box>span,.pulse-reference .ticket-stats>span,.terminal-values,.position-card-value strong,.position-card-metrics dd,.lifetime-hero dd,.lifetime-flow b,.position-summary strong,.position-stat b,#pnl-summary :is(.pnl-value,.pnl-total,.pnl-stats b),.market-chart-legend,.chart-clock,#trade-tools :is(.tt-price b,.tt-preview b),#ticker :is([data-ticker-token] span,.ticker-token i)){font-family:var(--mono)!important;font-feature-settings:"zero","tnum";letter-spacing:-.02em}

/* Buttons: orange primary with a warm edge, quiet secondary panels, 9px corners. */
html:is([data-theme=hoot],[data-theme=inu]) :is(#connect-header,.primary,.mobile-connect,#home-v2 .hv2-cta,#trade-tools .tt-primary):not(:disabled):hover{background:var(--jh-accent-2)!important;border-color:var(--jh-accent-2)!important}
html:is([data-theme=hoot],[data-theme=inu]) :is(button.secondary,#refresh,#hide-inspector,#show-inspector){border:1px solid var(--jh-line-2)!important;border-radius:9px!important;background:var(--jh-panel-2)!important;color:var(--jh-text)!important}
html:is([data-theme=hoot],[data-theme=inu]) :is(button.secondary,#refresh,#hide-inspector,#show-inspector):hover{border-color:var(--jh-line-3)!important;background:var(--jh-panel-3)!important}

/* Segmented controls like the JustHoot chart toolbar: a sunken track, the chosen option raised. */
html:is([data-theme=hoot],[data-theme=inu]) :is(.token-candle-panel:not(#_) :is(.candle-frames,.chart-seg),#home-v2 :is(.hv2-seg,.hv2-chips)){padding:3px!important;gap:2px!important;border:1px solid var(--jh-line)!important;border-radius:9px!important;background:var(--jh-bg)!important}
html:is([data-theme=hoot],[data-theme=inu]) :is(.token-candle-panel:not(#_) :is(.candle-frames,.chart-seg),#home-v2 :is(.hv2-seg,.hv2-chips)) button{height:26px!important;border:0!important;border-radius:6px!important;background:transparent!important;color:var(--jh-muted)!important;font-weight:600!important;box-shadow:none!important}
html:is([data-theme=hoot],[data-theme=inu]) :is(.token-candle-panel:not(#_) :is(.candle-frames,.chart-seg),#home-v2 :is(.hv2-seg,.hv2-chips)) button:hover{color:var(--jh-text)!important}
html:is([data-theme=hoot],[data-theme=inu]) :is(.token-candle-panel:not(#_) :is(.candle-frames,.chart-seg),#home-v2 :is(.hv2-seg,.hv2-chips)) button:is([aria-pressed=true],[aria-selected=true]){background:var(--jh-panel-3)!important;color:var(--jh-text)!important;box-shadow:inset 0 0 0 1px var(--jh-line-2)!important}

/* Chart: horizontal grid only, an orange dotted last-price line with an orange label, JustHoot candle colours. */
html:is([data-theme=hoot],[data-theme=inu]) .token-candle-panel:not(#_){--cc-bg:var(--jh-bg-2);--cc-line:var(--jh-line);--cc-muted:var(--jh-muted);--cc-ink:var(--jh-text);--cc-up:var(--jh-up);--cc-down:var(--jh-down);--cc-text:var(--jh-muted);--cc-grid-v:rgba(0,0,0,0);--cc-grid-h:rgba(255,255,255,.045);--cc-last:var(--jh-accent);--cc-cross-label:var(--jh-panel-3);--cc-vol-up:color-mix(in srgb,var(--jh-up) 32%,transparent);--cc-vol-down:color-mix(in srgb,var(--jh-down) 32%,transparent)}


/* Vault: the wallet list becomes a JustHoot-style connect card, with the wallet owl peeking over its top edge from
   behind it. The RAEN mark stays in the rail; the guide column keeps its text. */
html:is([data-theme=hoot],[data-theme=inu]) .vault-main{isolation:isolate}
html:is([data-theme=hoot],[data-theme=inu]) .vault-main .vault-art{display:none}
html:is([data-theme=hoot],[data-theme=inu]) .product-main .wallet-connect{position:relative;width:100%;max-width:520px;margin-top:70px;padding:12px 14px!important;border:1px solid var(--jh-line-2);border-radius:16px;background:linear-gradient(180deg,var(--jh-card-top),var(--jh-card-bottom));box-shadow:0 20px 60px rgba(0,0,0,.6),inset 0 2px 0 rgba(255,255,255,.02)}
html[data-theme=hoot] .product-main .wallet-connect::before{content:"";position:absolute;z-index:-1;right:28px;top:-74px;width:116px;aspect-ratio:1;background:url(/assets/hoot/hoot-owl-wallet-v3.webp) center top/contain no-repeat;transition:translate .34s cubic-bezier(.22,.65,.3,1);pointer-events:none}
html[data-theme=hoot] .product-main .wallet-connect:hover::before{translate:0 -6px}
html:is([data-theme=hoot],[data-theme=inu]) .wallet-option:not(#_){display:grid!important;grid-template-columns:42px minmax(0,1fr) 16px;align-items:center;gap:12px!important;min-height:62px;margin:8px 0!important;padding:10px 14px!important;border:1px solid var(--jh-line-2)!important;border-radius:12px!important;background:var(--jh-panel-2)!important;color:var(--jh-text)!important;box-shadow:none!important;transition:border-color .15s,background-color .15s,transform .1s}
html:is([data-theme=hoot],[data-theme=inu]) .wallet-option:not(#_)[data-connect=meteor-wallet]{border-color:var(--jh-accent)!important}
html:is([data-theme=hoot],[data-theme=inu]) .wallet-option:not(#_):hover{border-color:var(--jh-line-3)!important;background:var(--jh-panel-3)!important}
html:is([data-theme=hoot],[data-theme=inu]) .wallet-option:not(#_)[data-connect=meteor-wallet]:hover{border-color:var(--jh-accent-2)!important}
html:is([data-theme=hoot],[data-theme=inu]) .wallet-option:not(#_):active{transform:translateY(1px)}
html:is([data-theme=hoot],[data-theme=inu]) .wallet-option:not(#_) b{font-size:14.5px;font-weight:700;color:var(--jh-text)}
html:is([data-theme=hoot],[data-theme=inu]) .wallet-option:not(#_) small{margin-top:3px!important;color:var(--jh-muted)!important;font-size:12px!important}
html:is([data-theme=hoot],[data-theme=inu]) .wallet-option:not(#_) .wallet-glyph{width:40px!important;height:40px!important;border-radius:10px!important;font-size:20px!important}
html:is([data-theme=hoot],[data-theme=inu]) .wallet-option:not(#_) :is(.wallet-glyph-mynearwallet,.wallet-glyph-near-mobile){font-size:15px!important;letter-spacing:-.02em}html:is([data-theme=hoot],[data-theme=inu]) .wallet-option:not(#_) .wallet-glyph-okx-wallet{font-size:11px!important;letter-spacing:-.02em}
html:is([data-theme=hoot],[data-theme=inu]) .wallet-option:not(#_)>span:last-child{width:16px;height:16px;margin:0!important;font-size:0;background:var(--jh-dim);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat}
html:is([data-theme=hoot],[data-theme=inu]) .wallet-option:not(#_):hover>span:last-child{background:var(--jh-text-2)}
@media(max-width:760px){html[data-theme=hoot] .product-main .wallet-connect{margin-top:62px}html[data-theme=hoot] .product-main .wallet-connect::before{width:92px;top:-62px;right:18px}}

/* The connected account's own owl: in the header pill and on the Vault card. Granite keeps the plain dot. */
.account-owl{display:none}
html[data-theme=hoot] .account-owl{display:inline-block;flex:none;width:22px;height:22px;margin-right:2px;border-radius:7px;background:url(/assets/hoot/hoot-avatars-v2.webp) var(--owl-x,0%) 0/500% 100% no-repeat,var(--owl-bg,#14b8a6);vertical-align:middle;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
html[data-theme=hoot] #connect-header.connected i{display:none!important}
html[data-theme=hoot] #connect-header.connected{display:inline-flex;align-items:center;gap:7px}
html[data-theme=hoot] #connected-account{display:flex;align-items:center;gap:12px;font-weight:700}
html[data-theme=hoot] #connected-account[hidden]{display:none}
html[data-theme=hoot] #connected-account .account-owl{width:44px;height:44px;border-radius:12px}

@media(prefers-reduced-motion:no-preference){
 html[data-theme=hoot]:not([data-motion=off]) .product-main .wallet-connect::before{animation:hoot-peek .72s cubic-bezier(.16,1,.3,1) .1s both,hoot-float 7s ease-in-out 1s infinite}
}

/* Phones: the rail becomes the bottom menu, so the active item drops the desktop rail's left bar and keeps the outline. */
@media(max-width:760px){html:is([data-theme=hoot],[data-theme=inu]) .rail nav button[aria-current=page],html:is([data-theme=hoot],[data-theme=inu]) .rail nav button.active{box-shadow:none!important}}

/* /theme-settings.css */
.settings-trigger{cursor:pointer;border-radius:12px;transition:background .18s ease,transform .18s ease}.settings-trigger:hover,.settings-trigger:focus-visible{background:#17181a;outline:1px solid #474a4f;transform:translateY(-1px)}.settings-dialog{width:min(620px,calc(100vw - 28px));padding:0;overflow:hidden}.settings-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:20px 22px}.settings-dialog header small{color:#78ecd6;font-size:9px;font-weight:800;letter-spacing:.16em}.settings-dialog h2{margin:4px 0 0}.settings-close{width:34px;height:34px;border-radius:9px}.settings-layout{display:grid;grid-template-columns:150px minmax(0,1fr);min-height:330px}.settings-layout>nav{display:flex;flex-direction:column;gap:6px;padding:18px 12px;border-right:1px solid #292b2e}.settings-layout>nav button{min-height:40px;padding:0 12px;text-align:left;border:0;border-radius:8px;background:transparent!important;color:#aeb0b3!important}.settings-layout>nav button[aria-selected=true]{background:#1a1b1d!important;color:#fff!important}.settings-layout>section{padding:24px}.settings-layout h3{margin:0 0 7px}.settings-layout section>p{margin:0 0 22px}.settings-toggle{display:grid;grid-template-columns:auto 54px minmax(0,1fr);align-items:center;gap:13px;padding:13px;margin-top:10px;border:1px solid #303236;border-radius:11px;background:var(--granite-soft,linear-gradient(150deg,#0f1012,#070809 58%,#0b0c0e));cursor:pointer}.settings-toggle>span{display:grid;gap:3px}.settings-toggle small{color:#989b9f!important}.settings-toggle{grid-template-columns:1fr auto}.settings-toggle input{width:42px;height:22px;accent-color:#78ecd6}
.power-choices{display:grid;gap:8px}.power-choice{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:13px;border:1px solid #303236;border-radius:11px;background:var(--granite-soft,linear-gradient(150deg,#0f1012,#070809 58%,#0b0c0e));cursor:pointer}.power-choice:has(input:checked){border-color:#78ecd6;box-shadow:inset 0 0 0 1px #78ecd62b}.power-choice input{accent-color:#78ecd6}.power-choice span{display:grid;gap:3px}.power-choice small{color:#989b9f!important}.power-choice em{color:#78ecd6;font-size:9px;font-style:normal;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.power-note{min-height:20px;margin:14px 0 0!important;color:#aeb0b3!important}
html[data-motion=off] .terminal-dev-buy:before,html[data-motion=off] .terminal-dev-buy:after,html[data-motion=off] .terminal-dev-rebuy:before,html[data-motion=off] .terminal-dev-rebuy:after,html[data-motion=off] .signal-dev-buy:before,html[data-motion=off] .signal-dev-buy:after,html[data-motion=off] .signal-dev-rebuy:before,html[data-motion=off] .signal-dev-rebuy:after,html[data-motion=off] .reference-dev-buy:before,html[data-motion=off] .reference-dev-buy:after,html[data-motion=off] .reference-dev-rebuy:before,html[data-motion=off] .reference-dev-rebuy:after{animation:none!important}
html[data-performance=light] *,html[data-performance=light] *:before,html[data-performance=light] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}html[data-performance=light] :is(.rail,.topbar,.bastion,.alert-drawer,.alert-live-rail .pulse-alert-event,#quick-order-status,dialog){backdrop-filter:none!important;-webkit-backdrop-filter:none!important}html[data-performance=light] :is(.terminal-token,.bastion-row,.reference-detail,.position-card,.leaderboard-card,.home-intro,.home-price,.home-network,.home-runners){filter:none!important;box-shadow:none!important}html[data-performance=light] dialog::backdrop{backdrop-filter:none!important}
@media(max-width:620px){.settings-layout{grid-template-columns:1fr}.settings-layout>nav{flex-direction:row;border-right:0;border-bottom:1px solid #292b2e}.settings-layout>nav button{flex:1;text-align:center;padding:0 8px}.settings-layout>section{padding:18px}.power-choice{grid-template-columns:auto 1fr}.power-choice em{grid-column:2}}

/* Preserve signal colors while pausing motion on tokens outside the active budget. */
.token-motion-static,.token-motion-static:before,.token-motion-static:after,.token-motion-static *,.token-motion-static *:before,.token-motion-static *:after{animation:none!important;transition:none!important}

/* Phones: settings live at the top of Tools, and the bottom menu has no settings button. */
.tools-settings{display:none}
@media(max-width:760px){
 .rail .rail-status.settings-trigger{display:none!important}
 .tools-settings{display:grid;gap:18px;margin:0 0 16px;padding:18px;border:1px solid #303236;border-radius:14px;background:var(--granite-flat,#0b0c0e)}
 .tools-settings header small{color:#78ecd6;font-size:9px;font-weight:800;letter-spacing:.16em}
 .tools-settings h2{margin:4px 0 0;font-size:20px}
 .tools-settings h3{margin:0 0 6px;font-size:15px}
 .tools-settings section>p{margin:0 0 10px!important;color:#aeb0b3;font-size:12px;line-height:1.45}
 .tools-settings .power-choice{grid-template-columns:auto 1fr}
 .tools-settings .power-choice em{grid-column:2}
}
/* Settings → Pulse: the opt-in workspace switch leads; the switches that only work inside it are dimmed while it is off. */
.settings-hint{margin:12px 2px 0!important;color:#7d8084!important;font-size:12px}
/* The dialog fits short windows (720px tall laptops): the header stays, the sections scroll, the section menu stays in view. */
dialog.settings-dialog[open]{display:flex;flex-direction:column;max-height:calc(100dvh - 24px)}
dialog.settings-dialog>.settings-layout{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}
dialog.settings-dialog>.settings-layout>nav{position:sticky;top:0;align-self:start;z-index:1}
@media(max-width:620px){dialog.settings-dialog>.settings-layout>nav{position:static}}
.settings-hint[data-motion-paused]{margin:12px 0 0;font-size:12px;opacity:.8}

/* /leaderboard-terminal.css */







/* Inspect a leaderboard token without navigating away from the list. */
#leaderboard-inspector{width:min(620px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid #42474b;border-radius:14px;overflow:auto;overscroll-behavior:contain;color:#f7f7f5;background:#080a0b!important}
#leaderboard-inspector::backdrop{background:#000b}
#leaderboard-inspector>.leaderboard-inspector-header{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;border-bottom:1px solid #34383b;background:#080a0b}
#leaderboard-inspector-title{margin:0;font-size:14px}
#leaderboard-inspector [data-popup-close]{min-width:44px;min-height:44px;cursor:pointer;border:1px solid #484d51;border-radius:8px;background:#101315;color:#fff}
#leaderboard-inspector-header{display:flex}
#leaderboard-inspector .leaderboard-inspector-header button{font-size:28px;line-height:1}
#leaderboard-inspector .reference-detail{position:relative;top:auto;margin:0;width:100%;max-width:none;border:0!important;border-radius:0}
#leaderboard-inspector>.leaderboard-inspector-content{min-width:0}
#leaderboard-inspector>footer{padding:12px}
#leaderboard-inspector>footer button{width:100%;font:600 13px var(--sans,sans-serif)}
#leaderboard-inspector button:focus-visible{outline:2px solid #83eed0;outline-offset:2px}
@media(max-width:760px){#leaderboard-inspector{width:calc(100vw - 16px);max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 16px)}#leaderboard-inspector .reference-detail{padding:12px}#leaderboard-inspector>footer{padding-bottom:max(12px,env(safe-area-inset-bottom,0px))}}

#leaderboard-inspector .leaderboard-inspector-header button span{font:inherit;color:inherit;display:inline}

#leaderboard-inspector .leaderboard-inspector-header button,#leaderboard-inspector .leaderboard-inspector-header button span{font-size:26px!important;line-height:1!important}



/* Token popup: spacious research preview with a persistent full-page destination. */
#leaderboard-inspector{width:min(900px,calc(100vw - 40px));box-shadow:0 24px 100px #000b}
#leaderboard-inspector::backdrop{background:#0009;backdrop-filter:blur(5px)}
#leaderboard-inspector>.leaderboard-inspector-header{padding:12px 20px;background:linear-gradient(110deg,#25190f,#0b0e10 55%);border-bottom-color:#ff991b38}
#leaderboard-inspector-title{font-size:17px;white-space:nowrap}
#leaderboard-inspector .token-full-page{display:inline-flex;align-items:center;justify-content:center;gap:10px;margin-left:auto;min-height:40px;padding:8px 14px;border:1px solid #ff9b32;border-radius:8px;background:linear-gradient(110deg,#ffae43,#ff891d);color:#1c1004;font:700 13px/1.25 var(--sans,sans-serif);text-decoration:none}
#leaderboard-inspector .token-full-page:hover{background:#ffbb61}
#leaderboard-inspector .token-full-page:focus-visible{outline:2px solid #ffd297;outline-offset:3px}
#leaderboard-inspector #detail{display:flex!important;flex-direction:column!important;padding:20px!important;background:#090d10!important;box-shadow:none!important}
#leaderboard-inspector #detail .reference-main,#leaderboard-inspector #detail .reference-side{display:contents!important}
#leaderboard-inspector #detail>.reference-close{display:none!important}
#leaderboard-inspector #detail .reference-token-head{padding:0!important;margin:0 0 20px!important;grid-template-columns:88px minmax(0,1fr) auto!important;gap:20px!important}
#leaderboard-inspector #detail .reference-token-logo{width:88px!important;height:88px!important;border-radius:20px}
#leaderboard-inspector #detail .reference-token-head h2{font-size:34px!important;line-height:1.15}
#leaderboard-inspector #detail .reference-contract{max-width:100%;overflow-wrap:anywhere}
#leaderboard-inspector #detail .reference-metrics{order:2;margin-bottom:16px!important}
#leaderboard-inspector #detail .token-statistics{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;border:0;padding:0!important}
#leaderboard-inspector #detail .token-statistic{padding:13px 14px!important;border:1px solid #ff9b3226!important;border-radius:9px;background:linear-gradient(120deg,#171510,#0a0e11)}
#leaderboard-inspector #detail .token-statistic dt{font-size:10px!important;color:#b3c0ce}
#leaderboard-inspector #detail .token-statistic dd{font-size:20px!important;margin-top:6px!important}
#leaderboard-inspector #detail .token-statistic small{font-size:11px!important;margin-top:5px!important}
#leaderboard-inspector #detail .reference-view-tab{display:block!important}
#leaderboard-inspector #detail .reference-detail-tabs{order:3;position:static!important;margin:0 0 12px!important;padding:4px;border:1px solid #ff9b3226;border-radius:9px;background:#0b1014}
#leaderboard-inspector #detail .reference-detail-tabs button{flex:1;min-height:44px;font-size:13px;white-space:nowrap}
#leaderboard-inspector #detail .reference-candles{order:4;margin:0!important}
#leaderboard-inspector #detail[data-view=chart] :is(.reference-unlock,.reference-external-trade,.reference-order,.reference-tools-entry,[data-detail-panel]),
#leaderboard-inspector #detail[data-view=trade] :is(.reference-candles,.reference-dex-primary,[data-detail-panel]),
#leaderboard-inspector #detail[data-view=research] :is(.reference-candles,.reference-dex-primary,.reference-unlock,.reference-external-trade,.reference-order,.reference-tools-entry){display:none!important}
#leaderboard-inspector #detail[data-view=trade] .reference-order[hidden][data-preview="1"]{display:block!important}
#leaderboard-inspector #detail[data-view=trade]:has(.reference-order[data-preview="1"]) .reference-unlock{display:none!important}
@media(max-width:600px){
 #leaderboard-inspector{width:calc(100vw - 16px)}
 #leaderboard-inspector>.leaderboard-inspector-header{padding:10px;gap:8px;flex-wrap:wrap}
 #leaderboard-inspector-title{font-size:15px;flex:1}
 #leaderboard-inspector .token-full-page{order:3;width:100%;margin:0;min-height:44px}
 #leaderboard-inspector #detail{padding:12px!important}
 #leaderboard-inspector #detail .reference-token-head{grid-template-columns:52px minmax(0,1fr) auto!important;gap:10px!important}
 #leaderboard-inspector #detail .reference-token-logo{width:52px!important;height:52px!important;border-radius:12px}
 #leaderboard-inspector #detail .reference-token-head h2{font-size:24px!important}
 #leaderboard-inspector #detail .token-statistics{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
 #leaderboard-inspector #detail .token-statistic{padding:10px!important}
 #leaderboard-inspector #detail .token-statistic dd{font-size:17px!important}
 #leaderboard-inspector #detail .reference-detail-tabs button{flex:0 0 auto;padding:8px 12px}
}

#leaderboard-inspector #detail{align-items:stretch!important}
#leaderboard-inspector #detail :is(.reference-token-head,.reference-metrics,.reference-detail-tabs,.reference-candles){width:100%!important;min-width:0;box-sizing:border-box}

#leaderboard-inspector #detail .reference-detail-tabs button[aria-selected=true]{color:#ffb24f!important;border-bottom:2px solid #ff941f!important;background:linear-gradient(0deg,#ff941f18,transparent)!important}
#leaderboard-inspector #detail .reference-token-head{background:radial-gradient(ellipse at top right,#f58b1714,transparent 65%)}
@media(min-width:601px){#leaderboard-inspector #detail .token-statistics{grid-template-columns:repeat(12,minmax(0,1fr))!important}#leaderboard-inspector #detail .token-statistic{grid-column:span 3}#leaderboard-inspector #detail .token-statistic:nth-child(n+5){grid-column:span 4}}

#leaderboard-inspector #detail .reference-token-head{align-items:start!important}

/* /token-rows.css */
/* Compact token rows (leaderboard Rows, Home runners, holdings, wallet research) and 24-hour price lines. */
.token-rows{--tr-up:var(--up-ink);--tr-down:var(--down-ink);--tr-flat:#7d858c;display:grid;min-width:0;border:1px solid #23272b;border-radius:14px;background:#0b0d0f;overflow:hidden;color:#eceeef}
.token-rows .tr-head,.token-rows .tr-row{display:grid;grid-template-columns:var(--tr-cols);align-items:center;gap:14px;padding:0 16px}
.token-rows .tr-head{min-height:40px;border-bottom:1px solid #1f2327;color:#7d858c;font:700 10.5px/1 var(--sans,sans-serif);letter-spacing:.12em;text-transform:uppercase}
.token-rows .tr-row{min-height:76px;border-bottom:1px solid #191c1f;cursor:pointer;transition:background .15s}
.token-rows .tr-row:last-child{border-bottom:0}
.token-rows .tr-row:hover,.token-rows .tr-row:focus-visible{background:#121518;outline:none}
.token-rows .tr-row:focus-visible{box-shadow:inset 3px 0 0 #ffad47}
.token-rows [class^=tr-col-]{min-width:0}
.token-rows .tr-col-fdv,.token-rows .tr-col-change,.token-rows .tr-col-volume,.token-rows .tr-col-holders,.token-rows .tr-col-age,.token-rows .tr-col-value,.token-rows .tr-col-pnl,.token-rows .tr-col-peak,.token-rows .tr-col-now{display:grid;justify-items:end;gap:4px;text-align:right}
.token-rows .tr-head .tr-col-fdv,.token-rows .tr-head .tr-col-change,.token-rows .tr-head .tr-col-volume,.token-rows .tr-head .tr-col-holders,.token-rows .tr-head .tr-col-age,.token-rows .tr-head .tr-col-value,.token-rows .tr-head .tr-col-pnl,.token-rows .tr-head .tr-col-peak,.token-rows .tr-head .tr-col-now{display:block}
.token-rows .tr-rank{color:#9aa1a8;font:700 13px/1 var(--mono,ui-monospace,monospace)}
.token-rows .tr-rank.is-first{color:#ffad47}
.token-rows .tr-col-token{display:flex;align-items:center;gap:14px}
.token-rows .tr-icon{flex:none;width:52px;height:52px;border-radius:12px;background:#15181b;object-fit:cover}
.token-rows .tr-name{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:baseline;column-gap:7px;row-gap:5px;min-width:0}
.token-rows .tr-name b{overflow:hidden;color:#fff;font-size:15px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}
.token-rows .tr-name em{overflow:hidden;color:#8e969d;font:600 12px/1 var(--mono,ui-monospace,monospace);font-style:normal;text-overflow:ellipsis;white-space:nowrap}
.token-rows .tr-name small{grid-column:1/-1;overflow:hidden;color:#8e969d;font-size:12.5px;text-overflow:ellipsis;white-space:nowrap}
.token-rows .tr-num{color:#f4f5f5;font:700 14px/1.1 var(--mono,ui-monospace,monospace);font-variant-numeric:tabular-nums;white-space:nowrap}
.token-rows small{color:#7d858c;font-size:11.5px;white-space:nowrap}
.token-rows .tr-change{font:700 14px/1 var(--mono,ui-monospace,monospace);font-variant-numeric:tabular-nums}
.token-rows .tr-up{color:var(--tr-up)}.token-rows .tr-down{color:var(--tr-down)}.token-rows .tr-flat{color:var(--tr-flat)}
.token-rows .tr-star{width:30px;min-height:30px;padding:0;border:0;background:transparent;color:#8e969d;font-size:16px;cursor:pointer}
.token-rows .tr-star[aria-pressed=true]{color:#ffad47}
.token-rows .tr-empty{margin:0;padding:26px 16px;color:#8e969d;text-align:center}
.token-rows .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}

.spark-slot{display:block;width:100%;height:34px}
.spark{display:block;width:100%;height:100%;overflow:visible}
.spark .spark-line{fill:none;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.spark-up .spark-line{stroke:#3ddc97}
.spark-down .spark-line{stroke:#ff5c7a}
.spark-flat .spark-line,.spark-none .spark-line{stroke:#5d656c}
.spark-none .spark-line{stroke-dasharray:3 4}


/* Layout switches (Cards / Rows) used outside the leaderboard. */
.rows-switch{display:inline-flex;align-items:center;gap:8px;color:#9aa1a8;font-size:12px;font-weight:650;cursor:pointer;user-select:none}
.rows-switch input{position:absolute;opacity:0;pointer-events:none}
.rows-switch i{position:relative;width:34px;height:20px;border:1px solid #3a3f44;border-radius:999px;background:#0b0d0f;transition:background .15s,border-color .15s}
.rows-switch i::after{content:"";position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50%;background:#9aa1a8;transition:transform .15s,background .15s}
.rows-switch input:checked+i{border-color:#ffad47;background:#2a1a08}
.rows-switch input:checked+i::after{transform:translateX(14px);background:#ffad47}
.rows-switch input:focus-visible+i{outline:2px solid #ffad4780;outline-offset:2px}

@media(max-width:900px){.token-rows .tr-head,.token-rows .tr-row{grid-template-columns:var(--tr-cols-900)}.token-rows [data-hide-below="900"]{display:none!important}}
@media(max-width:760px){
 .token-rows .tr-head,.token-rows .tr-row{grid-template-columns:var(--tr-cols-760);gap:10px;padding:0 10px}
 .token-rows [data-hide-below="760"]{display:none!important}
 .token-rows .tr-row{min-height:64px}
 .token-rows .tr-icon{width:40px;height:40px;border-radius:10px}
 .token-rows .tr-name small{display:none}
}
@media(max-width:480px){.token-rows .tr-head,.token-rows .tr-row{grid-template-columns:var(--tr-cols-480)}.token-rows [data-hide-below="480"]{display:none!important}}
@media(prefers-reduced-motion:reduce){.token-rows .tr-row{transition:none}}
.token-rows:not(#_) .tr-star{background:transparent!important;border:0!important;box-shadow:none!important;color:#8e969d!important}.token-rows:not(#_) .tr-star[aria-pressed=true]{color:#ffad47!important}.token-rows:not(#_) .tr-star:hover{color:#fff!important}
/* Sortable headers: the active column is highlighted with its direction. :not(#_) outranks the theme's button rules. */
.token-rows .tr-head .tr-sort:not(#_){display:inline-flex;align-items:center;gap:5px;min-height:0!important;padding:4px 0!important;border:0!important;background:transparent!important;box-shadow:none!important;animation:none!important;color:inherit!important;font:inherit!important;letter-spacing:inherit!important;text-transform:inherit!important;cursor:pointer}
.token-rows .tr-head .tr-sort:not(#_):hover{color:#d7dadc!important}
.token-rows .tr-head .tr-sort:not(#_).is-active{color:#ffad47!important}
.token-rows .tr-head .tr-sort i{display:inline-block;width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid currentColor;opacity:0;transition:opacity .15s,transform .15s}
.token-rows .tr-head .tr-sort:hover i{opacity:.45}
.token-rows .tr-head .tr-sort.is-active i{opacity:1}
.token-rows .tr-head .tr-sort[data-dir=asc] i{transform:rotate(180deg)}
.token-rows .tr-head .tr-sort:focus-visible{outline:2px solid #ffad47;outline-offset:2px}

/* /pnl-summary.css */
/* Portfolio value and period PnL card on Positions, kept short: value and period switch in one row, the figures in
   one row of tiles. Scoped to #pnl-summary: the granite theme restyles buttons in non-Pulse panels with !important,
   and only an id-level selector outranks it. */
#pnl-summary{--pnl-up:var(--up-ink);--pnl-down:var(--down-ink);--pnl-muted:#80888f;display:grid;gap:10px;margin:0 0 14px;padding:12px 14px;border:1px solid #23272b;border-radius:14px;background:linear-gradient(165deg,#0e1012,#08090a);color:#eceeef;font-variant-numeric:tabular-nums}
#pnl-summary[hidden]{display:none}
#pnl-summary .pnl-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px}
#pnl-summary .pnl-value{display:grid;gap:2px;min-width:0}
#pnl-summary .pnl-label{color:var(--pnl-muted);font-size:11.5px}
#pnl-summary .pnl-total{display:flex;align-items:center;gap:7px;margin:0}
#pnl-summary .pnl-total .pnl-near{width:20px;height:20px}
#pnl-summary .pnl-total strong{font:800 24px/1.05 var(--mono,ui-monospace,monospace);letter-spacing:-.01em;color:#fff}
#pnl-summary .pnl-total small{margin-left:2px;color:var(--pnl-muted);font:600 13px/1 var(--mono,ui-monospace,monospace)}
#pnl-summary .pnl-split{margin:0;color:#6c747a;font:500 11px/1.4 var(--mono,ui-monospace,monospace)}
#pnl-summary .pnl-head{display:flex;align-items:center;gap:4px}
#pnl-summary .pnl-periods{display:inline-flex;gap:2px;padding:3px;border:1px solid #202427;border-radius:10px;background:#060707}
#pnl-summary .pnl-periods button{min-width:42px;min-height:28px;padding:0 9px!important;border:0!important;border-radius:7px;background:transparent!important;box-shadow:none!important;color:#7d858c!important;font:700 11.5px/1 var(--mono,ui-monospace,monospace);letter-spacing:.05em;text-align:center;cursor:pointer}
#pnl-summary .pnl-periods button[aria-selected=true]{background:#1b1f23!important;color:#fff!important}
#pnl-summary .pnl-refresh{display:grid;place-items:center;width:32px;min-height:32px;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#7d858c!important;cursor:pointer}
#pnl-summary .pnl-refresh:hover{color:#fff!important}
#pnl-summary svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#pnl-summary .pnl-near{display:inline-block;width:12px;height:12px;margin-right:3px;vertical-align:-1px;border-radius:50%}
#pnl-summary .pnl-body{display:grid;gap:6px}
#pnl-summary .pnl-body:empty{display:none}
#pnl-summary .pnl-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(118px,1fr));gap:6px;margin:0}
#pnl-summary .pnl-stats>div{display:grid;align-content:start;gap:3px;min-width:0;padding:8px 10px;border-radius:10px;background:#111416}
#pnl-summary dt{overflow:hidden;color:var(--pnl-muted);font-size:11px;white-space:nowrap;text-overflow:ellipsis}
#pnl-summary dd{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 6px;margin:0;color:#f4f5f5;font:700 13.5px/1.2 var(--mono,ui-monospace,monospace);white-space:nowrap}
#pnl-summary dd small{color:var(--pnl-muted);font-size:11px;font-weight:600}
#pnl-summary dd i{color:#4b5257;font-style:normal}
#pnl-summary dd b{color:#fff}
#pnl-summary .pnl-up{color:var(--pnl-up)}#pnl-summary .pnl-down{color:var(--pnl-down)}#pnl-summary .pnl-flat{color:#cfd3d6}
#pnl-summary dd.pnl-up small,#pnl-summary dd.pnl-down small{color:inherit;opacity:.75}
#pnl-summary .pnl-unknown{color:var(--pnl-muted);font-weight:600}
#pnl-summary .pnl-note{margin:0;color:#6c747a;font-size:11px;line-height:1.4}
#pnl-summary .pnl-notes{color:#6c747a;font-size:11px;line-height:1.45}
#pnl-summary .pnl-notes summary{width:max-content;max-width:100%;cursor:pointer;list-style:none}
#pnl-summary .pnl-notes summary::-webkit-details-marker{display:none}
#pnl-summary .pnl-notes summary::before{content:'ⓘ';margin-right:5px}
#pnl-summary .pnl-notes summary:hover{color:#aab0b5}
#pnl-summary .pnl-notes ul{margin:4px 0 0;padding-left:18px}
#pnl-summary .pnl-narrow{display:none}
#pnl-summary .pnl-empty{margin:2px 0 0;color:var(--pnl-muted);font-size:12.5px}
@media(max-width:760px){
 #pnl-summary{padding:10px 12px;border-radius:12px}
 #pnl-summary .pnl-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
 #pnl-summary .pnl-stats>div{padding:7px 8px}
 #pnl-summary dd{font-size:12.5px}
 #pnl-summary .pnl-wide{display:none}
 #pnl-summary .pnl-narrow{display:inline}
 #pnl-summary .pnl-periods button{min-width:38px;padding:0 7px!important}
}
@media(max-width:340px){#pnl-summary .pnl-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

