
.sec-head a.note { text-decoration: none; }
.otd { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; }
.otd-lead { color: var(--ink); font-weight: 600; font-size: 1.02rem; margin: 0 0 .4rem; }
.otd-sum { color: var(--muted); font-size: .85rem; margin: .4rem 0 0; }
.otd-pick { margin-top: .9rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.otd-pick-k { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin-bottom: .45rem; }
.otd-pick-row { display: flex; gap: .5rem; align-items: stretch; }
.otd-pick select, .otd-pick input { font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 10px; padding: .5rem .6rem; min-width: 0; }
.otd-pick input { width: 4.6rem; flex: none; }
.otd-pick select { flex: 1 1 auto; }
.otd-pick .hbtn { flex: none; white-space: nowrap; }

.hlist { list-style: none; margin: .4rem 0 .2rem; padding: 0; }
.hrow { display: flex; flex-direction: column; gap: .05rem; padding: .42rem .6rem .45rem; border-left: 3px solid var(--line-strong); border-bottom: 1px solid var(--line); }
.hrow.hr-W { border-left-color: var(--win); }
.hrow.hr-L { border-left-color: var(--loss); }
.hfix { color: var(--ink); font-weight: 600; font-size: .98rem; line-height: 1.3; }
.hmeta { color: var(--muted); font-size: .75rem; line-height: 1.3; }
.hmore { margin: .5rem 0 0; }
.hmore a { color: var(--muted); font-size: .85rem; }
.hrow-btn { all: unset; display: flex; flex-direction: column; gap: .05rem; width: 100%; cursor: pointer; box-sizing: border-box; }
.hrow-btn:hover .hfix { color: var(--brand-ink); }
.hrow-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.hrow-btn[disabled] { cursor: default; }

.hf { display: inline-grid; place-items: center; width: 1.45rem; height: 1.45rem; border-radius: 50%; font-family: var(--display); font-weight: 700; font-size: .78rem; color: #fff; background: var(--line-strong); }
.hf-W { background: var(--win); color: var(--on-win); }
.hf-L { background: var(--loss); }

.hbtn { display: inline-flex; align-items: center; gap: .4rem; font: inherit; font-family: var(--body); font-weight: 700; font-size: .85rem; cursor: pointer; border-radius: 999px; padding: .55rem 1rem; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--ink); text-decoration: none; line-height: 1.3; }
.hbtn:hover { border-color: var(--brand-ink); color: var(--ink); text-decoration: none; }
.hbtn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hbtn.primary { background: var(--cta); border-color: var(--cta); color: var(--on-cta); }
.hbtn.primary:hover { filter: brightness(1.12); }
.hbtn.ghost { background: transparent; }
.hbtn[disabled] { opacity: .6; cursor: default; }

.nh2h { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; padding: 12px 0 0; margin-top: 12px; border-top: 1px solid var(--line); font-size: .85rem; }
.nh2h-k { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.nh2h-v { font-family: var(--display); font-weight: 700; color: var(--brand-ink); font-size: 1rem; }
.nh2h-form { display: inline-flex; gap: .25rem; }
.nh2h-last { color: var(--muted); }
.nh2h-open { all: unset; cursor: pointer; color: var(--muted); font-size: .8rem; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.nh2h-open:hover { color: var(--ink); }
.nh2h-open:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.nh2h-more { color: var(--ink); font-weight: 600; margin-left: auto; }

.hist-line { all: unset; box-sizing: border-box; display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; cursor: pointer; font-size: .8rem; color: var(--muted); width: 100%; }
.hist-line[disabled] { cursor: default; }
.hist-line:hover .hl-v { color: var(--ink); }
.hist-line:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.hl-k { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); opacity: .8; }
.hl-v { font-weight: 600; color: var(--ink); }
.hl-form { display: inline-flex; gap: .2rem; }
.hl-form .hf { width: 1.15rem; height: 1.15rem; font-size: .62rem; }
.fx-hist { padding: 0 20px 11px 226px; margin-top: -6px; }
.fx.nocp + .fx-hist { padding-left: 226px; }
.res-hist { padding: 10px 20px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .015); }
.pk-hist { margin-top: 6px; }
@media (max-width: 560px) {
  .fx-hist { padding: 0 14px 10px 14px; }
  .fx.nocp + .fx-hist { padding-left: 14px; }
  .res-hist { padding: 9px 14px; }
}

body.hmodal-open { overflow: hidden; }
.hmodal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-end; justify-content: center; }
.hmodal[hidden] { display: none !important; }
.hmodal-back { position: absolute; inset: 0; background: rgba(5, 5, 10, .72); backdrop-filter: blur(3px); }
.hmodal-card { position: relative; width: 100%; max-width: 560px; max-height: 88vh; overflow: auto; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 18px 18px 0 0; padding: 0 1.2rem 1.6rem; color: var(--ink); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); transition: transform .18s ease; }
.hmodal-card.dragging { transition: none; }
.hmodal-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: center; height: 2.4rem; margin: 0 -1.2rem .5rem; padding: 0 1.2rem; background: var(--surface); touch-action: none; cursor: grab; }
.hmodal-grip { width: 2.6rem; height: .3rem; border-radius: 999px; background: rgba(255, 255, 255, .22); }
.hmodal-card .muted { color: var(--muted); font-size: .9rem; }
@media (min-width: 640px) { .hmodal { align-items: center; padding: 1.2rem; } .hmodal-card { border-radius: 18px; } }
.hmodal-x { position: absolute; top: .3rem; right: .6rem; font: inherit; font-size: 1.5rem; line-height: 1; background: rgba(255, 255, 255, .06); border: 0; border-radius: 50%; width: 2rem; height: 2rem; color: var(--muted); cursor: pointer; }
.hmodal-x:hover { color: var(--ink); background: rgba(255, 255, 255, .12); }
.hd-board { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .6rem; padding: 1.1rem 0 .6rem; }
.hd-team { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.05rem; line-height: 1.1; color: var(--muted); text-align: center; overflow-wrap: anywhere; }
.hd-team.us { color: var(--ink); }
.hd-score { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .9rem; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font-family: var(--display); font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--ink); }
.hd-score i { font-style: normal; color: var(--muted); font-size: 1.6rem; }
.hd-board.hr-W .hd-score { border-color: color-mix(in srgb, var(--win) 45%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--win) 8%, transparent); }
.hd-board.hr-L .hd-score { border-color: color-mix(in srgb, var(--loss) 50%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--loss) 8%, transparent); }
.hd-tag { display: flex; justify-content: center; gap: .6rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted); margin-bottom: .8rem; }
.hd-tag .hd-res { padding: .15rem .55rem; border-radius: 999px; background: var(--line-strong); color: #fff; }
.hd-tag.hr-W .hd-res { background: var(--win); color: var(--on-win); }
.hd-tag.hr-L .hd-res { background: var(--loss); }
.hd-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; margin: 0 0 1rem; }
.hd-chips span { font-size: .76rem; color: var(--ink); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 999px; padding: .2rem .6rem; }
.hd-stats { margin: .2rem 0 1rem; padding: .3rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hd-stat { display: grid; grid-template-columns: 3rem 1fr 3rem; align-items: center; gap: .4rem; padding: .42rem 0; }
.hd-n { font-family: var(--display); font-weight: 600; font-size: 1.25rem; text-align: center; color: var(--muted); }
.hd-n.hi { color: var(--ink); font-weight: 700; }
.hd-mid { display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.hd-lbl { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; }
.hd-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; width: 100%; height: 5px; }
.hd-bar i { display: block; height: 100%; border-radius: 3px; }
.hd-bar .l { justify-self: end; background: rgba(255, 255, 255, .6); }
.hd-bar .r { justify-self: start; background: rgba(255, 255, 255, .3); }
.hd-odds { margin: 0 0 1rem; text-align: center; }
.hd-odds-k { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin-bottom: .4rem; }
.hd-odds-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.hd-odds-row span { display: flex; flex-direction: column; align-items: center; padding: .45rem .3rem; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.hd-odds-row span small { font-family: var(--body); font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin-bottom: .1rem; }
.hd-odds-row span.on { border-color: color-mix(in srgb, var(--brand-ink) 60%, transparent); background: color-mix(in srgb, var(--brand-ink) 10%, transparent); color: var(--brand-ink); }
.hd-quip { display: block; margin-top: .5rem; color: var(--brand-ink); font-weight: 600; font-size: .9rem; }
.hd-ctx { display: block; margin: 0; }
.hd-c { display: grid; grid-template-columns: 7.2rem 1fr; gap: .6rem; align-items: baseline; padding: .45rem 0; border-top: 1px solid var(--line); }
.hd-c dt { font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; }
.hd-c dd { margin: 0; color: var(--ink); font-size: .92rem; font-family: var(--body); } 
.hd-c-form dd { display: flex; gap: .25rem; }
.hd-more { margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }

.history main { max-width: 760px; margin: 0 auto; padding: calc(var(--nav-h) + 1.6rem) 1.5rem 4rem; }
.history h1 span { color: var(--cta); }
.history .lead { color: var(--ink); font-size: 1.02rem; margin: 0 0 .8rem; }
.history .hsum { color: var(--muted); font-size: .92rem; margin: .3rem 0; }
.history .muted { color: var(--muted); font-size: .85rem; }
section.hcard { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem 1.5rem; margin-bottom: 1.25rem; }
.hcard h2 { font-family: var(--display); font-size: 1.35rem; font-weight: 600; text-transform: uppercase; color: var(--ink); margin: 0 0 .5rem; }
.hcard h3 { font-family: var(--display); font-size: 1rem; font-weight: 600; text-transform: uppercase; color: var(--muted); margin: 1rem 0 .4rem; letter-spacing: .04em; }
.hpick { display: flex; flex-wrap: wrap; gap: .5rem; align-items: end; margin: .4rem 0 1rem; }
.hpick label { display: flex; flex-direction: column; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; gap: .25rem; min-width: 0; }
.hpick select, .hpick input { font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 10px; padding: .55rem .6rem; min-width: 0; width: 100%; }
.hpick .h-in { flex: 1 1 100%; display: flex; gap: .5rem; }
.hpick .h-in label:nth-child(1) { flex: 0 0 4.4rem; }
.hpick .h-in label:nth-child(2) { flex: 1 1 auto; }
.hpick .h-in label:nth-child(3) { flex: 0 0 5.6rem; }
.hpick .h-go { flex: 1 1 100%; display: flex; gap: .5rem; }
.hpick .h-go .hbtn.primary { flex: 1 1 auto; justify-content: center; }
.hpick label.h-opp { flex: 1 1 100%; }
.hhint { color: var(--muted); font-size: .8rem; margin: -.4rem 0 .8rem; }
.hquick { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.1rem; }
.hq { font: inherit; font-size: .78rem; font-weight: 600; cursor: pointer; white-space: nowrap; background: var(--surface-2); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 999px; padding: .38rem .8rem; }
.hq:hover { border-color: var(--brand-ink); }
.hq[aria-pressed="true"] { background: var(--cta); border-color: var(--cta); color: var(--on-cta); }
.hq:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hactions { margin-top: .8rem; }
.hrec { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem .6rem; margin: .2rem 0 .8rem; }
.hrec-n { font-family: var(--display); font-size: 1.7rem; font-weight: 700; color: var(--brand-ink); letter-spacing: .02em; line-height: 1.1; }
.hrec-f { display: flex; gap: .3rem; }
.history .hf { width: 1.7rem; height: 1.7rem; font-size: .9rem; }
.history .hl-form .hf { width: 1.15rem; height: 1.15rem; font-size: .62rem; }
.hcoverage { color: var(--muted); font-size: .8rem; margin-top: 1.2rem; }
#h-h2h { scroll-margin-top: calc(var(--nav-h) + .8rem); }
.hcredit { color: var(--muted); font-size: .78rem; margin-top: .6rem; }
@media (max-width: 560px) {
  .history main { padding-left: 1rem; padding-right: 1rem; }
  section.hcard { padding: 1.1rem 1rem; }
  .history .lead { font-size: .98rem; }
}
