:root{--bg:#06080c;--panel:#0d121a;--line:#202b38;--text:#f7f8fb;--muted:#9aa6b7;--blue:#2f97ff;--orange:#ff6b2f;--yellow:#ffd052;--green:#36d98c;--red:#ff5757}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 75% 0,#102541 0,#06080c 32%);color:var(--text);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}
.testbar{position:relative;z-index:8;text-align:center;padding:8px 12px;background:#ffb000;color:#111;font-size:11px;font-weight:900;letter-spacing:.14em}
header{position:sticky;top:0;z-index:7;display:flex;justify-content:space-between;align-items:center;padding:10px 4vw;background:#06080cf2;border-bottom:1px solid #ffffff12;backdrop-filter:blur(14px)}
.brandlock{display:flex;align-items:center;gap:12px;min-width:0}.brandlock img{width:52px;height:52px;border-radius:50%;object-fit:cover}.brandlock div{display:flex;flex-direction:column;line-height:1.05;font-size:13px;letter-spacing:.04em}.brandlock span{font-weight:900;color:var(--orange);font-size:18px}
nav{display:flex;gap:22px;font-size:14px;color:#ccd5e1}main{width:min(1600px,94vw);margin:auto}
.hero{padding:42px 0 28px}.banner-shell{overflow:hidden;border:1px solid #ffffff18;border-radius:24px;box-shadow:0 28px 80px #0009;background:#0b1017}.banner-shell img{display:block;width:100%;height:auto}
.status{margin-top:18px;padding:14px;display:grid;grid-template-columns:repeat(4,1fr);gap:12px;background:linear-gradient(180deg,#111925,#0b1017);border:1px solid #ffffff12;border-radius:18px;box-shadow:0 18px 55px #0007}.status div{padding:16px;background:#090e15;border-radius:12px}.status span,.metrics span{display:block;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.08em}.status strong,.metrics strong{display:block;margin-top:8px;font-size:24px}
section{padding:68px 0;border-top:1px solid #ffffff10}.section-head{display:flex;justify-content:space-between;align-items:end}.section-head>p{color:var(--muted);font-size:13px}.eyebrow{color:var(--orange);font-size:12px;font-weight:900;letter-spacing:.18em;margin:0 0 4px}h1,h2{font-size:42px;margin:.2em 0 24px}h1{font-size:48px}
.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:22px 0}.metrics.six{grid-template-columns:repeat(6,1fr)}.metrics>div,.filters,.tablewrap,.chartbox,.method article,.explain,.toolbar{background:linear-gradient(180deg,#111925,#0b1017);border:1px solid #ffffff12;border-radius:18px;box-shadow:0 18px 55px #0007}.metrics>div{padding:20px}
.explain{padding:16px 18px;margin:0 0 16px;color:#b9c4d1;line-height:1.55;border-left:3px solid var(--blue)}.explain strong{color:#fff}.explain b{color:var(--yellow)}
.toolbar{display:flex;justify-content:space-between;gap:18px;align-items:end;padding:14px 16px;margin-bottom:14px}.segmented{display:flex;gap:8px;flex-wrap:wrap}.segmented button{border:1px solid var(--line);background:#080d13;color:#bac5d3;padding:9px 12px;border-radius:999px;cursor:pointer}.segmented button.active{background:#17395d;border-color:#2f97ff;color:#fff}.segmented span{display:inline-block;margin-left:5px;color:#ffce64;font-weight:800}.meeting-filter{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.meeting-filter select{display:block;margin-top:6px;min-width:180px;padding:10px;border-radius:10px;border:1px solid var(--line);background:#080d13;color:white}
.tablewrap{overflow:auto}.today-table{min-width:1450px}table{width:100%;border-collapse:collapse;min-width:900px}th,td{padding:13px 14px;border-bottom:1px solid var(--line);text-align:left;font-size:13px;vertical-align:top}th{position:static;top:auto;z-index:2;font-size:10px;color:#a9b5c4;text-transform:uppercase;letter-spacing:.08em;background:#0a0f16}tbody tr:hover{background:#111923}.rule-row{box-shadow:inset 3px 0 0 #ff8a30}.time{white-space:nowrap}.horse{font-weight:800;white-space:nowrap}
.colour-tag,.grey-tag,.tag,.prediction-badge,.rule-badge,.sample-pill{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;border:1px solid #35506d;background:#152235;font-size:11px;font-weight:800;white-space:nowrap}.grey-tag{margin-left:5px;background:#343c47;border-color:#657080;color:#e8edf3}.c-blue{background:#0d3c72;border-color:#2f97ff}.c-pink{background:#5c2249;border-color:#ef6eb9}.c-black{background:#050505;border-color:#657080}.c-yellow{background:#5b4b08;border-color:#d9bd2f;color:#fff1a5}.c-purple{background:#39235d;border-color:#8059bd}.c-deep-purple{background:#21103f;border-color:#7441bc}.c-lime{background:#273d0d;border-color:#77a83e}.c-red{background:#561d1d;border-color:#c24c4c}
.prediction-badge{display:flex;flex-direction:column;align-items:flex-start;gap:2px;background:#10261c;border-color:#24714d;color:#8cf0bd}.prediction-badge strong{font-size:10px;color:#d5ffe9}.prediction-badge span{font-size:12px}.rule-badge{display:flex;width:max-content;max-width:260px;white-space:normal;line-height:1.25;margin-bottom:5px}.rule-badge.v2{background:#3b2707;border-color:#f0a427;color:#ffd783}.rule-badge.lay{background:#361316;border-color:#c94850;color:#ff9fa4}.rules{min-width:220px}.muted,.note{color:var(--muted)}.note{font-size:13px}.empty{text-align:center;padding:38px;color:var(--muted)}code{color:#ffcc6b}
.secondary-test{opacity:.72}.sample-pill{color:#f6ca70;border-color:#71521c;background:#2e250f}.filters{padding:18px;display:grid;grid-template-columns:repeat(5,1fr) auto;gap:12px}.filters label{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.07em}.filters select,.filters button{width:100%;margin-top:7px;padding:11px;border-radius:10px;border:1px solid var(--line);background:#080d13;color:white}.filters button{margin-top:20px;cursor:pointer}.profit{color:#79e6ad}.loss{color:#ff7770}.chartbox{padding:18px}.method{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.method article{padding:22px}.method b{color:var(--blue)}.method p{color:#a9b4c2;line-height:1.55}
footer{width:min(1600px,94vw);margin:auto;padding:28px 0 45px;color:#748194;font-size:12px;border-top:1px solid #ffffff10}
@media(max-width:1050px){nav{display:none}.status,.metrics,.metrics.six{grid-template-columns:1fr 1fr}.filters,.method{grid-template-columns:1fr 1fr}.toolbar{align-items:flex-start;flex-direction:column}th{top:73px}}
@media(max-width:620px){.brandlock div{display:none}.brandlock img{width:44px;height:44px}.status,.metrics,.metrics.six,.filters,.method{grid-template-columns:1fr}.hero{padding-top:22px}section{padding:50px 0}h1,h2{font-size:34px}.section-head{align-items:flex-start;flex-direction:column}.meeting-filter,.meeting-filter select{width:100%}}

/* TABLE HEADER FIX */
.today-table th{position:static;top:auto;}

/* CENTRE RUNNERS COLUMN */
.today-table th:nth-child(4), .today-table td:nth-child(4){text-align:center;}

/* BANNER 8% ENLARGEMENT TEST */
.banner-shell img{transform:scale(1.08);transform-origin:left center;}

/* BANNER SIZE REFINED TO 6% */
.banner-shell img{transform:scale(1.06);transform-origin:left center;}


/* CUSTOMER-FACING PICK COLOURS */
.pick-colour-pink{color:#ff78bd}
.pick-colour-blue{color:#58adff}
.pick-colour-yellow{color:#ffe05b}
.pick-colour-purple{color:#c19aff}
.pick-colour-deep-purple{color:#a979ff}
.pick-colour-lime{color:#a9df68}
.pick-colour-red{color:#ff7777}
.pick-colour-orange{color:#ff9a3d}
.pick-colour-black{color:#f4f6f8;text-decoration:underline;text-decoration-color:#586575;text-underline-offset:4px}
.pick-colour-none{color:#f4f6f8}

/* MORE ROOM FOR CUSTOMER-FACING RULES */
.today-table{min-width:1250px}
.rules{min-width:285px}
.rule-badge{max-width:none;white-space:nowrap}


/* PREDICTION + FOUR-MONTH HISTORY LAYOUT */
.today-table{min-width:1050px}

.prediction-pick{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:5px;
}

.prediction-pick .horse{
  font-size:1.05rem;
  font-weight:800;
}

.win-history-label{
  margin-top:5px;
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.12em;
  color:#94a3b8;
}

.history-value{
  font-size:.94rem;
  font-weight:800;
  color:#71efae;
}

.history-empty{
  color:#8794a6;
  font-weight:700;
}

/* BLACK MODEL COLOUR DISPLAYED AS GREY */
.pick-colour-black{color:#b7c0cc;text-decoration:none;}


/* REAL RESULTS — MATCH TODAY'S RACING */
.results-racing-table{
  min-width:1050px;
}

.horse-result-line{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.result-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:52px;
  padding:4px 9px;
  border-radius:6px;
  font-size:.76rem;
  font-weight:900;
  letter-spacing:.04em;
  line-height:1;
  color:#fff;
}

/* Matches the daily results workbook */
.result-first{
  background:#c00000;
}

.result-placed{
  background:#00b050;
}

.result-lost{
  background:#090d14;
  border:1px solid #465365;
}

.result-nr{
  background:#697586;
}

.result-pick .win-history-label{
  margin-top:5px;
}


/* REAL STRATEGY FINDER */
.strategy-filters{
  grid-template-columns:repeat(4,minmax(0,1fr));
}

.strategy-metrics{
  display:grid;
  grid-template-columns:repeat(8,minmax(0,1fr));
  gap:14px;
}

.strategy-count{
  margin:14px 2px 12px;
  color:#8f9bad;
  font-size:.86rem;
}

.strategy-real-table{
  min-width:1540px;
}

.strategy-real-table th,
.strategy-real-table td{
  white-space:nowrap;
}

.strategy-colour{
  font-weight:800;
}

@media (max-width:1200px){
  .strategy-filters{grid-template-columns:repeat(2,minmax(0,1fr));}
  .strategy-metrics{grid-template-columns:repeat(4,minmax(0,1fr));}
}

@media (max-width:700px){
  .strategy-filters{grid-template-columns:1fr;}
  .strategy-metrics{grid-template-columns:repeat(2,minmax(0,1fr));}
}


/* TODAY + RESULTS FILTERS */
.racing-data-filters{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin:18px 0 8px;
  padding:18px;
  border:1px solid #1d2938;
  border-radius:18px;
  background:#0d1520;
}

.results-data-filters{
  grid-template-columns:repeat(5,minmax(0,1fr));
}

.racing-data-filters label{
  display:flex;
  flex-direction:column;
  gap:8px;
  color:#8f9bad;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.racing-data-filters select,
.racing-data-filters button{
  min-height:46px;
}

.racing-data-filters button{
  align-self:end;
}

.filter-match-count{
  margin:8px 2px 14px;
  color:#8f9bad;
  font-size:.86rem;
}

@media (max-width:1250px){
  .racing-data-filters,
  .results-data-filters{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media (max-width:800px){
  .racing-data-filters,
  .results-data-filters{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:520px){
  .racing-data-filters,
  .results-data-filters{
    grid-template-columns:1fr;
  }
}


/* SAFE REAL PERFORMANCE DASHBOARD */
.performance-mode-tabs{
  display:flex;
  gap:10px;
  margin:8px 0 20px;
}
.performance-mode{
  border:1px solid #2a3950;
  background:#0b111a;
  color:#aab5c5;
  border-radius:999px;
  padding:11px 18px;
  font-weight:800;
  cursor:pointer;
}
.performance-mode.active{
  border-color:#2f97ff;
  background:#10263d;
  color:#fff;
}
.performance-note{
  margin:0 0 20px;
  padding:18px 22px;
  background:#0d1724;
  border:1px solid #1d2a3b;
  border-left:4px solid #2f97ff;
  border-radius:18px;
  color:#b7c2d1;
  line-height:1.55;
}
.performance-note strong{color:#fff}
.performance-filter-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:14px;
  padding:18px;
  border:1px solid #1d2938;
  border-radius:20px;
  background:#0d1520;
}
.performance-filter-grid label{
  display:flex;
  flex-direction:column;
  gap:8px;
  color:#8f9bad;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.performance-filter-grid select,
.performance-filter-grid button{min-height:46px}
.performance-filter-grid button{align-self:end}
.performance-period-note{
  min-height:20px;
  margin:9px 2px 14px;
  color:#8491a4;
  font-size:.86rem;
  line-height:1.45;
}
.performance-kpis{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:14px;
  margin:20px 0 28px;
}
.performance-kpis .metric strong{font-size:1.7rem}
.performance-chart-card{
  border:1px solid #1d2938;
  border-radius:22px;
  background:linear-gradient(180deg,#101927 0%,#0b121c 100%);
  padding:22px 24px 16px;
}
.performance-chart-heading{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:20px;
  margin-bottom:6px;
}
.performance-chart-heading h3{
  margin:0;
  font-size:1.4rem;
}
.performance-chart-heading p{
  margin:5px 0 0;
  color:#8693a6;
}
.performance-chart-heading>strong{font-size:1.45rem}
#perfRealChart{
  display:block;
  width:100%;
  height:auto;
  max-height:430px;
}
.performance-secondary-kpis{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin:20px 0 30px;
}
.performance-secondary-kpis small{
  display:block;
  margin-top:7px;
  color:#7f8da2;
}
.performance-audit-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:20px;
  margin-bottom:14px;
}
.performance-audit-head h3{
  margin:5px 0 0;
  font-size:1.42rem;
}
.performance-real-table th,
.performance-real-table td{text-align:left}
.performance-published-panel{
  padding:36px;
  border:1px solid #1d2938;
  border-radius:22px;
  background:#0d1520;
}
.performance-published-panel h3{margin:8px 0 10px}
.performance-published-panel p{
  max-width:920px;
  color:#9ca9ba;
  line-height:1.6;
}
.performance-error{
  margin-top:18px;
  padding:16px 18px;
  border:1px solid #66353a;
  border-radius:14px;
  color:#ffb3b3;
  background:#1b1115;
}
[hidden]{display:none!important}

@media(max-width:1400px){
  .performance-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .performance-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:900px){
  .performance-filter-grid,
  .performance-kpis,
  .performance-secondary-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  .performance-filter-grid,
  .performance-kpis,
  .performance-secondary-kpis{grid-template-columns:1fr}
  .performance-chart-heading,
  .performance-audit-head{align-items:flex-start;flex-direction:column}
}


/* PERFORMANCE AUDIT TABLE FILTERS */
.performance-audit-filters{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:14px;
  margin:0 0 8px;
  padding:18px;
  border:1px solid #1d2938;
  border-radius:18px;
  background:#0d1520;
}
.performance-audit-filters label{
  display:flex;
  flex-direction:column;
  gap:8px;
  color:#8f9bad;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.performance-audit-filters select,
.performance-audit-filters button,
.performance-filter-grid select,
.performance-filter-grid button{
  min-height:46px;
  border:1px solid #26364b;
  border-radius:12px;
  background:#090f17;
  color:#f3f6fb;
  padding:0 14px;
}
.performance-audit-filters button,
.performance-filter-grid button{
  cursor:pointer;
  font-weight:700;
}
.performance-audit-filters button{
  align-self:end;
}
.performance-audit-filter-count{
  min-height:20px;
  margin:8px 2px 14px;
  color:#8794a7;
  font-size:.86rem;
}

@media(max-width:1400px){
  .performance-audit-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:800px){
  .performance-audit-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){
  .performance-audit-filters{grid-template-columns:1fr}
}


/* P1 / P2 / BOTH PERFORMANCE COMPARISON */
.performance-real-table .pick-compare{
  white-space:nowrap;
}
.performance-real-table .pick-compare strong{
  display:block;
  font-size:1rem;
  color:#f3f6fb;
}
.performance-real-table .pick-compare small{
  display:block;
  margin-top:4px;
  color:#8fa0b5;
  font-size:.82rem;
}
.performance-real-table .pick-compare.both strong{
  color:#ffffff;
}
.performance-real-table .pick-compare.both small{
  color:#62c995;
}


/* P1 / P2 / BOTH PROFIT COLUMNS */
.performance-real-table{
  min-width:1180px;
}
.performance-real-table th:nth-child(6),
.performance-real-table th:nth-child(7),
.performance-real-table th:nth-child(8),
.performance-real-table td:nth-child(6),
.performance-real-table td:nth-child(7),
.performance-real-table td:nth-child(8){
  white-space:nowrap;
}


/* CLICKABLE RESULTS SUMMARY CARDS */
.results-summary-metrics .result-summary-card{
  appearance:none;
  width:100%;
  padding:20px;
  text-align:left;
  border:1px solid #ffffff12;
  border-radius:18px;
  background:linear-gradient(180deg,#111925,#0b1017);
  box-shadow:0 18px 55px #0007;
  color:inherit;
  font:inherit;
  cursor:pointer;
}
.results-summary-metrics .result-summary-card span{
  display:block;
  color:var(--muted);
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.results-summary-metrics .result-summary-card strong{
  display:block;
  margin-top:8px;
  font-size:24px;
}
.results-summary-metrics .result-summary-card:hover{
  border-color:#ffffff30;
}
.results-summary-metrics .result-summary-card.active{
  border-color:#2f97ff;
  background:linear-gradient(180deg,#13263a,#0b1520);
}


/* WTWR DEMO BANK V1 */
.demo-bank{margin:24px 0 30px;padding:24px;border:1px solid #1d2938;border-radius:24px;background:linear-gradient(180deg,#0f1825 0%,#09111a 100%)}
.demo-bank-head,.demo-builder-head,.demo-ledger-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}
.demo-bank-head h3,.demo-builder-head h3,.demo-ledger-head h3{margin:5px 0 0}
.demo-bank-head p{margin:8px 0 0;max-width:850px;color:#8d99aa;line-height:1.5}
.demo-reset,#demoPlaceBet,#demoSettleNow{min-height:44px;padding:10px 16px;border:1px solid #2a3a4e;border-radius:12px;background:#0b121c;color:#eef3f8;cursor:pointer;font-weight:800}
.demo-reset:hover,#demoPlaceBet:hover,#demoSettleNow:hover{border-color:#4e6d91}#demoPlaceBet{background:#17395d;border-color:#2f97ff}#demoPlaceBet:disabled{opacity:.45;cursor:not-allowed}
.demo-bank-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:22px 0}.demo-bank-kpis .metric{padding:18px;border:1px solid #1d2938;border-radius:18px;background:#0b121c}.demo-bank-kpis .metric span{display:block;color:#8794a7;font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.demo-bank-kpis .metric strong{display:block;margin-top:8px;font-size:1.45rem}
.demo-builder{padding:20px;border:1px solid #1d2938;border-radius:20px;background:#0b121c}.demo-builder-controls{display:grid;grid-template-columns:150px 180px 180px;gap:12px}.demo-builder-controls label{color:#8f9bad;font-size:.75rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.demo-builder-controls select,.demo-money-input{width:100%;margin-top:7px;min-height:44px;border:1px solid #25364a;border-radius:10px;background:#080d13;color:#fff}.demo-builder-controls select{padding:0 11px}.demo-money-input{display:flex;align-items:center;padding:0 11px}.demo-money-input span{color:#95a2b5;margin-right:4px}.demo-money-input input{width:100%;border:0;outline:0;background:transparent;color:#fff;font:inherit}
.demo-note,.demo-disclaimer{margin:14px 0;color:#8c99aa;font-size:.86rem;line-height:1.5}.demo-selection-wrap{overflow-x:auto;margin-top:14px;border:1px solid #1d2938;border-radius:16px}.demo-selection-table{width:100%;border-collapse:collapse}.demo-selection-table th,.demo-selection-table td{padding:13px 14px;border-bottom:1px solid #1d2938;text-align:left;vertical-align:middle}.demo-selection-table th{color:#8f9bad;background:#080d13;font-size:.72rem;text-transform:uppercase;letter-spacing:.08em}.demo-selection-table tr:last-child td{border-bottom:0}
.demo-pick-option{display:flex;align-items:center;gap:9px;min-width:190px}.demo-pick-option input{width:18px;height:18px}.demo-pick-option strong{display:block}.demo-pick-option small{display:block;margin-top:3px;color:#8c99aa}.demo-pick-option.closed{opacity:.45}.demo-odds{font-weight:900}
.demo-betslip{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:16px;padding:16px;border:1px solid #243449;border-radius:14px;background:#091019}.demo-betslip span,.demo-betslip small{display:block;color:#8d99aa}.demo-betslip strong{display:block;margin:4px 0}.demo-feedback{min-height:22px;margin-top:10px;font-size:.88rem}.demo-feedback.good{color:#79e6ad}.demo-feedback.bad{color:#ff7770}
.demo-ledger-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}.demo-ledger{padding:18px;border:1px solid #1d2938;border-radius:20px;background:#0b121c}.demo-ledger-list{margin-top:14px;display:grid;gap:10px}.demo-bet-card{padding:13px;border:1px solid #1d2938;border-radius:13px;background:#080d13}.demo-bet-card-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.demo-bet-card strong{font-size:.95rem}.demo-bet-card small{display:block;color:#8794a7;margin-top:5px;line-height:1.45}.demo-bet-legs{margin-top:8px;color:#bdc7d4;font-size:.83rem;line-height:1.5}.demo-bet-profit{font-weight:900}.demo-bet-profit.win{color:#79e6ad}.demo-bet-profit.loss{color:#ff7770}.demo-disclaimer{padding:13px 15px;border-left:3px solid #ff6b2f;background:#0a111a;border-radius:8px}
@media(max-width:1050px){.demo-bank-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.demo-builder-head{align-items:flex-start;flex-direction:column}.demo-builder-controls{width:100%;grid-template-columns:repeat(3,minmax(0,1fr))}.demo-ledger-grid{grid-template-columns:1fr}}
@media(max-width:620px){.demo-bank{padding:16px}.demo-bank-head{align-items:flex-start;flex-direction:column}.demo-bank-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.demo-builder-controls{grid-template-columns:1fr}.demo-betslip{align-items:stretch;flex-direction:column}}

/* WTWR DEMO FILTERS V2 */
.demo-filter-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:18px 0 12px;
  padding:16px;
  border:1px solid #1d2938;
  border-radius:16px;
  background:#091019;
}
.demo-filter-grid label{
  display:flex;
  flex-direction:column;
  gap:7px;
  color:#8f9bad;
  font-size:.75rem;
  font-weight:800;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.demo-filter-grid select,
.demo-filter-grid button{
  width:100%;
  min-height:44px;
  padding:0 11px;
  border:1px solid #25364a;
  border-radius:10px;
  background:#080d13;
  color:#fff;
}
.demo-filter-grid button{
  align-self:end;
  cursor:pointer;
  font-weight:800;
}
.demo-filter-actions{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin:0 2px 12px;
}
.demo-select-visible-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.demo-select-visible-actions button{
  min-height:38px;
  padding:8px 12px;
  border:1px solid #25364a;
  border-radius:10px;
  background:#0b121c;
  color:#eef3f8;
  cursor:pointer;
  font-weight:800;
}
.demo-select-visible-actions button:hover{border-color:#4e6d91}
.demo-pick-history{color:#79e6ad!important;font-weight:800}
@media(max-width:1050px){
  .demo-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .demo-filter-grid{grid-template-columns:1fr}
  .demo-filter-actions{align-items:flex-start;flex-direction:column}
}


/* WTWR_STRATEGY_RESTRUCTURE_V3 */
.strategy-workflow-note{margin:14px 0 12px;font-size:.94rem;opacity:.82}
.strategy-filter-shell{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 14px}
.strategy-filter-group{border:1px solid rgba(255,255,255,.08);border-radius:18px;padding:16px;background:rgba(255,255,255,.018)}
.strategy-filter-heading{display:flex;align-items:center;gap:9px;margin:0 0 13px;font-size:.78rem;font-weight:800;letter-spacing:.11em;text-transform:uppercase;opacity:.82}
.strategy-filter-heading span{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:26px;border:1px solid rgba(255,255,255,.12);border-radius:999px;font-size:.7rem}
.strategy-filter-group .filters.strategy-group-grid{display:grid;grid-template-columns:1fr;gap:11px;margin:0;padding:0;border:0;background:transparent}
.strategy-filter-group .strategy-group-grid label{min-width:0}
.strategy-filter-group .strategy-group-grid select,.strategy-filter-group .strategy-group-grid button{width:100%}
.strategy-order-note{margin:4px 0 18px;font-size:.84rem;opacity:.70}
#strategy th:first-child,#strategy td:first-child{white-space:nowrap}
@media (max-width:1100px){.strategy-filter-shell{grid-template-columns:1fr}.strategy-filter-group .filters.strategy-group-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:700px){.strategy-filter-group .filters.strategy-group-grid{grid-template-columns:1fr}}

/* WTWR LOCKED TODAY + RESULTS COLUMN GEOMETRY — 2026-08-13
   Both customer-facing racing tables must remain pixel-aligned regardless
   of horse-name length, SP text or result badges.
*/
.today-table,
.results-racing-table {
  table-layout: fixed;
  width: 100%;
}

/* TIME */
.today-table th:nth-child(1),
.today-table td:nth-child(1),
.results-racing-table th:nth-child(1),
.results-racing-table td:nth-child(1) {
  width: 6.5%;
}

/* COURSE */
.today-table th:nth-child(2),
.today-table td:nth-child(2),
.results-racing-table th:nth-child(2),
.results-racing-table td:nth-child(2) {
  width: 13.5%;
}

/* RACE */
.today-table th:nth-child(3),
.today-table td:nth-child(3),
.results-racing-table th:nth-child(3),
.results-racing-table td:nth-child(3) {
  width: 20%;
}

/* RUNNERS */
.today-table th:nth-child(4),
.today-table td:nth-child(4),
.results-racing-table th:nth-child(4),
.results-racing-table td:nth-child(4) {
  width: 8%;
  text-align: center;
}

/* P1 PREDICTION */
.today-table th:nth-child(5),
.today-table td:nth-child(5),
.results-racing-table th:nth-child(5),
.results-racing-table td:nth-child(5) {
  width: 26%;
}

/* P2 PREDICTION */
.today-table th:nth-child(6),
.today-table td:nth-child(6),
.results-racing-table th:nth-child(6),
.results-racing-table td:nth-child(6) {
  width: 26%;
}

/* WTWR RUNNERS VISUAL CENTRE ADJUSTMENT — 2026-08-13 */
.today-table th:nth-child(4),
.today-table td:nth-child(4),
.results-racing-table th:nth-child(4),
.results-racing-table td:nth-child(4) {
  transform: translateX(-10px);
}

/* WTWR RUNNERS FINAL VISUAL POSITION — 2026-08-13 */
.today-table th:nth-child(4),
.today-table td:nth-child(4),
.results-racing-table th:nth-child(4),
.results-racing-table td:nth-child(4){position:relative;left:-60px;transform:none;}

/* WTWR STRATEGY NUMERIC COLUMN CENTRING — 2026-08-13 */

/* Best Historical Angle overview: columns 3–10 */
.strategy-real-table:has(thead th:nth-child(10):last-child) th:nth-child(n+3),
.strategy-real-table:has(thead th:nth-child(10):last-child) td:nth-child(n+3) {
  text-align: center;
}

/* Full Strategy table: Bets through Avg Odds = columns 8–15 */
.strategy-real-table:has(thead th:nth-child(15):last-child) th:nth-child(n+8),
.strategy-real-table:has(thead th:nth-child(15):last-child) td:nth-child(n+8) {
  text-align: center;
}

/* WTWR STRATEGY NUMERIC VISUAL POSITION — 2026-08-13 */

/* Best Historical Angle overview: BETS through AVG ODDS */
.strategy-real-table:has(thead th:nth-child(10):last-child) th:nth-child(n+3),
.strategy-real-table:has(thead th:nth-child(10):last-child) td:nth-child(n+3) {
  position: relative;
  left: -60px;
}

/* Full Strategy table: BETS through AVG ODDS */
.strategy-real-table:has(thead th:nth-child(15):last-child) th:nth-child(n+8),
.strategy-real-table:has(thead th:nth-child(15):last-child) td:nth-child(n+8) {
  position: relative;
  left: -60px;
}

/* WTWR STRATEGY UNIFORM NUMERIC TYPOGRAPHY — 2026-08-13 */

/* Best Historical Angle overview: Bets through Avg Odds */
.strategy-real-table:has(thead th:nth-child(10):last-child) td:nth-child(n+3) {
  font-size: 13px !important;
  font-weight: 400 !important;
}

/* Full Strategy table: Bets through Avg Odds */
.strategy-real-table:has(thead th:nth-child(15):last-child) td:nth-child(n+8) {
  font-size: 13px !important;
  font-weight: 400 !important;
}


/* WTWR DEMO BET HISTORY FILTERS — 2026-08-13 */
.demo-history-controls{
  display:grid;
  gap:10px;
  margin:6px 0 14px;
}

.demo-history-filter-row{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.demo-history-filter-label{
  min-width:52px;
  color:#8f9bad;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.demo-history-filter-buttons{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
}

.demo-history-filter-buttons button{
  border:1px solid #2a3950;
  background:#080d13;
  color:#aab5c5;
  padding:7px 11px;
  border-radius:999px;
  cursor:pointer;
  font-size:.72rem;
  font-weight:800;
}

.demo-history-filter-buttons button.active{
  background:#17395d;
  border-color:#2f97ff;
  color:#ffffff;
}

.demo-history-count{
  color:#7f8da2;
  font-size:.78rem;
  margin-top:1px;
}

.demo-history-scroll{
  max-height:620px;
  overflow-y:auto;
  overscroll-behavior:contain;
  padding-right:4px;
}


/* WTWR TODAY AI SCORE BADGES V1 */
.today-horse-ai-line{
  display:flex;
  align-items:center;
  gap:9px;
  flex-wrap:wrap;
}

.today-horse-ai-line .horse{
  min-width:0;
}

.today-ai-score{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  padding:3px 9px;
  border-radius:999px;
  border:1px solid rgba(62,214,157,.34);
  background:rgba(31,126,94,.18);
  color:#69dfae;
  font-size:.72rem;
  line-height:1.2;
  font-weight:850;
  letter-spacing:.01em;
  white-space:nowrap;
}

.today-ai-explainer{
  margin:10px 0 16px;
  padding:11px 14px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  background:rgba(255,255,255,.018);
  color:#9caabe;
  font-size:.82rem;
  line-height:1.5;
}

.today-ai-explainer strong{
  color:#eef3f8;
}

@media (max-width:700px){
  .today-ai-score{
    padding:2px 7px;
    font-size:.68rem;
  }
}


/* WTWR_STAKE_CALCULATOR_V1 */
.wtwr-ai-guide{
  margin:16px 0;
  border:1px solid #223247;
  border-radius:16px;
  background:#0a111a;
  overflow:hidden;
}

.wtwr-ai-guide summary{
  padding:15px 17px;
  cursor:pointer;
  color:#eef3f8;
  font-weight:850;
  user-select:none;
}

.wtwr-ai-guide-body{
  padding:0 17px 17px;
  color:#9aa7b9;
  line-height:1.6;
}

.wtwr-ai-guide-body h4{
  margin:16px 0 5px;
  color:#eef3f8;
}

.wtwr-ai-guide-body p{
  margin:7px 0;
}

.wtwr-stake-calculator{
  margin:18px 0;
  padding:20px;
  border:1px solid #223247;
  border-radius:20px;
  background:
    linear-gradient(180deg,#101a27 0%,#0a111a 100%);
}

.wtwr-stake-calculator-head h3{
  margin:5px 0 0;
}

.wtwr-stake-calculator-head p{
  margin:8px 0 0;
  max-width:850px;
  color:#8e9bad;
  line-height:1.5;
}

.wtwr-stake-bank-grid{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:12px;
  margin:18px 0;
}

.wtwr-stake-bank-card,
.wtwr-stake-field{
  min-width:0;
  padding:14px;
  border:1px solid #1f3043;
  border-radius:14px;
  background:#090f17;
}

.wtwr-stake-bank-card span,
.wtwr-stake-field{
  color:#8f9cad;
  font-size:.75rem;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.wtwr-stake-bank-card strong{
  display:block;
  margin-top:8px;
  color:#fff;
  font-size:1.35rem;
}

.wtwr-stake-bank-card small,
.wtwr-stake-field small{
  display:block;
  margin-top:7px;
  color:#758397;
  line-height:1.4;
  text-transform:none;
  letter-spacing:0;
  font-weight:500;
}

.wtwr-stake-field select,
.wtwr-stake-money{
  width:100%;
  min-height:43px;
  margin-top:8px;
  border:1px solid #25364a;
  border-radius:10px;
  background:#070c12;
  color:#fff;
}

.wtwr-stake-field select{
  padding:0 10px;
}

.wtwr-stake-money{
  display:flex;
  align-items:center;
  padding:0 10px;
}

.wtwr-stake-money span{
  color:#91a0b3;
  margin-right:5px;
}

.wtwr-stake-money input{
  width:100%;
  border:0;
  outline:0;
  background:transparent;
  color:#fff;
  font:inherit;
}

.wtwr-stake-results{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:14px;
}

.wtwr-stake-results > div{
  min-width:0;
  padding:13px 14px;
  border:1px solid #1d2c3e;
  border-radius:13px;
  background:#080e15;
}

.wtwr-stake-results span{
  display:block;
  color:#7f8da0;
  font-size:.70rem;
  font-weight:800;
  letter-spacing:.07em;
  text-transform:uppercase;
}

.wtwr-stake-results strong{
  display:block;
  margin-top:7px;
  color:#eef3f8;
  font-size:1rem;
  line-height:1.35;
}

.wtwr-stake-status{
  margin:13px 0;
  padding:12px 14px;
  border-radius:12px;
  background:rgba(49,151,255,.07);
  border:1px solid rgba(49,151,255,.18);
  color:#a8b7c9;
  line-height:1.5;
}

.wtwr-use-demo-stake{
  min-height:42px;
  padding:9px 15px;
  border:1px solid #2f97ff;
  border-radius:11px;
  background:#17395d;
  color:#fff;
  font-weight:850;
  cursor:pointer;
}

.wtwr-use-demo-stake:disabled{
  opacity:.42;
  cursor:not-allowed;
}

.wtwr-stake-disclaimer{
  margin:12px 0 0;
  color:#748398;
  font-size:.78rem;
  line-height:1.5;
}

@media(max-width:900px){
  .wtwr-stake-bank-grid,
  .wtwr-stake-results{
    grid-template-columns:1fr;
  }
}


/* WTWR_DEMO_RESULTS_AI_BADGES_V1 */
.demo-horse-ai-line{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.demo-horse-ai-line strong{
  min-width:0;
}

.horse-result-line{
  flex-wrap:wrap;
}

.demo-pick-option .today-ai-score,
.result-pick .today-ai-score{
  padding:2px 8px;
  font-size:.68rem;
  vertical-align:middle;
}


/* WTWR_TODAY_CLOSED_DIMMING_V1 */
.wtwr-today-pick-closed{
  opacity:.34;
  filter:saturate(.55);
  transition:opacity .2s ease;
}

/* WTWR_DEMO_BET_SETUP_SPACING_V1 START */
.wtwr-demo-bet-setup-moved{
  margin: 26px 0 22px;
  padding: 28px 24px 22px;
  border: 1px solid rgba(68,110,170,.28);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(8,22,42,.32) 0%, rgba(3,12,24,.12) 100%);
}

.wtwr-demo-bet-setup-moved .demo-builder-controls{
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 22px 18px;
  align-items: end;
  margin: 0 0 18px;
}

.wtwr-demo-bet-setup-moved .demo-builder-controls > *{
  min-width: 0;
}

.wtwr-demo-bet-setup-moved label,
.wtwr-demo-bet-setup-moved .field-label,
.wtwr-demo-bet-setup-moved .input-label{
  display: block;
  margin-bottom: 10px;
}

.wtwr-demo-bet-setup-moved select,
.wtwr-demo-bet-setup-moved input{
  width: 100%;
}

.wtwr-demo-bet-setup-moved .demo-note{
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid rgba(68,110,170,.20);
  max-width: 1100px;
  line-height: 1.55;
  color: rgba(220,230,245,.78);
}

.wtwr-demo-bet-setup-moved .demo-note p,
.wtwr-demo-bet-setup-moved .demo-note div{
  margin: 0;
}

@media (max-width: 1280px){
  .wtwr-demo-bet-setup-moved .demo-builder-controls{
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 760px){
  .wtwr-demo-bet-setup-moved{
    padding: 22px 16px 18px;
  }

  .wtwr-demo-bet-setup-moved .demo-builder-controls{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .wtwr-demo-bet-setup-moved .demo-note{
    padding-top: 14px;
  }
}
/* WTWR_DEMO_BET_SETUP_SPACING_V1 END */


/* WTWR_AI_PLACE_SHADOW_STYLE_V1 */
.ai-place-shadow{
  margin:26px 0 0;
  padding:22px;
  border:1px solid rgba(111,190,255,.20);
  border-radius:18px;
  background:rgba(54,125,190,.045);
}
.ai-place-shadow-head{
  display:flex;
  gap:18px;
  align-items:flex-start;
  justify-content:space-between;
}
.ai-place-shadow-head h3{margin:5px 0 7px}
.ai-place-shadow-head p{margin:0;color:#9ca9b9;max-width:840px;line-height:1.5}
.ai-place-shadow-head button{flex:0 0 auto;white-space:nowrap}
.ai-place-shadow-basis{
  margin:16px 0;
  padding:12px 14px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:12px;
  color:#aeb9c7;
  background:rgba(255,255,255,.02);
  line-height:1.45;
}
.ai-place-kpis{
  display:grid;
  grid-template-columns:repeat(5,minmax(120px,1fr));
  gap:10px;
  margin:14px 0 20px;
}
.ai-place-grid{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);
  gap:18px;
}
.ai-place-grid h4{margin:5px 0 10px}
.ai-place-card{
  margin:0 0 12px;
  padding:14px 15px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:14px;
  background:rgba(255,255,255,.022);
}
.ai-place-card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:8px;
}
.ai-place-card-top strong{line-height:1.4}
.ai-place-score{
  display:inline-flex;
  margin-left:6px;
  padding:2px 7px;
  border-radius:999px;
  border:1px solid rgba(111,190,255,.25);
  background:rgba(111,190,255,.08);
  color:#8ccfff;
  font-size:.76rem;
  font-weight:850;
}
.ai-place-legs{color:#dce4ee;line-height:1.55}
.ai-place-reason{
  margin-top:8px;
  padding-top:8px;
  border-top:1px solid rgba(255,255,255,.055);
  color:#9eabba;
  font-size:.86rem;
  line-height:1.45;
}
.ai-place-card small{display:block;margin-top:8px;color:#758397}
.ai-place-good{color:#73e2ae}
.ai-place-bad{color:#ff8f8f}
.ai-place-muted{color:#8996a8}
@media (max-width:1000px){
  .ai-place-kpis{grid-template-columns:repeat(2,minmax(130px,1fr))}
  .ai-place-grid{grid-template-columns:1fr}
}
@media (max-width:700px){
  .ai-place-shadow-head{display:block}
  .ai-place-shadow-head button{margin-top:14px;width:100%}
  .ai-place-kpis{grid-template-columns:1fr 1fr}
}


/* WTWR_LIVE_ONLY_SCORE_RENDER_STYLE_V2 */
.wtwr-live-only-ai-score{
  display:inline-flex;
  align-items:center;
  margin-left:10px;
  vertical-align:middle;
  white-space:nowrap;
}

/* WTWR_PLACE_AI_SURFACE_VALUE_V2 */
.wtwr-place-ai-score{
  display:inline-flex;
  align-items:center;
  margin-left:7px;
  padding:2px 7px;
  border-radius:999px;
  border:1px solid rgba(111,190,255,.32);
  background:rgba(111,190,255,.09);
  font-size:.75rem;
  font-weight:850;
  line-height:1.35;
  white-space:nowrap;
  vertical-align:middle;
}
.wtwr-place-bets-day{
  margin:18px 0 0;
  padding:16px;
  border:1px solid rgba(111,190,255,.22);
  border-radius:14px;
  background:rgba(54,125,190,.04);
}
.wtwr-place-bets-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  margin-bottom:8px;
}
.wtwr-place-bets-head h4{margin:3px 0 0}
.wtwr-place-rule,.wtwr-place-bets-status{
  color:#8f9bad;
  font-size:.82rem;
}
.wtwr-place-bets-status{margin:7px 0 12px}
.wtwr-place-no-bet{
  padding:12px 13px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:12px;
  background:rgba(255,255,255,.02);
  line-height:1.5;
}
.wtwr-place-integrity-note{
  margin-top:8px;
  color:#8f9bad;
  font-size:.8rem;
}

/* WTWR_PLACE_AI_WHITE_STANDARD_V5
   Visual standard:
   - green AI badge = WIN score
   - white AI badge = PLACE score
   Horse/prediction colour remains on the horse name only.
*/
#today .wtwr-place-ai-score,
#results .wtwr-place-ai-score,
#demo-account .wtwr-place-ai-score,
#ai-demo-account .wtwr-place-ai-score,
.wtwr-place-ai-score {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* WTWR UNIFORM TODAY RESULTS AI LAYOUT LIVE V1 */

/*
   Hide original dynamically-painted badges in Today's Racing
   and Results only.

   They remain in the DOM, so score/filter logic is preserved.
*/

#today .prediction-pick .today-ai-score,
#today .prediction-pick .wtwr-live-only-ai-score,
#today .prediction-pick .wtwr-live-ai-score,
#today .prediction-pick .ai-demo-score,
#today .prediction-pick .wtwr-place-ai-score,

#results .prediction-pick .today-ai-score,
#results .prediction-pick .wtwr-live-only-ai-score,
#results .prediction-pick .wtwr-live-ai-score,
#results .prediction-pick .ai-demo-score,
#results .prediction-pick .wtwr-place-ai-score{
  display:none !important;
}


/* Uniform second line */

#today .wtwr-uniform-ai-line,
#results .wtwr-uniform-ai-line{
  display:flex !important;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  flex-wrap:wrap;
  margin-top:8px;
  min-height:25px;
}


/* WIN AI */

#today .wtwr-uniform-win-ai,
#results .wtwr-uniform-win-ai{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  padding:3px 10px;
  border-radius:999px;
  border:1px solid rgba(45,193,143,.55);
  background:rgba(29,145,106,.10);
  color:#69e7ba;
  font-size:.76rem;
  font-weight:850;
  line-height:1.3;
  white-space:nowrap;
}


/* PLACE AI */

#today .wtwr-uniform-place-ai,
#results .wtwr-uniform-place-ai{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  padding:3px 10px;
  border-radius:999px;
  border:1px solid rgba(100,177,235,.55);
  background:rgba(71,131,184,.10);
  color:#ffffff;
  font-size:.76rem;
  font-weight:850;
  line-height:1.3;
  white-space:nowrap;
}


/* Results Line 1 = horse + result */

#results .result-pick .horse-result-line{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  flex-wrap:nowrap !important;
  gap:12px !important;
  width:100%;
}

#results .result-pick .horse-result-line .result-badge{
  flex:0 0 auto;
  margin:0 !important;
}


/* Same vertical hierarchy in Today and Results */

#today .prediction-pick > .win-history-label,
#results .prediction-pick > .win-history-label{
  margin-top:9px !important;
}

#today .prediction-pick > .history-value,
#results .prediction-pick > .history-value{
  margin-top:2px !important;
}

/* WTWR RESULTS REMOVE LEGACY LINE5 AI V1
   Results only.

   The approved line-2 badges use:
     .wtwr-uniform-win-ai
     .wtwr-uniform-place-ai

   Therefore all legacy/raw AI renderer badges can be hidden anywhere
   inside the Results table without affecting the approved line 2.
*/

#resultsTable .today-ai-score,
#resultsTable .wtwr-live-only-ai-score,
#resultsTable .wtwr-live-ai-score,
#resultsTable .ai-demo-score,
#resultsTable .wtwr-place-ai-score,
#resultsTable .results-win-ai-v2,
#resultsTable .results-place-ai-v2,
#resultsTable .results-place-ai-fallback{
    display:none !important;
    visibility:hidden !important;
}

/* Approved line 2 must remain visible */
#resultsTable .wtwr-uniform-ai-line{
    display:flex !important;
    visibility:visible !important;
}

#resultsTable .wtwr-uniform-win-ai,
#resultsTable .wtwr-uniform-place-ai{
    display:inline-flex !important;
    visibility:visible !important;
}

/* WTWR MY DEMO MATCH TODAY LAYOUT V1 */

/* Hide old raw score pills only inside My Demo Account */
#demoSelections .today-ai-score,
#demoSelections .wtwr-live-ai-score,
#demoSelections .wtwr-live-only-ai-score,
#demoSelections .wtwr-place-ai-score{
  display:none !important;
  visibility:hidden !important;
}

/* Remove old small-line layout inside My Demo Account only */
#demoSelections .demo-pick-option > span > small{
  display:none !important;
}

/* Rebuild stack to match Today's Racing / Results */
#demoSelections .demo-pick-option > span{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  gap:8px !important;
}

#demoSelections .wtwr-demo-line1,
#demoSelections .wtwr-demo-line2,
#demoSelections .wtwr-demo-line3,
#demoSelections .wtwr-demo-line4{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
}

#demoSelections .wtwr-demo-line1 strong{
  display:block;
  line-height:1.1;
}

#demoSelections .wtwr-demo-line2{
  gap:10px;
}

#demoSelections .wtwr-demo-ai-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:4px 12px;
  border-radius:999px;
  font-size:.80rem;
  font-weight:850;
  line-height:1.25;
  white-space:nowrap;
}

#demoSelections .wtwr-demo-win-ai{
  color:#69e7ba;
  border:1px solid rgba(29,193,143,.55);
  background:rgba(29,145,106,.10);
}

#demoSelections .wtwr-demo-place-ai{
  color:#ffffff;
  border:1px solid rgba(92,145,201,.58);
  background:rgba(71,131,184,.10);
}

#demoSelections .wtwr-demo-line3{
  color:#a8b2c2;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
  line-height:1.15;
  margin-top:2px;
}

#demoSelections .wtwr-demo-line4{
  color:#7ff0b7;
  font-weight:900;
  line-height:1.15;
}

#demoSelections .demo-pick-option{
  align-items:flex-start !important;
}

/* WTWR MY DEMO STABLE UNIFORM V2 */

/*
  Original Demo source stays in the DOM for:
  - checkbox/betting logic
  - WIN AI renderer
  - PLACE AI renderer
  - odds/history source

  It is simply not shown to the customer.
*/
#demoSelections .wtwr-demo-source-v2{
  display:none !important;
}


/*
  Stable visible presentation.
*/
#demoSelections .wtwr-demo-visible-v2{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  gap:0 !important;
  min-width:0;
}


/* LINE 1 — horse + price */
#demoSelections .wtwr-demo-v2-line1{
  display:flex;
  align-items:center;
  min-width:0;
}

#demoSelections .wtwr-demo-v2-horse{
  font-size:inherit;
  line-height:1.15;
  white-space:normal;
}


/* LINE 2 — WIN AI + PLACE AI */
#demoSelections .wtwr-demo-v2-line2{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  margin-top:10px;
}

#demoSelections .wtwr-demo-v2-ai{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:4px 12px;
  border-radius:999px;
  font-size:.80rem;
  font-weight:850;
  line-height:1.25;
  white-space:nowrap;
}

#demoSelections .wtwr-demo-v2-ai[hidden]{
  display:none !important;
}


/* WIN AI */
#demoSelections .wtwr-demo-v2-win{
  color:#69e7ba;
  border:1px solid rgba(45,193,143,.60);
  background:rgba(29,145,106,.10);
}


/* PLACE AI */
#demoSelections .wtwr-demo-v2-place{
  color:#ffffff;
  border:1px solid rgba(100,177,235,.60);
  background:rgba(71,131,184,.10);
}


/* LINE 3 — WIN HISTORY */
#demoSelections .wtwr-demo-v2-line3{
  margin-top:13px;
  color:#a8b2c2;
  font-size:.78rem;
  font-weight:850;
  letter-spacing:.16em;
  line-height:1.15;
}


/* LINE 4 — history result */
#demoSelections .wtwr-demo-v2-line4{
  margin-top:8px;
  color:#72efb3;
  font-weight:900;
  line-height:1.15;
}


/*
  Checkbox remains exactly where it is.
*/
#demoSelections .demo-pick-option{
  align-items:flex-start !important;
}

/* WTWR MY DEMO FINAL POLISH V1 */

/* Overall My Demo visible layer alignment */
#demoSelections .demo-pick-option{
  align-items:flex-start !important;
  gap:18px !important;
}

/* Visible layer */
#demoSelections .wtwr-demo-visible-v2{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:flex-start !important;
  gap:0 !important;
  min-width:0 !important;
}

/* Line 1: horse + price */
#demoSelections .wtwr-demo-v2-line1{
  display:flex !important;
  align-items:center !important;
  min-width:0 !important;
  margin:0 0 10px 0 !important;
}

#demoSelections .wtwr-demo-v2-horse{
  display:block !important;
  font-size:1.12rem !important;
  font-weight:900 !important;
  line-height:1.12 !important;
  letter-spacing:0 !important;
  white-space:normal !important;
}

/* Line 2 */
#demoSelections .wtwr-demo-v2-line2{
  display:flex !important;
  align-items:center !important;
  flex-wrap:wrap !important;
  gap:10px !important;
  margin:0 0 13px 0 !important;
}

/* Match badge size closer to rest of site */
#demoSelections .wtwr-demo-v2-ai{
  padding:4px 12px !important;
  font-size:.80rem !important;
  font-weight:850 !important;
}

/* Line 3 */
#demoSelections .wtwr-demo-v2-line3{
  margin:0 0 8px 0 !important;
  color:#a8b2c2 !important;
  font-size:.78rem !important;
  font-weight:850 !important;
  letter-spacing:.16em !important;
  line-height:1.15 !important;
  text-transform:uppercase !important;
}

/* Line 4 */
#demoSelections .wtwr-demo-v2-line4{
  margin:0 !important;
  color:#72efb3 !important;
  font-size:1rem !important;
  font-weight:900 !important;
  line-height:1.15 !important;
}

/* WTWR MY DEMO FINAL ALIGNMENT V1

   My Demo only.

   Critical fix:
   An older high-specificity rule was still displaying the hidden
   Demo source span. That source occupied horizontal space and caused
   horse-name length to push the stable presentation left/right.

   Hide that source with stronger specificity and let the approved
   stable display occupy its position.
*/


/* ------------------------------------------------------------
   REMOVE OLD SOURCE FROM THE VISIBLE LAYOUT COMPLETELY
   ------------------------------------------------------------ */

#demoSelections
.demo-pick-option
> span.wtwr-demo-source-v2 {

    display:none !important;
    visibility:hidden !important;

    flex:0 0 0 !important;

    width:0 !important;
    min-width:0 !important;
    max-width:0 !important;

    height:0 !important;
    min-height:0 !important;
    max-height:0 !important;

    margin:0 !important;
    padding:0 !important;

    border:0 !important;
    overflow:hidden !important;
}


/* ------------------------------------------------------------
   ONE CONSISTENT P1 / P2 CONTENT POSITION
   ------------------------------------------------------------ */

#demoSelections
.demo-pick-option {

    display:flex !important;
    align-items:flex-start !important;

    gap:16px !important;
}


/*
   Checkbox stays fixed.
*/

#demoSelections
.demo-pick-option
> input[data-demo-pick] {

    flex:0 0 auto !important;
}


/*
   Stable visible horse block takes the entire remaining area.
*/

#demoSelections
.demo-pick-option
> span.wtwr-demo-visible-v2 {

    display:flex !important;

    flex:1 1 auto !important;

    flex-direction:column !important;
    align-items:flex-start !important;

    min-width:0 !important;

    margin:0 !important;
    padding:0 !important;
}


/* ------------------------------------------------------------
   ALL FOUR LINES SHARE EXACTLY THE SAME LEFT EDGE
   ------------------------------------------------------------ */

#demoSelections .wtwr-demo-v2-line1,
#demoSelections .wtwr-demo-v2-line2,
#demoSelections .wtwr-demo-v2-line3,
#demoSelections .wtwr-demo-v2-line4 {

    margin-left:0 !important;
    padding-left:0 !important;
}


/* Horse + price */
#demoSelections .wtwr-demo-v2-line1 {

    margin-top:0 !important;
    margin-bottom:10px !important;
}


/* WIN AI + PLACE AI */
#demoSelections .wtwr-demo-v2-line2 {

    margin-top:0 !important;
    margin-bottom:13px !important;
}


/* WIN HISTORY */
#demoSelections .wtwr-demo-v2-line3 {

    margin-top:0 !important;
    margin-bottom:8px !important;
}


/* Percentage */
#demoSelections .wtwr-demo-v2-line4 {

    margin-top:0 !important;
    margin-bottom:0 !important;
}


/* ================================================================
   WTWR DEMO EXCHANGE PREVIEW V1
   ================================================================ */

.wtwr-demo-quote{
  display:inline-flex;
  align-items:center;
  gap:4px;
  flex-wrap:nowrap;
}

.wtwr-demo-label{
  font-size:.58rem;
  font-weight:900;
  letter-spacing:.09em;
  color:#8c9bb0;
}

.wtwr-demo-price-button{
  border:1px solid transparent;
  border-radius:7px;
  padding:4px 7px;
  font-size:.68rem;
  font-weight:900;
  cursor:pointer;
  white-space:nowrap;
}

.wtwr-demo-back{
  background:#163f66;
  border-color:#337bb3;
  color:#d9f0ff;
}

.wtwr-demo-lay{
  background:#5b273b;
  border-color:#a64d70;
  color:#ffe1ec;
}

.wtwr-demo-price-button:hover{
  transform:translateY(-1px);
  filter:brightness(1.12);
}

.wtwr-demo-exchange-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin:14px 0;
  padding:18px 20px;
  border:1px solid rgba(255,107,47,.28);
  border-radius:18px;
  background:linear-gradient(180deg,#111925,#0b1017);
  box-shadow:0 18px 55px #0007;
}

.wtwr-demo-exchange-head h3{
  margin:3px 0 5px;
  font-size:1.35rem;
}

.wtwr-demo-exchange-head p:not(.eyebrow){
  margin:0;
  color:#98a6b8;
  font-size:.82rem;
}

.wtwr-demo-bank-card{
  min-width:220px;
  padding:14px 18px;
  border:1px solid #2b4057;
  border-radius:14px;
  background:#080d13;
  text-align:right;
}

.wtwr-demo-bank-card>span{
  display:block;
  color:#8f9eb2;
  font-size:.63rem;
  font-weight:900;
  letter-spacing:.12em;
}

.wtwr-demo-bank-card strong{
  display:block;
  margin:4px 0;
  color:#71efae;
  font-size:1.7rem;
}

.wtwr-demo-bank-card small{
  color:#9ba9b9;
}

.wtwr-demo-exchange-ticket{
  margin:12px 0;
  padding:16px 18px;
  border:1px solid #2a4059;
  border-radius:16px;
  background:#09111b;
}

.wtwr-demo-ticket-main{
  display:grid;
  grid-template-columns:minmax(250px,1.6fr) 120px 120px minmax(180px,1fr) auto;
  gap:14px;
  align-items:end;
}

.wtwr-demo-ticket-main>div:first-child{
  display:flex;
  flex-direction:column;
  gap:3px;
}

.wtwr-demo-ticket-label{
  color:#ff9a3d;
  font-size:.62rem;
  font-weight:900;
  letter-spacing:.12em;
}

.wtwr-demo-ticket-main label{
  color:#8d9bad;
  font-size:.67rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
}

.wtwr-demo-ticket-main input{
  display:block;
  width:100%;
  margin-top:5px;
  padding:9px;
  border:1px solid #26384c;
  border-radius:9px;
  background:#060b11;
  color:white;
}

.wtwr-demo-ticket-numbers{
  display:flex;
  flex-direction:column;
  gap:4px;
  color:#9ba9b9;
  font-size:.75rem;
}

.wtwr-demo-ticket-numbers strong{
  color:#71efae;
}

#wtwrDemoPlaceOrder,
#wtwrDemoResetBank,
.wtwr-my-rule-actions button{
  border:1px solid #32475f;
  border-radius:9px;
  background:#14243a;
  color:#eef5ff;
  padding:9px 12px;
  font-weight:850;
  cursor:pointer;
}

#wtwrDemoPlaceOrder:disabled{
  opacity:.4;
  cursor:not-allowed;
}

.wtwr-demo-ticket-status{
  margin-top:10px;
  color:#9ba9b9;
  font-size:.75rem;
}

.wtwr-demo-orders-shell{
  margin:0 0 16px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  background:rgba(255,255,255,.018);
  overflow:hidden;
}

.wtwr-demo-orders-head{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:center;
  padding:12px 14px;
  border-bottom:1px solid rgba(255,255,255,.07);
}

.wtwr-demo-orders-head>div{
  display:flex;
  flex-direction:column;
  gap:3px;
}

.wtwr-demo-orders-head span{
  color:#8795a7;
  font-size:.72rem;
}

.wtwr-demo-orders{
  padding:10px 14px;
}

.wtwr-demo-order-row{
  display:grid;
  grid-template-columns:70px minmax(150px,1.2fr) minmax(150px,1fr) 150px 110px;
  gap:10px;
  align-items:center;
  padding:8px 0;
  border-bottom:1px solid rgba(255,255,255,.05);
  color:#aab5c3;
  font-size:.75rem;
}

.wtwr-demo-order-side{
  padding:4px 7px;
  border-radius:6px;
  text-align:center;
  font-weight:900;
}

.wtwr-demo-order-side.back{
  background:#163f66;
  color:#d9f0ff;
}

.wtwr-demo-order-side.lay{
  background:#5b273b;
  color:#ffe1ec;
}

.wtwr-demo-order-status{
  font-weight:900;
  font-size:.68rem;
}

.wtwr-demo-order-status.matched{
  color:#71efae;
}

.wtwr-demo-order-status.unmatched{
  color:#ffd052;
}

.wtwr-my-rule-tools{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin:10px 0 14px;
  padding:11px 14px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:13px;
  background:rgba(255,255,255,.018);
}

.wtwr-my-rule-copy{
  display:flex;
  flex-direction:column;
  gap:3px;
}

.wtwr-my-rule-copy strong{
  color:#ff9a3d;
  font-size:.68rem;
  letter-spacing:.11em;
}

.wtwr-my-rule-copy span{
  color:#8e9bad;
  font-size:.74rem;
}

.wtwr-my-rule-actions{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
}

.wtwr-my-rule-actions button{
  padding:7px 9px;
  font-size:.7rem;
}

.wtwr-my-rule-status{
  min-width:120px;
  font-size:.7rem;
  text-align:right;
  color:#8e9bad;
}

.wtwr-my-rule-status.good{
  color:#71efae;
}

.wtwr-my-rule-status.bad{
  color:#ff7777;
}

.segmented button[data-filter="orange"].active{
  background:#66330c;
  border-color:#ff8d38;
}

.segmented button[data-filter="my1"].active,
.segmented button[data-filter="my2"].active{
  background:#214632;
  border-color:#46b77a;
}

.segmented button:disabled{
  opacity:.42;
  cursor:not-allowed;
}

@media(max-width:1050px){
  .wtwr-demo-exchange-head{
    align-items:flex-start;
    flex-direction:column;
  }

  .wtwr-demo-bank-card{
    width:100%;
    text-align:left;
  }

  .wtwr-demo-ticket-main{
    grid-template-columns:1fr 1fr;
  }

  .wtwr-demo-order-row{
    grid-template-columns:1fr 1fr;
  }

  .wtwr-my-rule-tools{
    align-items:flex-start;
    flex-direction:column;
  }

  .wtwr-my-rule-status{
    text-align:left;
  }
}

@media(max-width:620px){
  .wtwr-demo-ticket-main{
    grid-template-columns:1fr;
  }

  .wtwr-demo-order-row{
    grid-template-columns:1fr;
  }

  .wtwr-demo-quote{
    margin-top:3px;
  }
}


/* ================================================================
   WTWR EXCHANGE PREVIEW V2 — FROZEN TODAY / MOVING MY DEMO
   ================================================================ */

.wtwr-frozen-market-note{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin:10px 0 15px;
  padding:10px 14px;
  border:1px solid rgba(76,126,178,.24);
  border-radius:12px;
  background:linear-gradient(90deg,rgba(22,54,86,.18),rgba(9,17,27,.4));
  color:#8f9daf;
  font-size:.76rem;
}

.wtwr-frozen-market-note>div{
  display:flex;
  align-items:center;
  gap:8px;
  white-space:nowrap;
}

.wtwr-frozen-market-note strong{
  color:#dce9f5;
  letter-spacing:.07em;
  font-size:.68rem;
}

.wtwr-frozen-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#5ba9ff;
  box-shadow:0 0 10px rgba(91,169,255,.7);
}

.wtwr-live-demo-banner{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:24px;
  align-items:center;
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid rgba(66,199,146,.26);
  border-radius:18px;
  background:
    radial-gradient(circle at 10% 0,rgba(40,129,100,.15),transparent 38%),
    linear-gradient(180deg,#111925,#091019);
  box-shadow:0 18px 55px #0006;
}

.wtwr-live-demo-title{
  display:flex;
  align-items:center;
  gap:11px;
}

.wtwr-live-demo-title .eyebrow{
  margin:0 0 2px;
  color:#71efae;
}

.wtwr-live-demo-title strong{
  font-size:1.05rem;
}

.wtwr-live-pulse{
  width:12px;
  height:12px;
  border-radius:50%;
  background:#4ce0a1;
  box-shadow:0 0 0 0 rgba(76,224,161,.55);
  animation:wtwrPulse 1.8s infinite;
}

@keyframes wtwrPulse{
  0%{box-shadow:0 0 0 0 rgba(76,224,161,.55)}
  70%{box-shadow:0 0 0 9px rgba(76,224,161,0)}
  100%{box-shadow:0 0 0 0 rgba(76,224,161,0)}
}

.wtwr-live-demo-copy{
  color:#8f9dae;
  font-size:.78rem;
  line-height:1.45;
}

.wtwr-live-demo-clock{
  min-width:145px;
  padding:9px 13px;
  border:1px solid #26384c;
  border-radius:11px;
  background:#080d13;
  text-align:right;
}

.wtwr-live-demo-clock span{
  display:block;
  color:#738398;
  font-size:.57rem;
  font-weight:900;
  letter-spacing:.11em;
}

.wtwr-live-demo-clock strong{
  display:block;
  margin-top:2px;
  color:#eaf2fb;
  font-size:1.1rem;
  font-variant-numeric:tabular-nums;
}

.wtwr-demo-selection-body{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:5px;
  width:100%;
}

.wtwr-demo-frozen-reference{
  color:#7f8da0 !important;
  font-size:.66rem !important;
}

.wtwr-moving-market{
  display:flex;
  align-items:center;
  gap:5px;
  flex-wrap:wrap;
  margin:3px 0 2px;
}

.wtwr-market-reference{
  display:none;
}

.wtwr-market-price{
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-width:66px;
  padding:5px 9px;
  border-radius:8px;
  border:1px solid transparent;
  cursor:pointer;
  transition:
    transform .12s ease,
    filter .12s ease,
    box-shadow .12s ease;
}

.wtwr-market-price small{
  font-size:.52rem;
  font-weight:900;
  letter-spacing:.09em;
  line-height:1;
  opacity:.82;
}

.wtwr-market-price strong{
  margin-top:2px;
  font-size:.92rem;
  line-height:1;
  font-variant-numeric:tabular-nums;
}

.wtwr-market-price.back{
  background:linear-gradient(180deg,#214f7b,#173955);
  border-color:#377fb3;
  color:#e4f4ff;
}

.wtwr-market-price.lay{
  background:linear-gradient(180deg,#71364e,#52263a);
  border-color:#a65072;
  color:#ffe7f0;
}

.wtwr-market-price:hover{
  transform:translateY(-1px);
  filter:brightness(1.12);
  box-shadow:0 6px 18px rgba(0,0,0,.25);
}

.wtwr-market-movement{
  padding:3px 6px;
  border-radius:999px;
  font-size:.56rem;
  font-weight:900;
  letter-spacing:.05em;
  white-space:nowrap;
}

.wtwr-market-movement.shortened{
  color:#79e6ad;
  background:rgba(45,146,101,.12);
}

.wtwr-market-movement.drifted{
  color:#ff9e98;
  background:rgba(173,69,69,.12);
}

.wtwr-market-movement.same{
  color:#9eabba;
  background:rgba(255,255,255,.04);
}

.wtwr-market-closed{
  color:#68778a;
  font-size:.58rem;
  font-weight:900;
  letter-spacing:.08em;
}

#demo-account .demo-pick-option{
  padding-top:7px;
  padding-bottom:7px;
}

#demo-account .demo-horse-ai-line{
  gap:7px;
}

/*
  V1 standalone exchange panel is no longer used in V2.
  Hide defensively if old markup survives for any reason.
*/
#today .wtwr-demo-exchange-head,
#today .wtwr-demo-exchange-ticket,
#today .wtwr-demo-orders-shell{
  display:none !important;
}

@media(max-width:900px){
  .wtwr-live-demo-banner{
    grid-template-columns:1fr;
    gap:10px;
  }

  .wtwr-live-demo-clock{
    width:100%;
    text-align:left;
  }

  .wtwr-frozen-market-note{
    align-items:flex-start;
    flex-direction:column;
  }
}



/* ================================================================
   WTWR AI DEMO PRICE VIEW V1
   ================================================================ */

.wtwr-ai-demo-price-note{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px 20px;
  margin:0 0 18px;
  padding:11px 14px;
  border:1px solid rgba(71,123,174,.25);
  border-radius:13px;
  background:linear-gradient(
    90deg,
    rgba(21,49,78,.22),
    rgba(8,16,25,.50)
  );
  color:#8998aa;
  font-size:.72rem;
}

.wtwr-ai-demo-price-note>div{
  display:flex;
  align-items:center;
  gap:7px;
}

.wtwr-ai-demo-price-note strong{
  color:#eef4fa;
  font-size:.68rem;
  letter-spacing:.10em;
}

.wtwr-ai-demo-price-note small{
  color:#728195;
}

.wtwr-ai-demo-live-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#55dca2;
  box-shadow:0 0 9px rgba(85,220,162,.65);
}

