/* Presentation skin only. The pixel-art scene and game mechanics stay unchanged. */
html, body { background: #121214; }
.wrap { width: 100%; max-width: 1000px; padding: 24px; }
.top-controls { margin-bottom: 20px; }
.rit-toggle-wrap { gap: 10px; }
.rit-toggle-label { color: #9797a2; font-size: 11px; font-weight: 500; letter-spacing: .035em; text-transform: none; }
.rit-toggle {
  gap: 4px; padding: 5px; border-radius: 19px; border-color: #ffffff20;
  background: linear-gradient(125deg, #ffffff09, #ffffff02), #1b1b1e;
  box-shadow: inset 0 1px 0 #ffffff10;
}
.rit-toggle button {
  min-height: 50px; border: 1px solid transparent; border-radius: 13px;
  background: transparent; color: #a3a3ae; font-weight: 500; font-size: 13px;
}
.rit-toggle button + button { border-left: 1px solid transparent; }
.rit-toggle button.active {
  background: linear-gradient(125deg, #ffb58516, #ffffff07);
  border-color: #ffbb8e30; color: #ffcbab;
  box-shadow: inset 0 1px 0 #ffffff13;
}
.game { border-radius: 18px; border-color: #ffffff17; }
/* The simulation has no swipe controls; let the page scroll over the canvas. */
canvas { touch-action: pan-y; cursor: default; }
.game-progress { border-radius: 14px; color: #b0b0ba; }
.game-progress strong { color: #ffb17b; }
.game-progress-track, .game-progress-fill { border-radius: 99px; }
.game-progress-fill { background: #ffab78; }
.game-start {
  border-radius: 999px; border-color: #ffffff40;
  background: linear-gradient(125deg, #ffffff14, #ffffff05), #222225dd;
  box-shadow: inset 0 1px 0 #ffffff20, 0 8px 26px #0005;
  padding-inline: 22px; min-height: 50px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.game-start svg { color: #ffbb8e; }
.dialog { border-radius: 24px; background: #202023f7; border-color: #ffffff26; box-shadow: inset 0 1px 0 #ffffff18, 0 18px 60px #0005; }
.dialog .eyebrow { color: #ffb585; font-weight: 500; letter-spacing: .04em; }
.dialog h2 { letter-spacing: -.04em; line-height: 1.12; }
.dialog p { color: #aaaab4; }
.dialog button { min-height: 46px; border-radius: 999px; border-color: #ffbe9560; background: #ffab78; color: #21150d; font-weight: 600; }
.rit-toggle button:focus-visible, .game-start:focus-visible, .dialog button:focus-visible { outline: 2px solid #ffe0c8; outline-offset: -4px; }
@media (hover: hover) and (pointer: fine) {
  .rit-toggle button:not(.active):hover { color: #fff; background: #ffffff09; box-shadow: none; }
  .game-start:hover { background: linear-gradient(125deg, #ffffff1d, #ffffff09), #29292ddd; border-color: #ffbb8e70; }
  .dialog button:hover { background: #ffc096; transform: none; box-shadow: inset 0 1px 0 #ffe4d666, 0 4px 16px #ff985c16; }
}
@media (max-width: 560px) {
  .wrap { width: 100%; padding: 18px 12px 12px; }
  .rit-toggle { box-sizing: border-box; }
  .rit-toggle button { padding-inline: 8px; font-size: 12px; min-height: 50px; }
  .game { border-radius: 16px; }
  .game-start { padding-inline: 18px; font-size: 14px; }
  .game-progress { grid-template-columns: auto auto minmax(40px,1fr); gap: 8px; font-size: 9px; }
  .dialog { border-radius: 20px; }
}
@media (prefers-reduced-transparency: reduce) {
  .game-start { background: #242427; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .overlay { background: #121214f5; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
