*{box-sizing:border-box} .site-header{border-bottom:1px solid #2c353e!important;background:#101316}.site-header .site-head{max-width:1240px;width:100%;margin:auto;padding:14px 24px!important;height:auto!important;min-height:68px;display:flex;align-items:center;gap:22px;justify-content:space-between}.site-brand{display:inline-flex;align-items:center;gap:10px;color:#edf1f4!important;text-decoration:none!important;font-size:17px;font-weight:750;letter-spacing:-.035em;white-space:nowrap}.site-logo{display:grid;place-items:center;background:#b6f57a;color:#15220e;width:34px;height:34px;border-radius:9px;flex-shrink:0}.site-logo svg{width:25px;height:25px}.site-dot{color:#b6f57a}.site-vs{color:#a5afb9;font-weight:500}.site-links{display:flex;gap:15px;align-items:center;margin-left:auto}.site-links a{font-size:13px;color:#a5afb9;text-decoration:none}.site-links a:hover{color:#b6f57a}.site-lang{display:flex;gap:2px;padding:3px;border:1px solid #303942;border-radius:8px;flex-shrink:0}.site-lang button{background:transparent!important;border:0!important;color:#a5afb9!important;font:650 12px system-ui!important;padding:6px 8px!important;border-radius:5px;cursor:pointer}.site-lang button.active,.site-lang button[aria-pressed=true]{color:#edf1f4!important;background:#303942!important}.site-header :focus-visible,.home :focus-visible{outline:2px solid #b6f57a;outline-offset:3px}@media(max-width:560px){.site-header .site-head{padding:12px!important;gap:8px;min-height:58px;flex-wrap:wrap}.site-brand{font-size:14px;gap:7px}.site-logo{width:28px;height:28px}.site-logo svg{width:21px}.site-links{order:3;flex-basis:100%;margin:0;padding-left:35px}.site-links:empty{display:none}.site-lang button{padding:5px 6px!important}}
/* Shared layout, typography and interaction refinements. */
:root{--site-width:1240px;--site-gutter:24px}
body>main,.home main,.home footer,.site-header .site-head{max-width:var(--site-width);padding-inline:var(--site-gutter)!important}
body:not(.home) footer,body[data-experiment="hunter"] footer>div{max-width:var(--site-width);margin-inline:auto;padding-inline:var(--site-gutter)}
.site-header .site-head{min-height:68px}
.site-brand,.site-links a{min-height:44px;display:inline-flex;align-items:center}
.site-lang button{min-width:38px;min-height:38px;font-size:13px!important}
.site-lang button:hover:not(.active):not([aria-pressed=true]){background:#20272d!important;color:#edf1f4!important}
button:focus-visible,a:focus-visible,summary:focus-visible,select:focus-visible{outline:2px solid #b6f57a;outline-offset:3px}
button:active:not(:disabled){filter:brightness(.91)}
button:disabled{cursor:not-allowed}
button:not(:disabled),summary{touch-action:manipulation}
body:not(.home) .panel{border-radius:14px}
body:not(.home) .tag,body:not(.home) .mono,body:not(.home) .eyebrow,body:not(.home) .memory-label{font-size:12px;letter-spacing:.035em}
body:not(.home) .small,body:not(.home) .subtext,body:not(.home) .hint,body:not(.home) .tiny,body:not(.home) .dataset-note,body:not(.home) .legend{font-size:13px;line-height:1.5}
body:not(.home) .metric p,body:not(.home) .score p,body:not(.home) .source small,body:not(.home) .attrs,body:not(.home) .rule p,body:not(.home) .pattern small{font-size:12px;line-height:1.45}
body:not(.home) .score-top .tag,body:not(.home) .fighter .tag,body:not(.home) .metric .tag,body:not(.home) .stat .mono{font-size:11px;letter-spacing:.025em}
body:not(.home) .feedback p,body:not(.home) .fighter-name,body:not(.home) .outcomes span,body:not(.home) .fivegrid small{font-size:12px}
body:not(.home) summary{min-height:28px;align-content:center}
.home .meta,.home .algorithm{font-size:12px;letter-spacing:.02em}
.home .card-copy p,.home .section-head p{font-size:14px}
.home .experiment:focus-visible{outline-offset:4px}
/* Keep the board and primary action prominent; secondary analysis follows. */
body[data-experiment="predict-me"] .analytics .live>.panel{padding:18px}
body[data-experiment="predict-me"] .analytics .metrics{gap:10px}
body[data-experiment="predict-me"] .analytics .models{gap:10px}
body[data-experiment="predict-me"] .score,body[data-experiment="predict-me"] .metric{border-radius:10px}
body[data-experiment="hunter"] .metrics .metric{border-radius:10px}
body[data-experiment="deduction"] .source{border-radius:10px}
body[data-experiment="deduction"] .source:not(:disabled):active{background:#263629}
@media(max-width:800px){
  :root{--site-gutter:15px}
  .site-header .site-head{gap:8px}
  .site-lang button{min-height:40px;min-width:38px}
  body:not(.home) .hero,body:not(.home) .intro{margin-bottom:14px}
  body:not(.home) main{padding-top:16px}
  body:not(.home) .panel{padding:14px}
  body:not(.home) .hero p,body:not(.home) .intro p{font-size:14px;line-height:1.45}
  body:not(.home) .btn,body:not(.home) .primary,body:not(.home) .reset,body:not(.home) .actions button,body:not(.home) .draw-toolbar button,body:not(.home) .trace-options button{min-height:44px}
  body[data-experiment="predict-me"] .play{gap:11px}
  body[data-experiment="predict-me"] .tutorial{padding:9px 10px;gap:7px}
  body[data-experiment="predict-me"] .tutorial p{font-size:12px;line-height:1.4}
  body[data-experiment="predict-me"] .score{padding:8px 10px}
  body[data-experiment="predict-me"] .score p{margin:3px 0 0}
  body[data-experiment="predict-me"] .arena{padding:9px 6px;min-height:108px;gap:5px}
  body[data-experiment="predict-me"] .fighter{gap:4px}
  body[data-experiment="predict-me"] .signal-display{width:43px;height:43px}
  body[data-experiment="predict-me"] .signal-display svg{width:27px;height:27px}
  body[data-experiment="predict-me"] .choice{min-height:76px;padding:8px 4px;gap:3px}
  body[data-experiment="predict-me"] .choice svg{width:28px;height:28px}
  body[data-experiment="predict-me"] .choice span{font-size:12px}
  body[data-experiment="predict-me"] .instruction{margin:3px 0 7px;font-size:12px}
  body[data-experiment="predict-me"] .progress{margin-top:8px}
  body[data-experiment="predict-me"] .game-head{gap:6px}
  body[data-experiment="predict-me"] .analytics .live>.panel{padding:14px}
  body[data-experiment="hunter"] .dpad{grid-template-columns:repeat(3,44px);grid-template-rows:repeat(2,44px);gap:5px}
  body[data-experiment="hunter"] .overlay-content .btn{min-height:44px}
  body[data-experiment="hunter"] .overlay-content p{font-size:12px;line-height:1.35}
  body[data-experiment="deduction"] .accuse-box select{min-height:44px}
}
@media(max-width:560px){
  .site-header .site-head{padding:8px var(--site-gutter)!important;min-height:58px}
  .site-links{padding-left:0;gap:16px}
  .site-links a{min-height:36px}
  .site-brand{min-height:40px}
  .site-lang button{min-width:34px;min-height:38px}
  body[data-experiment="predict-me"] .arena .fighter .tag{font-size:10px;overflow-wrap:anywhere}
  body[data-experiment="predict-me"] .feedback strong{font-size:16px}
  body[data-experiment="predict-me"] .feedback p{font-size:12px}
  body[data-experiment="predict-me"] .hero h1{font-size:38px}
  body[data-experiment="predict-me"] .eyebrow{margin-bottom:6px}
  body[data-experiment="predict-me"] #choiceArea{order:-1}
  body[data-experiment="predict-me"] .play>div:first-child{order:-3}
  body[data-experiment="predict-me"] .tutorial{order:-2}
  body[data-experiment="predict-me"] .arena{order:0}
  body[data-experiment="predict-me"] .scoreboard{order:1}
  body[data-experiment="predict-me"] .final,body[data-experiment="predict-me"] .actions{order:2}
}
@media(max-width:360px){
  :root{--site-gutter:10px}
  body:not(.home) .panel{padding:11px}
  .site-brand{font-size:13px;gap:6px}
  .site-lang button{min-width:32px}
  body[data-experiment="predict-me"] .memory-label{font-size:11px}
  body[data-experiment="predict-me"] .choice span{font-size:12px;overflow-wrap:anywhere}
  body[data-experiment="hunter"] .metric{padding:7px 6px}
  body[data-experiment="hunter"] .metric p{font-size:11px}
  body[data-experiment="hunter"] .overlay-content{padding:8px}
  body[data-experiment="hunter"] .overlay-content .tag{font-size:10px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
body[data-experiment="hunter"] footer{max-width:none;padding-inline:0}
@media(max-width:560px){
  body[data-experiment="hunter"] footer>div{align-items:flex-start;flex-direction:column;gap:4px}
}
@media(max-width:360px){
  body[data-experiment="deduction"] .history .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-experiment="deduction"] .accuse-box .row{flex-wrap:wrap}
  body[data-experiment="deduction"] .accuse-box select,body[data-experiment="deduction"] .accuse-box .primary{width:100%}
}

/* Align numeric values across cards even when translated labels wrap. */
.scoregrid>.stat,body[data-experiment="deduction"] .stats>.stat{display:flex;flex-direction:column;gap:5px}
.scoregrid>.stat>.val,body[data-experiment="deduction"] .stats>.stat>strong{margin-top:auto}
/* Shared rows keep the label, value and description aligned independently. */
body[data-experiment="predict-me"] .metric-grid>.metric,
body[data-experiment="predict-me"] .scoreboard>.score,
body[data-experiment="hunter"] .metrics>.metric,
body[data-experiment="tactics"] .trace-line>div{display:grid;grid-row:span 3;grid-template-rows:subgrid;row-gap:0;align-items:start}
