/* 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.4rem minmax(0, 1.85fr) minmax(0, 1.45fr) minmax(0, 1.5fr) 3.4rem 7.2rem 5.8rem;
  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 b { display: block; font-weight: 600; }
.pick small { display: block; color: var(--soft); font-size: 0.78rem; }
.row.head { background: none; border-top: 0; padding-top: 0.2rem; padding-bottom: 0.45rem; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--soft); }
.row.head .r { text-align: center; }   /* odds, take and result: headers centred over their column */
.res { justify-self: center; }
.res-tag { font-size: 0.8rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 999px; white-space: nowrap; }
.res-tag.won { background: rgba(51, 179, 122, 0.18); color: #6BDDA7; }
.res-tag.lost { background: rgba(226, 106, 94, 0.18); color: #F08B80; }
.res-tag.void, .res-tag.wait { background: #2A3442; color: var(--soft); }
.res-tag.none { color: var(--soft); padding: 0.2rem 0.4rem; }
.month-name small { display: block; color: var(--soft); font-size: 0.75rem; }
.month-name small.pre { color: var(--gold); }
.prelaunch { border-left: 3px solid var(--gold); padding: 0.2rem 0 0.2rem 0.9rem; margin: 0.4rem 0 0.9rem; }
.prelaunch h3 { font-size: 0.92rem; margin: 0 0 0.3rem; }
.prelaunch p { margin: 0 0 0.4rem; color: var(--soft); }
.prelaunch ul { margin: 0; padding-left: 1.1rem; color: var(--soft); font-size: 0.9rem; }
.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: center; }
.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; }
[hidden] { display: none !important; }   /* the hidden attribute wins over any display rule */
ol.form { padding: 0; margin-left: 0; }
.more-btn { margin: 0.7rem 0 0; }
.form { list-style: none; display: grid; grid-template-columns: repeat(10, minmax(0, 1.9rem)); gap: 0.3rem; 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.2rem minmax(0, 1fr) minmax(0, 1fr) 3.4rem 6rem 5.6rem; }
  .row .chance { grid-column: 2 / 4; grid-row: 2; }
  .row.head span:nth-child(4) { display: none; }
  .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.head { display: none; }
  .row .pick { grid-column: 2; }
  .row .chance { grid-column: 2 / 4; grid-row: auto; }
  .row .price { grid-column: 3; grid-row: 1; }
  .row .stack { grid-column: 3; grid-row: 2; }
  .row .res { grid-column: 1; grid-row: 2; justify-self: start; }
  .form { grid-template-columns: repeat(10, minmax(0, 1fr)); }
  .form li { width: auto; aspect-ratio: 1; height: 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); }
a.mail { font-stretch: 90%; font-weight: 800; font-size: 1.35rem; color: var(--gold); text-decoration: none; word-break: break-all; }
a.mail:hover { text-decoration: underline; }
.mail-link:hover { color: var(--blue); }
.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: center; gap: 0.3rem; justify-self: center; }
.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: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 0.4rem 1.8rem; 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: grid; grid-template-columns: 8rem minmax(0, 1fr); align-items: center; gap: 0.7rem; }
.key p.key-h, .key-side p { display: block; }
.key .key-h { color: var(--txt); font-weight: 700; margin-bottom: 0.35rem; }
.key .tag, .key .take { width: 100%; box-sizing: border-box; text-align: center; justify-self: stretch; }
.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-side { border-left: 1px solid var(--line); padding-left: 1.2rem; }
.bar-demo { display: grid; gap: 0.3rem; margin: 0.1rem 0 0.45rem; }
.bd-top, .bd-cap { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--soft); }
.bd-top b { color: var(--txt); }
.key-bar.wide { width: 100%; }
.key-bar.wide i { inset: 0 20% 0 0; }
.key-bar.wide s { left: 75%; }
.bd-cap .c-blue { color: #9DB8FF; }
.bd-cap .c-red { color: #F08B80; }
.key p.bd-note { display: block; font-size: 0.82rem; color: var(--soft); margin: 0 0 0.7rem; }
.glance { border-top: 1px solid var(--line); padding-top: 0.6rem; }
.key p.g-h { display: block; color: var(--txt); font-weight: 700; margin: 0 0 0.45rem; }
.key p.g-empty { display: block; color: var(--soft); }
.g-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem 0.9rem; }
.g-cell { display: grid; gap: 0.05rem; min-width: 0; }
.g-cell .g-l { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--soft); }
.g-cell b { font-stretch: 80%; font-size: 1.15rem; color: var(--gold); }
.g-cell small { color: var(--soft); font-size: 0.76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1020px) { .key { grid-template-columns: 1fr 1fr; } .key-side { grid-column: 1 / -1; border-left: 0; padding-left: 0; } }
@media (max-width: 760px) { .key { grid-template-columns: 1fr; } }

