* {
  box-sizing: border-box;
}
.atmosphere-bar{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;padding:10px 18px;border-top:1px solid #eedfd7;background:#fbf3ed;font-size:12px;color:#99746d}
.atmosphere-bar label{display:flex;align-items:center;gap:7px}
.atmosphere-bar select{font:inherit;color:#785952;background:#fffaf6;border:1px solid #e4cfc5;border-radius:7px;padding:6px 8px;cursor:pointer}
#atmosphere-status{margin-left:auto;color:#aa8b80;font-size:11px}
#activity-status{font-size:11px;color:#9b8271}
.speech-bubble[hidden]{display:none}
.speech-bubble{position:absolute;z-index:9;transform:translate(-50%,-100%);width:max-content;max-width:min(230px,calc(100% - 24px));border:1px solid #fff5e52e;border-radius:10px;padding:8px 12px;background:rgba(49,36,34,.36);backdrop-filter:blur(2px);color:#fff7ed;text-shadow:0 1px 3px #251713c0;font:13px/1.7 "Microsoft YaHei",sans-serif;box-shadow:0 3px 12px #2c221212;pointer-events:none;overflow-wrap:anywhere;white-space:pre-wrap;opacity:0;will-change:opacity}
@media(max-width:500px){.atmosphere-bar{gap:8px;padding:9px 10px}.atmosphere-bar select{max-width:145px}#atmosphere-status{width:100%;margin-left:0}}
body {
  margin: 0;
  background: #f8f2ee;
  color: #533d3c;
  font-family: "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
}
main {
  max-width: 1140px;
  margin: auto;
  padding: 38px 32px 25px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: .2em;
  color: #ba8e87;
  font-weight: bold;
  margin: 0 0 10px;
}
h1 {
  font-family: Georgia, "Microsoft YaHei", serif;
  font-size: 28px;
  margin: 0;
  letter-spacing: .04em;
}
h1 span {
  color: #d59caa;
  font-size: 21px;
}
.intro {
  font-size: 13px;
  color: #a38983;
  margin: 10px 0 0;
}
.badge {
  font-size: 12px;
  color: #ae827b;
  background: #fffaf7;
  border: 1px solid #eadbd5;
  padding: 10px 14px;
  border-radius: 30px;
}
.badge i {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #b6ba9b;
  border-radius: 100%;
  margin-right: 6px;
}
.game-card {
  background: #fffaf7;
  border: 1px solid #ebdad2;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 35px #80574b14;
}
.game-top, .game-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  font-size: 12px;
}
.game-top strong {
  font-size: 14px;
}
.game-top span, .hint {
  color: #ad918a;
}
.game-top button {
  border: 1px solid #ead9d1;
  background: #fffaf7;
  color: #98746e;
  border-radius: 7px;
  padding: 7px 11px;
  cursor: pointer;
  transition: all .15s ease;
}
.game-top button:hover {
  background: #f7ebe5;
}
.scene {
  position: relative;
  background: #664c47;
  line-height: 0;
}
#room-fade {
  position: absolute;
  inset: 0;
  background: #332823;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
}
canvas {
  width: 100%;
  height: auto;
  display: block;
  outline: none;
  touch-action: none;
}
.toast {
  position: absolute;
  left: 50%;
  bottom: 4%;
  transform: translateX(-50%);
  line-height: 1.4;
  white-space: nowrap;
  background: #fffaf4f0;
  border: 1px solid #fff9;
  border-radius: 30px;
  color: #71544f;
  padding: 9px 18px;
  font-size: 12px;
  box-shadow: 0 4px 18px #4a292328;
  pointer-events: none;
  transition: all .2s;
  z-index: 5;
}
.toast.can-interact {
  border-color: #d89fa9;
  color: #5c353d;
  background: #fff3f5fa;
  font-weight: 500;
  box-shadow: 0 4px 20px #a44f5e26;
}
.chair-tools{position:absolute;top:12px;left:12px;z-index:8;display:flex;gap:8px;flex-wrap:wrap}
.chair-tools button{border:1px solid #dfb5ac;background:#fff9f0ed;border-radius:8px;padding:9px 12px;color:#8a5c54;cursor:pointer;font:12px "Microsoft YaHei",sans-serif;box-shadow:0 3px 12px #75544d22}
.chair-tools[hidden]{display:none !important}
#wish-tools,#cookie-tools{left:auto;right:12px}
.game-bottom {
  gap: 12px;
}
.key {
  display: inline-block;
  border: 1px solid #eadbd4;
  background: #fff;
  border-radius: 4px;
  padding: 4px 6px;
  min-width: 24px;
  text-align: center;
  color: #92736b;
  margin-right: 3px;
  box-shadow: 0 2px #eee2dc;
}
.or {
  color: #bda49e;
  margin: 0 7px;
}
.hint {
  margin-left: 8px;
}
.hint span {
  color: #d79ba7;
}
footer {
  display: flex;
  justify-content: space-between;
  margin-top: 19px;
  font-size: 11px;
  color: #b89c95;
}

/* 模态框 (便签本) */
.modal {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74, 52, 45, 0.45);
  backdrop-filter: blur(2px);
  z-index: 20;
  line-height: 1.5;
  transition: opacity .2s ease;
}
.modal.hidden {
  display: none;
}
.modal-card {
  background: #fffcf8;
  border: 1px solid #ebd6cb;
  border-radius: 12px;
  width: 90%;
  max-width: 420px;
  padding: 18px 20px;
  box-shadow: 0 10px 32px rgba(65, 36, 29, 0.28);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.modal-header h3 {
  margin: 0;
  font-size: 15px;
  color: #5d3e37;
  font-family: Georgia, "Microsoft YaHei", serif;
}
.modal-header button {
  border: none;
  background: transparent;
  font-size: 18px;
  color: #9d7c75;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
}
.modal-header button:hover {
  background: #f4e5df;
}
textarea#note-content {
  width: 100%;
  height: 140px;
  padding: 12px;
  border: 1px solid #ebdad0;
  border-radius: 8px;
  background: #fffdfb;
  color: #553b34;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.6;
  resize: none;
  outline: none;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.03);
}
textarea#note-content:focus {
  border-color: #d79ba7;
}
.modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  font-size: 11px;
}
.note-status {
  color: #a88e88;
}
#note-save {
  background: #df919b;
  color: #fff;
  border: none;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  font-weight: bold;
  transition: background .15s;
}
#note-save:hover {
  background: #d37e89;
}
.modal.note-notebook{position:fixed;padding:18px;z-index:100}
.notebook-card{max-width:780px;max-height:90dvh;display:flex;flex-direction:column;padding:20px 22px}
.note-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 0 12px;font-size:12px;color:#aa8378}
#note-new{background:#f9ece4;border:1px solid #e7cbbf;border-radius:7px;padding:7px 10px;color:#8b6259;font:inherit;cursor:pointer}
.note-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:18px;min-height:0;overflow:auto}
.note-history{background:#fbf3eb;border:1px solid #eedfd2;border-radius:9px;max-height:320px;overflow:auto}
#note-list{list-style:none;margin:0;padding:7px}
#note-list li+li{margin-top:5px}
#note-list button{display:block;width:100%;text-align:left;border:1px solid transparent;border-radius:7px;background:transparent;padding:10px;color:#77584e;cursor:pointer;font:inherit}
#note-list button:hover{background:#f3e2d6}
#note-list button[aria-pressed="true"]{background:#f5dfd8;border-color:#dfb7ad}
#note-list time{display:block;font-size:10px;color:#ab8a7b;margin-bottom:5px;line-height:1.5}
#note-list span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;line-height:1.7}
.note-empty{padding:18px 10px;font-size:12px;line-height:1.8;color:#b49584}
.note-editor{display:flex;min-width:0;flex-direction:column;gap:7px}
#note-editor-label{font-size:13px;color:#90695d}
#note-date{font-size:10px;color:#b29686;min-height:15px}
.notebook-card textarea#note-content{height:245px;min-height:130px;font-size:13px;flex:1}
.notebook-card textarea[readonly]{background:#fff9ef;border-color:#ede0d0}
.notebook-card .modal-footer{gap:12px;padding-top:10px}
.notebook-card .note-status{line-height:1.7}
#note-save:disabled{background:#c9b4aa;cursor:default}
.note-toolbar-actions,.note-footer-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.note-footer-actions{justify-content:flex-end;flex-shrink:0}
#note-trash,#note-delete,#note-restore{font:inherit;cursor:pointer;border:1px solid #e7cbbf;border-radius:7px;padding:7px 10px;background:#fff8f2;color:#956c60}
#note-delete{border-color:#e4b9b5;color:#a95958}
#note-restore{border-color:#c7d3ba;background:#f2f6ec;color:#667d53}
#note-delete[hidden],#note-restore[hidden]{display:none}
#note-trash:hover,#note-delete:hover{background:#f8e7df}
#note-restore:hover{background:#e8efde}
@media(max-width:600px){
  .modal.note-notebook{padding:12px}
  .notebook-card{padding:15px;max-height:92dvh;width:100%}
  .note-layout{grid-template-columns:minmax(0,1fr);gap:12px}
  .note-history{max-height:128px}
  .notebook-card textarea#note-content{height:170px;flex:auto}
  .notebook-card .modal-footer{align-items:flex-end;font-size:10px}
  .note-toolbar{align-items:flex-start}
  .note-toolbar-actions{justify-content:flex-end}
  .note-footer-actions{flex-shrink:1}
  #note-save{white-space:nowrap;padding:8px 10px}
}

/* 专注陪伴：按原画比例完整显示，不裁掉边缘的家具。 */
.zen-exit-zone[hidden]{display:none}
.zen-exit-zone{position:fixed;top:0;right:0;z-index:90;width:240px;height:90px;display:flex;justify-content:flex-end;align-items:flex-start;padding:18px}
#zen-exit{opacity:0;transform:translateY(-5px);transition:opacity .25s,transform .25s;border:1px solid #ffffff50;border-radius:20px;background:#503e38bb;backdrop-filter:blur(8px);color:#fff8eb;padding:10px 15px;font:12px "Microsoft YaHei",sans-serif;cursor:pointer}
.zen-exit-zone:hover #zen-exit,.zen-exit-zone:focus-within #zen-exit,.zen-exit-zone.is-revealed #zen-exit{opacity:1;transform:none}
body.zen-mode{overflow:hidden;background:#302622}
body.zen-mode main{position:fixed;inset:0;max-width:none;margin:0;padding:0;display:flex;align-items:center;justify-content:center}
body.zen-mode header,body.zen-mode footer,body.zen-mode .game-top,body.zen-mode .atmosphere-bar,body.zen-mode .game-bottom,body.zen-mode .mobile-controls,body.zen-mode .toast,body.zen-mode .chair-tools{display:none}
body.zen-mode .game-card{width:min(100vw,calc(100dvh * 4 / 3));flex-shrink:0;border:0;border-radius:0;box-shadow:none;background:transparent;overflow:visible;animation:zen-arrive .35s ease-out}
body.zen-mode .scene{width:100%;background:transparent}
body.zen-mode canvas{width:100%;height:auto}
@keyframes zen-arrive{from{opacity:.6}to{opacity:1}}
@media(hover:none){body.zen-mode #zen-exit{opacity:.8;transform:none}.zen-exit-zone{width:auto;height:auto;padding:10px}}
@media(prefers-reduced-motion:reduce){body.zen-mode .game-card{animation:none}#zen-exit{transition:none}}

/* 触屏移动控制 */
.mobile-controls {
  display: none;
  text-align: center;
  margin: 16px auto;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.dpad {
  text-align: center;
}
.dpad-row {
  display: flex;
  justify-content: center;
}
.mobile-controls button {
  width: 52px;
  height: 44px;
  border: 1px solid #e6cfc7;
  border-radius: 10px;
  background: #fffaf7;
  color: #8e6b65;
  font-size: 19px;
  touch-action: none;
  margin: 2px;
  user-select: none;
}
.btn-interact {
  width: 68px !important;
  height: 68px !important;
  border-radius: 50% !important;
  background: #fff5f7 !important;
  border: 2px solid #e5a7b2 !important;
  color: #9c5061 !important;
  font-size: 13px !important;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(184, 102, 118, 0.22);
}
.btn-interact:active {
  background: #f7d2d9 !important;
  transform: scale(0.96);
}

.scene-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.game-top{flex-wrap:wrap;gap:10px}
.scene-actions button[aria-pressed="true"] {
  background: #f4dce0;
  border-color: #d8a4ad;
}

/* 特调吧台与烘焙工坊模态框 */
.craft-card {
  max-width: 440px;
  background: #fffcf8;
  border-radius: 14px;
}
.craft-section {
  margin-bottom: 14px;
}
.craft-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #6d4b43;
  margin-bottom: 6px;
}
.craft-options {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.craft-pill {
  border: 1px solid #e7d3c8;
  background: #fbf5ee;
  border-radius: 18px;
  padding: 5px 12px;
  font-size: 12px;
  color: #724c42;
  cursor: pointer;
  transition: all .15s ease;
  font-family: inherit;
}
.craft-pill:hover {
  background: #f5e4d7;
  border-color: #d6a195;
}
.craft-pill.active {
  background: #df919b;
  color: #fff;
  border-color: #d47b87;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(223, 145, 155, 0.4);
}
.craft-preview {
  background: #fbf1e8;
  border: 1px dashed #e8cbbe;
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 10px;
  font-size: 12px;
  color: #68453d;
  display: flex;
  align-items: center;
  gap: 8px;
}
.preview-tip {
  color: #9c786f;
  font-size: 11px;
}
.craft-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #f4e6dc;
}
.craft-hint {
  font-size: 11px;
  color: #a3877f;
}
.craft-action-btn {
  background: #df919b;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, transform .1s ease;
  box-shadow: 0 3px 8px rgba(223, 145, 155, 0.35);
}
.craft-action-btn:hover {
  background: #d47986;
  transform: translateY(-1px);
}
.craft-action-btn:active {
  transform: translateY(1px);
}

/* 烘焙温度计小游戏 */
.bake-meter-container {
  background: #f7ede4;
  border: 1px solid #e7d6c8;
  border-radius: 8px;
  padding: 8px 12px;
  margin: 12px 0 6px 0;
}
.meter-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #7a544c;
  margin-bottom: 6px;
}
.meter-info #bake-meter-status {
  color: #c95a68;
  font-weight: 600;
}
.meter-track {
  position: relative;
  height: 16px;
  background: #e2d2c4;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.12);
}
.meter-gold-area {
  position: absolute;
  left: 68%;
  width: 18%;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, #f6cf57, #f39c12);
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(243, 156, 18, 0.7);
}
.meter-needle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #c0392b;
  border-radius: 2px;
  box-shadow: 0 0 6px #e74c3c;
  transform: translateX(-50%);
  left: 50%;
  pointer-events: none;
}

/* 8-Bit 贪吃蛇小游戏模态框 */
#drink-modal, #bake-modal, #snake-modal {
  position: fixed;
  z-index: 100;
}
#drink-modal .modal-card, #bake-modal .modal-card, #snake-modal .modal-card {
  max-height: calc(100dvh - 24px);
  overflow: auto;
}
.snake-card {
  max-width: 320px;
  background: #1e261f;
  color: #cdecd0;
  border: 2px solid #3c5440;
  box-shadow: 0 12px 36px rgba(0,0,0,0.5);
  border-radius: 12px;
}
.snake-card .modal-header h3 {
  color: #9ae696;
  font-family: monospace, "Microsoft YaHei", sans-serif;
  font-size: 14px;
}
.snake-card .modal-header button {
  color: #79a57c;
}
.snake-card .modal-header button:hover {
  background: #2b392d;
  color: #bbf0be;
}
.snake-top-hud {
  display: flex;
  justify-content: space-between;
  font-family: monospace;
  font-size: 13px;
  color: #9ce696;
  padding: 4px 6px 8px 6px;
  letter-spacing: 0.5px;
}
.snake-screen-frame {
  position: relative;
  width: min(240px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  border: 2px solid #324736;
  border-radius: 6px;
  background: #151c16;
  box-shadow: inset 0 0 16px rgba(0,0,0,0.85);
  overflow: hidden;
}
#snake-canvas {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  outline: none;
}
.snake-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 26, 19, 0.88);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.snake-overlay.hidden {
  display: none;
}
#snake-overlay-msg {
  color: #f78d9f;
  font-family: monospace, sans-serif;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 1px;
  margin: 0;
}
#snake-restart-btn {
  background: #467b4c;
  color: #fff;
  border: 1px solid #5da165;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s ease;
}
#snake-restart-btn:hover {
  background: #54925b;
}
.snake-controls-hint {
  text-align: center;
  font-size: 10px;
  color: #648767;
  margin-top: 10px;
}
.snake-touch-controls { display: none; }
@media (pointer: coarse), (max-width: 640px) {
  .snake-controls-hint { display: none; }
  .snake-touch-controls {
    display: grid;
    grid-template-columns: repeat(3, 46px);
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
  }
  .snake-touch-controls button {
    min-height: 44px;
    border: 1px solid #59765c;
    border-radius: 6px;
    background: #304735;
    color: #e1f6df;
    font: inherit;
    font-size: 18px;
    touch-action: manipulation;
    cursor: pointer;
  }
  .snake-touch-controls button:active { background: #49684e; }
  .snake-touch-controls [data-snake-direction="0,-1"] { grid-area: 1 / 2; }
  .snake-touch-controls [data-snake-direction="-1,0"] { grid-area: 2 / 1; }
  .snake-touch-controls [data-snake-direction="0,1"] { grid-area: 2 / 2; }
  .snake-touch-controls [data-snake-direction="1,0"] { grid-area: 2 / 3; }
  #snake-pause { grid-area: 1 / 3; }
}

/* 暖木卡林巴 7 键拇指琴悬浮底栏 */
.kalimba-dock {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  pointer-events: auto;
  transition: opacity .2s ease, transform .2s ease;
}
.kalimba-dock.hidden {
  display: none;
}
.kalimba-body {
  background: linear-gradient(180deg, #ca9669 0%, #a46d44 100%);
  border: 2px solid #82502c;
  border-radius: 14px;
  padding: 9px 14px 10px 14px;
  box-shadow: 0 8px 24px rgba(45, 23, 10, 0.35), inset 0 1px 1px rgba(255,255,255,0.3);
}
.kalimba-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
  font-size: 11px;
}
.kalimba-title {
  font-weight: bold;
  color: #fff8f0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.kalimba-tune-hint {
  color: #ffebd2;
  opacity: 0.9;
  font-size: 10px;
}
#kalimba-close {
  border: none;
  background: transparent;
  color: #ffeed8;
  font-size: 14px;
  cursor: pointer;
  padding: 0 4px;
  border-radius: 4px;
}
#kalimba-close:hover {
  background: rgba(255,255,255,0.2);
}
.kalimba-tines {
  display: flex;
  gap: 5px;
  justify-content: center;
  align-items: flex-start;
}
.k-tine {
  width: 35px;
  height: 76px;
  background: linear-gradient(180deg, #f2f2f4 0%, #cbccd1 82%, #9a9ca3 100%);
  border: 1px solid #75777e;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.22), inset 0 -2px 3px rgba(255,255,255,0.7);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 6px;
  user-select: none;
  font-family: inherit;
  transition: transform .06s ease, background .06s ease;
}
.k-tine:hover {
  background: linear-gradient(180deg, #ffffff 0%, #dbdce0 82%, #abb0b7 100%);
}
.k-tine:active, .k-tine.pressed {
  transform: translateY(4px);
  background: linear-gradient(180deg, #fff0f3 0%, #f7c5ce 82%, #df8f9e 100%);
  box-shadow: 0 1px 2px rgba(0,0,0,0.25), inset 0 0 8px rgba(223, 143, 158, 0.7);
}
.k-tine[data-key="0"] { height: 86px; }
.k-tine[data-key="1"] { height: 82px; }
.k-tine[data-key="2"] { height: 78px; }
.k-tine[data-key="3"] { height: 75px; }
.k-tine[data-key="4"] { height: 72px; }
.k-tine[data-key="5"] { height: 69px; }
.k-tine[data-key="6"] { height: 66px; }
.k-num {
  font-size: 13px;
  font-weight: bold;
  color: #4b362a;
  line-height: 1;
}
.k-pitch {
  font-size: 9px;
  color: #745b4c;
  line-height: 1;
}
.k-keyhint {
  font-size: 8px;
  color: #967d71;
  line-height: 1;
  margin-top: 1px;
}

@media(max-width: 700px) {
  main {
    padding: 22px 14px;
  }
  h1 {
    font-size: 22px;
  }
  .badge {
    display: none;
  }
  .game-top, .game-bottom {
    padding: 11px;
    font-size: 11px;
  }
  .game-bottom {
    display: none;
  }
  .toast {
    font-size: 10px;
    padding: 6px 12px;
  }
  .mobile-controls {
    display: flex;
  }
  footer {
    font-size: 10px;
    gap: 10px;
  }
}
@media(max-width: 500px) {
  .game-top {
    align-items: flex-start;
    gap: 8px;
  }
  .game-top > div:first-child span {
    display: block;
    margin-top: 4px;
  }
  .scene-actions {
    gap: 4px;
  }
  .game-top button {
    padding: 6px 8px;
    font-size: 10px;
  }
}
