/* Word scramble game (scripts/games-scramble.mjs). Tokens from style.css. Plain letter tiles, no colour feedback. */
.sc { display: grid; gap: var(--s3); justify-items: center; text-align: center; }
.sc-n { margin: 0; font-weight: 700; color: var(--muted); }
.sc-clue { margin: 0; max-width: 34em; min-height: 1.6em; font-size: var(--t-lg); line-height: 1.35; }
.sc-clue span { font-weight: 800; }
.sc-slots, .sc-tiles { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.sc-s, .sc-t { all: unset; box-sizing: border-box; width: min(46px, calc((100vw - 110px) / 10)); height: 52px; display: flex; align-items: center; justify-content: center; font: 800 min(1.6rem, 6.4vw) / 1 var(--font); color: var(--ink); border-radius: 10px; cursor: pointer; }
.sc-s { background: #fffdf6; border: 2px solid var(--ink); border-bottom-width: 5px; }
.sc-s:empty { cursor: default; }
.sc-given { background: var(--sun-soft, #fff3c4); cursor: default; }
.sc-t { background: #fff; border: 2px solid var(--ink); box-shadow: 0 3px 0 var(--ink); }
.sc-t:hover { background: #f4efe2; }
.sc-used { background: transparent; border-style: dashed; border-color: var(--line-2); box-shadow: none; cursor: default; }
.sc-s:focus-visible, .sc-t:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.sc-tiles { margin-top: var(--s2); }
.sc-list { margin: var(--s2) 0 0; padding: 12px 16px 12px 2.4em; max-width: 34em; text-align: left; border-radius: var(--radius); background: var(--blue-soft); }
.sc-list li { margin: 2px 0; }
.sc-print { margin: var(--s3) 0 0; }
.gm-big .sc-s, .gm-big .sc-t { width: 60px; height: 68px; font-size: 2.2rem; }
.gm-big .sc-clue { font-size: 1.5rem; }
.gm-big .sc-list { font-size: 1.2rem; }
@media (max-width: 400px) { .gm-big .sc-s, .gm-big .sc-t { width: 52px; height: 60px; font-size: 1.9rem; } }
