:root {
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --gold: #e8b86a;
  --gold-bright: #ffd08a;
  --amber: #ffb15f;
  --orange: #ff8a3d;
  --cream: #f4e9d5;
  --muted: #a99d8b;
  --ink: #070a11;
  --panel: #0c1018;
  --line: rgba(232, 184, 106, 0.26);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #05070c;
}

body {
  color: var(--cream);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
  user-select: none;
  touch-action: manipulation;
}

button {
  padding: 0;
  border: 0;
  color: inherit;
  font: inherit;
  background: none;
  cursor: pointer;
  touch-action: manipulation;
}

button:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
}

.game {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: var(--ink);
}

/* ---------------- scene ---------------- */

.scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #060910;
  isolation: isolate;
}

.scene-img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  filter: saturate(1.04) contrast(1.03) brightness(0.98);
  transition: filter 0.4s ease;
}

.scene-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(115% 85% at 50% 38%, transparent 38%, rgba(3, 5, 10, 0.24) 72%, rgba(3, 5, 10, 0.66) 100%),
    linear-gradient(180deg, rgba(3, 5, 10, 0.34) 0%, transparent 22%, transparent 64%, rgba(3, 5, 10, 0.3) 100%),
    radial-gradient(46% 26% at 0% 0%, rgba(3, 5, 10, 0.55) 0%, transparent 74%),
    radial-gradient(46% 26% at 100% 0%, rgba(3, 5, 10, 0.48) 0%, transparent 74%);
}

.scene-top-fade {
  display: none;
}

.scene-bottom-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 200px;
  pointer-events: none;
  background: linear-gradient(0deg, #04060a 0%, #04060a 132px, rgba(5, 7, 11, 0.95) 163px, rgba(5, 7, 11, 0.14) 186px, transparent 100%);
}

/* ---------------- hotspots ---------------- */

.hotspots {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.hotspot {
  position: absolute;
  width: clamp(48px, 7.6vmin, 86px);
  height: clamp(48px, 7.6vmin, 86px);
  margin: 0;
  padding: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  z-index: 2;
  transition: opacity 0.38s ease, transform 0.38s ease;
}

.hotspot .hs-glow {
  position: absolute;
  inset: -42%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 193, 106, 0.42) 0%, rgba(255, 148, 57, 0.16) 42%, transparent 71%);
  animation: glowPulse 3s ease-in-out infinite;
}

.hotspot .hs-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 210, 145, 0.82);
  box-shadow:
    0 0 13px rgba(255, 174, 82, 0.62),
    inset 0 0 13px rgba(255, 174, 82, 0.32);
}

.hotspot .hs-ring2 {
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 232, 190, 0.4);
  animation: slowSpin 16s linear infinite;
}

.hotspot .hs-chip {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%, 9px);
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 194, 112, 0.28);
  background: rgba(7, 10, 16, 0.7);
  color: #e9cfa4;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.08em;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.hotspot:hover .hs-chip,
.hotspot:focus-visible .hs-chip {
  opacity: 1;
  transform: translate(-50%, 5px);
}

.hotspot:active {
  transform: translate(-50%, -50%) scale(0.9);
}

.hotspot.nudge .hs-ring {
  animation: nudgeRing 2.2s ease-in-out infinite;
}

.hotspot.hinted .hs-glow {
  inset: -70%;
  background: radial-gradient(circle, rgba(255, 216, 140, 0.6) 0%, rgba(255, 158, 62, 0.23) 44%, transparent 72%);
}

.hotspot.hinted .hs-ring {
  border-color: #ffe3b4;
  box-shadow:
    0 0 26px rgba(255, 195, 104, 0.95),
    inset 0 0 18px rgba(255, 195, 104, 0.55);
}

.hs-veil {
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(4, 6, 10, 0.52) 0%, rgba(4, 6, 10, 0.38) 46%, transparent 72%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.hs-check {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 205, 135, 0.8);
  background: linear-gradient(180deg, #382a19 0%, #0d0a06 100%);
  color: #ffc273;
  box-shadow: 0 2px 9px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: scale(0.45);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.2, 1.4, 0.4, 1);
  pointer-events: none;
}

.hs-check .mp-icon {
  width: 14px;
  height: 14px;
}

