/* SerieAGoal Premium AI v0.99 · Market Duel UI.
 * Applies only to match premium markets; design adapts to site theme.
 * The site serves market probability data through an entitlement-checked endpoint.
 */
.sg95-market-dashboard{
  --m99-tile:#0e2239;
  --m99-tile-alt:#132b45;
  --m99-edge:#25425d;
  --m99-text:#f6faff;
  --m99-muted:#92b0ca;
  --m99-bright:#42e2d1;
  --m99-soft:#7cdbff;
  --m99-track:#29435c;
  --m99-hover:#173652;
  margin:22px 0 25px!important;
  max-width:100%;
  font-family:Manrope,Inter,system-ui,sans-serif;
}
.sg95-market-dashboard-head{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin:0 0 13px;
}
.sg99-engine-title{display:flex;align-items:center;gap:11px;min-width:0}
.sg99-engine-sigil{display:grid;place-items:center;flex:0 0 37px;width:37px;height:37px;
  border-radius:12px;border:1px solid #204f73;background:linear-gradient(135deg,#0a2543,#153e5f);
  color:#3ce1ce;font:900 22px/1 system-ui;box-shadow:inset 0 1px 0 rgba(255,255,255,.09)}
.sg99-engine-title>span:last-child{display:flex;flex-direction:column;gap:2px}
.sg99-engine-title small{font:800 9px/1.2 Manrope,Inter,system-ui;letter-spacing:.16em;color:#197bb5}
.sg99-engine-title strong{font:900 17px/1.25 Manrope,Inter,system-ui;color:var(--sg-text,#182b41)!important}
.sg99-engine-tag{font:800 9px/1.3 Manrope,Inter,system-ui;letter-spacing:.11em;text-align:right;
  color:#17739c;border:1px solid rgba(24,114,158,.27);border-radius:99px;padding:6px 10px;background:rgba(26,160,185,.05)}
.sg95-market-dashboard-grid{display:flex!important;flex-direction:column!important;gap:12px!important;min-width:0}
.sg95-market-dashboard .sg95-market-tile{
  display:block!important;position:relative;overflow:hidden;min-width:0;
  padding:0!important;border:1px solid var(--m99-edge)!important;border-radius:15px!important;
  background:var(--m99-tile)!important;color:var(--m99-text)!important;
  box-shadow:0 9px 24px rgba(4,26,49,.12),inset 0 1px 0 rgba(255,255,255,.06)!important;
}
.sg95-market-dashboard .sg95-market-tile::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;
  background:linear-gradient(180deg,var(--m99-soft),var(--m99-bright));z-index:1;opacity:.88}
.sg99-tile-head{
  display:flex;align-items:center;gap:10px;padding:11px 16px 10px 17px;
  border-bottom:1px solid rgba(141,183,216,.12);
  background:linear-gradient(95deg,rgba(25,62,91,.80),rgba(17,41,65,.3));
}
.sg99-market-number{display:grid;place-items:center;min-width:30px;width:30px;height:29px;border-radius:8px;
  border:1px solid rgba(87,158,198,.28);background:rgba(9,26,48,.68);color:#5ee5d3;
  font:900 11px/1 Manrope,Inter,system-ui;letter-spacing:.01em}
.sg99-tile-head>div{min-width:0;display:flex;flex-direction:column;gap:1px}
.sg95-market-dashboard .sg95-market-tile-name{display:block!important;margin:0!important;padding:0!important;
  font:800 9px/1.25 Manrope,Inter,system-ui!important;letter-spacing:.11em;color:var(--m99-muted)!important}
.sg95-market-dashboard .sg99-tile-head>div>strong{display:block!important;
  font:900 14px/1.3 Manrope,Inter,system-ui!important;color:var(--m99-text)!important;letter-spacing:-.01em}
.sg99-market-slot{display:block;min-width:0;color:var(--m99-text);font-size:13px}
.sg99-match-row{display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);min-width:0}
.sg99-primary{display:flex;flex-direction:column;justify-content:center;gap:12px;
  min-width:0;padding:16px 19px 17px;
  background:radial-gradient(ellipse at 95% 0,rgba(30,199,194,.115),transparent 63%),
   linear-gradient(115deg,rgba(19,56,79,.93),rgba(10,33,55,.87));
}
.sg99-choice{display:flex;flex-direction:column;gap:7px;min-width:0}
.sg99-choice-label{font:800 9px/1.3 Manrope,Inter,system-ui;letter-spacing:.15em;color:#76dccf}
.sg99-choice-details{display:flex;align-items:baseline;justify-content:space-between;gap:9px;min-width:0}
.sg99-choice-name{font:900 24px/1.1 Manrope,Inter,system-ui!important;color:#f1fcff!important;overflow-wrap:anywhere;letter-spacing:-.035em}
.sg99-choice-pct{font:900 31px/1 Manrope,Inter,system-ui!important;color:#41ead1!important;white-space:nowrap;letter-spacing:-.055em;
  text-shadow:0 0 18px rgba(65,234,209,.18)}
.sg99-choice-nodata{font:750 11px/1.3 Manrope,Inter,system-ui;color:#a3b9ca}
.sg99-meter{height:5px;border-radius:20px;overflow:hidden;background:rgba(125,170,204,.18)}
.sg99-meter-fill{display:block;height:100%;border-radius:20px;box-shadow:0 0 13px rgba(59,222,213,.4);
  background:linear-gradient(90deg,#158ed5,#36e0c8)}
.sg99-secondary{display:flex;flex-direction:column;justify-content:center;gap:9px;min-width:0;padding:15px 16px;
  background:linear-gradient(130deg,#0b1c30,#11243b);
  border-left:1px solid rgba(115,154,184,.18)}
.sg99-secondary-heading{font:800 9px/1.3 Manrope,Inter,system-ui;letter-spacing:.13em;color:#8da8c2}
.sg99-alt{display:flex;align-items:center;justify-content:space-between;gap:9px;min-width:0;
  padding:6px 0 7px;border-bottom:1px solid rgba(112,152,182,.12)}
.sg99-alt:last-child{border-bottom:0}
.sg99-alt-name{font:750 13px/1.3 Manrope,Inter,system-ui;color:#d2dfed;overflow-wrap:anywhere}
.sg99-alt-pct{font:900 16px/1.2 Manrope,Inter,system-ui!important;color:#a2bfd9!important;white-space:nowrap}
.sg99-plain{font:600 12px/1.5 Manrope,Inter,system-ui;color:#a1b7c9}
/* One compared pair per published goal threshold (Over/Under 1.5, 2.5, 3.5...). */
.sg99-threshold-list{display:flex;flex-direction:column;min-width:0}
.sg99-threshold{position:relative;display:flex;flex-direction:column;gap:0;padding:12px 16px 13px;
  border-top:1px solid rgba(113,152,183,.17);
  background:linear-gradient(100deg,rgba(17,47,71,.83),rgba(10,29,49,.60));min-width:0}
.sg99-threshold:first-child{border-top:0}
.sg99-threshold-title{font:850 10px/1.2 Manrope,Inter,system-ui;letter-spacing:.12em;color:#7bbbd3;
  margin-bottom:9px}
.sg99-threshold-matchup{display:grid;grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr);align-items:center;gap:7px;min-width:0}
.sg99-threshold-side{display:flex;flex-direction:column;gap:4px;min-width:0}
.sg99-threshold-side small{font:800 9px/1.25 Manrope,Inter,system-ui!important;letter-spacing:.09em;color:#81b1c7!important}
.sg99-threshold-info{display:flex;align-items:baseline;justify-content:space-between;gap:7px;min-width:0}
.sg99-threshold-info>span{font:850 13px/1.3 Manrope,Inter,system-ui;color:#e7f4ff;overflow-wrap:anywhere}
.sg99-threshold-info>strong{font:900 23px/1 Manrope,Inter,system-ui!important;color:#def4ff!important;white-space:nowrap;letter-spacing:-.04em}
.sg99-threshold-side.is-favorite .sg99-threshold-info>strong{color:#42ead0!important}
.sg99-threshold-side.is-alternative .sg99-threshold-info>strong{font-size:18px!important;color:#9cb8d2!important}
.sg99-threshold-vs{display:grid;place-items:center;width:29px;height:29px;
  border:1px solid rgba(109,156,187,.25);background:#0c2035;border-radius:50%;
  color:#88a8be;font:900 9px/1 Manrope,Inter,system-ui;letter-spacing:.02em}
.sg99-threshold-meter{display:flex;gap:0;overflow:hidden;height:5px;margin-top:12px;
  border-radius:99px;background:#28435b}
.sg99-threshold-meter-primary{height:100%;background:linear-gradient(90deg,#168fd3,#33e3c5);box-shadow:0 0 12px rgba(55,216,202,.4)}
.sg99-threshold-meter-secondary{height:100%;flex:1 1 auto;background:#49637d}
.sg99-irregular{display:flex;flex-wrap:wrap;gap:8px;padding:12px 16px 14px;border-top:1px solid rgba(113,152,183,.18)}
.sg99-irregular>.sg99-secondary-heading{width:100%}
.sg99-extra-total{font:750 11px/1.3 Manrope,Inter,system-ui;color:#d1e6f3;border:1px solid #30516b;background:#173047;border-radius:8px;padding:6px 8px}
.sg99-empty{padding:17px 20px;font:700 12px/1.5 Manrope,Inter,system-ui;color:#afc5d8}
.sg95-market-tile.is-locked .sg99-empty{color:#ffd19a}
.sg95-market-dashboard-note{font:600 11px/1.65 Manrope,Inter,system-ui!important;color:var(--sg-muted,#62748d)!important;margin:13px 0 0!important}
/* Dark site theme: darker carbon blue, same clean information hierarchy. */
html[data-sg-theme="dark"] .sg95-market-dashboard{
  --m99-tile:#071626;--m99-tile-alt:#0c2132;--m99-edge:#1d4056;--m99-text:#f1faff;
  --m99-muted:#86a9bf;--m99-bright:#3de2d1;--m99-soft:#77d1f5;
}
html[data-sg-theme="dark"] .sg95-market-dashboard .sg95-market-tile{
  border-color:var(--m99-edge)!important;background:var(--m99-tile)!important;
  box-shadow:0 10px 27px rgba(0,0,0,.26),inset 0 1px 0 rgba(255,255,255,.035)!important}
html[data-sg-theme="dark"] .sg99-tile-head{background:linear-gradient(100deg,#0b2234,#091827)}
html[data-sg-theme="dark"] .sg99-primary{background:radial-gradient(ellipse at 95% 0,rgba(30,199,194,.10),transparent 63%),linear-gradient(120deg,#0a2636,#081c2d)}
html[data-sg-theme="dark"] .sg99-secondary{background:linear-gradient(130deg,#071624,#091d2c)}
html[data-sg-theme="dark"] .sg99-threshold{background:linear-gradient(100deg,#0c2536,#081c2b)}
/* Narrow central column is ~550px on desktop: preserve side-by-side data there. */
@media(max-width:590px){
  .sg95-market-dashboard-head{flex-wrap:wrap}
  .sg99-match-row{grid-template-columns:1fr}
  .sg99-secondary{border-left:0;border-top:1px solid rgba(115,154,184,.18);padding:12px 17px}
  .sg99-primary{padding:14px 17px 15px}
  .sg99-choice-name{font-size:22px}
  .sg99-choice-pct{font-size:28px}
  .sg99-threshold-info>strong{font-size:21px!important}
  .sg99-threshold-side.is-alternative .sg99-threshold-info>strong{font-size:17px!important}
}
@media(max-width:360px){
  .sg99-threshold-matchup{grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);gap:5px}
  .sg99-threshold-info{flex-direction:column;gap:3px}
  .sg99-threshold-vs{width:24px;height:24px}
  .sg99-threshold{padding:11px 12px}
}
@media(prefers-reduced-motion:reduce){.sg95-market-dashboard *{transition:none!important;animation:none!important}}
/* Keep the editorial explanation below the market board, without duplicating the highlighted pick. */
.sg-ai-premium-panel .sg99-analysis-heading{font:900 16px/1.35 Manrope,Inter,system-ui!important;color:var(--sg-text,#15263a)!important;margin:20px 0 10px!important;letter-spacing:-.015em}
html[data-sg-theme="dark"] .sg-ai-premium-panel .sg99-analysis-heading{color:#e7f2ff!important}


/* ----------------------------------------------------------------------
   SerieAGoal v1.00: adaptive light/night Premium markets + restored lock gate
   ---------------------------------------------------------------------- */
.sg100-market-shell{position:relative;isolation:isolate;border-radius:16px;overflow:hidden}
.sg100-premium-gate[hidden]{display:none!important}
.sg95-market-dashboard.sg100-is-locked .sg95-market-dashboard-grid{
  filter:blur(6px) saturate(.48);opacity:.39;pointer-events:none;user-select:none;
}
.sg100-premium-gate{
  position:absolute;z-index:5;inset:0;display:flex;align-items:center;justify-content:center;
  padding:20px 18px;background:rgba(248,251,255,.64);
  -webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);
}
.sg100-premium-gate-card{
  width:min(100%,430px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
  padding:0;text-align:center;background:transparent;border:0;border-radius:0;box-shadow:none;color:#153252;
}
.sg100-gate-lock{
  display:grid;place-items:center;width:62px;height:62px;border-radius:18px;
  background:linear-gradient(145deg,#0e579e,#0873ac);color:#fff;
  box-shadow:0 12px 26px rgba(3,83,150,.22);
}
.sg100-gate-kicker{font:900 10px/1.2 Manrope,Inter,system-ui,sans-serif;letter-spacing:.16em;color:#007d98}
.sg100-premium-gate-card>strong{font:900 22px/1.2 Manrope,Inter,system-ui,sans-serif;color:#0f2f53!important;margin:0!important}
.sg100-premium-gate-card>p{font:700 13px/1.6 Manrope,Inter,system-ui,sans-serif;color:#52708d;margin:0!important;max-width:380px}
.sg100-gate-actions{display:flex;justify-content:center;flex-wrap:wrap;align-items:center;gap:9px;margin-top:10px;width:100%}
.sg100-gate-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 18px;border-radius:11px;
  font:800 12px/1.2 Manrope,Inter,system-ui,sans-serif;text-decoration:none!important;transition:transform .16s ease,background .16s ease}
.sg100-gate-button:hover{transform:translateY(-1px)}
.sg100-gate-button.is-primary{background:linear-gradient(130deg,#005aa6,#047cc0);color:#fff!important;border:1px solid #0879c7}
.sg100-gate-button.is-secondary{background:#eaf3fd;color:#135c99!important;border:1px solid #b8d4f0}
.sg100-gate-plans{display:inline-flex;align-items:center;justify-content:center;width:100%;color:#176aa1!important;
  font:800 12px/1.4 Manrope,Inter,system-ui,sans-serif;text-decoration:underline;text-underline-offset:3px}

/* Light mode: clean athletic white/ice surfaces, crisp navy labels and cyan.
   This applies to HTML's actual theme switch, not OS preference alone. */
html[data-sg-theme="light"] .sg95-market-dashboard{
  --m99-tile:#fff;--m99-tile-alt:#f2f7fc;--m99-edge:#cbdcee;--m99-text:#142d4c;
  --m99-muted:#53738e;--m99-bright:#087eab;--m99-soft:#167bd3;--m99-track:#d6e5f2;
}
html[data-sg-theme="light"] .sg95-market-dashboard .sg95-market-tile{
  background:#fff!important;color:#142d4c!important;border:1px solid #cbdcee!important;
  box-shadow:0 5px 17px rgba(16,53,96,.075),inset 0 1px 0 rgba(255,255,255,.9)!important;
}
html[data-sg-theme="light"] .sg95-market-dashboard .sg95-market-tile::before{
  background:linear-gradient(180deg,#047bcc,#06a9b9);opacity:1;
}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-tile-head{
  background:linear-gradient(90deg,#f4f9ff,#eaf4fc);border-bottom:1px solid #d8e7f5;
}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-market-number{
  background:#e4f0fb;border-color:#bed7eb;color:#065d9b;
}
html[data-sg-theme="light"] .sg95-market-dashboard .sg95-market-tile-name{color:#55718b!important}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-tile-head>div>strong{color:#132f50!important}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-market-slot{color:#142d4c}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-primary{
  background:linear-gradient(120deg,#f4faff,#e7f5fb);
}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-choice-label,
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-threshold-side.is-favorite small{color:#066e99!important}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-choice-name{color:#103356!important}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-choice-pct{
  color:#047ab6!important;text-shadow:none!important
}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-choice-nodata{color:#55718b}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-secondary{
  background:linear-gradient(130deg,#fff,#f3f7fd);border-left:1px solid #d9e6f2;
}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-secondary-heading{color:#55718b}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-alt{border-color:#e2ecf5}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-alt-name{color:#304c68}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-alt-pct{color:#3c739d!important}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-plain{color:#53708b}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-meter{background:#dae8f3}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-meter-fill{background:linear-gradient(90deg,#0868bd,#12b6c7)}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-threshold{
  background:linear-gradient(100deg,#f3f9ff,#eaf4fc);border-top:1px solid #dceaf6;
}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-threshold-title{color:#22749c}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-threshold-side small{color:#66859e!important}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-threshold-info>span{color:#244364}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-threshold-info>strong{color:#224766!important}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-threshold-side.is-favorite .sg99-threshold-info>strong{color:#067caf!important}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-threshold-side.is-alternative .sg99-threshold-info>strong{color:#507b9e!important}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-threshold-vs{
  background:#fff;border-color:#c6dbeb;color:#5280a2;
}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-threshold-meter{background:#d9e7f1}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-threshold-meter-primary{background:linear-gradient(90deg,#086db6,#00aeb1)}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-threshold-meter-secondary{background:#a3bacd}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-extra-total{
  color:#1d5e83;background:#e9f4fb;border-color:#b7d6e9;
}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-empty{color:#57758e}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-engine-title strong{color:#153b65!important}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-engine-title small{color:#287ea5}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-engine-tag{color:#207ca0;border-color:#b8d9e9;background:#e8f7fa}

/* Dark mode: respect the site's night theme, keeping v0.99's carbon palette. */
html[data-sg-theme="dark"] .sg100-premium-gate{
  background:rgba(2,10,19,.64);
}
html[data-sg-theme="dark"] .sg100-premium-gate-card{
  background:transparent;border-color:transparent;color:#e9f7ff;box-shadow:none;
}
html[data-sg-theme="dark"] .sg100-gate-lock{
  background:linear-gradient(145deg,#103f64,#087781);color:#e8ffff;box-shadow:0 12px 26px rgba(0,0,0,.28);
}
html[data-sg-theme="dark"] .sg100-gate-kicker{color:#6ce3d6}
html[data-sg-theme="dark"] .sg100-premium-gate-card>strong{color:#f2faff!important}
html[data-sg-theme="dark"] .sg100-premium-gate-card>p{color:#b2cbda}
html[data-sg-theme="dark"] .sg100-gate-button.is-primary{background:linear-gradient(130deg,#037db3,#087f8e);border-color:#2eabb6}
html[data-sg-theme="dark"] .sg100-gate-button.is-secondary{background:#172f46;border-color:#365674;color:#c8edff!important}
html[data-sg-theme="dark"] .sg100-gate-plans{color:#84dcec!important}

@media(max-width:640px){
  .sg100-premium-gate{padding:18px 10px}
  .sg100-premium-gate-card{width:min(100%,360px)}
  .sg100-premium-gate-card>strong{font-size:18px}
  .sg100-gate-button{min-height:39px}
}
@media(prefers-reduced-motion:reduce){.sg100-gate-button{transition:none!important}}


/* ----------------------------------------------------------------------
   SerieAGoal v1.02: cleaner tech match markets, no pale blue inner boxes
   ---------------------------------------------------------------------- */
html[data-sg-theme="light"] .sg95-market-dashboard .sg95-market-tile{
  background:#ffffff!important;
  border:1px solid #d6e2ed!important;
  box-shadow:0 6px 18px rgba(10,44,82,.06), inset 0 1px 0 rgba(255,255,255,.96)!important;
}
html[data-sg-theme="light"] .sg95-market-dashboard .sg95-market-tile::before{
  background:linear-gradient(180deg,#0a72cf,#12c7d0)!important;
  width:4px!important;
}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-tile-head,
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-primary,
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-secondary,
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-threshold,
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-irregular{
  background:transparent!important;
  box-shadow:none!important;
}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-tile-head{
  border-bottom:1px solid #e7eef5!important;
}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-market-number{
  background:#fff!important;border-color:#cfe0ed!important;color:#0a74be!important;
  box-shadow:0 1px 0 rgba(255,255,255,.85) inset;
}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-primary,
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-secondary{padding-top:14px;padding-bottom:14px}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-secondary{border-left:1px solid #e6edf4!important}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-secondary-heading,
html[data-sg-theme="light"] .sg95-market-dashboard .sg95-market-tile-name{color:#68829b!important}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-alt{border-bottom:1px solid #eaf0f6!important}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-alt-name{color:#24425f!important}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-alt-pct{color:#4d7394!important}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-meter{background:#e3eaf1!important;height:6px}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-meter-fill{background:linear-gradient(90deg,#0b6fd0,#0fd0c8)!important;box-shadow:0 0 14px rgba(15,164,203,.18)!important}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-threshold{border-top:1px solid #e8eff5!important;padding-top:13px;padding-bottom:13px}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-threshold-title{color:#2c78a5!important}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-threshold-side small{color:#7791a7!important}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-threshold-info>span{color:#1d3c5a!important}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-threshold-info>strong{color:#0c72bf!important}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-threshold-side.is-favorite .sg99-threshold-info>strong{color:#0da9bf!important}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-threshold-side.is-alternative .sg99-threshold-info>strong{color:#5f7f9d!important}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-threshold-vs{
  background:#ffffff!important;border:1px solid #d8e4ee!important;color:#6f8aa2!important;
}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-threshold-meter{background:#e1e8ef!important;height:6px}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-threshold-meter-primary{background:linear-gradient(90deg,#0b6fd0,#0fd0c8)!important;box-shadow:0 0 14px rgba(15,164,203,.16)!important}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-threshold-meter-secondary{background:#b8c9d8!important}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-extra-total{background:#f7fafc!important;border-color:#d9e4ee!important;color:#315f81!important}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-engine-tag{background:#f6fbff!important;border-color:#d9e7f1!important;color:#2a7fa8!important}

html[data-sg-theme="dark"] .sg95-market-dashboard .sg95-market-tile{
  background:#081522!important;
  border:1px solid #173244!important;
  box-shadow:0 12px 30px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.035)!important;
}
html[data-sg-theme="dark"] .sg95-market-dashboard .sg95-market-tile::before{
  background:linear-gradient(180deg,#0d78d6,#18d0c6)!important;
  width:4px!important;
}
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-tile-head,
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-primary,
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-secondary,
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-threshold,
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-irregular{
  background:transparent!important;
  box-shadow:none!important;
}
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-tile-head{border-bottom:1px solid rgba(76,114,141,.24)!important}
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-market-number{
  background:#0b1e30!important;border-color:#204563!important;color:#65d9ff!important;
}
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-primary,
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-secondary{padding-top:14px;padding-bottom:14px}
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-secondary{border-left:1px solid rgba(67,103,129,.25)!important}
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-secondary-heading,
html[data-sg-theme="dark"] .sg95-market-dashboard .sg95-market-tile-name{color:#7593ab!important}
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-alt{border-bottom:1px solid rgba(70,108,134,.18)!important}
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-meter{background:#173044!important;height:6px}
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-meter-fill{background:linear-gradient(90deg,#0d79d7,#1ad0c4)!important;box-shadow:0 0 15px rgba(26,208,196,.24)!important}
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-threshold{border-top:1px solid rgba(72,109,136,.22)!important;padding-top:13px;padding-bottom:13px}
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-threshold-title{color:#67c8dd!important}
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-threshold-side small{color:#87a6bc!important}
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-threshold-info>span{color:#e6f3ff!important}
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-threshold-info>strong{color:#7ce7ff!important}
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-threshold-side.is-favorite .sg99-threshold-info>strong{color:#27d7c8!important}
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-threshold-side.is-alternative .sg99-threshold-info>strong{color:#a3bdd3!important}
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-threshold-vs{background:#0b1c2c!important;border-color:#214863!important;color:#84a8bd!important}
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-threshold-meter{background:#173246!important;height:6px}
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-threshold-meter-primary{background:linear-gradient(90deg,#0d79d7,#1ad0c4)!important;box-shadow:0 0 15px rgba(26,208,196,.22)!important}
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-threshold-meter-secondary{background:#49627a!important}
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-extra-total{background:#0c1d2d!important;border-color:#24435c!important;color:#b8d7ec!important}
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-engine-tag{background:#0d1f30!important;border-color:#214760!important;color:#76d0e2!important}

@media(max-width:590px){
  html[data-sg-theme="light"] .sg95-market-dashboard .sg99-secondary,
  html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-secondary{
    border-left:0!important;border-top:1px solid rgba(110,144,169,.22)!important;
  }
}


/* ----------------------------------------------------------------------
   SerieAGoal v1.03: flat integrated market rows, no extra card backgrounds
   ---------------------------------------------------------------------- */
html[data-sg-theme="light"] .sg95-market-dashboard .sg95-market-tile,
html[data-sg-theme="dark"] .sg95-market-dashboard .sg95-market-tile{
  background:transparent!important;
  box-shadow:none!important;
  border:0!important;
  border-radius:0!important;
  overflow:visible!important;
  position:relative;
  margin:0!important;
  padding:0!important;
}
html[data-sg-theme="light"] .sg95-market-dashboard .sg95-market-tile::before,
html[data-sg-theme="dark"] .sg95-market-dashboard .sg95-market-tile::before{
  display:none!important;
  content:none!important;
}
html[data-sg-theme="light"] .sg95-market-dashboard .sg95-market-tile + .sg95-market-tile,
html[data-sg-theme="dark"] .sg95-market-dashboard .sg95-market-tile + .sg95-market-tile{
  border-top:1px solid rgba(132,158,182,.22)!important;
  margin-top:8px!important;
  padding-top:8px!important;
}

html[data-sg-theme="light"] .sg95-market-dashboard .sg99-tile-head,
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-primary,
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-secondary,
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-threshold,
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-irregular,
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-tile-head,
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-primary,
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-secondary,
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-threshold,
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-irregular{
  background:transparent!important;
  box-shadow:none!important;
}

html[data-sg-theme="light"] .sg95-market-dashboard .sg99-tile-head{
  border-bottom:1px solid #e3edf6!important;
}
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-tile-head{
  border-bottom:1px solid rgba(83,113,136,.24)!important;
}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-market-number{
  background:transparent!important;
  border-color:#cdddeb!important;
  color:#0b73c5!important;
}
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-market-number{
  background:transparent!important;
  border-color:#244661!important;
  color:#61d4f8!important;
}

html[data-sg-theme="light"] .sg95-market-dashboard .sg99-secondary{
  border-left:1px solid #e7eef5!important;
}
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-secondary{
  border-left:1px solid rgba(82,110,132,.20)!important;
}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-alt{
  border-bottom:1px solid #ebf1f6!important;
}
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-alt{
  border-bottom:1px solid rgba(83,110,132,.16)!important;
}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-threshold{
  border-top:1px solid #e5edf5!important;
}
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-threshold{
  border-top:1px solid rgba(81,111,135,.20)!important;
}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-irregular{
  border-top:1px solid #e7eef5!important;
}
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-irregular{
  border-top:1px solid rgba(81,111,135,.20)!important;
}

html[data-sg-theme="light"] .sg95-market-dashboard .sg99-meter{background:#dde8f0!important}
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-meter{background:#23394a!important}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-threshold-meter{background:#dde8f0!important}
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-threshold-meter{background:#23394a!important}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-threshold-vs{
  background:#fff!important;border-color:#d7e4ee!important;color:#7e96aa!important;
}
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-threshold-vs{
  background:transparent!important;border-color:#29465e!important;color:#8aa8bf!important;
}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-extra-total{
  background:transparent!important;border-color:#dbe7f0!important;color:#376383!important;
}
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-extra-total{
  background:transparent!important;border-color:#27455d!important;color:#b9d3e6!important;
}
html[data-sg-theme="light"] .sg95-market-dashboard .sg99-engine-tag{
  background:transparent!important;border-color:#d7e5ef!important;color:#2a7ca2!important;
}
html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-engine-tag{
  background:transparent!important;border-color:#24465e!important;color:#79cde1!important;
}

@media(max-width:590px){
  html[data-sg-theme="light"] .sg95-market-dashboard .sg99-secondary,
  html[data-sg-theme="dark"] .sg95-market-dashboard .sg99-secondary{
    border-left:0!important;
  }
}
