/* Hidden Reindeer Hunt — premium adventure shell */
#huntFrame.rh-shell {
  --rh-ink: #f8f2e3;
  --rh-muted: #b9cbd3;
  --rh-night: #071725;
  --rh-panel: rgba(8, 27, 40, .92);
  --rh-gold: #efc56d;
  --rh-red: #a92d43;
  --rh-teal: #66d6cf;
  --rh-target-scale: 1;
  position: relative;
  display: block;
  width: 100%;
  height: min(780px, calc(100dvh - 170px));
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(239, 197, 109, .45);
  border-radius: 26px;
  color: var(--rh-ink);
  background:
    radial-gradient(circle at 75% 0%, rgba(70, 172, 182, .18), transparent 34%),
    linear-gradient(145deg, #0d2a3d 0%, #061521 62%, #180f26 100%);
  box-shadow: 0 32px 90px rgba(0, 0, 0, .48), inset 0 1px 0 rgba(255, 255, 255, .08);
  isolation: isolate;
  font-family: var(--body, 'Mulish', system-ui, sans-serif);
}

#huntFrame.rh-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.65) 0 1px, transparent 1.5px);
  background-size: 39px 39px;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
  opacity: .38;
}

#huntFrame .rh-ambient { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
#huntFrame .rh-ambient span { position: absolute; width: 48%; height: 52%; filter: blur(35px); opacity: .16; border-radius: 50%; background: #58dfd3; animation: rh-aurora 12s ease-in-out infinite alternate; }
#huntFrame .rh-ambient span:nth-child(1) { top: -35%; left: 8%; transform: rotate(18deg); }
#huntFrame .rh-ambient span:nth-child(2) { top: -28%; left: 38%; background: #9e69d7; animation-delay: -5s; }
#huntFrame .rh-ambient span:nth-child(3) { top: -30%; right: -8%; background: #46b8a9; animation-delay: -9s; }

#huntFrame button { font: inherit; }
#huntFrame button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
#huntFrame .rh-view { position: relative; width: 100%; height: 100%; min-height: 0; box-sizing: border-box; animation: rh-view-in .38s ease both; }
#huntFrame .rh-view[hidden] { display: none !important; }
#huntFrame .rh-kicker { margin: 0 0 8px; color: var(--rh-gold); font-family: var(--mono, monospace); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
#huntFrame h2, #huntFrame h3, #huntFrame h4, #huntFrame p { box-sizing: border-box; }
#huntFrame h2, #huntFrame h3, #huntFrame h4 { font-family: var(--display, Georgia, serif); }

#huntFrame .rh-button,
#huntFrame .rh-icon-button {
  min-height: 44px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.08);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, opacity .2s ease;
  -webkit-tap-highlight-color: transparent;
}
#huntFrame .rh-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; font-weight: 800; }
#huntFrame .rh-button:hover, #huntFrame .rh-icon-button:hover { transform: translateY(-2px); border-color: rgba(239,197,109,.8); }
#huntFrame .rh-button--gold { color: #2f1d0b; border-color: #f6dd9b; background: linear-gradient(180deg, #f7d985, #c58d35); box-shadow: 0 10px 30px rgba(196,141,53,.24); }
#huntFrame .rh-button--quiet { background: rgba(255,255,255,.07); }
#huntFrame .rh-primary-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
#huntFrame .rh-icon-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 7px 13px; font-size: 13px; font-weight: 800; }

/* Briefing */
#huntFrame .rh-briefing { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(290px, .72fr); align-items: center; gap: clamp(22px, 4vw, 64px); padding: clamp(24px, 4vw, 64px); overflow-y: auto; }
#huntFrame .rh-brief-copy { max-width: 720px; }
#huntFrame .rh-brief-copy h2 { margin: 0; font-size: clamp(38px, 5vw, 72px); font-weight: 600; line-height: .94; letter-spacing: -.035em; text-wrap: balance; }
#huntFrame .rh-brief-copy h2 em { color: #f6d895; font-weight: 500; }
#huntFrame .rh-lede { max-width: 660px; margin: 20px 0 22px; color: var(--rh-muted); font-size: clamp(15px, 1.4vw, 18px); line-height: 1.65; }
#huntFrame .rh-difficulty { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 9px; padding: 0; margin: 0 0 22px; border: 0; }
#huntFrame .rh-difficulty legend { grid-column: 1/-1; margin-bottom: 7px; color: #fff; font-weight: 800; }
#huntFrame .rh-difficulty-card { min-height: 82px; padding: 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; color: #fff; text-align: left; background: rgba(255,255,255,.055); cursor: pointer; }
#huntFrame .rh-difficulty-card strong, #huntFrame .rh-difficulty-card span { display: block; }
#huntFrame .rh-difficulty-card strong { margin-bottom: 4px; color: #f8e6b1; }
#huntFrame .rh-difficulty-card span { color: var(--rh-muted); font-size: 11px; line-height: 1.35; }
#huntFrame .rh-difficulty-card.is-selected { border-color: var(--rh-gold); background: rgba(239,197,109,.14); box-shadow: inset 0 0 0 1px rgba(239,197,109,.28); }
#huntFrame .rh-guide-card { position: relative; align-self: stretch; min-height: 480px; overflow: hidden; border: 1px solid rgba(239,197,109,.33); border-radius: 24px; background: radial-gradient(circle at 50% 30%, rgba(242,206,127,.2), transparent 38%), linear-gradient(180deg,#12364b,#071521); }
#huntFrame .rh-guide-card::before { content: ''; position: absolute; inset: auto 0 0; height: 48%; z-index: 1; background: linear-gradient(transparent, rgba(4,15,24,.97)); }
#huntFrame .rh-guide-motion, #huntFrame .rh-guide-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; }
#huntFrame .rh-guide-still { display: none; }
#huntFrame.rh-static-motion .rh-guide-motion, #huntFrame.rh-static-motion .rh-reveal-media video, #huntFrame.rh-static-motion .rh-santa-card video { display: none; }
#huntFrame.rh-static-motion .rh-guide-still, #huntFrame.rh-static-motion .rh-reveal-media img, #huntFrame.rh-static-motion .rh-santa-card img { display: block; }
#huntFrame .rh-guide-glow { position: absolute; left: 18%; right: 18%; bottom: 18%; height: 30%; border-radius: 50%; background: rgba(239,197,109,.28); filter: blur(36px); }
#huntFrame .rh-guide-note { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 22px; }
#huntFrame .rh-guide-note span { display: block; color: var(--rh-gold); font: 700 10px var(--mono, monospace); letter-spacing: .16em; text-transform: uppercase; }
#huntFrame .rh-guide-note strong { display: block; font: 600 28px var(--display, Georgia, serif); }
#huntFrame .rh-guide-note p { margin: 6px 0 0; color: #d5e0e3; font-size: 13px; line-height: 1.45; }