.hotspot.found {
  opacity: 1;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.hotspot.found .hs-glow,
.hotspot.found .hs-ring,
.hotspot.found .hs-ring2 {
  opacity: 0;
  animation: none;
}

.hotspot.found .hs-veil {
  opacity: 1;
}

.hotspot.found .hs-check {
  opacity: 1;
  transform: scale(1);
}

.hotspot.found .hs-chip {
  display: none;
}

.find-burst {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 3;
  border: 1.5px solid rgba(255, 216, 150, 0.75);
  box-shadow: 0 0 20px rgba(255, 170, 80, 0.55), inset 0 0 16px rgba(255, 200, 120, 0.35);
  animation: burst 0.7s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}

.tap-dust {
  position: absolute;
  z-index: 3;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(255, 205, 130, 0.8);
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
}

.tap-dust.go {
  animation: dust 0.55s ease-out forwards;
}

/* ---------------- top hud ---------------- */

.hud-top {
  position: absolute;
  z-index: 8;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) 16px 0;
  pointer-events: none;
}

.hud-left {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hud-right {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
}

.hud-left::before,
.hud-right::before {
  content: "";
  position: absolute;
  top: -26px;
  width: 360px;
  height: 152px;
  z-index: -1;
  pointer-events: none;
  filter: blur(2px);
}

.hud-left::before {
  left: -28px;
  background: radial-gradient(ellipse at 32% 42%, rgba(4, 6, 11, 1) 0%, rgba(4, 6, 11, 1) 40%, rgba(4, 6, 11, 0.86) 60%, rgba(4, 6, 11, 0.28) 80%, transparent 94%);
}

.hud-right::before {
  right: -24px;
  background: radial-gradient(ellipse at 68% 42%, rgba(4, 6, 11, 1) 0%, rgba(4, 6, 11, 1) 40%, rgba(4, 6, 11, 0.86) 60%, rgba(4, 6, 11, 0.28) 80%, transparent 94%);
}

.top-progress {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(226, 182, 108, 0.3);
  background: linear-gradient(180deg, rgba(23, 27, 36, 0.9) 0%, rgba(9, 12, 18, 0.82) 100%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 228, 178, 0.07);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  white-space: nowrap;
}

.top-progress span {
  color: #b9a17c;
  font-size: 9.5px;
  letter-spacing: 0.12em;
}

.top-progress b {
  color: #ffbd70;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1;
}

.top-progress em {
  color: #7f725f;
  font-size: 9px;
  font-style: normal;
}

.hud-top > *,
.hud-left > * {
  pointer-events: auto;
}

.orb {
  position: relative;
  width: 52px;
  height: 52px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffd79c;
  background: radial-gradient(circle at 34% 25%, #3d2e1d 0%, #1b150e 56%, #0a0805 100%);
  border: 1.5px solid rgba(232, 184, 106, 0.78);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.6),
    inset 0 0 16px rgba(255, 170, 70, 0.16),
    0 7px 20px rgba(0, 0, 0, 0.58);
  transition: transform 0.14s ease, box-shadow 0.2s ease;
}

.orb::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px solid rgba(255, 210, 145, 0.2);
  pointer-events: none;
}

.orb .mp-icon {
  width: 23px;
  height: 23px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6));
}

.orb:active {
  transform: scale(0.92);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.6),
    inset 0 0 18px rgba(255, 170, 70, 0.28),
    0 3px 10px rgba(0, 0, 0, 0.5);
}

.hint-orb {
  color: #ffc877;
}

.orb-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  border: 1px solid #ffd7a4;
  background: linear-gradient(180deg, #ffa855 0%, #e9681c 100%);
  color: #210f03;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 2px 9px rgba(0, 0, 0, 0.5);
}

.orb-badge.empty {
  border-color: rgba(255, 210, 160, 0.35);
  background: #2a2621;
  color: #8d8273;
}

.chapter-pill {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 7px 14px 7px 13px;
  border-radius: 10px;
  border: 1px solid rgba(226, 182, 108, 0.32);
  background: linear-gradient(180deg, rgba(23, 27, 36, 0.9) 0%, rgba(9, 12, 18, 0.82) 100%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 228, 178, 0.07);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.chapter-pill::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, #ffbf74 0%, #8c4a15 100%);
}

.ch-no {
  color: #c8a267;
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: 0.24em;
}

.ch-name {
  color: #f2e4ca;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.25;
  letter-spacing: 0.12em;
}

/* ---------------- scene tip & clue toast ---------------- */

