/* GoalGrid Bet Simulator — redesign 2026-11 (bs-*). Dark theme, teal brand. */
:root {
  --bs-bg: #061019;
  --bs-card: linear-gradient(180deg, rgba(22, 33, 42, .92), rgba(14, 23, 31, .92));
  --bs-line: rgba(151, 176, 190, .14);
  --bs-line-2: rgba(151, 176, 190, .09);
  --bs-text: #eff7fb;
  --bs-muted: #8fa3ae;
  --bs-dim: #6f8591;
  --bs-teal: #35e0c2;
  --bs-teal-2: #7bf3dc;
  --bs-pos: #4ef29a;
  --bs-neg: #ff6b81;
}
body.sim-body { background: radial-gradient(1200px 600px at 85% -10%, rgba(53, 224, 194, .07), transparent 60%), radial-gradient(900px 500px at -10% 10%, rgba(53, 224, 194, .04), transparent 60%), var(--bs-bg); color: var(--bs-text); }
.sim-body [hidden] { display: none !important; }
.bs-page, .bs-page * { box-sizing: border-box; }
.bs-page button, .bs-page input, .bs-page select { font: inherit; color: inherit; }
.bs-page { width: min(1280px, calc(100% - 48px)); margin: 0 auto; padding: 92px 0 72px; font-family: "Plus Jakarta Sans", system-ui, sans-serif; }
.bs-page .is-pos { color: var(--bs-pos) !important; }
.bs-page .is-neg { color: var(--bs-neg) !important; }
.bs-kicker { display: block; color: #98a9b3; font-size: 11px; font-weight: 800; letter-spacing: .09em; line-height: 1.3; text-transform: uppercase; }

/* tiles (More-C style) */
.bs-tile { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(160deg, rgba(var(--t), .26), rgba(var(--t), .06)); border: 1px solid rgba(var(--t), .32); box-shadow: inset 0 1px rgba(255, 255, 255, .07); }
.bs-tile svg { display: block; width: 26px; height: 26px; }
.bs-tile.is-sm { width: 36px; height: 36px; border-radius: 10px; }
.bs-tile.is-sm svg { width: 22px; height: 22px; }

/* hero */
.bs-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: center; margin-bottom: 22px; padding: 30px 32px; overflow: hidden; border: 1px solid rgba(53, 224, 194, .22); border-radius: 22px; background: radial-gradient(90% 120% at 0% 0%, rgba(53, 224, 194, .12), transparent 55%), radial-gradient(80% 120% at 100% 100%, rgba(53, 224, 194, .22), transparent 60%), linear-gradient(160deg, #10233a, #0d1c26); box-shadow: inset 0 1px rgba(255, 255, 255, .07), 0 30px 60px -36px rgba(0, 0, 0, .5); }
.bs-badge { display: inline-flex; align-items: center; gap: 8px; padding: 4px 11px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #dff5f0; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bs-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--bs-teal); box-shadow: 0 0 0 4px rgba(53, 224, 194, .18); }
.bs-hero h1 { margin: 14px 0 10px; color: #fff; font-size: clamp(32px, 3.6vw, 46px); font-weight: 850; line-height: 1.05; letter-spacing: -.025em; }
.bs-lead { max-width: 620px; margin: 0; color: #c9cdf0; font-size: 15.5px; line-height: 1.55; }
.bs-points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; padding: 0; list-style: none; }
.bs-points li { position: relative; padding-left: 24px; color: #e3e6fb; font-size: 13px; font-weight: 650; line-height: 1.4; }
.bs-points li::before { content: ""; position: absolute; left: 0; top: 1px; width: 16px; height: 16px; border-radius: 50%; background: rgba(53, 224, 194, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3 7 10.6l4.6-5' fill='none' stroke='%237bf3dc' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.bs-hero-card { padding: 18px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(6, 12, 20, .45); backdrop-filter: blur(10px); }
.bs-hero-card-head { display: flex; align-items: center; gap: 12px; }
.bs-hero-card-head small, .bs-hero-figures small { display: block; color: var(--bs-muted); font-size: 11.5px; font-weight: 600; }
.bs-hero-card-head strong { display: block; color: #fff; font-size: 14px; font-weight: 780; }
.bs-hero-figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.bs-hero-figures strong { display: block; margin-top: 2px; color: #fff; font-size: 21px; font-weight: 850; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bs-hero-spark { display: block; width: 100%; height: 64px; margin-top: 12px; }
.bs-hero-note { margin: 8px 0 0; color: var(--bs-dim); font-size: 11.5px; }

/* workspace */
.bs-workspace { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 20px; align-items: start; }
.bs-controls, .bs-results, .bs-card, .bs-disclaimer { border: 1px solid var(--bs-line); border-radius: 18px; background: var(--bs-card); box-shadow: inset 0 1px rgba(255, 255, 255, .035), 0 20px 50px -34px rgba(0, 0, 0, .7); }
.bs-controls { position: sticky; top: 76px; min-width: 0; max-height: calc(100vh - 88px); margin: 0; padding: 18px 18px 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(151, 176, 190, .25) transparent; }
.bs-controls::-webkit-scrollbar { width: 6px; }
.bs-controls::-webkit-scrollbar-thumb { border-radius: 6px; background: rgba(151, 176, 190, .25); }
.bs-field.is-bankroll { margin-top: 14px; padding-top: 14px; }
.bs-run-wrap { position: sticky; bottom: 0; z-index: 2; margin: 14px -18px 0; padding: 12px 18px 16px; background: linear-gradient(180deg, rgba(14, 23, 31, 0), rgba(14, 23, 31, .96) 30%); }
.bs-controls-head h2, .bs-results-head h2 { margin: 4px 0 0; color: #fff; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.bs-field { margin: 14px 0 0; padding: 14px 0 0; border: 0; border-top: 1px solid var(--bs-line-2); min-width: 0; }
.bs-field legend { display: flex; align-items: center; gap: 8px; width: 100%; padding: 0; margin: 0 0 10px; float: left; color: #dbe7ee; font-size: 13px; font-weight: 780; }
.bs-field legend + * { clear: both; }
.bs-field legend b { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 6px; background: rgba(53, 224, 194, .12); color: var(--bs-teal-2); font-size: 11px; font-weight: 850; }
.bs-field legend small { margin-left: auto; color: var(--bs-dim); font-size: 11.5px; font-weight: 600; }
.bs-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bs-chips button { min-height: 34px; padding: 0 13px; border: 1px solid var(--bs-line); border-radius: 999px; background: rgba(255, 255, 255, .025); color: #c3d2da; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: background-color .16s, border-color .16s, color .16s; }
.bs-chips button:hover { border-color: rgba(53, 224, 194, .3); color: #fff; }
.bs-chips button.is-on { border-color: rgba(53, 224, 194, .55); background: rgba(53, 224, 194, .14); color: var(--bs-teal-2); box-shadow: inset 0 0 0 1px rgba(53, 224, 194, .12); }
.bs-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.bs-dates label span, .bs-input > span { display: block; margin-bottom: 5px; color: var(--bs-muted); font-size: 11.5px; font-weight: 650; }
.bs-dates input, .bs-input div { width: 100%; min-height: 40px; border: 1px solid var(--bs-line); border-radius: 11px; background: rgba(4, 10, 15, .55); }
.bs-dates input { padding: 0 10px; color-scheme: dark; font-size: 13px; }
.bs-models { display: grid; gap: 6px; }
.bs-model { display: grid; grid-template-columns: 40px minmax(0, 1fr) 18px; align-items: center; gap: 12px; width: 100%; padding: 6px 10px 6px 7px; border: 1px solid var(--bs-line-2); border-radius: 13px; background: rgba(255, 255, 255, .02); text-align: left; cursor: pointer; transition: background-color .16s, border-color .16s, opacity .16s; }
.bs-model .bs-tile { width: 40px; height: 40px; }
.bs-model .bs-tile svg { width: 25px; height: 25px; }
.bs-model:hover:not(:disabled) { border-color: rgba(var(--t), .4); background: rgba(var(--t), .06); }
.bs-model.is-on { border-color: rgba(var(--t), .6); background: linear-gradient(90deg, rgba(var(--t), .14), rgba(var(--t), .03)); }
.bs-model:disabled { opacity: .42; cursor: not-allowed; }
.bs-model-txt strong { display: block; color: #eff7fb; font-size: 13.3px; font-weight: 760; }
.bs-model-txt small { display: block; margin-top: 1px; color: var(--bs-muted); font-size: 11.5px; }
.bs-check { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(151, 176, 190, .35); }
.bs-model.is-on .bs-check { border-color: transparent; background: rgb(var(--t)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3 7 10.6l4.6-5' fill='none' stroke='%23061019' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.bs-money { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.bs-input { display: block; min-width: 0; }
.bs-input div { display: flex; align-items: center; overflow: hidden; }
.bs-input div:focus-within, .bs-dates input:focus { border-color: rgba(53, 224, 194, .55); outline: none; box-shadow: 0 0 0 3px rgba(53, 224, 194, .12); }
.bs-input select, .bs-input em { flex: 0 0 auto; height: 38px; padding: 0 8px 0 10px; border: 0; border-right: 1px solid var(--bs-line-2); background: rgba(53, 224, 194, .06); color: var(--bs-teal-2); font-size: 12px; font-style: normal; font-weight: 800; line-height: 38px; }
.bs-input select { appearance: auto; cursor: pointer; color-scheme: dark; }
.bs-input input { flex: 1 1 auto; width: 100%; min-width: 0; height: 38px; padding: 0 10px; border: 0; background: transparent; font-size: 14px; font-weight: 750; font-variant-numeric: tabular-nums; outline: none; }
.bs-help { margin: 9px 0 0; color: var(--bs-dim); font-size: 11.5px; line-height: 1.45; }
.bs-run { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; margin-top: 0; padding: 0 18px; border: 0; border-radius: 14px; background: linear-gradient(100deg, #22c55e, #2dd4bf 55%, #0ea5e9); color: #04131a; font-size: 15px; font-weight: 850; cursor: pointer; box-shadow: 0 14px 30px -14px rgba(45, 212, 191, .8); transition: transform .16s, box-shadow .16s, filter .16s; }
.bs-run:hover { filter: brightness(1.06); box-shadow: 0 18px 36px -14px rgba(45, 212, 191, .95); }
.bs-run:active { transform: translateY(1px); }
.bs-run b { font-size: 18px; transition: transform .16s; }
.bs-run:hover b { transform: translateX(3px); }

/* results */
.bs-results { min-width: 0; padding: 20px; }
.bs-results-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.bs-live { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(53, 224, 194, .22); background: rgba(53, 224, 194, .06); color: var(--bs-teal-2); font-size: 11.5px; font-weight: 750; }
.bs-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--bs-teal); animation: bs-pulse 2s infinite; }
@keyframes bs-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(53, 224, 194, .45); } 50% { box-shadow: 0 0 0 5px rgba(53, 224, 194, 0); } }
.bs-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bs-kpi { min-width: 0; padding: 14px; border: 1px solid var(--bs-line-2); border-radius: 14px; background: rgba(255, 255, 255, .025); }
.bs-kpi small { display: block; color: var(--bs-muted); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bs-kpi strong { display: block; margin-top: 6px; color: #fff; font-size: 20px; font-weight: 850; letter-spacing: -.02em; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.bs-kpi span { display: block; margin-top: 4px; color: var(--bs-dim); font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bs-kpi.is-main { border-color: rgba(53, 224, 194, .3); background: radial-gradient(120% 120% at 0% 0%, rgba(53, 224, 194, .2), transparent 60%), rgba(255, 255, 255, .02); }
.bs-kpi.is-main strong { font-size: 25px; }
.bs-warning { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; padding: 11px 14px; border-radius: 12px; border: 1px solid rgba(255, 180, 84, .3); background: rgba(255, 180, 84, .07); }
.bs-warning b { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: #ffb454; color: #1a1004; font-size: 12px; }
.bs-warning p { margin: 0; color: #f3d9b4; font-size: 12.5px; line-height: 1.45; }
.bs-card { margin-top: 14px; padding: 16px; background: rgba(255, 255, 255, .018); box-shadow: none; }
.bs-card-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.bs-card-head strong { display: block; margin-top: 3px; color: #fff; font-size: 15px; font-weight: 780; }
.bs-legend { display: flex; gap: 14px; color: var(--bs-muted); font-size: 11.5px; font-weight: 650; }
.bs-legend span { display: inline-flex; align-items: center; gap: 6px; }
.bs-legend i { display: inline-block; width: 16px; height: 3px; border-radius: 3px; }
.bs-legend .is-line { background: linear-gradient(90deg, #5B8CFF, #35e0c2); }
.bs-legend .is-start { height: 0; border-top: 2px dashed rgba(151, 176, 190, .55); }
.bs-legend .is-peak { width: 8px; height: 8px; border-radius: 50%; background: #FFE58A; }
/* compare view */
.bs-chart-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 14px; }
.bs-legend[hidden], .bs-view[hidden], .bs-compare-legend[hidden] { display: none; }
.bs-view { display: inline-flex; padding: 3px; border: 1px solid var(--bs-line); border-radius: 999px; background: rgba(4, 10, 15, .45); }
.bs-view button { min-height: 28px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--bs-muted); font-size: 12px; font-weight: 780; cursor: pointer; transition: background-color .16s, color .16s; }
.bs-view button.is-on { background: rgba(53, 224, 194, .16); color: var(--bs-teal-2); box-shadow: inset 0 0 0 1px rgba(53, 224, 194, .4); }
.bs-view button:focus-visible { outline: 2px solid rgba(53, 224, 194, .5); outline-offset: 1px; }
.bs-compare-legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 8px; margin: -2px 0 14px; }
.bs-compare-legend button { display: grid; grid-template-columns: 16px minmax(0, 1fr); align-content: center; gap: 2px 8px; min-width: 0; min-height: 50px; padding: 7px 12px 7px 10px; border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); border-radius: 13px; background: color-mix(in srgb, var(--c) 9%, transparent); color: #e7f1f7; font-size: 12.5px; font-weight: 780; text-align: left; cursor: pointer; transition: opacity .16s, background-color .16s, border-color .16s; font-variant-numeric: tabular-nums; }
.bs-compare-legend button i { grid-row: span 2; align-self: center; width: 16px; height: 3px; border-radius: 3px; background: var(--c); }
.bs-compare-legend button i.is-combined { background: linear-gradient(90deg, #5B8CFF, #35e0c2); }
.bs-compare-legend .bs-cl-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bs-compare-legend .bs-cl-val { font-size: 12px; }
.bs-compare-legend .bs-cl-val { color: #c3d2da; font-weight: 700; }
.bs-compare-legend em { font-style: normal; font-weight: 800; }
.bs-compare-legend .is-pos, .bs-tip-row .is-pos { color: var(--bs-pos, #5ef0b4); }
.bs-compare-legend .is-neg, .bs-tip-row .is-neg { color: var(--bs-neg, #ff7a8a); }
.bs-compare-legend button.is-off { opacity: .42; border-color: var(--bs-line); background: transparent; }
.bs-compare-legend button.is-off i { background: rgba(151, 176, 190, .5); }
.bs-compare-legend button:focus-visible { outline: 2px solid rgba(53, 224, 194, .5); outline-offset: 2px; }
.bs-line.is-model { stroke-width: 2; opacity: .95; }
.bs-line.is-combined { stroke-width: 2.6; }
.bs-dot.is-end-c { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 25%, transparent); }
.bs-dot.is-hover-c { width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border: 2px solid #fff; background: var(--c); }
.bs-tip.is-compare { width: 250px; gap: 5px; }
.bs-tip-row { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.bs-tip-row i { width: 12px; height: 3px; border-radius: 3px; }
.bs-tip.is-compare .bs-tip-row span { color: #dbe7ee; font-size: 12px; font-weight: 700; }
.bs-tip.is-compare .bs-tip-row b { position: static; color: #fff; font-size: 12.5px; font-weight: 850; font-variant-numeric: tabular-nums; }
.bs-chart-box { position: relative; margin-left: 74px; height: 260px; }
.bs-chart-box svg { display: block; width: 100%; height: 100%; overflow: visible; cursor: crosshair; outline: none; }
.bs-chart-box svg:focus-visible { box-shadow: 0 0 0 2px rgba(53, 224, 194, .4); border-radius: 6px; }
.bs-grid { stroke: rgba(151, 176, 190, .09); stroke-width: 1; vector-effect: non-scaling-stroke; }
.bs-start { stroke: rgba(151, 176, 190, .5); stroke-width: 1.2; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; }
.bs-line { fill: none; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.bs-cross { stroke: rgba(123, 243, 220, .5); stroke-width: 1; vector-effect: non-scaling-stroke; }
.bs-axis-y { position: absolute; top: 0; bottom: 0; left: -74px; width: 68px; pointer-events: none; }
.bs-axis-y span { position: absolute; right: 0; transform: translateY(-50%); color: var(--bs-dim); font-size: 10.5px; font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bs-axis-x { display: flex; justify-content: space-between; margin: 8px 0 0 74px; color: var(--bs-dim); font-size: 10.5px; font-weight: 650; }
.bs-dot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; pointer-events: none; }
.bs-dot.is-peak { background: #FFE58A; box-shadow: 0 0 0 4px rgba(255, 229, 138, .18); }
.bs-dot.is-end { background: var(--bs-teal-2); box-shadow: 0 0 0 4px rgba(123, 243, 220, .2); }
.bs-dot.is-hover { width: 12px; height: 12px; margin: -6px 0 0 -6px; border: 2px solid #fff; background: var(--bs-teal); }
.bs-tip { position: absolute; top: 6px; z-index: 3; display: grid; gap: 3px; width: 220px; padding: 10px 12px; transform: translateX(-50%); border: 1px solid rgba(53, 224, 194, .3); border-radius: 12px; background: rgba(8, 16, 22, .96); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); pointer-events: none; }
.bs-tip small { color: var(--bs-muted); font-size: 10.5px; font-weight: 700; }
.bs-tip strong { color: #fff; font-size: 12.5px; font-weight: 780; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bs-tip span { color: #c3d2da; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bs-tip em { justify-self: start; margin-top: 2px; }
.bs-tip b { position: absolute; right: 12px; bottom: 10px; color: var(--bs-teal-2); font-size: 13px; font-weight: 850; }
.bs-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-style: normal; font-weight: 800; }
.bs-pill.is-W { background: rgba(78, 242, 154, .13); color: var(--bs-pos); border: 1px solid rgba(78, 242, 154, .3); }
.bs-pill.is-L { background: rgba(255, 107, 129, .12); color: var(--bs-neg); border: 1px solid rgba(255, 107, 129, .3); }
.bs-pill.is-V { background: rgba(151, 176, 190, .12); color: #c3d2da; border: 1px solid rgba(151, 176, 190, .3); }

.bs-breakdowns { display: grid; grid-template-columns: 1fr; gap: 0; }
.bs-breakdowns .bs-card { margin-top: 14px; }
.bs-break-row { display: grid; grid-template-columns: minmax(150px, 1.2fr) 70px 80px 80px minmax(0, 2fr); align-items: center; gap: 8px; padding: 9px 4px; border-top: 1px solid var(--bs-line-2); color: #dbe7ee; font-size: 12.5px; font-weight: 650; font-variant-numeric: tabular-nums; }
.bs-break-row.is-head { border-top: 0; padding-top: 0; color: var(--bs-dim); font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.bs-seg { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; font-weight: 750; }
.bs-seg i { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 3px; background: rgb(var(--t)); box-shadow: 0 0 0 3px rgba(var(--t), .18); }
.bs-bar-cell { display: grid; gap: 4px; min-width: 0; }
.bs-bar-cell b { font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.bs-bar { display: block; height: 5px; border-radius: 4px; }
.bs-bar.is-pos { background: linear-gradient(90deg, rgba(78, 242, 154, .35), #4ef29a); }
.bs-bar.is-neg { background: linear-gradient(90deg, rgba(255, 107, 129, .35), #ff6b81); }

.bs-link { display: inline-flex; align-items: center; gap: 6px; color: var(--bs-teal-2); font-size: 12.5px; font-weight: 780; text-decoration: none; white-space: nowrap; }
.bs-link:hover b { transform: translateX(3px); }
.bs-link b { transition: transform .16s; }
.bs-ledger { display: grid; }
.bs-row { display: grid; grid-template-columns: 62px minmax(0, 1.6fr) minmax(0, 1.5fr) 50px 64px 86px 96px; align-items: center; gap: 10px; padding: 10px 6px; border-top: 1px solid var(--bs-line-2); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.bs-row.is-head { border-top: 0; padding-top: 0; color: var(--bs-dim); font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.bs-row:not(.is-head):hover { background: rgba(255, 255, 255, .025); border-radius: 10px; }
.bs-date { color: var(--bs-muted); font-weight: 650; }
.bs-match, .bs-pick { min-width: 0; }
.bs-match strong, .bs-pick strong { display: block; color: #eff7fb; font-weight: 720; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bs-match small, .bs-pick small { display: flex; align-items: center; gap: 6px; margin-top: 2px; color: var(--bs-dim); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bs-match small i { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--t)); }
.bs-odds { color: #dbe7ee; font-weight: 750; }
.bs-pl, .bs-bank { text-align: right; font-weight: 800; white-space: nowrap; }
.bs-bank { color: #c3d2da; }
.bs-row.is-head span:nth-child(6), .bs-row.is-head span:nth-child(7) { text-align: right; }
.bs-more-btn { display: block; width: 100%; margin-top: 10px; min-height: 40px; border: 1px dashed rgba(53, 224, 194, .35); border-radius: 12px; background: transparent; color: var(--bs-teal-2); font-size: 12.5px; font-weight: 780; cursor: pointer; }
.bs-more-btn:hover { background: rgba(53, 224, 194, .06); }

/* share */
.bs-head-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
.bs-share { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 13px 0 11px; border: 1px solid rgba(53, 224, 194, .45); border-radius: 999px; background: transparent; color: var(--bs-teal-2); font-size: 12px; font-weight: 800; cursor: pointer; transition: background-color .16s, border-color .16s; }
.bs-share:hover, .bs-share:focus-visible { border-color: rgba(123, 243, 220, .75); background: rgba(53, 224, 194, .1); outline: none; }
.bs-share svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bs-toast { position: fixed; left: 50%; bottom: 28px; z-index: 1200; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; transform: translate(-50%, 12px); border: 1px solid rgba(53, 224, 194, .4); border-radius: 999px; background: rgba(8, 18, 24, .97); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); color: #eff7fb; font-size: 13px; font-weight: 750; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.bs-toast::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: rgba(53, 224, 194, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3 7 10.6l4.6-5' fill='none' stroke='%237bf3dc' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.bs-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* states */
.bs-state { display: grid; justify-items: center; gap: 8px; padding: 34px 16px; border: 1px dashed var(--bs-line); border-radius: 16px; text-align: center; }
.bs-state strong { color: #fff; font-size: 15px; }
.bs-state p { margin: 0; color: var(--bs-muted); font-size: 13px; }
.bs-state button { margin-top: 6px; min-height: 38px; padding: 0 18px; border: 1px solid rgba(53, 224, 194, .5); border-radius: 999px; background: rgba(53, 224, 194, .1); color: var(--bs-teal-2); font-weight: 780; cursor: pointer; }
.bs-empty-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(151, 176, 190, .08); color: var(--bs-muted); font-size: 22px; }
.bs-loading { justify-items: stretch; border-style: solid; border-color: var(--bs-line-2); }
.bs-skel-row { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 10px; }
.bs-skel-row i, .bs-skel-chart { display: block; height: 78px; border-radius: 14px; background: linear-gradient(90deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .07), rgba(255, 255, 255, .03)); background-size: 200% 100%; animation: bs-shimmer 1.3s infinite linear; }
.bs-skel-chart { height: 220px; }
@keyframes bs-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.bs-loading p { color: var(--bs-dim); }

.bs-disclaimer { display: flex; gap: 14px; align-items: flex-start; margin-top: 20px; padding: 18px 20px; }
.bs-disclaimer strong { display: block; color: #fff; font-size: 14px; font-weight: 780; }
.bs-disclaimer p { margin: 4px 0 0; color: var(--bs-muted); font-size: 13px; line-height: 1.55; }

/* responsive */
@media (max-width: 1280px) {
  .bs-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bs-workspace { grid-template-columns: 330px minmax(0, 1fr); }
  .bs-row { grid-template-columns: 56px minmax(0, 1.5fr) minmax(0, 1.4fr) 46px 60px 80px; }
  .bs-row > :nth-child(7) { display: none; }
}
@media (max-width: 1023px) {
  .bs-page { width: min(900px, calc(100% - 28px)); padding-top: 84px; }
  .bs-hero { grid-template-columns: 1fr; padding: 24px; }
  .bs-workspace { grid-template-columns: 1fr; }
  .bs-controls { position: static; max-height: none; overflow: visible; padding-bottom: 0; }
  .bs-run-wrap { position: static; margin: 14px 0 0; padding: 0 0 18px; background: none; }
  .bs-models { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .bs-page { width: calc(100% - 20px); padding: 76px 0 calc(var(--gg-public-nav-h, 68px) + 28px); }
  .bs-hero { gap: 18px; padding: 20px 18px; border-radius: 18px; }
  .bs-hero h1 { font-size: 31px; margin-top: 12px; }
  .bs-lead { font-size: 14px; }
  .bs-points { display: grid; gap: 7px; }
  .bs-hero-card { padding: 14px; }
  .bs-hero-figures strong { font-size: 18px; }
  .bs-controls, .bs-results { padding: 16px; border-radius: 16px; }
  .bs-models { grid-template-columns: 1fr; }
  .bs-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 2px; scrollbar-width: none; }
  .bs-chips::-webkit-scrollbar { display: none; }
  .bs-chips button { flex: 0 0 auto; }
  .bs-results-head { flex-direction: column; gap: 10px; }
  .bs-head-actions { width: 100%; justify-content: space-between; }
  .bs-toast { bottom: calc(var(--gg-public-nav-h, 68px) + 18px); }
  .bs-results-head h2 { font-size: 16.5px; }
  .bs-kpis { grid-template-columns: 1fr 1fr; gap: 8px; }
  .bs-kpi.is-main, .bs-kpi:last-child { grid-column: 1 / -1; }
  .bs-kpi strong { font-size: 18px; }
  .bs-kpi.is-main strong { font-size: 26px; }
  .bs-card { padding: 14px 12px; }
  .bs-card-head { flex-wrap: wrap; align-items: flex-start; }
  .bs-legend { gap: 10px; }
  .bs-chart-tools { width: 100%; justify-content: space-between; }
  .bs-compare-legend { grid-template-columns: 1fr 1fr; gap: 6px; }
  .bs-compare-legend button { min-height: 46px; padding: 6px 10px; }
  .bs-compare-legend .bs-cl-val { font-size: 11.5px; }
  .bs-tip.is-compare { width: 220px; }
  .bs-chart-box { height: 200px; margin-left: 56px; }
  .bs-axis-y { left: -58px; width: 52px; }
  .bs-axis-y span { font-size: 9.5px; }
  .bs-axis-x { margin-left: 56px; }
  .bs-break-row { grid-template-columns: minmax(0, 1.3fr) 40px 56px minmax(0, 1.2fr); }
  .bs-break-row > :nth-child(3) { display: none; }
  .bs-row.is-head { display: none; }
  .bs-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "match pl" "pick res"; gap: 4px 10px; padding: 11px 4px; }
  .bs-row > .bs-date, .bs-row > .bs-odds, .bs-row > .bs-bank { display: none; }
  .bs-row > .bs-match { grid-area: match; }
  .bs-row > .bs-pick { grid-area: pick; }
  .bs-row > .bs-pl { grid-area: pl; }
  .bs-row > :nth-child(5) { grid-area: res; justify-self: end; }
  .bs-disclaimer { padding: 16px; }
}

/* design-fix-10: shorter Bet Simulator hero on mobile so the builder starts on the first screen; option chips wrap instead of hiding off-screen */
@media (max-width: 720px) {
  .bs-hero { gap: 12px; padding: 16px 16px 14px; margin-bottom: 14px; }
  .bs-hero h1 { font-size: 26px; margin: 8px 0 6px; }
  .bs-lead { font-size: 13px; line-height: 1.4; margin-bottom: 0; }
  .bs-points { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; font-size: 12px; }
  .bs-hero-card { padding: 12px; }
  .bs-hero-figures { margin-top: 10px; }
  .bs-hero-spark, .bs-hero-note { display: none; }
  .bs-chips { flex-wrap: wrap; overflow-x: visible; margin: 0; padding: 0; }
  .bs-chips button { flex: 0 1 auto; }
}
/* end design-fix-10 */
