/* earlyee's watch shell inherits the existing trading page's palette. */
:root{--font:'TikTok Sans',ui-sans-serif,system-ui,sans-serif}
.market-stage:before{display:none}
.app-shell{max-width:1600px;padding-inline:28px}.topbar{height:70px;gap:28px}.brand{margin-right:0;font-size:31px;font-weight:800;font-style:italic;text-decoration:none;letter-spacing:-.035em}.watch-navigation{display:flex;gap:22px;margin-right:auto;font-size:13px}.watch-navigation a{text-decoration:none;color:var(--muted)}.watch-navigation a:hover{color:var(--ink)}.demo-tag{letter-spacing:.04em;font-size:10px;font-weight:500}.main-grid{grid-template-columns:minmax(0,1fr) 350px;gap:26px;padding-top:24px}.watch-player{aspect-ratio:16/9;position:relative;background:var(--surface);border-radius:12px;overflow:hidden;min-width:0}.watch-player iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.stream-placeholder{height:100%;min-height:160px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;color:var(--muted)}.stream-placeholder strong{font-size:20px;line-height:1.3;font-weight:500;color:var(--ink)}.stream-placeholder p{font-size:12px;max-width:42ch;margin-bottom:0}.broadcast-details{display:flex;gap:16px;justify-content:space-between;align-items:center;margin:14px 0 0;font-size:13px;font-weight:600}.broadcast-details a{font-size:12px;font-weight:400;color:var(--muted);text-underline-offset:3px}.broadcast-note{color:var(--faint);font-size:11px;margin:6px 0}.stream-bar{height:auto;min-height:36px;border:0;gap:14px;flex-wrap:wrap;margin-top:8px}.stream-live{font-size:9px;letter-spacing:.04em;font-weight:500}.live-indicator{box-shadow:none}.stream-name{font-size:12px;font-weight:400;color:var(--muted);overflow-wrap:anywhere}.stream-link{font-size:11px}.market-stage{padding:18px 0 20px;background:none;border-radius:0;min-height:0;overflow:visible}.market-stage:after{display:none}.market-meta{font-size:10px;gap:10px;flex-wrap:wrap;overflow-wrap:anywhere}.market-heading-row{margin:8px 0 0;align-items:start;gap:12px}.market-heading-row h1{font-size:26px;line-height:1.2;letter-spacing:-.025em;max-width:none;overflow-wrap:anywhere}.market-subtitle{margin:12px 0;font-size:12px;max-width:76ch}.phase-pill{font-size:10px;white-space:normal;text-align:center;flex:none}.time-row{gap:28px;flex-wrap:wrap}.time-row strong{font-size:13px;overflow-wrap:anywhere}.detail-label{font-size:10px}.market-rule{font-size:11px;margin-top:14px;padding-top:12px;align-items:start}.market-rule svg{flex:none}.outcome-board{margin-top:0;margin-bottom:22px}.outcome-options{gap:10px}.outcome-option{min-height:98px}.outcome-price{font-size:25px}.outcome-description{font-size:11px}.outcome-name{font-size:18px}.outcome-note{font-size:11px}.trade-column{display:flex;flex-direction:column;gap:18px}.ticket,.portfolio{border:1px solid var(--line);border-radius:14px}.portfolio{margin-top:0;margin-bottom:24px}.portfolio-header{padding:18px 22px}.portfolio-header h2{font-size:20px}.ticket-heading{padding:20px 20px 14px}.ticket-heading h2{font-size:20px}.stream-chat{border:1px solid var(--line);border-radius:14px;background:var(--surface);overflow:hidden}.chat-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:13px 18px;border-bottom:1px solid var(--line)}.chat-heading h2{font-size:13px;font-weight:600;margin:0}.chat-heading button{background:transparent;color:var(--muted);border:0;border-radius:5px;padding:6px 8px;font-size:11px;min-height:32px}.chat-heading button:hover{background:var(--surface-2)}#chat-content{min-height:180px}#chat-placeholder{font-size:12px;color:var(--muted);padding:18px;margin:0;line-height:1.6}#chat-content iframe{display:block;width:100%;height:420px;border:0}.chat-external{display:block;margin:0 18px 18px;font-size:12px;color:var(--ink);text-underline-offset:4px}.price-history{padding:20px 0 16px;border-top:1px solid var(--line);margin-bottom:18px;min-width:0}.history-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.history-heading h2{font-size:14px;margin:0;font-weight:600}.history-heading p{font-size:11px;color:var(--muted);margin:4px 0 0}.history-ranges{display:flex;gap:4px}.history-ranges button{background:none;border:0;color:var(--muted);font-size:11px;border-radius:5px;padding:6px 10px;min-height:32px}.history-ranges button[aria-pressed=true]{color:var(--ink);background:var(--surface-2)}.history-legend{display:flex;gap:20px;margin-top:14px;flex-wrap:wrap}.history-legend button{display:flex;align-items:center;gap:8px;background:none;border:0;padding:4px 0;font-size:12px;color:var(--ink);min-height:32px}.history-legend button:before{content:'';width:16px;height:2px;background:var(--yes)}.history-legend button[data-history-series=no]:before{background:var(--no)}.history-legend button[aria-pressed=false]{opacity:.5}.history-legend strong{font-weight:500;font-variant-numeric:tabular-nums}.history-plot{position:relative;min-width:0;min-height:220px}.history-plot svg{width:100%;height:220px;display:block;fill:none;stroke:none}.history-plot text{font:11px var(--font);fill:var(--muted);stroke:none}.history-grid{stroke:var(--line);stroke-width:.6}.history-line{stroke:var(--yes);stroke-width:2;stroke-linejoin:round;stroke-linecap:round;fill:none}.history-line.no{stroke:var(--no)}.history-point{fill:var(--yes);stroke:none}.history-point.no{fill:var(--no)}.history-guide{stroke:var(--muted);stroke-width:1;stroke-dasharray:3 4}.history-empty{position:absolute;inset:60px 25px;display:grid;place-items:center;text-align:center;font-size:12px;color:var(--muted);margin:0;pointer-events:none}.history-status{font-size:11px;color:var(--faint);margin:0;line-height:1.6}.earlier-rounds{margin:18px 0 0}.how-it-works{margin-top:30px}.site-footer{margin-top:22px}.page-status{overflow-wrap:anywhere}.activity-content{max-height:none}
@media(max-width:1000px){.app-shell{padding-inline:20px}.main-grid{grid-template-columns:minmax(0,1fr) 320px;gap:20px}.market-heading-row h1{font-size:24px}.topbar{gap:20px}.market-stage{padding-inline:0}}
@media(max-width:760px){.main-grid{display:flex;flex-direction:column;padding-top:18px;gap:0}.market-column{display:contents}.watch-player{order:1;width:100%}.broadcast-details{order:2;width:100%}.broadcast-note{order:3}.stream-bar{order:4;width:100%}.market-stage{order:5;width:100%;padding:18px 0}.outcome-board{order:6;width:100%;margin-top:0}.trade-column{order:7;width:100%;margin:0 0 24px}.price-history{order:8;width:100%}.portfolio{order:9;width:100%}.earlier-rounds{order:10;width:100%}.topbar{height:66px;gap:12px}.brand{font-size:28px}.watch-navigation{gap:12px;font-size:12px}.demo-tag{font-size:8px;white-space:normal;max-width:100px;text-align:center;padding:5px}.account-button{font-size:0}.account-avatar{font-size:12px}.history-heading{align-items:start;flex-wrap:wrap}.history-heading p{max-width:35ch}.stream-live{font-size:9px}.market-meta{max-width:100%}.market-heading-row h1{font-size:26px}.stream-link{font-size:11px}.how-it-works{margin-top:10px}}
@media(max-width:400px){.app-shell{padding-inline:14px}.topbar{gap:9px}.watch-navigation a:last-child{display:none}.brand{font-size:26px}.history-ranges button{padding-inline:9px}.stream-placeholder strong{font-size:17px}.stream-placeholder{padding:18px;min-height:145px}.market-heading-row{flex-wrap:wrap}}
@media(pointer:coarse){.history-ranges button,.history-legend button,.chat-heading button,.watch-navigation a{min-height:44px}.watch-navigation a{display:flex;align-items:center}.history-ranges button{min-width:44px}}