.scene-tip {
  position: absolute;
  z-index: 7;
  left: 50%;
  bottom: 132px;
  transform: translate(-50%, 6px);
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: calc(100% - 32px);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(232, 184, 106, 0.25);
  background: rgba(7, 10, 16, 0.72);
  color: #e9dcc4;
  font-size: 12px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.scene-tip.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.scene-tip .mp-icon {
  width: 15px;
  height: 15px;
  color: var(--amber);
}

.clue-toast {
  position: absolute;
  z-index: 9;
  left: 50%;
  bottom: 132px;
  width: min(560px, calc(100% - 32px));
  display: flex;
  gap: 12px;
  padding: 13px 15px;
  border-radius: 14px;
  border: 1px solid rgba(232, 184, 106, 0.42);
  background: linear-gradient(135deg, rgba(31, 26, 19, 0.97) 0%, rgba(12, 14, 19, 0.98) 100%);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 226, 172, 0.12);
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.clue-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast-icon {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 11px;
  border: 1px solid rgba(232, 184, 106, 0.32);
  background: radial-gradient(circle at 40% 28%, rgba(255, 168, 77, 0.24), rgba(0, 0, 0, 0.24));
  color: #ffbd70;
  box-shadow: inset 0 0 14px rgba(255, 150, 55, 0.12);
}

.toast-icon .mp-icon {
  width: 21px;
  height: 21px;
}

.toast-copy {
  min-width: 0;
}

.toast-kicker {
  display: block;
  margin-bottom: 2px;
  color: #c89b5c;
  font-size: 9px;
  letter-spacing: 0.18em;
}

.toast-copy strong {
  display: block;
  color: #f7ead3;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.toast-copy p {
  margin: 3px 0 0;
  color: #a99d8b;
  font-size: 11px;
  line-height: 1.55;
}

/* ---------------- bottom console ---------------- */

.console {
  position: absolute;
  z-index: 10;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 16px calc(env(safe-area-inset-bottom, 0px) + 14px);
  pointer-events: none;
}

.console > * {
  pointer-events: auto;
}

.ambient-line {
  display: none;
}

.whisper {
  display: none;
}

.case-card {
  display: none;
}

.tray {
  position: relative;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  border-radius: 18px;
  border: 1px solid rgba(226, 181, 106, 0.32);
  background: linear-gradient(180deg, rgba(26, 29, 36, 0.9) 0%, rgba(8, 10, 15, 0.96) 100%);
  box-shadow:
    0 -8px 34px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 228, 178, 0.09);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.tray::before,
.tray::after {
  content: "";
  position: absolute;
  top: -1px;
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 197, 116, 0.65));
  pointer-events: none;
}

.tray::before {
  left: 16px;
}

.tray::after {
  right: 16px;
  transform: scaleX(-1);
}

