/* Главная использует палитру, шрифты и размеры контейнера общей темы. */
.ov-home {
  --ov-line:color-mix(in srgb,var(--hud-line) 72%,var(--hud-bg));
  --ov-paper:color-mix(in srgb,var(--hud-panel) 83%,var(--hud-bg));
  --ov-blue:var(--palette-cyan);
  --ov-control-hover:color-mix(in srgb,var(--hud-muted) 50%,var(--ov-paper));
  --ov-control-focus:color-mix(in srgb,var(--hud-muted) 86%,var(--ov-paper));
}
.ov-home [hidden] { display:none!important }
.ov-home :is(.ov-overview,.ov-hub,.ov-explore) a:focus-visible,.ov-home button:focus-visible { outline:2px solid var(--hud-accent); outline-offset:2px }
.ov-home button { cursor:pointer }
.ov-mast { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:26px 0 22px }
body.ov-home .ov-mast .hm-title { font-size:clamp(30px,3.3vw,49px)!important; line-height:1.12!important; letter-spacing:-.025em!important; color:var(--hud-text)!important }
.ov-mast .hm-title em { text-transform:none }
.ov-mast h1 em { color:var(--hud-accent); font-style:normal }
.ov-mast p { margin:7px 0 0; font-size:14px; color:var(--hud-muted) }
.ov-mast p span { margin:0 5px }
.ov-mast .hm-find { flex-basis:355px; min-width:0; position:relative; z-index:4 }
.ov-mast .hm-find-box { padding:0 14px; min-height:45px; border:1px solid var(--ov-line); border-radius:5px; background:var(--ov-paper) }
.ov-mast .hm-find input { min-width:0 }
.ov-mast kbd { flex-shrink:0; padding:3px 5px; border:1px solid var(--ov-line); border-radius:3px; font:inherit; font-size:11px; color:var(--hud-muted) }
.ov-analysis { display:grid; gap:16px; align-items:stretch }
.ov-home .ov-panel { min-width:0; padding:20px 23px; background:var(--ov-paper); border:1px solid var(--ov-line); border-radius:8px; color:var(--hud-text) }
.ov-panel-title { display:flex; align-items:baseline; justify-content:space-between; column-gap:10px }
.ov-home :is(.ov-panel-title h2,.ov-explore h2,.ov-hub-head h2) { margin:0; color:var(--hud-text); letter-spacing:-.035em; font-size:clamp(20px,1.72vw,27px); font-weight:750; line-height:1.18 }
.ov-panel-title a { color:var(--hud-accent-strong); font-size:13px; font-weight:650; text-decoration:none; text-align:right }
.ov-panel-title a:hover { text-decoration:underline }
.ov-caption { margin:4px 0 0; color:var(--hud-muted); font-size:13px; line-height:1.4 }
.ov-home .ov-builds { margin:14px 0; padding:14px 16px; border-radius:12px }
.ov-build-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr)); gap:10px; margin-top:12px }
.ov-build-card { min-width:0; padding:10px 12px; background:var(--hud-panel); border:1px solid var(--ov-line); border-radius:9px }
.ov-build-card header { display:flex; align-items:center; gap:9px; margin-bottom:9px }
.ov-build-portrait { width:48px; height:30px; object-fit:cover; border-radius:4px }
.ov-build-card header div { min-width:0; line-height:1.2 }
.ov-build-hero,.ov-build-match { text-decoration:none }
.ov-build-hero { color:var(--hud-text); font-size:15px; font-weight:700 }
.ov-build-card small,.ov-build-card time { display:block; color:var(--hud-muted); font-size:12px }
.ov-build-match { margin-left:auto; color:var(--hud-accent-strong); font-size:13px; white-space:nowrap }
.ov-build-card a:hover { text-decoration:underline }
.ov-build-card ol { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:4px; margin:0; padding:0; list-style:none }
.ov-build-card li { min-width:0; text-align:center }
.ov-build-card li img { display:block; width:100%; height:clamp(26px,2.5vw,40px); object-fit:contain; background:var(--hud-bg); border-radius:4px }
.ov-build-card time { margin-top:3px; font-variant-numeric:tabular-nums }
@media (min-width:651px) and (max-width:940px) {
  .ov-build-grid:has(> :nth-child(3)) { grid-template-columns:repeat(3,minmax(0,1fr)) }
  .ov-build-card { padding:8px }
  .ov-build-portrait { width:35px; height:25px }
}
@media (max-width:650px) {
  .ov-build-grid { grid-template-columns:1fr }
  .ov-build-card li img { height:32px }
}
.ov-ranking a:hover span,.ov-item-row:hover b { color:var(--hud-accent-strong) }
.ov-analysis { grid-template-columns:minmax(0,1.07fr) minmax(0,1fr); margin-top:18px }
.ov-analysis > :only-child { grid-column:1/-1 }
.ov-rank-tools { display:flex; align-items:center; justify-content:space-between; gap:5px; margin:14px 0 9px }
.ov-toggle { display:flex; gap:3px; padding:2px; border:1px solid var(--ov-line); border-radius:5px; background:var(--hud-bg) }
.ov-toggle button { border:0; padding:4px 10px; font:inherit; font-size:12px; border-radius:3px; background:transparent; color:var(--hud-muted) }
.ov-toggle [aria-pressed=true] { color:var(--hud-text); background:var(--hud-panel-2); box-shadow:inset 0 0 0 1px var(--ov-line) }
.ov-ranking table { width:100%; border-collapse:collapse; font-variant-numeric:tabular-nums; font-size:14px }
.ov-ranking :is(td,th) { text-align:right; white-space:nowrap; padding:6px 0 6px 9px; border-bottom:1px solid var(--ov-line) }
.ov-ranking :is(td,th):first-child { text-align:left; padding-left:0 }
.ov-ranking thead th,.ov-axis { font-size:12px; color:var(--hud-muted); font-weight:500 }
.ov-ranking tr:last-child td,.ov-ranking tbody tr:last-child th { border:0 }
.ov-ranking a { text-decoration:none }
.ov-ranking th a { display:flex; align-items:center; gap:9px; color:var(--hud-text); font-weight:630 }
.ov-ranking th img { width:44px; height:27px; border-radius:2px; object-fit:cover }
.ov-place { width:12px; font-size:12px; font-weight:500; color:var(--hud-muted) }
.ov-rate { color:var(--hud-accent-strong); font-weight:650 }
.ov-rate.below { color:var(--palette-red) }
.ov-items .ov-caption { margin-top:8px }
.ov-axis,.ov-item-row { display:grid; grid-template-columns:minmax(135px,1.25fr) minmax(70px,1fr) 55px; align-items:center; column-gap:12px }
.ov-axis { margin-top:19px; padding-bottom:7px; border-bottom:1px solid var(--ov-line) }
.ov-axis span:nth-child(2) { display:flex; justify-content:space-between }
.ov-axis i { font-style:normal }
.ov-axis span:last-child,.ov-item-row strong { text-align:right }
.ov-item-row { padding:8px 0; min-height:42px; font-size:14px; color:var(--hud-text); border-bottom:1px solid var(--ov-line); text-decoration:none }
.ov-item-row > span:first-child { display:flex; align-items:center; gap:9px; min-width:0 }
.ov-item-row b,.ov-item-row strong { font-weight:650 }
.ov-item-row img { width:38px; height:27px; object-fit:cover; border-radius:3px }
.ov-track { height:12px; position:relative; background:linear-gradient(90deg,var(--ov-line) 1px,transparent 1px) 0 0 / 50% 100%,linear-gradient(var(--ov-line),var(--ov-line)) center / 100% 1px no-repeat; border-right:1px solid var(--ov-line) }
.ov-track i { position:absolute; top:3px; height:6px; border-radius:5px; background:var(--ov-blue); opacity:.7 }
.ov-track em { position:absolute; top:1px; width:4px; height:10px; border-radius:1px; transform:translateX(-50%); background:var(--hud-text) }
.ov-chart-key { display:flex; align-items:center; gap:6px; margin:12px 0 0; font-size:12px; color:var(--hud-muted) }
.ov-chart-key i { height:5px; width:17px; border-radius:3px; background:var(--ov-blue) }
.ov-chart-key b { width:3px; height:10px; margin-left:9px; background:var(--hud-text) }
.ov-hub,.ov-explore { margin-block:32px }
.ov-hub-head { display:flex; gap:15px; align-items:center; justify-content:space-between; flex-wrap:wrap; margin-bottom:13px }
.ov-hub-nav { display:flex; flex-wrap:wrap; gap:4px }
.ov-hub-nav a { padding:7px 10px; border:1px solid transparent; border-radius:4px; font-size:13px; font-weight:650; color:var(--hud-muted); text-decoration:none }
.ov-hub-nav a[aria-current],.ov-hub-nav a:hover { color:var(--hud-accent-strong); border-color:var(--ov-line); background:var(--hud-panel) }
.ov-module > .container,.ov-module .hd-wrap { width:100%!important; margin:0!important }
.ov-module > section { scroll-margin-top:80px }
.ov-module .hd { padding:0!important }
.ov-explore > div { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:15px }
.ov-explore > div > a { min-height:115px; display:flex; flex-direction:column; justify-content:flex-end; isolation:isolate; position:relative; overflow:hidden; padding:17px; background:linear-gradient(0deg,#07111bee,#07111b20),var(--scene) center / cover; border:1px solid var(--ov-line); border-radius:6px; color:#fff; text-decoration:none }
.ov-explore a:hover { border-color:var(--hud-accent) }
.ov-explore strong { font-size:21px; line-height:1.3 }
.ov-explore span { font-size:13px; color:#e1eaee }
@media(max-width:1050px) {
  .ov-home .ov-panel { padding:16px }
  .ov-axis,.ov-item-row { grid-template-columns:minmax(110px,1.3fr) minmax(45px,.85fr) 48px; gap:8px }
}
@media(max-width:850px) {
  .ov-analysis { grid-template-columns:1fr }
}
@media(max-width:680px) {
  .ov-mast { align-items:stretch; flex-direction:column; gap:14px; padding:19px 0 14px }
  .ov-mast .hm-find { flex-basis:auto; width:100% }
  .ov-mast .hm-find-box { min-height:40px }
  .ov-mast kbd { display:none }
  .ov-analysis { gap:12px; margin-top:12px }
  .ov-ranking :is(td,th) { padding-left:5px }
  .ov-ranking th a { gap:5px }
  .ov-ranking th img { width:32px;height:23px }
  .ov-place { display:none }
  .ov-ranking table,.ov-item-row { font-size:13px }
  .ov-items .ov-panel-title,.ov-ranking .ov-panel-title { align-items:start }
  .ov-home .ov-panel-title h2 { font-size:20px }
  .ov-hub,.ov-explore { margin-block:24px }
  .ov-hub-nav { gap:2px }
  .ov-hub-nav a { padding:6px }
  .ov-explore > div { grid-template-columns:1fr; gap:8px }
  .ov-explore > div > a { min-height:88px }
}
@media(max-width:370px){
  .ov-home .ov-panel { padding:13px }
  .ov-ranking th a { white-space:normal; line-height:1.14 }
  .ov-ranking thead,.ov-axis { font-size:11px }
  .ov-axis,.ov-item-row { grid-template-columns:minmax(105px,1.5fr) minmax(45px,.8fr) 45px; gap:5px }
}

.ov-method { margin:12px 0 0; color:var(--hud-muted); font-size:13px }
.ov-method summary { cursor:pointer; width:fit-content }
.ov-method p { max-width:90ch; margin:8px 0; line-height:1.55 }

/* Досье героя. Колонки и покупки переключаются одним выбором. */
.sc-desk { border:1px solid var(--ov-line); border-radius:8px; background:var(--ov-paper); color:var(--hud-text) }
.sc-desk :is(button,a),.sc-strip a { -webkit-tap-highlight-color:transparent }
.sc-toolbar,.sc-pins,.sc-cta,.sc-filter { display:flex; align-items:center }
.sc-toolbar { gap:18px; min-height:63px; padding:8px 16px; border-bottom:1px solid var(--ov-line) }
.sc-toolbar-title,.sc-match-title h3 { font-family:Oswald,Manrope,system-ui,sans-serif; font-weight:600; text-transform:uppercase; letter-spacing:.025em; font-size:19px }
.sc-pins { gap:5px; flex-wrap:wrap }
.sc-pins button,.sc-open,.sc-filter button { color:var(--hud-muted); font:inherit; border:1px solid transparent; border-radius:4px; background:transparent }
.sc-pins button { display:flex; align-items:center; gap:8px; padding:4px 9px; text-align:left }
.sc-pins img { width:40px; height:28px; object-fit:cover; border-radius:2px }
.sc-pins small,.sc-pins b { display:block; line-height:1.3 }
.sc-pins small { font-size:11px; color:var(--hud-muted) }
.sc-pins b { font-size:14px; color:var(--hud-text) }
.sc-pins button[aria-pressed=true],.sc-filter [aria-pressed=true] { border-color:color-mix(in srgb,var(--hud-accent) 50%,var(--ov-line)); background:color-mix(in srgb,var(--hud-accent) 10%,var(--ov-paper)) }
.sc-pins button:hover,.sc-open:hover,.sc-filter button:hover { background:var(--hud-panel-2); border-color:var(--ov-line) }
.sc-toolbar .sc-open { display:flex; align-items:center; gap:9px; margin-left:auto; padding:8px 11px; color:var(--hud-text); font-weight:650; font-size:13px; white-space:nowrap; border-color:var(--ov-line) }
.sc-open b { font-size:12px; color:var(--hud-accent-strong) }
.sc-grid-icon { font-size:18px; line-height:1 }
.sc-body { display:grid; grid-template-columns:minmax(0,1.52fr) minmax(0,1fr) }
.sc-profile { --sc-glow:#75c8ad; min-width:0; display:flex; flex-direction:column; border-radius:0 0 0 8px; overflow:hidden }
.sc-attr-str { --sc-glow:#de8e76 }
.sc-attr-int { --sc-glow:#7cbbea }
.sc-attr-all { --sc-glow:#c09ade }
.sc-scene { position:relative; isolation:isolate; display:flex; flex:1; align-items:center; min-height:300px; overflow:hidden; background:#0b191e; color:#f5faf8 }
.sc-stage,.sc-halo,.sc-scene::after { position:absolute; inset:0; pointer-events:none }
.sc-stage { z-index:-4; background:linear-gradient(90deg,#0c1b2670,#101c2cdc),url('/assets/home-bg-poster.jpg') 44% 50% / cover; opacity:.8 }
.sc-halo { z-index:-3; background:radial-gradient(ellipse at 22% 44%,color-mix(in srgb,var(--sc-glow) 46%,transparent),transparent 55%) }
.sc-scene::after { content:""; z-index:-1; background:linear-gradient(95deg,transparent 15%,#09192210 34%,#0b1a23d4 56%,#0a1925ed),linear-gradient(0deg,#09172096,transparent 26%) }
.sc-model { z-index:-2; position:absolute; width:51%; height:108%; left:-1%; bottom:-5%; object-fit:contain; object-position:center; filter:drop-shadow(0 4px 9px #0009) }
.sc-model.is-portrait { height:100%; bottom:0; object-fit:cover; mask-image:linear-gradient(90deg,#000 75%,transparent) }
.sc-identity { min-width:0; width:55%; margin-left:43%; padding:21px 14px 23px 0 }
.sc-kicker { display:flex; gap:8px; align-items:center; margin:0 0 7px; color:#a4f1c7; font-size:12px; font-weight:750; text-transform:uppercase; letter-spacing:.1em }
.sc-kicker i { width:16px; height:2px; background:#91edb8 }
.sc-identity h2 { margin:0; font:600 clamp(43px,3.65vw,60px)/1.04 Oswald,Manrope,system-ui,sans-serif; letter-spacing:-.025em; text-transform:uppercase; overflow-wrap:break-word }
.sc-identity h2 a { color:#f3faf7; text-decoration:none }
.sc-traits { margin:9px 0 0; color:#dbe6e8; font-size:13px }
.sc-stats { display:grid; grid-template-columns:repeat(3,max-content); gap:clamp(12px,1.8vw,30px); margin:21px 0 0; font-variant-numeric:tabular-nums }
.sc-stats > div { display:flex; flex-direction:column-reverse }
.sc-stats dd { margin:0; color:#f8fbfa; font-size:clamp(19px,1.9vw,30px); font-weight:720; line-height:1.2; letter-spacing:-.045em }
.sc-stats dt { color:#b9cdd2; font-size:12px }
.sc-context { margin:12px 0; color:#d5e1e5; font-size:13px; line-height:1.4 }
.sc-context b { color:#fff }
.sc-cta { flex-wrap:wrap; gap:8px }
.sc-cta a { display:inline-flex; align-items:center; border-radius:4px; padding:8px 12px; font-size:13px; font-weight:700; text-decoration:none; line-height:1.25 }
.sc-primary { color:#08271b; background:#82eab2; border:1px solid #82eab2 }
.sc-secondary { color:#e3f1ef; border:1px solid #74918f; background:#0f242dc2 }
.sc-primary:hover { background:#acffd1 }
.sc-secondary:hover { border-color:#b9e5d2 }
.sc-shopping { padding:13px 17px 14px; border-top:1px solid var(--ov-line); background:color-mix(in srgb,var(--hud-panel) 75%,var(--hud-bg)) }
.sc-purchase-head { display:flex; align-items:baseline; justify-content:space-between; gap:5px 12px; flex-wrap:wrap }
.sc-purchase-head h3 { margin:0; font-size:15px }
.sc-purchase-head > span,.sc-match-note,.sc-duel-note,.sc-empty,.sc-results-count { color:var(--hud-muted); font-size:12px }
.sc-purchases { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-top:9px }
.sc-purchases a { display:flex; min-width:0; align-items:center; gap:8px; text-decoration:none; color:var(--hud-text); border-left:1px solid var(--ov-line); padding-left:10px }
.sc-purchases a:first-child { border:0; padding-left:0 }
.sc-purchases img,.sc-pair img,.sc-results img,.sc-bans img { flex:none; object-fit:cover; border-radius:3px }
.sc-purchases b,.sc-purchases small,.sc-pair b,.sc-pair span small,.sc-bans b { display:block }
.sc-purchases b { font-size:13px; line-height:1.25 }
.sc-purchases small,.sc-pair span small { font-size:11px; color:var(--hud-muted); margin-top:2px }
.sc-purchases a:hover b,.sc-pair:hover b,.sc-bans a:hover { color:var(--hud-accent-strong) }
.sc-matchups { display:flex; flex-direction:column; padding:clamp(16px,1.7vw,27px); min-width:0; border-left:1px solid var(--ov-line) }
.sc-match-title { display:flex; align-items:baseline; justify-content:space-between }
.sc-match-title h3 { margin:0; font-size:24px }
.sc-match-title a,.sc-notes { color:var(--hud-accent-strong); font-size:13px; font-weight:650; text-decoration:none }
.sc-match-note { margin:5px 0 15px; font-size:13px; line-height:1.4 }
.sc-versus { flex:1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px }
.sc-rivals { --sc-edge:var(--palette-teal) }
.sc-rivals.bad { --sc-edge:var(--palette-red) }
.sc-rivals h4 { display:flex; align-items:center; gap:7px; margin:0; padding:9px 0; border-block:1px solid var(--ov-line); font-size:14px; color:var(--hud-text) }
.sc-rivals h4 i { width:5px; height:12px; background:var(--sc-edge) }
.sc-pair { display:grid; grid-template-columns:43px minmax(0,1fr); align-content:center; align-items:center; gap:3px 8px; padding:10px 0; text-decoration:none; color:var(--hud-text); border-bottom:1px solid var(--ov-line) }
.sc-pair img { width:43px; height:31px; grid-row:1 }
.sc-pair b { font-size:14px; line-height:1.18 }
.sc-pair strong { grid-column:2; color:var(--sc-edge); font-size:15px; font-weight:725; font-variant-numeric:tabular-nums }
.sc-pair strong small { font-weight:550; font-size:11px }
.sc-duel-note { margin:12px 0 0 }
.sc-duel-note span { margin-right:4px; color:var(--hud-accent-strong) }
.sc-strip { display:flex; align-items:center; gap:clamp(12px,2vw,36px); padding:14px 1px; margin:2px 0; border-bottom:1px solid var(--ov-line) }
.sc-total,.sc-sides,.sc-bans,.sc-bans a { min-width:0 }
.sc-total { display:flex; align-items:baseline; flex-wrap:wrap; gap:4px 8px }
.sc-total strong { color:var(--hud-text); font-size:24px; font-weight:725; letter-spacing:-.04em }
.sc-total span,.sc-sides span,.sc-bans small { font-size:12px; color:var(--hud-muted) }
.sc-sides { width:clamp(155px,15vw,220px) }
.sc-sides div { display:flex; justify-content:space-between; gap:5px }
.sc-sides b { color:var(--hud-text) }
.sc-sides i { display:block; height:4px; margin-top:4px; background:var(--palette-red); border-radius:3px; overflow:hidden }
.sc-sides i b { display:block; height:100%; background:var(--palette-teal); border-right:2px solid var(--hud-bg) }
.sc-bans { flex:1; display:flex; align-items:center; gap:clamp(8px,1.2vw,20px); padding-left:18px; border-left:1px solid var(--ov-line) }
.sc-bans a { display:flex; gap:6px; align-items:center; text-decoration:none; color:var(--hud-text); font-size:12px; font-weight:650; line-height:1.25 }
.sc-bans b { color:var(--hud-muted); font-size:11px; font-weight:450 }
.sc-notes { margin-left:auto }
.sc-dialog { width:min(570px,calc(100vw - 24px)); max-height:min(610px,85dvh); padding:18px; overflow:auto; background:var(--hud-panel); color:var(--hud-text); border:1px solid var(--hud-line); border-radius:8px; box-shadow:var(--hud-shadow) }
.sc-dialog::backdrop { background:#040a13bc }
.sc-dialog-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px }
.sc-dialog-head h2 { margin:0; font-size:24px }
.sc-dialog-head button { border:1px solid var(--ov-line); border-radius:4px; background:transparent; color:var(--hud-text); font:inherit; font-size:24px; padding:0 9px }
.sc-dialog input { width:100%; border:1px solid var(--hud-line); border-radius:4px; background:var(--hud-bg); color:var(--hud-text); font:inherit; padding:10px 12px }
.sc-filter { flex-wrap:wrap; gap:4px; margin:10px 0 }
.sc-filter button { padding:5px 8px; font-size:12px; border-color:var(--ov-line) }
.sc-results-count { margin:9px 0 }
.sc-results { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-content:start; overflow-y:auto; max-height:min(330px,45dvh); gap:2px 6px }
.sc-results button { display:flex; align-items:center; gap:8px; color:var(--hud-text); text-align:left; padding:5px; font:inherit; font-size:14px; font-weight:600; border:1px solid transparent; border-radius:3px; background:transparent }
.sc-results button:hover,.sc-results [aria-pressed=true] { border-color:var(--ov-line); background:var(--hud-panel-2) }
@media(min-width:1560px) {
  .sc-scene { min-height:336px }
  .sc-pair { grid-template-columns:44px minmax(0,1fr) auto; min-height:62px }
  .sc-pair strong { grid-column:3 }
}
@media(max-width:1150px) {
  .sc-body { grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) }
  .sc-identity { width:59%; margin-left:40% }
  .sc-model { left:-4% }
  .sc-versus { gap:10px }
  .sc-pair { grid-template-columns:34px minmax(0,1fr); column-gap:5px }
  .sc-pair img { width:34px; height:26px }
  .sc-bans { gap:8px }
  .sc-bans img { width:30px; height:22px }
  .sc-total { flex-direction:column }
  .sc-bans small { max-width:46px }
}
@media(max-width:880px) {
  .sc-body { grid-template-columns:1fr }
  .sc-matchups { border:0; border-top:1px solid var(--ov-line) }
  .sc-profile { border-radius:0 }
  .sc-rivals h4 { padding:7px 0 }
  .sc-pair { grid-template-columns:43px minmax(0,1fr) auto; padding:6px 0 }
  .sc-pair img { width:43px; height:28px }
  .sc-pair strong { grid-column:3 }
  .sc-scene { min-height:258px }
  .sc-strip { display:grid; grid-template-columns:1fr 1fr auto; gap:9px 16px }
  .sc-bans { grid-row:2; grid-column:1/-1; border:0; padding:6px 0 0; flex-wrap:wrap; gap:14px }
  .sc-bans small { max-width:none }
  .sc-sides { width:100% }
  .sc-total { flex-direction:row }
  .sc-notes { grid-row:1; grid-column:3 }
  .sc-toolbar { gap:7px }
  .sc-toolbar-title { display:none }
}
@media(max-width:600px) {
  .sc-toolbar { padding:7px; display:grid; grid-template-columns:1fr auto; gap:6px }
  .sc-toolbar-title { display:block; padding-left:4px; font-size:17px }
  .sc-toolbar .sc-open { grid-row:1; grid-column:2; padding:5px 8px }
  .sc-pins { grid-row:2; grid-column:1/-1; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:3px }
  .sc-pins button { padding:5px; gap:5px; min-width:0 }
  .sc-pins img { width:26px;height:24px }
  .sc-pins small { font-size:10px }
  .sc-pins b { font-size:11px }
  .sc-scene { min-height:243px }
  .sc-identity { width:64%; margin-left:35%; padding:17px 7px 18px 0 }
  .sc-model { left:-12%; width:57%; bottom:0; height:99% }
  .sc-identity h2 { font-size:clamp(32px,8vw,46px) }
  .sc-stats { gap:9px; margin-top:13px }
  .sc-stats dd { font-size:18px }
  .sc-stats dt,.sc-traits { font-size:11px }
  .sc-kicker,.sc-context { font-size:11px }
  .sc-context { margin:9px 0 }
  .sc-cta { gap:4px }
  .sc-cta a { padding:7px 8px; font-size:12px }
  .sc-shopping,.sc-matchups { padding:12px }
  .sc-purchases { gap:4px }
  .sc-purchases a { flex-direction:column; align-items:flex-start; gap:5px; padding-left:6px }
  .sc-purchases b,.sc-pair b { font-size:12px }
  .sc-purchase-head > span { font-size:11px }
  .sc-purchases small { font-size:10px }
  .sc-pair { grid-template-columns:32px minmax(0,1fr); gap:1px 5px; align-content:start }
  .sc-pair img { width:32px; height:25px }
  .sc-pair strong { grid-column:2; font-size:13px }
  .sc-pair span small,.sc-pair strong small { font-size:10px }
  .sc-rivals h4 { font-size:12px }
  .sc-match-note,.sc-duel-note { font-size:12px }
  .sc-strip { grid-template-columns:1fr 1.2fr; gap:7px 12px }
  .sc-total { display:block }
  .sc-total strong,.sc-total span { display:block }
  .sc-sides { max-width:220px; justify-self:end }
  .sc-bans { gap:6px 10px }
  .sc-bans small { width:100% }
  .sc-bans img { width:23px;height:21px }
  .sc-bans a { font-size:10px; gap:4px }
  .sc-notes { grid-column:1/-1; grid-row:3; margin:3px 0 0 }
}
@media(max-width:360px) {
  .sc-pins img { display:none }
  .sc-stats { gap:6px }
  .sc-stats dd { font-size:16px }
  .sc-cta a { font-size:11px }
  .sc-results { grid-template-columns:1fr }
}

.sc-pair strong { display:flex; gap:2px; align-items:baseline }
.sc-pair strong i { display:block; width:34%; min-width:10px; height:3px; margin-left:4px; align-self:center; background:linear-gradient(to right,var(--sc-edge) var(--delta),transparent var(--delta)); opacity:.8 }
.ov-explore > .sc-after { grid-template-columns:minmax(0,2fr) repeat(2,minmax(0,1fr)) }
.sc-example { display:grid; grid-template-columns:1fr auto; column-gap:12px; row-gap:12px; align-content:center; align-items:center; padding:14px 18px; border:1px solid var(--ov-line); border-radius:6px; color:var(--hud-text); background:var(--ov-paper) }
.sc-example-id,.sc-inventory { display:flex; align-items:center; gap:10px }
.sc-example-id img,.sc-inventory img { object-fit:cover; border-radius:3px }
.sc-example-id img { width:66px; height:43px }
.sc-example h3 { margin:2px 0 0; font-size:22px; line-height:1.05 }
.sc-example-id a { color:var(--hud-text); text-decoration:none }
.sc-example-id p { margin:0; color:var(--hud-muted); font-size:12px }
.sc-example-result { text-align:right }
.sc-example-result b,.sc-example-result span { display:block; font-size:13px }
.sc-example-result span { color:var(--hud-muted) }
.sc-example-result .win { color:var(--hud-accent-strong) }
.sc-example-result .loss { color:var(--palette-red) }
.sc-inventory { gap:4px; flex-wrap:wrap }
.sc-inventory img { display:block; width:35px; height:26px }
.sc-example-link { color:var(--hud-accent-strong); font-size:13px; font-weight:650; text-decoration:none; text-align:right }
@media(max-width:900px) {
  .ov-explore > .sc-after { grid-template-columns:repeat(2,minmax(0,1fr)) }
  .sc-example { grid-column:1/-1 }
}
@media(max-width:450px){
  .ov-explore > .sc-after { grid-template-columns:minmax(0,1fr) }
  .sc-example { padding:12px; column-gap:5px }
  .sc-inventory { gap:2px }
  .sc-inventory img { width:26px;height:21px }
  .sc-identity { margin-left:37%; width:62% }
  .sc-scene::after { background:linear-gradient(90deg,transparent 21%,#0a1a2490 41%,#0a1925e8 73%) }
}
@media(min-width:1560px){ .sc-pair strong i { display:none } }

.ov-jumps { display:flex; flex-wrap:wrap; align-items:center; gap:6px 18px; margin:-6px 0 16px }
.ov-jumps a { font-size:13px; line-height:1.6; color:var(--hud-muted); text-decoration:none }
.ov-jumps a::after { content:"↓"; margin-left:6px; color:var(--hud-accent-strong) }
.ov-jumps a:hover { color:var(--hud-text); text-decoration:underline }
.ov-home :is(#home-meta,#home-broadcast,#home-cards,#home-workbench) { scroll-margin-top:80px }
.ov-home .pulse-grid { display:grid; grid-template-columns:minmax(0,.83fr) minmax(0,1.17fr); gap:16px; margin-block:16px 30px }
.pulse-grid > :only-child { grid-column:1/-1 }
.pulse-grid .ov-caption { margin-top:7px }
.pulse-bars { display:grid; grid-template-columns:minmax(60px,.88fr) repeat(4,minmax(0,1fr)); grid-template-rows:auto 76px auto auto auto; grid-auto-flow:column; row-gap:6px; margin-top:20px; font-variant-numeric:tabular-nums }
.pulse-bin,.pulse-axis { display:grid; grid-template-rows:subgrid; grid-row:span 5; align-items:center; min-width:0 }
.pulse-bin { text-align:center }
.pulse-bin strong { font-size:clamp(15px,1.25vw,22px); line-height:1.2; color:var(--hud-text) }
.pulse-bin b,.pulse-bin span { font-size:13px; line-height:1.4 }
.pulse-axis :is(span,b,small),.pulse-bin small { font-size:12px; font-weight:500; line-height:1.4; color:var(--hud-muted) }
.pulse-axis > i,.pulse-track { height:100%; border-bottom:1px solid var(--ov-line) }
.pulse-track { display:flex; align-items:end; justify-content:center; background:repeating-linear-gradient(to top,transparent 0 24px,var(--ov-line) 24px 25px) }
.pulse-track i { display:block; width:62%; max-width:68px; border-radius:5px 5px 0 0; background:linear-gradient(to top,color-mix(in srgb,var(--ov-blue) 48%,var(--hud-panel)),var(--ov-blue)) }
.pulse-thresholds { margin:15px 0 0; padding-top:10px; border-top:1px solid var(--ov-line); color:var(--hud-muted); font-size:13px; line-height:1.5 }
.pulse-thresholds b { color:var(--hud-text); white-space:nowrap }
.pulse-roles button small { display:none; font:inherit }
.pulse-roles { display:inline-flex; flex-wrap:wrap; margin:12px 0 7px }
.pulse-lanes table { width:100%; border-collapse:collapse; font-variant-numeric:tabular-nums; color:var(--hud-text) }
.pulse-lanes :is(th,td) { padding:6px 0; text-align:right; font-size:13px; line-height:1.3; white-space:nowrap }
.pulse-lanes thead th { color:var(--hud-muted); font-size:12px; font-weight:500; border-bottom:1px solid var(--ov-line) }
.pulse-lanes thead th:nth-child(2),.pulse-lanes tbody td:nth-child(2) { padding-inline:9px }
.pulse-lanes tbody tr+tr { border-top:1px solid var(--ov-line) }
.pulse-lanes th:first-child { text-align:left }
.pulse-lanes th a { display:grid; grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr); align-items:center; gap:6px; text-decoration:none; color:var(--hud-text); font-weight:600 }
.pulse-lanes th a:hover .pulse-hero b { color:var(--hud-accent-strong); text-decoration:underline }
.pulse-lanes th i { font:inherit; font-weight:400; font-size:11px; color:var(--hud-muted); text-align:center }
.pulse-hero { min-width:0; display:flex; align-items:center; gap:6px }
.pulse-hero img { width:35px; height:24px; border-radius:4px; object-fit:cover }
.pulse-hero b { white-space:normal; font-weight:600 }
.pulse-outcomes { color:var(--hud-muted) }
.pulse-outcomes b { color:var(--hud-accent-strong) }
.pulse-key { margin:9px 0 0; color:var(--hud-muted); font-size:12px }
.sc-match-facts { grid-column:1/-1; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin:0; padding-block:10px; border-block:1px solid var(--ov-line) }
.sc-match-facts dt { font-size:12px; color:var(--hud-muted); line-height:1.2 }
.sc-match-facts dd { font-size:18px; font-weight:700; line-height:1.4; margin:3px 0 0; font-variant-numeric:tabular-nums }

.ov-home { --ov-button-edge:color-mix(in srgb,var(--hud-muted) 30%,transparent); --ov-button-active:color-mix(in srgb,var(--hud-accent) 36%,var(--ov-button-edge)); --ov-button-fill:color-mix(in srgb,var(--hud-accent) 11%,var(--hud-panel)) }
.ov-home :is(.ov-toggle,.ov-hub-nav,.sc-pins) { border-color:var(--ov-button-edge); border-radius:12px }
html body.d2-dark.ov-home :is(.sc-open,.sc-cta a,.sc-pins button,.sc-filter button,.ov-toggle button,.ov-hub-nav a,.md-cta,.hd-links a,.hq-item,.md-slot,.hq-opt,.hpick-more) { border-radius:9px!important }
.ov-home :is(.sc-open,.ov-hub-nav a,.md-cta,.hd-links a,.hq-item,.hq-opt:not(:disabled),.hpick-more),
.ov-home :is(#home-heroes .hpick-tabs,#home-meta .mb-filters) button { border-color:var(--ov-button-edge); color:var(--hud-text); background:var(--ov-paper) }
.ov-home :is(.sc-pins button,.sc-filter button,.ov-toggle button,.ov-hub-nav a,.md-cta,.hd-links a,.hq-item,.hq-opt:not(:disabled),.sc-open,.hpick-more):hover,
.ov-home :is(#home-heroes .hpick-tabs,#home-meta .mb-filters) button:hover { border-color:var(--ov-button-active); background:var(--ov-button-fill) }
.ov-home :is(.sc-pins,.sc-filter,.ov-toggle,[id=home-heroes] .hpick-tabs,[id=home-meta] .mb-filters) button[aria-pressed=true],
.ov-home .ov-hub-nav [aria-current],.ov-home :is(#home-heroes .hpick-tabs,#home-meta .mb-filters) button[aria-pressed=true] { color:var(--hud-accent-strong); background:var(--ov-button-fill); border-color:var(--ov-button-active); box-shadow:inset 0 0 0 1px var(--ov-button-edge) }
.ov-home .sc-primary { color:#102d28; background:#a4d7c6; border-color:#aacfc4 }
.ov-home .sc-primary:hover { color:#102d28; background:#b8e2d4 }
.ov-home .sc-secondary { color:#e3f1ef; background:#172d37d9; border-color:#85a3a366 }
.ov-home .sc-secondary:hover { background:#253e46; border-color:#a8c5c28a }
@media(max-width:1050px) {
  .ov-home .pulse-grid { grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr) }
  .pulse-lanes th a { gap:3px }
  .pulse-hero img { width:26px; height:20px }
}
@media(max-width:850px) {
  .ov-home .pulse-grid { grid-template-columns:minmax(0,1fr); gap:12px }
}
@media(max-width:540px) {
  .ov-jumps { column-gap:12px; margin-top:0 }
  .ov-jumps a { font-size:12px }
  .pulse-bars { grid-template-columns:58px repeat(4,minmax(0,1fr)) }
  .pulse-bin b,.pulse-bin span,.pulse-bin small,.pulse-axis :is(span,b,small) { font-size:11px }
  .pulse-roles button { padding:5px 7px }
  .pulse-roles button:has(small) span { display:none }
  .pulse-roles button small { display:inline }
  .pulse-lanes th a { grid-template-columns:minmax(0,1fr); gap:2px }
  .pulse-lanes th i { display:none }
  .pulse-hero { gap:5px }
  .pulse-hero img { width:23px; height:16px }
  .pulse-lanes :is(th,td) { font-size:12px }
  .sc-match-facts { grid-template-columns:repeat(2,minmax(0,1fr)) }
}

.lead-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; color:var(--hud-text) }
.lead-card { display:flex; flex-direction:column; --lead-ink:var(--palette-cyan); --lead-glow:#294e65; min-width:0; overflow:hidden; border:1px solid var(--ov-line); border-radius:12px; background:var(--ov-paper) }
.lead-bans { --lead-ink:var(--palette-red); --lead-glow:#583b50 }
.lead-rise { --lead-ink:var(--hud-accent-strong); --lead-glow:#2d5752 }
.lead-heading { padding:14px 18px 10px; border-bottom:1px solid var(--ov-line) }
.ov-home .lead-heading h2 { display:flex; align-items:center; gap:9px; margin:0; color:var(--hud-text); font-size:clamp(18px,1.55vw,24px); font-weight:720; letter-spacing:-.025em; line-height:1.18 }
.lead-heading h2::before { content:""; flex:none; width:5px; height:17px; border-radius:3px; background:var(--lead-ink) }
.lead-heading p,.lead-empty { margin:4px 0 0; color:var(--hud-muted); font-size:12px; line-height:1.4 }
.lead-empty { padding:15px 18px }
.lead-first { display:flex; align-items:center; position:relative; overflow:hidden; isolation:isolate; min-height:145px; padding:15px 18px; text-decoration:none; background:radial-gradient(ellipse at 80% 85%,var(--lead-glow),transparent 67%),#0c1a25 }
.lead-first::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#0b1925 1%,#0b1925d9 32%,transparent 69%); pointer-events:none }
.lead-art { position:absolute; z-index:-2; right:-2%; bottom:-3%; width:57%; height:107%; object-fit:contain; object-position:55% bottom; transition:transform .18s ease-out }
.lead-portrait .lead-art { object-fit:cover }
.lead-copy { display:grid; justify-items:start; gap:3px; max-width:72%; text-shadow:0 1px 4px #0008 }
.lead-copy strong { font-size:clamp(19px,1.8vw,30px); color:#f4f8fa; letter-spacing:-.035em; line-height:1.08 }
.lead-copy b { font-size:clamp(25px,2.1vw,34px); color:#b0dafa; line-height:1.1; letter-spacing:-.035em; font-variant-numeric:tabular-nums }
.lead-bans .lead-copy b { color:#ffbdc2 }
.lead-rise .lead-copy b { color:#a1e8ca }
.lead-copy small { color:#d1e0e7; font-size:13px; line-height:1.4; font-variant-numeric:tabular-nums }
.lead-first:hover strong,.lead-list a:hover span { text-decoration:underline; text-underline-offset:3px }
.lead-first:hover .lead-art { transform:scale(1.035) }
.lead-list { padding:0 15px; border-top:1px solid var(--ov-line) }
.lead-list ol { list-style:none; padding:0; margin:0 0 5px }
.lead-list li { border-top:1px solid var(--ov-line) }
.lead-list a { display:grid; align-items:center; grid-template-columns:12px 34px minmax(0,1fr) auto; gap:8px; padding:6px 0; text-decoration:none; font-size:14px; line-height:1.2; color:var(--hud-text) }
.lead-list img { display:block; width:34px; height:22px; border-radius:3px; object-fit:cover }
.lead-list small { font-size:11px; color:var(--hud-muted) }
.lead-frequency { display:grid; justify-items:end; white-space:nowrap; font-variant-numeric:tabular-nums }
.lead-frequency small { font-weight:500 }
:is(.lead-picks,.lead-bans) .lead-remainder a { grid-template-columns:3ch 34px minmax(0,1fr) auto }
.lead-list span { font-weight:620 }
.lead-list b { color:var(--lead-ink); font-variant-numeric:tabular-nums; white-space:nowrap }
.ov-home .lead-grid~.ov-jumps { margin:10px 0 17px }
#home-scout { scroll-margin-top:76px }
.ov-home .lead-grid~.sc-strip { margin:0; }
@media (min-width:701px) and (max-width:1050px) {
  .lead-grid { gap:9px }
  .lead-heading,.lead-first { padding-inline:12px }
  .lead-first { min-height:124px }
  .lead-list { padding-inline:10px }
  .lead-list a { gap:5px; font-size:13px }
}
@media (max-width:700px) {
  .lead-grid { grid-template-columns:minmax(0,1fr); gap:8px }
  .lead-card { position:relative; background:radial-gradient(ellipse at 91% 92%,var(--lead-glow),transparent 60%),#0c1a25 }
  .lead-heading { padding:8px 12px 0; border:0; position:relative; z-index:1; pointer-events:none }
  .ov-home .lead-heading h2 { color:#f0f6f9; font-size:15px; gap:6px }
  .lead-heading h2::before { height:12px; width:3px }
  .lead-heading p { margin:2px 0; color:#c3d2da; font-size:11px }
  .lead-first { min-height:62px; padding:3px 12px 7px; background:none; overflow:visible }
  .lead-first::after { display:none }
  .lead-art { max-width:36%; right:0; height:calc(100% + 35px); bottom:0; object-position:center bottom }
  .lead-copy { grid-template-columns:auto auto; column-gap:9px; align-items:baseline; max-width:71% }
  .lead-copy strong { font-size:19px }
  .lead-copy b { font-size:18px; white-space:nowrap }
  .lead-copy small { grid-column:1/-1; font-size:12px }
  .lead-list { background:var(--ov-paper); padding-inline:12px }
  .lead-empty { padding:8px 12px 12px; color:#d1e0e7 }
  .ov-home .lead-grid~.sc-strip .sc-notes { grid-row:2 }
}
@media (prefers-reduced-motion:reduce) { .lead-art { transition:none } }

.lead-rise { container-type:inline-size }
.lead-samples { display:inline-grid; grid-template-columns:repeat(2,max-content); gap:12px; font-variant-numeric:tabular-nums }
.lead-sample { display:grid; gap:1px; font-size:12px; line-height:1.25; white-space:nowrap }
.lead-sample + .lead-sample { padding-left:10px; border-left:1px solid var(--ov-line) }
.lead-copy .lead-samples { grid-column:1/-1; margin-top:4px; color:#e2edf2 }
.lead-copy .lead-sample small { color:#cedee6; font-size:12px }
.lead-list a:has(.lead-samples) { row-gap:3px; padding-block:4px }
.lead-list .lead-samples { grid-column:3/-1 }
.lead-list .lead-sample { display:flex; align-items:baseline; gap:4px; color:var(--hud-muted); font-size:11px }
.lead-list .lead-sample span { font-weight:500 }
.lead-list .lead-sample small { font-size:11px; font-weight:550 }
.lead-list a:hover .lead-samples,.lead-list a:hover .lead-sample,.lead-list a:hover .lead-sample span { text-decoration:none }
@container(max-width:420px) {
  .lead-list .lead-sample { display:grid; gap:0 }
}
@container(max-width:300px) {
  .lead-list .lead-samples { grid-column:2/-1 }
  .lead-copy .lead-samples { gap:7px }
  .lead-copy .lead-sample + .lead-sample { padding-left:7px }
}
@media(max-width:700px) {
  .lead-copy .lead-samples { margin-top:0 }
  .lead-sample,.lead-copy .lead-sample small { font-size:11px }
}

@container(min-width:421px) {
  .lead-list .lead-sample small::before { content:"· "; }
}
@container(max-width:300px) {
  .lead-rise .lead-first::after { background:linear-gradient(90deg,#0b1925 15%,#0b1925c9 53%,transparent 84%) }
}

.lead-heading-line { display:flex; align-items:center; justify-content:space-between; gap:6px 10px; flex-wrap:wrap }
.lead-switch { pointer-events:auto; display:inline-flex; flex:none; gap:2px; min-width:0; margin:0; padding:2px; border:1px solid var(--ov-line); border-radius:9px; background:var(--ov-paper) }
.lead-switch label { position:relative; display:block }
.lead-switch input { position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; cursor:pointer }
.lead-switch label span { display:block; padding:3px 8px; font-size:12px; line-height:1.35; font-weight:650; border-radius:6px; color:var(--hud-muted) }
.lead-switch input:checked + span { color:var(--lead-ink); background:color-mix(in srgb,var(--lead-ink) 13%,var(--ov-paper)) }
.lead-switch label:hover span { color:var(--hud-text) }
.lead-switch input:focus-visible + span { outline:1px solid var(--ov-control-focus); outline-offset:1px }
#lead-fall-view,.lead-rise:has(.lead-switch [value=fall]:checked) #lead-rise-view { display:none }
.lead-rise:has(.lead-switch [value=fall]:checked) #lead-fall-view { display:block }
.lead-rise:not([data-change]):has(.lead-switch [value=fall]:checked) { --lead-ink:var(--palette-red); --lead-glow:#573a4a }
#lead-fall-view .lead-copy b { color:#ffbdc2 }

.lead-more { margin:auto 0 0; border-top:1px solid var(--ov-line); background:var(--ov-paper) }
.lead-more summary { display:flex; align-items:center; justify-content:center; gap:8px; width:fit-content; min-height:32px; margin:7px auto; padding:4px 12px; border:1px solid var(--ov-line); border-radius:9px; color:var(--hud-text); font-size:13px; line-height:1.3; font-weight:650; cursor:pointer; list-style:none }
.lead-more summary::-webkit-details-marker { display:none }
.lead-more summary::after { content:""; width:6px; height:6px; border:solid var(--hud-muted); border-width:0 1.5px 1.5px 0; transform:translateY(-1px) rotate(45deg) }
.lead-more[open] summary::after { transform:translateY(2px) rotate(225deg) }
.lead-more summary:hover { border-color:var(--ov-control-hover); background:var(--hud-panel-2) }
.lead-more-count { font-variant-numeric:tabular-nums; color:var(--hud-muted) }
.lead-more-hide,.lead-more[open] .lead-more-show { display:none }
.lead-more[open] .lead-more-hide { display:inline }
.lead-remainder { max-height:min(40vh,340px); overflow-y:auto; scrollbar-gutter:stable; scrollbar-width:thin }
.lead-more [data-extra-mode=fall],.lead-rise:has(.lead-switch [value=fall]:checked) [data-extra-mode=rise] { display:none }
.lead-rise:has(.lead-switch [value=fall]:checked) .lead-more [data-extra-mode=fall] { display:block }
.lead-rise:not(:has(.lead-switch [value=fall]:checked)) .lead-more:not(:has([data-extra-mode=rise])),
.lead-rise:has(.lead-switch [value=fall]:checked) .lead-more:not(:has([data-extra-mode=fall])) { display:none }
.lead-grid:not(.lead-focused):has(.lead-more[open]) { align-items:start }

.lead-search-field { display:flex; align-items:center; gap:4px; border:1px solid var(--ov-line); border-radius:8px; background:var(--hud-panel-2) }
html[data-theme] body.d2-dark.ov-home :is(.ov-mast .hm-find-box,.lead-search-field):focus-within {
  border-color:var(--ov-control-focus)!important;
  box-shadow:0 0 0 2px color-mix(in srgb,var(--ov-control-focus) 15%,transparent)!important;
}
html[data-theme] body.d2-dark .lead-search-field input[type=search] { border:0!important; border-radius:0!important; outline:0!important; box-shadow:none!important; background:transparent!important; appearance:none }
.lead-search-field input { flex:1; width:0; min-width:0; height:36px; border:0; padding:0 10px; background:transparent; color:var(--hud-text); font:inherit; font-size:14px; outline:none }
.lead-search-field input::placeholder { color:var(--hud-muted) }
.lead-search-field input::-webkit-search-cancel-button { -webkit-appearance:none }
.lead-search-field button { width:34px; height:32px; margin-right:2px; border:0; border-radius:6px; background:transparent; font:inherit; font-size:20px; color:var(--hud-muted); cursor:pointer }
.lead-search-field button:hover,.lead-search-field button:focus-visible { color:var(--hud-text); background:var(--ov-paper) }
.lead-lookup { grid-column:1/-1; min-width:0; padding:9px 14px; border:1px solid var(--ov-line); border-radius:12px; background:var(--ov-paper); --lead-ink:var(--palette-cyan) }
.lead-lookup-bar { display:flex; flex-wrap:wrap; align-items:center; gap:8px 16px }
.lead-lookup-bar label { color:var(--hud-text); font-size:15px; font-weight:650 }
.lead-selected:not(:empty) { display:inline-flex; flex-wrap:wrap; align-items:center; gap:6px 12px; max-width:100% }
.lead-return { padding:6px 11px; min-height:34px; border:1px solid var(--ov-line); border-radius:8px; background:var(--ov-paper); color:var(--hud-text); font:inherit; font-size:13px; font-weight:600; cursor:pointer }
.lead-return:hover { border-color:var(--ov-control-hover); background:var(--hud-panel-2) }
html body.d2-dark.ov-home :is(.lead-return,#lead-choices button,.sc-dialog input,.sc-results button,.sc-dialog-head button) { border-radius:9px!important }
html[data-theme] body.d2-dark.ov-home :is(.lead-grid button,.lead-more summary,.lead-selected a,.sc-desk button,.sc-cta a):focus-visible {
  outline:2px solid var(--ov-control-focus)!important; outline-offset:2px!important;
}
html[data-theme] body.d2-dark.ov-home .sc-dialog input:focus {
  border-color:var(--ov-control-focus)!important; outline:none!important;
  box-shadow:0 0 0 2px color-mix(in srgb,var(--ov-control-focus) 15%,transparent)!important;
}
/* Keep the return tint behind the row text, including the illustrated first place. */
.lead-list .lead-returned { position:relative; isolation:isolate }
.lead-returned::before { content:""; position:absolute; inset:0; z-index:-1; border-radius:6px; pointer-events:none; background:color-mix(in srgb,var(--palette-cyan) 18%,transparent); animation:lead-return-tint 2s ease-in-out both }
.lead-first.lead-returned::before { z-index:0; background:rgb(150 183 203 / 20%) }
.lead-first.lead-returned .lead-copy { position:relative }
@keyframes lead-return-tint {
  0%,100% { opacity:0 }
  10%,60% { opacity:1 }
}
@media (prefers-reduced-motion:reduce) {
  .lead-returned::before { animation:none }
}
html body.d2-dark.ov-home .lead-card a[data-lead-hero]:focus-visible { outline:2px solid var(--ov-control-focus)!important; outline-offset:-2px!important }
.lead-selected a { display:inline-flex; border-radius:6px; align-items:center; gap:8px; min-height:32px; color:var(--hud-text); font-weight:650; text-decoration:none }
.lead-selected img { border-radius:4px; object-fit:cover }
.lead-selected a span { display:grid; gap:1px; line-height:1.22 }
.lead-selected a small { color:var(--hud-muted); font-size:12px; font-weight:500 }
.lead-selected a:hover { text-decoration:underline }
.lead-lookup-status:not(.hm-sr) { margin:7px 0 0; font-size:13px; color:var(--hud-muted) }
.lead-lookup-status:empty,.lead-selected:empty { display:none }
#lead-choices { display:flex; flex-wrap:wrap; gap:5px; max-height:124px; overflow-y:auto; padding:3px; margin-top:6px }
#lead-choices button { padding:4px 9px; min-height:32px; border:1px solid var(--ov-line); border-radius:7px; background:var(--hud-panel-2); color:var(--hud-text); cursor:pointer; font:inherit; font-size:13px }
#lead-choices button:hover,#lead-choices button:focus-visible { border-color:var(--ov-control-hover) }
.lead-lookup .lead-search-field { flex:0 1 320px; min-width:0 }
.lead-focused .lead-card > :not(.lead-heading,.lead-answer),.lead-focused .lead-switch { display:none!important }
.lead-lookup,.lead-lookup input { scroll-margin-top:80px }
.lead-answer { flex:1; padding:12px 17px; background:var(--ov-paper); color:var(--hud-text) }
.lead-answer p { margin:0 }
.lead-figure,.lead-facts { display:flex; align-items:baseline; flex-wrap:wrap; gap:5px 10px; font-variant-numeric:tabular-nums }
.lead-figure strong { color:var(--lead-ink); font-weight:730; font-size:clamp(24px,2vw,32px); line-height:1.15 }
.lead-figure > span,.lead-facts span,.lead-compare span,.lead-compare small,.lead-missing { color:var(--hud-muted); font-size:13px }
.lead-facts,.lead-compare { margin-top:9px }
.lead-compare { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; font-variant-numeric:tabular-nums }
.lead-compare > div { display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 6px }
.lead-compare > div+div { border-left:1px solid var(--ov-line); padding-left:10px }
.lead-compare small { flex-basis:100% }
.lead-focused .lead-rise[data-change=rise] { --lead-ink:var(--hud-accent-strong) }
.lead-focused .lead-rise[data-change=fall] { --lead-ink:var(--palette-red) }
.lead-focused .lead-rise:is([data-change=flat],[data-change=unknown]) { --lead-ink:var(--hud-muted) }
@media (max-width:700px) {
  .lead-lookup { padding:8px 11px }
  .lead-lookup-bar { gap:6px 12px }
  .lead-lookup-bar label { flex:1; order:0 }
  .lead-selected { order:1 }
  .lead-lookup .lead-search-field { order:2; flex:1 1 100% }
  .lead-search-field input { font-size:16px }
  .lead-lookup-bar:has(.lead-return) .lead-selected { order:3; flex-basis:100% }
  .lead-focused .lead-heading { padding-bottom:7px }
  .lead-answer { padding:8px 12px }
}
@media (min-width:375px) and (max-width:700px) {
  .lead-selected .lead-return { padding-inline:7px }
  .lead-selected:has(.lead-return) { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:6px }
}
