/* Scoped to the game; existing sections stay untouched. */
#head-hunt{padding-top:72px;padding-bottom:76px;border-top:1px solid var(--line);scroll-margin-top:110px}
#head-hunt .head-hunt-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:40px}
#head-hunt h2{max-width:620px;font-size:clamp(32px,3.5vw,45px);font-weight:500;line-height:1.2;letter-spacing:-.05em;text-wrap:balance}
#head-hunt .head-hunt-description{max-width:350px;font-size:14px;line-height:1.7;color:var(--muted)}
#head-hunt .head-hunt-touch-copy{display:none}
#head-hunt .head-hunt-field{margin-top:38px;padding:32px 26px;isolation:isolate}
#head-hunt .head-hunt-grid{--hunt-columns:22;position:relative;display:grid;grid-template-columns:repeat(var(--hunt-columns),minmax(0,1fr));gap:10px 0;touch-action:pinch-zoom;user-select:none;-webkit-user-select:none}
#head-hunt .head-hunt-cell{position:relative;display:grid;place-items:center;min-width:0;width:100%;height:54px;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer;outline-offset:3px}
#head-hunt .head-hunt-cell:disabled{cursor:default}
#head-hunt .head-hunt-picture{width:86%;max-width:42px;height:auto;aspect-ratio:1;pointer-events:none;transform:scale(var(--head-scale,1));transform-origin:center;transition:transform 180ms cubic-bezier(.2,.7,.2,1),filter 200ms ease;-webkit-user-drag:none}
#head-hunt .head-hunt-cell.is-near .head-hunt-picture{will-change:transform}
#head-hunt .head-hunt-cell.is-found .head-hunt-picture{filter:drop-shadow(0 4px 7px #63734826)}
#head-hunt .head-hunt-result-space{min-height:88px;margin-top:22px;display:grid;align-items:center}
#head-hunt .head-hunt-result{display:flex;align-items:center;justify-content:center;gap:36px;text-align:left}
#head-hunt .head-hunt-result h3{font-size:26px;font-weight:500;letter-spacing:-.04em;line-height:1.25}
#head-hunt .head-hunt-result p{margin-top:4px;font-size:14px;color:var(--muted)}
#head-hunt .head-hunt-replay{border:1px solid #b4bda7;border-radius:999px;padding:12px 23px;font-size:14px;line-height:1.6;white-space:nowrap;transition:background-color 180ms ease,border-color 180ms ease}
#head-hunt .head-hunt-replay:hover{background:#f3f5ee;border-color:var(--accent)}
#head-hunt .head-hunt-note{font-size:14px;color:var(--muted);text-align:center}
#head-hunt [hidden]{display:none!important}
#head-hunt .head-hunt-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:1000px){
  #head-hunt .head-hunt-grid{--hunt-columns:11;gap:5px 0}
  #head-hunt .head-hunt-cell{height:42px}
  #head-hunt .head-hunt-picture{max-width:37px}
  #head-hunt .head-hunt-intro{align-items:flex-start;gap:24px}
  #head-hunt .head-hunt-description{max-width:300px}
}
@media(max-width:760px){
  #head-hunt{padding-top:48px;padding-bottom:48px}
  #head-hunt .head-hunt-intro{display:block}
  #head-hunt h2{max-width:460px;font-size:34px}
  #head-hunt .head-hunt-description{max-width:440px;margin-top:18px}
  #head-hunt .head-hunt-field{margin-top:26px;padding:25px 14px}
  #head-hunt .head-hunt-grid{--hunt-columns:10;gap:6px 0}
  #head-hunt .head-hunt-cell{height:38px}
  #head-hunt .head-hunt-picture{width:86%;max-width:33px}
  #head-hunt .head-hunt-result-space{margin-top:18px;min-height:98px}
  #head-hunt .head-hunt-result{gap:24px;justify-content:space-between}
  #head-hunt .head-hunt-result h3{font-size:24px}
  #head-hunt .head-hunt-replay{padding:11px 17px}
}
@media(hover:none) and (pointer:coarse){
  #head-hunt .head-hunt-pointer-copy{display:none}
  #head-hunt .head-hunt-touch-copy{display:inline}
}
@media(prefers-reduced-motion:reduce){#head-hunt .head-hunt-picture,#head-hunt .head-hunt-replay{transition:none!important}}
@media print{#head-hunt{display:none}}
