:root {
  --stage-width: min(100vw, 480px);
  --ink: #281913;
  --cream: rgba(255, 247, 232, 0.97);
  --mint: rgba(204, 236, 225, 0.96);
  --gold: #f2c16a;
  --fur: #c9904f;
  --fur-light: #f0c783;
  --fur-dark: #916236;
  --wood: #6f3f2d;
  --wood-dark: #2c1813;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow: hidden;
  color: var(--ink);
  background: #111;
  font-family: Arial, "Microsoft YaHei", sans-serif;
}

button,
input {
  font: inherit;
}

.game-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 211, 133, 0.22), transparent 34%),
    linear-gradient(145deg, #101820, #2a1c18 58%, #0f1216);
}

.shop-stage {
  position: relative;
  width: var(--stage-width);
  height: 100vh;
  max-height: 920px;
  overflow: hidden;
  background: #14262a;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
  isolation: isolate;
}

.shop-stage::after {
  position: absolute;
  inset: 0;
  z-index: 30;
  content: "";
  pointer-events: none;
  box-shadow: inset 0 0 62px rgba(0, 0, 0, 0.45);
}

.room {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 221, 149, 0.34), transparent 30%),
    linear-gradient(180deg, #214f57 0%, #366f67 62%, #5d4934 100%);
}

.ceiling {
  position: absolute;
  top: -64px;
  left: 12%;
  width: 76%;
  height: 150px;
  clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, #2b1b17, #67412f);
}

.ceiling span {
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: 140px;
  height: 74px;
  border-radius: 0 0 999px 999px;
  background: radial-gradient(circle at 50% 10%, #fff5be, #e6a04b 60%, rgba(230, 160, 75, 0.1) 76%);
  transform: translateX(-50%);
  animation: warmLight 4.8s ease-in-out infinite;
}

.back-wall {
  position: absolute;
  top: 8%;
  left: 10%;
  width: 80%;
  height: 58%;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(21, 68, 75, 0.78), rgba(53, 107, 96, 0.82)),
    radial-gradient(circle at 50% 36%, rgba(255, 221, 149, 0.24), transparent 56%);
  box-shadow: inset 0 0 64px rgba(7, 25, 30, 0.62), 0 28px 70px rgba(0, 0, 0, 0.18);
}

.window {
  position: absolute;
  top: 8%;
  left: 16%;
  width: 68%;
  height: 34%;
  border: 8px solid rgba(12, 42, 48, 0.9);
  background: linear-gradient(180deg, rgba(161, 207, 200, 0.32), rgba(94, 138, 132, 0.28));
}

.window span {
  display: none;
}

.window::before,
.window::after {
  position: absolute;
  content: "";
  background: rgba(12, 42, 48, 0.9);
}

.window::before {
  left: 48%;
  top: 0;
  width: 8px;
  height: 100%;
}

.window::after {
  left: 0;
  top: 48%;
  width: 100%;
  height: 8px;
}

