:root {
  font-family: "DM Sans", sans-serif;
  color: #172044;
  background: #f4f6ff;
  color-scheme: light;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #ff6548;
  outline-offset: 3px;
}
.hidden {
  display: none !important;
}
.site-shell {
  min-height: 100vh;
  background: #f4f6ff;
}
.site-header {
  height: 68px;
  max-width: 980px;
  margin: auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #172044;
  text-decoration: none;
  font-family: Fredoka, sans-serif;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -1px;
}
.brand-highlight {
  color: #ff6548;
}
.header-actions {
  display: flex;
  gap: 6px;
}
.nav-link {
  display: flex;
  gap: 7px;
  align-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #43527a;
  font-size: 12px;
  font-weight: 800;
  padding: 9px 10px;
}
.nav-link:hover {
  background: #dce5ff;
  color: #263b75;
}
.game-section {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
  padding: 42px 0 36px;
}
.game-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  color: #52638e;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
}
.mode-selector {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 20px;
  width: fit-content;
  border: 1px solid #d4dcf5;
  border-radius: 12px;
  background: #fff;
}
.mode-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #43527a;
  font-weight: 800;
  font-size: 14px;
}
.mode-button[aria-pressed="true"] {
  background: #5549d8;
  color: #fff;
}
button:disabled { cursor: wait; }
:root[data-theme="dark"] .mode-selector {
  background: #202756;
  border-color: #4c5995;
}
:root[data-theme="dark"] .mode-button { color: #c4cbed; }
:root[data-theme="dark"] .mode-button[aria-pressed="true"] {
  background: #6653e8;
  color: #fff;
}
.game-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.today-pill {
  padding: 5px 8px;
  border-radius: 5px;
  background: #dbe4ff;
  color: #304477;
  font-size: 9px;
}
.game-number {
  color: #ff6548;
}
.board-column {
  display: grid;
  gap: 10px;
}
.question-card {
  padding: 20px;
  background: #5549d8;
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 24px #3730a333;
}
.question-card h2 {
  margin: 0;
  font:
    600 clamp(19px, 3.8vw, 26px)/1.13 Fredoka,
    sans-serif;
  letter-spacing: -0.4px;
}
.progress-strip {
  display: grid;
  grid-template-columns: 0.8fr 1.3fr;
  align-items: stretch;
  border: 1px solid #d4dcf5;
  border-radius: 11px;
  background: #fff;
  overflow: hidden;
}
.progress-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  min-width: 0;
  border-right: 1px solid #e0e6f8;
}
.progress-item:last-child {
  border: 0;
}
.score-value {
  display: block;
  color: #ff6548;
  font:
    600 32px/1 Fredoka,
    sans-serif;
}
.score-summary { flex-direction: column; gap: 5px; }
.score-detail { color: #596b98; font-size: 10px; text-align: center; }
:root[data-theme="dark"] .score-detail { color: #c4cbed; }
.board-progress { font-size: 10px; white-space: nowrap; }
.strikes {
  display: flex;
  width: 100%;
  justify-content: space-around;
  gap: 12px;
}
.strikes span {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #edf0fa;
  color: #9aa8ca;
  font-size: 20px;
}
.strikes span.used {
  background: #ffe1dc;
  color: #ef4e39;
}
.board-frame {
  border: 5px solid #4b55c7;
  border-radius: 15px;
  background: #4b55c7;
  box-shadow: 0 14px 28px #3831a13d;
  overflow: hidden;
}
.board-header {
  height: 32px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #6658ed;
  color: #ffe16b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.1px;
}
.board-header i {
  font-size: 14px;
}
.answer-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin: 0;
  padding: 4px;
  list-style: none;
  background: #cdd9ff;
}
.answer-row {
  min-height: 48px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 37px;
  align-items: center;
  border: 1px solid #a9b9e7;
  border-radius: 5px;
  background: #eef3ff;
  color: #22315d;
  overflow: hidden;
}
.answer-rank {
  align-self: stretch;
  display: grid;
  place-items: center;
  background: #c3d3ff;
  color: #355bb1;
  font:
    600 15px Fredoka,
    sans-serif;
}
.answer-text {
  padding: 0 10px;
  padding-block: 7px;
  overflow-wrap: anywhere;
  white-space: normal;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}
.answer-score {
  align-self: stretch;
  display: grid;
  place-items: center;
  border-left: 1px solid #afc0ea;
  background: #d5e1ff;
  color: #b76b05;
  font:
    600 17px Fredoka,
    sans-serif;
}
.answer-row.is-hidden {
  background: #e4ebfb;
  border-color: #afc0ea;
}
.answer-row.is-hidden .answer-text {
  color: #7284ad;
  letter-spacing: 3px;
}
.answer-row.is-hidden .answer-score {
  color: #7284ad;
  background: #d9e4fa;
}
.answer-row.is-found {
  border-color: #53b99d;
  background: #e3fff3;
}
.answer-row.is-found .answer-rank,
.answer-row.is-found .answer-score {
  background: #b8efd9;
  color: #08765b;
}
.answer-row.is-missed {
  opacity: 0.65;
  filter: saturate(0.5);
}
.reveal-animation {
  animation: reveal 580ms var(--reveal-delay, 0ms) cubic-bezier(0.2, 0.8, 0.3, 1) both;
}
.reveal-animation .answer-text,
.reveal-animation .answer-score {
  animation: reveal-content 580ms var(--reveal-delay, 0ms) both;
}
@keyframes reveal {
  0% { transform: perspective(600px) rotateX(-85deg); }
  65% { transform: perspective(600px) rotateX(8deg); }
  100% { transform: perspective(600px) rotateX(0); }
}
@keyframes reveal-content {
  0%, 30% { opacity: 0; }
  70%, 100% { opacity: 1; }
}
.board-frame { position: relative; }
.board-frame::after {
  position: absolute;
  inset: 32px 0 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  font: 700 clamp(64px, 14vw, 100px)/1 Fredoka, sans-serif;
}
.board-frame.guess-correct {
  animation: correct-glow 1000ms ease-out;
}
.board-frame.guess-correct::after {
  content: '\2713';
  color: #b8ffdf;
  text-shadow: 0 3px 0 #08765b, 0 0 26px #52dfba;
  background: radial-gradient(ellipse, #52dfba35, transparent 70%);
  animation: correct-flash 1000ms ease-out both;
}
.board-frame.guess-miss::after {
  content: '\2715';
  color: #ff6548;
  text-shadow: 0 3px 0 #782d36, 0 0 26px #ff654880;
  background: radial-gradient(ellipse, #ff654835, transparent 70%);
  animation: miss-flash 700ms ease-out both;
}
.strike-flash { animation: strike-pop 700ms ease-out; }
.score-pop { animation: score-pop 700ms ease-out; }
@keyframes correct-glow {
  0%, 45%, 100% { box-shadow: 0 14px 28px #3831a13d; }
  20%, 65% { box-shadow: 0 0 0 3px #52dfba, 0 0 30px #52dfba80; }
}
@keyframes correct-flash {
  0% { opacity: 0; transform: scale(0.7); }
  20% { opacity: 1; transform: scale(1.08); }
  45% { opacity: 0.15; transform: scale(0.95); }
  65% { opacity: 0.9; transform: scale(1.08); }
  100% { opacity: 0; transform: scale(1.15); }
}
@keyframes miss-flash {
  0% { opacity: 0; transform: scale(0.5); }
  20%, 45% { opacity: 1; transform: scale(1.08); }
  100% { opacity: 0; transform: scale(0.95); }
}
@keyframes strike-pop {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.2) rotate(-8deg); box-shadow: 0 0 20px #ff654880; }
  50% { transform: scale(1.1) rotate(8deg); }
  75% { transform: scale(1.05) rotate(-4deg); }
}
@keyframes score-pop {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(1.2); color: #52b995; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-animation,
  .reveal-animation .answer-text,
  .reveal-animation .answer-score,
  .board-frame.guess-correct,
  .board-frame::after,
  .strike-flash,
  .score-pop { animation: none; }
}
.input-panel {
  padding: 13px 15px 11px;
  border: 1px solid #d4dcf5;
  border-radius: 11px;
  background: #fff;
}
.input-panel label {
  display: block;
  margin-bottom: 6px;
  color: #596b98;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}
.input-row {
  display: flex;
  gap: 7px;
}
.input-row input {
  min-width: 0;
  flex: 1;
  border: 1px solid #bfcae8;
  border-radius: 7px;
  padding: 10px 12px;
  color: #172044;
  font-size: 14px;
  font-weight: 600;
}
.input-row input::placeholder {
  color: #8494b7;
}
.input-row input:focus {
  outline: none;
  border-color: #ff6548;
}
.guess-button,
.share-button,
.secondary-button,
.modal-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 7px;
  padding: 0 16px;
  background: #ff6548;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.guess-button:hover,
.share-button:hover,
.modal-primary:hover {
  background: #e8453a;
}
.feedback {
  min-height: 14px;
  margin: 7px 0 0;
  color: #778099;
  font-size: 11px;
}
.feedback:empty {
  display: none;
}
.random-controls {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}
.wrong-guesses {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px 10px;
  min-width: 0;
  padding: 3px 15px;
}
.wrong-guesses h3 {
  margin: 0;
  color: #596b98;
  font-size: 10px;
  font-weight: 800;
}
.wrong-guesses ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.wrong-guesses li {
  max-width: 100%;
  padding: 4px 9px;
  border-radius: 6px;
  background: #ffe1dc;
  color: #a33430;
  font-size: 11px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
:root[data-theme="dark"] .wrong-guesses h3 { color: #c4cbed; }
:root[data-theme="dark"] .wrong-guesses li {
  background: #5b2947;
  color: #ffb4a4;
}
.random-reveal-button,
.random-skip-button {
  width: 44px;
  height: 44px;
  padding: 0;
  font-size: 22px;
}
.feedback.success {
  color: #05845f;
}
.feedback.warning {
  color: #a66600;
}
.feedback.error {
  color: #db3e43;
}
.result-panel {
  padding: 19px;
  border: 1px solid #d4dcf5;
  border-radius: 11px;
  background: #fff;
  text-align: center;
}
.result-badge {
  display: inline-block;
  border-radius: 99px;
  background: #fff0bd;
  color: #a75e00;
  padding: 4px 8px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}
.result-panel.is-victory {
  padding: 26px 19px;
  border: 2px solid #e6b843;
  background: radial-gradient(ellipse at top, #fff0bd, #fff 75%);
  box-shadow: 0 8px 32px #e6b84330;
}
.victory-trophy {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border: 1px solid #e6b843;
  border-radius: 50%;
  background: #ffe79b;
  color: #986000;
  font-size: 32px;
  box-shadow: 0 0 0 7px #e6b84318;
}
.result-panel.is-victory h3 {
  font-size: clamp(26px, 5vw, 34px);
}
.victory-entrance {
  animation: victory-entrance 650ms cubic-bezier(0.2, 0.8, 0.3, 1.2) both;
}
.confetti-layer {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow: hidden;
  pointer-events: none;
}
.confetti-piece {
  position: absolute;
  top: -20px;
  left: var(--left);
  width: 8px;
  height: 13px;
  opacity: 0;
  animation: confetti-fall var(--duration) var(--delay) ease-in both;
}
@keyframes confetti-fall {
  0% { opacity: 1; transform: translate3d(0, 0, 0) rotate(0); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(var(--drift), calc(100vh + 40px), 0) rotate(var(--spin)); }
}
@keyframes victory-entrance {
  from { opacity: 0; transform: translateY(16px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
:root[data-theme="dark"] .result-panel.is-victory {
  background: radial-gradient(ellipse at top, #544173, #232960 75%);
  border-color: #e6b843;
  box-shadow: 0 8px 32px #e6b84320;
}
:root[data-theme="dark"] .result-panel.is-victory p { color: #dce1ff; }
@media (prefers-reduced-motion: reduce) {
  .victory-entrance, .confetti-piece { animation: none; }
  .confetti-layer { display: none; }
}
.result-panel h3 {
  margin: 8px 0 4px;
  font:
    600 22px Fredoka,
    sans-serif;
}
.result-panel p {
  margin: 0;
  color: #5f6e93;
  font-size: 13px;
}
.result-panel { --medal-color: #596b98; }
.result-panel[data-medal="bronze"] { --medal-color: #aa592b; }
.result-panel[data-medal="silver"] { --medal-color: #586d88; }
.result-panel[data-medal="gold"],
.result-panel[data-medal="perfect"] { --medal-color: #a75e00; }
.result-panel[data-medal="bronze"],
.result-panel[data-medal="silver"],
.result-panel[data-medal="gold"] { border: 2px solid var(--medal-color); }
.result-panel .victory-trophy { color: var(--medal-color); background: #f4f6ff; border-color: var(--medal-color); }
.result-panel .result-badge { color: var(--medal-color); background: #edf2ff; }
.result-score { margin: 12px 0 4px; color: var(--medal-color); font: 600 44px/1 Fredoka, sans-serif; }
.result-meter { height: 9px; max-width: 320px; margin: 14px auto; overflow: hidden; border-radius: 99px; background: #e2e8fa; }
.result-meter span { display: block; height: 100%; width: var(--earned, 0%); background: var(--medal-color); border-radius: inherit; }
.result-panel .result-tip { margin-top: 9px; font-size: 12px; }
.medal-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.medal-stats div { text-align: center; padding: 12px 4px; border-radius: 8px; background: #edf2ff; }
.medal-stats strong { display: block; font: 600 24px Fredoka, sans-serif; }
.medal-stats span { font-size: 11px; }
.medal-stats div:nth-child(1) { color: #aa592b; }
.medal-stats div:nth-child(2) { color: #586d88; }
.medal-stats div:nth-child(3) { color: #a75e00; }
:root[data-theme="dark"] .result-panel { --medal-color: #c4cbed; }
:root[data-theme="dark"] .result-panel[data-medal="bronze"] { --medal-color: #efb18b; }
:root[data-theme="dark"] .result-panel[data-medal="silver"] { --medal-color: #d1def2; }
:root[data-theme="dark"] .result-panel[data-medal="gold"],
:root[data-theme="dark"] .result-panel[data-medal="perfect"] { --medal-color: #ffdb54; }
:root[data-theme="dark"] .result-panel[data-medal="bronze"],
:root[data-theme="dark"] .result-panel[data-medal="silver"],
:root[data-theme="dark"] .result-panel[data-medal="gold"] { border-color: var(--medal-color); }
:root[data-theme="dark"] .result-panel p { color: #dce1ff; }
:root[data-theme="dark"] .result-panel .victory-trophy,
:root[data-theme="dark"] .result-panel .result-badge,
:root[data-theme="dark"] .result-meter,
:root[data-theme="dark"] .medal-stats div { background: #12183b; }
:root[data-theme="dark"] .medal-stats div:nth-child(1) { color: #efb18b; }
:root[data-theme="dark"] .medal-stats div:nth-child(2) { color: #d1def2; }
:root[data-theme="dark"] .medal-stats div:nth-child(3) { color: #ffdb54; }
.result-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.result-actions button {
  height: 34px;
}
.secondary-button {
  background: #e2e8fa;
  color: #35456f;
}
.secondary-button:hover {
  background: #d0dbf6;
}
:root[data-theme="dark"] .random-reveal-button,
:root[data-theme="dark"] .random-skip-button {
  background: #252b61;
  color: #c4cbed;
}
:root[data-theme="dark"] .random-reveal-button:hover,
:root[data-theme="dark"] .random-skip-button:hover {
  background: #343d7a;
  color: #fff;
}
.share-feedback {
  margin-top: 9px !important;
  color: #05845f !important;
  font-size: 11px !important;
}
.modal {
  width: min(100% - 32px, 460px);
  padding: 23px;
  border: 0;
  border-radius: 14px;
  color: #22315d;
  box-shadow: 0 24px 65px #1e266640;
}
.modal::backdrop {
  background: #18235ab8;
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #ffe7a6;
  color: #a75e00;
  font-size: 17px;
}
.close-button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 7px;
  background: #e7ecfa;
  color: #43527a;
}
.modal h2 {
  margin: 15px 0 5px;
  font:
    600 27px Fredoka,
    sans-serif;
}
.modal > p,
.modal-note {
  color: #5f6e93;
  font-size: 13px;
  line-height: 1.45;
}
.instruction {
  display: flex;
  gap: 12px;
  margin-top: 13px;
  padding: 10px;
  border-radius: 8px;
  background: #edf2ff;
}
.instruction > span {
  color: #ff6548;
  font:
    600 16px Fredoka,
    sans-serif;
}
.instruction strong {
  font-size: 12px;
}
.instruction p {
  margin: 3px 0 0;
  color: #64739d;
  font-size: 11px;
  line-height: 1.35;
}
.modal-primary {
  height: 38px;
  width: 100%;
  margin-top: 17px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.stats-grid div {
  padding: 12px;
  border-radius: 8px;
  background: #edf2ff;
}
.stats-grid strong {
  display: block;
  color: #ff6548;
  font:
    600 24px Fredoka,
    sans-serif;
}
.stats-grid span {
  color: #5d6d96;
  font-size: 10px;
  font-weight: 700;
}
@media (max-width: 560px) {
  .site-header {
    height: 60px;
    padding: 0 16px;
  }
  .brand {
    font-size: 22px;
  }
  .nav-link {
    padding: 8px;
  }
  .nav-link span {
    display: none;
  }
  .game-section {
    width: min(100% - 20px, 760px);
    padding-top: 22px;
  }
  .game-topline {
    font-size: 9px;
  }
  .date-label {
    display: none;
  }
  .progress-strip {
    grid-template-columns: minmax(115px, 0.8fr) 1.3fr;
  }
  .progress-item {
    padding: 9px;
  }
  .answer-board {
    grid-template-columns: 1fr;
  }
  .answer-row {
    min-height: 43px;
    grid-template-columns: 29px minmax(0, 1fr) 34px;
  }
  .answer-text {
    font-size: 12px;
  }
  .input-row input {
    padding: 10px;
  }
  .guess-button {
    padding: 0 12px;
  }
  .result-actions {
    flex-direction: column;
  }
  .result-actions button {
    width: 100%;
  }
}

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 10px;
  border: 1px solid #d4dcf5;
  border-radius: 8px;
  background: #fff;
  color: #43527a;
  font-size: 12px;
  font-weight: 800;
}

.theme-toggle:hover {
  background: #dce5ff;
  color: #263b75;
}

:root[data-theme="dark"] {
  color: #f4f6ff;
  background: #0e1028;
  color-scheme: dark;
}

:root[data-theme="dark"] .site-shell {
  background: #0e1028;
}

:root[data-theme="dark"] .brand,
:root[data-theme="dark"] .question-card h2,
:root[data-theme="dark"] .score-value,
:root[data-theme="dark"] .answer-text,
:root[data-theme="dark"] .result-panel h3,
:root[data-theme="dark"] .modal {
  color: #f4f6ff;
}

:root[data-theme="dark"] .nav-link,
:root[data-theme="dark"] .theme-toggle,
:root[data-theme="dark"] .game-topline,
:root[data-theme="dark"] .feedback,
:root[data-theme="dark"] .modal > p,
:root[data-theme="dark"] .modal-note,
:root[data-theme="dark"] .instruction p,
:root[data-theme="dark"] .stats-grid span {
  color: #c4cbed;
}

:root[data-theme="dark"] .nav-link:hover,
:root[data-theme="dark"] .theme-toggle:hover {
  background: #343d7a;
  color: #fff;
}

:root[data-theme="dark"] .theme-toggle {
  border-color: #5663a1;
  background: #252b61;
  color: #f4f6ff;
}

:root[data-theme="dark"] .question-card,
:root[data-theme="dark"] .board-frame,
:root[data-theme="dark"] .input-panel,
:root[data-theme="dark"] .result-panel,
:root[data-theme="dark"] .modal {
  background: #232960;
  border-color: #4f5c9c;
  box-shadow: 0 18px 45px #06071c80;
}

:root[data-theme="dark"] .question-card {
  background: #6653e8;
  border-color: transparent;
}

:root[data-theme="dark"] .board-frame {
  background: #4b55c7;
  border-color: #4b55c7;
}

:root[data-theme="dark"] .progress-strip,
:root[data-theme="dark"] .answer-row,
:root[data-theme="dark"] .stats-grid div,
:root[data-theme="dark"] .instruction {
  background: #202756;
  border-color: #4c5995;
}

:root[data-theme="dark"] .answer-board {
  background: #12183b;
}

:root[data-theme="dark"] .answer-rank {
  background: #303a7a;
  color: #ffdb54;
}

:root[data-theme="dark"] .answer-score {
  border-color: #4c5995;
  background: #303a7a;
  color: #ffdb54;
}

:root[data-theme="dark"] .answer-row.is-hidden .answer-score {
  background: #252d61;
  color: #aab8dd;
}

:root[data-theme="dark"] .progress-item {
  border-color: #4c5995;
}

:root[data-theme="dark"] .strikes span {
  background: #12183b;
  color: #8292bd;
}

:root[data-theme="dark"] .strikes span.used {
  background: #5b2947;
  color: #ff917b;
}

:root[data-theme="dark"] .board-header,
:root[data-theme="dark"] .answer-row.is-hidden,
:root[data-theme="dark"] .close-button {
  background: #182052;
  color: #d9e0ff;
}

:root[data-theme="dark"] .answer-row.is-found {
  background: #14564e;
}

:root[data-theme="dark"] .answer-row.is-missed {
  background: #622d4d;
}

:root[data-theme="dark"] .input-row input {
  background: #111638;
  border-color: #5968a6;
  color: #f4f6ff;
}

:root[data-theme="dark"] .input-row input::placeholder {
  color: #9dacd2;
}

:root[data-theme="dark"] .input-row input:focus {
  border-color: #ff6548;
}

:root[data-theme="dark"] .modal::backdrop {
  background: #040516cc;
}

@media (max-width: 560px) {
  .theme-toggle {
    padding: 8px;
  }

  .theme-toggle span {
    display: none;
  }
}