/* Map */
#huntFrame .rh-map { display: grid; grid-template-rows: auto auto minmax(0,1fr) auto; gap: 14px; padding: clamp(18px, 2.8vw, 36px); }
#huntFrame .rh-map-head, #huntFrame .rh-stable-head, #huntFrame .rh-play-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
#huntFrame .rh-map-head h2, #huntFrame .rh-stable-head h2 { margin: 0; font-size: clamp(28px, 3.5vw, 48px); line-height: 1; }
#huntFrame .rh-map-tools { display: flex; align-items: center; gap: 10px; }
#huntFrame .rh-mode-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(0,0,0,.24); }
#huntFrame .rh-mode-tabs button { min-height: 38px; padding: 6px 14px; border: 0; border-radius: 999px; color: #b9cbd3; background: transparent; cursor: pointer; }
#huntFrame .rh-mode-tabs button.is-active { color: #251708; background: var(--rh-gold); font-weight: 900; }
#huntFrame .rh-progress-banner { display: grid; grid-template-columns: auto minmax(120px,1fr); align-items: center; gap: 16px; color: #d9e7e9; font-size: 12px; font-weight: 800; }
#huntFrame .rh-progress-banner > div { height: 7px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.11); }
#huntFrame .rh-progress-banner i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #63d6ce, #f0c86c); transition: width .5s ease; }
#huntFrame .rh-map-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 2px 6px 2px 2px; scrollbar-color: rgba(239,197,109,.55) rgba(255,255,255,.06); }
#huntFrame[data-mode="explorer"] .rh-map-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
#huntFrame .rh-map-card { position: relative; min-height: 156px; overflow: hidden; padding: 0; border: 1px solid rgba(255,255,255,.18); border-radius: 17px; color: #fff; text-align: left; background: #102b3b; cursor: pointer; isolation: isolate; }
#huntFrame .rh-map-card-art { position: absolute; inset: 0; z-index: -2; background-image: var(--rh-art); background-size: cover; background-position: center; transition: transform .45s ease, filter .35s ease; }
#huntFrame .rh-map-card-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4,12,19,.04), rgba(4,12,19,.12) 35%, rgba(4,12,19,.94)); }
#huntFrame .rh-map-card-copy { position: absolute; inset: auto 13px 12px; }
#huntFrame .rh-map-card-copy small, #huntFrame .rh-map-card-copy strong, #huntFrame .rh-map-card-copy em, #huntFrame .rh-map-card-copy span { display: block; }
#huntFrame .rh-map-card-copy small { margin-bottom: 2px; color: #f6d98e; font: 700 9px var(--mono, monospace); letter-spacing: .14em; text-transform: uppercase; }
#huntFrame .rh-map-card-copy strong { font: 600 clamp(19px, 2vw, 25px) var(--display, Georgia, serif); line-height: 1; }
#huntFrame .rh-map-card-copy em { color: #c8d8dc; font-size: 10px; }
#huntFrame .rh-map-card-copy span { position: absolute; right: 0; bottom: 0; color: #fff; font: 800 11px var(--mono, monospace); }
#huntFrame .rh-map-card:hover .rh-map-card-art { transform: scale(1.05); }
#huntFrame .rh-map-card.is-complete { border-color: rgba(239,197,109,.78); }
#huntFrame .rh-map-card.is-locked { filter: grayscale(.75); opacity: .52; cursor: not-allowed; }
#huntFrame .rh-map-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
#huntFrame .rh-map-foot p { margin: 0; color: var(--rh-muted); font-size: 12px; }