.bag-btn {
  position: relative;
  width: 60px;
  height: 60px;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border-radius: 50%;
  border: 1px solid rgba(232, 184, 106, 0.55);
  background: radial-gradient(circle at 36% 22%, #3d2d1b 0%, #1a130c 58%, #0a0805 100%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), inset 0 0 14px rgba(255, 165, 65, 0.1);
  transition: transform 0.14s ease;
}

.bag-btn:active {
  transform: scale(0.94);
}

.bag-btn .mp-icon {
  width: 22px;
  height: 22px;
  color: #ffc373;
}

.bag-btn span {
  color: #cdb68d;
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.bag-btn b {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid #ffd7a4;
  background: linear-gradient(180deg, #ffa855, #e9681c);
  color: #210f03;
  font-size: 10px;
  line-height: 1;
}

.slot-row {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.slot {
  position: relative;
  width: 88px;
  height: 66px;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(232, 184, 106, 0.22);
  background: linear-gradient(180deg, rgba(16, 20, 28, 0.92) 0%, rgba(6, 8, 12, 0.96) 100%);
  box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.58);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.slot-index {
  position: absolute;
  top: 4px;
  left: 6px;
  color: rgba(232, 184, 106, 0.4);
  font-size: 8px;
  line-height: 1;
  letter-spacing: 0.1em;
}

.slot .mp-icon {
  width: 23px;
  height: 23px;
  color: rgba(232, 184, 106, 0.24);
}

.slot-name {
  color: rgba(208, 188, 156, 0.4);
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.slot.filled {
  border-color: rgba(255, 174, 88, 0.6);
  background: radial-gradient(circle at 50% 32%, rgba(255, 143, 55, 0.18) 0%, rgba(8, 10, 15, 0.97) 70%);
  box-shadow: inset 0 0 20px rgba(255, 143, 55, 0.12), 0 0 15px rgba(255, 125, 40, 0.1);
}

.slot.filled .mp-icon {
  color: #ffb15f;
  filter: drop-shadow(0 0 6px rgba(255, 150, 60, 0.45));
}

.slot.filled .slot-name {
  color: #f0dfc2;
}

.slot.just .mp-icon {
  animation: popIcon 0.55s cubic-bezier(0.2, 1.5, 0.4, 1);
}

.deduce-btn {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 104px;
  height: 64px;
  border-radius: 14px;
  border: 1px solid rgba(232, 184, 106, 0.32);
  background: linear-gradient(180deg, rgba(45, 38, 28, 0.88) 0%, rgba(15, 14, 13, 0.94) 100%);
  color: #cbb996;
  transition: transform 0.14s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.deduce-btn .mp-icon {
  width: 21px;
  height: 21px;
  color: #b99a68;
  transition: color 0.3s ease;
}

.deduce-btn span {
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.06em;
}

.deduce-btn em {
  color: rgba(203, 185, 150, 0.55);
  font-size: 8.5px;
  font-style: normal;
  line-height: 1.1;
  letter-spacing: 0.08em;
}

.deduce-btn:active {
  transform: scale(0.96);
}

.deduce-btn.ready {
  border-color: #ffd39a;
  background: linear-gradient(180deg, #ffb15f 0%, #e96b1c 100%);
  color: #1d0e04;
  box-shadow: 0 0 26px rgba(255, 125, 45, 0.42), inset 0 1px 0 rgba(255, 236, 200, 0.55);
  animation: readyPulse 2.3s ease-in-out infinite;
}

.deduce-btn.ready .mp-icon {
  color: #2a1405;
}

.deduce-btn.ready em {
  color: rgba(40, 19, 4, 0.65);
}

.deduce-btn.done {
  border-color: rgba(255, 205, 140, 0.5);
  background: linear-gradient(180deg, rgba(53, 47, 36, 0.9) 0%, rgba(18, 17, 15, 0.95) 100%);
  color: #ffd8a0;
  box-shadow: inset 0 0 18px rgba(255, 170, 80, 0.12);
}

.deduce-btn.done .mp-icon {
  color: #ffc273;
}

/* ---------------- overlays ---------------- */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(3, 5, 9, 0.76);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  animation: fadeIn 0.25s ease;
}

.overlay[hidden] {
  display: none;
}

.sheet {
  position: relative;
  width: min(430px, 100%);
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  padding: 24px 22px 20px;
  border-radius: 20px;
  border: 1px solid rgba(232, 184, 106, 0.34);
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(58, 48, 35, 0.24) 0%, transparent 65%),
    linear-gradient(165deg, #1b1c1f 0%, #121419 55%, #0a0c11 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 228, 180, 0.1);
  animation: sheetIn 0.32s cubic-bezier(0.2, 0.9, 0.25, 1);
  scrollbar-width: thin;
  scrollbar-color: rgba(232, 184, 106, 0.3) transparent;
}

.sheet::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 203, 128, 0.7), transparent);
}

.sheet-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(232, 184, 106, 0.16);
  background: rgba(255, 255, 255, 0.035);
  color: #b5a78f;
  transition: transform 0.14s ease, background 0.2s ease;
  z-index: 2;
}

.sheet-close:active {
  transform: scale(0.92);
  background: rgba(255, 255, 255, 0.07);
}

.sheet-close .mp-icon {
  width: 18px;
  height: 18px;
}

.sheet-kicker {
  margin-bottom: 8px;
  color: #c99a55;
  font-size: 9.5px;
  letter-spacing: 0.3em;
}

.sheet h2 {
  margin: 0 0 8px;
  padding-right: 26px;
  color: #f7ead4;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.sheet-sub {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 14px;
  letter-spacing: 0.08em;
  transition: transform 0.14s ease, filter 0.14s ease;
}

.btn + .btn {
  margin-top: 9px;
}

.btn.primary {
  border: 1px solid rgba(255, 215, 160, 0.55);
  background: linear-gradient(180deg, #ffad59 0%, #e96a1c 100%);
  color: #1d0e04;
  font-weight: 800;
  box-shadow: 0 7px 20px rgba(230, 108, 28, 0.3), inset 0 1px 0 rgba(255, 235, 200, 0.5);
}

.btn.ghost {
  border: 1px solid rgba(232, 184, 106, 0.22);
  background: rgba(255, 255, 255, 0.035);
  color: #d9c8aa;
}

.btn:active {
  transform: translateY(1px) scale(0.992);
  filter: brightness(0.95);
}

.pause-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 0 4px;
  padding: 12px 0;
  border-top: 1px solid rgba(232, 184, 106, 0.12);
  border-bottom: 1px solid rgba(232, 184, 106, 0.12);
  color: #a99d8b;
  font-size: 12px;
}

.pause-progress b {
  color: #ffbd70;
  font-size: 13px;
  letter-spacing: 0.1em;
}

.sound-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 14px;
  color: #c9bca6;
  font-size: 13px;
}

.sound-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sound-label .mp-icon {
  width: 18px;
  height: 18px;
  color: #c9a267;
}

.switch {
  position: relative;
  width: 46px;
  height: 26px;
  border-radius: 13px;
  border: 1px solid #3d434f;
  background: #262b34;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #b9b0a3;
  transition: left 0.2s ease, background 0.2s ease;
}

.switch.on {
  border-color: #c47a34;
  background: #7a4318;
}

.switch.on::after {
  left: 22px;
  background: #ffc273;
}

/* ---------------- evidence bag ---------------- */

.evidence-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px 0 16px;
}

