/* PL Fair Price. Brand: pink #ff87a6, black, white. Tiny accents: lavender #a293ff, cyan #18daeb.
   Rubik for headers (900 display), Figtree for body. No overflow-x tricks: layout is built to fit. */

:root {
  --pink: #ff87a6;
  --pink-soft: rgba(255, 135, 166, .16);
  --pink-seg: rgba(255, 135, 166, .38);
  --cyan: #18daeb;
  --lav: #a293ff;
  --ink: #0a0a0a;
  --ink-2: #4b4b54;
  --ink-3: #85858f;
  --line: #ececf0;
  --panel: #f6f6f8;
  --gutter: 16px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 15px/1.45 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 940px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- hero ---------- */
.hero { background: #fff; border-bottom: 1px solid var(--line); padding: 14px 0 20px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "eyebrow eyebrow" "title title" "by deek" "tag deek" "dl deek" "live deek";
  column-gap: 14px;
  align-items: start;
}
.eyebrow { grid-area: eyebrow; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.wm { display: inline-block; width: auto; height: 20px; }
.title { grid-area: title; margin-top: 10px; font: 900 clamp(30px, 9.2vw, 56px)/1.08 'Rubik', 'Figtree', sans-serif; letter-spacing: -.02em; }
.hl {
  background: linear-gradient(transparent 64%, var(--pink) 64%, var(--pink) 90%, transparent 90%);
  padding: 0 .08em;
  margin: 0 -.08em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.by { grid-area: by; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.by a { text-decoration: none; border-bottom: 2px solid var(--pink); }
.tagline { grid-area: tag; margin-top: 8px; font-size: 14.5px; line-height: 1.4; color: var(--ink-2); max-width: 46ch; }
.deek { grid-area: deek; grid-row: 3 / 6; align-self: center; }
.deek img { width: 108px; height: 108px; border-radius: 18px; border: 2px solid var(--ink); }

.deadline { grid-area: dl; margin-top: 12px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.dl-label { font: 800 13px/1 'Rubik', sans-serif; letter-spacing: .01em; }
.dl-boxes { display: flex; gap: 5px; }
.dl-box { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 38px; padding: 5px 6px 4px; background: #000; color: #fff; border-radius: 8px; }
.dl-box b { font: 900 18px/1 'Rubik', sans-serif; font-variant-numeric: tabular-nums; }
.dl-box i { margin-top: 2px; font: 600 9px/1 'Figtree', sans-serif; font-style: normal; letter-spacing: .08em; color: var(--pink); }
.dl-done { font: 700 14px/1 'Rubik', sans-serif; color: var(--ink-3); }
.livebar { grid-area: live; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 10px; font-size: 12px; color: var(--ink-3); }
.odds-label { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; }
.odds-label select { max-width: 108px; padding: 4px 22px 4px 7px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- sections ---------- */
.sample { margin: 14px 0 0; padding: 8px 12px; border-radius: 10px; background: rgba(162, 147, 255, .18); font-size: 13px; font-weight: 600; }
.sec { padding: 26px 0 4px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 14px; margin-bottom: 12px; }
.sec-head > div { min-width: 0; }
.sec h2 { font: 900 24px/1.1 'Rubik', sans-serif; letter-spacing: -.01em; }
.sec-sub { margin-top: 4px; font-size: 13px; color: var(--ink-3); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  appearance: none; cursor: pointer;
  min-height: 34px; padding: 0 14px;
  border: 1.5px solid var(--ink); border-radius: 999px; background: #fff;
  font: 600 13px/1 'Figtree', sans-serif;
}
.pill.is-on { background: var(--ink); color: #fff; }
.pill:focus-visible, .trade:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }
.empty { padding: 18px 14px; border: 1px dashed var(--line); border-radius: 14px; color: var(--ink-3); font-size: 14px; }
.search { display: block; margin: 10px 0 14px; }
.search input { width: 100%; min-height: 42px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); font: inherit; }
.search input:focus { outline: 3px solid var(--pink-soft); border-color: var(--pink); }

.list { display: grid; gap: 8px; }
.group { margin-top: 18px; }
.group:first-child { margin-top: 4px; }

/* fixture group header */
.ghead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 12px; margin: 0 2px 8px; }
.gmatch { display: flex; align-items: center; gap: 8px; min-width: 0; }
.gname { font: 800 16px/1.2 'Rubik', sans-serif; min-width: 0; overflow-wrap: anywhere; }
.crest { width: 24px; height: 24px; flex: none; object-fit: contain; }
.gmeta { font-size: 12.5px; font-weight: 600; color: var(--ink-3); }

/* ---------- market row ---------- */
.mrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "q q" "cmp act" "meta meta";
  column-gap: 12px;
  align-items: center;
  padding: 9px 12px 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  min-width: 0;
}
.mrow.is-gap { box-shadow: inset 4px 0 0 var(--pink); }
.q { grid-area: q; font: 600 15px/1.25 'Figtree', sans-serif; min-width: 0; overflow-wrap: anywhere; }
.qt { margin-right: 6px; }
.ours { display: inline-block; vertical-align: 1px; padding: 2px 7px; border-radius: 999px; background: rgba(162, 147, 255, .22); color: #2b2278; font: 700 10.5px/1.3 'Figtree', sans-serif; letter-spacing: .03em; text-transform: uppercase; }

/* 0-100 track: grey line, XO pink dot, Fair black ring, light-pink segment between them */
.cmp { grid-area: cmp; margin-top: 5px; min-width: 0; }
.track { padding: 0 7px; }
.rail { position: relative; height: 14px; }
.rail::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; background: #dcdce2; }
.seg { position: absolute; top: 50%; height: 8px; margin-top: -4px; border-radius: 8px; background: var(--pink-seg); }
.dot, .ring { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; }
.dot { background: var(--pink); }
.ring { border: 2.5px solid #000; box-shadow: 0 0 0 1.5px #fff; }
.ring.rough { border: 2.5px dashed #9a9aa4; background: #fff; }
.seg.rough { background: #e8e8ed; }
.vals { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; font-size: 13px; line-height: 17px; }
.v-xo, .v-fair { flex: none; font-weight: 700; }
.v-xo { color: var(--pink); }
.v-fair { color: #000; }
.v-fair.rough { color: var(--ink-3); font-weight: 600; }
.v-xo.none, .v-fair.none { color: var(--ink-3); font-weight: 600; font-size: 12.5px; }

.chip { display: inline-block; max-width: 100%; padding: 2px 9px; border-radius: 999px; background: rgba(24, 218, 235, .16); color: #08353a; font: 600 11px/1.25 'Figtree', sans-serif; text-align: center; }
.chip-d { display: none; }

.act { grid-area: act; align-self: center; margin-top: 5px; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.win { padding: 0; border: 0; background: none; cursor: pointer; color: var(--ink); font: 700 11px/1.2 'Figtree', sans-serif; text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: 2px; }
.trade {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px 0 13px;
  border-radius: 999px; background: #000; color: #fff; text-decoration: none; white-space: nowrap;
  font: 600 12.5px/1 'Figtree', sans-serif;
}
.trade .wm { height: 18px; width: auto; }
.trade:hover { background: #1b1b1f; }
.in-play { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--line); color: var(--ink-2); font: 600 12.5px/1 'Figtree', sans-serif; white-space: nowrap; }
.pays-out { display: none; }

/* closes / liquidity / how we priced it: one flex line, the toggle drops below only when it does not fit */
.meta { grid-area: meta; margin-top: 5px; display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; min-width: 0; }
.mi { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; font-size: 12.5px; line-height: 17px; color: var(--ink-2); min-width: 0; }
.mi span { white-space: nowrap; }
.mi .chip { margin-right: -2px; }
.why { margin-left: auto; min-width: 0; }
.why[open] { flex: 0 0 100%; margin-left: 0; order: 2; }
.why summary {
  display: block; width: fit-content; cursor: pointer; list-style: none;
  padding: 0; font-size: 12.5px; line-height: 17px; font-weight: 700; color: var(--ink); white-space: nowrap;
}
.why[open] summary { margin-top: 4px; }
.why summary::-webkit-details-marker { display: none; }
.why summary::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 2px 7px; border-right: 2px solid var(--pink); border-bottom: 2px solid var(--pink); transform: rotate(45deg); transition: transform .15s; }
.why[open] summary::after { transform: rotate(-135deg); margin-bottom: -2px; }
.why-body { margin-top: 6px; padding: 10px 12px; border-radius: 10px; background: var(--panel); font-size: 13px; color: var(--ink-2); min-width: 0; }
.why-body p + p, .why-body ul + p { margin-top: 8px; }
.why-rough { font-weight: 700; color: var(--ink); }
.why-pays { font-size: 12px; color: var(--ink-3); }
.why-text { overflow-wrap: anywhere; }
.inputs { margin-top: 8px; display: grid; gap: 4px; }
.inputs li { overflow-wrap: anywhere; }
.in-l { font-weight: 700; color: var(--ink); }
.in-src { margin-left: 6px; font-size: 12px; font-weight: 700; color: var(--ink); text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 2px; }
.conf { display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: 12.5px; }
.resolution, .calc { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.resolution h4, .calc h4 { margin: 0 0 6px; color: var(--ink); font-size: 13px; }
.resolution-text { white-space: pre-line; }
.calc-controls { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.calc-controls > input { width: 72px; padding: 6px 8px; border: 1px solid #d5d5dc; border-radius: 8px; font: inherit; }
.stake-chips { display: flex; gap: 4px; }
.stake-chips button, .toggle { padding: 5px 7px; border: 1px solid #d5d5dc; border-radius: 8px; background: #fff; cursor: pointer; font: 700 11px 'Figtree', sans-serif; }
.toggle.is-on { background: #000; color: #fff; }
.calc-out { margin-top: 8px; display: grid; gap: 2px; font-size: 12.5px; }
.edge { color: var(--ink); font-weight: 700; white-space: normal !important; }
.book-vals { flex-wrap: wrap; }
.value-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 14px; font-size: 12.5px; }
.value-row a { font-weight: 700; overflow-wrap: anywhere; }
.value-row > span, .value-row > .research { grid-column: 1 / -1; }
.value-row > span:last-of-type { color: var(--ink-2); }
.cdot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.cdot.c-high { background: var(--ink); }
.cdot.c-medium { background: var(--lav); }
.cdot.c-low { background: #cfcfd6; }

.unpriced { margin-top: 10px; }
.unpriced > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; list-style: none; padding: 12px 14px; border-radius: 14px; background: var(--panel); font-weight: 700; font-size: 13.5px; line-height: 1.3; }
.unpriced > summary::-webkit-details-marker { display: none; }
.unpriced > summary::after { content: ""; flex: none; width: 7px; height: 7px; margin-bottom: 3px; border-right: 2px solid var(--pink); border-bottom: 2px solid var(--pink); transform: rotate(45deg); transition: transform .15s; }
.unpriced[open] > summary::after { transform: rotate(-135deg); margin-bottom: -3px; }
.unpriced > .list { margin-top: 8px; }
.unpriced > summary:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }

/* ---------- page nav, link card, legend ---------- */
.topnav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.navlink {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px;
  border: 1.5px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink);
  font: 600 13px/1 'Figtree', sans-serif; text-decoration: none;
}
.navlink.is-on { background: var(--ink); color: #fff; }
.navlink:hover { background: var(--pink-soft); }
.navlink.is-on:hover { background: #1b1b1f; }
.navlink:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }

.gwcard {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center;
  margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: var(--pink); color: #000; text-decoration: none;
}
.gwcard:hover { background: #ff7a9d; }
.gwcard:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.gwcard-t { grid-column: 1; font: 800 16px/1.2 'Rubik', sans-serif; }
.gwcard-s { grid-column: 1; margin-top: 2px; font-size: 13px; font-weight: 600; }
.gwcard-go { grid-column: 2; grid-row: 1 / 3; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #000; color: #fff; font-size: 18px; line-height: 1; }
/* XO call to action: the trade pill with a sign-up link beside it */
.xo-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 14px; }
.xo-signup { font-size: 13px; font-weight: 700; color: var(--ink); text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legend { margin-top: 6px; font-size: 12.5px; color: var(--ink-2); }
.legend b { color: var(--ink); font-weight: 700; }

/* ---------- receipts ---------- */
.rc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rc-head > div { min-width: 0; }
.rc-deek { width: 60px; height: 80px; flex: none; }
.rc-line { margin-bottom: 8px; font: 800 16px/1.3 'Rubik', sans-serif; }
.rc-sub { margin: 0 0 8px; font: 800 14px/1.3 'Rubik', sans-serif; }
.rc-note { margin: -4px 0 10px; font-size: 12.5px; color: var(--ink-2); }
.rc-text { margin-top: 5px; font-size: 13px; color: var(--ink-2); }
.rc-text b { color: var(--ink); }
.rcard .outcome { text-align: center; max-width: 110px; line-height: 1.2; }
.rc-all p.rc-text { margin-top: 5px; padding: 0; background: none; font-size: 13px; font-weight: 400; }
.rc-all .rc-note { margin: 8px 0 10px; padding: 0; background: none; font-size: 12.5px; font-weight: 400; color: var(--ink-2); }
.brier { margin: 0 0 12px; }
.brier summary { display: block; width: fit-content; cursor: pointer; list-style: none; font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.brier summary::-webkit-details-marker { display: none; }
.brier summary::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 2px 7px; border-right: 2px solid var(--pink); border-bottom: 2px solid var(--pink); transform: rotate(45deg); }
.brier[open] summary::after { transform: rotate(-135deg); margin-bottom: -2px; }
.brier p { margin-top: 6px; padding: 8px 12px; border-radius: 10px; background: var(--panel); font-size: 13px; font-weight: 600; }
.brier p + p { margin-top: 4px; background: none; padding: 0 12px; font-weight: 400; font-size: 12px; color: var(--ink-3); }
.rcard { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 14px; }
.rc-main { min-width: 0; }
.rc-nums { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 6px; font-size: 13px; }
.rc-nums > span { display: inline-flex; align-items: center; gap: 6px; }
.tick { position: relative; display: inline-block; flex: none; width: 16px; height: 16px; border-radius: 50%; background: #000; }
.tick::after { content: ""; position: absolute; left: 5px; top: 3px; width: 4px; height: 7px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.outcome { flex: none; padding: 6px 13px; border-radius: 999px; font: 800 12px/1 'Rubik', sans-serif; }
.outcome.yes { background: var(--pink); color: #000; }
.outcome.no { background: #000; color: #fff; }
.outcome.flat { background: var(--panel); color: var(--ink-2); }

/* live match marker */
.live { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 8px; border-radius: 999px; background: var(--pink); color: #000; font: 800 10.5px/1 'Rubik', sans-serif; letter-spacing: .08em; text-transform: uppercase; animation: pulse 1.6s ease-out infinite; }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #000; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 135, 166, .65); } 70% { box-shadow: 0 0 0 9px rgba(255, 135, 166, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 135, 166, 0); } }
.gnote { flex: 0 0 100%; font-size: 12px; color: var(--ink-3); }

/* ---------- footer ---------- */
.foot { margin-top: 44px; padding: 30px 0 40px; background: #000; color: #d8d8de; font-size: 13.5px; }
.foot a { color: #fff; text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.foot-on { display: flex; align-items: center; gap: 10px; font: 700 15px/1 'Rubik', sans-serif; color: #fff; }
.foot-on .wm { height: 28px; }
.foot-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 22px; }
.foot h3 { margin-bottom: 8px; font: 800 14px/1.2 'Rubik', sans-serif; color: #fff; }
.foot li + li { margin-top: 5px; }
.foot p, .foot li { overflow-wrap: anywhere; }
.foot-by { margin-top: 24px; color: #fff; }
.foot-na { margin-top: 4px; color: #9a9aa4; }
.changelog { margin-top: 18px; }
.changelog summary { cursor: pointer; width: fit-content; font-weight: 700; color: #fff; }
.changelog ul { margin-top: 8px; display: grid; gap: 6px; color: #b4b4bd; overflow-wrap: anywhere; }
.changelog b { color: var(--pink); }

/* ---------- wider screens ---------- */
@media (min-width: 720px) {
  :root { --gutter: 24px; }
  .hero { padding: 20px 0 28px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 200px; column-gap: 32px; }
  .tagline { font-size: 16px; }
  .deek { grid-row: 2 / 6; }
  .deek img { width: 200px; height: 200px; border-radius: 24px; }
  .title { margin-top: 14px; }
  .dl-label { font-size: 14px; }
  .dl-box { min-width: 46px; padding: 7px 8px 6px; }
  .dl-box b { font-size: 22px; }

  .sec { padding-top: 40px; }
  .sec h2 { font-size: 30px; }

  .mrow {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto;
    grid-template-areas: "q cmp act" "mi cmp act" "why why why";
    column-gap: 22px; padding: 12px 16px 8px;
  }
  .cmp { margin-top: 2px; }
  .act { margin-top: 0; gap: 4px; }
  .meta { display: contents; }
  .mi { grid-area: mi; margin-top: 6px; }
  .why, .why[open] { grid-area: why; margin: 4px 0 0; order: 0; }
  .why[open] summary { margin-top: 0; }
  .mi .chip-m { display: none; }
  .chip-d { display: inline-block; flex: 0 1 auto; min-width: 0; }
  .pays-out { display: block; font-size: 11.5px; color: var(--ink-3); white-space: nowrap; }
  .why-pays { display: none; }

  .foot-cols { grid-template-columns: 1.4fr 1fr; gap: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .live { animation: none; }
}

/* ---------- simplification pass ---------- */
/* The "?" sits inline after its term, centred on the letters, with room on both sides so brackets never touch it. */
.explained { display: inline; }
.explainer { position: relative; top: -.08em; display: inline-flex; vertical-align: middle; margin: 0 .12em 0 .32em; }
.explainer-button {
  display: inline-grid; place-items: center; width: 17px; height: 17px; padding: 0;
  border: 1px solid #b9b9c2; border-radius: 50%; background: #fff; color: var(--ink-2);
  font: 800 11px/1 'Figtree', sans-serif; cursor: help;
}
.sec h2 .explainer-button { width: 19px; height: 19px; font-size: 12px; }
.explainer-button:hover, .explainer-button:focus-visible { border-color: var(--ink); color: var(--ink); outline: 2px solid var(--pink-soft); }
/* Doubled class keeps the tip white whatever row it sits in. */
.explainer-pop.explainer-pop {
  position: fixed; z-index: 50; width: min(260px, calc(100vw - 16px)); padding: 9px 11px;
  border-radius: 10px; background: #000; color: #fff; box-shadow: 0 5px 20px rgba(0, 0, 0, .2);
  font: 500 13px/1.4 'Figtree', sans-serif; text-align: left;
}
.value-row .research { margin-top: 2px; }
.eleven-line { display: flex; align-items: center; gap: 6px; color: var(--ink-3); font-size: 11.5px; min-width: 0; overflow-wrap: anywhere; }
.eleven-badge { flex: none; display: inline-block; padding: 2px 7px; border: 1px solid #aaaab4; border-radius: 999px; color: var(--ink-2); font: 700 10px/1.2 'Figtree', sans-serif; }

.group { margin-top: 12px; border: 1px solid var(--line); border-radius: 15px; background: var(--panel); overflow: clip; }
.group:first-child { margin-top: 4px; }
.group > .ghead {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px;
  margin: 0; padding: 12px 38px 12px 13px; cursor: pointer; list-style: none; position: relative;
}
.group > .ghead::-webkit-details-marker { display: none; }
.group > .ghead::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; margin-top: -6px;
  border-right: 2px solid var(--pink); border-bottom: 2px solid var(--pink); transform: rotate(45deg);
}
.group[open] > .ghead::after { margin-top: -2px; transform: rotate(-135deg); }
.group[open] > .ghead { border-bottom: 1px solid var(--line); background: #fff; }
.group > .list { padding: 8px; background: #fff; }
.group-notes { display: grid; gap: 5px; padding: 8px 12px 0; background: #fff; }
.group-notes:empty { display: none; }
.group-notes + .list { padding-top: 8px; }
.gmeta { max-width: 100%; text-align: right; }

.mrow {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "q q" "close close" "prices verdict" "act act" "details details";
  gap: 7px 12px; align-items: center; padding: 13px; border-radius: 14px;
}
.mrow .q { grid-area: q; }
.market-title { color: var(--ink); text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.closes { grid-area: close; color: var(--ink-3); font-size: 12px; }
.price-pair { grid-area: prices; display: flex; gap: 9px; min-width: 0; }
.price { display: flex; min-width: 62px; flex-direction: column; }
.price i { color: var(--ink-3); font-size: 10.5px; font-style: normal; font-weight: 600; }
.price b { margin-top: 1px; font: 900 22px/1 'Rubik', sans-serif; }
.xo-price b { color: #d84970; }
.verdict { grid-area: verdict; justify-self: end; display: inline-block; padding: 5px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 800; text-align: center; }
.verdict.good { background: #dff5e6; color: #135b2c; }
.verdict.neutral { background: #ececf0; color: var(--ink-2); }
.rough-tag { display: inline-flex; margin-left: 6px; padding: 2px 6px; border-radius: 999px; background: #ececf0; color: var(--ink-2); font: 600 10px/1.2 'Figtree', sans-serif; vertical-align: 1px; }
.rough-tag .explainer-button { width: 14px; height: 14px; font-size: 9px; }
.mrow .act { grid-area: act; flex-direction: row; justify-content: space-between; align-items: center; margin-top: 1px; }
.mrow .why { grid-area: details; margin: 0; }
.mrow .why[open] { margin: 0; }
.mrow .why summary { font-size: 12px; }
.why-body { margin-top: 7px; padding: 12px; }
.detail-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.detail-stats p { display: flex; flex-direction: column; min-width: 0; }
.detail-stats p + p { margin: 0; }
.detail-stats b { margin-top: 2px; color: var(--ink); overflow-wrap: anywhere; }
.detail-stats .detail-wide { grid-column: 1 / -1; display: block; color: var(--ink-3); }
.worked { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.worked > summary, .calc-maths > summary { cursor: pointer; width: fit-content; font-size: 12px; font-weight: 700; color: var(--ink); }
.worked-body { margin-top: 8px; }
.worked-body p + p, .worked-body ul + p { margin-top: 7px; }
.calc-win { color: var(--ink); font-size: 15px; font-weight: 800; }
.calc-worth { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; font-weight: 700; }
.calc-worth.positive { color: #147036; }
.calc-worth.negative { color: #9d243d; }
.calc-worth.neutral { color: var(--ink-3); }
.calc-maths { margin-top: 7px; }
.calc-maths-body { margin-top: 6px; color: var(--ink-3); font-size: 12px; }
.fill-note { color: #9d243d; }

.my-list { display: grid; gap: 9px; }
.my-card { border: 1px solid var(--line); border-radius: 15px; background: #fff; overflow: clip; }
.my-card > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 13px; cursor: pointer; list-style: none; }
.my-card > summary::-webkit-details-marker { display: none; }
.my-card[open] > summary { border-bottom: 1px solid var(--line); }
.my-summary-main { min-width: 0; }
.my-summary-main > .market-title { display: block; font-weight: 700; overflow-wrap: anywhere; }
.my-meta { display: block; margin-top: 4px; color: var(--ink-3); font-size: 11.5px; }
.my-summary-price { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.my-summary-price > b { font: 800 14px/1 'Rubik', sans-serif; white-space: nowrap; }
.my-body { display: grid; gap: 13px; padding: 13px; background: var(--panel); }
.my-call { padding: 11px 12px; border-radius: 11px; background: #fff; }
.my-call h3 { font: 800 13px/1.2 'Rubik', sans-serif; }
.my-call p { margin-top: 5px; color: var(--ink-2); font-size: 13.5px; }
.my-body .price-pair { grid-area: auto; }
.my-actions { display: flex; }
.market-poster { width: min(100%, 540px); margin: 2px auto 0; border-radius: 13px; }
.foot-method { margin-top: 20px; }
.foot-method > summary { cursor: pointer; width: fit-content; color: #fff; font-weight: 800; }
.foot-method .foot-cols { margin-top: 13px; }

@media (min-width: 720px) {
  .mrow { grid-template-columns: minmax(0, 1.3fr) minmax(170px, .65fr) auto; grid-template-areas: "q prices act" "close verdict act" "details details details"; column-gap: 24px; padding: 14px 16px; }
  .mrow .act { flex-direction: column; justify-content: center; align-items: flex-end; margin: 0; }
  .detail-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .my-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .my-card > summary { min-height: 128px; }
  .my-card[open] { grid-column: 1 / -1; }
  .my-card[open] .my-body { grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); align-items: start; }
  .my-card[open] .market-poster { grid-column: 2; grid-row: 1 / 6; }
  .my-card[open] .my-call, .my-card[open] .price-pair, .my-card[open] .my-actions, .my-card[open] .calc { grid-column: 1; }
}