/* our take when there's no value: neutral, never green */
.take.pass { background: #2A3442; color: var(--soft); }
.take.fair { background: rgba(91, 140, 255, 0.16); color: #9DB8FF; }
.take-sum { margin: 0.2rem 0 0.9rem; }
.take.call-yes { background: rgba(51, 179, 122, 0.12); color: #6BDDA7; border: 1px solid rgba(51, 179, 122, 0.45); }
.take.call-maybe { background: transparent; color: var(--soft); border: 1px solid #3A4656; }
.take.call-no { background: transparent; color: #F08B80; border: 1px solid rgba(226, 106, 94, 0.45); }
.take.call-none { background: transparent; color: var(--soft); border: 1px dashed #3A4656; }
.key .key-h2 { margin-top: 0.7rem; }
.key p.g-sub { margin-top: 0.8rem; }
.safest { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.3rem; }
.safest li { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); column-gap: 0.4rem; font-size: 0.8rem; }
.safest li b { color: var(--gold); font-stretch: 80%; grid-row: span 2; align-self: center; }
.safest li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--txt); }
.safest li small { color: var(--soft); }
.key p.g-note { display: block; font-size: 0.74rem; color: var(--soft); margin: 0.4rem 0 0; }
.take-sum h3 { font-size: 0.92rem; margin: 0 0 0.4rem; }
.take-sum > h3, .take-sum > p { padding: 0 1.05rem; }
.take-sum tr.best td { background: rgba(51, 179, 122, 0.08); }
.take.short { background: rgba(245, 185, 66, 0.14); color: #E9B95A; }
.take.tooshort { background: rgba(226, 106, 94, 0.16); color: #F08B80; }
.reason.pass { color: var(--soft); }
.row.take-pass { border-left-color: #3A4555; }
.noedge { color: var(--gold); margin: 0; }
.stakes-note p + p { margin-top: 0.6rem; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("fonts/inter-tight-latin-ext-wght-normal.woff2") format("woff2"); 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; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("fonts/inter-tight-latin-wght-normal.woff2") format("woff2"); 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: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("fonts/jetbrains-mono-latin-ext-wght-normal.woff2") format("woff2"); 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; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2"); 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; }

/* ===== The ledger look (matches the front page): sharp edges, hairlines, Inter Tight and JetBrains Mono ===== */
:root {
  --bg: #07080A; --panel: #0E1116; --row: #0E1116; --raised: #12161C; --line: #1E242D;
  --txt: #E8EDF3; --soft: #AEB8C6; --blue: #5B8CFF; --gold: #F3C566; --mint: #6FE3B0;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  font-family: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
body { background: var(--bg); }
h1, h2 { letter-spacing: -0.02em; }
.side, .panel, .group, .strip button, .next, .key, .pguide, .glance, .tile, .tiles > *, details, table, input, select { border-radius: 2px !important; }
.tag, .take, .res-tag { border-radius: 2px; }
.strip button { font-family: var(--mono); }
.strip b { font-family: "Inter Tight", sans-serif; }
.strip button[aria-pressed="true"] { border-color: var(--mint); background: #0E1A16; }
.price, .odds, td.num, .g-cell b, .safest li b { font-family: var(--mono); font-stretch: normal; }
nav a[aria-current="page"], .side a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--mint); border-radius: 0 !important; }

/* one ledger for the day's picks: the header lives inside it, so every column lines up */
#groups { border: 1px solid var(--line); background: var(--panel); }
#groups:empty { border: 0; }
#groups .row.head { border-bottom: 1px solid var(--line); padding-top: 0.75rem; padding-bottom: 0.75rem; background: #0B0E12; align-items: center; font-family: var(--mono); font-size: 0.68rem; }
.group { background: transparent; border-radius: 0 !important; margin: 0; border-top: 1px solid var(--line); }
.group:first-of-type { border-top: 0; }
.group h2 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--soft); padding: 0.6rem 1.1rem; background: #0B0E12; }
.group h2 i { border-radius: 0; }
.row { background: transparent; border-top: 1px solid #161B22; transition: background-color 0.15s ease; }
.row:hover { background: #11151B; }

/* the guide: what each signal is for */
.guide-wrap { display: grid; gap: 0.75rem; margin: 0 0 0.9rem; }
.pguide { background: var(--panel); border: 1px solid var(--line); }
.guide-top { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; align-items: center; justify-content: space-between; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--line); }
.guide-title { margin: 0; font-weight: 700; font-size: 0.98rem; }
.guide-toggle { font: inherit; font-family: var(--mono); font-size: 0.74rem; color: var(--soft); background: none; border: 1px solid var(--line); padding: 0.4rem 0.7rem; cursor: pointer; }
.guide-toggle:hover { color: var(--txt); border-color: #2E3742; }
.pguide.closed .guide-body { display: none; }
.pguide.closed .guide-top { border-bottom: 0; }
.guide-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.guide-col { padding: 1rem 1.1rem 1.1rem; border-left: 1px solid var(--line); }
.guide-col:first-child { border-left: 0; }
.g-want { margin: 0; color: var(--soft); font-size: 0.86rem; }
.g-want b { color: var(--txt); }
.g-follow { display: flex; align-items: center; gap: 0.5rem; margin: 0.35rem 0 0.75rem; font-size: 1.05rem; }
.g-follow span { display: inline-grid; place-items: center; width: 1.35rem; height: 1.35rem; background: var(--mint); color: #04130C; font-family: var(--mono); font-size: 0.78rem; }
.g-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.g-list li { display: grid; grid-template-columns: 7.8rem minmax(0, 1fr); gap: 0.7rem; align-items: center; font-size: 0.84rem; color: var(--soft); min-height: 1.85rem; }
.g-list .take, .g-list .tag { width: 100%; box-sizing: border-box; text-align: center; display: inline-flex; justify-content: center; align-items: center; min-height: 1.65rem; padding: 0.2rem 0.4rem; }
.g-foot { margin: 0.7rem 0 0; font-size: 0.78rem; color: #8C97A6; }
.g-foot b { color: var(--txt); font-weight: 600; }
.g-bar { display: grid; gap: 0.3rem; margin-top: 0.8rem; }
.g-bar .bd-top { display: flex; justify-content: space-between; font-size: 0.76rem; color: var(--soft); }

/* at a glance: one row of facts, the safest list beside it */
.glance { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 2rem; row-gap: 0.4rem; background: var(--panel); border: 1px solid var(--line); padding: 0.95rem 1.1rem; }
.glance > p { margin: 0; }
.glance .g-h { font-weight: 700; font-size: 0.92rem; color: var(--txt); grid-column: 1; grid-row: 1; }
.glance .g-grid { grid-column: 1; grid-row: 2 / span 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.6rem 1rem; }
.glance .g-sub { grid-column: 2; grid-row: 1; margin: 0; cursor: help; text-decoration: underline dotted #4A5563; text-underline-offset: 3px; width: fit-content; }
.glance .safest, .glance .g-none { grid-column: 2; grid-row: 2; }
.glance .g-note { grid-column: 2; grid-row: 3; font-size: 0.74rem; color: #8C97A6; }
.glance .g-none, .glance .g-empty { color: var(--soft); font-size: 0.84rem; }
.g-cell .g-l { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; color: #8C97A6; }
.g-cell b { font-size: 1.2rem; color: var(--gold); }
.g-cell small { color: #8C97A6; font-size: 0.74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.safest { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.3rem; }
.safest li { display: grid; grid-template-columns: 2.8rem minmax(0, 1fr); column-gap: 0.4rem; font-size: 0.8rem; }
.safest li b { color: var(--mint); grid-row: span 2; align-self: center; }
.safest li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.safest li small { color: #8C97A6; }
@media (max-width: 900px) {
  .glance { grid-template-columns: minmax(0, 1fr); }
  .glance .g-h, .glance .g-grid, .glance .g-sub, .glance .safest, .glance .g-none, .glance .g-note { grid-column: 1; grid-row: auto; }
  .glance .g-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-col { border-left: 0; border-top: 1px solid var(--line); }
  .guide-col:first-child { border-top: 0; }
}

/* filters above the picks */
.filters { display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 0.75rem; }
.filters button { font: inherit; font-size: 0.84rem; font-weight: 600; color: var(--soft); background: var(--panel); border: 1px solid var(--line); margin-left: -1px; padding: 0.55rem 0.9rem; cursor: pointer; min-height: 2.6rem; }
.filters button:first-child { margin-left: 0; }
.filters button::after { content: attr(data-n); font-family: var(--mono); font-size: 0.72rem; color: #8C97A6; margin-left: 0.45rem; }
.filters button:hover { color: var(--txt); }
.filters button[aria-pressed="true"] { position: relative; z-index: 1; color: #04130C; background: var(--mint); border-color: var(--mint); box-shadow: 3px 3px 0 #2B5C47; }
.filters button[aria-pressed="true"]::after { color: #1C4A37; }

/* tooltips */
.tip { position: absolute; left: var(--x, 0); top: var(--y, 0); z-index: 60; max-width: 19rem; pointer-events: none; opacity: 0;
  transform: translateY(6px) scale(0.97); transform-origin: 50% 100%;
  transition: opacity 0.14s ease, transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  border-radius: 2px; background: #0E1116; border: 1px solid #2E3742; box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.55); padding: 0.6rem 0.75rem; font-size: 0.8rem; line-height: 1.45; color: var(--txt); }
.tip.below { transform: translateY(-6px) scale(0.97); transform-origin: 50% 0; }
.tip.on { opacity: 1; transform: none; }
.tip b { display: block; font-weight: 700; padding-left: 0.55rem; border-left: 2px solid var(--mint); }
.tip ul { margin: 0.4rem 0 0; padding-left: 1.05rem; color: var(--soft); }
.tip li { margin: 0.1rem 0; }
[data-tip], .take[tabindex], .res-tag[tabindex] { cursor: help; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .tip, .row { transition: none; } }

#groups .row .time { white-space: nowrap; }
#groups .row { grid-template-columns: 5.4rem minmax(0, 1.8fr) minmax(0, 1.4fr) minmax(0, 1.5fr) 3.6rem 7.2rem 5.8rem; }
@media (max-width: 1100px) { #groups .row { grid-template-columns: 5.2rem minmax(0, 1fr) minmax(0, 1fr) 3.6rem 7rem 5.6rem; } }
@media (max-width: 760px) { #groups .row { grid-template-columns: 4.6rem minmax(0, 1fr) auto; } }

/* take and call side by side; the type in its own column, shown only when switched on */
#groups .row { grid-template-columns: 5rem minmax(0, 1.6fr) minmax(0, 1.2fr) minmax(0, 1.5fr) 3.4rem 12rem 5.4rem; column-gap: 0.8rem; }
#groups.show-type .row { grid-template-columns: 5rem minmax(0, 1.5fr) minmax(0, 1.1fr) minmax(0, 1.4fr) 3.4rem 12rem 6.2rem 5.4rem; column-gap: 0.8rem; }
#groups .row .typ { display: none; }
#groups.show-type .row .typ { display: flex; justify-content: center; align-items: center; }
#groups .row.head span.typ { display: none; }
#groups.show-type .row.head span.typ { display: block; }
.tc { display: flex; flex-wrap: nowrap; gap: 0.35rem; justify-content: center; align-items: center; justify-self: center; }
.tc .take { white-space: nowrap; font-size: 0.74rem; padding: 0.2rem 0.45rem; }
.typ-none { color: #8C97A6; font-size: 0.8rem; }
.type-toggle { margin-left: auto !important; font-family: var(--mono); font-size: 0.74rem !important; font-weight: 500 !important; }
.type-toggle::after { content: none !important; }
.type-toggle[aria-pressed="true"] { background: var(--raised) !important; color: var(--txt) !important; border-color: #2E3742 !important; box-shadow: none !important; }
.glance .g-together { grid-column: 2; grid-row: 3; display: flex; gap: 0.6rem; align-items: baseline; margin: 0.35rem 0 0; padding-top: 0.45rem; border-top: 1px dashed #2A3340; font-size: 0.8rem; color: var(--soft); }
.glance .g-together b { font-family: var(--mono); color: var(--gold); font-size: 1rem; }
.glance .g-note { grid-row: 4; }
.foot .copyright { flex-basis: 100%; margin: 0.4rem 0 0; font-size: 0.74rem; color: #6F7A88; }
@media (max-width: 1100px) {
  #groups .row { grid-template-columns: 5.2rem minmax(0, 1fr) minmax(0, 1fr) 3.6rem 13rem 5.6rem; }
  #groups.show-type .row { grid-template-columns: 5.2rem minmax(0, 1fr) minmax(0, 1fr) 3.6rem 13rem 6.2rem 5.6rem; }
}
@media (max-width: 760px) {
  #groups .row, #groups.show-type .row { grid-template-columns: 4.6rem minmax(0, 1fr) auto; }
  #groups .row .tc { grid-column: 1 / -1; grid-row: auto; justify-self: start; }
  #groups.show-type .row .typ { grid-column: 3; grid-row: 2; }
  .glance .g-together, .glance .g-note { grid-column: 1; grid-row: auto; }
}

/* the guide's heading: what it is, and how to combine the signals */
.guide-head { display: grid; gap: 0.35rem; max-width: 62rem; }
.guide-sub { margin: 0; font-size: 0.84rem; line-height: 1.5; color: var(--soft); }
.guide-sub b { color: var(--txt); font-weight: 600; }
.guide-top { align-items: flex-start; }
/* a short, quiet footer */
.foot { font-size: 0.76rem; color: #6F7A88; }
.foot-sep { margin: 0 0.35rem 0 0.5rem; padding-left: 0.6rem; border-left: 1px solid var(--line); font-weight: 700; color: var(--soft); }
ol.guide li { border-radius: 2px !important; }
