/* ═══ MOBILE EXPERIENCE LANE — cards.html phone layer (Nov 3 2026) ═══
 * Loaded LAST in cards.html's head cascade; every rule lives inside a
 * narrow-viewport media block, so desktop rendering is untouched.
 * Scope: tap targets, control-row fit, and fixed-panel containment at
 * phone widths, measured at 390x844 (audit: hidden_files/mobile-lane/audit2).
 * CSS only — no JS, no markup, no other lane's rules edited.
 * Batch 1 targets, from the rendered audit:
 *  - game-header buttons measured 40px tall: the Oct 10 mobile pass set
 *    44px, but the later AAA header block (.game-header .sound-btn,
 *    specificity 0-2-0) silently overrode it back to 40px. Restored here
 *    with the same selector at the end of the cascade.
 *  - the jukebox chip's glyph buttons measured 21-30px tall — too small
 *    to hit on a phone. Grown to 40px hit boxes (visual glyph unchanged).
 *  - range sliders measured 16px tall; given a 28px grab height.
 *  - the site nav's Sign in pill measured 33px tall on this page.
 *  - growth-lane CTA pills (.kgx-act) measured 40px; close chip 40x40.
 *  - the Nox & Vire panel auto-opens over the game on a first visit and
 *    at 420px tall covered the middle half of the phone screen on every
 *    view (gate, lobby, campaign). Contained to a 300px sheet so the
 *    page's own heading and first actions stay visible above it. The
 *    widget's open/close behaviour is its owner's JS — untouched.
 *  - the widget's footer/dismiss text measured 10.9px; raised to 12px.
 */
@media (max-width: 480px) {
  .game-header .sound-btn, .game-header .help-toggle-btn,
  .game-header select.sound-btn, .game-header .acct-btn { min-height: 44px; }
  body #kgSfxVol { height: 28px; }
  .header-btns .bgm-chip button { min-width: 40px; min-height: 40px; }
  .header-btns .bgm-chip .bgm-picker { min-height: 40px; }
  .header-btns .bgm-chip .bgm-vol { height: 28px; }
  #tavAcctBtn { min-height: 40px; }
  body .kgx-act { min-height: 44px; }
  body .kgx-close { min-width: 44px; min-height: 44px; }
  .nxv-panel { height: 300px; }
  .nxv-foot, .nxv-goodbye { font-size: 12px; }
  /* Batch 1b — the header control block measured 521px wide on a 390px
   * screen: the jukebox chip is one non-wrapping row, and as the widest
   * item in .header-btns it set that block's min-content width, so the
   * language picker (x 393-513), the track picker, shuffle and half the
   * volume slider sat past the right edge, clipped by the body's
   * overflow-x: hidden — unreachable on a phone. Let the chip wrap and
   * the block shrink to the screen; every control then wraps into view. */
  .game-header .header-btns { min-width: 0; max-width: 100%; }
  .header-btns .bgm-chip { flex-wrap: wrap; max-width: 100%; min-width: 0; }
  /* Batch 2 (bout audit, hidden_files/mobile-lane/bout1): the scale
   * HUD's threshold sub-line ("drops +6 / -6") rendered at 9.9px — the
   * one unreadable number in the bout. 12px floor; the ID selector
   * outranks the runtime-injected .kgm-thr rule. (The bout's inspect
   * buttons only LOOK small — the core sheet already gives them a 44px
   * hit box via ::after; verified, left alone.) */
  #hudScaleThr { font-size: 12px; }
}
