/* A bright, playful skin; the game itself keeps its original colors. */
:root {
  background: #fffaf4;
  --blue: #6850d9;
  --line: #e9e2f2;
  --muted: #7f7894;
  color: #32304e;
}
body {
  background:
    radial-gradient(ellipse at 0 16%, #fff0d7 0, transparent 36%),
    radial-gradient(ellipse at 100% 24%, #e6f7f0 0, transparent 36%), #fffaf4;
}
.header {
  border-top: 4px solid transparent;
  border-image: linear-gradient(
      90deg,
      #f15d85,
      #ffbd4b,
      #a6d561,
      #45cbb1,
      #5b9ef4,
      #aa7ee7
    )
    1;
  background: #ffffffeb;
}
.header-inner {
  gap: 24px;
}
.brand {
  white-space: nowrap;
  letter-spacing: -1.8px;
  font-weight: 900;
}
.brand .logo-letters {
  display: inline-flex;
  gap: 0;
  font-size: inherit;
  vertical-align: baseline;
  margin: 0;
}
.brand .logo-letters span {
  color: var(--letter);
  font-size: inherit;
  margin: 0;
  vertical-align: baseline;
  display: inline-block;
  text-shadow: 0 2px 0 #00000009;
}
.logo-letters span:nth-child(3n) {
  transform: rotate(-5deg);
}
.logo-letters span:nth-child(3n + 1) {
  transform: rotate(4deg);
}
.header nav a {
  padding: 12px 13px;
}
.header nav a.active {
  color: #6a45ba;
  background: #f0e8ff;
}
.header nav a:nth-child(2):hover {
  background: #fff0d2;
  color: #97600a;
}
.header nav a:nth-child(3):hover {
  background: #e6f7ed;
  color: #287753;
}
.header nav a:nth-child(4):hover {
  background: #ffe9f0;
  color: #a83b69;
}
.nav-icon {
  font-size: 18px;
  vertical-align: middle;
  margin-right: 3px;
}
.header-note {
  color: #9b7189;
  font-size: 11px;
}
.language {
  display: block !important;
  position: relative;
  padding: 0;
  border: 1px solid #e5d9f4;
  background: #fff;
  border-radius: 13px;
  margin-left: auto;
  flex-shrink: 0;
  font-size: 12px;
}
.language summary {
  cursor: pointer;
  padding: 12px;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 7px;
}
.language summary::-webkit-details-marker {
  display: none;
}
.language summary > span:first-child {
  font-size: 18px;
}
.chevron {
  color: #9160c9;
}
.language nav {
  display: flex;
  flex-direction: column;
  position: absolute;
  right: 0;
  top: calc(100% + 9px);
  min-width: 155px;
  padding: 7px !important;
  background: #fff;
  border: 1px solid #e8def4;
  box-shadow: 0 12px 36px #52397f21;
  border-radius: 14px;
  z-index: 50;
  gap: 3px !important;
}
.language:not([open]) nav {
  display: none;
}
.language nav a {
  width: 100%;
  font-size: 13px !important;
}
.language nav a[aria-current] {
  background: #f0e8ff;
  color: #7544c2;
}
.breadcrumb a {
  color: #9560bb;
}
.rail-heading > span {
  display: flex;
  gap: 8px;
  align-items: center;
}
.left-rail .rail-heading > span:before {
  content: "💡";
  font-size: 18px;
}
.right-rail .rail-heading > span:before {
  content: "🌟";
  font-size: 18px;
}
.guide-art {
  background: linear-gradient(135deg, #50428a, #234b72);
}
.guide-card {
  border-color: #e5d9f0;
  box-shadow: 0 4px 0 #e9dff033;
}
.compact-guide {
  background: #fff7ed;
  border-color: #f3dfc2;
}
.guide-icon {
  background: #ffe7b7;
  color: #e49613;
}
.side-note {
  border-color: #ffc668;
}
.side-note > span {
  color: #b27623;
}
.collection-link {
  background: linear-gradient(115deg, #f1e6ff, #ffe9ef);
}
.collection-link b {
  color: #9b4d96;
}
.collection-link span {
  color: #a2709e;
}
.game-shell {
  box-shadow: 0 14px 45px #8a618b25;
  border: 2px solid #d6c8ef;
}
.game-toolbar {
  background: linear-gradient(100deg, #49356c, #253c65);
}
.game-toolbar h1 {
  color: #fff1b6;
}
.game-tag {
  color: #f4d3fb;
  background: #b479d933;
}
.game-actions button:first-child {
  background: #7551af;
  border-color: #a481ce;
}
.game-actions button:last-child {
  background: #327a91;
  border-color: #61a9b9;
}
.game-footer {
  background: #342c52;
  color: #dbd2ed;
}
.game-footer i {
  background: #8cde9d;
}
.ad-mount {
  background: linear-gradient(135deg, #fff9f0, #f8f1fc);
  border-color: #dfd0e9;
}
.ad-label {
  color: #8b7b9e;
}
.ad-placeholder {
  color: #9a8ba7;
}
.ad-placeholder small {
  color: #a999b4;
}
.related-card {
  box-shadow: 0 4px 0 #e8def333;
}
.related-card:nth-child(1) {
  border-color: #eed6a7;
}
.related-card:nth-child(2) {
  border-color: #c7e8ce;
}
.related-card:nth-child(3) {
  border-color: #d5c9f2;
}
.related-card:nth-child(4) {
  border-color: #c4e4f4;
}
.game-caption > span {
  color: #8b7b9e;
}
.eyebrow {
  color: #b6649b;
}
.section-heading h2 {
  color: #584176;
}
.pill {
  background: #f1e9ff;
  color: #8a59b3;
  border-color: #e5d4f6;
}
.steps article:nth-child(1) {
  background: #fff8e9;
  border-color: #f1dfb5;
}
.steps article:nth-child(2) {
  background: #f1edff;
  border-color: #ddd3f5;
}
.steps article:nth-child(3) {
  background: #edfaf4;
  border-color: #ccebdc;
}
.steps article:nth-child(1) .step-number {
  background: #ffe6ac;
  color: #9e660e;
}
.steps article:nth-child(2) .step-number {
  background: #e1d5ff;
  color: #7451b4;
}
.steps article:nth-child(3) .step-number {
  background: #c8efdc;
  color: #297b58;
}
.tips-section {
  background: linear-gradient(110deg, #fff0d6, #f5e8ff);
  border-color: #edd5e9;
}
.tip-symbol {
  color: #f1a62d;
}
.tips-section a {
  color: #9b50a7;
}
.about-section h2 {
  color: #a75e9a;
}
.site-footer {
  background: #fffdf9;
  border-color: #ede1e8;
}
.focus-mode .game-shell {
  box-shadow: 0 0 0 100vmax #fffaf4;
}
@media (max-width: 1150px) {
  .header-inner {
    gap: 14px;
  }
  .header nav a {
    padding: 10px 9px;
  }
  .nav-icon {
    font-size: 16px;
    margin-right: 0;
  }
}
@media (max-width: 800px) {
  .header-inner {
    height: auto;
    min-height: 90px;
    flex-wrap: wrap;
    padding: 15px 20px;
    gap: 14px;
  }
  .header-inner > nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 8px;
  }
  .header-inner > nav a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 10px;
    font-size: 12px;
  }
  .header-note {
    display: none;
  }
  .language {
    margin-left: auto;
  }
  .brand {
    font-size: 32px;
  }
  .header-inner > nav a:last-child {
    display: flex;
  }
  .header nav a {
    white-space: normal;
  }
  .game-tag {
    display: none;
  }
}
@media (max-width: 440px) {
  .header-inner {
    padding: 12px 14px;
  }
  .header-inner > nav {
    gap: 2px;
  }
  .header-inner > nav a {
    font-size: 11px;
    padding: 9px 6px;
  }
  .nav-icon {
    font-size: 15px;
  }
  .game-toolbar {
    padding: 12px 10px;
    gap: 5px;
  }
  .game-toolbar h1 {
    font-size: 17px;
  }
  .game-actions button {
    font-size: 11px;
    padding: 8px;
  }
  .language summary {
    padding: 9px;
  }
  .game-footer {
    font-size: 9px;
  }
}

.language nav a {
  display: block !important;
}

.header-inner>nav a{white-space:nowrap}.header-inner>nav .nav-icon{flex-shrink:0}


.game-toolbar h1{font-size:16px;max-width:180px}.game-tag{display:none}
#pause-button{color:inherit;background:transparent;border:0;cursor:pointer;font:inherit;min-height:44px;padding:0 8px}
#pause-button:focus-visible{outline:2px solid #ffe26a;outline-offset:2px}