.evidence-item {
  display: flex;
  gap: 11px;
  padding: 11px;
  border-radius: 12px;
  border: 1px solid rgba(232, 184, 106, 0.16);
  background: rgba(255, 255, 255, 0.025);
}

.evidence-item.locked {
  border-style: dashed;
  opacity: 0.55;
}

.evidence-ico {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid rgba(232, 184, 106, 0.25);
  background: radial-gradient(circle at 40% 28%, rgba(255, 168, 77, 0.2), rgba(0, 0, 0, 0.2));
  color: #ffb15f;
}

.evidence-ico .mp-icon {
  width: 19px;
  height: 19px;
}

.evidence-item h3 {
  margin: 1px 0 3px;
  color: #f0e1c5;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.evidence-item p {
  margin: 0;
  color: #9e9384;
  font-size: 11px;
  line-height: 1.55;
}

/* ---------------- deduction ---------------- */

.evidence-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 2px 0 4px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(232, 184, 106, 0.22);
  background: rgba(255, 170, 80, 0.07);
  color: #e4cfa8;
  font-size: 10.5px;
  letter-spacing: 0.04em;
}

.chip .mp-icon {
  width: 13px;
  height: 13px;
  color: #ffb15f;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 14px;
}

.option {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  width: 100%;
  padding: 13px 13px;
  border-radius: 12px;
  border: 1px solid rgba(232, 184, 106, 0.16);
  background: rgba(255, 255, 255, 0.032);
  color: #dfd2bc;
  font-size: 12.5px;
  line-height: 1.6;
  text-align: left;
  transition: transform 0.14s ease, border-color 0.2s ease, background 0.2s ease;
}

.option b {
  flex: none;
  width: 18px;
  color: #ffb15f;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.35;
}

.option:active {
  transform: scale(0.992);
  background: rgba(255, 170, 80, 0.08);
}

.option.wrong {
  border-color: rgba(222, 92, 66, 0.65);
  background: rgba(116, 33, 22, 0.22);
  animation: shake 0.42s ease;
}

.option.correct {
  border-color: rgba(255, 184, 100, 0.8);
  background: rgba(255, 143, 55, 0.13);
  box-shadow: 0 0 22px rgba(255, 130, 45, 0.16);
}

.feedback {
  min-height: 18px;
  margin: 12px 0 0;
  color: #d28a5a;
  font-size: 11.5px;
  line-height: 1.55;
}

.feedback.ok {
  color: #ffc98a;
}

/* ---------------- truth ---------------- */

.truth-body {
  text-align: center;
  padding-top: 4px;
}

.truth-body[hidden] {
  display: none;
}

.truth-seal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 184, 96, 0.6);
  background: rgba(255, 138, 61, 0.08);
  color: #ffc273;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.3em;
  box-shadow: 0 0 26px rgba(255, 130, 45, 0.16);
  animation: sealIn 0.6s cubic-bezier(0.2, 1.3, 0.4, 1);
}

.truth-body h2 {
  margin: 15px 0 8px;
  padding: 0;
  font-size: 26px;
  text-align: center;
}

.truth-quote {
  margin: 14px 0;
  padding: 11px 14px;
  border-left: 2px solid rgba(255, 170, 80, 0.65);
  background: rgba(255, 170, 80, 0.05);
  color: #e5cfa8;
  font-family: var(--serif);
  font-size: 12.5px;
  line-height: 1.7;
  letter-spacing: 0.05em;
  text-align: left;
}

.truth-text {
  margin: 0;
  color: #a99d8b;
  font-size: 12.5px;
  line-height: 1.8;
  text-align: left;
}

.truth-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 18px;
}

/* ---------------- animations ---------------- */

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.06); }
}

@keyframes slowSpin {
  to { transform: rotate(360deg); }
}

@keyframes nudgeRing {
  0%, 100% { box-shadow: 0 0 10px rgba(255, 174, 82, 0.5), inset 0 0 10px rgba(255, 174, 82, 0.25); }
  50% { box-shadow: 0 0 26px rgba(255, 200, 110, 0.95), inset 0 0 20px rgba(255, 200, 110, 0.5); }
}

