/* Web adaptation of Liquid Glass: translucent controls, restrained content surfaces. */
:root{--liquid-edge:rgba(224,237,255,.17);--liquid-shadow:0 6px 18px #00000028,inset 0 1px 0 #ffffff29,inset 0 -1px 0 #00000058;--liquid-surface:linear-gradient(145deg,#ffffff12,#ffffff03 40%,#00000016 76%,#ffffff07),rgba(12,18,27,.76)}
body{background:radial-gradient(ellipse at 15% 0%,#b9892410,transparent 40%),radial-gradient(ellipse at 90% 36%,#916bcc09,transparent 45%),#090d12;text-shadow:none}
button,select,.local-clock,.chart-views,.model-performance,.display-settings,.details-area details,#chart-tooltip,.model-outlook,.model-cards article,.snapshot-card{background:var(--liquid-surface);box-shadow:var(--liquid-shadow);backdrop-filter:blur(16px) saturate(1.2);-webkit-backdrop-filter:blur(16px) saturate(1.2);border-color:var(--liquid-edge)}
button{border-radius:999px;color:#c8d3e1;transition:background .18s ease,box-shadow .18s ease,transform .18s ease;border:1px solid #cbdfff18}
button:hover{background:linear-gradient(145deg,#ffffff24,#ffffff08),#15202bd9;box-shadow:inset 0 1px 0 #ffffff38,0 3px 9px #0004}
button:active{transform:scale(.97)}
button.selected,button[aria-pressed=true]{background:linear-gradient(145deg,#fff5cb22,#f79a1f14 48%,#ffffff07),#201e18cc;border-color:#e7bb7e55;color:#f0cc8b;box-shadow:inset 0 1px 0 #fff2c846,0 2px 6px #0003}
button:focus-visible,summary:focus-visible,.exchange-event:focus-visible{outline:2px solid #f79a1f;outline-offset:2px}
.exchange-clock{border-bottom-color:#cbdfff16}.local-clock{border:0;box-shadow:inset 0 1px 0 #ffffff10,inset 0 -1px 0 #0005;background:var(--liquid-surface);border-radius:9px}
.exchange-event span{color:#c2ccdb}.exchange-event .exchange-local-time{color:#9eabc0}
.market-header .countdown{border-radius:22px;background:radial-gradient(ellipse at 22% 0%,#ffffff14,transparent 55%),linear-gradient(145deg,rgba(var(--fuse-rgb),.19),rgba(var(--fuse-rgb),.055) 48%,#ffffff06),rgba(10,17,24,.82);border-color:rgba(var(--fuse-rgb),.32);box-shadow:inset 0 1px 0 #ffffff30,inset 0 -1px 0 #0008,0 8px 24px #0003;backdrop-filter:blur(18px) saturate(1.2);-webkit-backdrop-filter:blur(18px) saturate(1.2)}
.market-header .market-identity{background:transparent;box-shadow:none;border:0}
.market-prices #target-price-header,.market-prices .now-price,.market-prices .price-gap-panel{background:radial-gradient(ellipse at 16% 0%,#ffffff1c,transparent 65%),linear-gradient(150deg,rgba(var(--panel-rgb),.17),rgba(var(--panel-rgb),.055) 60%,#ffffff06),rgba(11,18,26,.78);border-radius:16px;border-color:rgba(var(--panel-rgb),.32);box-shadow:inset 0 1px 0 #ffffff30,inset 0 -1px 0 #0007,0 5px 14px #0002;backdrop-filter:blur(18px) saturate(1.15);-webkit-backdrop-filter:blur(18px) saturate(1.15)}
.chart-control-row .chart-views{border:1px solid #cfdef516;border-radius:18px;padding:4px;gap:4px;flex-wrap:wrap}.chart-views button{border-color:transparent;background:transparent;box-shadow:none}.chart-views button.selected{border-color:#e7bb7e40;background:linear-gradient(145deg,#fff5cb22,#f79a1f14),#26241cd9;box-shadow:inset 0 1px 0 #fff2c838}
.chart-control-row .model-performance{background:linear-gradient(145deg,#ffffff12,#ac7fea12 50%,#ffffff03),#11121ed6;border-radius:11px;border-color:#b68cef3b}
.chart-shell{border-top-color:#ffffff18}.baseline-heading{opacity:.5}.price-panel{border-radius:16px;background:linear-gradient(145deg,#ffffff02,transparent 45%);box-shadow:inset 0 0 0 1px #ffffff06;isolation:isolate}.price-panel svg text{filter:none}.price-panel svg .target-caption{filter:drop-shadow(0 0 2px #e6c69230)}
.price-tracking-rail .price-flow{background:radial-gradient(ellipse at 18% 0%,#ffffff1c,transparent 65%),linear-gradient(145deg,rgba(var(--glass-tint),.08),#ffffff03 50%,#00000018),rgba(9,14,20,.7);border-radius:16px;border-color:rgba(var(--glass-tint),.36);box-shadow:inset 0 1px 0 #ffffff38,inset 0 -1px 0 #0006,0 5px 12px #0003;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
#chart-tooltip{border:1px solid #cbdfff30;border-radius:14px;background:linear-gradient(145deg,#ffffff16,#ffffff04),rgba(10,16,25,.92);color:#e1e8f4}
.model-cards article,.model-cards article[data-direction=up],.model-cards article[data-direction=down],.model-cards article[data-direction=unknown],.model-cards article[data-direction=flat]{background:radial-gradient(ellipse at 18% 0%,#ffffff14,transparent 65%),linear-gradient(145deg,rgba(var(--model-rgb),.08),#ffffff02 55%,#00000018),rgba(10,16,25,.8);border-color:rgba(var(--model-rgb),.27);border-radius:16px;box-shadow:var(--liquid-shadow);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.model-outlook{background:linear-gradient(145deg,#ffffff0f,#ffffff03),rgba(11,18,27,.84);border-radius:16px;border-top-color:#ffffff20}.model-outlook p,.details-area p,.details-area li{color:#b3c0d0}
.snapshot-card{border-radius:9px;background:var(--liquid-surface);box-shadow:inset 0 1px 0 #ffffff1b}.snapshot-card[data-outcome=up]{background:linear-gradient(145deg,#ffffff0e,#31d88b0c),#0d171bcc;border-color:#31d88b50}.snapshot-card[data-outcome=down]{background:linear-gradient(145deg,#ffffff0e,#f0647b0c),#15141ccc;border-color:#f0647b50}
.minute-symbol{box-shadow:inset 0 1px 0 #ffffff24,inset 0 -1px 0 #0003}.minute-symbol.future{box-shadow:inset 0 1px 0 #ffffff0b}
.display-settings,.details-area details{border:1px solid #cfdef516;border-radius:14px;padding:12px 14px;margin:4px 0;min-width:0}.details-area{gap:4px 12px}.details-area details[open],.display-settings[open]{background:linear-gradient(145deg,#ffffff0e,#ffffff03),rgba(11,18,27,.92)}
summary{color:#d0dae9;line-height:1.5}summary:after{color:#b4c2d5}.research-table th{color:#ced8e8}.research-table th,.research-table td{border-bottom-color:#cfdef517}.reference-status,.chart-caption{color:#acb9cb}.reference-status{padding:12px 2px}.chart-caption{border-top-color:#cfdef517}
#history span{background:var(--liquid-surface);border:1px solid #cfdef518;border-radius:9px}
@media(max-width:600px){.chart-control-row .chart-views{border-radius:14px;padding:3px;gap:3px}.market-prices #target-price-header,.market-prices .now-price,.market-prices .price-gap-panel{border-radius:13px}.details-area details,.display-settings{padding:11px 12px}.model-cards article{border-radius:14px}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){button,.local-clock,.model-performance,.model-outlook,.model-cards article,.details-area details,.display-settings{background-color:#101822}}
@media(prefers-reduced-motion:reduce){button{transition:none}button:active{transform:none}}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){button,.local-clock,.chart-views,.model-performance,.market-header .countdown,.market-prices #target-price-header,.market-prices .now-price,.market-prices .price-gap-panel,.model-outlook,.model-cards article,.snapshot-card,.details-area details,.display-settings,.price-tracking-rail .price-flow,#chart-tooltip{background-color:#111923;backdrop-filter:none;-webkit-backdrop-filter:none}.details-area p,.details-area li{color:#d7e0ed}}

/* A common outer edge, anchored to the full-width countdown panel. */
main{--site-gutter:28px;padding-inline:var(--site-gutter)}.exchange-clock,.market-header,.market-prices,.chart-control-row,.chart-shell,.outlook-strip,.model-outlook,.model-heading,.model-cards,.display-settings,.details-area{width:100%;max-width:100%;margin-left:0;margin-right:0;min-width:0}.market-prices{padding-left:0;padding-right:0}.outlook-strip .past-panel{width:100%;min-width:0}.exchange-clock{grid-template-columns:minmax(0,1fr) 112px minmax(0,1fr);gap:8px}.exchange-side{width:100%;min-width:0}.exchange-upcoming,.exchange-past{display:grid;grid-template-columns:repeat(var(--exchange-count,4),minmax(0,1fr));gap:6px;width:100%;overflow:hidden}.exchange-event,.exchange-past .exchange-event{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:11px 11px;gap:2px 3px;width:100%;height:27px;padding:1px 3px;align-content:center;min-width:0}.exchange-event b{grid-row:1;grid-column:1;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:11px}.exchange-event .exchange-local-time{grid-row:1;grid-column:2;font-size:7px;line-height:11px}.exchange-event span{grid-row:2;grid-column:1/-1;font-size:8px;line-height:11px;white-space:nowrap;text-align:center}.exchange-past .exchange-event b{color:#9cbbb1}.exchange-event b{color:#f07583}@media(max-width:600px){main{--site-gutter:18px}.exchange-clock{grid-template-columns:minmax(0,1fr) 96px minmax(0,1fr);gap:5px}.exchange-upcoming,.exchange-past{gap:3px}.exchange-event,.exchange-past .exchange-event{padding:1px 0;gap:2px 2px}.exchange-event b{font-size:7px}.exchange-event .exchange-local-time{font-size:6px}.exchange-event span{font-size:7px}}

/* Benchmark points fit within the existing 30px exchange ribbon. */
.exchange-event,.exchange-past .exchange-event{grid-template-rows:8px 9px 8px;gap:0 2px;padding-block:1px;height:27px}.exchange-event b,.exchange-event .exchange-local-time{line-height:8px}.exchange-event span{grid-row:3;line-height:8px;font-size:7px}.exchange-index-quote{grid-row:2;grid-column:1/-1;font-style:normal;font-size:8px;line-height:9px;color:#d0dae9;text-align:center;white-space:nowrap}.exchange-index-quote[data-direction=up]{color:#82caaa}.exchange-index-quote[data-direction=down]{color:#d791a3}.exchange-index-quote[data-status=stale],.exchange-index-quote[data-status=unavailable]{color:#8b98ab}.exchange-index-quote em{font-style:normal;font-size:6px;color:#9aa8bc;margin-left:2px}@media(max-width:600px){.exchange-index-quote{font-size:7px}.exchange-index-quote em{font-size:5px;margin-left:1px}.exchange-event b{font-size:6px}.exchange-event .exchange-local-time{font-size:5px}.exchange-event span{font-size:6px}}

#source-status{font-size:10px;line-height:1.5;color:#e4b774;margin:0 0 8px;padding:6px 9px;background:#e4b7740a;border-radius:8px}#source-status[hidden]{display:none}

.exchange-clock{position:relative;padding-right:24px}.polymarket-status{position:absolute;right:0;top:4px;width:20px;height:21px;display:grid;place-items:center;border-radius:7px;color:#8b98ab;background:linear-gradient(145deg,#ffffff12,#ffffff03),#101822c0;box-shadow:inset 0 1px 0 #ffffff18}.polymarket-status svg{width:15px;height:15px}.polymarket-status[data-status=connected]{color:#31d88b}.polymarket-status[data-status=fallback],.polymarket-status[data-status=partial]{color:#f79a1f}.polymarket-status[data-status=unavailable]{color:#f0647b}
/* Balance the left reserve so the center clock and exchange groups stay symmetric. */
.exchange-clock{padding-left:24px}

.prediction-market-strip{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:23px;margin-bottom:7px;color:#b8c5d6;font-size:9px}.prediction-market-strip strong{font-size:9px;color:#cdb0f1}.prediction-market-strip span{font-variant-numeric:tabular-nums}@media(max-width:600px){.prediction-market-strip{font-size:8px;flex-wrap:wrap;gap:3px}.prediction-market-strip strong{font-size:8px}}

.exchange-clock{position:relative;overflow:visible!important}button.polymarket-status{padding:0;border:0;background:transparent;cursor:pointer}#service-menu{position:absolute;right:0;top:34px;z-index:100;width:min(320px,calc(100vw - 36px));padding:16px;border-radius:16px;background:rgba(15,19,27,.96);backdrop-filter:blur(18px);box-shadow:0 12px 35px #0009,inset 0 1px #ffffff24;color:#e9edf5;white-space:normal}#service-menu[hidden]{display:none}#service-menu strong{font-size:14px}#service-menu p,#service-menu small{display:block;font-size:12px;line-height:1.5;color:#bac5d7}#service-menu .service-options{display:flex;gap:6px;margin-top:12px}#service-menu button{padding:8px 10px;border-radius:8px;border:1px solid #ffffff24;background:#ffffff09;color:#e9edf5;cursor:pointer;font:inherit;font-size:12px}#service-menu button[aria-pressed=true]{background:#80632d55;color:#f4cf86}#service-menu button:disabled{opacity:.5}#service-menu button:focus-visible,button.polymarket-status:focus-visible{outline:2px solid #bb90ec;outline-offset:3px}

/* All header tools engraved into the countdown surface. */
.market-header.integrated-header{display:block;position:relative;margin:12px 0 14px;padding:0;border:0}
.market-header.integrated-header .countdown{display:flex;flex-direction:column;align-items:stretch;gap:0;width:100%;height:auto;min-height:0;padding:14px 16px 12px;border-radius:20px;background:repeating-linear-gradient(0deg,#ffffff02 0,#ffffff02 1px,transparent 1px,transparent 4px),linear-gradient(145deg,rgba(var(--fuse-rgb),.07),#0b1016 45%,rgba(var(--fuse-rgb),.04)),#0b1016;border:1px solid rgba(var(--fuse-rgb),.19);box-shadow:inset 0 1px 0 #ffffff12,inset 0 -2px 3px #0009,0 6px 20px #0003;overflow:visible;text-align:left}
.integrated-header .exchange-clock{width:100%;height:30px;min-height:30px;margin:0 0 9px;padding-top:0;padding-bottom:0;border:0;border-bottom:1px solid #ffffff08;background:none;box-shadow:inset 0 -1px #0007;backdrop-filter:none}
.integrated-header .local-clock{background:#080c1160!important;border:0;box-shadow:inset 0 1px 4px #0009,inset 0 -1px #ffffff0b;border-radius:6px}
.integrated-header .local-clock-time{color:#99a3ab!important;text-shadow:0 -1px 1px #000,0 1px 0 #ffffff19!important}
.integrated-header .exchange-event{background:transparent!important;border:0;box-shadow:none!important;text-shadow:0 -1px #000,0 1px #ffffff0d}
.market-header.integrated-header .market-identity{position:static;top:auto;left:auto;display:flex;align-items:center;gap:6px;padding:0;margin:0 0 4px;border:0;background:none;box-shadow:none;min-width:0}
.integrated-header .site-wordmark{color:#8e8a76!important;-webkit-text-fill-color:unset;background:none;font-size:12px!important;text-shadow:0 -1px 1px #000,0 1px #ffffff1c!important}
.integrated-header .window-label{color:#6f7b83!important;text-shadow:0 -1px #000;font-size:8px!important}
.market-header.integrated-header .block-time-value{margin:3px 0 0;justify-content:center;line-height:1}
.market-header.integrated-header .countdown #block-time{font-size:76px;line-height:1.05;color:color-mix(in srgb,var(--timer-color) 58%,#6b7874);text-shadow:0 -2px 2px #000,0 1px #ffffff1e;filter:none}
.integrated-header #block-milliseconds{color:color-mix(in srgb,var(--timer-color) 45%,#6f7978);text-shadow:0 -1px #000,0 1px #ffffff15;font-size:19px}
.integrated-header .block-time-label{text-align:center;margin:3px 0 0;color:#697680;text-shadow:0 -1px #000,0 1px #ffffff0c;font-size:8px;letter-spacing:2px}
.market-header.integrated-header .block-fuse{width:100%;margin:10px 0 13px;height:5px;box-shadow:inset 0 1px 3px #000a,inset 0 -1px #ffffff0c;opacity:.8}
.integrated-header .market-prices{margin:0 0 10px;padding:0;gap:8px;border:0;width:100%}
.integrated-header .market-prices>div{min-height:68px;padding:9px 7px;border-radius:10px;background:linear-gradient(135deg,rgba(var(--panel-rgb),.065),#070b1160);border:1px solid #ffffff08;box-shadow:inset 0 2px 5px #0009,inset 0 -1px #ffffff10;backdrop-filter:none}
.integrated-header .market-prices>div>strong,.integrated-header .market-prices .now-price>strong.positive,.integrated-header .market-prices .now-price>strong.negative,.integrated-header .market-prices .now-price>strong.unknown{color:color-mix(in srgb,rgb(var(--panel-rgb)) 62%,#738084)!important;font-size:22px;text-shadow:0 -1px 2px #000,0 1px #ffffff18;letter-spacing:0}
.integrated-header .market-prices>div>span,.integrated-header .market-prices #price-change{color:#84919c!important;font-size:10px;text-shadow:0 -1px #000,0 1px #ffffff0a}
.integrated-header #header-previous-price{font-size:9px;color:#7e8c93;text-shadow:0 -1px #000}
.integrated-header .chart-control-row{margin:0 0 8px;padding:0;border:0;align-items:center}
.integrated-header .chart-views{padding:0;background:none;box-shadow:none;border:0;backdrop-filter:none}
.integrated-header .chart-views button,.integrated-header #view-block-signals{background:linear-gradient(180deg,#080c12b0,#0b101850)!important;color:#8d9aa5!important;border:1px solid #ffffff09!important;box-shadow:inset 0 2px 3px #0009,inset 0 -1px #ffffff10!important;border-radius:7px;text-shadow:0 -1px #000,0 1px #ffffff10;font-size:10px}
.integrated-header .chart-views button.selected{color:#b19969!important;background:linear-gradient(180deg,#1c190f80,#0a0d1250)!important;border-color:#b99a5f22!important}
.integrated-header .model-performance{background:#080c124d;border:1px solid #ffffff08;box-shadow:inset 0 2px 4px #0009,inset 0 -1px #ffffff10;backdrop-filter:none;color:#93819f;border-radius:7px}
.integrated-header .model-performance>strong{color:#a890b9;text-shadow:0 -1px #000,0 1px #ffffff18;filter:none}
.integrated-header .ai-scale{background:#080b11;box-shadow:inset 0 1px 3px #0009}.integrated-header #ai-scale-fill{opacity:.6;box-shadow:none}
.integrated-header .prediction-market-strip{margin:0 0 7px;min-height:18px;color:#86929d;text-shadow:0 -1px #000,0 1px #ffffff0c}
.integrated-header .prediction-market-strip strong{color:#9886a5!important;font-weight:500}
.integrated-header #view-block-signals{align-self:flex-end;float:none!important;padding:4px 8px!important;margin:0 0 3px}
.integrated-header #trade-signal-status{color:#8e809f!important;margin:0!important;font-size:9px!important;text-shadow:0 -1px #000,0 1px #ffffff10}
.integrated-header #source-status,.integrated-header #chart-history-status{font-size:9px;color:#9b8c75;margin:5px 0 0;background:none;border:0;box-shadow:none;text-shadow:0 -1px #000}
@media(max-width:600px){.market-header.integrated-header .countdown{padding:11px 11px 10px;border-radius:16px}.market-header.integrated-header .countdown #block-time{font-size:65px}.integrated-header #block-milliseconds{font-size:16px}.integrated-header .market-prices{gap:5px}.integrated-header .market-prices>div{min-height:63px;padding:8px 4px}.integrated-header .market-prices>div>strong,.integrated-header .market-prices .now-price>strong.positive,.integrated-header .market-prices .now-price>strong.negative,.integrated-header .market-prices .now-price>strong.unknown{font-size:clamp(12px,3.5vw,18px)}.integrated-header .market-prices>div>span{font-size:8px}.integrated-header .chart-views button{font-size:9px;padding:6px 7px}.integrated-header #header-previous-price{font-size:7px}.integrated-header .exchange-clock{padding-left:21px;padding-right:21px}}
/* Scope inherited large countdown type to the timer only. */
.market-header.integrated-header .countdown .local-clock-time{font-size:20px;line-height:26px;background:none;-webkit-text-fill-color:#99a3ab;filter:none}
.market-header.integrated-header .countdown .prediction-market-strip strong{font-size:9px;line-height:1.4;text-shadow:0 -1px #000,0 1px #ffffff0c;filter:none}
.market-header.integrated-header .countdown .model-performance>strong{font-size:12px;line-height:12px}
@media(max-width:600px){.market-header.integrated-header .countdown .local-clock-time{font-size:18px}.market-header.integrated-header .countdown .prediction-market-strip strong{font-size:8px}.market-header.integrated-header .countdown .model-performance>strong{font-size:11px}}
#countdown #target,#countdown #live-price,#countdown #header-price-gap{color:color-mix(in srgb,rgb(var(--panel-rgb)) 52%,#4d565d)!important;text-shadow:0 -1px 2px #000,0 1px #ffffff18!important;font-size:22px}
@media(max-width:600px){#countdown #target,#countdown #live-price,#countdown #header-price-gap{font-size:clamp(12px,3.5vw,18px)}}
#countdown .market-prices>div{background:linear-gradient(135deg,rgba(var(--panel-rgb),.055),#070b1170);border:1px solid #ffffff08;box-shadow:inset 0 2px 5px #0009,inset 0 -1px #ffffff10}