/* Play */
#huntFrame .rh-play { display: grid; grid-template-rows: auto minmax(0,1fr) auto; gap: 9px; padding: 12px; background: #06131e; }
#huntFrame .rh-play-head { min-height: 56px; padding: 0 4px; }
#huntFrame .rh-scene-title { flex: 1; min-width: 0; }
#huntFrame .rh-scene-title p, #huntFrame .rh-scene-title h2, #huntFrame .rh-scene-title span { margin: 0; }
#huntFrame .rh-scene-title p { color: var(--rh-gold); font: 700 9px var(--mono, monospace); letter-spacing: .14em; text-transform: uppercase; }
#huntFrame .rh-scene-title h2 { overflow: hidden; font-size: clamp(22px,3vw,35px); line-height: 1; text-overflow: ellipsis; white-space: nowrap; }
#huntFrame .rh-scene-title > span { color: var(--rh-muted); font-size: 10px; }
#huntFrame .rh-hud { display: flex; align-items: center; gap: 7px; }
#huntFrame .rh-count, #huntFrame .rh-timer { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 11px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: #fff; background: rgba(255,255,255,.06); font: 800 12px var(--mono, monospace); }
#huntFrame .rh-icon-button:disabled { opacity: .38; cursor: not-allowed; transform: none; }
#huntFrame .rh-icon-button.is-muted { color: #94a2a8; text-decoration: line-through; }
#huntFrame .rh-scene { position: relative; min-height: 0; overflow: hidden; border: 1px solid rgba(239,197,109,.34); border-radius: 20px; background: #0e2637; box-shadow: inset 0 0 70px rgba(0,0,0,.28); }
#huntFrame .rh-scene > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; user-select: none; }
#huntFrame .rh-scene--moon > img, #huntFrame .rh-scene--midnight > img { filter: brightness(.72) saturate(.85) hue-rotate(8deg); }
#huntFrame .rh-scene--crimson > img { filter: saturate(1.08) hue-rotate(-8deg); }
#huntFrame .rh-scene--gold > img { filter: sepia(.14) saturate(.92) brightness(.9); }
#huntFrame .rh-scene--violet > img { filter: hue-rotate(18deg) saturate(1.15); }
#huntFrame .rh-scene--teal > img { filter: hue-rotate(-12deg) saturate(.9); }
#huntFrame .rh-scene-shade { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at center, transparent 45%, rgba(2,10,18,.28)); }
#huntFrame .rh-snow-layer { position: absolute; inset: -30%; pointer-events: none; opacity: .32; background-image: radial-gradient(circle, #fff 0 1px, transparent 1.5px); background-size: 39px 47px; animation: rh-snow 12s linear infinite; }
#huntFrame .rh-targets { position: absolute; inset: 0; }
#huntFrame .rh-target { position: absolute; left: var(--x); top: var(--y); width: calc(clamp(58px, 7vw, 88px) * var(--rh-target-scale)); aspect-ratio: 1; min-width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 50%; color: #fff; background: transparent; transform: translate(-50%,-50%); cursor: pointer; filter: saturate(.72) brightness(.76); mix-blend-mode: multiply; opacity: .62; transition: opacity .2s, filter .2s, transform .2s; animation: rh-deer-breathe 3.5s ease-in-out infinite; }
#huntFrame .rh-target:hover, #huntFrame .rh-target:focus-visible { z-index: 4; opacity: .94; filter: none; mix-blend-mode: normal; transform: translate(-50%,-50%) scale(1.07); }
#huntFrame .rh-target.is-found { pointer-events: none; animation: rh-found-pop .5s ease both; mix-blend-mode: normal; }
#huntFrame .rh-target.is-tracked::before { content: '◆  ·  ◆'; position: absolute; left: 50%; top: 86%; color: #f6dc8d; font-size: 11px; white-space: nowrap; transform: translateX(-50%); animation: rh-footprints 1.2s ease-in-out infinite; }
#huntFrame .rh-target-ring { position: absolute; inset: -4px; border: 2px solid transparent; border-radius: 50%; pointer-events: none; }
#huntFrame .rh-target.is-hinted { z-index: 5; opacity: 1; filter: none; mix-blend-mode: normal; }
#huntFrame .rh-target.is-hinted .rh-target-ring { border-color: var(--rh-gold); box-shadow: 0 0 0 8px rgba(239,197,109,.15), 0 0 34px #f6df9c; animation: rh-ring 1s ease-in-out infinite; }
#huntFrame .rh-deer-svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 4px 4px rgba(0,0,0,.42)); }
#huntFrame .rh-antler { transform-origin: 48px 36px; animation: rh-antler 4s ease-in-out infinite; }
#huntFrame .rh-nose-glow { filter: drop-shadow(0 0 7px #ff4f4f); animation: rh-nose 1.4s ease-in-out infinite; }
#huntFrame .rh-mission-ribbon { position: absolute; top: 12px; left: 50%; max-width: min(620px, calc(100% - 140px)); padding: 8px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #eef7f5; background: rgba(3,17,27,.7); box-shadow: 0 6px 20px rgba(0,0,0,.25); backdrop-filter: blur(10px); font-size: 12px; text-align: center; transform: translateX(-50%); }
#huntFrame .rh-clue { position: absolute; z-index: 8; left: 50%; bottom: 14px; display: flex; align-items: center; gap: 14px; width: min(640px, calc(100% - 32px)); min-height: 88px; padding: 10px 26px 10px 10px; overflow: hidden; border: 2px solid rgba(247,218,144,.88); border-radius: 18px; color: #fff4d3; background: linear-gradient(135deg, rgba(19,67,57,.97), rgba(91,24,27,.97)); box-shadow: 0 12px 36px rgba(0,0,0,.46), inset 0 0 0 1px rgba(255,255,255,.11); font: inherit; font-size: 13px; text-align: left; transform: translate(-50%, 24px) scale(.98); opacity: 0; pointer-events: none; cursor: pointer; transition: opacity .25s ease, transform .25s ease; }
#huntFrame .rh-clue::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; background: repeating-linear-gradient(135deg, #b72d35 0 9px, #f7f0d4 9px 18px, #2d745d 18px 27px, #f7f0d4 27px 36px); }
#huntFrame .rh-clue.is-on { transform: translate(-50%,0) scale(1); opacity: 1; pointer-events: auto; }
#huntFrame .rh-clue:focus-visible { outline: 3px solid #fff4d3; outline-offset: 3px; }
#huntFrame .rh-clue.is-new { animation: rh-clue-pop .42s cubic-bezier(.2,.9,.3,1.18); }
#huntFrame .rh-clue-portrait { position: relative; flex: 0 0 72px; width: 72px; height: 72px; overflow: hidden; border: 2px solid #f2cf78; border-radius: 50%; background: radial-gradient(circle, #295f63, #102c36); box-shadow: 0 0 0 3px rgba(255,255,255,.1), 0 5px 14px rgba(0,0,0,.35); }
#huntFrame .rh-clue-portrait img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.2); }
#huntFrame .rh-clue-copy { display: grid; min-width: 0; gap: 2px; line-height: 1.35; }
#huntFrame .rh-clue-copy strong { color: #f5d778; font: 800 12px var(--mono, monospace); letter-spacing: .12em; text-transform: uppercase; }
#huntFrame .rh-clue-tag { width: max-content; padding: 2px 7px; border: 1px solid rgba(245,215,120,.55); border-radius: 999px; color: #fff4d3; background: rgba(5,32,29,.34); font: 800 8px var(--mono, monospace); letter-spacing: .14em; text-transform: uppercase; }
#huntFrame .rh-clue-copy small { margin-top: 2px; color: rgba(255,244,211,.72); font: 700 9px var(--mono, monospace); letter-spacing: .08em; text-transform: uppercase; }
#huntFrame .rh-clue-sparkle { position: absolute; right: 8px; top: 9px; color: #f5d778; font-size: 14px; animation: rh-ring 1.4s ease-in-out infinite; }
#huntFrame .rh-team-strip { display: flex; align-items: center; gap: 9px; min-height: 56px; overflow-x: auto; padding: 3px 7px; color: var(--rh-muted); font-size: 10px; }
#huntFrame .rh-team-strip > span { flex: 0 0 auto; font: 700 9px var(--mono, monospace); letter-spacing: .12em; text-transform: uppercase; }
#huntFrame .rh-team-strip > div { display: flex; align-items: center; gap: 5px; }
#huntFrame .rh-team-token { display: grid; grid-template-columns: 36px auto; align-items: center; min-width: 40px; min-height: 40px; padding: 2px 7px 2px 2px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; opacity: .36; }
#huntFrame .rh-team-token.is-found { border-color: rgba(239,197,109,.7); background: rgba(239,197,109,.12); opacity: 1; }
#huntFrame .rh-team-token i { color: #fff; font-size: 10px; font-style: normal; }
#huntFrame .rh-deer-svg--mini { width: 36px; height: 36px; }

