/* iPhone fit — Claude Code 2026-11-17 (owner: "whole real run app with iphone . honest evaluate 10/10 .then change if not 10/10").
   Whole-app run at the owner's iPhone size (428 × 926, Telegram full screen; scratch/tablet/iphone-full.mjs) found tap targets too
   small for a finger and a few labels under the 12 px minimum. Nothing moves or changes look: small icon buttons get an invisible
   larger touch frame (centred on the button); the small labels go up to 12 px. Loaded last. Remove the <link> to undo. */
@media (pointer: coarse) {
  /* word page: the speaker next to each meaning / example (19–25 px) and the examples toggle (28 px) */
  .say-pair .say-one { position: relative; }   /* some (examples, sentence patterns) were static: the frame must sit on the button itself */
  .say-pair .say-one::after { content: ""; position: absolute; left: 50%; top: 50%; width: max(100%, 40px); height: max(100%, 40px); transform: translate(-50%, -50%); }
  .mean-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: max(100%, 44px); height: max(100%, 44px); transform: translate(-50%, -50%); }
  /* word page: the grammar note key ([I/T], 36 × 30) and Home's word-of-the-day speaker (29 px) */
  .ecard-actions .gram, .wotd-play { position: relative; }
  .ecard-actions .gram::after, .wotd-play::after { content: ""; position: absolute; left: 50%; top: 50%; width: max(100%, 44px); height: max(100%, 44px); transform: translate(-50%, -50%); }
  /* the name ribbon above the bottom bar (24 px tall) */
  .name-ribbon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: max(100%, 38px); transform: translateY(-50%); }
  /* Translator: the engine key (86 × 30) */
  .vt-engine-chip { position: relative; }
  .vt-engine-chip::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: max(100%, 40px); transform: translateY(-50%); }
  /* Chat: the search field itself was only 19 px tall inside its pill */
  .lx-fb-search input { min-height: 32px; }
}
/* the 12 px minimum (owner's phone rule) */
.mt-lobby.mlx .mlx-badge { font-size: max(12px, 1em) !important; }
.mt-lobby.mlx .mlx-dock a, .mt-lobby.mlx .mlx-dock a span { font-size: 12px !important; }
.mt-lobby.mlx .mlx-dock small { font-size: 12px !important; }
.lx-fb-lb { font-size: 12px !important; }

/* 2026-11-17 whole-app check on 4 sizes (scratch/tablet/allkeys.mjs): */
/* Redmi 14C (343 px): Home key subtitles were 11.6 px — fixed in src/core/fit-cards.js (its overflow step ignored the 12 px floor) */
/* tablet / computer Settings: theme names 10.5 px, app version 11.5 px */
.gx-th .gx-th-n { font-size: 12px !important; }
.pc-key .pc-ver { font-size: 12px !important; }
/* LexiVox voices: Play sat centred across two rows, 14 px higher than Select — both keys now share one row, same height */
.vt-voice > .vt-prev { grid-row: 2 !important; align-self: stretch !important; }
.vt-voice > .vt-select { grid-column: 1; grid-row: 2; }

/* 2026-11-17 LexiVox: developer sections hidden from learners (VoiceTestScreen.js, ?dev=1 shows them) */
.vt-dev[hidden] { display: none !important; }
