/* KurtCraft – Oberfläche */
:root {
  --bg: #141b26;
  --panel: rgba(22, 30, 44, 0.94);
  --panel-2: #222d40;
  --line: #3b4a63;
  --text: #f1f4fa;
  --muted: #b5c0d3;
  --accent: #6fd36a;
  --accent-ink: #0d260c;
  --warn: #ffc857;
  --bad: #ff6b6b;
  --focus: #ffe066;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pixel: "Courier New", ui-monospace, monospace;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}
[hidden] { display: none !important; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

#stage, #stage canvas { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }

.craft-home {
  position: fixed; top: 12px; left: 12px; z-index: 60;
  color: var(--text); background: rgba(16, 22, 32, 0.85);
  border: 2px solid var(--line); border-radius: 8px;
  padding: 8px 12px; min-height: 40px; display: inline-flex; align-items: center;
  font-size: 13px; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: 0.04em;
}
.craft-home { transition: transform 0.12s, border-color 0.15s; touch-action: manipulation; }
.craft-home:active { transform: scale(0.96); }
@media (hover: hover) { .craft-home:hover { border-color: var(--accent); } }
body[data-screen="game"] .craft-home, body[data-screen="inventory"] .craft-home { display: none; }

/* Overlays */
#underwater { position: fixed; inset: 0; pointer-events: none; background: rgba(20, 70, 150, 0.32); opacity: 0; transition: opacity 0.2s; z-index: 2; }
#underwater.on { opacity: 1; }
#vignette {
  position: fixed; inset: 0; pointer-events: none; opacity: 0; z-index: 3;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(190, 0, 0, 0.75) 100%);
}

/* HUD */
#hud { position: fixed; inset: 0; pointer-events: none; z-index: 10; }
#hud button { pointer-events: auto; }
#crosshair { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; transform: translate(-50%, -50%); }
#crosshair::before, #crosshair::after {
  content: ""; position: absolute; background: #fff; mix-blend-mode: difference;
}
#crosshair::before { left: 10px; top: 0; width: 2px; height: 22px; }
#crosshair::after { top: 10px; left: 0; width: 22px; height: 2px; }
#crosshair.on-mob::before, #crosshair.on-mob::after { background: #ff5050; mix-blend-mode: normal; }