#huntFrame .rh-reveal, #huntFrame .rh-scene-clear { position: absolute; z-index: 20; inset: 50% auto auto 50%; width: min(390px, calc(100% - 28px)); max-height: calc(100% - 28px); overflow-y: auto; padding: 18px; border: 1px solid rgba(247,218,144,.75); border-radius: 22px; color: #fff; text-align: center; background: linear-gradient(165deg, rgba(19,58,70,.98), rgba(30,16,40,.98)); box-shadow: 0 28px 80px rgba(0,0,0,.65); transform: translate(-50%,-50%); animation: rh-reveal-in .4s cubic-bezier(.2,.9,.3,1.2) both; }
#huntFrame .rh-reveal[hidden], #huntFrame .rh-scene-clear[hidden] { display: none; }
#huntFrame .rh-reveal-sparkles { color: var(--rh-gold); letter-spacing: 8px; }
#huntFrame .rh-reveal-media { position: relative; width: 140px; height: 140px; margin: 0 auto 4px; overflow: hidden; border-radius: 50%; background: radial-gradient(circle, #e4cf97 0%, #326e78 58%, #102937 72%); }
#huntFrame .rh-reveal-media video, #huntFrame .rh-reveal-media > img { width: 100%; height: 100%; object-fit: cover; }
#huntFrame .rh-reveal-media > img, #huntFrame .rh-santa-card > img { display: none; }
#huntFrame .rh-reveal h3 { margin: 0; color: #fff; font-size: 38px; line-height: 1; }
#huntFrame #rhRevealRole { margin: 5px 0 9px; color: var(--rh-gold); font-weight: 800; }
#huntFrame #rhRevealFact { margin: 0 auto 15px; color: #cfdee1; font-size: 13px; line-height: 1.45; }
#huntFrame .rh-scene-clear { width: min(430px, calc(100% - 28px)); }
#huntFrame .rh-clear-star { display: block; color: var(--rh-gold); font-size: 38px; animation: rh-ring 1.2s ease-in-out infinite; }
#huntFrame .rh-scene-clear strong { display: block; font: 600 36px var(--display,Georgia,serif); }
#huntFrame .rh-scene-clear p { margin: 8px 0 16px; color: #d2e0e2; }

/* Stable */
#huntFrame .rh-stable { display: grid; grid-template-rows: auto minmax(0,1fr) auto; gap: 16px; padding: clamp(18px,3vw,36px); }
#huntFrame .rh-stable-head > div { max-width: 750px; }
#huntFrame .rh-stable-head p:not(.rh-kicker) { margin: 8px 0 0; color: var(--rh-muted); font-size: 13px; }
#huntFrame .rh-stable-scroll { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding-right: 8px; scrollbar-color: rgba(239,197,109,.55) rgba(255,255,255,.06); }
#huntFrame .rh-stable-scroll section + section { margin-top: 26px; }
#huntFrame .rh-section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
#huntFrame .rh-section-title h3 { margin: 0; font-size: 24px; }
#huntFrame .rh-section-title span { color: var(--rh-gold); font-size: 11px; font-weight: 800; }
#huntFrame .rh-field-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
#huntFrame .rh-field-card { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto 1fr; min-height: 120px; padding: 11px; border: 1px solid rgba(255,255,255,.1); border-radius: 15px; color: #8fa2a9; background: rgba(255,255,255,.035); filter: grayscale(1); opacity: .62; }
#huntFrame .rh-field-card > div { grid-row: 1/4; align-self: center; width: 58px; }
#huntFrame .rh-field-card small, #huntFrame .rh-field-card h4, #huntFrame .rh-field-card p { margin: 0; }
#huntFrame .rh-field-card small { color: var(--rh-gold); font-size: 9px; font-weight: 800; text-transform: uppercase; }
#huntFrame .rh-field-card h4 { color: #fff; font-size: 21px; }
#huntFrame .rh-field-card p { font-size: 10px; line-height: 1.35; }
#huntFrame .rh-field-card.is-unlocked { border-color: rgba(239,197,109,.27); color: #c9d6d9; background: rgba(239,197,109,.055); filter: none; opacity: 1; }
#huntFrame .rh-daily { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; border: 1px solid rgba(239,197,109,.42); border-radius: 16px; background: linear-gradient(110deg,rgba(113,35,55,.35),rgba(11,55,64,.6)); }
#huntFrame .rh-daily h3, #huntFrame .rh-daily p { margin: 0; }
#huntFrame .rh-daily h3 { font-size: 24px; }
#huntFrame .rh-daily p:not(.rh-kicker) { color: var(--rh-muted); font-size: 12px; }
#huntFrame .rh-collection-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
#huntFrame .rh-collection-grid button { position: relative; min-height: 80px; overflow: hidden; padding: 9px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; color: #fff; text-align: left; background-image: linear-gradient(90deg,rgba(3,13,20,.92),rgba(3,13,20,.35)),var(--rh-art); background-size: cover; background-position: center; cursor: pointer; }
#huntFrame .rh-collection-grid span, #huntFrame .rh-collection-grid strong, #huntFrame .rh-collection-grid em { display: block; }
#huntFrame .rh-collection-grid span { color: var(--rh-gold); font: 700 9px var(--mono,monospace); }
#huntFrame .rh-collection-grid strong { max-width: 90%; font-size: 12px; }
#huntFrame .rh-collection-grid em { color: #d7e1e3; font-size: 10px; font-style: normal; }
#huntFrame .rh-badges { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
#huntFrame .rh-badges > div { display: grid; grid-template-columns: 38px 1fr; padding: 10px; border: 1px dashed rgba(255,255,255,.15); border-radius: 12px; opacity: .42; }
#huntFrame .rh-badges > div.is-earned { border-style: solid; border-color: rgba(239,197,109,.55); background: rgba(239,197,109,.08); opacity: 1; }
#huntFrame .rh-badges span { grid-row: 1/3; color: var(--rh-gold); font-size: 27px; }
#huntFrame .rh-badges strong, #huntFrame .rh-badges small { display: block; }
#huntFrame .rh-badges small { color: var(--rh-muted); font-size: 9px; }
#huntFrame .rh-stable-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* Finale */
#huntFrame .rh-finale { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(280px,.65fr); align-items: center; gap: clamp(22px,5vw,70px); padding: clamp(24px,5vw,70px); overflow: hidden; background: radial-gradient(circle at 65% 20%,rgba(62,211,190,.22),transparent 34%),linear-gradient(160deg,#0b3040,#09131f 62%,#241127); }
#huntFrame .rh-finale-sky { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 20% 16%,#fff 0 1px,transparent 2px); background-size: 48px 48px; opacity: .4; }
#huntFrame .rh-finale-copy { position: relative; z-index: 2; }
#huntFrame .rh-finale-copy h2 { margin: 0; font-size: clamp(42px,6vw,82px); line-height: .92; }
#huntFrame .rh-finale-copy > p:not(.rh-kicker):not(.rh-launch-message) { max-width: 620px; color: var(--rh-muted); font-size: 17px; line-height: 1.6; }
#huntFrame .rh-final-team { display: flex; flex-wrap: wrap; gap: 5px; margin: 18px 0; }
#huntFrame .rh-final-team > span { display: grid; justify-items: center; width: 54px; }
#huntFrame .rh-final-team i { color: #d9e6e6; font-size: 8px; font-style: normal; }
#huntFrame .rh-santa-card { position: relative; z-index: 2; height: min(560px,75vh); overflow: hidden; border: 1px solid rgba(239,197,109,.4); border-radius: 28px 28px 50% 50%; background: radial-gradient(circle,#f4d898,#163c4a 52%,#081720 72%); }
#huntFrame .rh-santa-card video, #huntFrame .rh-santa-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
#huntFrame .rh-sleigh-flight { position: absolute; z-index: 6; left: -75%; bottom: 14%; display: flex; align-items: center; width: 72%; filter: drop-shadow(0 10px 16px rgba(0,0,0,.5)); }
#huntFrame .rh-flight-deer { display: flex; align-items: center; width: 76%; }
#huntFrame .rh-flight-deer svg { width: 11%; }
#huntFrame .rh-sleigh-shape { position: relative; width: 24%; height: 54px; border-radius: 8px 35px 25px 18px; background: linear-gradient(#c64048,#7b1429); border-bottom: 5px solid #edc96e; }
#huntFrame .rh-sleigh-shape::before { content: ''; position: absolute; left: -10%; right: -8%; bottom: -14px; height: 8px; border: 3px solid #edc96e; border-top: 0; border-radius: 0 0 30px 30px; }
#huntFrame .rh-sleigh-flight.is-launched { animation: rh-sleigh 3.4s cubic-bezier(.2,.8,.35,1) both; }
#huntFrame .rh-launch-message { min-height: 24px; color: #f7da93; font-weight: 800; }
#huntFrame .rh-finale-map { position: absolute; z-index: 10; left: 18px; top: 18px; }

