/* ===== World board (admin) ===== */
.wbt { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 0; width: 100%; height: 34px; padding: 0; position: relative; overflow: hidden;
  background: #060A14; border-bottom: 1px solid rgba(143,166,214,.16); color: #F3EEE2; touch-action: manipulation; -webkit-mask: linear-gradient(90deg, #000 92%, transparent); mask: linear-gradient(90deg, #000 92%, transparent); }
.wbt-live { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #6E7891; display: inline-block; }
.wbt-live.on { background: #2EC4A0; box-shadow: 0 0 0 0 rgba(46,196,160,.6); animation: wbPing 1.8s cubic-bezier(.23,1,.32,1) infinite; }
@keyframes wbPing { 100% { box-shadow: 0 0 0 7px transparent; } }
.wbt-track { display: flex; flex: none; animation: wbRun var(--dur, 60s) linear infinite; }
.wbt-track.still { animation: none; overflow-x: auto; }
.wbt:hover .wbt-track, .wbt:focus-visible .wbt-track { animation-play-state: paused; }
@keyframes wbRun { to { transform: translateX(-50%); } }
.wbt-run { display: flex; flex: none; }
.wbt-i { display: inline-flex; align-items: baseline; gap: 6px; padding: 0 16px 0 0; margin-right: 16px; border-right: 1px solid rgba(143,166,214,.14); white-space: nowrap; font-size: 12px; }
.wbt-i b { font-weight: 600; color: #A9B2C6; } .wbt-i .mono { font-weight: 600; } .wbt-i em { font-style: normal; font-size: 11.5px; }
.wbt .up, .wb .up { color: #2EC4A0; } .wbt .dn, .wb .dn { color: #F2665E; }
.wbt:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }

.wb { --wbp: #0A0F1D; --wbl: rgba(143,166,214,.16); --wbt: #F3EEE2; --wbm: #9AA4BA; color: var(--wbt); }
.wb .mono { font-family: "JetBrains Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.wb-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin: 6px 2px 12px; }
.wb-k { margin: 0 0 4px; display: flex; align-items: center; gap: 8px; font: 600 11px/1 "JetBrains Mono", monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.wb h1 { margin: 0; font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: clamp(1.7rem, 6vw, 2.4rem); line-height: 1.05; color: var(--text); }
.wb h1 em { font-style: italic; color: var(--gold); font-weight: 500; }
.wb-when { font-size: 11.5px; color: var(--muted); }
.wb-jump { position: sticky; top: 58px; z-index: 5; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 0 12px; padding: 6px; border-radius: 12px; background: #060A14; box-shadow: inset 0 0 0 1px var(--wbl); }
.wb-jump::-webkit-scrollbar { display: none; }
.wb-jump button { all: unset; cursor: pointer; flex: none; padding: 8px 12px; border-radius: 8px; font: 600 12.5px/1 "IBM Plex Sans", system-ui, sans-serif; color: var(--wbm); touch-action: manipulation; }
.wb-jump button:active { transform: scale(.97); } .wb-jump button:focus-visible { outline: 2px solid var(--gold); }
.wb-card { background: var(--wbp); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--wbl); padding: 12px; margin: 0 0 12px; scroll-margin-top: 120px; }
.wb-card > header { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 2px 4px 10px; border-bottom: 1px solid var(--wbl); }
.wb-card > header b { font: 700 13px/1.2 "IBM Plex Sans", system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.wb-cols { display: flex; gap: 30px; font: 500 10.5px "JetBrains Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--wbm); padding-right: 34px; }
.wb-chart { padding: 14px 14px 10px; }
.wb-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 8px; }
.wb-head h2 { margin: 0; font-family: "Fraunces", Georgia, serif; font-size: 22px; font-weight: 600; color: var(--wbt); }
.wb-big { text-align: right; } .wb-big b { display: block; font-size: 24px; font-weight: 700; } .wb-big span { font-size: 13px; }
#wbChart { display: block; width: 100%; height: 240px; touch-action: pan-y; cursor: crosshair; }
.wb-cmp { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.wb-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 10px; border-radius: 999px; font-size: 12.5px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 60%, transparent); }
.wb-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.wb-chip button { all: unset; cursor: pointer; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: var(--wbm); font-size: 15px; }
.wb-dim { margin: 4px 0 0; font-size: 12px; color: var(--wbm); }
.wb-grid { display: grid; gap: 0 12px; grid-template-columns: 1fr; }

.wb-row { display: grid; grid-template-columns: 18px minmax(0, 1fr) 64px auto auto 30px; gap: 10px; align-items: center; padding: 11px 4px; border-bottom: 1px solid var(--wbl); cursor: pointer; touch-action: manipulation; border-radius: 8px; transition: background-color .2s; }
.wb-row:last-child { border-bottom: 0; }
.wb-row.sel { background: rgba(233,180,76,.08); box-shadow: inset 2px 0 0 var(--gold); }
.wb-row:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) { .wb-row:hover { background: rgba(143,166,214,.06); } }
.wb-clk { color: var(--wbm); } .wb-clk.open { color: #2EC4A0; } .wb-clk.shut { color: #F2665E; }
.wb-n { min-width: 0; display: grid; gap: 2px; } .wb-n b { font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wb-n small { font: 500 11px "JetBrains Mono", monospace; color: var(--wbm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wb-sp { color: var(--wbm); } .wb-sp.up { color: #2EC4A0; } .wb-sp.dn { color: #F2665E; }
.wb-v { text-align: right; } .wb-v b { display: inline-block; padding: 3px 6px; border-radius: 6px; font-size: 15px; font-weight: 700; transition: background-color .6s ease-out, color .6s ease-out; }
.wb-v b.fu { background: #0F7A3A; color: #fff; transition: none; } .wb-v b.fd { background: #B3261E; color: #fff; transition: none; }
.wb-c { text-align: right; display: grid; gap: 1px; min-width: 70px; } .wb-c b { font-size: 13px; font-weight: 600; } .wb-c small { font-size: 12px; }
.wb-add { all: unset; cursor: pointer; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: var(--wbm); font-size: 17px; box-shadow: inset 0 0 0 1px var(--wbl); touch-action: manipulation; }
.wb-row.cmp .wb-add { color: #5FD3F3; box-shadow: inset 0 0 0 1px rgba(95,211,243,.5); }
.wb-add:active { transform: scale(.94); } .wb-add:focus-visible { outline: 2px solid var(--gold); }
.wb-ads { display: grid; gap: 10px; padding: 12px 4px 2px; border-top: 1px solid var(--wbl); margin-top: 4px; }
.wb-ad p { margin: 0 0 6px; font-size: 13px; color: var(--wbm); } .wb-ad p .mono { font-weight: 700; }
.wb-adbar { display: flex; height: 6px; border-radius: 6px; overflow: hidden; background: rgba(143,166,214,.18); }
.wb-adbar i { display: block; height: 100%; } .wb-adbar i.up { background: #2EC4A0; } .wb-adbar i.dn { background: #F2665E; }
.wb-cues > header span { font-size: 12px; }
.wb-cues p { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 10px; align-items: start; margin: 10px 4px 0; font-size: 13.5px; line-height: 1.45; }
.wb-cues p i { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; background: var(--wbm); } .wb-cues p.up i { background: #2EC4A0; } .wb-cues p.dn i { background: #F2665E; }
.wb-cues p span { color: var(--wbm); } .wb-cues p b { display: block; color: var(--wbt); font-weight: 600; }
.wb-cues p.wb-dim { display: block; }
.wb-setup { border: 0; box-shadow: inset 0 0 0 1px rgba(233,180,76,.5); } .wb-setup b { font-size: 14px; } .wb-setup ol { margin: 8px 0 0; padding-left: 20px; font-size: 13.5px; line-height: 1.55; }
.wb-foot { margin: 6px 4px 20px; font-size: 11.5px; line-height: 1.5; color: var(--muted); }
html[data-theme="light"] .wb-top h1, html[data-theme="light"] .wb-when { color: var(--text); }
@media (max-width: 640px) {
  .wb-row { grid-template-columns: 16px minmax(0, 1fr) auto auto 28px; gap: 8px; } .wb-row .wb-sp { display: none; }
  .wb-cols { display: none; } .wb-n b { font-size: 14px; } .wb-v b { font-size: 14px; padding: 2px 5px; } .wb-c { min-width: 62px; }
  #wbChart { height: 210px; } .wb-head h2 { font-size: 19px; } .wb-big b { font-size: 20px; } .wb-jump { top: 54px; }
}
@media (prefers-reduced-motion: reduce) { .wbt-track { animation: none; } .wbt-live.on { animation: none; } }
.wbt-dot { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 30px; height: 100%; background: #060A14; box-shadow: 8px 0 10px #060A14; }
.wb-in { all: unset; cursor: pointer; flex: none; padding: 6px 9px; border-radius: 8px; font: 600 11.5px/1 "IBM Plex Sans", system-ui, sans-serif; color: var(--gold); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 45%, transparent); touch-action: manipulation; white-space: nowrap; }
.wb-in:active, .wb-inbig:active { transform: scale(.97); } .wb-in:focus-visible, .wb-inbig:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.wb-row:has(.wb-in) { grid-template-columns: 18px minmax(0, 1fr) 64px auto auto auto 30px; }
.wb-inbig { all: unset; cursor: pointer; display: inline-block; margin-top: 8px; padding: 8px 12px; border-radius: 999px; background: var(--gold); color: #1a1205; font: 600 13px/1 "IBM Plex Sans", system-ui, sans-serif; touch-action: manipulation; }
@media (max-width: 640px) { .wb-row:has(.wb-in) { grid-template-columns: 16px minmax(0, 1fr) auto auto auto 28px; } .wb-in { padding: 6px 7px; font-size: 11px; } }

.wb-n .wb-note { display: block; color: var(--gold, #E0A82E); opacity: .9; }

/* GIFT Nifty read as spot (2 Nov 2026): full-width line under the GIFT row */
.wb-imp { grid-column: 1 / -1; grid-row: 2; display: grid; gap: 6px; margin: 2px 0 0 26px; padding: 9px 11px; border-radius: 10px; background: rgba(233,180,76,.06); box-shadow: inset 2px 0 0 var(--gold, #E9B44C); cursor: default; }
.wb-imp p { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 13px; line-height: 1.45; color: var(--wbt, var(--text)); }
.wb-imp .wb-imp-k { font-size: 12px; color: var(--wbm); text-transform: uppercase; letter-spacing: .04em; }
.wb-imp p > b { font-size: 15px; font-weight: 700; }
.wb-imp p > em { font-style: normal; font-size: 12.5px; font-weight: 600; }
.wb-imp p > small { flex-basis: 100%; font-size: 11px; color: var(--wbm); }
.wb-imp.up p > em { color: #2EC4A0; } .wb-imp.dn p > em { color: #F2665E; } .wb-imp.flat p > em { color: var(--wbm); }
.wb-imp .wb-imp-why { display: grid; grid-template-columns: 8px minmax(0, 1fr); gap: 9px; align-items: start; }
.wb-imp .wb-imp-why i { width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--gold, #E9B44C); }
.wb-imp.up .wb-imp-why i { background: #2EC4A0; } .wb-imp.dn .wb-imp-why i { background: #F2665E; }
.wb-imp .wb-imp-why b { font-weight: 700; }
@media (max-width: 640px) { .wb-imp { margin-left: 0; padding: 9px 10px; } .wb-imp p { font-size: 12.5px; } }
html[data-theme="light"] .wb-imp { background: rgba(185,129,20,.07); }

/* ===== Colour pass (Nov 2026): key-market tiles, index leaderboard, tinted rows, day ranges ===== */
.wb { --wbup: 46,196,160; --wbdn: 242,102,94; }
.wb-pulse { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(138px, 1fr); gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 0 12px; padding: 2px 2px 4px; overscroll-behavior-x: contain; }
.wb-pulse::-webkit-scrollbar { display: none; }
.wb-pt { all: unset; box-sizing: border-box; cursor: pointer; scroll-snap-align: start; position: relative; display: grid; gap: 3px; min-height: 118px; padding: 11px 12px 10px; border-radius: 14px; overflow: hidden; touch-action: manipulation;
  background: linear-gradient(160deg, rgba(143,166,214,calc(.06 + var(--h) * .04)), #0A0F1D 70%); box-shadow: inset 0 0 0 1px rgba(143,166,214,.16); transition: transform .14s cubic-bezier(.23,1,.32,1); }
.wb-pt.up { background: linear-gradient(160deg, rgba(var(--wbup), calc(.10 + var(--h) * .34)), rgba(var(--wbup), .03) 62%, #0A0F1D); box-shadow: inset 0 0 0 1px rgba(var(--wbup), calc(.18 + var(--h) * .35)); }
.wb-pt.dn { background: linear-gradient(160deg, rgba(var(--wbdn), calc(.10 + var(--h) * .34)), rgba(var(--wbdn), .03) 62%, #0A0F1D); box-shadow: inset 0 0 0 1px rgba(var(--wbdn), calc(.18 + var(--h) * .35)); }
.wb-pt:active { transform: scale(.97); } .wb-pt:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.wb-pt-n { display: flex; align-items: center; gap: 6px; font: 600 12px/1.2 "IBM Plex Sans", system-ui, sans-serif; color: #C9D1E2; white-space: nowrap; }
.wb-pt b { font-size: 18px; font-weight: 700; color: #F3EEE2; letter-spacing: -.01em; }
.wb-pt-c { font-size: 12.5px; font-weight: 700; } .wb-pt.up .wb-pt-c { color: #4FE0BB; } .wb-pt.dn .wb-pt-c { color: #FF8A82; }
.wb-pt .wb-sp { width: 100%; height: 22px; margin-top: 2px; } .wb-pt.up .wb-sp { color: #4FE0BB; } .wb-pt.dn .wb-sp { color: #FF8A82; }
.wb-pt-in { position: absolute; top: 10px; right: 10px; font: 700 10px/1 "JetBrains Mono", monospace; color: var(--gold); letter-spacing: .02em; }
.wb-pt:has(.wb-pt-in) .wb-pt-n { padding-right: 52px; }
@media (min-width: 900px) { .wb-pulse { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); overflow: visible; } }

.wb-lead header span { font-size: 12px; color: var(--wbm); white-space: nowrap; }
.wb-row.up, .wb-row.dn { color: var(--wbt); }
.wb-lb { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 108px minmax(0, 1fr) 64px 52px; gap: 10px; align-items: center; width: 100%; padding: 8px 4px; border-radius: 8px; touch-action: manipulation; }
.wb-lb + .wb-lb { border-top: 1px solid rgba(143,166,214,.08); }
.wb-lb .n { color: var(--wbt); font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wb-lb .t { position: relative; height: 10px; border-radius: 5px; background: rgba(143,166,214,.08); }
.wb-lb .t::after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: rgba(243,238,226,.35); }
.wb-lb .t i { position: absolute; top: 0; bottom: 0; border-radius: 5px; }
.wb-lb.up .t i { background: linear-gradient(90deg, rgba(var(--wbup),.55), #2EC4A0); } .wb-lb.dn .t i { background: linear-gradient(270deg, rgba(var(--wbdn),.55), #F2665E); }
.wb-lb b { text-align: right; font-size: 13px; } .wb-lb.up b { color: #2EC4A0; } .wb-lb.dn b { color: #F2665E; }
.wb-lb em { white-space: nowrap; font-style: normal; text-align: right; font: 700 10.5px "JetBrains Mono", monospace; color: var(--gold); }
.wb-lb:active { transform: scale(.98); } .wb-lb:focus-visible { outline: 2px solid var(--gold); }
@media (hover: hover) and (pointer: fine) { .wb-lb:hover, .wb-pt:hover { filter: brightness(1.08); } }

/* group accents */
.wb-card[class*="wb-g-"] { --acc: var(--gold); background: linear-gradient(180deg, color-mix(in srgb, var(--acc) 7%, #0A0F1D), #0A0F1D 120px); box-shadow: inset 0 0 0 1px var(--wbl), inset 0 2px 0 color-mix(in srgb, var(--acc) 70%, transparent); }
.wb-g-india { --acc: #E9B44C; } .wb-g-global { --acc: #74FFED; } .wb-g-comm { --acc: #F5A35C; } .wb-g-fx { --acc: #FE81D1; } .wb-g-bonds { --acc: #B79CFF; } .wb-g-crypto { --acc: #F7C948; }
.wb-gdot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; background: var(--acc); box-shadow: 0 0 10px var(--acc); }
.wb-card > header .wb-hint { margin-left: auto; font: 500 11px "IBM Plex Sans", system-ui, sans-serif; color: var(--gold); }

/* rows: tint by the size of the move, a day-range line under the name */
.wb-row.up { background: linear-gradient(90deg, rgba(var(--wbup), calc(var(--h) * .16)), transparent 70%); }
.wb-row.dn { background: linear-gradient(90deg, rgba(var(--wbdn), calc(var(--h) * .16)), transparent 70%); }
.wb-row.up.sel, .wb-row.dn.sel { box-shadow: inset 2px 0 0 var(--gold); }
.wb-row.ins .wb-n b::after { content: " ›"; color: var(--gold); font-weight: 700; }
.wb-rg { position: relative; display: block; height: 4px; margin: 5px 0 0; max-width: 170px; border-radius: 4px; background: linear-gradient(90deg, rgba(var(--wbdn),.55), rgba(233,180,76,.45), rgba(var(--wbup),.55)); }
.wb-rg i { position: absolute; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #F3EEE2; box-shadow: 0 0 0 2px #0A0F1D; }
.wb-n small.wb-rgt { font-size: 10.5px; }
.wb-cht { all: unset; cursor: pointer; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: var(--wbm); box-shadow: inset 0 0 0 1px var(--wbl); touch-action: manipulation; }
.wb-cht:active { transform: scale(.94); } .wb-cht:focus-visible { outline: 2px solid var(--gold); }
.wb-row:has(.wb-cht) { grid-template-columns: 18px minmax(0, 1fr) 64px auto auto auto 28px 30px; }
@media (max-width: 640px) {
  .wb-row:has(.wb-cht) { grid-template-columns: 16px minmax(0, 1fr) auto auto 28px; } .wb-row .wb-in, .wb-row .wb-cht { display: none; }
  .wb-n small.wb-rgt { display: none; } .wb-rg { max-width: none; } .wb-lb em span { display: none; }
  .wb-pt { min-height: 108px; } .wb-pt b { font-size: 16.5px; }
  .wb-lb { grid-template-columns: 92px minmax(0, 1fr) 58px 44px; gap: 8px; } .wb-lb .n { font-size: 12.5px; }
  .wb-card > header .wb-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) { .wb-pt { transition: none; } }