.hud-card {
  background: rgba(14, 20, 30, 0.72); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px; padding: 8px 12px; color: var(--text);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
#quest { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); left: calc(12px + env(safe-area-inset-left, 0px)); width: min(300px, 46vw); display: grid; gap: 3px; }
.quest-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); font-weight: 700; }
#quest-title { font-size: 15px; }
.quest-bar { height: 6px; background: rgba(255, 255, 255, 0.15); border-radius: 3px; overflow: hidden; }
#quest-fill { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.3s; }
.quest-progress { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
#quest-hint { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.35; }

.hud-top-right { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: calc(12px + env(safe-area-inset-right, 0px)); display: flex; gap: 8px; align-items: flex-start; }
#clock { display: flex; gap: 8px; align-items: center; }
#clock strong { display: block; font-size: 14px; }
#time-label { display: block; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
#day-label { font-variant-numeric: tabular-nums; }
#clock.warn #time-label { color: var(--warn); font-weight: 700; }
.clock-icon { width: 22px; height: 22px; border-radius: 50%; flex: none; }
.clock-icon.sun { background: #ffd84a; box-shadow: 0 0 10px #ffcf3a; }
.clock-icon.moon { background: #dfe6ff; box-shadow: inset -6px -2px 0 #8d9bc4; }
.badge {
  display: inline-block; background: rgba(14, 20, 30, 0.72); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 700; color: var(--text);
}
.icon-btn {
  min-width: 44px; min-height: 44px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(14, 20, 30, 0.8); color: var(--text); font-weight: 800; cursor: pointer;
}
.icon-btn { transition: transform 0.12s, border-color 0.15s; touch-action: manipulation; }
.icon-btn:active { transform: scale(0.96); }
@media (hover: hover) { .icon-btn:hover { border-color: var(--accent); } }

#toasts { position: fixed; z-index: 80; pointer-events: none; top: 120px; left: 50%; transform: translateX(-50%); display: grid; gap: 6px; justify-items: center; width: min(92vw, 520px); }
.toast {
  background: rgba(14, 20, 30, 0.88); border-left: 4px solid var(--muted); border-radius: 8px;
  padding: 8px 14px; font-size: 14px; font-weight: 600; animation: toast-in 0.2s ease-out; transition: opacity 0.4s, transform 0.4s;
}
.toast.good { border-color: var(--accent); }
.toast.bad { border-color: var(--bad); }
.toast.out { opacity: 0; transform: translateY(-6px); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

#pickups { position: absolute; right: 12px; bottom: 120px; display: grid; gap: 4px; justify-items: end; }
.pickup { display: flex; align-items: center; gap: 6px; background: rgba(14, 20, 30, 0.75); border-radius: 6px; padding: 3px 8px 3px 4px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; transition: opacity 0.4s; }
.pickup img { width: 22px; height: 22px; image-rendering: pixelated; }
.pickup.out { opacity: 0; }

#saved { position: absolute; right: 14px; top: 70px; font-size: 12px; color: var(--muted); opacity: 0; transition: opacity 0.3s; }
#saved.show { opacity: 1; }

.hud-bottom {
  position: absolute; left: 50%; bottom: calc(10px + var(--safe-b)); transform: translateX(-50%);
  display: grid; justify-items: center; gap: 6px;
}
#item-name {
  min-height: 22px; font-size: 14px; font-weight: 700; text-shadow: 0 1px 3px #000; opacity: 0; transition: opacity 0.3s; text-align: center;
}
#item-name.show { opacity: 1; }
.status-row { display: flex; gap: 14px; align-items: center; justify-content: space-between; width: 100%; padding: 0 4px; }
#hearts { display: flex; gap: 2px; }
#hearts.low { animation: pulse 0.8s infinite; }
@keyframes pulse { 50% { transform: scale(1.06); } }
.heart { width: 18px; height: 16px; position: relative; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.7)); }
.heart::before {
  content: ""; position: absolute; inset: 0;
  clip-path: polygon(50% 100%, 0 45%, 0 15%, 15% 0, 35% 0, 50% 15%, 65% 0, 85% 0, 100% 15%, 100% 45%);
  background: #3a1d22;
}
.heart.full::before { background: #ee3344; }
.heart.half::before { background: linear-gradient(90deg, #ee3344 50%, #3a1d22 50%); }
#tools { display: flex; gap: 4px; }
#tools img { width: 24px; height: 24px; image-rendering: pixelated; background: rgba(14, 20, 30, 0.7); border-radius: 4px; padding: 2px; }

#hotbar { display: flex; gap: 4px; background: rgba(10, 14, 22, 0.7); padding: 4px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.12); }
.slot {
  position: relative; width: 50px; height: 50px; padding: 0;
  background: rgba(60, 72, 92, 0.6); border: 2px solid rgba(255, 255, 255, 0.14); border-radius: 7px; cursor: pointer;
  display: grid; place-items: center; touch-action: manipulation;
  transition: transform 0.12s, border-color 0.15s, background 0.15s;
}
.slot:active { transform: scale(0.96); }
.slot img { width: 34px; height: 34px; image-rendering: pixelated; pointer-events: none; }
.slot.active { border-color: #fff; background: rgba(110, 125, 150, 0.75); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3); }
.slot-key { position: absolute; top: 1px; left: 4px; font-size: 10px; color: var(--muted); }
.slot-count { position: absolute; bottom: 1px; right: 4px; font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; text-shadow: 1px 1px 0 #000, -1px -1px 0 #000; }

/* Bildschirme */
.screen {
  position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 16px;
  background: rgba(8, 12, 20, 0.55); overflow-y: auto;
  padding-left: calc(16px + env(safe-area-inset-left, 0px)); padding-right: calc(16px + env(safe-area-inset-right, 0px));
}
.screen:not([hidden]) { animation: screen-in 0.22s cubic-bezier(0.22, 1, 0.36, 1); }
.screen:not([hidden]) .panel { animation: panel-in 0.28s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes screen-in { from { opacity: 0; } }
@keyframes panel-in { from { opacity: 0; transform: scale(0.96); } }
#menu { background: linear-gradient(180deg, rgba(8, 12, 20, 0.15), rgba(8, 12, 20, 0.6)); }
#loading { background: var(--bg); }
.death-screen { background: rgba(80, 0, 0, 0.55); }
.win-screen { background: rgba(10, 60, 70, 0.5); }
.panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px; width: min(640px, 100%); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  user-select: text; -webkit-user-select: text;
}
.panel.small { width: min(420px, 100%); text-align: center; }
.panel h2 { margin: 0 0 10px; font-size: 24px; }
.panel h3 { margin: 14px 0 6px; font-size: 15px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.lead { font-size: 16px; }
.hint { color: var(--muted); font-size: 14px; }
.small-print { font-size: 12px; margin-bottom: 0; }
.row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.col { display: grid; gap: 10px; margin-top: 12px; }
.btn {
  min-height: 46px; padding: 10px 18px; border-radius: 10px; border: 2px solid var(--line);
  background: var(--panel-2); color: var(--text); font-weight: 700; cursor: pointer; touch-action: manipulation;
  transition: transform 0.12s, border-color 0.15s, background 0.15s, filter 0.15s;
}
.btn:active { transform: scale(0.96); }
@media (hover: hover) { .btn:hover { border-color: #6a7d9e; } }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
@media (hover: hover) { .btn.primary:hover { filter: brightness(1.08); } }
.btn.danger { background: #c83a3a; border-color: #c83a3a; color: #fff; }
.btn.ghost { background: transparent; }

.menu-panel { width: min(720px, 100%); text-align: center; }
.logo { margin: 0; font-family: var(--pixel); font-size: clamp(38px, 8vw, 64px); letter-spacing: 0.02em; text-shadow: 4px 4px 0 #0b1018; }
.logo span { color: var(--accent); }
.tagline { color: var(--muted); margin: 6px auto 18px; max-width: 520px; }
.mode-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; text-align: left; }
.mode-card { background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 8px; align-content: start; }
.mode-card h2 { margin: 0; font-size: 20px; }
.mode-desc { margin: 0; color: var(--muted); font-size: 14px; }
.save-info { font-variant-numeric: tabular-nums; margin: 0; font-size: 13px; color: var(--warn); min-height: 1.2em; }
.records { color: var(--accent); font-weight: 700; min-height: 1.2em; margin: 14px 0 0; }

.spinner { width: 42px; height: 42px; margin: 0 auto 12px; border: 4px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.stats { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 6px; }
.stats li { display: flex; justify-content: space-between; background: var(--panel-2); border-radius: 8px; padding: 6px 12px; font-variant-numeric: tabular-nums; animation: stat-in 0.35s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
.stats li:nth-child(2) { animation-delay: 0.08s; }
.stats li:nth-child(3) { animation-delay: 0.16s; }
.stats li:nth-child(4) { animation-delay: 0.24s; }
.stats li:nth-child(5) { animation-delay: 0.32s; }
.stats li:nth-child(6) { animation-delay: 0.4s; }
@keyframes stat-in { from { opacity: 0; transform: translateY(8px); } }

/* Einstellungen */
.settings { display: grid; gap: 6px; }
.settings label { display: flex; justify-content: space-between; font-weight: 600; margin-top: 6px; }
.settings output { color: var(--accent); font-variant-numeric: tabular-nums; }
.settings input[type="range"] { width: 100%; min-height: 32px; accent-color: var(--accent); }
.settings select { min-height: 42px; border-radius: 8px; background: var(--panel-2); border: 2px solid var(--line); padding: 0 10px; }
.settings .check { justify-content: flex-start; gap: 10px; align-items: center; font-weight: 500; min-height: 36px; cursor: pointer; }
.settings .check input { width: 22px; height: 22px; accent-color: var(--accent); }

/* Hilfe */
.help-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.keys { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 0; font-size: 14px; }
.keys dt { font-weight: 700; color: var(--warn); }
.keys dd { margin: 0; }
.tips { margin: 0; padding-left: 18px; font-size: 14px; display: grid; gap: 4px; }

/* Inventar */
.inv-screen { background: rgba(8, 12, 20, 0.6); z-index: 30; padding-bottom: calc(110px + var(--safe-b)); }
.inv-panel { width: min(920px, 100%); max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); overflow-y: auto; }
.inv-head { display: flex; justify-content: space-between; align-items: center; }
.inv-head h2 { margin: 0; }
.inv-cols { display: grid; grid-template-columns: 1fr 1.25fr; gap: 18px; }
.inv-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.inv-grid .slot.material { opacity: 0.8; border-style: dashed; }
.inv-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.tool-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--panel-2); border-radius: 8px; padding: 4px 10px 4px 4px; font-size: 13px; }
.tool-chip img { width: 26px; height: 26px; image-rendering: pixelated; }
.empty { color: var(--muted); font-size: 14px; margin: 4px 0; }
.recipes { display: grid; gap: 6px; }
.recipe {
  display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; text-align: left;
  background: var(--panel-2); border: 2px solid var(--line); border-radius: 10px; padding: 6px 10px; cursor: pointer; min-height: 52px;
  transition: transform 0.12s, border-color 0.15s, background 0.15s;
}
.recipe:not(:disabled):active { transform: scale(0.98); }
.recipe img.out { width: 36px; height: 36px; image-rendering: pixelated; }
.recipe .r-main { display: grid; gap: 3px; }
.recipe .needs { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; }
.recipe .need { display: inline-flex; align-items: center; gap: 3px; }
.recipe .need img { width: 16px; height: 16px; image-rendering: pixelated; }
.recipe .need.miss { color: #ff9b9b; }
.recipe .need.have { color: #b6f0b2; }
.recipe .need small { color: var(--muted); }
.recipe .r-state { font-size: 12px; font-weight: 800; padding: 4px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); }
.recipe.ok { border-color: var(--accent); }
.recipe.ok .r-state { background: var(--accent); color: var(--accent-ink); }
@media (hover: hover) { .recipe.ok:hover { background: #2b3a52; } }
.recipe:disabled { cursor: default; }
.recipe.missing { opacity: 0.72; }
.recipe.owned { opacity: 0.55; }

/* Inventar über der Schnellleiste halten */
body[data-screen="inventory"] #hud .hud-bottom { z-index: 35; }
body[data-screen="inventory"] #hud { z-index: 35; pointer-events: none; }
body[data-screen="inventory"] #quest, body[data-screen="inventory"] .hud-top-right, body[data-screen="inventory"] #crosshair { visibility: hidden; }
body[data-screen="inventory"] #hotbar { pointer-events: auto; }

/* Touch */
#touch { position: fixed; inset: 0; pointer-events: none; z-index: 12; }
#joy {
  position: absolute; left: calc(24px + env(safe-area-inset-left, 0px)); bottom: calc(24px + var(--safe-b));
  width: 132px; height: 132px; border-radius: 50%; pointer-events: auto; touch-action: none;
  background: rgba(255, 255, 255, 0.1); border: 2px solid rgba(255, 255, 255, 0.28);
}
#joy-knob { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(255, 255, 255, 0.42); }
.touch-right {
  position: absolute; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(24px + var(--safe-b));
  display: grid; grid-template-columns: repeat(3, 64px); grid-template-rows: repeat(2, 64px); gap: 10px; pointer-events: none;
}
/* Feste Plätze: Flug | Inv | Bauen  /  – | Sinken | Springen – Ein-/Ausblenden verschiebt nichts */
.touch-right .t-btn { pointer-events: auto; }
#t-fly { grid-area: 1 / 1; }
#t-inv { grid-area: 1 / 2; }
#t-eat { grid-area: 1 / 3; }
#t-down { grid-area: 2 / 2; }
#t-jump { grid-area: 2 / 3; }
.t-btn {
  width: 64px; height: 64px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35);
  background: rgba(14, 20, 30, 0.55); color: #fff; font-size: 13px; font-weight: 800; touch-action: none;
  transition: transform 0.12s, background 0.15s;
}
.t-btn:active { transform: scale(0.94); }
.t-btn.down, .t-btn[aria-pressed="true"] { background: rgba(111, 211, 106, 0.55); }
.t-jump { font-size: 24px; }
.touch-tip {
  position: absolute; left: 50%; top: 92px; transform: translateX(-50%); margin: 0; font-size: 12px; color: var(--muted);
  background: rgba(14, 20, 30, 0.6); padding: 4px 10px; border-radius: 6px; white-space: nowrap; animation: fade-tip 1s 10s forwards;
  max-width: 92vw; text-align: center;
}
@keyframes fade-tip { to { opacity: 0; } }
body.touch .slot-key { display: none; }
/* Touch: Trefferfläche der Schnellleisten-Felder vergrößern, ohne sie optisch zu ändern */
body.touch .slot::after { content: ""; position: absolute; inset: -3px -1px; }
body.touch #pickups { bottom: 190px; }

.noscript { position: fixed; inset: 0; display: grid; place-items: center; }

@media (max-width: 760px) {
  .mode-cards, .help-cols, .inv-cols { grid-template-columns: 1fr; }
  .panel { padding: 16px; }
  .slot { width: 38px; height: 38px; }
  .slot img { width: 26px; height: 26px; }
  #hotbar { gap: 2px; padding: 3px; }
  .heart { width: 14px; height: 12px; }
  #quest { width: min(220px, 52vw); padding: 6px 9px; }
  #quest-hint { display: none; }
  #quest-title { font-size: 13px; }
  .hud-top-right #mode-badge { display: none; }
  #toasts { top: 100px; }
  .toast { font-size: 13px; }
}
@media (max-height: 500px) {
  #quest-hint { display: none; }
  .touch-right { grid-template-columns: repeat(3, 56px); grid-template-rows: repeat(2, 56px); }
  .t-btn { width: 56px; height: 56px; }
  #joy { width: 112px; height: 112px; }
  .inv-panel { max-height: calc(100vh - 100px); max-height: calc(100dvh - 100px); }
  .inv-screen { padding-bottom: 80px; }
  .screen { place-items: start center; }
}
/* Touch: Schnellleiste über die Steuerung legen */
body.touch .hud-bottom { bottom: calc(6px + var(--safe-b)); }
@media (max-width: 760px) {
  body.touch .hud-bottom { bottom: calc(168px + var(--safe-b)); }
  #menu, #settings, #help { padding-top: 64px; }
  .touch-tip { top: calc(50% + 34px); white-space: normal; width: max-content; }
  /* Im Inventar ist die Touch-Steuerung ausgeblendet: Schnellleiste nach unten, Herzen weg */
  body.touch[data-screen="inventory"] .hud-bottom { bottom: calc(6px + var(--safe-b)); }
  body.touch[data-screen="inventory"] #hearts { display: none; }
  body.touch[data-screen="inventory"] .inv-screen { padding-bottom: calc(70px + var(--safe-b)); }
  body.touch[data-screen="inventory"] .inv-panel { max-height: calc(100vh - 100px); max-height: calc(100dvh - 100px); }
}
@media (max-height: 500px) {
  body.touch .hud-bottom { bottom: calc(4px + var(--safe-b)); }
  body.touch #joy { bottom: calc(52px + var(--safe-b)); }
  body.touch .touch-right { bottom: calc(52px + var(--safe-b)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
/* Seitenweite Erfolgs-Meldungen dürfen Joystick und Knöpfe nicht blockieren */
body[data-screen="game"] .prog-toast { pointer-events: none; }
body[data-screen="inventory"] #pickups { visibility: hidden; }

.touch-tip.gone { display: none; }
/* Abgelehnte Aktion: Feld der Schnellleiste wackelt kurz */
.slot.shake { animation: slot-shake 0.32s; }
@keyframes slot-shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
/* Maus nicht gefangen: Spiel steht, ein Klick geht weiter */
.lock-prompt {
  position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; border: 0; padding: 0; cursor: pointer;
  background: rgba(8, 12, 20, 0.35); color: #fff; font: inherit;
}
.lock-prompt span { background: rgba(14, 20, 30, 0.85); border: 2px solid var(--accent); border-radius: 12px; padding: 14px 22px; font-size: 18px; font-weight: 800; }
.lock-prompt:focus-visible span { outline: 3px solid #ffe066; outline-offset: 3px; }
@media (max-width: 380px) {
  .touch-right { grid-template-columns: repeat(3, 56px); grid-template-rows: repeat(2, 56px); gap: 8px; }
  .t-btn { width: 56px; height: 56px; font-size: 12px; }
  #joy { width: 120px; height: 120px; }
  .slot { width: 35px; height: 35px; }
  .slot img { width: 24px; height: 24px; }
}