#huntFrame .rh-toast { position: absolute; z-index: 50; left: 50%; bottom: 18px; max-width: calc(100% - 32px); padding: 10px 16px; border-radius: 999px; color: #fff; background: rgba(5,18,27,.94); box-shadow: 0 10px 35px rgba(0,0,0,.45); transform: translate(-50%,20px); opacity: 0; pointer-events: none; transition: .25s ease; }
#huntFrame .rh-toast.is-on { opacity: 1; transform: translate(-50%,0); }

@keyframes rh-view-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes rh-aurora { to { transform: translate(18%,12%) rotate(-12deg) scale(1.18); } }
@keyframes rh-snow { to { transform: translate(4%,14%); } }
@keyframes rh-deer-breathe { 50% { margin-top: -2px; } }
@keyframes rh-antler { 50% { transform: rotate(2deg); } }
@keyframes rh-nose { 50% { filter: drop-shadow(0 0 13px #ff6868); } }
@keyframes rh-found-pop { 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.32); } 100% { opacity: 0; transform: translate(-50%,-50%) scale(.7); } }
@keyframes rh-footprints { 50% { opacity: .4; transform: translateX(-50%) translateY(4px); } }
@keyframes rh-ring { 50% { transform: scale(1.08); opacity: .72; } }
@keyframes rh-reveal-in { from { opacity: 0; transform: translate(-50%,-47%) scale(.9); } }
@keyframes rh-clue-pop { 0% { transform: translate(-50%,18px) scale(.92); } 62% { transform: translate(-50%,-3px) scale(1.025); } 100% { transform: translate(-50%,0) scale(1); } }
@keyframes rh-sleigh { 0% { left: -75%; bottom: 12%; transform: rotate(0); } 45% { left: 18%; bottom: 24%; transform: rotate(-5deg); } 100% { left: 112%; bottom: 75%; transform: rotate(-10deg) scale(.62); } }

@media (max-width: 900px) {
  #huntFrame.rh-shell { height: min(820px, calc(100dvh - 150px)); min-height: 650px; }
  #huntFrame .rh-briefing { grid-template-columns: minmax(0,1.1fr) minmax(240px,.65fr); padding: 28px; }
  #huntFrame .rh-guide-card { min-height: 410px; }
  #huntFrame[data-mode="explorer"] .rh-map-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  #huntFrame .rh-field-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #huntFrame .rh-collection-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  #huntFrame .rh-hud .rh-icon-button span:last-child { display: none; }
}

@media (max-width: 680px) {
  #huntFrame.rh-shell { height: min(790px, calc(100dvh - 125px)); min-height: 700px; border-radius: 18px; }
  #huntFrame .rh-view { overflow-y: auto; }
  #huntFrame .rh-briefing { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 18px; padding: 16px; }
  #huntFrame .rh-guide-card { flex: 0 0 190px; min-height: 190px; }
  #huntFrame .rh-guide-motion, #huntFrame .rh-guide-still { object-position: 50% 28%; }
  #huntFrame .rh-guide-note { left: 14px; right: 14px; bottom: 12px; }
  #huntFrame .rh-guide-note p { display: none; }
  #huntFrame .rh-brief-copy h2 { font-size: clamp(34px,11vw,49px); }
  #huntFrame .rh-lede { margin: 13px 0; font-size: 14px; line-height: 1.5; }
  #huntFrame .rh-difficulty { display: flex; flex-direction: column; gap: 6px; }
  #huntFrame .rh-difficulty-card { min-height: 58px; }
  #huntFrame .rh-primary-actions { align-items: stretch; flex-direction: column; }
  #huntFrame .rh-map { gap: 10px; padding: 14px 10px; }
  #huntFrame .rh-map-head { align-items: flex-start; }
  #huntFrame .rh-map-head h2 { font-size: 27px; }
  #huntFrame .rh-map-tools { align-items: flex-end; flex-direction: column-reverse; }
  #huntFrame .rh-map-tools > .rh-icon-button span:last-child { display: none; }
  #huntFrame .rh-mode-tabs button { padding-inline: 10px; }
  #huntFrame .rh-map-grid, #huntFrame[data-mode="explorer"] .rh-map-grid { grid-template-columns: repeat(2,minmax(0,1fr)); overflow: visible; }
  #huntFrame .rh-map-card { min-height: 142px; }
  #huntFrame .rh-map-foot { align-items: flex-start; flex-direction: column-reverse; }
  #huntFrame .rh-play { grid-template-rows: auto minmax(350px,1fr) auto; overflow: hidden; padding: 7px; }
  #huntFrame .rh-play-head { gap: 6px; }
  #huntFrame .rh-back-button span { display: none; }
  #huntFrame .rh-scene-title > span { display: none; }
  #huntFrame .rh-hud { gap: 3px; }
  #huntFrame .rh-hud .rh-count, #huntFrame .rh-hud .rh-timer { min-height: 34px; padding: 0 7px; font-size: 10px; }
  #huntFrame .rh-hud .rh-icon-button { width: 44px; padding: 0; }
  #huntFrame .rh-scene { border-radius: 14px; }
  #huntFrame .rh-scene > img { object-position: center; }
  #huntFrame .rh-mission-ribbon { top: 7px; max-width: calc(100% - 18px); padding: 6px 10px; font-size: 10px; }
  #huntFrame .rh-clue { bottom: 7px; gap: 10px; min-height: 76px; padding: 8px 20px 8px 8px; font-size: 11px; }
  #huntFrame .rh-clue-portrait { flex-basis: 60px; width: 60px; height: 60px; }
  #huntFrame .rh-clue-copy strong { font-size: 10px; }
  #huntFrame .rh-team-strip { min-height: 50px; }
  #huntFrame .rh-team-strip > span { display: none; }
  #huntFrame .rh-team-token { grid-template-columns: 34px; padding: 2px; }
  #huntFrame .rh-team-token i { display: none; }
  #huntFrame .rh-stable { padding: 14px 10px; }
  #huntFrame .rh-stable-head { align-items: flex-start; }
  #huntFrame .rh-stable-head h2 { font-size: 29px; }
  #huntFrame .rh-stable-head p:not(.rh-kicker) { display: none; }
  #huntFrame .rh-field-grid { grid-template-columns: 1fr; }
  #huntFrame .rh-daily { align-items: stretch; flex-direction: column; }
  #huntFrame .rh-collection-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #huntFrame .rh-badges { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #huntFrame .rh-stable-actions { align-items: stretch; flex-direction: column; }
  #huntFrame .rh-finale { display: flex; align-items: stretch; flex-direction: column-reverse; justify-content: center; gap: 16px; padding: 66px 18px 22px; overflow-y: auto; }
  #huntFrame .rh-santa-card { flex: 0 0 220px; height: 220px; border-radius: 22px; }
  #huntFrame .rh-finale-copy h2 { font-size: 44px; }
  #huntFrame .rh-finale-copy > p:not(.rh-kicker):not(.rh-launch-message) { margin: 8px 0; font-size: 14px; }
}

@media (orientation: landscape) and (max-height: 580px) {
  #huntFrame.rh-shell { height: calc(100dvh - 8px); min-height: 430px; }
  #huntFrame .rh-briefing { grid-template-columns: 1.35fr .65fr; padding: 14px 20px; }
  #huntFrame .rh-brief-copy h2 { font-size: 39px; }
  #huntFrame .rh-lede { margin: 8px 0; font-size: 12px; }
  #huntFrame .rh-difficulty { margin-bottom: 9px; }
  #huntFrame .rh-difficulty-card { min-height: 58px; padding: 8px; }
  #huntFrame .rh-guide-card { min-height: 360px; }
  #huntFrame .rh-map { padding: 10px 14px; }
  #huntFrame .rh-map-grid, #huntFrame[data-mode="explorer"] .rh-map-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  #huntFrame .rh-map-card { min-height: 122px; }
  #huntFrame .rh-play { grid-template-rows: 50px minmax(0,1fr) 44px; }
  #huntFrame .rh-finale { grid-template-columns: 1.25fr .55fr; padding: 28px 45px; }
  #huntFrame .rh-santa-card { height: 340px; }
}

@media (prefers-reduced-motion: reduce) {
  #huntFrame *, #huntFrame *::before, #huntFrame *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  #huntFrame .rh-guide-motion, #huntFrame .rh-reveal-media video, #huntFrame .rh-santa-card video { display: none; }
  #huntFrame .rh-guide-still, #huntFrame .rh-reveal-media > img, #huntFrame .rh-santa-card > img { display: block; }
}

/* The launcher window owns the viewport; the Hunt owns one scroll region per screen. */
.np-win.np-win--reindeer .np-win-body { padding: 0; overflow: hidden; }
.np-win.np-win--reindeer #reindeer.in-window { width: 100%; height: 100%; min-height: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.np-win.np-win--reindeer #reindeer.in-window > .toy-ico,
.np-win.np-win--reindeer #reindeer.in-window > h3,
.np-win.np-win--reindeer #reindeer.in-window > .toy-sub,
.np-win.np-win--reindeer #reindeer.in-window > .toy-open { display: none; }
.np-win.np-win--reindeer #huntFrame.rh-shell { height: 100%; min-height: 0; border: 0; border-radius: 0; box-shadow: none; }

@media (pointer: coarse) {
  #huntFrame .rh-button, #huntFrame .rh-icon-button, #huntFrame .rh-mode-tabs button, #huntFrame .rh-difficulty-card, #huntFrame .rh-map-card, #huntFrame .rh-collection-grid button { min-height: 44px; }
}

/* Ranger Icewalker's composited introduction. Controls and captions never cover the character. */
#huntFrame .rh-ranger-card { min-width: 0; align-self: center; border: 1px solid rgba(239,197,109,.35); border-radius: 22px; overflow: hidden; background: #0a2233; }
#huntFrame .rh-ranger-stage { position: relative; height: clamp(230px,25vw,340px); overflow: hidden; background: #143d56; }
#huntFrame .rh-ranger-background, #huntFrame .rh-ranger-background img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 65%; }
#huntFrame .rh-ranger-character { position: absolute; left: 58%; bottom: -2%; width: auto; height: 95.68%; aspect-ratio: 16 / 9; transform: translateX(-50%); }
#huntFrame .rh-ranger-character img, #huntFrame .rh-ranger-character video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
#huntFrame .rh-ranger-character [hidden] { display: none !important; }
#huntFrame .rh-ranger-footer { padding: 16px 18px; }
#huntFrame .rh-ranger-footer h3 { margin: 0 0 10px; color: #fff1cb; font-size: 25px; line-height: 1.1; }
#huntFrame .rh-ranger-footer .rh-kicker { font-size: 9px; margin-bottom: 4px; }
#huntFrame .rh-ranger-controls { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
#huntFrame .rh-ranger-controls[hidden] { display: none; }
#huntFrame .rh-ranger-silent { color: var(--rh-muted); font-size: 11px; }
#huntFrame .rh-ranger-controls .rh-button { padding: 8px 13px; font-size: 13px; }
#huntFrame .rh-ranger-caption { height: 6em; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; scrollbar-color: var(--rh-gold) #0a2233; padding-right: 8px; color: #d9e4ea; font-size: 14px; line-height: 1.5; margin: 8px 0 0; }
#huntFrame .rh-ranger-caption:focus-visible { outline: 2px solid var(--rh-gold); outline-offset: 3px; }
#huntFrame .rh-ranger-transcript-label { margin: 10px 0 0; color: var(--rh-gold); font-size: 12px; }
#huntFrame .rh-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 680px) {
  #huntFrame .rh-briefing { flex-direction: column; gap: 12px; }
  #huntFrame .rh-brief-copy { display: contents; }
  #huntFrame .rh-brief-copy > .rh-kicker { margin: 0; }
  #huntFrame .rh-brief-copy h2 { font-size: clamp(31px,9vw,45px); }
  #huntFrame .rh-brief-copy .rh-lede { margin: 0; }
  #huntFrame .rh-ranger-card { order: -1; }
  #huntFrame .rh-difficulty { order: 2; margin: 4px 0 0; }
  #huntFrame .rh-primary-actions { order: 3; }

  #huntFrame .rh-ranger-card { flex: 0 0 auto; width: 100%; }
  #huntFrame .rh-ranger-stage { height: 210px; }
  #huntFrame .rh-ranger-background img { object-position: 50% 67%; }
  #huntFrame .rh-ranger-footer { padding: 12px; }
  #huntFrame .rh-ranger-caption { height: 6em; min-height: 0; }
}
@media (orientation: landscape) and (max-height: 580px) {
  #huntFrame .rh-ranger-stage { height: 230px; }
}

