/* English Lab · special games: Mystery (my-), Charades (ch-), English City (cy-). Scoped to #games like games.css. */
#games .pl-box.is-wide { width: min(1040px, 100%); }
@media (max-width: 600px) { #games .pl-box.is-wide { padding: 14px 12px; } }

/* Special games block: one row per game (3 ages) */
@media (min-width: 640px) { #games .specials .ggrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Thumbnails */
#games .m-mystery { position: relative; width: 84px; height: 70px; display: grid; place-items: center; }
#games .m-mystery .cake { font-size: 44px; }
#games .m-mystery .lens { position: absolute; right: -4px; bottom: -2px; font-size: 34px; transform: rotate(-12deg); }
#games .m-charades { display: grid; place-items: center; gap: 2px; font-family: var(--f-game); }
#games .m-charades span { font-size: 46px; line-height: 1; }
#games .m-charades i { font-style: normal; font-weight: 700; font-size: 13px; background: var(--surface); border-radius: 8px; padding: 1px 8px; }
#games .m-city { position: relative; width: 74px; height: 74px; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 3px; }
#games .m-city i { background: var(--surface); border-radius: 5px; }
#games .m-city i:nth-child(n+5) { grid-row: auto; }
#games .m-city span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 26px; }

/* ---------- Mystery ---------- */
#games .my { display: grid; gap: 12px; }
#games .my-case { display: flex; gap: 12px; align-items: flex-start; background: #2E1A4F; color: #F3EAFE; border-radius: 18px; padding: 14px 16px; }
#games .my-case img { flex: none; width: 56px; height: 56px; }
#games .my-case p { margin: 2px 0 0; font-size: 15px; line-height: 1.5; }
#games .my-eyebrow { font-family: var(--f-game); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #FFBD59; }
#games .my-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; background: var(--accent-soft, #EEE4FA); border-radius: 14px; padding: 4px; }
#games .my-tabs button { border: 0; background: transparent; color: var(--ink); font-family: var(--f-game); font-weight: 600; font-size: 14px; border-radius: 10px; padding: 9px 4px; cursor: pointer; min-height: 40px; }
#games .my-tabs button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
@media (max-width: 460px) { #games .my-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
#games .my-tabs .count { display: inline-block; min-width: 18px; border-radius: 9px; background: #FFBD59; color: #301D50; font-size: 11px; margin-left: 3px; }
#games .my-body { display: grid; gap: 12px; min-height: 260px; align-content: start; }
#games .my-hint { margin: 0; color: var(--muted); font-size: 14px; }
#games .my-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { #games .my-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
#games .my-card { position: relative; display: grid; justify-items: center; gap: 4px; background: var(--surface); border: 0; border-radius: 16px; padding: 12px 8px 14px; cursor: pointer; box-shadow: 0 2px 0 var(--line), 0 6px 18px rgba(48, 29, 80, .08); font-family: var(--f-game); color: var(--ink); transition: transform .15s; }
#games .my-card:hover { transform: translateY(-2px) rotate(-1deg); }
#games .my-card b { font-size: 16px; }
#games .my-card small { color: var(--muted); font-size: 12px; text-align: center; line-height: 1.3; }
#games .my-card.seen { box-shadow: 0 2px 0 #FFBD59, 0 6px 18px rgba(48, 29, 80, .08); }
#games .my-done { position: absolute; top: 6px; right: 8px; font-size: 16px; }
#games .my-pic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 36px; }
#games .my-pic.big { width: 54px; height: 54px; font-size: 30px; flex: none; }
#games .my-iv { display: grid; gap: 10px; }
#games .my-iv-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--f-game); }
#games .my-iv-head b { display: block; font-size: 18px; }
#games .my-iv-head small { color: var(--muted); }
#games .my-back { border: 0; background: none; color: var(--accent); font-family: var(--f-game); font-weight: 600; cursor: pointer; padding: 8px 4px; margin-right: auto; flex-basis: 100%; text-align: left; }
#games .my-chat { display: grid; gap: 8px; max-height: 260px; overflow-y: auto; padding: 4px 2px; }
#games .my-q { justify-self: end; max-width: 85%; background: var(--accent); color: var(--accent-ink); border-radius: 16px 16px 4px 16px; padding: 8px 12px; font-size: 15px; }
#games .my-a { justify-self: start; max-width: 92%; display: flex; gap: 8px; align-items: flex-start; background: #F4EEFB; border-radius: 16px 16px 16px 4px; padding: 8px 10px; font-size: 15px; }
#games .my-mini { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; }
#games .my-say { flex: none; border: 0; background: var(--surface); border-radius: 50%; width: 32px; height: 32px; cursor: pointer; }
#games .my-qs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; }
#games .my-ask { border: 0; background: #FFF3D6; color: #4A3200; border-radius: 12px; padding: 10px 12px; text-align: left; font-family: var(--f-game); font-weight: 600; font-size: 15px; cursor: pointer; min-height: 44px; }
#games .my-ask.used { background: #F1ECF7; color: var(--muted); }
#games .my-note { display: grid; gap: 2px; background: #FFE9A8; color: #3B2A00; border-radius: 4px 14px 14px 14px; padding: 10px 12px; font-size: 15px; box-shadow: 0 4px 12px rgba(90, 60, 0, .12); transform: rotate(-.4deg); }
#games .my-note b { font-family: var(--f-game); }
#games .my-book h5, #games .my-acc h5 { font-family: var(--f-game); font-size: 15px; margin: 6px 0 0; }
#games .my-book { display: grid; gap: 8px; background: repeating-linear-gradient(#FFFFFF 0 27px, #E9DFF6 27px 28px); border-radius: 14px; padding: 12px 14px; }
#games .my-chips, #games .my-pick { display: flex; flex-wrap: wrap; gap: 6px; }
#games .my-chip, #games .my-opt { display: inline-flex; align-items: center; gap: 6px; border: 0; background: #EEE4FA; color: var(--ink); border-radius: 12px; padding: 8px 12px; font-family: var(--f-game); font-weight: 600; font-size: 14px; cursor: pointer; min-height: 40px; }
#games .my-chip.out { text-decoration: line-through; opacity: .5; }
#games .my-opt[aria-checked="true"] { background: var(--accent); color: var(--accent-ink); }
#games .my-log { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; line-height: 1.45; }
#games .my-log .who { font-family: var(--f-game); font-weight: 700; }
#games .my-acc { display: grid; gap: 8px; }
#games .my-sentence { font-family: var(--f-game); font-size: 18px; text-align: center; margin: 4px 0 0; min-height: 1.4em; }

/* ---------- Charades ---------- */
#games .ch { display: grid; gap: 14px; justify-items: center; text-align: center; }
#games .ch-setup { justify-items: stretch; text-align: left; max-width: 520px; margin: 0 auto; width: 100%; }
#games .ch-row { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 10px; align-items: center; }
@media (max-width: 480px) { #games .ch-row { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
#games .ch-row label, #games .ch-row .lab { font-family: var(--f-game); font-weight: 600; }
#games .ch-row input { font: inherit; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); width: 100%; box-sizing: border-box; }
#games .ch-seg { display: flex; gap: 4px; background: #EEE4FA; border-radius: 12px; padding: 4px; }
#games .ch-seg button { flex: 1; border: 0; background: transparent; border-radius: 9px; padding: 8px; font-family: var(--f-game); font-weight: 600; cursor: pointer; color: var(--ink); min-height: 38px; }
#games .ch-seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
#games .ch-help { background: #FFF3D6; border-radius: 14px; padding: 10px 14px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 15px; }
#games .ch-help span { font-family: var(--f-game); font-weight: 600; background: var(--surface); border-radius: 8px; padding: 2px 8px; }
#games .ch-team { font-family: var(--f-game); font-weight: 700; font-size: 14px; padding: 4px 12px; border-radius: 10px; background: #EEE4FA; }
#games .ch-team.t1 { background: #FFE3A8; }
#games .ch h3 { font-family: var(--f-game); margin: 0; font-size: 24px; }
#games .ch p { margin: 0; color: var(--muted); max-width: 46ch; }
#games .ch-top { display: flex; justify-content: space-between; align-items: center; width: 100%; }
#games .ch-clock { font-family: var(--f-game); font-size: 18px; background: #2E1A4F; color: #fff; border-radius: 12px; padding: 4px 12px; }
#games .ch-clock b { font-size: 26px; font-variant-numeric: tabular-nums; }
#games .ch-clock.hurry { background: #C23B4E; }
#games .ch-card { width: min(100%, 520px); min-height: 230px; display: grid; place-items: center; align-content: center; gap: 8px; background: #2E1A4F; color: #fff; border-radius: 26px; padding: 26px 18px; box-shadow: 0 16px 34px rgba(42, 23, 71, .3); }
#games .ch-emoji { font-size: 72px; line-height: 1; }
#games .ch-word { font-family: var(--f-game); font-weight: 700; font-size: clamp(26px, 6vw, 40px); line-height: 1.15; text-wrap: balance; }
#games .ch-card small { color: #CDB8EC; font-size: 14px; }
#games .ch .ch-ok { background: #1F8A55; }
#games .ch .acts { flex-wrap: wrap; justify-content: center; max-width: 100%; }
@media (max-width: 480px) { #games .ch .acts .btn { padding: 12px 18px; } #games .ch-play { justify-items: stretch; } #games .ch-card { width: auto; } }
#games .ch-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; max-width: 560px; }
#games .ch-list li { background: #F1ECF7; border-radius: 10px; padding: 4px 10px; font-size: 14px; color: var(--muted); }
#games .ch-list li.ok { background: #DDF5E8; color: #155E3A; }

/* ---------- English City ---------- */
#games .cy { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 760px) { #games .cy { grid-template-columns: minmax(0, 1fr); } }
#games .cy-board { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: repeat(5, minmax(0, 1fr)); gap: 4px; aspect-ratio: 1; max-width: 100%; background: #2E1A4F; border-radius: 20px; padding: 6px; }
#games .cy-sq { position: relative; display: grid; justify-items: center; align-content: center; gap: 1px; background: #FBF8FF; border-radius: 10px; padding: 3px 2px; min-width: 0; overflow: hidden; box-shadow: inset 0 -5px 0 var(--own, transparent); }
#games .cy-sq.sur { background: #FFE9A8; }
#games .cy-sq.st { background: #DDF5E8; }
#games .cy-sq.here { outline: 3px solid #FFBD59; outline-offset: -3px; }
#games .cy-e { font-size: clamp(16px, 4vw, 26px); line-height: 1; }
#games .cy-n { font-family: var(--f-game); font-weight: 700; font-size: clamp(9px, 1.9vw, 12px); color: var(--ink); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#games .cy-p { font-size: clamp(8px, 1.7vw, 11px); color: var(--muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#games .cy-toks { position: absolute; top: 2px; left: 2px; right: 2px; display: flex; flex-wrap: wrap; gap: 2px; }
#games .cy-tok { width: clamp(14px, 3.4vw, 20px); height: clamp(14px, 3.4vw, 20px); border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--f-game); font-weight: 700; font-size: clamp(8px, 1.8vw, 11px); box-shadow: 0 0 0 2px #fff; }
#games .cy-tok.npc { background: #fff; object-fit: contain; }
#games .cy-mid { grid-column: 2 / 5; grid-row: 2 / 5; display: grid; place-items: center; align-content: center; gap: 6px; text-align: center; color: #F3EAFE; padding: 6px; }
#games .cy-title { font-family: var(--f-game); font-weight: 700; font-size: clamp(16px, 4vw, 26px); letter-spacing: .02em; }
#games .cy-die { font-size: clamp(44px, 12vw, 72px); line-height: 1; color: #fff; }
#games .cy-die.roll { animation: cy-shake .2s linear infinite; }
@keyframes cy-shake { 0% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } 100% { transform: rotate(-8deg); } }
#games .cy-mid-log { font-size: clamp(11px, 2.4vw, 14px); color: #D9C8F2; max-width: 95%; }
#games .cy-side { display: grid; gap: 12px; min-width: 0; }
#games .cy-players { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
#games .cy-players li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 8px; align-items: center; background: #F6F1FC; border-radius: 12px; padding: 8px 10px; font-family: var(--f-game); }
#games .cy-players li.now { background: #FFF3D6; }
#games .cy-players b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#games .cy-players small { color: var(--muted); }
#games .cy-dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
#games .cy-dot.big { width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; }
#games .cy-coin { font-variant-numeric: tabular-nums; font-weight: 600; }
#games .cy-panel { display: grid; gap: 10px; min-height: 120px; align-content: start; }
#games .cy-panel .acts { justify-content: flex-start; }
#games .cy-say { display: flex; align-items: center; gap: 8px; margin: 0; font-family: var(--f-game); font-size: 16px; }
#games .cy-card { display: flex; gap: 12px; align-items: flex-start; background: #FBF8FF; border-radius: 16px; padding: 12px 14px; box-shadow: inset 0 0 0 2px #EEE4FA; }
#games .cy-card.sur { background: #FFF3D6; box-shadow: none; }
#games .cy-card-e { font-size: 34px; line-height: 1; }
#games .cy-card-k { font-family: var(--f-game); font-weight: 700; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
#games .cy-card p { margin: 2px 0 0; font-size: 16px; line-height: 1.45; }
#games .cy-opts { display: grid; gap: 8px; }
#games .cy-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
#games .cy-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 420px) { #games .cy-modes { grid-template-columns: minmax(0, 1fr); } }
#games .cy-mode { display: grid; justify-items: center; gap: 4px; border: 0; border-radius: 16px; background: #F6F1FC; padding: 14px 10px; cursor: pointer; font-family: var(--f-game); color: var(--ink); text-align: center; }
#games .cy-mode[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
#games .cy-mode[aria-pressed="true"] small { color: #E8DDF7; }
#games .cy-mode small { color: var(--muted); }
#games .cy-mode img, #games .cy-mode-ic { width: 44px; height: 44px; font-size: 30px; line-height: 44px; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { #games .my-card, #games .cy-die.roll { transition: none; animation: none; } }

/* ---------- Challenges: Flags of the world ---------- */
#games .thumb.all { background: #2E1A4F; }
#games .m-flags { display: grid; grid-template-columns: repeat(2, 44px); gap: 6px; transform: rotate(-4deg); }
#games .m-flags i { display: block; height: 30px; background: #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
#games .m-flags svg, #games .fl-mini svg, #games .fl-flag svg { display: block; width: 100%; height: 100%; }
#games .m-flags svg { preserveAspectRatio: none; }
#games .fl { display: grid; gap: 12px; justify-items: center; text-align: center; }
#games .fl h3 { font-family: var(--f-game); font-size: clamp(20px, 4.5vw, 26px); margin: 0; max-width: 24ch; text-wrap: balance; }
#games .fl p { margin: 0; }
#games .fl-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
#games .fl-mini { display: inline-block; width: 42px; height: 28px; border-radius: 4px; overflow: hidden; box-shadow: 0 1px 4px rgba(0, 0, 0, .2); vertical-align: middle; background: #fff; }
#games .fl-time { position: relative; width: 100%; height: 28px; background: #EEE4FA; border-radius: 14px; overflow: hidden; }
#games .fl-time i { position: absolute; inset: 0 auto 0 0; background: var(--accent); border-radius: 14px; transition: width .1s linear; }
#games .fl-time.hurry i { background: #C23B4E; }
#games .fl-time b { position: relative; font-family: var(--f-game); line-height: 28px; color: #fff; text-shadow: 0 1px 3px rgba(30, 15, 50, .9); }
#games .fl-flag { width: min(100%, 340px); aspect-ratio: 3 / 2; display: grid; place-items: center; }
#games .fl-flag svg { max-height: 100%; filter: drop-shadow(0 8px 16px rgba(48, 29, 80, .25)); }
#games .fl-ask { font-family: var(--f-game); font-weight: 700; font-size: 20px; }
#games .fl-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: min(100%, 560px); }
#games .fl-opt { display: flex; align-items: center; gap: 8px; border: 0; background: #F4EEFB; color: var(--ink); border-radius: 14px; padding: 12px; font-family: var(--f-game); font-weight: 600; font-size: 16px; text-align: left; cursor: pointer; min-height: 52px; }
#games .fl-opt .n { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-size: 12px; color: var(--muted); }
#games .fl-opt.ok { background: #1F8A55; color: #fff; }
#games .fl-opt.bad { background: #C23B4E; color: #fff; }
#games .fl-fb { min-height: 2.6em; font-size: 15px; max-width: 46ch; }
#games .fl-fb.ok { color: #1F8A55; }
#games .fl-fb.bad { color: #C23B4E; }
#games .fl-miss { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 10px; }
#games .fl-m { display: inline-flex; align-items: center; gap: 6px; background: #F4EEFB; border-radius: 10px; padding: 4px 8px 4px 4px; font-size: 14px; }
@media (min-width: 640px) { #games .challenges .ggrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Difficulty picker + emoji challenges */
#games .ch-diff { display: inline-flex; gap: 4px; background: #EEE4FA; border-radius: 14px; padding: 4px; }
#games .ch-diff button { border: 0; background: transparent; border-radius: 10px; padding: 10px 18px; font-family: var(--f-game); font-weight: 600; font-size: 16px; color: var(--ink); cursor: pointer; min-height: 44px; }
#games .ch-diff button[aria-checked="true"] { background: #A8D8FF; color: #1B2A5C; }
#games .ch-big { display: grid; justify-items: center; gap: 4px; min-height: 150px; align-content: center; }
#games .ch-emo { font-size: 84px; line-height: 1; }
#games .ch-name { font-family: var(--f-game); font-weight: 700; font-size: clamp(22px, 5vw, 30px); }
#games .ch-clue { font-family: var(--f-game); font-size: clamp(18px, 4.5vw, 24px); max-width: 26ch; line-height: 1.35; }
#games .fl-mini.sm { width: 24px; height: 16px; border-radius: 3px; flex: none; }
#games .m-emo { font-size: 30px; line-height: 1.15; text-align: center; }

/* More challenges: map pins, boss, memory grid, would you rather, who am I, tongue twisters */
#games .feat.wide { grid-column: span 2; }
@media (max-width: 860px) { #games .feat.wide { grid-column: auto; } }
#games .fl-flag.sm { width: 150px; }
#games .ch-map { position: relative; width: min(100%, 620px, max(280px, calc((100vh - 490px) * 1.6))); aspect-ratio: 480 / 300; background: #2E1A4F; border-radius: 18px; overflow: hidden; }
#games .ch-map img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
#games .ch-pin { position: absolute; width: clamp(22px, 5vw, 30px); height: clamp(22px, 5vw, 30px); margin: calc(clamp(22px, 5vw, 30px) / -2) 0 0 calc(clamp(22px, 5vw, 30px) / -2); border-radius: 50%; border: 3px solid #fff; box-sizing: border-box; background: #A8D8FF; color: #1B2A5C; display: grid; place-items: center; font-family: var(--f-game); font-weight: 700; font-size: 14px; cursor: pointer; box-shadow: 0 3px 8px rgba(0, 0, 0, .35); }
#games .ch-pin { line-height: 1; font-size: clamp(11px, 2.8vw, 14px); }
#games .ch-pin.ok { background: #1F8A55; color: #fff; }
#games .ch-boss { display: flex; align-items: center; gap: 8px; width: min(100%, 560px); }
#games .ch-boss img { width: 40px; height: 40px; flex: none; }
#games .ch-track { position: relative; flex: 1; height: 30px; background: #2E1A4F; border-radius: 15px; }
#games .ch-meteor { position: absolute; top: 2px; left: calc(100% - 30px); font-size: 22px; }
#games .ch-locks { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
#games .ch-locks span { background: #F1ECF7; color: var(--muted); border-radius: 12px; padding: 8px 12px; font-family: var(--f-game); font-weight: 600; }
#games .ch-locks span.on { background: #A8D8FF; color: #1B2A5C; }
#games .ch-streak { font-family: var(--f-game); font-weight: 700; font-size: 18px; }
#games .mg-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; width: min(100%, 440px); }
#games .mg-cell { aspect-ratio: 1; background: #F4EEFB; border-radius: 16px; display: grid; place-items: center; }
#games .mg-e { font-size: clamp(34px, 9vw, 52px); }
#games .mg-words { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 560px; }
#games .mg-w { border: 0; background: #F4EEFB; color: var(--ink); border-radius: 12px; padding: 10px 14px; font-family: var(--f-game); font-weight: 600; font-size: 16px; cursor: pointer; min-height: 44px; }
#games .mg-w[aria-pressed="true"] { background: #A8D8FF; color: #1B2A5C; }
#games .mg-w.ok { background: #1F8A55; color: #fff; }
#games .mg-w.bad { background: #C23B4E; color: #fff; }
#games .mg-w.miss { background: #FFF3D6; color: #4A3200; }
#games .wy-opts { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: center; width: min(100%, 640px); }
@media (max-width: 520px) { #games .wy-opts { grid-template-columns: minmax(0, 1fr); } }
#games .wy-o { border: 0; border-radius: 20px; padding: 22px 16px; min-height: 120px; font-family: var(--f-game); font-weight: 700; font-size: clamp(18px, 4.5vw, 22px); cursor: pointer; background: #2E1A4F; color: #fff; }
#games .wy-o + .wy-or + .wy-o { background: #A8D8FF; color: #1B2A5C; }
#games .wy-or { font-family: var(--f-game); font-weight: 700; color: var(--muted); }
#games .wy-clock { font-family: var(--f-game); font-size: 20px; background: #2E1A4F; color: #fff; border-radius: 14px; padding: 6px 16px; }
#games .wy-clock b { font-size: 34px; font-variant-numeric: tabular-nums; }
#games .wy-clock.hurry { background: #C23B4E; }
#games .ch-frame { font-family: var(--f-game); font-size: clamp(18px, 4.5vw, 24px); max-width: 32ch; }
#games .wh-clues { margin: 0; padding: 0 0 0 22px; text-align: left; display: grid; gap: 6px; width: min(100%, 520px); font-size: 17px; }
#games .wh-clues li:last-child { font-weight: 700; }
#games .tw-text { font-family: var(--f-game); font-weight: 700; font-size: clamp(22px, 5.5vw, 32px); line-height: 1.25; max-width: 24ch; margin: 10px 0 0; text-wrap: balance; }
#games .tw-acc { color: var(--muted); font-size: 14px; }
#games .ch-boss.hit img { animation: ch-hit .5s ease 2; filter: drop-shadow(0 0 8px #FF6B6B); }
#games .ch-boss.hit .ch-meteor { left: 0 !important; transition: left .2s; }
#games .ch-boss.hit .ch-track { background: #C23B4E; }
@keyframes ch-hit { 0%, 100% { transform: translateX(0) rotate(0); } 25% { transform: translateX(-4px) rotate(-8deg); } 75% { transform: translateX(4px) rotate(8deg); } }
@media (prefers-reduced-motion: reduce) { #games .ch-boss.hit img { animation: none; } }
