/* BetLab website: dark, a sidebar and one centre column; picks as clean rows. */
@font-face {
  font-family: "Archivo"; src: url("fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo"; src: url("fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
  --bg: #12171E; --panel: #1A212B; --row: #1E2631; --raised: #202937; --line: #29323F;
  --txt: #E8ECF1; --soft: #93A0B2; --blue: #5B8CFF; --gold: #F5B942; --win: #33B37A; --loss: #E26A5E;
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--txt); font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; }
h1, h2 { margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 0.9em; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.num, .clock, .price, .big, .tile b, .ret b, .facts dd { font-variant-numeric: tabular-nums; }
.skip-link { position: absolute; left: 1rem; top: -3rem; z-index: 30; background: var(--gold); color: #10151C;
  padding: 0.5rem 0.8rem; border-radius: 6px; font-weight: 700; }
.skip-link:focus { top: 0.75rem; }

/* layout */
.app { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 1.25rem; width: min(1240px, 100% - 2rem);
  margin: 1rem auto 0; }
.logo { display: inline-block; font-weight: 800; font-stretch: 115%; font-size: 1.25rem; color: var(--txt);
  text-decoration: none; }
.logo b { color: var(--blue); }
.side { background: var(--panel); border-radius: 12px; padding: 1rem; align-self: start; position: sticky; top: 1rem; }
.side .logo { margin: 0.2rem 0 1rem 0.55rem; }
.side nav a { display: flex; justify-content: space-between; align-items: center; color: var(--soft); text-decoration: none;
  padding: 0.5rem 0.6rem; border-radius: 7px; font-weight: 600; }
.side nav a:hover { color: var(--txt); background: #212A36; }
.side nav a[aria-current="page"] { color: var(--txt); background: #243044; }
.side small { color: var(--soft); font-weight: 600; }
.side-note { margin: 1rem 0 0; padding: 0.8rem 0.6rem 0.2rem; border-top: 1px solid var(--line); color: var(--soft);
  font-size: 0.85rem; }
.side-note b { color: var(--txt); }
.topbar { display: none; }
main { min-width: 0; padding-bottom: 1rem; }
.view[hidden] { display: none; }
.sample-note { margin: 0 0 1rem; color: var(--soft); font-size: 0.85rem; background: var(--panel);
  border-left: 3px solid var(--gold); border-radius: 6px; padding: 0.55rem 0.8rem; }

.hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin: 0.4rem 0 1.1rem; }
.hero h1 { font-stretch: 75%; font-weight: 800; font-size: clamp(2.1rem, 1.5rem + 2vw, 2.8rem); line-height: 1;
  margin-bottom: 0.5rem; }
.sub { color: var(--soft); max-width: 60ch; margin: 0; font-size: 1rem; }
.next { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 0.75rem 1.1rem;
  min-width: 240px; }
.next p { margin: 0; color: var(--soft); font-size: 0.85rem; }
.next .clock { font-stretch: 62%; font-weight: 700; font-size: 2.4rem; line-height: 1.05; color: var(--gold); }
.next #next-match { color: var(--txt); font-size: 0.9rem; }
.empty { color: var(--soft); background: var(--panel); border-radius: 12px; padding: 1.2rem; }

/* today */
.days { display: flex; gap: 0.4rem; margin: 0 0 0.9rem; }
.days button { font: inherit; font-weight: 600; color: var(--soft); background: var(--panel); border: 0;
  border-radius: 999px; padding: 0.42rem 0.95rem; cursor: pointer; }
.days button:hover { color: var(--txt); }
.days button[aria-pressed="true"] { background: var(--blue); color: #0E1520; }
.group { background: var(--panel); border-radius: 12px; overflow: hidden; margin-bottom: 0.9rem; }
.group h2 { display: flex; align-items: center; gap: 0.55rem; font-size: 0.95rem; padding: 0.65rem 1.1rem; }
.group h2 i { width: 10px; height: 10px; border-radius: 3px; background: var(--c, var(--blue)); }
.row { display: grid; grid-template-columns: 4.6rem minmax(0, 2.2fr) minmax(0, 1.4fr) minmax(0, 1.6fr) 3.4rem 6.6rem;
  gap: 1rem; align-items: center; padding: 0.8rem 1.1rem; border-top: 1px solid var(--line); background: var(--row); }
.time { font-stretch: 75%; font-weight: 700; font-size: 1.1rem; }
.match b { display: block; font-weight: 700; }
.match small { display: block; color: var(--soft); font-size: 0.83rem; }
.pick { font-weight: 600; }
.chance-top { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--soft); margin-bottom: 0.3rem; }
.chance-top b { color: var(--txt); }
.bar { display: block; position: relative; height: 8px; background: #2F3A49; border-radius: 4px; overflow: hidden; }
.bar i { display: block; height: 100%; width: calc(var(--p, 0) * 1%); background: var(--blue);
  transition: width 0.8s cubic-bezier(.2, .7, .2, 1); }
.bar s { position: absolute; top: 0; bottom: 0; width: 2px; left: calc(var(--be, 0) * 1%); background: var(--loss); }
.price { font-stretch: 75%; font-weight: 800; font-size: 1.25rem; color: var(--gold); text-align: right; }
.tag { justify-self: end; font-size: 0.78rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 999px;
  background: rgba(51, 179, 122, 0.15); color: #5BD39B; white-space: nowrap; }
.tag.edge { background: rgba(91, 140, 255, 0.16); color: #9DB8FF; }
.tag.plain { background: #2A3442; color: var(--soft); }
.tag.won { background: rgba(51, 179, 122, 0.2); color: #6BDDA7; }
.tag.lost { background: rgba(226, 106, 94, 0.18); color: #F08B80; }

/* accumulator ideas */
.tip { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 0.75rem 1rem;
  color: var(--soft); max-width: 80ch; }
.tip b { color: var(--txt); }
.idea { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); background: var(--panel);
  border-radius: 12px; overflow: hidden; margin-bottom: 1.1rem; }
.idea-left { padding: 1.05rem 1.25rem 0.6rem; }
.idea-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.idea-head h2 { font-size: 1.3rem; font-stretch: 90%; }
.idea-head p { margin: 0.15rem 0 0; color: var(--soft); }
.chip { font-size: 0.78rem; font-weight: 700; padding: 0.22rem 0.65rem; border-radius: 999px; background: #243044;
  color: var(--soft); white-space: nowrap; }
.chip.soon { background: rgba(245, 185, 66, 0.15); color: var(--gold); }
.chip.won { background: rgba(51, 179, 122, 0.2); color: #6BDDA7; }
.chip.lost { background: rgba(226, 106, 94, 0.18); color: #F08B80; }
.legs { list-style: none; margin: 0.8rem 0 0; padding: 0; }
.leg { display: grid; grid-template-columns: 1.7rem minmax(0, 1fr) auto 3.4rem; gap: 0.85rem; align-items: center;
  padding: 0.65rem 0; border-top: 1px solid var(--line); }
.leg .no { width: 1.7rem; height: 1.7rem; border-radius: 50%; background: #243044; color: var(--soft); display: grid;
  place-items: center; font-size: 0.8rem; font-weight: 700; }
.leg.won .no { background: var(--win); color: #0E1520; }
.leg.lost .no { background: var(--loss); color: #0E1520; }
.leg b { display: block; }
.leg small { display: block; color: var(--soft); }
.leg .why { display: block; color: #B5C0CF; font-size: 0.85rem; margin-top: 0.15rem; }
.idea-right { background: var(--raised); padding: 1.1rem 1.25rem; display: flex; flex-direction: column; gap: 0.85rem; }
.lab { margin: 0; color: var(--soft); font-size: 0.82rem; }
.big { font-stretch: 75%; font-weight: 800; font-size: 2.7rem; color: var(--gold); line-height: 1; }
.best { color: var(--soft); font-size: 0.85rem; }
.best b { color: var(--txt); }
.stake { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.35rem 0 0.35rem; }
.stake button { font: inherit; font-weight: 700; font-size: 0.85rem; color: var(--soft); background: transparent;
  border: 1px solid var(--line); border-radius: 999px; padding: 0.2rem 0.65rem; cursor: pointer; }
.stake button[aria-pressed="true"] { background: var(--txt); color: #0E1520; border-color: var(--txt); }
.ret { font-size: 1.05rem; }
.ret b { font-stretch: 75%; font-size: 1.5rem; color: var(--gold); }
.style { display: flex; align-items: center; gap: 0.7rem; }
.lvl { display: inline-flex; gap: 3px; }
.lvl i { width: 16px; height: 6px; border-radius: 3px; background: #2F3A49; }
.lvl i.on { background: var(--gold); }
.style b { display: block; }
.style small { color: var(--soft); }
.copy { font: inherit; font-weight: 700; color: #0E1520; background: var(--blue); border: 0; border-radius: 8px;
  padding: 0.6rem 1rem; cursor: pointer; }
.copy:hover { background: #7AA2FF; }
.when { color: var(--soft); font-size: 0.85rem; border-top: 1px solid var(--line); padding-top: 0.7rem; margin: 0; }
.numbers summary { color: var(--soft); font-size: 0.85rem; cursor: pointer; text-decoration: underline;
  text-underline-offset: 3px; }
.numbers p { margin: 0.5rem 0 0; color: var(--soft); font-size: 0.85rem; }
.numbers p b { color: var(--txt); }

/* record */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; margin-bottom: 0.9rem; }
.tile { background: var(--panel); border-radius: 12px; padding: 0.85rem 1rem; }
.tile p { margin: 0; color: var(--soft); font-size: 0.82rem; }
.tile b { display: block; font-stretch: 70%; font-weight: 800; font-size: 2.2rem; line-height: 1.1; color: var(--gold); }
.tile b.pos { color: #5BD39B; }
.tile b.neg { color: #F08B80; }
.two { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 0.9rem; margin-bottom: 0.9rem; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; }
.panel { background: var(--panel); border-radius: 12px; padding: 1rem 1.1rem; margin: 0; }
.panel-title { font-size: 1.05rem; font-stretch: 90%; margin-bottom: 0.6rem; }
.panel ul, .panel ol { margin: 0; padding-left: 1.1rem; color: var(--soft); }
.panel li { margin-bottom: 0.4rem; }
.chart-panel figcaption { color: var(--soft); font-size: 0.82rem; margin-bottom: 0.4rem; }
#chart { width: 100%; height: 200px; display: block; }
.form { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.2rem 0 0.8rem; padding: 0; }
.form li { width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; font-weight: 800;
  font-size: 0.8rem; color: #0E1520; }
.form li.w { background: var(--win); }
.form li.l { background: var(--loss); }
.small { color: var(--soft); font-size: 0.85rem; margin: 0; }
.table-panel { overflow-x: auto; padding: 0.6rem 0 0.2rem; }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
caption { text-align: left; color: var(--soft); font-size: 0.82rem; padding: 0.2rem 1.1rem 0.5rem; }
th { text-align: left; color: var(--soft); font-weight: 600; font-size: 0.8rem; padding: 0.45rem 1.1rem;
  border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 0.55rem 1.1rem; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; }
td.res-won { color: #5BD39B; font-weight: 700; }
td.res-lost { color: #F08B80; font-weight: 700; }

/* audits */
.month { background: var(--panel); border-radius: 12px; margin-bottom: 0.9rem; overflow: hidden; }
.month > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(11rem, 1fr) minmax(0, 3fr);
  gap: 1rem; align-items: center; padding: 1rem 1.1rem; }
.month > summary::-webkit-details-marker { display: none; }
.month h2 { font-size: 1.2rem; font-stretch: 90%; }
.month h2 small { display: block; font-stretch: 100%; font-weight: 600; font-size: 0.8rem; color: var(--soft); margin-top: 0.15rem; }
.month dl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.75rem; margin: 0; }
.month dt { color: var(--soft); font-size: 0.8rem; }
.month dd { margin: 0; font-weight: 800; font-stretch: 75%; font-size: 1.3rem; }
.month[open] > summary { border-bottom: 1px solid var(--line); }
.month-body { overflow-x: auto; padding: 0.5rem 0 0.4rem; }
.month-body > p { color: var(--soft); font-size: 0.85rem; padding: 0 1.1rem; margin: 0.3rem 0 0.5rem; }
.rules ol li { margin-bottom: 0.45rem; }

/* how it works */
.steps { list-style: none; counter-reset: step; margin: 0 0 0.9rem; padding: 0; display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.9rem; }
.steps li { counter-increment: step; background: var(--panel); border-radius: 12px; padding: 1rem 1.1rem; }
.steps li::before { content: counter(step); display: block; font-stretch: 62%; font-weight: 800; font-size: 2.1rem;
  color: var(--gold); line-height: 1; margin-bottom: 0.4rem; }
.steps h2 { font-size: 1.05rem; font-stretch: 90%; margin-bottom: 0.35rem; }
.steps p { color: var(--soft); margin: 0; font-size: 0.92rem; }
.likely { list-style: none; padding: 0; margin: 0 0 0.8rem; display: grid; gap: 0.55rem; }
.likely li { display: grid; grid-template-columns: 2.8rem minmax(0, 1fr) 11rem; gap: 0.75rem; align-items: center; margin: 0; }
.likely b { font-stretch: 75%; font-size: 1.1rem; color: var(--txt); }
.likely-bar { height: 10px; border-radius: 5px; background: var(--loss); overflow: hidden; }
.likely-bar i { display: block; height: 100%; width: calc(var(--p, 0) * 1%); background: var(--win); }
.likely span { color: var(--soft); font-size: 0.82rem; }
.converter label { display: block; font-weight: 600; margin: 0.6rem 0 0.25rem; }
.converter input { font: inherit; font-stretch: 75%; font-weight: 700; font-size: 1.35rem; width: 100%;
  background: var(--row); color: var(--txt); border: 1px solid var(--line); border-radius: 8px; padding: 0.4rem 0.7rem; }
.converter input:focus-visible { border-color: var(--gold); }
.conv-out { color: var(--soft); margin: 0.35rem 0 0.3rem; min-height: 1.5em; }
.conv-out b { color: var(--gold); }

/* about */
.about-text p { font-size: 1.02rem; max-width: 62ch; }
.facts { display: grid; gap: 0.6rem; align-self: start; }
.facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 1px solid var(--line);
  padding-bottom: 0.55rem; }
.facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { color: var(--soft); }
.facts dd { margin: 0; font-stretch: 62%; font-weight: 800; font-size: 1.7rem; color: var(--gold); }
.faq { max-width: 75ch; }
.faq details { border-top: 1px solid var(--line); padding: 0.75rem 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { color: var(--soft); margin: 0.5rem 0 0; }

.foot { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--soft); font-size: 0.82rem;
  border-top: 1px solid var(--line); margin-top: 1.5rem; padding: 1rem 0 1.4rem; }
.foot p { margin: 0; }
.foot b { color: var(--txt); }

/* page not found */
.not-found { width: min(720px, 100% - 2rem); margin: 0 auto; padding: 18vh 0 6rem; }
.not-found .clock { font-stretch: 62%; font-weight: 800; color: var(--gold); font-size: clamp(5rem, 3rem + 10vw, 9rem);
  line-height: 1; margin: 0; }
.not-found h1 { font-stretch: 90%; font-size: 1.8rem; margin: 0.4rem 0 0.6rem; }
.lede { color: var(--soft); }
.chip-link { display: inline-block; font-weight: 700; text-decoration: none; color: #0E1520; background: var(--blue);
  border-radius: 8px; padding: 0.55rem 1rem; }

/* tablets and phones */
@media (max-width: 1020px) {
  .row { grid-template-columns: 4.4rem minmax(0, 1fr) minmax(0, 1fr) 3.4rem 6.2rem; }
  .row .chance { grid-column: 2 / 4; grid-row: 2; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .month dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .app { grid-template-columns: 1fr; width: 100%; margin: 0; gap: 0; }
  .side { display: none; }
  .topbar { display: block; position: sticky; top: 0; z-index: 20; background: var(--panel); border-bottom: 1px solid var(--line); }
  .topbar .logo { padding: 0.75rem 1rem 0.2rem; }
  .mtabs { display: flex; gap: 1.1rem; overflow-x: auto; padding: 0 1rem; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .mtabs::-webkit-scrollbar { display: none; }
  .mtabs a { color: var(--soft); text-decoration: none; font-weight: 600; padding: 0.6rem 0; white-space: nowrap;
    border-bottom: 3px solid transparent; }
  .mtabs a[aria-current="page"] { color: var(--txt); border-bottom-color: var(--blue); }
  main { padding: 1rem 1rem 0; }
  .hero { flex-direction: column; align-items: stretch; }
  .next { min-width: 0; }
  .row { grid-template-columns: 4.2rem minmax(0, 1fr) auto; row-gap: 0.45rem; }
  .row .pick { grid-column: 2; }
  .row .chance { grid-column: 2 / 4; grid-row: auto; }
  .row .price { grid-column: 3; grid-row: 1; }
  .row .tag { grid-column: 3; grid-row: 2; }
  .row .stack .tag { grid-column: auto; grid-row: auto; }
  .idea { grid-template-columns: 1fr; }
  .idea-right { border-top: 1px solid var(--line); }
  .leg { grid-template-columns: 1.7rem minmax(0, 1fr) 3.2rem; row-gap: 0.35rem; }
  .leg .tag { grid-column: 2; grid-row: 2; justify-self: start; }
  .leg .price { grid-column: 3; grid-row: 1; }
  .two, .three { grid-template-columns: 1fr; }
  .month > summary { grid-template-columns: 1fr; }
  .likely li { grid-template-columns: 2.6rem minmax(0, 1fr); }
  .likely span { grid-column: 2; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- 0.3: more colour where it means something, and the new sections ---------- */
:root { --safe: #33B37A; --bet: #5B8CFF; --lean: #F5B942; }
.side-group { margin: 0.9rem 0 0.25rem 0.6rem; color: #6F7C8F; font-size: 0.75rem; font-weight: 700; }
.side-group:first-of-type { margin-top: 0; }
.side-note .sn-row { display: flex; justify-content: space-between; margin: 0.15rem 0; }
.side-note .pos, .pos { color: #5BD39B; }
.side-note .neg, .neg { color: #F08B80; }
.tz { color: #6F7C8F; font-size: 0.82rem; margin: 0.45rem 0 0; }

/* the day strip: each day with how it went */
.strip { display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.3rem; margin: 0 0 0.75rem; scrollbar-width: thin; }
.strip button { font: inherit; text-align: left; min-width: 6.6rem; color: var(--soft); background: var(--panel); border: 1px solid transparent;
  border-radius: 10px; padding: 0.45rem 0.7rem; cursor: pointer; flex: 0 0 auto; }
.strip button:hover { color: var(--txt); border-color: var(--line); }
.strip button[aria-pressed="true"] { border-color: var(--blue); color: var(--txt); background: #1F2A3B; }
.strip b { display: block; font-weight: 700; color: var(--txt); }
.strip small { display: block; font-size: 0.78rem; }
.strip .sw { color: #5BD39B; }
.strip .sl { color: #F08B80; }
.legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; margin: 0 0 0.9rem; color: var(--soft); font-size: 0.8rem; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 0.4rem; vertical-align: -1px; }
.lg-safe { background: var(--safe); } .lg-bet { background: var(--bet); } .lg-lean { background: var(--lean); }
.lg-won { background: var(--win); } .lg-lost { background: var(--loss); }
.row { box-shadow: inset 3px 0 0 var(--accent, transparent); }
.row.k-safe { --accent: var(--safe); } .row.k-bet { --accent: var(--bet); } .row.k-lean { --accent: var(--lean); }
.row.r-won { --accent: var(--win); background: linear-gradient(90deg, rgba(51, 179, 122, 0.08), var(--row) 40%); }
.row.r-lost { --accent: var(--loss); background: linear-gradient(90deg, rgba(226, 106, 94, 0.09), var(--row) 40%); }
.bar.value i { background: var(--win); }
.tag.lean { background: rgba(245, 185, 66, 0.15); color: var(--gold); }
.tag.void { background: #2A3442; color: var(--soft); }
.lvl.s1 i.on { background: var(--safe); } .lvl.s2 i.on { background: var(--gold); } .lvl.s3 i.on { background: #F28C38; }
.c-blue { color: #8FB0FF; } .c-red { color: #F08B80; }

/* record */
.seg { display: inline-flex; background: var(--panel); border-radius: 999px; padding: 0.2rem; margin: 0 0 0.9rem; }
.seg button { font: inherit; font-weight: 600; color: var(--soft); background: transparent; border: 0; border-radius: 999px;
  padding: 0.4rem 0.95rem; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--blue); color: #0E1520; }
.tile { border-top: 3px solid transparent; }
.tile.t-pos { border-top-color: var(--win); }
.tile.t-neg { border-top-color: var(--loss); }
.brk { display: grid; grid-template-columns: minmax(0, 1.3fr) 3.2rem minmax(0, 2fr) 4.2rem; gap: 0.7rem; align-items: center;
  padding: 0.45rem 0; border-top: 1px solid var(--line); font-size: 0.9rem; }
.brk:first-child { border-top: 0; }
.brk .n { color: var(--soft); text-align: right; }
.brk .r { text-align: right; font-weight: 700; }
.mid { position: relative; height: 8px; background: #2F3A49; border-radius: 4px; }
.mid::before { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: #4A5668; }
.mid i { position: absolute; top: 0; bottom: 0; border-radius: 4px; }
.mid i.up { left: 50%; width: calc(var(--w, 0) * 1%); background: var(--win); }
.mid i.down { right: 50%; width: calc(var(--w, 0) * 1%); background: var(--loss); }

/* audits */
.trend { font-weight: 700; white-space: nowrap; }
.trend.up { color: #5BD39B; } .trend.down { color: #F08B80; } .trend.flat { color: var(--soft); }
td.pos, td.neg { font-weight: 700; }
.month-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; padding: 0 1.1rem 0.6rem; }
.month-grid .panel { background: var(--row); }
.month-grid p { margin: 0.15rem 0; font-size: 0.88rem; color: var(--soft); }
.month-grid p b { color: var(--txt); }

/* coverage */
.ticks { list-style: none; padding: 0 !important; }
.ticks li { padding-left: 1.3rem; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0.1rem; top: 0.45rem; width: 0.55rem; height: 0.3rem;
  border-left: 2px solid var(--win); border-bottom: 2px solid var(--win); transform: rotate(-45deg); }
.three + .table-panel, .two + .table-panel, .three + .two { margin-top: 0.9rem; }
td .dotc { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 0.5rem; background: var(--c, var(--blue)); }
td.quiet { color: var(--soft); }

/* how to use */
.guide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; margin-bottom: 0.9rem; }
.guide p { color: var(--soft); margin: 0; }
.guide p b { font-weight: 700; }
.glossary dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.2rem 1.5rem; margin: 0; }
.glossary div { padding: 0.5rem 0; border-top: 1px solid var(--line); }
.glossary dt { font-weight: 700; }
.glossary dd { margin: 0.15rem 0 0; color: var(--soft); font-size: 0.9rem; }

/* about, contact, safety */
.promises ul { list-style: none; padding: 0; }
.promises li { color: var(--soft); padding: 0.45rem 0 0.45rem 1.4rem; border-top: 1px solid var(--line); position: relative; }
.promises li:first-child { border-top: 0; }
.promises li::before { content: ""; position: absolute; left: 0; top: 0.85rem; width: 8px; height: 8px; border-radius: 50%; background: var(--win); }
.promises b { color: var(--txt); }
.mail { font-stretch: 90%; font-weight: 800; font-size: 1.35rem; color: var(--gold); text-decoration: none; word-break: break-all; }
.mail:hover { text-decoration: underline; }
.contact-card .copy { width: auto; }
#safety .two { margin-bottom: 0.9rem; }

@media (max-width: 1020px) {
  .guide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .month-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .guide, .glossary dl { grid-template-columns: 1fr; }
  .brk { grid-template-columns: minmax(0, 1fr) 2.6rem minmax(0, 1fr) 3.8rem; }
}

/* ===== KickTrace additions: more colour where it means something ===== */
.side-gap { display: block; height: 1px; background: var(--line); margin: 0.5rem 0.6rem; }
.tz { margin-top: 0.9rem; padding: 0.7rem 0.6rem 0.2rem; border-top: 1px solid var(--line); }
.tz label { display: block; color: var(--soft); font-size: 0.8rem; margin-bottom: 0.3rem; }
.tz select { width: 100%; font: inherit; font-size: 0.85rem; color: var(--txt); background: var(--row);
  border: 1px solid var(--line); border-radius: 7px; padding: 0.35rem 0.5rem; }

/* the day strip: a week of picks, results in green and red */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(4.6rem, 1fr); gap: 0.45rem; margin: 0 0 0.8rem;
  overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.strip::-webkit-scrollbar { display: none; }
.strip button { font: inherit; color: var(--soft); background: var(--panel); border: 1px solid transparent; border-radius: 10px;
  padding: 0.45rem 0.5rem 0.5rem; cursor: pointer; text-align: left; }
.strip button:hover { color: var(--txt); border-color: var(--line); }
.strip button[aria-pressed="true"] { background: #22324F; border-color: var(--blue); color: var(--txt); }
.strip .d1 { display: block; font-size: 0.75rem; }
.strip .d2 { display: block; font-weight: 800; font-stretch: 75%; font-size: 1.2rem; color: var(--txt); line-height: 1.15; }
.strip .d3 { display: block; font-size: 0.72rem; margin-top: 0.15rem; white-space: nowrap; }
.strip .mini { display: flex; height: 4px; border-radius: 2px; overflow: hidden; margin-top: 0.3rem; background: #2F3A49; }
.strip .mini i { display: block; height: 100%; }
.strip .mini .w { background: var(--win); }
.strip .mini .l { background: var(--loss); }
.strip .mini .o { background: var(--blue); }

.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1rem; color: var(--soft); font-size: 0.8rem;
  margin: 0 0 0.9rem; }
.legend span { display: inline-flex; align-items: center; gap: 0.35rem; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }
.lg-play { background: var(--win); }
.lg-small { background: var(--gold); }
.lg-skip { background: var(--loss); }
.legend-note { flex-basis: 100%; }

/* rows: a coloured edge for our take, verdict and take stacked on the right */
.row { border-left: 3px solid transparent; }
.row.take-play { border-left-color: var(--win); }
.row.take-small { border-left-color: var(--gold); }
.row.take-skip { border-left-color: var(--loss); }
.row.past { border-left-color: #3A4555; }
.row.past.res-w { border-left-color: var(--win); }
.row.past.res-l { border-left-color: var(--loss); }
.stack { display: flex; flex-direction: column; align-items: flex-end; gap: 0.3rem; justify-self: end; }
.take { font-size: 0.75rem; font-weight: 700; padding: 0.15rem 0.55rem; border-radius: 999px; white-space: nowrap; }
.take.play { background: rgba(51, 179, 122, 0.16); color: #6BDDA7; }
.take.small { background: rgba(245, 185, 66, 0.16); color: var(--gold); }
.take.skip { background: rgba(226, 106, 94, 0.18); color: #F08B80; }
.match .reason { display: block; font-size: 0.8rem; margin-top: 0.15rem; }
.reason.small { color: var(--gold); }
.reason.skip { color: #F08B80; }

/* tiles with colour that means something */
.tile.pos { background: linear-gradient(180deg, rgba(51, 179, 122, 0.14), var(--panel) 70%); }
.tile.neg { background: linear-gradient(180deg, rgba(226, 106, 94, 0.14), var(--panel) 70%); }
.tile.info { background: linear-gradient(180deg, rgba(91, 140, 255, 0.12), var(--panel) 70%); }

.subtabs { display: flex; gap: 0.4rem; margin: 0 0 0.9rem; }
.subtabs button { font: inherit; font-weight: 600; color: var(--soft); background: var(--panel); border: 0; border-radius: 999px;
  padding: 0.42rem 0.95rem; cursor: pointer; }
.subtabs button[aria-pressed="true"] { background: var(--blue); color: #0E1520; }
.idea-note { margin-top: 0.6rem; }

/* month by month */
.compare { margin-bottom: 0.9rem; }
.bars { display: flex; align-items: flex-end; gap: 0.6rem; height: 120px; margin: 0.3rem 0 0.8rem; padding: 0 0.2rem;
  border-bottom: 1px dashed var(--line); position: relative; }
.bars .b { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.bars .b i { display: block; width: 60%; max-width: 46px; border-radius: 5px 5px 0 0; }
.bars .b.up i { background: linear-gradient(180deg, #5BD39B, var(--win)); }
.bars .b.down i { background: linear-gradient(180deg, #F08B80, var(--loss)); }
.bars .b span { font-size: 0.75rem; color: var(--soft); margin-top: 0.3rem; }
.bars .b b { font-size: 0.78rem; margin-bottom: 0.2rem; }
.bars .b.up b { color: #6BDDA7; }
.bars .b.down b { color: #F08B80; }
.table-scroll { overflow-x: auto; }
.compare table td, .compare table th { padding-left: 0.6rem; padding-right: 0.6rem; }
.pos-t { color: #6BDDA7; font-weight: 700; }
.neg-t { color: #F08B80; font-weight: 700; }
.month .changes { margin: 0.3rem 1.1rem 0.8rem; padding: 0.7rem 0.9rem; border-radius: 8px; background: rgba(91, 140, 255, 0.08);
  border-left: 3px solid var(--blue); }
.month .changes h3 { font-size: 0.9rem; margin: 0 0 0.35rem; }
.month .changes ul { margin: 0; padding-left: 1.1rem; color: var(--soft); font-size: 0.88rem; }

/* coverage */
.cov-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; margin-bottom: 0.9rem; }
.mk { display: inline-block; font-size: 0.72rem; font-weight: 700; padding: 0.1rem 0.45rem; border-radius: 5px; margin: 0.1rem 0.15rem 0.1rem 0;
  background: #243044; color: #B5C0CF; white-space: nowrap; }
.view-chip { font-size: 0.75rem; font-weight: 700; padding: 0.15rem 0.55rem; border-radius: 999px; white-space: nowrap; }
.view-chip.hot { background: rgba(51, 179, 122, 0.16); color: #6BDDA7; }
.view-chip.steady { background: #2A3442; color: var(--soft); }
.view-chip.cold { background: rgba(226, 106, 94, 0.18); color: #F08B80; }
.lg-dot { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 0.45rem; background: var(--c, var(--blue)); }

/* how to use */
.guide { list-style: none; counter-reset: g; margin: 0 0 0.9rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem; }
.guide li { counter-increment: g; background: var(--panel); border-radius: 12px; padding: 1rem 1.1rem; border-top: 3px solid var(--c, var(--blue)); }
.guide li:nth-child(1) { --c: var(--blue); }
.guide li:nth-child(2) { --c: var(--win); }
.guide li:nth-child(3) { --c: var(--gold); }
.guide li:nth-child(4) { --c: #B28CFF; }
.guide li:nth-child(5) { --c: #3FC1C9; }
.guide li:nth-child(6) { --c: #E86AA6; }
.guide li::before { content: counter(g); display: block; font-stretch: 62%; font-weight: 800; font-size: 1.8rem; color: var(--c); line-height: 1;
  margin-bottom: 0.35rem; }
.guide h2 { font-size: 1.02rem; font-stretch: 90%; margin-bottom: 0.3rem; }
.guide p { color: var(--soft); margin: 0; font-size: 0.92rem; }
.stakes-note { border-left: 3px solid var(--gold); }
.stakes-note p { color: var(--soft); margin: 0; max-width: 80ch; }

/* about */
.promise { align-self: start; }
.checks { list-style: none; padding: 0 !important; }
.checks li { position: relative; padding-left: 1.6rem; color: var(--txt); }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.3rem; width: 1rem; height: 1rem; border-radius: 50%;
  background: var(--win); }
.checks li::after { content: ""; position: absolute; left: 0.33rem; top: 0.48rem; width: 0.3rem; height: 0.5rem;
  border: solid #0E1520; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.faq details[open] summary { color: var(--blue); }

/* safety and contact */
.two-even { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; margin-bottom: 0.9rem; }
.two-even.plain { margin: 0; }
.responsible { border-left: 3px solid var(--gold); margin-bottom: 0.9rem; }
.mail-link { display: block; font-stretch: 90%; font-weight: 800; font-size: 1.6rem; color: var(--txt); text-decoration: none;
  margin: 0.2rem 0 0.8rem; overflow-wrap: anywhere; }
.mail-link:hover { color: var(--blue); }
.mail-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.8rem; }
.mail-actions .copy { text-decoration: none; display: inline-block; }
.ghost { font: inherit; font-weight: 700; color: var(--txt); background: transparent; border: 1px solid var(--line); border-radius: 8px;
  padding: 0.6rem 1rem; cursor: pointer; }
.ghost:hover { border-color: var(--soft); }

@media (max-width: 1020px) {
  .guide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cov-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .guide, .two-even { grid-template-columns: 1fr; }
  .row .stack { grid-column: 3; grid-row: 2; }
  .tz { display: none; }
}

/* waiting for prices, the lock note */
.watch { margin-top: 0.2rem; border-left: 3px solid var(--soft); }
.watch ul { list-style: none; padding: 0; margin: 0.6rem 0 0; }
.watch li { display: flex; gap: 0.6rem; flex-wrap: wrap; padding: 0.4rem 0; border-top: 1px solid var(--line); color: var(--txt); }
.watch li span { color: var(--soft); }
.lock-note { color: var(--soft); font-size: 0.85rem; margin: 0.8rem 0 0; display: flex; align-items: center; gap: 0.45rem; }
.lock-note:not(:empty)::before { content: ""; width: 10px; height: 8px; border: 2px solid var(--soft); border-radius: 2px;
  box-shadow: 0 -5px 0 -2px var(--soft); margin-top: 4px; }

/* the audit's purpose */
.audit-why { border-left: 3px solid var(--blue); margin-bottom: 0.9rem; }
.audit-why p { color: var(--soft); max-width: 80ch; }
.audit-why p:last-child { margin-bottom: 0; }

/* what makes it different */
.different { margin-bottom: 0.9rem; }
.diff-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.diff-grid h3 { font-size: 0.95rem; margin: 0 0 0.3rem; color: var(--txt); }
.diff-grid div { border-top: 2px solid var(--win); padding-top: 0.6rem; }
.diff-grid div:nth-child(2) { border-top-color: var(--blue); }
.diff-grid div:nth-child(3) { border-top-color: var(--gold); }
.diff-grid div:nth-child(4) { border-top-color: #B28CFF; }
.diff-grid p { color: var(--soft); font-size: 0.9rem; margin: 0; }

/* the 'likely' table */
.likely-table td, .likely-table th { padding: 0.5rem 0.55rem; }
.likely-table td:first-child b { font-stretch: 75%; font-size: 1.15rem; }
.likely-table td:nth-child(2) { width: 30%; min-width: 7rem; }
.likely-table td { color: var(--soft); }

/* privacy & safety as written text */
.prose-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; margin-bottom: 0.9rem; }
.prose p { color: var(--soft); max-width: 70ch; }
.prose p:last-child { margin-bottom: 0; }
.prose.responsible { border-left: 3px solid var(--gold); }
.fine { margin-top: 0.9rem; }
@media (max-width: 1020px) { .diff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .diff-grid, .prose-grid { grid-template-columns: 1fr; } }
.likely-table td { white-space: nowrap; }
.likely-table td:nth-child(2) { white-space: normal; }

/* the key: what the labels mean */
.key { display: grid; grid-template-columns: 1fr 1fr 0.9fr; gap: 0.4rem 1.4rem; background: var(--panel); border-radius: 12px;
  padding: 0.75rem 1rem; margin: 0 0 0.9rem; font-size: 0.82rem; color: var(--soft); }
.key p { margin: 0.2rem 0; display: flex; align-items: center; gap: 0.5rem; }
.key .key-h { color: var(--txt); font-weight: 700; margin-bottom: 0.35rem; }
.key .tag, .key .take { flex: none; min-width: 6.2rem; text-align: center; justify-self: auto; }
.key-bar { flex: none; position: relative; width: 6.2rem; height: 8px; background: #2F3A49; border-radius: 4px; overflow: hidden; }
.key-bar i { position: absolute; inset: 0 30% 0 0; background: var(--blue); }
.key-bar s { position: absolute; top: 0; bottom: 0; left: 74%; width: 2px; background: var(--loss); }
.key-col:last-child p { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
@media (max-width: 1020px) { .key { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .key { grid-template-columns: 1fr; } }