.market-information{border-top:1px solid var(--line);margin-bottom:24px;min-width:0}
.market-information>details{border-bottom:1px solid var(--line)}
.market-information>details>summary{list-style:none;display:flex;align-items:center;gap:16px;min-height:70px;padding:16px 2px;font-size:16px;font-weight:600;cursor:pointer}
.market-information>details>summary::-webkit-details-marker{display:none}
.market-information>details>summary:after{content:'';width:8px;height:8px;border-right:2px solid var(--faint);border-top:2px solid var(--faint);transform:rotate(45deg);margin:0 6px 0 auto;flex:none}
.market-information>details[open]>summary:after{transform:rotate(135deg)}
.market-information summary:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:4px}
.information-body{padding:0 2px 22px;font-size:13px;line-height:1.7;color:var(--muted);overflow-wrap:anywhere}
.information-body p{margin:0 0 14px}.information-body p:last-child{margin-bottom:0}
.information-body .market-rule{font-size:12px}.information-body .market-meta{margin-top:18px}
#market-terms{white-space:pre-wrap}#timeline-times .time-row{margin:18px 0;border-top:1px solid var(--line);padding-top:16px}
.timeline-preview{display:flex;margin-left:auto;align-items:center;gap:18px}.timeline-preview i{width:14px;height:14px;border-radius:50%;border:1px solid var(--line);position:relative}.timeline-preview i+i:before{content:'';position:absolute;right:13px;top:5px;width:20px;height:1px;background:var(--line)}
.timeline-preview i.is-complete{background:var(--yes);border-color:var(--yes)}.timeline-preview i.is-complete:after{content:'✓';position:absolute;color:var(--surface);font-size:10px;line-height:12px;left:2px}.timeline-preview i.is-current{border-color:var(--ink);box-shadow:inset 0 0 0 3px var(--surface);background:var(--ink)}
#market-timeline>summary:after{margin-left:8px}
.settlement-timeline{padding:0;list-style:none;display:grid;gap:18px;margin:0 0 20px;counter-reset:stage}
.settlement-timeline li{padding-left:32px;position:relative;counter-increment:stage}.settlement-timeline li:before{content:counter(stage);position:absolute;left:0;top:3px;width:20px;height:20px;border:1px solid var(--line);border-radius:50%;text-align:center;font-size:11px;line-height:18px}.settlement-timeline li.is-complete:before{content:'✓';color:var(--yes);border-color:var(--yes)}.settlement-timeline li[aria-current]:before{border-color:var(--ink);color:var(--ink)}.settlement-timeline strong{display:block;font-weight:600;color:var(--ink)}.settlement-timeline span{display:block;font-size:12px}
.faq-answers h3{font-size:13px;color:var(--ink);margin:20px 0 6px;font-weight:600}.faq-answers h3:first-child{margin-top:0}
@media(max-width:760px){.market-information{order:9;width:100%}.portfolio{order:10}.earlier-rounds{order:11}.market-information>details>summary{font-size:15px;min-height:64px}.timeline-preview{gap:12px}.timeline-preview i+i:before{width:14px}}
.demo-tag,
.broadcast-note,
.stream-bar {
  display: none;
}
.watch-player { min-height: 300px; }

