.page-game .game-shell.theme-guess {
  --guess-ink:#192755;
  --guess-blue:#2245a6;
  --guess-muted:#485579;
  --guess-line:#b0acc1;
  --guess-paper:#fffdf4;
  color:var(--guess-ink);
  background:
    linear-gradient(151deg,transparent 33%,#f1c7522b 33% 38%,transparent 38% 78%,#f1c7522b 78% 84%,transparent 84%),
    radial-gradient(ellipse at 26% 20%,#fffae1,#fff0aa);
}
.page-game .game-shell.theme-guess .game-toolbar {
  color:var(--guess-ink);
  background:#fff2bc;
  border-bottom:1px solid #cbb36b;
}
.page-game .game-shell.theme-guess .game-toolbar .button {
  min-height:44px;
  background:#fff9de;
  border-color:#7e90c0;
  color:var(--guess-blue);
}
.page-game .game-shell.theme-guess .play :is(h2,.meta,label) {color:var(--guess-ink)}
.page-game .game-shell.theme-guess .play p {color:var(--guess-muted)}
.page-game .game-shell.theme-guess .play .button {
  min-height:44px;
  color:var(--guess-blue);
  border-radius:.62rem;
  transition:background-color .16s,border-color .16s;
}
.page-game .game-shell.theme-guess .play .button.secondary {background:#fffaf0;border-color:#7f91c1}
.page-game .game-shell.theme-guess .play .button:is(.cta,[data-action=got],[data-action=resume],[data-action=guess-next]),
.page-game .game-shell.theme-guess .guess-room[data-guess-phase=finished] [data-action=reset] {
  color:#fffdf6;
  background:var(--guess-blue);
  border-color:var(--guess-blue);
}
.page-game .game-shell.theme-guess .play .button:is(.cta,[data-action=got],[data-action=resume],[data-action=guess-next]):hover,
.page-game .game-shell.theme-guess .guess-room[data-guess-phase=finished] [data-action=reset]:hover {background:#172e78;border-color:#172e78}
.page-game .game-shell.theme-guess :is(button,input,select,summary):focus-visible {outline:3px solid #3152b4;outline-offset:3px}

.guess-room {width:min(100%,80rem);margin-inline:auto;text-align:center}
.page-game .game-shell.theme-guess .guess-turn {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:.5rem 1rem;
  flex-wrap:wrap;
  border-bottom:1px solid #9d8c5a;
  padding-bottom:clamp(.55rem,1.4vw,.94rem);
  text-align:left;
}
.page-game .game-shell.theme-guess .guess-turn p {
  flex:1 1 12rem;
  min-width:0;
  margin:0;
  color:var(--guess-ink);
  font-weight:780;
  font-size:clamp(1.24rem,3vw,2.55rem);
  line-height:1.18;
  overflow-wrap:anywhere;
}
.guess-turn span {color:var(--guess-ink);font-size:clamp(.85rem,1.3vw,1.03rem);font-weight:700}
.page-game .game-shell.theme-guess .play :is(.guess-role,.guess-refill) {
  font-size:clamp(.88rem,1.3vw,1.03rem);
  font-weight:650;
  color:var(--guess-ink);
  margin:.6rem auto;
  line-height:1.45;
}
.page-game .game-shell.theme-guess .play .game-round {
  display:grid;
  grid-template-columns:minmax(0,1fr) clamp(9rem,20%,15rem);
  gap:clamp(.6rem,1.5vw,1.2rem);
  width:100%;
  margin:clamp(.65rem,1.8vw,1.3rem) auto;
}
.page-game .game-shell.theme-guess .play .game-prompt {
  width:100%;
  min-width:0;
  min-height:clamp(14rem,38svh,26rem);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  border:1px solid #c9bf9b;
  border-inline-start:clamp(5px,.55vw,9px) solid var(--guess-blue);
  border-radius:clamp(12px,1.65vw,24px);
  padding:clamp(.9rem,3.3vw,2.8rem);
  background:var(--guess-paper);
  box-shadow:0 5px 0 #93814a28,0 10px 22px #87732b1f;
}
.page-game .game-shell.theme-guess .play .game-prompt h2 {
  width:100%;
  max-width:none;
  font-size:clamp(2rem,6.4vw,6.25rem);
  font-weight:800;
  line-height:1.08;
  letter-spacing:-.035em;
  overflow-wrap:anywhere;
  margin:clamp(.6rem,2.3vw,1.75rem) 0;
}
.page-game .game-shell.theme-guess .play .guess-long-word .game-prompt h2 {font-size:clamp(1.25rem,3.5vw,3.35rem);line-height:1.25}
.page-game .game-shell.theme-guess .play .game-prompt .meta {
  font-size:clamp(.8rem,1.3vw,1rem);
  font-weight:690;
  line-height:1.4;
  color:var(--guess-muted);
  opacity:1;
  margin:0;
}
.page-game .game-shell.theme-guess .play .game-clock {
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:.75rem;
  min-width:0;
  padding:clamp(.75rem,1.65vw,1.6rem);
  color:var(--guess-ink);
  border:1px solid #be892e;
  border-radius:clamp(12px,1.65vw,24px);
  background:linear-gradient(155deg,#ffda64,#ffc83d);
  box-shadow:0 5px 0 #9e742b33;
}
.page-game .game-shell.theme-guess .play .game-clock[data-low=true] {color:#7e251c;background:#ffd7b1;border-color:#bd663e}
.page-game .game-shell.theme-guess .play .game-clock .timer {
  font-size:clamp(3.1rem,7vw,6.9rem);
  font-variant-numeric:tabular-nums;
  font-weight:820;
  line-height:.94;
}
.theme-guess .game-clock .time-track {width:100%;min-width:0;background:#a77b2d47}
.theme-guess .game-clock .time-track span {background:var(--guess-blue)}
.theme-guess .game-clock[data-low=true] .time-track span {background:#9d3827}
.page-game .game-shell.theme-guess .play .guess-room .actions {margin:clamp(.7rem,1.6vw,1.3rem) auto 0;gap:.55rem}
.guess-room[data-guess-phase=playing] .actions :is([data-action=got],[data-action=skip]) {min-width:8rem}
.page-game .game-shell.theme-guess .play .guess-room:not([data-guess-phase=playing]) {
  width:min(100%,47rem);
  border-block:1px solid #d4c286;
  padding:clamp(1rem,3vw,2.7rem) clamp(.7rem,3vw,2.2rem);
  background:#fffdf491;
}
.page-game .game-shell.theme-guess .play .guess-room:not([data-guess-phase=playing])>h2 {font-size:clamp(1.5rem,4vw,3.25rem);overflow-wrap:anywhere}
.page-game .game-shell.theme-guess .play .guess-paused-clock,
.page-game .game-shell.theme-guess .play .guess-earned {font-size:clamp(1.3rem,3vw,2.25rem);color:var(--guess-blue);font-weight:780}
.theme-guess .guess-unjudged {font-size:.92rem;overflow-wrap:anywhere}
.theme-guess .guess-room .round-history {margin-inline:auto;text-align:left;background:var(--guess-paper);border-color:#c8bea0}
.theme-guess .guess-room .scores li {overflow-wrap:anywhere}
.theme-guess .guess-room .scores li strong {color:var(--guess-ink);background:#ffe09b}
@media(max-width:650px) {
  .page-game .game-shell.theme-guess .play .game-round {grid-template-columns:minmax(0,1fr)}
  .page-game .game-shell.theme-guess .play .game-prompt {min-height:clamp(9.3rem,26svh,13rem)}
  .page-game .game-shell.theme-guess .play .game-clock {flex-direction:row;align-items:center;gap:1rem}
  .page-game .game-shell.theme-guess .play .game-clock .timer {font-size:2.85rem;white-space:nowrap}
  .theme-guess .game-clock .time-track {flex:1}
  .page-game .game-shell.theme-guess .play .guess-room[data-guess-phase=playing] .actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .guess-room[data-guess-phase=playing] .actions :is([data-action=got],[data-action=skip]) {min-width:0}
}
@media(prefers-reduced-motion:no-preference) {
  .theme-guess .game-prompt h2 {animation:guess-word-in .17s ease-out}
}
@keyframes guess-word-in {from {opacity:.75;translate:0 3px}}
@media(prefers-reduced-motion:reduce) {
  .page-game .game-shell.theme-guess .play .button {transition:none}
}