@keyframes burst {
  0% { opacity: 0.9; transform: translate(-50%, -50%) scale(0.6); }
  55% { opacity: 0.55; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(2.25); }
}

@keyframes dust {
  0% { opacity: 0.8; transform: translate(-50%, -50%) scale(0.4); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(4.3); }
}

@keyframes popIcon {
  0% { transform: scale(0.4); opacity: 0; }
  70% { transform: scale(1.16); opacity: 1; }
  100% { transform: scale(1); }
}

@keyframes readyPulse {
  0%, 100% { box-shadow: 0 0 18px rgba(255, 125, 45, 0.3), inset 0 1px 0 rgba(255, 236, 200, 0.5); }
  50% { box-shadow: 0 0 34px rgba(255, 145, 55, 0.55), inset 0 1px 0 rgba(255, 236, 200, 0.6); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes sheetIn {
  from { opacity: 0; transform: translateY(18px) scale(0.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-5px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}

@keyframes sealIn {
  0% { opacity: 0; transform: scale(0.6); }
  70% { opacity: 1; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}

/* ---------------- portrait ---------------- */

@media (orientation: portrait) {
  .game {
    display: flex;
    flex-direction: column;
    background: #05070b;
  }

  .scene {
    position: relative;
    inset: auto;
    width: 100%;
    height: 41.5vh;
    height: clamp(300px, 41.5dvh, 420px);
    flex: none;
  }

  .scene-shade {
    background:
      radial-gradient(38% 20% at 0% 0%, rgba(3, 5, 10, 0.96) 0%, rgba(3, 5, 10, 0.72) 42%, transparent 78%),
      radial-gradient(38% 20% at 100% 0%, rgba(3, 5, 10, 0.9) 0%, rgba(3, 5, 10, 0.6) 44%, transparent 80%),
      radial-gradient(125% 90% at 50% 42%, transparent 42%, rgba(4, 6, 11, 0.22) 76%, rgba(4, 6, 11, 0.62) 100%),
      linear-gradient(180deg, rgba(3, 5, 10, 0.22) 0%, transparent 18%, transparent 66%, rgba(3, 5, 10, 0.2) 100%);
  }

  .hud-left::before,
  .hud-right::before {
    display: block;
    top: -12px;
    width: 124px;
    height: 96px;
    filter: blur(2px);
  }

  .hud-left::before {
    left: -14px;
    background: radial-gradient(ellipse at 20% 30%, rgba(4, 6, 11, 0.98) 0%, rgba(4, 6, 11, 0.92) 42%, rgba(4, 6, 11, 0.5) 68%, transparent 88%);
  }

  .hud-right::before {
    right: -14px;
    background: radial-gradient(ellipse at 80% 30%, rgba(4, 6, 11, 0.98) 0%, rgba(4, 6, 11, 0.92) 42%, rgba(4, 6, 11, 0.5) 68%, transparent 88%);
  }

  .scene-bottom-fade {
    height: 27%;
    background: linear-gradient(0deg, #060910 0%, #060910 44%, rgba(6, 9, 16, 0.94) 62%, rgba(6, 9, 16, 0.16) 90%, transparent 100%);
  }

  .hud-top {
    padding-top: calc(env(safe-area-inset-top, 0px) + 12px);
    padding-left: 14px;
    padding-right: 14px;
  }

  .hud-left,
  .hud-right {
    gap: 8px;
  }

  .orb {
    width: 46px;
    height: 46px;
  }

  .orb .mp-icon {
    width: 21px;
    height: 21px;
  }

  .orb-badge {
    top: -4px;
    right: -4px;
    min-width: 19px;
    height: 19px;
    font-size: 10px;
  }

  .chapter-pill {
    padding: 6px 11px 6px 11px;
    border-radius: 9px;
  }

  .ch-no {
    font-size: 8px;
  }

  .ch-name {
    font-size: 13px;
  }

  .hotspot {
    width: clamp(46px, 12vw, 60px);
    height: clamp(46px, 12vw, 60px);
  }

  .hotspot .hs-glow {
    inset: -46%;
  }

  .hotspot .hs-ring {
    inset: 8%;
  }

  .hotspot .hs-ring2 {
    inset: 16%;
  }

  .hotspot .hs-chip {
    display: none;
  }

  .scene-tip {
    bottom: 9px;
    max-width: calc(100% - 24px);
    padding: 7px 11px;
    font-size: 10.5px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .clue-toast {
    display: flex;
    align-items: center;
    bottom: 9px;
    width: auto;
    max-width: calc(100% - 28px);
    gap: 7px;
    padding: 7px 13px;
    border-radius: 999px;
    z-index: 12;
  }

  .clue-toast .toast-icon {
    display: none;
  }

  .clue-toast .toast-copy {
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
    white-space: nowrap;
  }

  .clue-toast .toast-kicker {
    margin: 0;
    font-size: 8.5px;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  .clue-toast .toast-copy strong {
    min-width: 0;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .clue-toast .toast-copy p {
    display: none;
  }

  .top-progress {
    display: none;
  }

  .console {
    position: relative;
    inset: auto;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 12px 16px calc(env(safe-area-inset-bottom, 0px) + 14px);
    background:
      radial-gradient(120% 62% at 18% 0%, rgba(255, 138, 61, 0.11) 0%, transparent 62%),
      radial-gradient(100% 55% at 88% 4%, rgba(96, 124, 184, 0.11) 0%, transparent 70%),
      linear-gradient(180deg, #0a0e16 0%, #080b12 48%, #05070b 100%);
    scrollbar-width: none;
  }

  .console::-webkit-scrollbar {
    display: none;
  }

  .console::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    z-index: 2;
    background: linear-gradient(90deg, transparent, rgba(232, 184, 106, 0.48), transparent);
  }

  .console::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.13;
    background: url("images/gen/gptimg_1795266456_look.png") center 34% / cover no-repeat;
    filter: blur(7px) saturate(0.85);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.55) 46%, transparent 92%);
    mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.55) 46%, transparent 92%);
  }

  .console > * {
    position: relative;
    z-index: 1;
  }

  .case-card {
    position: relative;
    display: block;
    flex: none;
    padding: 11px 13px 12px 14px;
    border-radius: 15px;
    border: 1px solid rgba(232, 184, 106, 0.22);
    background:
      radial-gradient(120% 90% at 12% 0%, rgba(255, 160, 80, 0.08) 0%, transparent 58%),
      linear-gradient(180deg, rgba(28, 32, 42, 0.88) 0%, rgba(11, 14, 20, 0.94) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 230, 180, 0.07), 0 10px 26px rgba(0, 0, 0, 0.32);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }

  .case-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg, #ffb15f, rgba(255, 138, 61, 0));
  }

  .case-card.flash {
    border-color: rgba(255, 178, 92, 0.6);
    box-shadow: 0 0 28px rgba(255, 130, 45, 0.18), inset 0 1px 0 rgba(255, 230, 180, 0.1);
  }

  .case-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .case-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #d3a45c;
    font-size: 9px;
    letter-spacing: 0.22em;
  }

  .case-kicker::before {
    content: "";
    width: 13px;
    height: 1px;
    background: rgba(255, 184, 106, 0.55);
  }

  .case-count {
    color: #a08e73;
    font-size: 9.5px;
    letter-spacing: 0.1em;
  }

  .case-card h2 {
    margin: 5px 0 4px;
    color: #f6ead4;
    font-family: var(--serif);
    font-size: 17.5px;
    line-height: 1.35;
    letter-spacing: 0.05em;
  }

  .case-card p {
    margin: 0;
    color: #a99d8b;
    font-size: 12px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .case-meter {
    height: 3px;
    margin-top: 9px;
    overflow: hidden;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.07);
  }

  .case-meter span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, #c76b24, #ffb15f);
    transition: width 0.45s ease;
  }

  .whisper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-height: 58px;
    margin: 10px 2px;
    padding: 8px 0;
  }

  .whisper::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 230px;
    height: 230px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255, 138, 61, 0.085) 0%, rgba(255, 138, 61, 0.025) 48%, transparent 70%);
  }

  .whisper > span {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232, 184, 106, 0.24));
  }

  .whisper > span:last-child {
    transform: scaleX(-1);
  }

  .whisper-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-align: center;
  }

  .whisper-sigil {
    position: relative;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 5px;
    border-radius: 50%;
    border: 1px solid rgba(232, 184, 106, 0.26);
    background: radial-gradient(circle at 40% 30%, rgba(255, 170, 80, 0.16), rgba(0, 0, 0, 0.18));
    box-shadow: inset 0 0 0 4px rgba(232, 184, 106, 0.035), 0 0 26px rgba(255, 150, 60, 0.1);
  }

  .whisper-sigil .mp-icon {
    width: 21px;
    height: 21px;
    color: rgba(255, 190, 110, 0.75);
  }

  .whisper-copy p {
    margin: 0;
    color: rgba(232, 214, 182, 0.62);
    font-family: var(--serif);
    font-size: 11.5px;
    line-height: 1.5;
    letter-spacing: 0.1em;
  }

  .whisper-guide {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
    color: rgba(218, 190, 148, 0.66);
    font-size: 9.5px;
    letter-spacing: 0.05em;
  }

  .whisper-guide .mp-icon {
    width: 12px;
    height: 12px;
    color: rgba(255, 190, 110, 0.62);
  }

  .whisper-copy em {
    color: rgba(180, 157, 119, 0.45);
    font-size: 7.5px;
    font-style: normal;
    letter-spacing: 0.22em;
  }

  .tray {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
    width: 100%;
    margin-top: 4px;
    padding: 10px;
    border-radius: 16px;
  }

  .slot-row {
    flex: 1;
    min-width: 0;
    gap: 6px;
    justify-content: space-between;
  }

  .slot {
    flex: 1;
    width: auto;
    height: 62px;
    gap: 2px;
    border-radius: 10px;
  }

  .slot-index {
    top: 3px;
    left: 5px;
    font-size: 7.5px;
  }

  .slot .mp-icon {
    width: 21px;
    height: 21px;
  }

  .slot-name {
    font-size: 9px;
    letter-spacing: 0.03em;
  }

  .bag-btn {
    width: 56px;
    height: 56px;
    flex: none;
    flex-direction: column;
    gap: 1px;
    border-radius: 50%;
  }

  .bag-btn .mp-icon {
    width: 19px;
    height: 19px;
  }

  .bag-btn span {
    font-size: 9px;
  }

  .bag-btn b {
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    font-size: 9px;
  }

  .deduce-btn {
    width: 58px;
    height: 58px;
    flex: none;
    gap: 0;
    border-radius: 50%;
  }

  .deduce-btn .mp-icon {
    width: 22px;
    height: 22px;
  }

  .deduce-btn span {
    font-size: 9px;
    letter-spacing: 0.02em;
  }

  .deduce-btn em {
    display: none;
  }

  .sheet {
    width: 100%;
    max-height: calc(100dvh - 28px);
    padding: 22px 18px 18px;
    border-radius: 18px;
  }

  .sheet h2 {
    font-size: 21px;
  }

  .overlay {
    padding: 14px;
  }
}