.price-history { margin-bottom: 8px; }
.demo-account-summary {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 0 20px 16px;
  color: var(--muted);
  font-size: 12px;
}
.demo-account-summary span { display: flex; flex-direction: column; gap: 4px; }
.demo-account-summary strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.demo-trade-confirmation {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}
.ticket.is-confirming {
  min-height: var(--confirmation-min-height, 480px);
  display: flex;
  align-items: center;
  padding: 32px 24px;
}
.ticket.is-confirming > :not(.demo-trade-confirmation) { display: none !important; }
.demo-trade-confirmation { width: 100%; }
.demo-trade-confirmation h2 { margin: 0 0 12px; font-size: 26px; line-height: 1.2; letter-spacing: -.025em; }
.demo-trade-confirmation .confirmation-market { margin: 0 0 32px; }
.demo-trade-confirmation > strong { display: block; font-size: 20px; color: var(--yes); }
.demo-trade-confirmation p { margin: 8px 0; color: var(--muted); }
.demo-trade-confirmation .receipt-position { margin-top: 24px; color: var(--ink); }
.demo-trade-confirmation .receipt-balance { color: var(--ink); font-variant-numeric: tabular-nums; }
.demo-trade-confirmation a { display: inline-block; padding-block: 8px; text-underline-offset: 3px; }
.confirmation-back {
  display: block;
  width: 100%;
  min-height: 48px;
  margin: 32px 0 8px;
  padding: 12px 16px;
  border: 0;
  border-radius: 7px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
}
.confirmation-back:hover { filter: brightness(1.06); }
.history-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px 20px;
}
.history-ranges { align-self: start; }
.history-legend { margin: 12px 0 4px; gap: 24px; }
.history-plot { min-height: 208px; }
.history-plot svg { height: 208px; }
.history-plot text { font-variant-numeric: tabular-nums; }
.history-line.no { stroke-dasharray: 6 4; }
.history-legend button[data-history-series=no]:before {
  height: 0;
  background: none;
  border-top: 2px dashed var(--no);
}
.history-status { margin-top: 8px; max-width: 75ch; }
.market-information>details>summary { min-height: 64px; }
@media (max-width: 400px) {
  .history-heading { grid-template-columns: minmax(0, 1fr); }
  .history-ranges { justify-self: start; }
}
