:root {
  --bg: #0b1d4d;
  --bg2: #12307a;
  --panel: rgba(255, 255, 255, 0.08);
  --text: #f4f7ff;
  --muted: #9fb2e6;
  --accent: #ffc83d;
  --good: #4cd98a;
  --bad: #ff6b6b;
  --tile: #fdf6e3;
  --tile-text: #0b1d4d;
}
* { box-sizing: border-box; }
/* iOS Safari ignores user-scalable=no; this is what actually stops double-tap zoom (taps stay instant). */
html, body, button, a, input { touch-action: manipulation; }
body { -webkit-text-size-adjust: 100%; -webkit-touch-callout: none; }
button, .tile { -webkit-user-select: none; user-select: none; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: radial-gradient(ellipse at top, var(--bg2), var(--bg) 70%) fixed;
}
button { font: inherit; cursor: pointer; }
.tiles { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.tile {
  background: var(--tile); color: var(--tile-text); font-weight: 800;
  border-radius: 8px; display: grid; place-items: center;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
  user-select: none;
}
.tile.empty { background: rgba(255, 255, 255, 0.1); box-shadow: none; }
.tile.num { background: #1c4fd1; color: #fff; }
.tile.num.big { background: #c0392b; }
.tile.used { opacity: 0.25; }
.tile.vowel { background: #ffe9a8; }
.muted { color: var(--muted); }

/* word-language badge (EN / PT) on words in a room that plays in several languages */
.lb { display: inline-block; vertical-align: middle; margin-left: .45em; padding: 0 .35em; border-radius: .3em; font-size: .5em; line-height: 1.5; letter-spacing: .05em; font-weight: 800; background: rgba(255,255,255,.16); color: var(--muted); }

/* the conundrum's language line (mixed rooms): a slightly bigger badge than on words */
.clang .lb { font-size: .75em; }