.shelf {
  position: absolute;
  top: 49%;
  width: 26%;
  height: 18%;
  border-radius: 14px;
  background: linear-gradient(180deg, #7b4b3b, #4a2b26);
  box-shadow: 0 20px 32px rgba(0, 0, 0, 0.22);
}

.shelf-left {
  left: 9%;
}

.shelf-right {
  right: 9%;
}

.shelf::before {
  position: absolute;
  left: -12px;
  right: -12px;
  top: -13px;
  height: 18px;
  border-radius: 999px;
  content: "";
  background: #392728;
}

.shelf i {
  position: absolute;
  bottom: 22%;
  width: 30%;
  height: 34%;
  border-radius: 10px;
  background: #e3b760;
}

.shelf i:nth-child(1) {
  left: 10%;
}

.shelf i:nth-child(2) {
  left: 38%;
  background: #9cccbc;
}

.shelf i:nth-child(3) {
  right: 8%;
  background: #d57b6c;
}

.side-wall,
.floor,
.light-beam,
.dust {
  display: none;
}

.shop-title {
  position: absolute;
  top: max(20px, env(safe-area-inset-top));
  left: 22px;
  z-index: 8;
  color: #fff8e7;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
}

.brand {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
}

.mimi-character {
  position: absolute;
  left: 50%;
  bottom: 34%;
  z-index: 5;
  width: min(70vw, 312px);
  height: min(82vw, 364px);
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  animation: mimiBreath 3.8s ease-in-out infinite;
}

.mimi-shadow {
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 18px;
  height: 28px;
  border-radius: 50%;
  background: rgba(16, 8, 6, 0.45);
  filter: blur(10px);
}

.mimi-body {
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 8px;
  height: 54%;
  border-radius: 48% 48% 32% 32%;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(255, 231, 190, 0.92) 0 32%, transparent 33%),
    repeating-linear-gradient(96deg, rgba(116, 76, 39, 0.13) 0 2px, transparent 2px 14px),
    linear-gradient(180deg, #efc078, var(--fur) 58%, #a86638);
  box-shadow:
    inset -20px -18px 0 rgba(113, 72, 36, 0.17),
    inset 16px 10px 0 rgba(255, 235, 188, 0.12),
    0 18px 30px rgba(0, 0, 0, 0.24);
}

.chest {
  position: absolute;
  left: 25%;
  top: 18%;
  width: 50%;
  height: 68%;
  border-radius: 50%;
  background:
    repeating-linear-gradient(85deg, rgba(157, 107, 56, 0.08) 0 1px, transparent 1px 9px),
    rgba(255, 229, 184, 0.86);
}

.paw {
  position: absolute;
  bottom: 5px;
  z-index: 3;
  width: 34%;
  height: 25%;
  border-radius: 45% 45% 38% 38%;
  background:
    radial-gradient(circle at 32% 75%, rgba(111, 68, 36, 0.18) 0 7%, transparent 8%),
    radial-gradient(circle at 50% 78%, rgba(111, 68, 36, 0.15) 0 6%, transparent 7%),
    radial-gradient(circle at 68% 75%, rgba(111, 68, 36, 0.18) 0 7%, transparent 8%),
    linear-gradient(180deg, #f0bd73, #b8753e);
  box-shadow: inset 0 -7px 0 rgba(113, 65, 35, 0.14), 0 8px 12px rgba(42, 22, 14, 0.18);
}

.paw-left {
  left: -5%;
  animation: pawTap 5.4s ease-in-out infinite;
}

.paw-right {
  right: -5%;
  animation: pawTap 5.4s ease-in-out infinite 1.2s;
}

.mimi-head {
  position: absolute;
  left: 12%;
  top: 0;
  width: 76%;
  height: 55%;
  border-radius: 48% 48% 45% 45%;
  background:
    radial-gradient(circle at 50% 70%, rgba(255, 235, 200, 0.92) 0 20%, transparent 21%),
    radial-gradient(circle at 32% 56%, rgba(255, 226, 184, 0.74) 0 15%, transparent 16%),
    radial-gradient(circle at 68% 56%, rgba(255, 226, 184, 0.74) 0 15%, transparent 16%),
    repeating-linear-gradient(86deg, rgba(117, 76, 38, 0.11) 0 2px, transparent 2px 13px),
    linear-gradient(180deg, #d8a15d, var(--fur-light) 35%, var(--fur) 100%);
  box-shadow:
    inset -20px -12px 0 rgba(128, 84, 45, 0.12),
    inset 18px 12px 0 rgba(255, 236, 194, 0.12),
    0 18px 34px rgba(0, 0, 0, 0.26);
  transform-origin: 50% 78%;
  animation: headAlive 4.8s ease-in-out infinite;
}

.ear {
  position: absolute;
  top: 4%;
  width: 29%;
  height: 25%;
  border-radius: 60% 60% 34% 34%;
  background: linear-gradient(180deg, #d19758, #a66b3b);
  box-shadow: inset 0 -8px 0 rgba(102, 61, 33, 0.13);
}

.ear-left {
  left: 5%;
  transform: rotate(-28deg) skewY(14deg);
  animation: earTwitchLeft 6.4s ease-in-out infinite;
}

.ear-right {
  right: 5%;
  transform: rotate(28deg) skewY(-14deg);
  animation: earTwitchRight 7.2s ease-in-out infinite 0.8s;
}

.cheek {
  position: absolute;
  top: 54%;
  width: 32%;
  height: 28%;
  border-radius: 50%;
  background: rgba(255, 228, 185, 0.58);
}

.cheek-left {
  left: 17%;
}

.cheek-right {
  right: 17%;
}

.stripe {
  position: absolute;
  top: 12%;
  width: 8px;
  height: 38px;
  border-radius: 999px;
  background: rgba(129, 83, 42, 0.42);
}

.stripe-a {
  left: 43%;
  transform: rotate(-12deg);
}

.stripe-b {
  left: 50%;
  height: 45px;
}

.stripe-c {
  right: 43%;
  transform: rotate(12deg);
}

.eye {
  position: absolute;
  top: 39%;
  width: 22%;
  height: 24%;
  border-radius: 50%;
  background: radial-gradient(circle at 44% 42%, #131414 0 45%, #3b3424 46% 59%, #ddc98d 60% 70%, #29251e 71%);
  box-shadow: 0 0 0 3px rgba(72, 49, 32, 0.3);
  overflow: hidden;
}

.eye-left {
  left: 25%;
}

.eye-right {
  right: 25%;
}

.eye i {
  position: absolute;
  left: 28%;
  top: 22%;
  width: 22%;
  height: 22%;
  border-radius: 50%;
  background: #fff;
  opacity: 0.88;
  z-index: 1;
  animation: eyeLook 6.2s ease-in-out infinite;
}

.eye::after {
  position: absolute;
  inset: -8%;
  z-index: 2;
  content: "";
  border-radius: 50%;
  background: linear-gradient(180deg, #d79d5a, #efc783 72%, #c58a4c);
  transform: translateY(-112%);
  animation: eyelidBlink 5.6s ease-in-out infinite;
}

.nose {
  position: absolute;
  left: 50%;
  top: 61%;
  width: 34px;
  height: 24px;
  border-radius: 52% 52% 62% 62%;
  background: linear-gradient(180deg, #d88f86, #8a443e);
  transform: translateX(-50%);
  box-shadow: 0 3px 0 rgba(91, 54, 44, 0.32);
}

.mouth {
  position: absolute;
  left: 50%;
  top: 73%;
  width: 26px;
  height: 14px;
  border-radius: 0 0 999px 999px;
  border-bottom: 4px solid rgba(78, 44, 32, 0.72);
  transform: translateX(-50%);
}

.mimi-character[data-state="speaking"] .mouth {
  height: 26px;
  background: radial-gradient(ellipse at 50% 70%, #eaa1a0 0 30%, #46201d 31%);
  border: 0;
  border-radius: 45% 45% 55% 55%;
  animation: talkMouth 0.2s steps(2) infinite;
}

.mimi-character[data-state="speaking"] .mimi-head {
  animation: speakingHead 0.55s ease-in-out infinite;
}

.mimi-character[data-state="thinking"] .mimi-head {
  animation: thinkingHead 1.1s ease-in-out infinite;
}

.mimi-character[data-state="hissing"] {
  animation: hissBody 0.16s linear infinite;
}

.mimi-character[data-state="hissing"] .mimi-head {
  animation: hissHead 0.16s linear infinite;
}

.mimi-character[data-state="hissing"] .ear-left {
  animation: none;
  transform: rotate(-56deg) skewY(18deg) translate(-10px, 16px);
}

.mimi-character[data-state="hissing"] .ear-right {
  animation: none;
  transform: rotate(56deg) skewY(-18deg) translate(10px, 16px);
}

.mimi-character[data-state="hissing"] .eye {
  height: 18%;
  border-radius: 54% 54% 38% 38%;
  background:
    linear-gradient(160deg, rgba(70, 20, 16, 0.88) 0 18%, transparent 19%),
    radial-gradient(circle at 44% 48%, #080808 0 44%, #5a1f1a 45% 57%, #ffd36f 58% 70%, #201714 71%);
  box-shadow: 0 0 0 3px rgba(96, 28, 22, 0.34), 0 0 16px rgba(255, 85, 45, 0.22);
  transform: rotate(-5deg);
}

.mimi-character[data-state="hissing"] .eye-right {
  transform: rotate(5deg);
}

.mimi-character[data-state="hissing"] .eye::after,
.mimi-character[data-state="hissing"] .eye i {
  display: none;
}

.mimi-character[data-state="hissing"] .mouth {
  top: 70%;
  width: 46px;
  height: 42px;
  border: 0;
  border-radius: 44% 44% 58% 58%;
  background:
    linear-gradient(90deg, transparent 0 22%, #fff3d6 23% 32%, transparent 33% 67%, #fff3d6 68% 77%, transparent 78%),
    radial-gradient(ellipse at 50% 76%, #ec9b9a 0 24%, #391716 25% 100%);
  box-shadow: inset 0 8px 0 rgba(42, 15, 14, 0.44), 0 0 14px rgba(90, 31, 24, 0.18);
  animation: hissMouth 0.18s steps(2) infinite;
}

.mimi-character[data-state="hissing"] .whisker-left.top {
  transform: rotate(24deg) translateX(-7px);
}

.mimi-character[data-state="hissing"] .whisker-left.mid {
  transform: rotate(6deg) translateX(-9px);
}

.mimi-character[data-state="hissing"] .whisker-left.low {
  transform: rotate(-22deg) translateX(-7px);
}

.mimi-character[data-state="hissing"] .whisker-right.top {
  transform: rotate(-24deg) translateX(7px);
}

.mimi-character[data-state="hissing"] .whisker-right.mid {
  transform: rotate(-6deg) translateX(9px);
}

.mimi-character[data-state="hissing"] .whisker-right.low {
  transform: rotate(22deg) translateX(7px);
}

.whisker {
  position: absolute;
  width: 58px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 249, 231, 0.92);
  transform-origin: center;
}

.whisker-left {
  left: 4%;
}

.whisker-right {
  right: 4%;
}

.whisker-left.top {
  top: 60%;
  transform: rotate(12deg);
}

.whisker-left.mid {
  top: 67%;
  transform: rotate(0deg);
}

.whisker-left.low {
  top: 74%;
  transform: rotate(-13deg);
}

.whisker-right.top {
  top: 60%;
  transform: rotate(-12deg);
}

.whisker-right.mid {
  top: 67%;
}

.whisker-right.low {
  top: 74%;
  transform: rotate(13deg);
}

.name-tag {
  position: absolute;
  right: 11%;
  bottom: 29%;
  min-width: 74px;
  padding: 7px 12px;
  border: 1px solid rgba(99, 54, 31, 0.24);
  border-radius: 999px;
  color: #4a2c23;
  background: linear-gradient(180deg, #fff2c8, #d99c59);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 9px 24px rgba(45, 25, 16, 0.34);
}

.service-counter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 31%;
  z-index: 6;
  height: 14%;
  pointer-events: none;
}

.counter-top {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 0;
  height: 32px;
  border-radius: 9px 9px 5px 5px;
  background:
    linear-gradient(90deg, rgba(45, 24, 18, 0.3), transparent 18%, transparent 82%, rgba(45, 24, 18, 0.3)),
    repeating-linear-gradient(5deg, rgba(255, 229, 174, 0.09) 0 2px, transparent 2px 20px),
    linear-gradient(180deg, #a96e4e 0%, #7b4a34 58%, #3e2823 100%);
  box-shadow:
    inset 0 7px 0 rgba(255, 226, 176, 0.14),
    inset 0 -9px 0 rgba(37, 20, 16, 0.24),
    0 -10px 28px rgba(0, 0, 0, 0.28);
}

.counter-top::before {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 8px;
  height: 2px;
  content: "";
  border-radius: 999px;
  background: rgba(255, 232, 188, 0.22);
}

.counter-face {
  position: absolute;
  left: 0;
  right: 0;
  top: 24px;
  bottom: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(40, 20, 15, 0.28), transparent 16%, transparent 84%, rgba(40, 20, 15, 0.28)),
    repeating-linear-gradient(93deg, rgba(255, 225, 172, 0.08) 0 2px, transparent 2px 54px),
    repeating-linear-gradient(0deg, rgba(72, 34, 24, 0.24) 0 5px, transparent 5px 36px),
    linear-gradient(180deg, rgba(168, 94, 60, 0.98), rgba(78, 36, 28, 0.99));
  box-shadow:
    inset 0 9px 0 rgba(255, 218, 164, 0.1),
    inset 0 -18px 24px rgba(37, 18, 14, 0.28);
}

.counter-face::before,
.counter-face::after {
  position: absolute;
  top: 20%;
  bottom: 12%;
  width: 1px;
  content: "";
  background: rgba(255, 222, 168, 0.14);
  box-shadow: 1px 0 0 rgba(60, 28, 20, 0.42);
}

.counter-face::before {
  left: 32%;
}

.counter-face::after {
  right: 32%;
}

.counter-line {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 36%;
  height: 7px;
  border-radius: 999px;
  background: rgba(71, 34, 26, 0.34);
}

.counter-line.short {
  top: 60%;
  left: 18%;
  right: 18%;
  opacity: 0.58;
}

.dialog-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9;
  display: grid;
  grid-template-rows: 1fr auto;
  height: 33.333%;
  min-height: 220px;
  padding: 14px 12px max(14px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 226, 174, 0.28);
  background:
    linear-gradient(180deg, rgba(56, 34, 27, 0.84), rgba(24, 15, 13, 0.97)),
    linear-gradient(90deg, rgba(255, 233, 184, 0.08), transparent 22%, transparent 78%, rgba(255, 233, 184, 0.08));
  box-shadow: 0 -18px 44px rgba(16, 9, 8, 0.5);
  backdrop-filter: blur(16px);
}

.messages {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow-y: auto;
  padding: 4px 6px 10px;
  scrollbar-width: thin;
}

.message-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  margin-bottom: 11px;
}

.message-row.user {
  align-items: flex-end;
}

.message-row.ai {
  align-items: flex-start;
}

.message-meta {
  padding: 0 9px;
  color: rgba(255, 243, 218, 0.9);
  font-size: 12px;
  font-weight: 800;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.bubble {
  position: relative;
  max-width: min(84%, 350px);
  padding: 12px 14px;
  border: 1px solid rgba(87, 52, 38, 0.14);
  border-radius: 18px;
  color: var(--ink);
  background: var(--cream);
  box-shadow: 0 12px 28px rgba(24, 16, 12, 0.24);
  line-height: 1.55;
  word-break: break-word;
  backdrop-filter: blur(8px);
}

.message-row.ai .bubble {
  border-bottom-left-radius: 6px;
}

.message-row.user .bubble {
  border-color: rgba(44, 79, 75, 0.24);
  border-bottom-right-radius: 6px;
  color: #112826;
  background: var(--mint);
}

.chat-input {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 236, 197, 0.3);
  border-radius: 18px;
  background: rgba(24, 18, 16, 0.72);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(16px);
}

.chat-input input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255, 237, 204, 0.42);
  border-radius: 12px;
  color: #fffaf0;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.chat-input input::placeholder {
  color: rgba(255, 244, 222, 0.62);
}

.chat-input input:focus {
  border-color: rgba(255, 217, 137, 0.92);
  box-shadow: 0 0 0 3px rgba(231, 183, 95, 0.16);
}

.chat-input button {
  min-width: 68px;
  height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  color: #2c1b12;
  background: linear-gradient(180deg, #ffe3a2, #d89549);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(36, 21, 12, 0.28);
}

.chat-input button:disabled {
  cursor: wait;
  opacity: 0.72;
}

@keyframes warmLight {
  0%,
  100% {
    opacity: 0.82;
    transform: translateX(-50%) scaleX(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scaleX(1.08);
  }
}

@keyframes mimiBreath {
  0%,
  100% {
    transform: translateX(-50%) translateY(0) scale(1);
  }
  50% {
    transform: translateX(-50%) translateY(2px) scale(1.012, 0.994);
  }
}

@keyframes headAlive {
  0%,
  100% {
    transform: rotate(-0.5deg) translateY(0);
  }
  50% {
    transform: rotate(0.8deg) translateY(-3px);
  }
}

@keyframes speakingHead {
  0%,
  100% {
    transform: rotate(-0.4deg) translateY(0);
  }
  50% {
    transform: rotate(0.4deg) translateY(-4px);
  }
}

@keyframes thinkingHead {
  0%,
  100% {
    transform: rotate(-2deg);
  }
  50% {
    transform: rotate(2deg) translateY(-2px);
  }
}

@keyframes hissBody {
  0%,
  100% {
    transform: translateX(-50%) translate(0, 0) scale(1.018);
  }
  50% {
    transform: translateX(-50%) translate(-2px, 1px) scale(1.018);
  }
}

@keyframes hissHead {
  0%,
  100% {
    transform: rotate(-2deg) translate(0, -2px) scale(1.03);
  }
  50% {
    transform: rotate(2deg) translate(2px, -3px) scale(1.03);
  }
}

@keyframes hissMouth {
  0% {
    transform: translateX(-50%) scaleY(0.85);
  }
  100% {
    transform: translateX(-50%) scaleY(1.15);
  }
}

@keyframes eyelidBlink {
  0%,
  90%,
  94%,
  100% {
    transform: translateY(-112%);
  }
  92% {
    transform: translateY(0);
  }
}

@keyframes eyeLook {
  0%,
  100% {
    transform: translate(0, 0);
  }
  45% {
    transform: translate(7px, 2px);
  }
  70% {
    transform: translate(-3px, 1px);
  }
}

@keyframes talkMouth {
  0% {
    transform: translateX(-50%) scaleY(0.55);
  }
  100% {
    transform: translateX(-50%) scaleY(1.15);
  }
}

@keyframes pawTap {
  0%,
  86%,
  100% {
    transform: translateY(0);
  }
  92% {
    transform: translateY(-4px);
  }
}

@keyframes earTwitchLeft {
  0%,
  84%,
  100% {
    transform: rotate(-28deg) skewY(14deg);
  }
  88% {
    transform: rotate(-34deg) skewY(14deg);
  }
}

@keyframes earTwitchRight {
  0%,
  84%,
  100% {
    transform: rotate(28deg) skewY(-14deg);
  }
  88% {
    transform: rotate(34deg) skewY(-14deg);
  }
}

@media (min-width: 700px) {
  .game-shell {
    padding: 24px;
  }

  .shop-stage {
    height: min(100vh - 48px, 920px);
    border-radius: 30px;
  }
}

@media (max-height: 720px) {
  .mimi-character {
    bottom: 33%;
    width: min(66vw, 292px);
    height: min(76vw, 336px);
  }

  .dialog-panel {
    min-height: 210px;
  }
}