.wtwr-ai-demo-leg{
  padding:5px 0 7px;
}

.wtwr-ai-demo-leg + .wtwr-ai-demo-leg{
  border-top:1px solid rgba(255,255,255,.055);
}

.wtwr-ai-demo-moving-prices{
  display:flex;
  align-items:center;
  gap:5px;
  flex-wrap:wrap;
  margin-top:6px;
}

.wtwr-ai-demo-exchange-label{
  color:#7d8ca0;
  font-size:.55rem;
  font-weight:900;
  letter-spacing:.09em;
}

.wtwr-ai-demo-back,
.wtwr-ai-demo-lay{
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-width:78px;
  padding:5px 8px;
  border-radius:8px;
  font-size:.59rem;
  font-weight:900;
}

.wtwr-ai-demo-back strong,
.wtwr-ai-demo-lay strong{
  font-size:.82rem;
  font-variant-numeric:tabular-nums;
}

.wtwr-ai-demo-back{
  background:linear-gradient(180deg,#214f7b,#173955);
  border:1px solid #377fb3;
  color:#e5f5ff;
}

.wtwr-ai-demo-lay{
  background:linear-gradient(180deg,#71364e,#52263a);
  border:1px solid #a65072;
  color:#ffe7f0;
}

.wtwr-ai-demo-move{
  padding:3px 6px;
  border-radius:999px;
  font-size:.53rem;
  font-weight:900;
  letter-spacing:.04em;
}

.wtwr-ai-demo-move.shortened{
  color:#79e6ad;
  background:rgba(45,146,101,.12);
}

.wtwr-ai-demo-move.drifted{
  color:#ff9e98;
  background:rgba(173,69,69,.12);
}

.wtwr-ai-demo-move.same{
  color:#9eabba;
  background:rgba(255,255,255,.04);
}

.wtwr-ai-demo-countdown{
  color:#75859a;
  font-size:.58rem;
  font-variant-numeric:tabular-nums;
}

@media(max-width:700px){
  .wtwr-ai-demo-price-note{
    align-items:flex-start;
    flex-direction:column;
  }
}



/* WTWR STRATEGY TABS V1 */
#today .segmented{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
#today .segmented button{
  white-space:nowrap;
}
.wtwr-strategy-info{
  margin:12px 0 14px;
  padding:15px 16px;
  border:1px solid rgba(120,160,210,.28);
  border-radius:14px;
  background:rgba(11,28,48,.64);
}
.wtwr-strategy-info-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.wtwr-strategy-info h3{
  margin:2px 0 4px;
}
.wtwr-strategy-info p{
  margin:7px 0 0;
  max-width:950px;
  color:#b8c6d9;
  line-height:1.5;
}
.wtwr-testing-badge{
  flex:0 0 auto;
  padding:5px 9px;
  border:1px solid rgba(83,172,255,.45);
  border-radius:999px;
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.05em;
}
.wtwr-strategy-stats{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}
.wtwr-strategy-stats>div{
  min-width:118px;
  padding:8px 10px;
  border:1px solid rgba(120,160,210,.22);
  border-radius:10px;
  background:rgba(4,14,26,.40);
}
.wtwr-strategy-stats span{
  display:block;
  font-size:.64rem;
  font-weight:800;
  letter-spacing:.05em;
  opacity:.65;
}
.wtwr-strategy-stats strong{
  display:block;
  margin-top:2px;
  font-size:1rem;
}
@media (max-width:700px){
  .wtwr-strategy-info-top{
    display:block;
  }
  .wtwr-testing-badge{
    display:inline-block;
    margin-top:8px;
  }
}


/* WTWR RESULTS STRATEGY MONITOR V1 */
.wtwr-results-strategy-monitor{
  margin:14px 0 16px;
  padding:16px;
  border:1px solid rgba(120,160,210,.28);
  border-radius:14px;
  background:rgba(8,20,36,.72);
}
.wtwr-results-strategy-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.wtwr-results-strategy-head h3{
  margin:2px 0 0;
}
.wtwr-results-live-badge{
  padding:5px 9px;
  border:1px solid rgba(65,210,144,.45);
  border-radius:999px;
  color:#7ee3ac;
  font-size:.68rem;
  font-weight:900;
  letter-spacing:.06em;
}
.wtwr-results-strategy-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:13px;
}
.wtwr-results-strategy-tabs button{
  border:1px solid rgba(120,160,210,.28);
  border-radius:999px;
  padding:7px 11px;
  background:rgba(5,14,25,.45);
  color:#cbd6e5;
  cursor:pointer;
  font-weight:800;
  font-size:.76rem;
}
.wtwr-results-strategy-tabs button.active{
  border-color:#2f97ff;
  background:#17395d;
  color:#fff;
}
.wtwr-results-strategy-summary{
  display:grid;
  grid-template-columns:repeat(7,minmax(105px,1fr));
  gap:8px;
  margin-top:12px;
}
.wtwr-results-strategy-summary>div{
  padding:9px 10px;
  border:1px solid rgba(120,160,210,.20);
  border-radius:10px;
  background:rgba(2,10,19,.38);
}
.wtwr-results-strategy-summary span{
  display:block;
  font-size:.62rem;
  font-weight:850;
  letter-spacing:.05em;
  color:#7f8da2;
  text-transform:uppercase;
}
.wtwr-results-strategy-summary strong{
  display:block;
  margin-top:3px;
  font-size:.98rem;
}
#wtwrRsmPace.positive{
  color:#76e4ad;
}
#wtwrRsmPace.negative{
  color:#ff9b9b;
}
.wtwr-results-sequence-wrap{
  display:grid;
  grid-template-columns:minmax(0,2fr) minmax(220px,1fr);
  gap:10px;
  margin-top:10px;
}
.wtwr-results-sequence-wrap>div{
  padding:10px 11px;
  border:1px solid rgba(120,160,210,.17);
  border-radius:10px;
  background:rgba(2,10,19,.25);
}
.wtwr-results-small-label{
  display:block;
  margin-bottom:6px;
  font-size:.62rem;
  font-weight:850;
  letter-spacing:.06em;
  color:#7f8da2;
}
.wtwr-results-sequence{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
}
.wtwr-seq-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.14);
  font-size:.72rem;
  font-weight:900;
}
.wtwr-seq-chip.win{
  color:#75e3ad;
  border-color:rgba(117,227,173,.45);
  background:rgba(30,115,76,.18);
}
.wtwr-seq-chip.loss{
  color:#ff9b9b;
  border-color:rgba(255,155,155,.36);
  background:rgba(130,43,43,.16);
}
.wtwr-seq-chip.void{
  color:#e2c879;
}
.wtwr-seq-chip.pending{
  color:#8ea0b8;
}
.wtwr-results-next strong,
.wtwr-results-next small{
  display:block;
}
.wtwr-results-next small{
  margin-top:3px;
  color:#aebbd0;
}
.wtwr-results-monitor-note{
  margin:10px 0 0;
  color:#7f8da2;
  font-size:.72rem;
  line-height:1.45;
}
.wtwr-results-strategy-hidden{
  display:none !important;
}
@media (max-width:1100px){
  .wtwr-results-strategy-summary{
    grid-template-columns:repeat(4,minmax(105px,1fr));
  }
}
@media (max-width:700px){
  .wtwr-results-strategy-summary{
    grid-template-columns:repeat(2,minmax(105px,1fr));
  }
  .wtwr-results-sequence-wrap{
    grid-template-columns:1fr;
  }
}
