
:root{
  --bg:#000;
  --surface:#0a0a0a;
  --surface-2:#111;
  --line:rgba(255,255,255,.08);
  --line-2:rgba(255,255,255,.12);
  --text:#fafafa;
  --text-2:#a3a3a3;
  --text-3:#666;
  --text-4:#3a3a3a;
  --radius:20px;
  --bar-h:40px;
  --radius-sm:12px;
  --ease:cubic-bezier(.2,.8,.2,1);
  --ease-out:cubic-bezier(.16,1,.3,1);
  --sans:"Inter",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --mono:"Geist Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;background:var(--bg)}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--sans);font-size:14px;line-height:1.45;
  font-feature-settings:"cv11","ss01","ss03";-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;min-height:100vh}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
.num,.stat dd,.amt,.odo,.board-list .v,.c{font-variant-numeric:tabular-nums;font-feature-settings:"tnum","cv11","ss01"}
.muted{color:var(--text-3)}
[hidden]{display:none!important}

.wrap{max-width:1760px;margin:0 auto;padding:0 32px}

/* sample bar */
.sample-bar{position:sticky;top:0;z-index:60;display:flex;align-items:center;justify-content:center;gap:12px;
  height:var(--bar-h);padding:0 16px;font-size:12.5px;color:#000;background:
  repeating-linear-gradient(135deg,#fff 0 14px,#e9e9e9 14px 28px);font-weight:500;border-bottom:1px solid #000}
.sample-bar{box-sizing:border-box}
.sample-chip{background:#000;color:#fff;font-weight:700;letter-spacing:.12em;font-size:11px;padding:4px 9px;border-radius:6px}
.sample-bar .short{display:none}
.sample-exit{text-decoration:underline;text-underline-offset:3px;font-weight:600}

/* header */
.top{position:sticky;top:0;z-index:40;background:rgba(0,0,0,.72);backdrop-filter:saturate(1.4) blur(18px);-webkit-backdrop-filter:saturate(1.4) blur(18px);border-bottom:1px solid var(--line)}
body.demo .top{top:var(--bar-h)}
.top-inner{height:64px;display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;align-items:center;gap:10px}
.pb-sprite{position:absolute;width:0;height:0;overflow:hidden}
.pb-logo{display:block;fill:currentColor;flex:none;overflow:visible}
.logo-head{height:27px;width:auto;aspect-ratio:829/691;color:#fff}
.logo-agent{height:36px;width:auto;aspect-ratio:829/691;color:#000}
/* eyes only: blink + occasional glance. Everything else stays static. */
.pb-anim .pb-eye{transform-box:fill-box;transform-origin:50% 50%;animation:pbBlink 5.2s infinite}
.pb-anim .pb-eye-r{animation-delay:.012s}
.pb-anim .pb-eyes{animation:pbGlance 13s infinite}
@keyframes pbBlink{0%,93.4%,100%{transform:scaleY(1)}94.8%{transform:scaleY(.07)}96.3%{transform:scaleY(1)}}
@keyframes pbGlance{0%,34%{transform:translateX(0)}36.5%,46%{transform:translateX(-24px)}48.5%,72%{transform:translateX(0)}74.5%,82%{transform:translateX(24px)}84.5%,100%{transform:translateX(0)}}
@media (prefers-reduced-motion:reduce){.pb-anim .pb-eye,.pb-anim .pb-eyes{animation:none!important;transform:none!important}}
.wordmark{font-weight:650;font-size:18px;letter-spacing:-.035em}
.top-right{display:flex;align-items:center;gap:14px}
.live{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;color:var(--text-2)}
.live-dot{width:6px;height:6px;border-radius:50%;background:#fff;box-shadow:0 0 0 0 rgba(255,255,255,.5);animation:pulse 2.4s infinite}
.live.stale .live-dot{background:var(--text-3);animation:none}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(255,255,255,.45)}70%{box-shadow:0 0 0 7px rgba(255,255,255,0)}100%{box-shadow:0 0 0 0 rgba(255,255,255,0)}}
.pill-btn{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 14px;border-radius:999px;background:#fff;color:#000;font-weight:600;font-size:13px;transition:opacity .2s}
.pill-btn svg{width:13px;height:13px;fill:currentColor}
.pill-btn[aria-disabled="true"]{background:transparent;color:var(--text-2);border:1px solid var(--line-2);pointer-events:none}

/* grid */
.grid{display:grid;grid-template-columns:minmax(0,1fr) 392px;gap:20px;padding-top:28px;padding-bottom:28px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}
.pot-head .eyebrow{display:inline-flex;align-items:center;gap:8px}
.pot-head .eyebrow::before{content:"";width:6px;height:6px;border-radius:50%;background:#fff;animation:pulse 2.4s infinite}
.eyebrow{font-size:12.5px;color:var(--text-2);font-weight:500;letter-spacing:-.005em}
h2,h3{margin:0;font-weight:600;letter-spacing:-.02em}
h2{font-size:17px}
h3{font-size:15px}

/* pot */
.pot{padding:28px 28px 0;display:flex;flex-direction:column;overflow:hidden;position:relative}
.pot-head{display:flex;justify-content:space-between;align-items:center}
.pot-src{font-size:12px;color:var(--text-3)}
.pot-src .plus{color:var(--text-4);padding:0 2px}
.pot-balance{display:flex;align-items:flex-start;margin-top:18px;font-weight:500;letter-spacing:-.05em;line-height:1;font-size:96px;font-feature-settings:"tnum","cv11","ss01";white-space:nowrap}
.pot-balance .cur{font-size:.46em;color:var(--text-3);margin-top:.12em;margin-right:.08em;letter-spacing:0;font-weight:500}
.odo{display:inline-flex;height:1em;overflow:hidden;line-height:1}
.odo .ch{display:inline-block;height:1em}
.odo .ch.sep{width:.26em;text-align:center}
.odo .ch.dim,.odo .dcol.dim{color:var(--text-3)}
.odo .dcol{display:inline-block;height:1em;overflow:hidden;width:.6em;text-align:center}
.odo .strip{display:flex;flex-direction:column;transition:transform 1.4s var(--ease-out)}
.odo .strip span{height:1em;display:block}
.odo .cents{font-size:1em}
.pot-sub{margin-top:14px;font-size:13px;color:var(--text-2);display:flex;gap:14px;flex-wrap:wrap}
.pot-sub .sep{color:var(--text-4)}
.pot-sub b{color:var(--text);font-weight:500}

.chart{position:relative;height:168px;flex:1 0 168px;margin:22px -28px 0}
.chart svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.chart .line{fill:none;stroke:#fff;stroke-width:1.5;vector-effect:non-scaling-stroke;stroke-linejoin:round;stroke-linecap:round}
.chart .area{fill:url(#chartFill)}
.chart .base{stroke:var(--line-2);stroke-width:1;stroke-dasharray:2 4;vector-effect:non-scaling-stroke}
.chart .grid-l{stroke:rgba(255,255,255,.05);stroke-width:1;vector-effect:non-scaling-stroke}
.chart .cross{stroke:rgba(255,255,255,.35);stroke-width:1;vector-effect:non-scaling-stroke}
.chart-axis{position:absolute;left:28px;right:28px;bottom:10px;display:flex;justify-content:space-between;font-size:11px;color:var(--text-3);pointer-events:none;font-variant-numeric:tabular-nums}
.chart-empty{position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);text-align:center;font-size:12.5px;color:var(--text-3)}
.chart-empty span{background:var(--surface);padding:0 12px}
.chart-dot{position:absolute;width:9px;height:9px;border-radius:50%;background:#fff;transform:translate(-50%,-50%);box-shadow:0 0 0 4px rgba(255,255,255,.12);pointer-events:none}
.chart-tip{position:absolute;top:6px;transform:translateX(-50%);background:#fff;color:#000;border-radius:8px;padding:5px 9px;font-size:12px;font-weight:600;white-space:nowrap;pointer-events:none;font-variant-numeric:tabular-nums}
.chart-tip small{display:block;font-weight:500;color:#666;font-size:11px}

.stats{display:grid;grid-template-columns:repeat(4,1fr);margin:0 -28px;border-top:1px solid var(--line)}
.stat{padding:18px 28px 22px;border-left:1px solid var(--line);margin:0}
.stat:first-child{border-left:0}
.stat dt{font-size:12px;color:var(--text-3);margin-bottom:8px}
.stat dd{margin:0;font-size:22px;font-weight:500;letter-spacing:-.03em}
.stat dd .dim{color:var(--text-3)}

/* agent */
.side-top,.side-bottom{display:flex;flex-direction:column;gap:20px;min-width:0}
.agent{background:#fff;color:#000;border-color:#fff;padding:22px;display:flex;flex-direction:column;flex:1;min-height:0}
.agent-head{display:flex;justify-content:space-between;align-items:center}
.agent-id{display:flex;align-items:center;gap:12px}
.agent-name{font-weight:650;letter-spacing:-.03em;font-size:16px}
.agent-kind{font-size:12px;color:#737373}
.state-pill{display:inline-flex;align-items:center;gap:7px;height:28px;padding:0 11px;border-radius:999px;background:#f2f2f2;font-size:12px;font-weight:600;letter-spacing:-.005em}
.state-dot{width:6px;height:6px;border-radius:50%;background:#000}
.state-pill.busy .state-dot{animation:pulseDark 1.6s infinite}
@keyframes pulseDark{0%{box-shadow:0 0 0 0 rgba(0,0,0,.35)}70%{box-shadow:0 0 0 6px rgba(0,0,0,0)}100%{box-shadow:0 0 0 0 rgba(0,0,0,0)}}
.agent-now{margin-top:auto;padding-top:34px}
.agent-msg{font-size:30px;font-weight:600;letter-spacing:-.04em;line-height:1.08;min-height:1.08em;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.agent-msg .av{width:30px;height:30px;font-size:12px}
.agent-detail{margin-top:8px;font-size:13px;color:#737373;min-height:1.45em}
.swap{animation:swapIn .5s var(--ease-out)}
@keyframes swapIn{from{opacity:0;transform:translateY(8px);filter:blur(4px)}to{opacity:1;transform:none;filter:none}}
.steps{list-style:none;margin:22px 0 0;padding:0;display:grid;grid-template-columns:repeat(5,1fr);gap:6px}
.steps li{display:flex;flex-direction:column;gap:8px}
.steps .bar{height:3px;border-radius:3px;background:#e8e8e8;overflow:hidden;display:block}
.steps .bar span{display:block;height:100%;width:0;background:#000;border-radius:3px}
.steps li.done .bar span{width:100%}
.steps li.active .bar span{animation:fill 3.2s linear forwards}
.steps li.active.hold .bar span{animation:holdPulse 2.4s ease-in-out infinite;width:100%}
@keyframes fill{from{width:0}to{width:100%}}
@keyframes holdPulse{0%,100%{opacity:.25}50%{opacity:1}}
.steps .lbl{font-size:11.5px;color:#a3a3a3;font-weight:500}
.steps li.active .lbl,.steps li.done .lbl{color:#000}
.agent-foot{margin-top:20px;padding-top:16px;border-top:1px solid #ececec;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12.5px}
.last{display:flex;gap:8px;align-items:center;min-width:0}
.last .k{color:#8a8a8a}
.last .v{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
.upd{color:#a3a3a3;white-space:nowrap;font-variant-numeric:tabular-nums}

.how{padding:20px 22px}
.how-list{list-style:none;margin:14px 0 0;padding:0;display:flex;flex-direction:column;gap:11px}
.how-list li{display:flex;gap:12px;font-size:13px;color:var(--text-2);line-height:1.4}
.how-list .n{flex:none;width:20px;height:20px;border-radius:50%;border:1px solid var(--line-2);display:inline-flex;align-items:center;justify-content:center;font-size:11px;color:var(--text);font-weight:600;margin-top:-1px}

/* stream */
.stream{padding:0;overflow:hidden;min-width:0}
.stream-head{display:flex;justify-content:space-between;align-items:center;padding:20px 24px 16px}
.seg{display:inline-flex;background:var(--surface-2);border:1px solid var(--line);border-radius:999px;padding:3px}
.seg button{height:28px;padding:0 12px;border-radius:999px;font-size:12.5px;font-weight:500;color:var(--text-2);display:inline-flex;align-items:center;gap:6px;transition:background .2s,color .2s}
.seg button .c{color:var(--text-3);font-size:11.5px}
.seg button[aria-selected="true"]{background:#fff;color:#000}
.seg button[aria-selected="true"] .c{color:#777}
.day{padding:14px 24px 6px;font-size:12px;color:var(--text-3);font-weight:500;border-top:1px solid var(--line);position:relative}
.day:first-child{border-top:0}
.row{display:grid;grid-template-columns:96px minmax(0,1fr) auto 92px;align-items:center;gap:18px;padding:13px 24px;cursor:pointer;transition:background .18s;position:relative;width:100%;text-align:left}
.row:hover{background:rgba(255,255,255,.028)}
.row:focus-visible{outline:1px solid #fff;outline-offset:-1px}
.row + .row::before{content:"";position:absolute;top:0;left:138px;right:24px;height:1px;background:var(--line)}
.row.new{animation:rowIn .9s var(--ease-out)}
@keyframes rowIn{from{opacity:0;transform:translateY(-6px);background:rgba(255,255,255,.08)}to{opacity:1;transform:none}}
.flow{display:flex;align-items:center}
.flow .link{flex:1;height:10px;margin:0 3px;position:relative;min-width:18px;display:block}
.flow .link svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.flow .link path{stroke:#5a5a5a;stroke-width:1.25;fill:none;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.av{width:34px;height:34px;border-radius:50%;flex:none;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;letter-spacing:-.02em;color:#fff;background:#262626;position:relative;z-index:1;box-shadow:0 0 0 3px var(--surface)}
.av.bot{background:#000;border:1px solid rgba(255,255,255,.22);color:#fff}
.av.bot .pb-logo{width:64%;height:auto;aspect-ratio:829/691}
.av.fees{background:transparent;border:1px dashed #555;color:var(--text-2)}
.av.fees svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.6}
.who{min-width:0}
.who .t{font-size:14px;font-weight:500;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.who .t .h{font-weight:600}
.who .t .g{color:var(--text-3);font-weight:400}
.who .s{font-size:12.5px;color:var(--text-3);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rcpt{font-size:12px;color:var(--text-2);display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 9px;border:1px solid var(--line);border-radius:999px;white-space:nowrap;transition:border-color .2s,color .2s}
.rcpt:hover{border-color:var(--line-2);color:var(--text)}
.rcpt svg{width:10px;height:10px;stroke:currentColor;fill:none;stroke-width:2}
.rcpt.pending{color:var(--text-3);border-style:dashed}
.amtcol{text-align:right}
.amt{font-size:16px;font-weight:600;letter-spacing:-.02em;white-space:nowrap}
.amt.out{color:var(--text)}
.amt.in{color:var(--text)}
.amt .sign{color:var(--text-3);font-weight:500;margin-right:1px}
.tm{font-size:12px;color:var(--text-3);margin-top:2px;font-variant-numeric:tabular-nums}
.more{display:block;width:calc(100% - 48px);margin:8px 24px 20px;height:40px;border-radius:12px;border:1px solid var(--line);color:var(--text-2);font-size:13px;font-weight:500}
.more:hover{color:var(--text);border-color:var(--line-2)}

/* empty */
.empty{padding:56px 24px 64px;text-align:center}
.empty-flow{display:flex;align-items:center;justify-content:center;gap:0;margin-bottom:28px}
.empty-flow .node{display:flex;flex-direction:column;align-items:center;gap:10px;width:96px}
.empty-flow .node span{font-size:11.5px;color:var(--text-3)}
.empty-flow .ghost{width:44px;height:44px;border-radius:50%;border:1px dashed #444;display:flex;align-items:center;justify-content:center;color:#555}
.empty-flow .ghost svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.5}
.empty-flow .logo-empty{width:58px;height:auto;aspect-ratio:829/691;color:#fff;margin:-2px 0 0}
.empty-flow .wire{width:64px;height:1px;margin-bottom:24px;background:repeating-linear-gradient(90deg,#444 0 3px,transparent 3px 7px);position:relative;overflow:hidden}
.empty-flow .wire::after{content:"";position:absolute;top:-1px;left:-20%;width:14px;height:3px;border-radius:2px;background:#fff;animation:travel 2.8s var(--ease) infinite}
.empty-flow .wire.w2::after{animation-delay:1.4s}
@keyframes travel{0%{left:-20%;opacity:0}15%{opacity:1}85%{opacity:1}100%{left:110%;opacity:0}}
.empty h4{margin:0;font-size:18px;font-weight:600;letter-spacing:-.025em}
.empty p{margin:8px auto 0;max-width:380px;color:var(--text-3);font-size:13.5px}
.board-empty{padding:18px 0 4px;color:var(--text-3);font-size:13px}

/* boards */
.board{padding:20px 22px 12px}
.board-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:6px}
.board-head .muted{font-size:12px}
.board-list{list-style:none;margin:0;padding:0}
.board-list li{display:grid;grid-template-columns:18px 30px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 0;border-top:1px solid var(--line)}
.board-list li:first-child{border-top:0}
.board-list .r{font-size:12px;color:var(--text-3);font-variant-numeric:tabular-nums}
.board-list .av{width:30px;height:30px;font-size:11px;box-shadow:none}
.board-list .h{font-size:13.5px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.board-list .h small{display:block;color:var(--text-3);font-size:12px;font-weight:400}
.board-list .v{font-size:14px;font-weight:600;letter-spacing:-.015em}

.foot{display:flex;align-items:center;gap:10px;padding-top:8px;padding-bottom:40px;font-size:12.5px;color:var(--text-3)}
.foot .spacer{flex:1}
.dotsep{color:var(--text-4)}

/* drawer */
.scrim{position:fixed;inset:0;background:rgba(0,0,0,.6);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);z-index:80;opacity:0;transition:opacity .3s}
.scrim.open{opacity:1}
.drawer{position:fixed;z-index:90;top:12px;right:12px;bottom:12px;width:440px;max-width:calc(100vw - 24px);background:#0b0b0b;border:1px solid var(--line-2);border-radius:24px;display:flex;flex-direction:column;
  transform:translateX(calc(100% + 24px));transition:transform .45s var(--ease-out);box-shadow:0 30px 80px rgba(0,0,0,.6)}
.drawer.open{transform:none}
.drawer-grab{display:none}
.drawer-head{display:flex;justify-content:space-between;align-items:center;padding:18px 18px 0 24px}
.icon-btn{width:34px;height:34px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);transition:border-color .2s}
.icon-btn:hover{border-color:var(--line-2)}
.icon-btn svg{width:14px;height:14px;stroke:var(--text);stroke-width:1.6;fill:none}
.drawer-body{padding:8px 24px 24px;overflow:auto;flex:1;display:flex;flex-direction:column}
.d-amount{font-size:56px;font-weight:500;letter-spacing:-.05em;line-height:1;margin-top:18px;font-variant-numeric:tabular-nums;display:flex;align-items:flex-start}
.d-amount .cur{font-size:.5em;color:var(--text-3);margin:.1em .06em 0 0;letter-spacing:0}
.d-amount .cents{color:var(--text-3)}
.d-status{margin-top:14px;display:flex;align-items:center;gap:8px;font-size:13px;color:var(--text-2)}
.d-status .ok{width:16px;height:16px;border-radius:50%;background:#fff;display:inline-flex;align-items:center;justify-content:center}
.d-status .ok svg{width:9px;height:9px;stroke:#000;stroke-width:3;fill:none}
.d-status .pend{width:16px;height:16px;border-radius:50%;border:1.5px dashed var(--text-3)}
.d-flow{margin:26px 0 8px;padding:20px;border:1px solid var(--line);border-radius:18px;display:flex;align-items:center;gap:0;background:var(--surface)}
.d-party{display:flex;flex-direction:column;align-items:center;gap:10px;width:96px;flex:none;text-align:center;min-width:0}
.d-party .av{width:48px;height:48px;font-size:15px;box-shadow:none}
.d-party .av.bot{background:#fff;border-color:#fff;color:#000}
.d-party .n{font-size:13px;font-weight:600;max-width:96px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.d-party .r{font-size:11.5px;color:var(--text-3);margin-top:-6px}
.d-wire{flex:1;height:1px;background:var(--line-2);position:relative;margin-bottom:34px;overflow:visible}
.d-wire::after{content:"";position:absolute;right:0;top:-3.5px;width:7px;height:7px;border-top:1.25px solid #666;border-right:1.25px solid #666;transform:rotate(45deg)}
.d-wire .pkt{position:absolute;top:-2px;left:0;width:5px;height:5px;border-radius:50%;background:#fff;animation:pkt 2.2s var(--ease) infinite}
.d-wire .amt-tag{position:absolute;left:50%;top:-26px;transform:translateX(-50%);font-size:11.5px;color:var(--text-2);background:var(--surface);padding:0 6px;white-space:nowrap;font-variant-numeric:tabular-nums}
@keyframes pkt{0%{left:0;opacity:0}10%{opacity:1}90%{opacity:1}100%{left:calc(100% - 14px);opacity:0}}
.d-rows{margin:14px 0 0;padding:0}
.d-rows div{display:flex;justify-content:space-between;gap:16px;padding:13px 0;border-top:1px solid var(--line);font-size:13.5px}
.d-rows div:first-child{border-top:0}
.d-rows dt{color:var(--text-3)}
.d-rows dd{margin:0;text-align:right;font-weight:500;min-width:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.d-rows .mono{font-family:var(--mono);font-size:12.5px;font-weight:400;color:var(--text-2)}
.cb-tag{display:inline-flex;align-items:center;height:20px;padding:0 8px;margin-right:8px;border-radius:999px;background:#fff;color:#000;font-size:11px;font-weight:600;vertical-align:1px}
.cb-tag.off{background:transparent;color:var(--text-2);border:1px solid var(--line-2)}
.how-list .sub{display:block;color:var(--text-3);margin-top:2px}
.copy{margin-left:8px;color:var(--text-3);font-size:12px;border-bottom:1px dotted var(--text-3)}
.copy:hover{color:var(--text)}
.d-actions{margin-top:auto;padding-top:24px;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.btn{height:46px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:600;font-size:13.5px;border:1px solid var(--line-2);transition:opacity .2s,border-color .2s}
.btn svg{width:12px;height:12px;stroke:currentColor;fill:none;stroke-width:2}
.btn.primary{background:#fff;color:#000;border-color:#fff}
.btn:hover{opacity:.88}
.btn.disabled{color:var(--text-3);border-style:dashed;pointer-events:none;background:transparent}

body.lock{overflow:hidden}

/* ---------- responsive ---------- */
@media (max-width:1100px){
  .grid{grid-template-columns:minmax(0,1fr) 340px}
  .pot-balance{font-size:80px}
}
@media (max-width:900px){
  .wrap{padding:0 16px}
  .grid{grid-template-columns:minmax(0,1fr);gap:12px;padding-top:12px}
  .side-top{display:contents}
  .side-bottom{gap:12px}
  .agent{order:2}
  .pot{order:1}
  .stream{order:3}
  .how{order:5}
  .side-bottom{order:4}
}
@media (max-width:640px){
  body{font-size:14px}
  .top-inner{height:56px}
  :root{--bar-h:36px}
  .sample-bar{font-size:11.5px;gap:8px;padding:0 12px;flex-wrap:nowrap}
  .sample-bar > span:nth-child(2){display:none}
  .sample-bar .short{display:inline}
  .live #liveText{display:none}
  .pill-btn{height:32px;padding:0 12px;font-size:12.5px}
  :root{--radius:18px}
  .pot{padding:20px 20px 0}
  .pot-src{display:none}
  .pot-balance{font-size:60px;margin-top:14px}
  .pot-sub{font-size:12.5px;gap:10px;margin-top:12px}
  .chart{height:128px;flex:0 0 128px;margin:16px -20px 0}
  .chart-axis{left:20px;right:20px;bottom:8px}
  .stats{grid-template-columns:1fr 1fr;margin:0 -20px}
  .stat{padding:14px 20px 16px}
  .stat:nth-child(3){border-left:0}
  .stat:nth-child(n+3){border-top:1px solid var(--line)}
  .stat dd{font-size:19px}
  .agent{padding:18px}
  .agent-now{padding-top:24px}
  .agent-msg{font-size:24px}
  .stream-head{padding:16px 16px 12px}
  .seg button{padding:0 10px}
  .day{padding:12px 16px 4px}
  .row{grid-template-columns:74px minmax(0,1fr) auto;gap:12px;padding:12px 16px}
  .row + .row::before{left:102px;right:16px}
  .row .rcpt-col{display:none}
  .av{width:30px;height:30px;font-size:11px}
  .flow .link{min-width:14px}
  .who .t{font-size:13.5px}
  .amt{font-size:15px}
  .board{padding:18px 18px 8px}
  .foot{flex-wrap:wrap;padding-bottom:28px}
  .foot .spacer{flex-basis:100%;height:0}
  .drawer{top:auto;left:0;right:0;bottom:0;width:100%;max-width:none;border-radius:24px 24px 0 0;max-height:92vh;transform:translateY(100%);border-bottom:0}
  .drawer.open{transform:none}
  .drawer-grab{display:block;width:36px;height:4px;border-radius:4px;background:#333;margin:8px auto 0}
  .drawer-head{padding:10px 14px 0 20px}
  .drawer-body{padding:4px 20px calc(20px + env(safe-area-inset-bottom))}
  .d-amount{font-size:48px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
}
