/* glossary tips */
abbr.gl{text-decoration:none;border-bottom:1px dotted rgba(247,147,26,.75);cursor:help;color:inherit}
abbr.gl:focus-visible{outline:2px solid #F7931A;outline-offset:1px}
.gl-tip{position:fixed;z-index:1000;background:#0d1117;color:#d1d5db;border:1px solid rgba(247,147,26,.5);border-radius:6px;padding:9px 11px;font:12.5px/1.45 system-ui,-apple-system,Segoe UI,sans-serif;box-shadow:0 8px 24px rgba(0,0,0,.55)}
.gl-tip b{display:block;color:#F7931A;font-size:12px;margin-bottom:3px;letter-spacing:.02em}
.gl-tip a{color:#9ca3af;font-size:11px;margin-left:2px}
/* copy-link */
.shr{background:transparent;border:0;color:#6b7280;padding:2px 4px;margin-left:4px;cursor:pointer;vertical-align:middle;line-height:0;opacity:.6;border-radius:3px}
.shr:hover,.shr:focus-visible{color:#F7931A;opacity:1}
@media (hover:none){.shr{padding:8px;margin:-6px 0 -6px 0}}
.shr-toast{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);z-index:1001;background:#111827;color:#f3f4f6;border:1px solid rgba(247,147,26,.55);border-radius:20px;padding:7px 14px;font:600 12.5px system-ui,sans-serif;transition:opacity .35s;max-width:90vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.shr-toast.out{opacity:0}
.tke-alts{flex-wrap:wrap;gap:6px;align-items:center}.tke-alts[hidden]{display:none}.tke-alts small{flex-basis:100%}
/* no-history tiles: day range + change instead of a flat sparkline */
.spk-nr{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:32px;padding:2px 0;font:11px var(--mono,ui-monospace,monospace)}
.spk-nr small{color:#6b7280;font-size:10px}
.spk-nrb{display:flex;align-items:center;gap:6px;flex:1;min-width:0}.spk-nrb .rng{flex:1;max-width:none;width:auto;height:5px}
.spk-nrc{display:flex;align-items:baseline;gap:4px;white-space:nowrap}.spk-nrc b{font-size:12px}.spk-nrc .up{color:#22c55e}.spk-nrc .dn{color:#ef4444}
/* clear range and view controls (all charts) */
.seg,.x-seg{border-color:#374151!important;border-radius:6px!important;background:#0b0f14}
.seg button,.x-seg button{color:#cbd5e1!important;font-weight:700!important;padding:6px 10px!important;min-height:30px}
.seg button.on,.seg button[aria-pressed="true"],.seg button[aria-selected="true"],.x-seg button.on,.x-seg button[aria-pressed="true"]{background:#F7931A!important;color:#000!important;border-color:#F7931A!important}
.seg button:hover:not(.on):not([aria-pressed="true"]){background:rgba(247,147,26,.12)}
.lc-r::before,.ch-gbar .seg::before,.p-charts .ch-sub .seg::before{content:'Range';align-self:center;padding:0 6px 0 8px;color:#6b7280;font:600 9.5px var(--mono,ui-monospace,monospace);letter-spacing:.06em;text-transform:uppercase}
.lc-m::before,.ch-view::before,.pc-mode::before{content:'View';align-self:center;padding:0 6px 0 8px;color:#6b7280;font:600 9.5px var(--mono,ui-monospace,monospace);letter-spacing:.06em;text-transform:uppercase}
@media (max-width:700px){.seg button,.x-seg button{min-height:36px!important;min-width:36px;padding:6px 9px!important}.myalts .ma-i{min-height:30px}}
.spk-nr{flex-wrap:wrap;row-gap:4px}.spk-nrb{flex-basis:100%}
.spk-nrc{gap:4px;flex-wrap:wrap}.spk-cp{display:inline-flex;gap:3px;align-items:baseline;border:1px solid #1f2937;border-radius:10px;padding:1px 6px;font:600 10.5px var(--mono,ui-monospace,monospace)}
.spk-cp small{color:#6b7280;font-size:9px}.spk-cp.up{color:#22c55e;border-color:rgba(34,197,94,.3)}.spk-cp.dn{color:#ef4444;border-color:rgba(239,68,68,.3)}
.spk-cp .spk-am{font-style:normal;opacity:.85;display:none}.spk-cp.sh .spk-am{display:inline}
@media (min-width:1100px){.spk-cp .spk-am{display:inline}}
.spk-nrb .rng{display:block;flex:1 1 40px;min-width:40px;width:auto}
.spk-nrc{gap:3px}.spk-cp{padding:1px 5px;font-size:10px}
.w52n{margin-left:4px}
.spk-nr::after{content:'details \203A';margin-left:auto;color:#6b7280;font:600 9.5px var(--mono,ui-monospace,monospace);letter-spacing:.04em;align-self:flex-end}
@media (hover:hover){.spk-nr::after{content:'hover for details'}}
.spk-nrb small{white-space:nowrap;font-size:9.5px}.spk-nr .w52n{margin:0}
/* strips: static + swipeable unless played */
.strip-pp{flex:0 0 auto;align-self:center;margin:0 4px;height:20px;padding:0 8px;border:1px solid rgba(247,147,26,.6);border-radius:10px;background:#0b0f14;color:#F7931A;font:700 10px/18px var(--mono,ui-monospace,monospace);cursor:pointer;white-space:nowrap}
.strip-pp:hover,.strip-pp:focus-visible{background:#1a1206}
.strip-pp[aria-pressed="true"]{background:#F7931A;color:#000}
@media (hover:none){.strip-pp{height:26px;padding:0 10px}}
@media (max-width:420px){.strip-pp .pp-l{display:none}.strip-pp{min-width:30px}}
.tk-edit .tk-edl{font:600 10px var(--mono,ui-monospace,monospace)}
@media (max-width:420px){.tk-edit .tk-edl{display:none}}
.tke-grp{list-style:none;margin:0 0 6px;padding:0;display:grid;gap:4px}.tke-grp li{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;padding:4px 0;border-bottom:1px solid #1f2937;font-size:12px}.tke-grp li span{flex:1 1 150px;font-size:11px}.tke-grp .chip{min-height:30px}
/*static*/.ticker:not(.strip-play) .ticker-in,.tk-hl.strip-static .tk-hl-in{animation:none!important;transform:none!important;padding-left:12px!important;padding-right:44px}
.ticker:not(.strip-play) .tk-seq+.tk-seq,.tk-hl.strip-static .tk-seq+.tk-seq{display:none}
.ticker:not(.strip-play) .ticker-in{display:block!important;width:100%;box-sizing:border-box}
/*scroll*/.ticker:not(.strip-play) .ticker-in,.tk-hl.strip-static .tk-hl-v{overflow-x:auto!important;scrollbar-width:none;-webkit-overflow-scrolling:touch;touch-action:pan-x}
.ticker:not(.strip-play) .ticker-in::-webkit-scrollbar,.tk-hl.strip-static .tk-hl-v::-webkit-scrollbar{display:none}
.ticker.strip-hold .ticker-in,.tk-hl.strip-hold .tk-hl-in{animation-play-state:paused}
.ticker{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 24px,#000 100%)!important;mask-image:linear-gradient(90deg,transparent 0,#000 24px,#000 100%)!important}
.tk-am{font-style:normal;opacity:.8;margin-left:3px;font-size:.92em}
/* front-page grid fixes (desktop): no collapsed one-column panels, no half-empty rows */
@media (min-width:1101px){
  main.grid>.p-dv,main.grid>.p-kd{grid-column:1/-1}
  main.grid>.p-ep{grid-column:1/6;grid-row:span 3}
  main.grid>.p-yb,main.grid>.p-kpi,main.grid>.p-tboard{grid-column:6/13}
  main.grid>.p-news{grid-column:1/-1}

}
@media (min-width:701px) and (max-width:1100px){main.grid>.p-dv,main.grid>.p-kd{grid-column:1/-1}}
.xh-src{color:#6b7280;font-size:10px;margin-left:4px}.xh abbr.gl{border:0;color:#F7931A;margin-left:3px;cursor:pointer;padding:2px}
.mk-t .xh-src{display:none}
/* extended hours: official line primary, token line secondary */
.lc-xh .xh,.td-card .xh,.td-sheet .xh{display:block}
.lc-xh .xh:not(.xh-ov){font-size:13px;font-weight:600}
.xh.xh-ov{font-size:11px;opacity:.85;margin-top:2px}
.xh.xh-ov .xh-p{font-weight:600}
/* derivatives: clean grid */
.p-dv .cx.dv{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
@media (min-width:701px){.p-dv .cx.dv{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}}
.p-dv .cx-k{min-width:0}.p-dv .cx-k>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.p-dv .cx-k b{font-size:20px;line-height:1.2}
.p-dv .cx-k small{line-height:1.35}
.p-dv .cx-k.dv-na{display:none}
/* tokenized: cluster chips + consistent rows */
.tz-cl{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 8px}.tz-cl .chip{min-height:32px}.tz-cl .chip small{opacity:.7}
.tz-cl .chip:not(.on){opacity:.6;text-decoration:line-through}
.p-tok .tz-gh{grid-column:1/-1;margin:10px 0 2px;color:#F7931A;font:700 10.5px var(--mono,ui-monospace,monospace);letter-spacing:.08em;text-transform:uppercase;border-bottom:1px solid #1f2937;padding-bottom:3px}
.n5-x{display:block;font:600 10.5px/1.35 var(--mono,ui-monospace,monospace);color:#9ca3af;margin:2px 0}.n5-x i{font-style:normal}.n5-x .up{color:#22c55e}.n5-x .dn{color:#ef4444}
.n5-sc{display:block;position:relative;height:5px;border-radius:3px;margin:3px 0 4px;background:linear-gradient(90deg,#ef4444,#f59e0b 45%,#a3a3a3 50%,#84cc16 60%,#22c55e)}.n5-sc i{position:absolute;top:-3px;width:3px;height:11px;margin-left:-1px;background:#fff;border-radius:1px}
@media (min-width:1101px){.p-dv .cx.dv{grid-template-columns:repeat(7,minmax(0,1fr))!important}}
/* phone: never let a panel widen the page */
html,body{max-width:100%;overflow-x:hidden}
@supports (overflow:clip){html,body{overflow-x:clip}}
.cx{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:760px){.cx{grid-template-columns:repeat(2,minmax(0,1fr))}}
.cx-k,.mk-t,.n5-c,.tz-t{min-width:0}
.cx-k small,.cx-k .mk-rd{white-space:normal;overflow-wrap:anywhere}
main.grid>*{min-width:0;max-width:100%}
.mstat{max-width:100%;box-sizing:border-box;min-width:0}
/* one strip: retire the old duplicate controls in the desk bar */
.deskbar [data-ticker-toggle],.deskbar [data-tk-view],.deskbar .tbtn-ed{display:none!important}
@media (max-width:600px){
  .deskbar .tbtn-cz,.deskbar .tbtn-o,.deskbar .mu-b{min-width:32px;min-height:30px;padding:0 8px;font-size:13px}
  .deskbar .tbtn-cz .tb-lg,.deskbar .tbtn-o .tb-lg{display:none}
  .tk-wrap .tk-sess{display:none!important}
  .tk-wrap .strip-pp{width:30px;min-width:30px;height:28px;padding:0;margin:0 0 0 2px;border-radius:6px;align-self:center}
  .tk-wrap .strip-pp .pp-l,.tk-wrap .tk-edit .tk-edl{display:none!important}
  .tk-wrap .tk-edit{min-width:30px!important;width:30px;padding:0!important;font-size:14px}
  .ticker .tk-i{gap:3px;padding:0 7px 0 0;margin-right:7px;font-size:10.5px}
  .ticker .tk-i b{margin:0!important}
  .ticker .tk-i .tk-ar{display:none}
  .ticker .tk-i .tk-am,.ticker .tk-i small,.ticker .tk-seg{display:none}
}
@media (max-width:600px){.ticker .tk-i{gap:2px;padding-right:6px;margin-right:6px}.tk-wrap [class*="hint"]{display:none}}
@media (max-width:600px){.tk-wrap .strip-pp,.tk-wrap .tk-edit{width:40px!important;min-width:40px!important;min-height:40px;height:40px;border-radius:8px}.tk-wrap .strip-pp{margin:0 4px 0 4px}.tk-wrap{align-items:center}}
/* hero extended-hours lines: stacked, wrapping, never cut off on phone */
.lc-xh{flex-basis:100%;min-width:0;white-space:normal}
.lc-xh .xh{white-space:normal;overflow-wrap:anywhere;max-width:100%;overflow:visible;text-overflow:clip}
@media (max-width:600px){.lc-xh .xh .xh-lf{display:none!important}.lc-xh .xh .xh-ls{display:inline!important}.lc-xh .xh-v{display:none}.lc-xh .xh:not(.xh-ov){font-size:12.5px}.lc-xh .xh-src{display:block;margin:1px 0 0}}
/* Phone top area: no empty icon row. Layout + Desk Mode sit to the right of the market-status line (40px tap targets). */
@media (max-width:600px){
  .deskbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto;column-gap:6px;row-gap:4px;align-items:center;padding-top:4px!important;padding-bottom:4px!important}
  .deskbar>.clock{grid-column:1/-1;margin:0!important}
  .deskbar>.mstat{grid-column:1;grid-row:2;margin:0!important;min-width:0}
  .deskbar>.tbtn-cz{grid-column:2;grid-row:2}
  .deskbar>.tbtn-o{grid-column:3;grid-row:2}
  .deskbar .tbtn-cz,.deskbar .tbtn-o{width:40px;min-width:40px!important;height:40px;min-height:40px!important;padding:0!important;margin:0!important;justify-self:end;font-size:15px;display:inline-flex!important;align-items:center;justify-content:center}
}
/* Hero key-numbers row (phone only; desktop unchanged) */
.lc-kn{display:none}
@media (max-width:600px){
  .lc-kn:not([hidden]){display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:4px;margin:6px 0 0;min-width:0}
  .lc-kn .kn-c{display:flex;flex-direction:column;min-width:0;padding:5px 6px;border:1px solid rgba(255,255,255,.08);border-radius:7px;background:rgba(255,255,255,.025);cursor:help}
  .lc-kn em{font-style:normal;font-size:10px;letter-spacing:.04em;text-transform:uppercase;color:#8b93a1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .lc-kn b{font:600 12px/1.25 ui-monospace,SFMono-Regular,Menlo,monospace;color:#e8eaee;overflow-wrap:anywhere;border-radius:3px;transition:background .9s}
  .lc-kn b.up{color:#22c55e}.lc-kn b.dn{color:#ef4444}
  .lc-kn b.kn-fl{background:rgba(247,147,26,.28);transition:none}
  /* shorter hero (~17%) and tighter spacing above it */
  .lc-cv{height:225px!important}
  main.grid>.p-live .lc-cv{height:150px!important}
  main.grid>.p-live{margin-top:0!important;padding-top:10px!important}
  .p-live .lc-read{margin:6px 2px 2px}
}
@media (prefers-reduced-motion:reduce){.lc-kn b.kn-fl{background:none}}
@media (max-width:600px){body:not(.dm) .p-live .lc-px{font-size:31px!important}} /* ~18% smaller hero price on phone; still the largest number */
/* Above-the-fold pass (phone): status, strip, picker/ranges, price, key numbers, chart. No empty rows. */
@media (max-width:600px){
  .sh-nav{flex-wrap:nowrap!important;overflow-x:auto!important;height:32px!important;padding:0 0 2px!important;-webkit-mask-image:linear-gradient(90deg,#000 88%,transparent);mask-image:linear-gradient(90deg,#000 88%,transparent)}
  .p-live>.now{display:none!important}
  .deskbar .ms-c{display:none!important}
  .deskbar [data-ms-next] a{color:#F7931A;text-decoration:none}
  .p-live .lc-read{row-gap:2px;column-gap:8px;margin:4px 2px 0}
  .p-live .lc-read::before{content:'';order:1;flex-basis:100%;height:0}
  .p-live .lc-name,.p-live .lc-sess{order:0}
  .p-live .lc-sess{font-size:10px;padding:1px 6px;line-height:14px}
  .p-live .lc-px,.p-live .lc-ch{order:2}
  .p-live .lc-xh{order:3}
  .p-live .lc-hl{display:none!important}
}
@media (min-width:601px){.deskbar [data-ms-next]{display:none}}
/* Phone top screen: nav wall collapses into a ☰ menu (page links + Page layout); Desk Mode (a desktop wall-screen feature) is not shown on phone. */
.sh-menu{display:none}
@media (max-width:600px){
  .sh-in{flex-wrap:wrap}
  .sh-menu{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;margin-left:auto;margin-right:6px;border:1px solid #2a2f37;border-radius:8px;background:#0e1115;color:#d8dde4;font-size:18px;cursor:pointer}
  .sh-menu[aria-expanded="true"]{border-color:#F7931A;color:#F7931A}
  .sh .sh-nav{display:none!important}
  .sh.sh-open .sh-nav{display:flex!important;flex:0 0 100%;flex-wrap:wrap!important;height:auto!important;overflow:visible!important;-webkit-mask-image:none;mask-image:none;padding:4px 0 8px!important;row-gap:2px}
  .sh-nav .sh-lay{flex:none;height:24px;padding:4px 8px;border:1px solid #2a2f37;border-radius:6px;background:none;color:#d8dde4;font:600 10.5px/12px ui-monospace,Menlo,monospace;text-transform:uppercase;cursor:pointer}
  .deskbar>.tbtn-cz,.deskbar>.tbtn-o{display:none!important}
  .deskbar>.mstat{grid-column:1/-1!important}
}
@media (min-width:601px){.sh-nav .sh-lay{display:none}}
@media (max-width:600px){.p-live .lc-read .lc-name{flex:0 1 auto!important;width:auto!important;max-width:calc(100% - 140px)}}
/* Desktop (>=1024px): two hero charts side by side, each with ranges, price, key-numbers row */
@media (min-width:1024px){
  body:not(.dm) main.grid>.p-live1{grid-column:1/7!important;order:-2}
  body:not(.dm) main.grid>.p-live2{grid-column:7/13!important;order:-2}
  .p-live1 .lc-cv,.p-live2 .lc-cv{height:300px!important}
  .p-live1 .lc-kn:not([hidden]),.p-live2 .lc-kn:not([hidden]){display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:6px;margin:6px 0 2px}
  .p-live1 .kn-c,.p-live2 .kn-c{display:flex;flex-direction:column;min-width:0;padding:6px 8px;border:1px solid rgba(255,255,255,.08);border-radius:7px;background:rgba(255,255,255,.025);cursor:help}
  .p-live1 .lc-kn em,.p-live2 .lc-kn em{font-style:normal;font-size:10px;letter-spacing:.05em;text-transform:uppercase;color:#8b93a1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .p-live1 .lc-kn b,.p-live2 .lc-kn b{font:600 13px/1.3 ui-monospace,SFMono-Regular,Menlo,monospace;color:#e8eaee;border-radius:3px;transition:background .9s}
  .p-live1 .lc-kn b.up,.p-live2 .lc-kn b.up{color:#22c55e}.p-live1 .lc-kn b.dn,.p-live2 .lc-kn b.dn{color:#ef4444}
  .p-live1 .lc-kn b.kn-fl,.p-live2 .lc-kn b.kn-fl{background:rgba(247,147,26,.28);transition:none}
  .p-live1 .lc-h,.p-live2 .lc-h{flex-wrap:wrap;row-gap:6px}
}
@media (min-width:1024px){.p-live2 .lc-co{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:6px 12px!important;border:1px solid #F7931A!important;color:#F7931A!important;background:rgba(247,147,26,.08)!important;font-size:13px!important;border-radius:8px;cursor:pointer;max-width:320px}.p-live2 .lc-co b{color:#fff}.p-live2 .lc-con{color:#c9ced6;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:180px}.p-live2 .lc-co:hover{background:rgba(247,147,26,.18)!important}}
@media (min-width:1024px){body:not(.dm) .p-live1.has-rail{display:block!important}body:not(.dm) .p-live1>.lc-rail{display:none!important}
  .p-live1 .lc-vs,.p-live2 .lc-vs{font:600 12px ui-monospace,Menlo,monospace;padding:2px 7px;border-radius:6px;background:rgba(255,255,255,.05);align-self:center}
  .p-live2 .lc-sync{min-height:36px;padding:6px 10px!important;font-size:12px!important}.p-live2 .lc-sync.on{color:#F7931A!important;border-color:rgba(247,147,26,.6)!important}
  .p-live2 .lc-sym{display:flex;gap:8px;align-items:center;flex-wrap:wrap}}
.lc-vs[hidden]{display:none!important}
/* Phone: Key metrics fit (2 columns, no clipped tiles); session row shows exactly two whole tiles, swipe for more (chevron cue) */
@media (max-width:600px){
  .n5-r{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;overflow:visible!important}
  .n5-c{flex:none!important}.n5-r>.n5-c:last-child:nth-child(odd){grid-column:1/-1}
  .p-hs .hs{padding-right:0!important;scroll-padding:0}
  .p-hs .hs>*{flex:0 0 calc(50% - 3px)!important;max-width:calc(50% - 3px);min-width:0!important;scroll-snap-align:start;box-sizing:border-box}
}
.n5-rot{position:relative}.n5-rot::after{content:attr(data-n5-rot);position:absolute;top:6px;right:8px;font:600 9px ui-monospace,monospace;color:#6b7480}
.n5-rot{cursor:pointer}