/* ===== VIEWPORT DENSITY REVIEW 2026-09-11 ===== */
/* Keep controls touch-safe even when their text label is intentionally hidden. */
@media (pointer: coarse) {
  #huntFrame .rh-icon-button { min-width: 44px; }
}

/* The Stable is a field guide, not a stack of giant cards. Use available width. */
#huntFrame .rh-stable { gap: 12px; }
#huntFrame .rh-stable-scroll section + section { margin-top: 18px; }
#huntFrame .rh-field-card { min-height: 104px; }
#huntFrame .rh-collection-grid button { min-height: 70px; }
@media (min-width: 1100px) {
  #huntFrame .rh-field-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
  #huntFrame .rh-collection-grid { grid-template-columns: repeat(6,minmax(0,1fr)); }
}

/* Preserve more of the 16:9 hidden-object plates on wide laptop/desktop shells. */
@media (min-width: 1101px) {
  #huntFrame .rh-scene { width: min(100%,1100px); justify-self: center; }
}

/* Laptop-height density: Explorer should not need a tiny nested scroll, and finale should fit. */
@media (min-width: 901px) and (max-height: 800px) {
  #huntFrame .rh-map { gap: 9px; padding: 16px 20px; }
  #huntFrame .rh-map-head h2 { font-size: clamp(30px,3vw,40px); }
  #huntFrame .rh-map-card { min-height: 116px; }
  #huntFrame .rh-map-foot p { font-size: 11px; }
  #huntFrame .rh-finale { gap: 24px; padding: 20px 28px; }
  #huntFrame .rh-finale-copy h2 { font-size: clamp(40px,5vw,60px); }
  #huntFrame .rh-finale-copy > p:not(.rh-kicker):not(.rh-launch-message) { margin: 8px 0; font-size: 14px; line-height: 1.35; }
  #huntFrame .rh-final-team { margin: 10px 0; }
  #huntFrame .rh-final-team > span { width: 48px; }
  #huntFrame .rh-santa-card { height: min(430px,65vh); }
}

