.arrow-card-art {
  width: 73%;
  max-width: 230px;
  height: 170px;
  color: #191919;
}
.arrow-game {
  width: 100%;
  max-width: 520px;
}
.arrow-chapter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.arrow-chapter .eyebrow {
  font-size: 10px;
  letter-spacing: 0.1em;
}
.arrow-chapter h2 {
  font-size: 28px;
  margin-top: 5px;
}
.arrow-chapter .pill {
  font-size: 11px;
  color: #191919;
  background: var(--mint);
  padding: 5px 10px;
  white-space: nowrap;
}
.arrow-frame {
  border: 2px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--paper);
}
.arrow-board {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  touch-action: manipulation;
}
.arrow-dots {
  fill: var(--sub);
  opacity: 0.22;
}
.escape-arrow {
  cursor: pointer;
  color: #252a30;
  outline: none !important;
}
.arrow-tone-1 {
  color: #974537;
}
.arrow-tone-2 {
  color: #23585a;
}
.arrow-tone-3 {
  color: #58508b;
}
[data-theme="dark"] .escape-arrow {
  color: #f6f2e8;
}
[data-theme="dark"] .arrow-tone-1 {
  color: #ffad99;
}
[data-theme="dark"] .arrow-tone-2 {
  color: #83dcbb;
}
[data-theme="dark"] .arrow-tone-3 {
  color: #c1aff2;
}
.arrow-line,
.arrow-tip,
.arrow-hit,
.arrow-glow {
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.arrow-hit {
  stroke: transparent;
  stroke-width: 31;
  pointer-events: stroke;
}
.arrow-glow {
  stroke: var(--sun);
  stroke-width: 18;
  opacity: 0;
}
.arrow-tail {
  fill: currentColor;
  pointer-events: none;
}
.escape-arrow:focus-visible .arrow-glow,
.escape-arrow.is-hint .arrow-glow {
  opacity: 1;
}
.escape-arrow.is-hint .arrow-glow {
  stroke: var(--mint);
}
.escape-arrow.is-blocker .arrow-glow {
  stroke: var(--coral);
  opacity: 0.55;
}
.escape-arrow.is-blocked {
  animation: arrow-bump 0.32s ease-in-out;
}
.escape-arrow.is-escaping {
  pointer-events: none;
}
.is-escaping .arrow-hit,
.is-escaping .arrow-glow,
.is-escaping .arrow-tail {
  display: none;
}
.is-escaping .arrow-line {
  animation: arrow-release 0.42s ease-in forwards;
}
.is-escaping .arrow-tip {
  animation: arrow-tip-release 0.42s ease-in forwards;
}
.arrow-progress {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 16px 0;
  font-size: 12px;
  color: var(--sub);
}
.arrow-progress progress {
  flex: 1;
  min-width: 0;
  width: 100%;
  height: 9px;
  accent-color: #30856c;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
}
.arrow-progress progress::-webkit-progress-bar {
  background: var(--paper);
}
.arrow-progress progress::-webkit-progress-value {
  background: #30856c;
  border-radius: 8px;
}
.arrow-progress progress::-moz-progress-bar {
  background: #30856c;
}
.arrow-progress span {
  white-space: nowrap;
}
.arrow-navigation {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.arrow-navigation .button {
  min-height: 44px;
}
.arrow-instructions {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
  color: var(--sub);
}
.arrow-level-picker {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
}
[data-game="arrowescape"] .game-actions .button,
[data-game="arrowescape"] .game-actions select {
  min-height: 44px;
}
[data-game="arrowescape"] .game-stat[data-stat="Best"] > strong {
  font-size: 14px;
  line-height: 2.2;
}
@media (max-width: 600px) {
  [data-game="arrowescape"] .game-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 8px 16px;
  }
  [data-game="arrowescape"] .game-stat[data-stat="Best"] {
    order: 4;
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  [data-game="arrowescape"] .game-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
  .arrow-level-picker {
    grid-column: 1 / -1;
  }
  .arrow-level-picker select {
    flex: 1;
    min-width: 0;
  }
}
@media (hover: hover) {
  .escape-arrow:hover .arrow-glow {
    opacity: 0.5;
  }
}
@keyframes arrow-bump {
  30% {
    transform: translateX(3px);
  }
  65% {
    transform: translateX(-3px);
  }
}
@keyframes arrow-release {
  to {
    stroke-dashoffset: var(--arrow-travel);
  }
}
@keyframes arrow-tip-release {
  to {
    transform: translate(var(--arrow-x), var(--arrow-y));
  }
}
@media (prefers-reduced-motion: reduce) {
  .escape-arrow,
  .is-escaping .arrow-line,
  .is-escaping .arrow-tip {
    animation-duration: 0.01ms;
  }
}

:root {
  --paper: #f6f2e8;
  --ink: #191919;
  --surface: #fffdf7;
  --sub: #605e56;
  --line: #191919;
  --coral: #ff7055;
  --sun: #ffd05b;
  --sky: #8cb5ff;
  --mint: #83dcbb;
  --lilac: #c1aff2;
  --orange: #f6b46c;
  --shadow: 5px 5px 0 var(--line);
  --radius: 18px;
  --nav-layer: 20;
  --dialog-layer: 50;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --paper: #242420;
  --ink: #f6f2e8;
  --surface: #30312b;
  --sub: #ccc9bd;
  --line: #10120f;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.6 "Trebuchet MS",
    Arial,
    sans-serif;
  background-image: radial-gradient(#aaa38b26 0.8px, transparent 0.8px);
  background-size: 22px 22px;
}
a {
  color: inherit;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.48;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #2571df;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3,
.brand {
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  line-height: 1.1;
  letter-spacing: -0.045em;
  font-weight: 900;
}
button {
  color: var(--ink);
}
.wrap {
  width: min(1240px, calc(100% - 64px));
  margin: auto;
}
.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  background: var(--sun);
  color: #191919;
  padding: 12px;
  z-index: 100;
}
.skip:focus {
  top: 12px;
}
.topnav {
  border-bottom: 2px solid var(--line);
  background: var(--paper);
  position: relative;
  z-index: var(--nav-layer);
}
.nav-inner {
  height: 82px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 25px;
  white-space: nowrap;
  letter-spacing: -1px;
}
.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 7px);
  grid-template-rows: repeat(2, 7px);
  gap: 3px;
  place-content: center;
  width: 39px;
  height: 39px;
  border: 2px solid #191919;
  border-radius: 10px;
  background: var(--sun);
  box-shadow: 3px 3px 0 #191919;
  transform: rotate(-6deg);
}
.brand-mark i {
  background: #191919;
  border-radius: 2px;
}
.brand-mark i:last-child {
  background: #e9583b;
  border-radius: 50%;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}
.nav-links a {
  padding: 9px 16px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid transparent;
  white-space: nowrap;
}
.nav-links a:hover {
  border-color: var(--line);
}
.nav-links a.active {
  background: var(--ink);
  color: var(--paper);
}
.theme-toggle {
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  height: 40px;
  width: 40px;
  font-size: 20px;
  flex-shrink: 0;
}
.button {
  border: 2px solid var(--line);
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--line);
  background: var(--surface);
  padding: 12px 22px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--line);
}
.button:active {
  transform: translate(4px, 4px);
  box-shadow: none;
}
.button.small {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 10px;
}
.coral {
  background: var(--coral);
  color: #191919;
}
.sun {
  background: var(--sun);
  color: #191919;
}
.sky {
  background: var(--sky);
  color: #191919;
}
.mint {
  background: var(--mint);
  color: #191919;
}
.lilac {
  background: var(--lilac);
  color: #191919;
}
.orange {
  background: var(--orange);
  color: #191919;
}
.ink {
  background: #24231f;
  color: #f6f2e8;
}
.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 66px 0 74px;
}
.hero h1 {
  font-size: clamp(48px, 5.8vw, 78px);
  letter-spacing: -0.06em;
  line-height: 1.06;
}
.hero h1 em {
  font-style: normal;
  color: #d84930;
  position: relative;
  white-space: nowrap;
  background: linear-gradient(
    transparent 78%,
    var(--sun) 78%,
    var(--sun) 93%,
    transparent 93%
  );
}
[data-theme="dark"] .hero h1 em {
  color: var(--coral);
}
.hero p {
  font-size: 18px;
  color: var(--sub);
  max-width: 440px;
  line-height: 1.7;
  margin: 24px 0 30px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.eyebrow:before {
  content: "";
  width: 9px;
  height: 9px;
  background: #25956e;
  border: 2px solid var(--line);
  border-radius: 50%;
}
.hero-toy {
  position: relative;
  padding: 18px 26px 20px;
}
.toy-card {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 9px 9px 0 var(--line);
  transform: rotate(3deg);
  position: relative;
}
.toy-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
  font-weight: 800;
}
.toy-label {
  font-size: 12px;
  border: 2px solid #191919;
  background: var(--sun);
  color: #191919;
  border-radius: 20px;
  padding: 2px 10px;
  white-space: nowrap;
}
.toy-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.toy-light {
  aspect-ratio: 1;
  border: 2px solid #191919;
  border-radius: 12px;
  background: #31342c;
  color: #f6f2e8;
  font-size: 32px;
  box-shadow: 3px 3px 0 #191919;
  transition:
    background 0.18s,
    transform 0.18s;
}
.toy-light.on {
  background: var(--sun);
  color: #191919;
}
.toy-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  gap: 8px;
  font-size: 13px;
  color: var(--sub);
}
.toy-foot button {
  background: none;
  border: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  min-height: 36px;
}
.toy-sticker {
  position: absolute;
  left: -10px;
  top: -10px;
  z-index: 1;
  transform: rotate(-12deg);
  border: 2px solid #191919;
  background: var(--coral);
  color: #191919;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: grid;
  place-content: center;
  text-align: center;
  font-weight: 900;
  line-height: 1.15;
  font-size: 15px;
  box-shadow: 3px 3px 0 #191919;
}
.toy-spark {
  position: absolute;
  right: -5px;
  bottom: -6px;
  font-size: 82px;
  color: #4784e4;
  line-height: 1;
  transform: rotate(-10deg);
  text-shadow: 3px 3px 0 var(--line);
  pointer-events: none;
}
.trust-strip {
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  padding: 15px;
  background: var(--sun);
  color: #191919;
  font-size: 13px;
  font-weight: 800;
}
.trust-strip span + span:before {
  content: "✦";
  margin-right: 50px;
}
.section {
  padding: 56px 0;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.section-head h2 {
  font-size: 38px;
}
.section-head p {
  color: var(--sub);
  margin-top: 10px;
  font-size: 15px;
}
.text-link {
  font-weight: 800;
  text-underline-offset: 5px;
  white-space: nowrap;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 23px;
}
.game-card {
  position: relative;
  border: 2px solid var(--line);
  background: var(--surface);
  border-radius: 18px;
  box-shadow: var(--shadow);
  min-width: 0;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  overflow: hidden;
}
.game-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--line);
}
.game-card > a {
  text-decoration: none;
  display: block;
  height: 100%;
}
.game-art {
  height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid var(--line);
  overflow: hidden;
  background-image: radial-gradient(#19191916 1px, transparent 1px);
  background-size: 14px 14px;
  position: relative;
}
.game-art .big-symbol {
  font-family: monospace;
  font-weight: 900;
  font-size: 75px;
  letter-spacing: -8px;
  transform: rotate(-9deg);
  text-shadow: 3px 3px 0 #ffffff55;
}
.card-body {
  padding: 22px;
}
.card-body h3 {
  font-size: 24px;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.card-body p {
  font-size: 14px;
  color: var(--sub);
  line-height: 1.5;
  min-height: 42px;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
  font-size: 12px;
  font-weight: 800;
}
.category-label {
  border: 1.5px solid var(--line);
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--paper);
}
.play-label {
  font-size: 14px;
}
.favorite {
  position: absolute;
  right: 12px;
  top: 12px;
  border: 2px solid #191919;
  background: #fffdf7;
  color: #191919;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 23px;
  display: grid;
  place-content: center;
  z-index: 1;
}
.favorite[aria-pressed="true"] {
  background: var(--sun);
}
.art-grid {
  display: grid;
  gap: 5px;
  transform: rotate(-8deg);
  grid-template-columns: repeat(4, 1fr);
  width: 156px;
  padding: 7px;
  border: 2px solid #191919;
  border-radius: 12px;
  background: #fffdf7;
  box-shadow: 4px 4px 0 #191919;
  color: #191919;
}
.art-grid span {
  height: 30px;
  display: grid;
  place-content: center;
  background: #eae5d8;
  border: 1.5px solid #191919;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 900;
}
.art-grid.three {
  grid-template-columns: repeat(3, 1fr);
  width: 138px;
}
.art-grid.three span {
  height: 34px;
}
.art-grid .dark {
  background: #252520;
  color: #ffd05b;
}
.art-grid .gold {
  background: #ffd05b;
}
.daily-banner {
  display: grid;
  grid-template-columns: 1fr 270px;
  gap: 40px;
  align-items: center;
  border: 2px solid #191919;
  border-radius: 22px;
  background: #8cb5ff;
  color: #191919;
  box-shadow: 7px 7px 0 #191919;
  padding: 40px 44px;
  position: relative;
  overflow: hidden;
}
.daily-banner h2 {
  font-size: 42px;
  margin: 16px 0;
}
.daily-banner p {
  max-width: 540px;
  margin-bottom: 24px;
}
.pill {
  display: inline-block;
  border: 2px solid #191919;
  background: #fffdf7;
  color: #191919;
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 800;
}
.daily-visual {
  display: grid;
  place-items: center;
  transform: rotate(6deg);
}
.daily-visual .art-grid {
  width: 190px;
  grid-template-columns: repeat(3, 1fr);
  transform: none;
  padding: 12px;
  gap: 8px;
}
.daily-visual .art-grid span {
  height: 44px;
  font-size: 24px;
}
.daily-note {
  font-size: 12px;
  margin-top: 20px;
  font-weight: 700;
}
.page-heading {
  padding: 48px 0 32px;
}
.page-heading h1 {
  font-size: 52px;
  max-width: 800px;
}
.page-heading p {
  color: var(--sub);
  margin-top: 16px;
  max-width: 680px;
}
.browse-controls {
  display: flex;
  gap: 20px;
  align-items: end;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.search-box {
  flex: 1;
  min-width: 210px;
}
.search-box label,
.sort-box label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 7px;
}
input,
select {
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--line);
  border-radius: 10px;
  padding: 10px 13px;
  min-height: 44px;
}
input {
  width: 100%;
}
input::placeholder {
  color: var(--sub);
}
.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.filter {
  padding: 8px 15px;
  border: 2px solid var(--line);
  background: var(--surface);
  border-radius: 22px;
  font-size: 13px;
  font-weight: 800;
  min-height: 40px;
}
.filter.active {
  background: var(--ink);
  color: var(--paper);
}
.result-count {
  font-size: 13px;
  color: var(--sub);
  margin: 0 0 22px;
}
.empty-state {
  padding: 55px 20px;
  text-align: center;
  border: 2px dashed var(--sub);
  border-radius: 18px;
  grid-column: 1/-1;
}
.empty-state h2 {
  font-size: 28px;
  margin-bottom: 12px;
}
.empty-state p {
  color: var(--sub);
  margin-bottom: 20px;
}
.breadcrumb {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--sub);
  padding-top: 26px;
}
.breadcrumb a {
  text-underline-offset: 3px;
}
.play-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0 28px;
}
.play-heading h1 {
  font-size: 43px;
}
.play-heading p {
  color: var(--sub);
  margin-top: 10px;
}
.play-heading .favorite {
  position: static;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
}
.play-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 26px;
  align-items: start;
  padding-bottom: 24px;
}
.game-shell {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 20px;
  box-shadow: 6px 6px 0 var(--line);
  padding: 24px;
  min-width: 0;
}
.rules {
  padding: 25px;
  border: 2px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.rules h2 {
  font-size: 24px;
  margin-bottom: 16px;
}
.rules h3 {
  font-size: 16px;
  letter-spacing: 0;
  margin-top: 25px;
  margin-bottom: 10px;
}
.rules p,
.rules li {
  font-size: 14px;
  line-height: 1.7;
}
.rules ol {
  padding-left: 20px;
  margin: 16px 0;
}
.rules li {
  padding-left: 4px;
  margin: 12px 0;
}
.rule-tip {
  background: var(--sun);
  color: #191919;
  border: 2px solid #191919;
  border-radius: 10px;
  padding: 15px;
  font-size: 13px;
  line-height: 1.6;
  margin-top: 22px;
}
.local-note {
  font-size: 12px;
  color: var(--sub);
  margin-top: 20px;
}
.game-toolbar {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.game-stats {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.game-stat {
  min-width: 50px;
}
.game-stat > span {
  display: block;
  color: var(--sub);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.game-stat > strong {
  display: block;
  font:
    800 20px/1.6 ui-monospace,
    monospace;
  white-space: nowrap;
}
.game-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.game-actions select {
  padding: 6px 9px;
  min-height: 36px;
  font-size: 13px;
}
.game-workspace {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.game-message {
  font-size: 13px;
  color: var(--sub);
  min-height: 42px;
  line-height: 1.6;
  text-align: center;
  margin-top: 22px;
}
.board {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  width: 100%;
  max-width: 400px;
  gap: 6px;
  touch-action: manipulation;
}
.cell {
  aspect-ratio: 1;
  border: 2px solid var(--line);
  background: var(--paper);
  border-radius: 8px;
  display: grid;
  place-content: center;
  padding: 0;
  font-weight: 800;
  font-size: clamp(16px, 4vw, 25px);
  min-width: 0;
  user-select: none;
}
.cell.selected,
.piece-button.selected,
.peg-hole.selected {
  outline: 3px solid #db5b30;
  outline-offset: -4px;
}
.cell.matched,
.matched {
  background: var(--mint);
  color: #191919;
}
.cell.empty {
  background: transparent;
  border: 1px dashed var(--sub);
  opacity: 1;
}
.sudoku-board {
  max-width: 440px;
  gap: 0;
  border: 2px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--line);
}
.sudoku-board .cell {
  border: 0;
  border-radius: 0;
  border-right: 1px solid #aaa69a;
  border-bottom: 1px solid #aaa69a;
  font-size: 22px;
  background: var(--surface);
  color: #2066c1;
}
.sudoku-board .cell:nth-child(3n) {
  border-right: 2px solid var(--line);
}
.sudoku-board .cell:nth-child(n + 19):nth-child(-n + 27),
.sudoku-board .cell:nth-child(n + 46):nth-child(-n + 54) {
  border-bottom: 2px solid var(--line);
}
.sudoku-board .given {
  background: var(--paper);
  color: var(--ink);
  font-weight: 900;
}
.sudoku-board .selected {
  background: #ffe392;
  color: #191919;
  outline: none;
}
.sudoku-board .notes {
  font-size: 10px;
  white-space: normal;
  padding: 3px;
  line-height: 1.2;
  word-spacing: 3px;
}
.sudoku-board .conflict {
  background: #ffb2a0;
  color: #8e2711;
}
.number-pad {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  width: 100%;
  max-width: 460px;
  gap: 5px;
}
.number-key {
  padding: 8px 0;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-size: 20px;
  font-weight: 800;
  min-height: 44px;
  min-width: 0;
}
.aux-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.mines-board {
  gap: 3px;
}
.mines-board .cell {
  border-radius: 4px;
  font-size: 20px;
  background: var(--sun);
  color: #191919;
}
.mines-board .revealed {
  background: var(--paper);
  border-color: #b8b1a1;
}
.mines-board .mine {
  background: var(--coral);
  color: #191919;
}
.mines-board [data-number="1"].revealed {
  color: #2166be;
}
.mines-board [data-number="2"].revealed {
  color: #18724e;
}
.mines-board [data-number="3"].revealed {
  color: #b43923;
}
.tiles-board {
  padding: 12px;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 16px;
  gap: 9px;
  touch-action: none;
}
.tile {
  aspect-ratio: 1;
  border: 2px solid var(--line);
  border-radius: 10px;
  display: grid;
  place-content: center;
  font:
    900 clamp(19px, 5vw, 33px) / 1 ui-monospace,
    monospace;
  background: var(--surface);
  color: var(--ink);
  min-width: 0;
}
.tile.v0 {
  background: #ddd8ca;
  border-color: #cec7b7;
}
.v2 {
  background: #fff7de;
  color: #191919;
}
.v4 {
  background: #ffe297;
  color: #191919;
}
.v8 {
  background: #ffaf87;
  color: #191919;
}
.v16 {
  background: #ff805f;
  color: #191919;
}
.v32 {
  background: #f9c553;
  color: #191919;
}
.v64 {
  background: #f8ab4f;
  color: #191919;
}
.v128 {
  background: #83dcbb;
  color: #191919;
}
.v256 {
  background: #8cb5ff;
  color: #191919;
}
.v512 {
  background: #c1aff2;
  color: #191919;
}
.v1024,
.v2048 {
  background: #24231f;
  color: #ffd05b;
  font-size: 25px;
}
.direction-pad {
  display: grid;
  grid-template-columns: repeat(3, 44px);
  gap: 8px;
  justify-content: center;
}
.direction-pad button {
  width: 44px;
  height: 44px;
  padding: 0;
  font-size: 22px;
}
.direction-pad button:first-child {
  grid-column: 2;
}
.direction-pad button:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
}
.direction-pad button:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}
.direction-pad button:nth-child(4) {
  grid-column: 3;
  grid-row: 2;
}
.memory-board {
  gap: 10px;
}
.memory-card {
  aspect-ratio: 1;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: #24231f;
  color: #ffd05b;
  font-size: 35px;
  box-shadow: 3px 3px 0 var(--line);
}
.memory-card.face-up {
  background: var(--sun);
  color: #191919;
}
.memory-card.matched {
  background: var(--mint);
  color: #191919;
  box-shadow: none;
}
.nonogram-board {
  display: grid;
  grid-template-columns: 60px repeat(var(--nonogram-size, 5), minmax(0, 1fr));
  width: 100%;
  max-width: 390px;
  border: 2px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.nonogram-board .cell {
  border: 1px solid #b6b0a2;
  border-radius: 0;
  background: var(--surface);
}
.nonogram-board .filled {
  background: var(--ink);
}
.clue {
  display: grid;
  place-content: center;
  min-height: 44px;
  border: 1px solid #b6b0a2;
  font:
    800 13px/1.3 ui-monospace,
    monospace;
  background: var(--paper);
}
.clue.met {
  background: var(--mint);
  color: #191919;
}
.lights-board .cell {
  font-size: 30px;
}
.lit {
  background: var(--sun);
  color: #191919;
}
.unlit {
  background: #33352d;
  color: #b2b5a5;
}
.flood-board {
  gap: 2px;
  border: 2px solid var(--line);
  padding: 3px;
  border-radius: 8px;
  background: var(--line);
}
.flood-cell {
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  font-size: 11px;
}
.palette {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.swatch {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-content: center;
  border: 2px solid #191919;
  border-radius: 10px;
  font-size: 23px;
  flex-shrink: 0;
}
.swatch[aria-pressed="true"] {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.code-rows {
  list-style: none;
  width: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
}
.code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--sub);
  border-radius: 10px;
  padding: 10px;
}
.code-chips,
.code-current {
  display: flex;
  gap: 8px;
}
.feedback {
  font-size: 12px;
  max-width: 110px;
}
.connect-board {
  background: #4679c6;
  padding: 10px;
  border: 2px solid var(--line);
  border-radius: 14px;
  gap: 8px;
  max-width: 440px;
}
.disc {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid #19191933;
}
.disc.empty {
  background: var(--paper);
}
.connect-controls {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  width: 100%;
  max-width: 440px;
  gap: 8px;
  padding: 0 12px;
}
.column-button {
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--sun);
  color: #191919;
  min-height: 40px;
  font-size: 20px;
}
.hunt-board .cell {
  background: var(--sun);
  color: #191919;
}
.hunt-board .cell.matched {
  background: var(--mint);
}
.math-cards {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.math-card {
  width: 68px;
  height: 92px;
  border: 2px solid var(--line);
  border-radius: 10px;
  box-shadow: 4px 4px 0 var(--line);
  background: var(--sun);
  color: #191919;
  font:
    900 30px ui-monospace,
    monospace;
}
.expression {
  width: 100%;
  max-width: 450px;
  min-height: 65px;
  border: 2px dashed var(--sub);
  border-radius: 12px;
  display: grid;
  place-content: center;
  font:
    700 22px/1.5 ui-monospace,
    monospace;
  padding: 12px;
  overflow-wrap: anywhere;
  text-align: center;
}
.math-keys {
  display: grid;
  grid-template-columns: repeat(6, 44px);
  gap: 8px;
}
.chain-board {
  gap: 8px;
}
.chain-board .cell {
  box-shadow: 2px 2px 0 var(--line);
}
.snake-board,
.maze-board {
  gap: 1px;
  background: #24231f;
  border: 3px solid #24231f;
  border-radius: 10px;
  overflow: hidden;
  max-width: 420px;
  touch-action: none;
}
.snake-cell,
.maze-cell {
  aspect-ratio: 1;
  background: var(--surface);
  display: grid;
  place-content: center;
  font-size: 14px;
}
.snake-cell.body {
  background: #83dcbb;
}
.snake-cell.head {
  background: #249365;
  border-radius: 3px;
}
.snake-cell.food {
  background: #ff7055;
  border-radius: 50%;
}
.maze-cell.wall {
  background: #24231f;
}
.maze-cell.player {
  background: #ff7055;
  color: #191919;
}
.maze-cell.exit {
  background: #ffd05b;
  color: #191919;
}
.sliding-board {
  gap: 10px;
}
.sliding-board .cell {
  background: var(--sun);
  color: #191919;
  box-shadow: 3px 3px 0 var(--line);
}
.sliding-board .cell.matched {
  background: var(--mint);
}
.sliding-board .cell.empty {
  background: var(--paper);
  box-shadow: none;
}
.peg-board {
  gap: 7px;
  max-width: 380px;
}
.peg-hole {
  aspect-ratio: 1;
  min-width: 0;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  padding: 0;
  font-size: 30px;
  color: #cd4a2f;
  display: grid;
  place-content: center;
}
.peg-hole.occupied {
  background: var(--coral);
  color: #191919;
}
.peg-hole.legal {
  background: var(--mint);
  border-style: dashed;
}
.line-stage {
  width: min(100%, 400px);
  aspect-ratio: 1;
  position: relative;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 14px;
}
.line-stage svg,
.line-dots {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.line-stage line {
  stroke: var(--ink);
  stroke-width: 1.8;
}
.line-stage line.used {
  stroke: #359d74;
  stroke-width: 2.5;
}
.line-dot {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--sun);
  color: #191919;
  font-weight: 900;
}
.line-dot.selected {
  background: var(--coral);
  box-shadow: 0 0 0 4px #ff705540;
}
.tangram-stage {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 5/5.6;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  overflow: hidden;
}
.tangram-stage svg {
  width: 100%;
  height: 100%;
  touch-action: none;
}
.tangram-stage [data-piece] {
  cursor: grab;
}
.tangram-stage text {
  pointer-events: none;
}
.piece-picker {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.piece-button {
  width: 38px;
  height: 38px;
  border: 2px solid #191919;
  color: #191919;
  border-radius: 10px;
  font-weight: 900;
}
.result-dialog {
  border: 2px solid var(--line);
  border-radius: 22px;
  padding: 34px;
  width: min(440px, calc(100% - 40px));
  background: var(--surface);
  color: var(--ink);
  box-shadow: 8px 8px 0 var(--line);
  text-align: center;
  z-index: var(--dialog-layer);
}
.result-dialog::backdrop {
  background: #19191999;
}
.result-dialog h2 {
  font-size: 33px;
  margin: 18px 0;
}
.result-dialog p {
  color: var(--sub);
  font-size: 15px;
}
.result-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-content: center;
  border: 2px solid #191919;
  background: var(--sun);
  color: #191919;
  border-radius: 18px;
  font-size: 32px;
  margin: auto;
  transform: rotate(-8deg);
}
.result-dialog.lost .result-icon {
  background: var(--sky);
}
.result-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.records-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 2px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 32px;
}
.records-summary div {
  padding: 24px;
  border-right: 2px solid var(--line);
}
.records-summary div:last-child {
  border: 0;
}
.records-summary strong {
  font:
    900 34px ui-monospace,
    monospace;
  display: block;
}
.records-summary span {
  color: var(--sub);
  font-size: 13px;
}
.records-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.record-row {
  border: 2px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.record-row h3 {
  font-size: 20px;
  margin-bottom: 5px;
}
.record-row p {
  font-size: 12px;
  color: var(--sub);
}
.record-row strong {
  font:
    800 20px ui-monospace,
    monospace;
  text-align: right;
}
.prose {
  max-width: 760px;
  margin: 40px auto 70px;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 20px;
  padding: 40px;
}
.prose h1 {
  font-size: 43px;
  margin-bottom: 24px;
}
.prose h2 {
  font-size: 25px;
  margin: 30px 0 15px;
}
.prose p,
.prose li {
  margin: 14px 0;
  color: var(--sub);
}
.footer {
  border-top: 2px solid var(--line);
  margin-top: 64px;
  padding: 35px 0;
}
.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 700;
}
.footer-links a {
  text-decoration: none;
}
.footer-links a:hover {
  text-decoration: underline;
}
.footer-note {
  margin-top: 24px;
  color: var(--sub);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  border-radius: 12px;
  z-index: 40;
  font-size: 14px;
  max-width: 90%;
  box-shadow: var(--shadow);
}
[hidden] {
  display: none !important;
}
@media (min-width: 1200px) {
  .nav-inner {
    height: 76px;
  }
}
@media (max-width: 1000px) {
  .hero {
    gap: 35px;
    padding-top: 50px;
    padding-bottom: 55px;
  }
  .hero h1 {
    font-size: 58px;
  }
  .hero-toy {
    padding: 20px 10px;
  }
  .play-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
  .game-shell {
    padding: 18px;
  }
  .game-actions {
    width: 100%;
  }
  .game-art {
    height: 145px;
  }
  .card-body {
    padding: 18px;
  }
  .card-body h3 {
    font-size: 22px;
  }
}
@media (max-width: 800px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .nav-inner {
    gap: 12px;
    height: 76px;
  }
  .brand {
    font-size: 22px;
  }
  .nav-links a {
    padding: 8px 10px;
    font-size: 12px;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .hero h1 {
    font-size: 46px;
  }
  .hero p {
    font-size: 16px;
    margin: 18px 0 24px;
  }
  .hero-actions {
    gap: 10px;
  }
  .hero-actions .button {
    padding: 10px 14px;
    font-size: 14px;
  }
  .toy-card {
    padding: 17px;
  }
  .toy-sticker {
    width: 62px;
    height: 62px;
    font-size: 13px;
  }
  .toy-head {
    font-size: 14px;
  }
  .toy-label {
    display: none;
  }
  .toy-board {
    gap: 7px;
  }
  .toy-foot {
    font-size: 11px;
  }
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .daily-banner {
    grid-template-columns: 1fr 190px;
    padding: 30px;
    gap: 24px;
  }
  .daily-banner h2 {
    font-size: 34px;
  }
  .daily-visual .art-grid {
    width: 155px;
  }
  .play-layout {
    grid-template-columns: 1fr;
  }
  .rules {
    max-width: none;
  }
  .game-actions {
    width: auto;
  }
  .play-heading h1 {
    font-size: 38px;
  }
  .trust-strip {
    gap: 20px;
  }
  .trust-strip span + span:before {
    margin-right: 20px;
  }
  .footer-main {
    align-items: start;
    flex-direction: column;
  }
}
@media (max-width: 580px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .nav-inner {
    height: auto;
    min-height: 70px;
    flex-wrap: wrap;
    padding: 13px 0;
    gap: 12px;
  }
  .brand {
    font-size: 22px;
  }
  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    margin: 0;
  }
  .nav-links a {
    padding: 6px 12px;
    font-size: 13px;
  }
  .theme-toggle {
    margin-left: auto;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 36px 0 44px;
    gap: 30px;
  }
  .hero h1 {
    font-size: 56px;
  }
  .hero p {
    max-width: 340px;
  }
  .eyebrow {
    margin-bottom: 18px;
    font-size: 11px;
  }
  .hero-actions .button {
    font-size: 15px;
    padding: 12px 18px;
  }
  .hero-toy {
    width: 86%;
    max-width: 350px;
    margin: 0 auto;
    padding: 20px 10px;
  }
  .toy-card {
    padding: 22px;
  }
  .toy-head {
    font-size: 16px;
  }
  .toy-light {
    font-size: 30px;
  }
  .toy-foot {
    font-size: 12px;
  }
  .toy-sticker {
    left: -8px;
    top: -2px;
  }
  .toy-spark {
    font-size: 60px;
  }
  .trust-strip {
    font-size: 10px;
    gap: 12px;
    padding: 13px 5px;
  }
  .trust-strip span + span:before {
    margin-right: 12px;
  }
  .section {
    padding: 35px 0;
  }
  .section-head {
    gap: 14px;
    margin-bottom: 22px;
  }
  .section-head h2 {
    font-size: 30px;
  }
  .section-head p {
    font-size: 13px;
  }
  .text-link {
    font-size: 12px;
  }
  .game-grid {
    gap: 14px;
  }
  .game-art {
    height: 116px;
  }
  .art-grid {
    width: 112px;
    gap: 3px;
    padding: 5px;
  }
  .art-grid span {
    height: 22px;
    font-size: 10px;
  }
  .art-grid.three {
    width: 102px;
  }
  .art-grid.three span {
    height: 25px;
  }
  .game-art .big-symbol {
    font-size: 56px;
  }
  .game-card {
    border-radius: 14px;
    box-shadow: 3px 3px 0 var(--line);
  }
  .card-body {
    padding: 15px 12px;
  }
  .card-body h3 {
    font-size: 20px;
    letter-spacing: -0.04em;
    min-height: 44px;
  }
  .card-body p {
    font-size: 12px;
    min-height: 54px;
  }
  .card-bottom {
    gap: 8px;
    margin-top: 16px;
  }
  .category-label {
    font-size: 9px;
    padding: 2px 7px;
  }
  .play-label {
    font-size: 12px;
  }
  .favorite {
    width: 32px;
    height: 32px;
    font-size: 20px;
    top: 8px;
    right: 8px;
  }
  .daily-banner {
    grid-template-columns: 1fr;
    padding: 25px;
    gap: 0;
  }
  .daily-banner h2 {
    font-size: 34px;
  }
  .daily-banner p {
    font-size: 14px;
  }
  .daily-visual {
    display: none;
  }
  .page-heading {
    padding-top: 34px;
  }
  .page-heading h1 {
    font-size: 42px;
  }
  .page-heading p {
    font-size: 15px;
  }
  .filter-row {
    gap: 7px;
  }
  .filter {
    font-size: 12px;
    padding: 7px 12px;
  }
  .sort-box {
    flex: 1;
  }
  .sort-box select {
    width: 100%;
  }
  .play-heading h1 {
    font-size: 35px;
  }
  .play-heading p {
    font-size: 14px;
  }
  .game-shell {
    padding: 15px 12px;
    border-radius: 16px;
    box-shadow: 4px 4px 0 var(--line);
  }
  .game-toolbar {
    margin-bottom: 20px;
    gap: 13px;
  }
  .game-stats {
    gap: 16px;
  }
  .game-stat > strong {
    font-size: 17px;
  }
  .game-stat > span {
    font-size: 10px;
  }
  .game-actions {
    gap: 8px;
  }
  .game-actions .button {
    padding: 7px 11px;
  }
  .game-workspace {
    gap: 16px;
  }
  .number-pad {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
  }
  .sudoku-board .cell {
    font-size: 19px;
  }
  .sudoku-board .notes {
    font-size: 8px;
  }
  .cell {
    font-size: 20px;
  }
  .mines-board {
    gap: 2px;
  }
  .mines-board .cell {
    font-size: 17px;
  }
  .tiles-board {
    padding: 8px;
    gap: 7px;
  }
  .tile {
    border-radius: 8px;
  }
  .math-cards {
    gap: 8px;
  }
  .math-card {
    width: 57px;
    height: 78px;
    font-size: 27px;
  }
  .math-keys {
    grid-template-columns: repeat(6, 36px);
    gap: 6px;
  }
  .nonogram-board {
    grid-template-columns: 52px repeat(var(--nonogram-size, 5), minmax(0, 1fr));
  }
  .clue {
    font-size: 11px;
  }
  .code-row {
    padding: 8px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .code-row .swatch {
    width: 33px;
    height: 33px;
    font-size: 19px;
  }
  .code-row .feedback {
    max-width: none;
    font-size: 11px;
  }
  .connect-board {
    gap: 5px;
    padding: 8px;
  }
  .connect-controls {
    gap: 5px;
    padding: 0 10px;
  }
  .column-button {
    min-height: 35px;
  }
  .line-dot {
    width: 36px;
    height: 36px;
  }
  .palette {
    gap: 7px;
  }
  .swatch {
    width: 39px;
    height: 39px;
    font-size: 21px;
  }
  .peg-board {
    gap: 5px;
  }
  .peg-hole {
    font-size: 24px;
  }
  .records-summary div {
    padding: 14px 10px;
  }
  .records-summary strong {
    font-size: 26px;
  }
  .records-summary span {
    font-size: 11px;
  }
  .record-row {
    padding: 15px;
    gap: 10px;
  }
  .record-row h3 {
    font-size: 18px;
  }
  .record-row strong {
    font-size: 16px;
  }
  .prose {
    margin: 30px 0;
    padding: 24px;
  }
  .prose h1 {
    font-size: 34px;
  }
  .footer {
    margin-top: 40px;
  }
  .footer-links {
    gap: 15px;
    font-size: 12px;
  }
  .footer-note {
    flex-direction: column;
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.toy-sticker {
  left: -16px;
  top: -22px;
}
@media (max-width: 580px) {
  .toy-sticker {
    left: -12px;
    top: -10px;
  }
}

.difficulty-panel {
  display: grid;
  grid-template-columns: 135px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 16px;
  margin: 0 0 24px;
  border: 1.5px solid var(--sub);
  border-radius: 12px;
  background: var(--paper);
}
.difficulty-panel label {
  display: grid;
  gap: 5px;
  font-size: 12px;
  font-weight: 800;
}
.difficulty-panel select {
  width: 100%;
  min-height: 44px;
  padding: 7px 9px;
}
.difficulty-panel p {
  font-size: 13px;
  line-height: 1.5;
}
.difficulty-panel .difficulty-note {
  font-size: 11px;
  color: var(--sub);
  margin-top: 5px;
}
.nonogram-board .column-clue {
  white-space: pre-line;
  text-align: center;
}
.nonogram-board .clue {
  min-height: 28px;
  font-size: 11px;
}
.code-row {
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  .difficulty-panel {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }
  .difficulty-panel label {
    grid-template-columns: 80px minmax(0, 1fr);
    align-items: center;
  }
  .nonogram-board .clue {
    font-size: 10px;
  }
}
