/* ============================================================
   Micki's game — stil minimalist, rafinat
   Neutre calde (stone), suprafețe albe, umbre fine, colțuri moi.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

:root {
  --bg: #fdf0f3;            /* fundal pagină, roz pal */
  --surface: #f9d0e0;       /* baby pink intens — card & suprafețe */
  --surface-2: #fff2f7;     /* roz aproape alb — pilule active, accente */
  --ink: #1c1917;
  --muted: #57534e;
  --faint: #a8949d;
  --line: #f2c6d6;
  --line-strong: #eaacc5;
  --green: #15803d;
  --tile-no: #edbccf;
  --tile-no-ink: #57454b;
  --chip-bg: #f3c3d5;
  --blue: #a9d3f0;          /* baby blue — butoanele principale */
  --blue-deep: #92c3e9;
  --blue-soft: #e2eef8;
  --red: #b91c1c;

  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.05);
  --shadow-md: 0 2px 6px rgba(28, 25, 23, 0.06);
  --shadow-card: 0 1px 2px rgba(28, 25, 23, 0.04), 0 16px 40px rgba(28, 25, 23, 0.07);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-display: "Baloo 2", var(--font);

  color-scheme: light;
}

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100dvh;
  font: 16px/1.5 var(--font);
  color: var(--ink);
  background:
    radial-gradient(120% 60% at 50% -12%, #ffe9f1 0%, rgba(255, 233, 241, 0) 60%),
    radial-gradient(90% 50% at 85% 112%, #e6effb 0%, rgba(230, 239, 251, 0) 55%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, p { margin: 0; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }

::selection { background: var(--line); }

:focus-visible {
  outline: 2px solid color-mix(in oklab, var(--ink) 70%, transparent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- așezare în pagină ---------- */
.app {
  max-width: 440px;
  margin: 0 auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: max(16px, env(safe-area-inset-top)) 16px calc(20px + env(safe-area-inset-bottom));
}

@media (min-width: 640px) {
  .app {
    min-height: auto;
    margin: clamp(24px, 6vh, 64px) auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow-card);
    padding: 24px 24px 22px;
  }
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 0 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  min-width: 0;
}
.brand-pic {
  width: 21px;
  height: 21px;
  border-radius: 6px;
  object-fit: cover;
  flex: none;
  display: block;
}
.top-right { display: flex; align-items: center; gap: 10px; min-width: 0; }
.room-code { font-size: 13px; letter-spacing: 2px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.score-tag { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
body[data-phase="welcome"] .topbar,
body[data-phase="join"] .topbar { display: none; }

.leave-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 10px 12px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}

.hint-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}

.hint-link { color: var(--ink); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- ecrane ---------- */
.screen {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  min-height: 0;
  animation: fade 0.18s ease both;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.screen-head { display: grid; gap: 7px; }

h1 {
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-wrap: balance;
}
h2 {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.3;
  text-wrap: balance;
}
h1, h2, .headline, .code, .slot, .key, .tile, .player-avatar { font-family: var(--font-display); }
h1 { letter-spacing: -0.01em; }
.sub { color: var(--muted); font-size: 14.5px; text-wrap: pretty; }

.error { color: var(--red); font-size: 13.5px; }

/* ---------- așteptare ---------- */
.waiting {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--faint);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

/* ---------- câmpuri ---------- */
.field { display: grid; gap: 6px; min-width: 0; }
.field > span { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.field input {
  min-width: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 11px 13px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  outline: none;
  transition: border-color 0.12s, box-shadow 0.12s;
}
.field input::placeholder { color: var(--faint); }
.field input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(28, 25, 23, 0.07); }
#joinCode { text-transform: uppercase; letter-spacing: 3px; font-weight: 600; }

/* ---------- alegerea modului de joc ---------- */
.mode { display: grid; gap: 8px; }
.seg-label { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  background: var(--chip-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 3px;
}
.seg-btn {
  padding: 8px;
  border: 0;
  background: transparent;
  border-radius: calc(var(--radius) - 3px);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  touch-action: manipulation;
}
.seg-btn.active {
  background: var(--surface-2);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

/* ---------- camera de așteptare ---------- */
.code-card {
  display: grid;
  gap: 16px;
  justify-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 26px 16px;
}
.code {
  font-size: clamp(28px, 9vw, 34px);
  font-weight: 700;
  letter-spacing: 7px;
  font-variant-numeric: tabular-nums;
}
.screen[data-screen="lobby"] .link-btn { margin-top: auto; align-self: center; }

/* ---------- butoane ---------- */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 650;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s, transform 0.08s, box-shadow 0.12s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.btn.primary {
  background: var(--blue);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), var(--shadow-sm);
}
.btn.primary:hover { background: var(--blue-deep); }
.btn.primary:active { transform: translateY(1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55); }
.btn.primary:disabled { background: var(--blue-soft); color: #9fb0bd; box-shadow: none; transform: none; cursor: default; }
.btn.ghost { background: var(--surface); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.btn.ghost:hover { background: var(--bg); }

.link-btn {
  appearance: none;
  background: none;
  border: 0;
  padding: 4px 2px;
  color: var(--muted);
  font-size: 13.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
  cursor: pointer;
  touch-action: manipulation;
  transition: color 0.12s, text-decoration-color 0.12s;
}
.link-btn:hover { color: var(--ink); text-decoration-color: var(--ink); }
.link-btn.danger { color: var(--red); text-decoration-color: color-mix(in oklab, var(--red) 40%, transparent); }

/* ---------- reguli ---------- */
details.rules { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
}
summary::-webkit-details-marker { display: none; }
.chev {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--faint);
  border-bottom: 1.5px solid var(--faint);
  rotate: 45deg;
  transition: rotate 0.18s ease;
  flex: none;
  margin-right: 3px;
  margin-top: -3px;
}
details[open] .chev { rotate: 225deg; margin-top: 3px; }
details ol {
  margin: 0 0 14px;
  padding-left: 1.2em;
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

/* ---------- comutator ---------- */
.switch {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}
.switch input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: var(--line-strong);
  position: relative;
  cursor: pointer;
  border: none;
  transition: background 0.15s;
}
.switch input::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(28, 25, 23, 0.25);
  transition: translate 0.15s ease;
}
.switch input:checked { background: var(--ink); }
.switch input:checked::after { translate: 16px 0; }
.switch-text { display: grid; gap: 1px; }
.switch-text b { font-size: 14px; }
.switch-text small { color: var(--muted); font-size: 12.5px; }

/* ---------- cifre introduse ---------- */
.slot-row { display: flex; justify-content: center; gap: 10px; }
.slot-row.shake { animation: shake 0.3s ease both; }

@keyframes shake {
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}

.slot {
  width: 56px;
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.slot.filled { border-color: var(--ink); box-shadow: var(--shadow-md); }
.slot-row.big .slot {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
  font-size: 25px;
  box-shadow: var(--shadow-md);
}

/* ---------- zonele jucătorilor ---------- */
#setterArea {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  min-height: 0;
}
#setterArea .slot-row { margin-block: auto; }
#setterArea .keypad { margin-top: auto; }
#setWait { margin-block: auto; }

#guesserArea { display: flex; flex-direction: column; gap: 14px; }

/* ---------- clape numerice ---------- */
.keypad {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 340px;
  margin-inline: auto;
}
.key {
  position: relative;
  height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  font-size: 19px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.1s, transform 0.08s, box-shadow 0.08s, border-color 0.1s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.key:hover { background: var(--bg); }
.key:active {
  background: var(--chip-bg);
  transform: translateY(1px);
  box-shadow: none;
}
.key:disabled { opacity: 0.3; cursor: default; }
.key.zero { grid-column: span 2; }
.key.back { font-size: 17px; }
.key.hint::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.kbd-hint { display: none; text-align: center; color: var(--faint); font-size: 12.5px; }
@media (min-width: 900px) and (pointer: fine) {
  .kbd-hint { display: block; }
}

/* ---------- istoricul încercărilor ---------- */
.history {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 80px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
@media (min-width: 640px) { .history { flex: none; max-height: min(40vh, 300px); } }

.hint-empty {
  border: 1.5px dashed var(--line-strong);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.attempt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.attempt:last-child { border-bottom: 0; }
.attempt-no { color: var(--faint); font-size: 12.5px; min-width: 2.2ch; font-variant-numeric: tabular-nums; }
.attempt .tiles { display: flex; gap: 5px; perspective: 500px; }
.attempt-note {
  margin-left: auto;
  font-size: 13px;
  font-weight: 650;
  color: var(--muted);
  white-space: nowrap;
}
.attempt-note.is-hit { color: var(--green); }

.attempt .who {
  flex: none;
  max-width: 76px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
}

/* ---------- dăle de feedback ---------- */
.tile {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.tile.ok {
  background: var(--green);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.tile.no { background: var(--tile-no); color: var(--tile-no-ink); }
.tile.ok::after {
  content: "✓";
  position: absolute;
  right: 3px;
  bottom: 0;
  font-size: 8.5px;
  opacity: 0.9;
}
.tile.flip { animation: tileFlip 0.42s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes tileFlip {
  from { transform: rotateX(85deg); opacity: 0; }
  to { transform: none; opacity: 1; }
}

/* ---------- capul zonei de joc ---------- */
.game-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  background: var(--chip-bg);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.chip.masked { letter-spacing: 2px; color: var(--faint); padding-right: 7px; }

/* ---------- renunțare ---------- */
.giveup {
  display: grid;
  justify-items: center;
  gap: 4px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.giveup-confirm {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- rezultat ---------- */
.result {
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
  margin-block: auto;
}
.result .headline { font-size: 22px; }
.result .sub { max-width: 36ch; }

.reveal-block { display: grid; gap: 10px; justify-items: center; margin-top: 2px; }
.reveal-label { font-size: 12.5px; font-weight: 600; color: var(--muted); }
#revealExtra { display: grid; gap: 10px; justify-items: center; }

.score-line { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }

.end-actions {
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 360px;
  margin-top: 4px;
}

/* ---------- ecrane scurte / înguste ---------- */
@media (max-height: 730px) and (max-width: 899px) {
  .slot { width: 50px; font-size: 21px; }
  .key { height: 46px; }
  .screen { gap: 12px; }
}

@media (max-width: 379px) {
  .slot { width: 48px; font-size: 20px; }
  .slot-row { gap: 8px; }
  .tile { width: 30px; height: 30px; font-size: 14px; }
}

/* ---------- mișcare redusă ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- ecran de start (hero) ---------- */
.hero {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 10px;
  padding-top: 6px;
}
.hero-pic {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(28, 25, 23, 0.14), 0 0 0 4px rgba(255, 255, 255, 0.6);
  cursor: pointer;
  animation: dogBob 3.2s ease-in-out infinite;
}
.hero-pic.boing { animation: boing 0.55s ease; }
@keyframes dogBob {
  50% { transform: translateY(-4px); }
}
@keyframes boing {
  25% { transform: scale(1.12) rotate(-4deg); }
  60% { transform: scale(0.94) rotate(3deg); }
}
.hero .sub { max-width: 36ch; }

/* ---------- carduri de jucător ---------- */
.players {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.player-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 14px 10px 12px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  color: var(--ink);
  font: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.08s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.player-card:active { transform: translateY(1px); }
.player-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.player-avatar.pink { background: linear-gradient(180deg, #ec9bbd, #d76c9a); }
.player-avatar.blue { background: linear-gradient(180deg, #a7d4f4, #74b1e0); }
.player-name { font-size: 14px; font-weight: 650; }
.player-card.active {
  border-color: var(--blue-deep);
  box-shadow: 0 0 0 3px rgba(146, 195, 233, 0.35), var(--shadow-sm);
}
.player-card.active::after {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue-deep);
  color: #fff;
  font-size: 11px;
  display: grid;
  place-items: center;
}
.player-card.active .player-avatar { animation: avatarPop 0.28s cubic-bezier(0.34, 1.4, 0.64, 1); }
@keyframes avatarPop {
  from { transform: scale(0.72); }
}
@media (hover: hover) {
  .player-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
  .player-card.active:hover { box-shadow: 0 0 0 3px rgba(146, 195, 233, 0.35), var(--shadow-md); }
}

/* ---------- iconițe în butoane ---------- */
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- animație la tastarea cifrelor ---------- */
.slot.pop { animation: slotPop 0.16s ease both; }
@keyframes slotPop {
  from { transform: scale(0.86); }
  to { transform: none; }
}

/* ---------- lăbuțe decorative pe ecranul de start ---------- */
.paws { position: absolute; inset: 0; pointer-events: none; }
.paw {
  position: absolute;
  fill: var(--line-strong);
  opacity: 0.5;
  animation: pawFloat 4.5s ease-in-out infinite;
}
.paw.p1 { left: 11%; top: -6px; width: 26px; height: 26px; rotate: -18deg; }
.paw.p2 { right: 12%; top: 26px; width: 20px; height: 20px; rotate: 14deg; animation-duration: 5.6s; animation-direction: reverse; }
.paw.p3 { left: 25%; top: 62px; width: 15px; height: 15px; rotate: 8deg; animation-duration: 6.4s; }
@keyframes pawFloat {
  50% { transform: translateY(-6px); }
}

/* ---------- mascota care sărbătorește ---------- */
.end-pic {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.6), var(--shadow-sm);
}
.end-pic.party { animation: party 0.5s ease 3; }
@keyframes party {
  25% { transform: rotate(-8deg) scale(1.06); }
  75% { transform: rotate(8deg) scale(1.06); }
}

/* ---------- confetti ---------- */
#confetti {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}

/* ---------- iconiță în notițe ---------- */
.hint-ico { width: 16px; height: 16px; vertical-align: -3px; }

/* ---------- modul cu cuvinte ---------- */
.word-enter { display: grid; gap: 8px; width: 100%; }
.word-enter input {
  width: 100%;
  text-align: center;
  font: 650 20px/1 var(--font-display);
  letter-spacing: 5px;
  text-transform: lowercase;
  padding: 14px 12px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  outline: none;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.12s, box-shadow 0.12s;
}
.word-enter input:focus { border-color: var(--blue-deep); box-shadow: 0 0 0 3px rgba(146, 195, 233, 0.35); }
.word-enter input::placeholder { color: var(--faint); font-family: var(--font-body); font-size: 15px; letter-spacing: 0; }
.word-enter .sub { text-align: center; }
.screen[data-screen="set"] #wordSetWrap { margin-block: auto; }

.slot-row.word { flex-wrap: wrap; gap: 8px; }
.slot-row.word .slot { width: 44px; height: 44px; font-size: 21px; border-radius: 12px; }
.slot-row.big.word .slot { width: 46px; height: 46px; font-size: 22px; }

.attempt .tiles.word { flex-wrap: wrap; }
.attempt .tiles.word .tile { width: 26px; height: 26px; font-size: 13px; border-radius: 7px; }