/* Portrait tablets can show richer grids while keeping readable card widths. */
@media (min-width: 681px) and (max-width: 900px) {
  #huntFrame .rh-briefing { gap: 20px; padding: 22px; }
  #huntFrame .rh-ranger-stage { height: 200px; }
  #huntFrame .rh-ranger-footer { padding: 12px 14px; }
  #huntFrame .rh-ranger-footer h3 { margin-bottom: 6px; font-size: 22px; }
  #huntFrame .rh-ranger-caption { height: 4.5em; font-size: 12px; line-height: 1.4; }
  #huntFrame[data-mode="explorer"] .rh-map-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  #huntFrame .rh-map-card { min-height: 128px; }
  #huntFrame .rh-field-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  #huntFrame .rh-field-card { grid-template-columns: 50px 1fr; min-height: 94px; padding: 9px; }
  #huntFrame .rh-field-card > div { width: 44px; }
  #huntFrame .rh-field-card p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  #huntFrame .rh-collection-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (min-width: 681px) and (max-width: 900px) and (orientation: portrait) {
  #huntFrame .rh-play { grid-template-rows: auto auto auto; align-content: center; }
  #huntFrame .rh-scene { width: 100%; aspect-ratio: 4 / 3; min-height: 0; justify-self: center; }
}