/* ---------------- small landscape phones ---------------- */

@media (orientation: landscape) and (max-height: 560px) {
  .hud-top {
    padding-top: calc(env(safe-area-inset-top, 0px) + 10px);
    padding-left: 12px;
    padding-right: 12px;
  }

  .orb {
    width: 44px;
    height: 44px;
  }

  .orb .mp-icon {
    width: 20px;
    height: 20px;
  }

  .chapter-pill {
    padding: 5px 10px 5px 10px;
  }

  .top-progress {
    padding: 7px 10px;
  }

  .ch-no {
    font-size: 8px;
  }

  .ch-name {
    font-size: 12px;
  }

  .console {
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 9px);
  }

  .scene-bottom-fade {
    height: 158px;
    background: linear-gradient(0deg, #04060a 0%, #04060a 102px, rgba(5, 7, 11, 0.92) 128px, transparent 100%);
  }

  .tray {
    padding: 7px 10px;
    gap: 9px;
  }

  .bag-btn {
    width: 54px;
    height: 54px;
  }

  .bag-btn .mp-icon {
    width: 19px;
    height: 19px;
  }

  .slot {
    height: 56px;
    width: 66px;
  }

  .deduce-btn {
    height: 54px;
    width: 84px;
  }

  .scene-tip {
    top: 68px;
    bottom: auto;
    font-size: 11px;
  }

  .clue-toast {
    bottom: 100px;
  }
}

/* ---------------- short portrait ---------------- */

@media (orientation: portrait) and (max-height: 700px) {
  .scene {
    height: 41.5vh;
    height: clamp(276px, 41.5dvh, 340px);
  }

  .case-card {
    padding: 9px 12px 10px 13px;
  }

  .case-card p {
    font-size: 11px;
    line-height: 1.5;
  }

  .case-card h2 {
    margin: 4px 0 3px;
    font-size: 16px;
  }

  .whisper {
    min-height: 40px;
    padding: 4px 0;
  }

  .whisper-copy em {
    display: none;
  }

  .tray {
    margin-top: 2px;
    gap: 7px;
    padding: 8px;
  }

  .slot {
    height: 56px;
  }

  .bag-btn {
    width: 50px;
    height: 50px;
  }

  .deduce-btn {
    width: 52px;
    height: 52px;
  }

  .console {
    padding-top: 10px;
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 10px);
  }
}