/* Phone layout: compact choices, keep Ranger visible, and avoid portrait-cropping the hunt art. */
@media (max-width: 680px) {
  #huntFrame.rh-shell { height: min(700px, calc(100dvh - 90px)); min-height: 540px; }
  #huntFrame .rh-briefing { gap: 8px; padding: 12px; }
  #huntFrame .rh-brief-copy h2 { font-size: clamp(27px,8.2vw,38px); line-height: .98; }
  #huntFrame .rh-lede { margin: 2px 0; font-size: 13px; line-height: 1.4; }
  #huntFrame .rh-ranger-stage { height: 176px; }
  #huntFrame .rh-ranger-footer { padding: 9px 10px; }
  #huntFrame .rh-ranger-footer .rh-kicker { margin-bottom: 2px; font-size: 8px; }
  #huntFrame .rh-ranger-footer h3 { margin: 0 0 5px; font-size: 21px; }
  #huntFrame .rh-ranger-controls { gap: 4px; }
  #huntFrame .rh-ranger-controls .rh-button { width: 100%; min-height: 44px; padding: 7px 10px; font-size: 12px; }
  #huntFrame .rh-ranger-silent { display: none; }
  #huntFrame .rh-ranger-transcript-label { margin: 6px 0 0; font-size: 9px; }
  #huntFrame .rh-ranger-caption { height: 3.7em; margin: 3px 0 0; padding-right: 5px; font-size: 12px; line-height: 1.35; }
  #huntFrame .rh-difficulty { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; margin: 2px 0 0; }
  #huntFrame .rh-difficulty legend { margin-bottom: 2px; font-size: 11px; }
  #huntFrame .rh-difficulty-card { min-height: 52px; padding: 6px 4px; text-align: center; }
  #huntFrame .rh-difficulty-card strong { margin: 0; font-size: 11px; line-height: 1.1; }
  #huntFrame .rh-difficulty-card span { display: none; }
  #huntFrame .rh-primary-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
  #huntFrame .rh-primary-actions .rh-button { min-width: 0; min-height: 48px; padding: 7px 8px; font-size: 12px; line-height: 1.15; text-align: center; }

  #huntFrame .rh-map { gap: 8px; padding: 10px 8px; }
  #huntFrame .rh-map-head { align-items: center; gap: 8px; }
  #huntFrame .rh-map-head h2 { font-size: 24px; line-height: 1.05; }
  #huntFrame .rh-map-tools { flex-direction: row; align-items: center; gap: 5px; }
  #huntFrame .rh-mode-tabs button { padding-inline: 8px; font-size: 11px; }
  #huntFrame .rh-progress-banner { gap: 8px; font-size: 11px; }
  #huntFrame .rh-map-card { min-height: 118px; }
  #huntFrame .rh-map-card-copy { inset: auto 9px 8px; }
  #huntFrame .rh-map-card-copy strong { font-size: clamp(16px,5vw,20px); }
  #huntFrame .rh-map-foot { flex-direction: row; align-items: center; gap: 8px; }
  #huntFrame .rh-map-foot .rh-button { flex: 0 0 auto; padding-inline: 12px; font-size: 11px; }
  #huntFrame .rh-map-foot p { max-width: 56%; font-size: 9.5px; line-height: 1.2; text-align: right; }

  #huntFrame .rh-play { grid-template-rows: auto auto auto; align-content: center; overflow: hidden; }
  #huntFrame .rh-scene { width: 100%; aspect-ratio: 4 / 3; min-height: 0; justify-self: center; }
  #huntFrame .rh-team-strip { min-height: 44px; }
  #huntFrame .rh-mission-ribbon { max-width: calc(100% - 14px); }

  #huntFrame .rh-stable { gap: 9px; padding: 10px 8px; }
  #huntFrame .rh-stable-head { gap: 8px; }
  #huntFrame .rh-stable-head h2 { font-size: 25px; }
  #huntFrame .rh-stable-scroll { padding-right: 4px; }
  #huntFrame .rh-stable-scroll section + section { margin-top: 14px; }
  #huntFrame .rh-section-title { gap: 8px; margin-bottom: 6px; }
  #huntFrame .rh-section-title h3 { font-size: 19px; }
  #huntFrame .rh-section-title span { font-size: 9px; }
  #huntFrame .rh-field-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
  #huntFrame .rh-field-card { grid-template-columns: 42px 1fr; grid-template-rows: auto auto; min-height: 80px; padding: 7px; border-radius: 11px; }
  #huntFrame .rh-field-card > div { grid-row: 1 / 3; width: 38px; }
  #huntFrame .rh-field-card small { font-size: 7px; line-height: 1.1; }
  #huntFrame .rh-field-card h4 { font-size: 16px; line-height: 1; }
  #huntFrame .rh-field-card p { display: none; }
  #huntFrame .rh-daily { gap: 8px; padding: 10px; }
  #huntFrame .rh-daily h3 { font-size: 17px; line-height: 1.1; }
  #huntFrame .rh-daily p:not(.rh-kicker) { font-size: 10px; line-height: 1.2; }
  #huntFrame .rh-daily .rh-button { min-height: 44px; padding: 7px 12px; font-size: 11px; }
  #huntFrame .rh-collection-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
  #huntFrame .rh-collection-grid button { min-height: 64px; padding: 7px; }
  #huntFrame .rh-collection-grid strong { font-size: 10px; line-height: 1.05; }
  #huntFrame .rh-collection-grid em { font-size: 9px; }
  #huntFrame .rh-badges { gap: 6px; }
  #huntFrame .rh-badges > div { grid-template-columns: 28px 1fr; padding: 7px; }
  #huntFrame .rh-badges span { font-size: 20px; }
  #huntFrame .rh-badges strong { font-size: 11px; }
  #huntFrame .rh-badges small { font-size: 8px; line-height: 1.1; }
  #huntFrame .rh-stable-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
  #huntFrame .rh-stable-actions .rh-button { min-width: 0; padding: 7px 8px; font-size: 11px; line-height: 1.15; text-align: center; }

  #huntFrame .rh-finale { gap: 12px; padding: 58px 14px 16px; }
  #huntFrame .rh-santa-card { flex-basis: 190px; height: 190px; }
  #huntFrame .rh-finale-copy h2 { font-size: clamp(32px,9vw,40px); line-height: .96; text-wrap: balance; }
  #huntFrame .rh-final-team { margin: 10px 0; }
}
@media (max-width: 340px) {
  #huntFrame .rh-collection-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

/* Short landscape gets a horizontal reveal instead of a tall scrolling card. */
@media (orientation: landscape) and (max-height: 580px) {
  #huntFrame .rh-briefing { gap: 14px; padding: 10px 16px; }
  #huntFrame .rh-brief-copy h2 { font-size: 34px; }
  #huntFrame .rh-lede { margin: 5px 0; font-size: 11.5px; line-height: 1.3; }
  #huntFrame .rh-difficulty { gap: 5px; margin-bottom: 6px; }
  #huntFrame .rh-difficulty-card { min-height: 48px; padding: 6px; }
  #huntFrame .rh-difficulty-card span { font-size: 9px; }
  #huntFrame .rh-ranger-stage { height: 190px; }
  #huntFrame .rh-ranger-footer { padding: 9px 11px; }
  #huntFrame .rh-ranger-caption { height: 3.4em; margin-top: 4px; font-size: 11px; line-height: 1.3; }
  #huntFrame .rh-ranger-transcript-label { margin-top: 5px; font-size: 9px; }
  #huntFrame .rh-map { gap: 7px; padding: 8px 12px; }
  #huntFrame .rh-map-card { min-height: 104px; }
  #huntFrame .rh-scene { width: min(100%,620px); justify-self: center; }
  #huntFrame .rh-reveal { display: grid; grid-template-columns: 92px minmax(0,1fr); grid-template-areas: 'spark spark' 'media kicker' 'media name' 'media role' 'media fact' 'media action'; column-gap: 12px; row-gap: 2px; width: min(520px,calc(100% - 20px)); max-height: calc(100% - 16px); padding: 9px 12px; text-align: left; }
  #huntFrame .rh-reveal-sparkles { grid-area: spark; text-align: center; font-size: 10px; line-height: 1; }
  #huntFrame .rh-reveal-media { grid-area: media; width: 92px; height: 92px; margin: 0; align-self: center; }
  #huntFrame .rh-reveal .rh-kicker { grid-area: kicker; margin: 0; font-size: 8px; }
  #huntFrame .rh-reveal h3 { grid-area: name; font-size: 28px; }
  #huntFrame #rhRevealRole { grid-area: role; margin: 1px 0 3px; font-size: 11px; }
  #huntFrame #rhRevealFact { grid-area: fact; margin: 0 0 5px; font-size: 10.5px; line-height: 1.25; }
  #huntFrame .rh-reveal [data-action="close-reveal"] { grid-area: action; justify-self: start; min-height: 40px; padding: 6px 14px; font-size: 11px; }
  #huntFrame .rh-scene-clear { max-height: calc(100% - 16px); padding: 12px; }
  #huntFrame .rh-scene-clear strong { font-size: 29px; }
  #huntFrame .rh-scene-clear p { margin: 5px 0 9px; font-size: 11px; }
  #huntFrame .rh-stable { padding: 8px 12px; }
  #huntFrame .rh-stable-scroll section + section { margin-top: 12px; }
  #huntFrame .rh-field-card { min-height: 84px; }
  #huntFrame .rh-finale { gap: 18px; padding: 18px 36px; }
  #huntFrame .rh-santa-card { height: 290px; }
  #huntFrame .rh-finale-copy h2 { font-size: 42px; }
}
