:root {
  color-scheme: light;
  --ink: #5a413b;
  --ink-soft: #8a6c64;
  --cream: #fff9f1;
  --cream-deep: #f7eadc;
  --paper: #fffdf9;
  --pink: #f5b8c5;
  --pink-soft: #ffe8ed;
  --blue: #b9dfea;
  --blue-soft: #e8f6fa;
  --yellow: #f5d98e;
  --yellow-soft: #fff2c9;
  --line: rgba(108, 73, 63, 0.13);
  --shadow-soft: 0 16px 45px rgba(130, 91, 71, 0.13);
  --shadow-small: 0 8px 20px rgba(119, 80, 60, 0.12);
  --font-rounded: "Arial Rounded MT Bold", "Nunito", "Trebuchet MS", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  --font-cjk: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: #f7eee5;
}

body {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-cjk);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.95) 0 3px, transparent 4px),
    radial-gradient(circle at 83% 16%, rgba(245, 184, 197, 0.26) 0 4px, transparent 5px),
    radial-gradient(circle at 22% 84%, rgba(185, 223, 234, 0.32) 0 5px, transparent 6px),
    linear-gradient(145deg, #fff9f2 0%, #f8ede4 52%, #f3f8f5 100%);
  background-size: 38px 38px, 54px 54px, 64px 64px, 100% 100%;
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(239, 138, 107, 0.55);
  outline-offset: 3px;
}

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

#app {
  min-height: 100svh;
  padding: 12px;
}

.game-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 10px;
  width: min(1180px, 100%);
  height: calc(100svh - 24px);
  margin: 0 auto;
}

.status-bar-mount,
.room-mount,
.interaction-mount {
  min-height: 0;
}

.status-bar {
  position: relative;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(260px, 0.9fr);
  align-items: center;
  gap: 18px;
  min-height: 70px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 18px;
  background: rgba(255, 251, 246, 0.8);
  box-shadow: 0 8px 28px rgba(126, 89, 68, 0.07);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  color: inherit;
  text-decoration: none;
}

.brand__mark {
  position: relative;
  display: grid;
  flex: 0 0 43px;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: #fff;
  background:
    radial-gradient(circle at 50% 42%, #fff7 0 10%, transparent 11%),
    linear-gradient(145deg, #f3a3b3, #ec806f);
  box-shadow:
    0 6px 15px rgba(214, 119, 100, 0.22),
    inset 0 -3px 0 rgba(126, 67, 50, 0.12);
}

.brand__mark::before,
.brand__mark::after {
  position: absolute;
  width: 6px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  content: "";
  transform: rotate(-27deg);
}

.brand__mark::before {
  top: 10px;
  left: 10px;
  box-shadow:
    11px -4px 0 -1px rgba(255, 255, 255, 0.92),
    21px 3px 0 -1px rgba(255, 255, 255, 0.92);
}

.brand__mark::after {
  bottom: 9px;
  left: 15px;
  width: 17px;
  height: 13px;
  transform: rotate(-2deg);
}

.brand__paw {
  position: relative;
  z-index: 1;
  color: transparent;
  font-size: 0;
}

.brand__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__copy strong {
  font-family: var(--font-rounded);
  font-size: 18px;
  letter-spacing: 0;
  line-height: 1.15;
  white-space: nowrap;
}

.brand__copy em {
  color: #e78674;
  font-style: normal;
}

.brand__copy small {
  color: #a5897e;
  font-family: var(--font-rounded);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.status-bar__center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.soft-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 31px;
  padding: 6px 11px;
  border: 1px solid rgba(117, 87, 76, 0.08);
  border-radius: 999px;
  color: #7b6158;
  background: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.pill-icon {
  color: #d5a45a;
  font-family: var(--font-rounded);
  font-size: 15px;
  line-height: 1;
}

.weather-icon {
  color: #e2a654;
}

.pack-status {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.pack-status__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  min-width: 0;
}

.pack-status__copy small {
  color: #a4897d;
  font-size: 9px;
}

.pack-status__copy strong {
  overflow: hidden;
  max-width: 120px;
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pack-faces {
  display: flex;
  align-items: center;
  padding-left: 8px;
}

.pack-face {
  position: relative;
  width: 31px;
  height: 31px;
  margin-left: -7px;
  padding: 2px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  background: #fff7ef;
  box-shadow: 0 4px 10px rgba(94, 62, 52, 0.15);
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.pack-face:hover,
.pack-face.is-selected {
  z-index: 3;
  transform: translateY(-3px);
  box-shadow:
    0 6px 13px rgba(94, 62, 52, 0.18),
    0 0 0 2px rgba(239, 138, 107, 0.34);
}

.pack-face img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.pack-face__dot {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 8px;
  height: 8px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #7fc4a2;
}

.pack-face.is-sleeping .pack-face__dot {
  background: #a6a2c9;
}

.pet-room {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0.1), rgba(255, 255, 255, 0.08)),
    linear-gradient(180deg, #f9e9de 0%, #f9eee5 68%, #edd7c5 68.1%, #e9cfbb 100%);
  box-shadow:
    var(--shadow-soft),
    inset 0 0 0 1px rgba(112, 81, 70, 0.05);
}

.pet-room::before {
  position: absolute;
  inset: 0 0 32%;
  z-index: -2;
  background:
    radial-gradient(circle, rgba(165, 126, 113, 0.09) 0 1.2px, transparent 1.5px) 0 0 /
      21px 21px,
    linear-gradient(180deg, #f8e8dd, #faeee6);
  content: "";
}

.pet-room::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -2;
  height: 32%;
  border-top: 2px solid rgba(148, 103, 83, 0.08);
  background:
    repeating-linear-gradient(
      104deg,
      transparent 0 77px,
      rgba(146, 103, 79, 0.055) 78px 80px
    ),
    linear-gradient(180deg, #eed7c5, #e8ccb8);
  content: "";
}

.room-glow {
  position: absolute;
  top: -4%;
  right: 2%;
  z-index: -1;
  width: 58%;
  height: 70%;
  background: linear-gradient(
    115deg,
    rgba(255, 247, 205, 0.3),
    rgba(255, 255, 255, 0.18) 48%,
    transparent 48.5%
  );
  filter: blur(1px);
  pointer-events: none;
}

.room-window {
  position: absolute;
  top: 7%;
  right: 8%;
  z-index: 0;
  width: 34%;
  height: 36%;
  border: 8px solid #fdf9f3;
  border-radius: 46% 46% 4px 4px;
  background: #cbeaf4;
  box-shadow:
    0 8px 0 rgba(125, 91, 76, 0.08),
    inset 0 0 0 2px rgba(120, 91, 80, 0.11);
}

.window-sky {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 41% 41% 0 0;
  background:
    linear-gradient(180deg, #c9ebf4 0%, #e5f6f8 50%, #d9efce 100%);
}

.window-sky::before,
.window-sky::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.window-sky::before {
  left: 49%;
  width: 3px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 1px rgba(113, 91, 77, 0.08);
}

.window-sky::after {
  top: 52%;
  height: 3px;
  border-block: 1px solid rgba(113, 91, 77, 0.08);
  background: rgba(255, 255, 255, 0.95);
}

.window-sun {
  position: absolute;
  top: 15%;
  right: 12%;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: #ffe5a3;
  box-shadow:
    0 0 0 8px rgba(255, 235, 167, 0.24),
    0 0 25px rgba(255, 226, 135, 0.6);
}

.window-cloud {
  position: absolute;
  width: 54px;
  height: 17px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
}

.window-cloud::before,
.window-cloud::after {
  position: absolute;
  bottom: 3px;
  border-radius: 50%;
  background: inherit;
  content: "";
}

.window-cloud::before {
  left: 8px;
  width: 22px;
  height: 22px;
}

.window-cloud::after {
  right: 8px;
  width: 16px;
  height: 16px;
}

.window-cloud--one {
  top: 40%;
  left: 12%;
}

.window-cloud--two {
  top: 28%;
  left: 52%;
  transform: scale(0.67);
}

.window-hill {
  position: absolute;
  bottom: -30%;
  border-radius: 50%;
  background: #a8d49a;
}

.window-hill--one {
  left: -20%;
  width: 100%;
  height: 65%;
  transform: rotate(8deg);
}

.window-hill--two {
  right: -24%;
  width: 88%;
  height: 56%;
  background: #bfdf9c;
  transform: rotate(-8deg);
}

.curtain {
  position: absolute;
  top: -11px;
  z-index: 2;
  width: 24%;
  height: 108%;
  border-radius: 65% 8% 48% 15%;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(241, 181, 176, 0.06) 0 9px,
      rgba(255, 255, 255, 0.22) 10px 16px
    ),
    #f4c5be;
  box-shadow: inset -4px 0 5px rgba(142, 90, 78, 0.07);
}

.curtain--left {
  left: -10%;
  transform: rotate(2deg);
}

.curtain--right {
  right: -10%;
  border-radius: 8% 65% 15% 48%;
  transform: rotate(-2deg);
}

.window-sill {
  position: absolute;
  right: -6%;
  bottom: -13px;
  left: -6%;
  z-index: 3;
  height: 17px;
  border-radius: 3px;
  background: #fffaf4;
  box-shadow: 0 7px 10px rgba(106, 76, 62, 0.1);
}

.window-plant {
  position: absolute;
  top: 27%;
  right: 4%;
  z-index: 2;
  width: 74px;
  height: 95px;
}

.plant-pot {
  position: absolute;
  bottom: 0;
  left: 19px;
  width: 40px;
  height: 35px;
  border-radius: 5px 5px 17px 17px;
  background: #e8a779;
  box-shadow: inset 0 5px 0 rgba(255, 255, 255, 0.16);
}

.leaf {
  position: absolute;
  bottom: 26px;
  width: 25px;
  height: 45px;
  border-radius: 90% 12% 90% 12%;
  background: #91b88a;
  transform-origin: 50% 100%;
}

.leaf--1 {
  left: 28px;
  transform: rotate(-25deg);
}

.leaf--2 {
  left: 39px;
  transform: rotate(8deg) scale(0.95);
}

.leaf--3 {
  left: 18px;
  transform: rotate(-50deg) scale(0.72);
}

.leaf--4 {
  left: 47px;
  transform: rotate(35deg) scale(0.7);
}

.room-ceiling-light {
  position: absolute;
  top: 0;
  left: 29%;
  z-index: 1;
  width: 110px;
  height: 150px;
  transform: translateX(-50%);
}

.ceiling-light__cord {
  position: absolute;
  top: 0;
  left: 54px;
  width: 2px;
  height: 42px;
  background: rgba(110, 82, 72, 0.26);
}

.ceiling-light__shade {
  position: absolute;
  top: 39px;
  left: 22px;
  width: 66px;
  height: 40px;
  border-radius: 50% 50% 9px 9px;
  background: #f8d6a0;
  box-shadow: 0 6px 0 rgba(132, 92, 66, 0.08);
  clip-path: polygon(31% 0, 69% 0, 100% 100%, 0 100%);
}

.ceiling-light__bulb {
  position: absolute;
  top: 74px;
  left: 48px;
  width: 14px;
  height: 18px;
  border-radius: 0 0 50% 50%;
  background: #fff2b9;
  box-shadow: 0 8px 25px 8px rgba(255, 231, 155, 0.32);
}

.garland {
  position: absolute;
  top: 0;
  left: 2%;
  z-index: 1;
  width: 58%;
  height: 64px;
  border-top: 2px solid rgba(121, 86, 72, 0.25);
  border-radius: 50%;
  transform: rotate(1deg);
}

.garland span {
  position: absolute;
  top: 11px;
  width: 18px;
  height: 13px;
  border-radius: 3px;
  background: #f2a89b;
  box-shadow: 0 4px 7px rgba(106, 74, 63, 0.08);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.garland span:nth-child(1) {
  left: 8%;
}

.garland span:nth-child(2) {
  top: 15px;
  left: 24%;
  background: #afd4dc;
}

.garland span:nth-child(3) {
  top: 19px;
  left: 41%;
  background: #f2d282;
}

.garland span:nth-child(4) {
  top: 20px;
  left: 58%;
  background: #f2a89b;
}

.garland span:nth-child(5) {
  top: 15px;
  left: 75%;
  background: #afd4dc;
}

.garland span:nth-child(6) {
  top: 8px;
  left: 91%;
  background: #f2d282;
}

.wall-shelf {
  position: absolute;
  top: 24%;
  left: 5%;
  z-index: 1;
  width: 20%;
  height: 102px;
}

.shelf-board {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 11px;
  border-radius: 3px;
  background: #e2b78c;
  box-shadow: 0 7px 10px rgba(104, 70, 53, 0.1);
}

.mini-frame {
  position: absolute;
  bottom: 9px;
  display: grid;
  place-items: center;
  border: 5px solid #fff9f4;
  background: #f8d8d4;
  box-shadow: 0 3px 7px rgba(104, 70, 53, 0.12);
}

.mini-frame i {
  color: #dd8f8b;
  font-family: var(--font-rounded);
  font-size: 17px;
  font-style: normal;
}

.mini-frame--one {
  left: 4%;
  width: 45px;
  height: 50px;
  transform: rotate(-4deg);
}

.mini-frame--two {
  left: 36%;
  width: 39px;
  height: 44px;
  background: #dcebf0;
  transform: rotate(3deg);
}

.shelf-jar {
  position: absolute;
  bottom: 9px;
  width: 21px;
  border-radius: 50% 50% 5px 5px;
  background: rgba(255, 248, 223, 0.8);
  box-shadow: inset 0 0 0 2px rgba(163, 117, 88, 0.16);
}

.shelf-jar::before {
  position: absolute;
  top: -4px;
  right: 1px;
  left: 1px;
  height: 5px;
  border-radius: 999px;
  background: #d5a978;
  content: "";
}

.shelf-jar--one {
  right: 20%;
  height: 32px;
}

.shelf-jar--two {
  right: 3%;
  height: 24px;
}

.shelf-book {
  position: absolute;
  right: 38%;
  bottom: 9px;
  width: 8px;
  height: 34px;
  border-radius: 2px 2px 0 0;
  background: #d6bfae;
  transform: rotate(8deg);
}

.wall-note {
  position: absolute;
  top: 15%;
  left: 39%;
  z-index: 1;
  width: 76px;
  height: 66px;
  border-radius: 3px;
  background: #fff4cf;
  box-shadow: 0 5px 12px rgba(104, 75, 59, 0.09);
  transform: rotate(-2deg);
}

.wall-note__tape {
  position: absolute;
  top: -7px;
  left: 25px;
  width: 28px;
  height: 14px;
  background: rgba(255, 255, 255, 0.55);
  transform: rotate(3deg);
}

.wall-note__heart {
  position: absolute;
  top: 14px;
  left: 13px;
  color: #ed9f96;
  font-size: 17px;
}

.wall-note__line {
  position: absolute;
  top: 36px;
  left: 13px;
  width: 46px;
  height: 3px;
  border-radius: 999px;
  background: rgba(158, 121, 85, 0.2);
}

.wall-note__line--short {
  top: 46px;
  width: 31px;
}

.sofa {
  position: absolute;
  bottom: 5%;
  left: 22%;
  z-index: 2;
  width: 49%;
  height: 27%;
  filter: drop-shadow(0 13px 11px rgba(99, 67, 53, 0.11));
}

.sofa__back {
  position: absolute;
  top: 12%;
  right: 5%;
  left: 5%;
  height: 48%;
  border-radius: 26% 26% 12px 12px;
  background: #b7d5d3;
  box-shadow: inset 0 7px 0 rgba(255, 255, 255, 0.16);
}

.sofa__seat {
  position: absolute;
  right: 0;
  bottom: 16%;
  left: 0;
  height: 35%;
  border-radius: 9px 9px 14px 14px;
  background: #c6dfdc;
  box-shadow:
    inset 0 8px 0 rgba(255, 255, 255, 0.24),
    inset 0 -9px 0 rgba(105, 155, 152, 0.08);
}

.sofa__arm {
  position: absolute;
  bottom: 15%;
  z-index: 2;
  width: 15%;
  height: 47%;
  border-radius: 45% 45% 8px 8px;
  background: #aacbc8;
}

.sofa__arm--left {
  left: -2%;
}

.sofa__arm--right {
  right: -2%;
}

.sofa__cushion {
  position: absolute;
  top: 27%;
  z-index: 3;
  display: grid;
  width: 21%;
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-radius: 30% 30% 25% 25%;
  color: rgba(255, 255, 255, 0.8);
  background: #f3c8c5;
  font-size: 17px;
  box-shadow: 0 4px 8px rgba(100, 70, 58, 0.08);
  transform: rotate(-7deg);
}

.sofa__cushion--one {
  left: 12%;
}

.sofa__cushion--two {
  right: 12%;
  background: #f3d69d;
  transform: rotate(7deg);
}

.sofa__leg {
  position: absolute;
  bottom: 5%;
  width: 5%;
  height: 13%;
  border-radius: 0 0 3px 3px;
  background: #a77b62;
}

.sofa__leg--left {
  left: 12%;
  transform: rotate(4deg);
}

.sofa__leg--right {
  right: 12%;
  transform: rotate(-4deg);
}

.side-table {
  position: absolute;
  right: 8%;
  bottom: 8%;
  z-index: 2;
  width: 105px;
  height: 145px;
}

.side-table__top {
  position: absolute;
  top: 22px;
  z-index: 3;
  width: 100%;
  height: 13px;
  border-radius: 50%;
  background: #e1b68d;
  box-shadow: 0 6px 0 #c99872;
}

.side-table__leg {
  position: absolute;
  top: 30px;
  left: 47px;
  width: 11px;
  height: 108px;
  border-radius: 0 0 4px 4px;
  background: #ca976e;
}

.side-table__book {
  position: absolute;
  top: 6px;
  width: 47px;
  height: 9px;
  border-radius: 2px;
}

.side-table__book--one {
  left: 13px;
  background: #e9a6a4;
  transform: rotate(-4deg);
}

.side-table__book--two {
  top: 12px;
  left: 23px;
  width: 45px;
  background: #a9cbd6;
  transform: rotate(3deg);
}

.side-table__cup {
  position: absolute;
  top: -2px;
  right: 8px;
  z-index: 5;
  width: 23px;
  height: 20px;
  border-radius: 4px 4px 10px 10px;
  background: #fff9f0;
  box-shadow: inset 0 -4px 0 #f0dfcf;
}

.side-table__cup i {
  position: absolute;
  top: 3px;
  right: -9px;
  width: 12px;
  height: 12px;
  border: 3px solid #fff9f0;
  border-left: 0;
  border-radius: 0 50% 50% 0;
}

.toy-basket {
  position: absolute;
  bottom: 8%;
  left: 5%;
  z-index: 2;
  width: 94px;
  height: 90px;
}

.toy-basket__body {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 55px;
  border-radius: 7px 7px 19px 19px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.14) 0 4px,
      transparent 4px 9px
    ),
    #d7aa7e;
  box-shadow: inset 0 7px 0 rgba(255, 255, 255, 0.14);
}

.toy-basket__ball,
.toy-basket__yarn {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.85);
}

.toy-basket__ball {
  bottom: 42px;
  left: 9px;
  width: 38px;
  height: 38px;
  background: #eab0b0;
}

.toy-basket__yarn {
  right: 8px;
  bottom: 43px;
  width: 33px;
  height: 33px;
  background: #a9cadf;
  font-size: 21px;
}

.room-rug {
  position: absolute;
  bottom: 3%;
  left: 8%;
  z-index: 1;
  width: 84%;
  height: 27%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, transparent 0 52%, rgba(255, 255, 255, 0.22) 53% 55%, transparent 56%),
    #f1d6a7;
  box-shadow: 0 12px 28px rgba(103, 72, 55, 0.08);
  transform: perspective(350px) rotateX(6deg);
}

.rug-flower {
  position: absolute;
  color: rgba(255, 255, 255, 0.48);
  font-size: 19px;
}

.rug-flower--one {
  top: 26%;
  left: 17%;
}

.rug-flower--two {
  right: 16%;
  bottom: 25%;
  transform: rotate(16deg);
}

.rug-flower--three {
  bottom: 15%;
  left: 45%;
  transform: scale(0.7) rotate(-12deg);
}

.floor-shadows {
  position: absolute;
  right: 6%;
  bottom: 4%;
  left: 6%;
  z-index: 2;
  height: 24%;
  background: radial-gradient(ellipse at center, rgba(99, 65, 48, 0.09), transparent 65%);
  filter: blur(7px);
  pointer-events: none;
}

.room-motes {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.room-motes i {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 246, 199, 0.72);
  box-shadow: 0 0 9px rgba(255, 238, 174, 0.7);
}

.room-motes i:nth-child(1) {
  top: 22%;
  left: 66%;
}

.room-motes i:nth-child(2) {
  top: 34%;
  left: 72%;
  transform: scale(0.7);
}

.room-motes i:nth-child(3) {
  top: 14%;
  left: 58%;
  transform: scale(0.55);
}

.room-motes i:nth-child(4) {
  top: 45%;
  right: 12%;
}

.room-motes i:nth-child(5) {
  top: 29%;
  left: 35%;
  transform: scale(0.48);
}

.room-motes i:nth-child(6) {
  top: 53%;
  left: 49%;
  transform: scale(0.7);
}

.room-pets {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
}

.pet-slot {
  position: absolute;
  width: 18%;
  pointer-events: auto;
}

.pet-slot--canele {
  bottom: 24%;
  left: 7%;
  z-index: 10;
  width: 14%;
}

.pet-slot--deoktokki {
  bottom: 2%;
  left: 23%;
  z-index: 12;
  width: 23%;
}

.pet-slot--dricon {
  bottom: 27%;
  left: 43%;
  z-index: 9;
  width: 14%;
}

.pet-slot--kurumong {
  bottom: 2%;
  left: 55%;
  z-index: 13;
  width: 18%;
}

.pet-slot--neokyangi {
  right: 4%;
  bottom: 18%;
  z-index: 11;
  width: 16%;
}

.pet-anchor {
  position: relative;
  width: 100%;
  transition: transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pet-slot.pose--approach-left .pet-anchor {
  transform: translateX(18%) rotate(-1deg);
}

.pet-slot.pose--approach-right .pet-anchor {
  transform: translateX(-16%) rotate(1deg);
}

.pet-slot.pose--cuddle-left .pet-anchor {
  transform: translate(13%, 3%) rotate(-4deg);
}

.pet-slot.pose--cuddle-right .pet-anchor {
  transform: translate(-12%, 4%) rotate(4deg);
}

.pet-slot.role--cuddle-left.pose--cuddle-left .pet-anchor {
  transform: translate(28%, 4%) rotate(-4deg);
}

.pet-slot.role--cuddle-right.pose--cuddle-right .pet-anchor {
  transform: translate(-26%, 5%) rotate(4deg);
}

.pet-slot.pose--peek .pet-anchor {
  transform: translateY(4%) rotate(1deg);
}

.pet-slot.pose--stretch .pet-anchor {
  transform: translateY(-4%) scale(1.02, 0.98);
}

.pet-slot--canele {
  --body-aspect: 464 / 760;
  --eye-line: #f7f1e7;
}

.pet-slot--deoktokki {
  --body-aspect: 730 / 760;
  --eye-line: #4b2d24;
}

.pet-slot--dricon {
  --body-aspect: 511 / 760;
  --eye-line: #5b403a;
}

.pet-slot--kurumong {
  --body-aspect: 573 / 760;
  --eye-line: #4d3d38;
}

.pet-slot--neokyangi {
  --body-aspect: 552 / 760;
  --eye-line: #4c3933;
}

.pet-button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.pet-button::after {
  position: absolute;
  inset: 8% 8% 18%;
  z-index: -2;
  border-radius: 50%;
  background: radial-gradient(circle, var(--pet-soft), transparent 70%);
  content: "";
  opacity: 0;
  transform: scale(0.7);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.pet-button:hover::after,
.pet-slot.is-selected .pet-button::after {
  opacity: 0.75;
  transform: scale(1);
}

.pet-shadow {
  position: absolute;
  right: 18%;
  bottom: 14%;
  left: 18%;
  z-index: -1;
  height: 9%;
  border-radius: 50%;
  background: rgba(92, 61, 48, 0.16);
  filter: blur(4px);
  transform: scaleX(1.04);
  transition: transform 250ms ease;
}

.pet-actor {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  transform-origin: 50% 92%;
}

.pet-body {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: var(--body-aspect);
  transform-origin: 50% 88%;
}

.pet-sprite {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.95))
    drop-shadow(0 4px 3px rgba(92, 61, 48, 0.12));
  user-select: none;
  -webkit-user-drag: none;
}

.pet-slot[data-sprite-action="bath"] .pet-eye,
.pet-slot[data-sprite-action="eat"] .pet-eye,
.pet-slot[data-sprite-action="sleep"] .pet-eye,
.pet-slot[data-sprite-action="pet"] .pet-eye {
  display: none;
}

.pet-eye {
  position: absolute;
  z-index: 6;
  height: 1.8%;
  border-radius: 999px;
  background: var(--eye-line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scaleY(0);
  transform-origin: 50% 50%;
}

.pet-slot--canele .pet-eye--left {
  top: 32.6%;
  left: 35.5%;
  width: 11%;
}

.pet-slot--canele .pet-eye--right {
  top: 32.6%;
  left: 68.5%;
  width: 11%;
}

.pet-slot--deoktokki .pet-eye--left {
  top: 39.7%;
  left: 34.5%;
  width: 10.5%;
}

.pet-slot--deoktokki .pet-eye--right {
  top: 39.2%;
  left: 64.5%;
  width: 10.5%;
}

.pet-slot--dricon .pet-eye--left {
  top: 43.8%;
  left: 30%;
  width: 8.5%;
}

.pet-slot--dricon .pet-eye--right {
  top: 43.6%;
  left: 60.8%;
  width: 8.5%;
}

.pet-slot--kurumong .pet-eye--left {
  top: 41.4%;
  left: 29.4%;
  width: 9.5%;
}

.pet-slot--kurumong .pet-eye--right {
  top: 41.4%;
  left: 67.2%;
  width: 9.5%;
}

.pet-slot--neokyangi .pet-eye--left {
  top: 48%;
  left: 37.7%;
  width: 7%;
}

.pet-slot--neokyangi .pet-eye--right {
  top: 48%;
  left: 60.7%;
  width: 7%;
}

.pet-slot.is-blinking .pet-eye {
  animation: pet-eye-blink 220ms ease-in-out both;
}

.pet-slot.is-sleeping .pet-eye {
  opacity: 0.84;
  transform: translate(-50%, -50%) scaleY(0.72) rotate(5deg);
}

.pet-slot.is-selected .pet-sprite {
  filter:
    drop-shadow(0 0 2px #fff)
    drop-shadow(0 0 4px rgba(239, 138, 107, 0.5))
    drop-shadow(0 5px 4px rgba(92, 61, 48, 0.12));
}

.pet-selected-ring {
  position: absolute;
  right: 8%;
  bottom: 17%;
  left: 8%;
  z-index: -1;
  height: 19%;
  border: 2px dashed var(--pet-strong);
  border-radius: 50%;
  opacity: 0;
  transform: rotateX(54deg) scale(0.8);
}

.pet-slot.is-selected .pet-selected-ring {
  opacity: 0.55;
  animation: selection-ring 2.8s linear infinite;
}

.pet-face {
  position: absolute;
  top: 6%;
  right: -4%;
  z-index: 4;
  display: none;
  width: 30%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--pet-soft);
  box-shadow: 0 4px 8px rgba(91, 61, 50, 0.2);
}

.pet-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pet-slot.is-selected .pet-face {
  display: block;
}

.pet-name {
  position: relative;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  margin-top: -8%;
  padding: 5px 10px 4px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.85);
  box-shadow: 0 4px 9px rgba(92, 61, 48, 0.1);
  backdrop-filter: blur(5px);
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.pet-button:hover .pet-name,
.pet-slot.is-selected .pet-name {
  background: #fffdfa;
  transform: translateY(-2px);
}

.pet-name strong {
  overflow: hidden;
  max-width: 100px;
  color: #654a43;
  font-family: var(--font-rounded);
  font-size: clamp(8px, 0.95vw, 11px);
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pet-name small {
  display: none;
  color: #a18378;
  font-size: 8px;
  white-space: nowrap;
}

.pet-slot.is-selected .pet-name small {
  display: inline;
}

.pet-mood-bubble {
  position: absolute;
  bottom: 96%;
  left: 50%;
  z-index: 8;
  width: max-content;
  max-width: 135px;
  padding: 6px 9px;
  border: 2px solid #fff;
  border-radius: 10px;
  color: #7e6158;
  background: rgba(255, 252, 247, 0.94);
  box-shadow: 0 5px 13px rgba(79, 52, 43, 0.12);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.3;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 5px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.pet-mood-bubble::after {
  position: absolute;
  top: 100%;
  left: calc(50% - 5px);
  border-width: 5px 5px 0;
  border-style: solid;
  border-color: #fff transparent transparent;
  content: "";
}

.pet-slot.is-selected .pet-mood-bubble {
  opacity: 1;
  transform: translate(-50%, 0);
}

.pet-event-effects {
  position: absolute;
  inset: 0;
  z-index: 9;
  pointer-events: none;
}

.effect-particle {
  position: absolute;
  top: 38%;
  left: 50%;
  color: #ee8f9e;
  font-family: var(--font-rounded);
  font-size: 20px;
  opacity: 0;
  text-shadow: 0 1px 0 #fff;
}

.effect-particle--bubbles {
  width: 13px;
  height: 13px;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: transparent;
  background: rgba(203, 237, 247, 0.35);
  box-shadow:
    inset 2px 2px 0 rgba(255, 255, 255, 0.75),
    0 0 0 1px rgba(133, 190, 209, 0.2);
  font-size: 0;
}

.effect-particle--food {
  font-size: 23px;
}

.effect-particle--sleep {
  color: #aba1d2;
  font-size: 24px;
}

.effect-particle--daydream {
  color: #a79bc7;
  font-size: 17px;
}

.pet-action-prop {
  position: absolute;
  top: 10%;
  left: 3%;
  z-index: 8;
  display: grid;
  min-width: 27px;
  min-height: 24px;
  place-items: center;
  padding: 3px 6px;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #856e63;
  background: var(--pet-soft);
  box-shadow: 0 4px 8px rgba(87, 57, 47, 0.13);
  font-family: var(--font-rounded);
  font-size: 10px;
  font-weight: 900;
  opacity: 0;
  transform: scale(0.7);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.pet-actor[data-action="sleep"] .pet-action-prop,
.pet-actor[data-action="eat"] .pet-action-prop,
.pet-actor[data-action="happy"] .pet-action-prop {
  opacity: 1;
  transform: scale(1);
}

.pet-role-prop {
  display: none;
  position: absolute;
  z-index: 7;
  pointer-events: none;
}

.role--playing .pet-role-prop {
  bottom: 5%;
  left: -7%;
  display: block;
  width: 15%;
  aspect-ratio: 1;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.45), transparent 45%),
    var(--pet-strong);
  box-shadow: 0 4px 7px rgba(79, 52, 43, 0.15);
}

.role--dreaming .pet-role-prop {
  top: 5%;
  right: -5%;
  display: grid;
  min-width: 30px;
  min-height: 22px;
  place-items: center;
  padding: 2px 7px;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #8f82af;
  background: #f4effb;
  box-shadow: 0 4px 9px rgba(79, 52, 43, 0.11);
  font-family: var(--font-rounded);
  font-size: 14px;
  line-height: 1;
}

.pet-thought {
  position: absolute;
  top: 6%;
  right: -7%;
  z-index: 9;
  display: grid;
  min-width: 31px;
  min-height: 23px;
  place-items: center;
  padding: 2px 8px;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #9b8da9;
  background: rgba(251, 248, 255, 0.95);
  box-shadow: 0 5px 10px rgba(83, 55, 45, 0.1);
  font-family: var(--font-rounded);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(5px) scale(0.85);
}

.pet-slot.is-curious .pet-thought {
  animation: pet-thought-float 2.8s ease-in-out both;
}

.pet-tap-spark {
  position: absolute;
  top: 24%;
  z-index: 11;
  color: #e9a051;
  font-family: var(--font-rounded);
  font-size: 16px;
  opacity: 0;
  pointer-events: none;
  text-shadow: 0 1px 0 #fff;
}

.pet-tap-spark--left {
  left: 4%;
}

.pet-tap-spark--right {
  right: 5%;
  color: #e88f9f;
  font-size: 14px;
}

.room-corner-label {
  position: absolute;
  bottom: 2.8%;
  left: 2.5%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 0;
  color: rgba(102, 73, 63, 0.36);
  font-family: var(--font-rounded);
  font-size: 6px;
  font-weight: 900;
  letter-spacing: 1.1px;
  pointer-events: none;
}

.room-corner-label strong {
  font-size: 9px;
  letter-spacing: 0.7px;
}

.room-overlay {
  position: absolute;
  inset: 0;
  z-index: 30;
  pointer-events: none;
}

.pet-info-card {
  position: absolute;
  top: 14px;
  right: 14px;
  width: min(310px, 66%);
  max-height: calc(100% - 28px);
  overflow: auto;
  padding: 14px;
  border: 2px solid rgba(255, 255, 255, 0.96);
  border-radius: 17px;
  background: rgba(255, 251, 246, 0.96);
  box-shadow:
    0 18px 42px rgba(87, 58, 48, 0.2),
    inset 0 0 0 1px rgba(109, 78, 67, 0.06);
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px) scale(0.97);
  transform-origin: 100% 0;
  transition:
    opacity 220ms ease,
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
  backdrop-filter: blur(14px);
  scrollbar-width: thin;
  scrollbar-color: rgba(178, 133, 113, 0.28) transparent;
}

.pet-info-card.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.info-card__accent {
  position: absolute;
  top: 0;
  right: 48px;
  left: 48px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, transparent, #f0a6ad, transparent);
}

.info-card__top {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 27px;
  align-items: center;
  gap: 10px;
}

.info-card__portrait {
  position: relative;
  width: 58px;
  height: 58px;
  padding: 3px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--portrait-bg);
  box-shadow: 0 6px 12px rgba(91, 61, 50, 0.14);
}

.info-card__portrait img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.portrait-sparkle {
  position: absolute;
  top: -5px;
  right: -3px;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #e5a93e;
  background: #fff1bd;
  font-size: 10px;
}

.info-card__identity {
  min-width: 0;
}

.info-card__identity small {
  display: block;
  overflow: hidden;
  color: #a3887c;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.info-card__identity h2 {
  overflow: hidden;
  margin: 1px 0 2px;
  color: #604640;
  font-family: var(--font-rounded);
  font-size: 19px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.info-card__identity > span {
  display: inline-flex;
  padding: 2px 6px;
  border-radius: 999px;
  color: #a27166;
  background: #ffebe8;
  font-size: 8px;
  font-weight: 700;
}

.icon-button {
  display: grid;
  width: 27px;
  height: 27px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(104, 73, 62, 0.09);
  border-radius: 50%;
  color: #92766c;
  background: rgba(255, 255, 255, 0.76);
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.icon-button:hover {
  background: #fff;
  transform: rotate(5deg);
}

.info-card__close span {
  margin-top: -2px;
  font-family: var(--font-rounded);
  font-size: 18px;
  line-height: 1;
}

.info-card__mood {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 11px 0 10px;
  padding: 8px 9px;
  border: 1px solid rgba(233, 154, 132, 0.12);
  border-radius: 10px;
  background: linear-gradient(135deg, #fff2ee, #fff9ed);
}

.mood-mark {
  color: #ea9a99;
  font-size: 19px;
}

.info-card__mood div {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.info-card__mood small {
  color: #ab8e82;
  font-size: 7px;
}

.info-card__mood strong {
  overflow: hidden;
  color: #74534b;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.action-chip {
  flex: 0 0 auto;
  padding: 4px 7px;
  border-radius: 999px;
  color: #86695f;
  background: rgba(255, 255, 255, 0.72);
  font-size: 7px;
  font-weight: 700;
}

.stat-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.stat-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 23px;
  align-items: center;
  gap: 7px;
}

.stat-row__label {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #81675e;
  font-size: 8px;
  font-weight: 700;
}

.stat-row__label i {
  display: inline-grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 50%;
  color: var(--stat-color);
  background: color-mix(in srgb, var(--stat-color) 15%, white);
  font-style: normal;
  font-size: 9px;
}

.stat-row__track {
  position: relative;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #f0e5dc;
  box-shadow: inset 0 1px 2px rgba(101, 69, 56, 0.08);
}

.stat-row__track i {
  position: absolute;
  inset: 0 auto 0 0;
  min-width: 4px;
  border-radius: inherit;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--stat-color) 70%, white), var(--stat-color));
  box-shadow: inset 0 -2px 0 rgba(105, 70, 56, 0.07);
  transition: width 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.stat-row strong {
  color: #765d55;
  font-family: var(--font-rounded);
  font-size: 9px;
  text-align: right;
}

.info-card__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 11px;
}

.detail-line {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 7px;
  border: 1px solid rgba(111, 80, 68, 0.07);
  border-radius: 9px;
  background: #fffdfa;
}

.detail-icon {
  display: grid;
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  color: #db936f;
  background: #fff0d8;
  font-size: 10px;
}

.detail-icon--note {
  color: #9e91b8;
  background: #f2edfa;
}

.detail-line > span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.detail-line small {
  color: #ae9388;
  font-size: 6px;
  white-space: nowrap;
}

.detail-line strong {
  overflow: hidden;
  color: #796159;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.info-card__personality {
  margin: 9px 2px 0;
  color: #9c8177;
  font-size: 7px;
  line-height: 1.55;
  text-align: center;
}

.interaction-shell {
  display: grid;
  grid-template-columns: minmax(190px, 0.72fr) minmax(0, 2fr);
  align-items: stretch;
  gap: 10px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 20px;
  background: rgba(255, 251, 246, 0.88);
  box-shadow: 0 12px 30px rgba(114, 78, 61, 0.1);
  backdrop-filter: blur(16px);
}

.care-context {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 8px 11px;
  border: 1px solid rgba(118, 85, 72, 0.08);
  border-radius: 13px;
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 255, 255, 0.9), transparent 25%),
    #f9eadf;
  overflow: hidden;
}

.care-context::after {
  position: absolute;
  right: -11px;
  bottom: -13px;
  width: 62px;
  height: 62px;
  border: 1px dashed rgba(219, 155, 133, 0.2);
  border-radius: 50%;
  content: "";
}

.care-context__avatar {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  overflow: hidden;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  color: #b18e80;
  background: var(--care-bg, #fff8f1);
  box-shadow: 0 5px 10px rgba(90, 59, 48, 0.11);
  font-family: var(--font-rounded);
  font-size: 17px;
}

.care-context__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.care-context__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.care-context__copy small {
  color: #a3887c;
  font-size: 7px;
}

.care-context__copy strong {
  overflow: hidden;
  color: #6e534b;
  font-size: 10px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.care-context__hint {
  position: absolute;
  right: 11px;
  bottom: 6px;
  color: rgba(139, 108, 95, 0.65);
  font-size: 6px;
}

.care-context.has-pet {
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.92), transparent 25%),
    linear-gradient(135deg, #fcece5, #f4f3e8);
}

.interaction-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.interaction-button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  min-height: 58px;
  overflow: hidden;
  border: 1px solid rgba(118, 84, 71, 0.08);
  border-radius: 13px;
  color: #775b52;
  background: #fff6ee;
  box-shadow:
    0 5px 10px rgba(105, 72, 56, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.interaction-button:hover {
  z-index: 2;
  border-color: rgba(225, 151, 131, 0.32);
  box-shadow:
    0 9px 16px rgba(105, 72, 56, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transform: translateY(-3px);
}

.interaction-button:active {
  box-shadow: 0 3px 7px rgba(105, 72, 56, 0.09);
  transform: translateY(1px) scale(0.97);
}

.interaction-button > span:last-of-type {
  font-size: clamp(8px, 0.9vw, 10px);
  font-weight: 800;
  white-space: nowrap;
}

.interaction-button__icon {
  display: block;
  font-size: clamp(20px, 2.2vw, 25px);
  line-height: 1;
  filter: drop-shadow(0 2px 0 rgba(255, 255, 255, 0.9));
  transition: transform 180ms ease;
}

.interaction-button:hover .interaction-button__icon {
  transform: translateY(-2px) rotate(-4deg) scale(1.08);
}

.interaction-button--feed {
  background: #fff0dd;
}

.interaction-button--play {
  background: #ffedf0;
}

.interaction-button--pet {
  background: #f9eae2;
}

.interaction-button--bath {
  background: #eaf6f9;
}

.interaction-button--sleep {
  background: #f0edf8;
}

.interaction-button__shine {
  position: absolute;
  top: -45%;
  left: -30%;
  width: 35%;
  height: 180%;
  background: rgba(255, 255, 255, 0.42);
  transform: rotate(24deg);
  transition: left 420ms ease;
}

.interaction-button:hover .interaction-button__shine {
  left: 110%;
}

.care-context.needs-selection {
  animation: selection-nudge 500ms ease;
}

.global-toast-mount {
  position: fixed;
  right: max(22px, calc((100vw - 1180px) / 2 + 22px));
  bottom: 112px;
  z-index: 200;
  pointer-events: none;
}

.event-notification {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 9px;
  width: min(350px, calc(100vw - 36px));
  padding: 10px 11px 10px 10px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  background: rgba(255, 251, 247, 0.96);
  box-shadow: 0 14px 34px rgba(83, 54, 43, 0.19);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px) scale(0.97);
  transition:
    opacity 220ms ease,
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
  backdrop-filter: blur(14px);
}

.event-notification.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.event-notification__icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #e48d93;
  background: #ffebed;
  font-family: var(--font-rounded);
  font-size: 18px;
  box-shadow: inset 0 -3px 0 rgba(222, 126, 135, 0.08);
}

.event-notification[data-tone="hint"] .event-notification__icon {
  color: #d8a349;
  background: #fff2c9;
}

.event-notification[data-tone="bath"] .event-notification__icon {
  color: #6fa9bd;
  background: #e8f6fa;
}

.event-notification[data-tone="sleep"] .event-notification__icon {
  color: #978ebb;
  background: #efedf8;
}

.event-notification__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.event-notification__body small {
  color: #b08777;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.event-notification__body strong {
  color: #674d45;
  font-size: 10px;
  line-height: 1.45;
}

.event-notification__body em {
  overflow: hidden;
  color: #9f8277;
  font-size: 7px;
  font-style: normal;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-notification__close {
  display: grid;
  width: 22px;
  height: 22px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #a58a7e;
  background: transparent;
  cursor: pointer;
}

.event-notification__close:hover {
  background: #f8eee7;
}

@media (max-width: 1000px) {
  .status-bar {
    grid-template-columns: minmax(205px, 1fr) auto minmax(210px, 0.85fr);
    gap: 10px;
  }

  .brand__copy small {
    display: none;
  }

  .pack-status__copy {
    display: none;
  }

  .pet-slot--canele {
    left: 5%;
  }

  .pet-slot--deoktokki {
    left: 20%;
  }
}

@media (max-width: 720px) {
  #app {
    padding: 7px;
  }

  .game-shell {
    gap: 7px;
    height: calc(100svh - 14px);
  }

  .status-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand pack"
      "center center";
    gap: 5px 8px;
    min-height: 75px;
    padding: 8px 10px 7px;
    border-radius: 15px;
  }

  .brand {
    grid-area: brand;
  }

  .brand__mark {
    flex-basis: 35px;
    width: 35px;
    height: 35px;
  }

  .brand__mark::before {
    top: 8px;
    left: 8px;
    transform: scale(0.8) rotate(-27deg);
  }

  .brand__mark::after {
    bottom: 7px;
    left: 12px;
    transform: scale(0.8);
  }

  .brand__copy strong {
    font-size: 14px;
  }

  .status-bar__center {
    grid-area: center;
    justify-content: flex-start;
    gap: 5px;
    overflow: hidden;
  }

  .soft-pill {
    min-height: 22px;
    padding: 3px 8px;
    font-size: 8px;
  }

  .pill-icon {
    font-size: 11px;
  }

  .pack-status {
    grid-area: pack;
    gap: 0;
  }

  .pack-faces {
    padding-left: 5px;
  }

  .pack-face {
    width: 25px;
    height: 25px;
    margin-left: -6px;
    border-width: 1.5px;
  }

  .pack-face__dot {
    width: 7px;
    height: 7px;
    border-width: 1.5px;
  }

  .pet-room {
    min-height: 350px;
    border-width: 3px;
    border-radius: 19px;
  }

  .room-window {
    top: 8%;
    right: 6%;
    width: 43%;
    height: 29%;
    border-width: 5px;
  }

  .window-plant {
    top: 27%;
    right: 1%;
    width: 54px;
    height: 70px;
    transform: scale(0.84);
    transform-origin: top right;
  }

  .wall-shelf {
    top: 26%;
    left: 4%;
    width: 26%;
    height: 72px;
    transform: scale(0.82);
    transform-origin: top left;
  }

  .wall-note {
    top: 17%;
    left: 42%;
    width: 61px;
    height: 54px;
    transform: scale(0.88) rotate(-2deg);
  }

  .room-ceiling-light {
    left: 38%;
    transform: translateX(-50%) scale(0.8);
    transform-origin: top center;
  }

  .garland {
    width: 63%;
  }

  .sofa {
    bottom: 6%;
    left: 18%;
    width: 63%;
    height: 24%;
  }

  .side-table {
    right: 3%;
    bottom: 6%;
    transform: scale(0.75);
    transform-origin: bottom right;
  }

  .toy-basket {
    bottom: 5%;
    left: 1%;
    transform: scale(0.75);
    transform-origin: bottom left;
  }

  .room-rug {
    left: 4%;
    width: 92%;
    height: 25%;
  }

  .pet-slot--canele {
    bottom: 23%;
    left: 1%;
    width: 22%;
  }

  .pet-slot--deoktokki {
    bottom: 1%;
    left: 13%;
    width: 30%;
  }

  .pet-slot--dricon {
    bottom: 30%;
    left: 36%;
    width: 22%;
  }

  .pet-slot--kurumong {
    bottom: 1%;
    left: 45%;
    width: 28%;
  }

  .pet-slot--neokyangi {
    right: 0;
    bottom: 19%;
    width: 24%;
  }

  .pet-name {
    gap: 3px;
    margin-top: -8%;
    padding: 4px 7px 3px;
  }

  .pet-name strong {
    font-size: 7px;
  }

  .pet-slot.is-selected .pet-name small {
    display: none;
  }

  .pet-mood-bubble {
    bottom: 97%;
    max-width: 105px;
    padding: 4px 6px;
    font-size: 7px;
  }

  .pet-action-prop {
    min-width: 22px;
    min-height: 19px;
    padding: 2px 4px;
    font-size: 8px;
  }

  .pet-info-card {
    top: 8px;
    right: 8px;
    width: min(238px, 69%);
    max-height: calc(100% - 16px);
    padding: 10px;
    border-radius: 14px;
  }

  .info-card__top {
    grid-template-columns: 45px minmax(0, 1fr) 24px;
    gap: 7px;
  }

  .info-card__portrait {
    width: 45px;
    height: 45px;
  }

  .info-card__identity h2 {
    font-size: 15px;
  }

  .info-card__identity small {
    font-size: 6px;
  }

  .icon-button {
    width: 24px;
    height: 24px;
  }

  .info-card__mood {
    gap: 5px;
    margin: 8px 0;
    padding: 6px;
  }

  .mood-mark {
    font-size: 14px;
  }

  .info-card__mood strong {
    font-size: 8px;
  }

  .action-chip {
    padding: 3px 5px;
    font-size: 6px;
  }

  .stat-list {
    gap: 5px;
  }

  .stat-row {
    grid-template-columns: 53px minmax(0, 1fr) 20px;
    gap: 5px;
  }

  .stat-row__label {
    gap: 3px;
    font-size: 7px;
  }

  .stat-row__label i {
    width: 13px;
    height: 13px;
    font-size: 7px;
  }

  .stat-row__track {
    height: 6px;
  }

  .stat-row strong {
    font-size: 8px;
  }

  .info-card__details {
    gap: 4px;
    margin-top: 8px;
  }

  .detail-line {
    gap: 4px;
    padding: 5px;
  }

  .detail-icon {
    flex-basis: 17px;
    width: 17px;
    height: 17px;
    font-size: 8px;
  }

  .detail-line small,
  .detail-line strong {
    font-size: 6px;
  }

  .info-card__personality {
    display: none;
  }

  .interaction-shell {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 6px;
    border-radius: 16px;
  }

  .care-context {
    min-height: 34px;
    padding: 4px 8px;
    border-radius: 10px;
  }

  .care-context__avatar {
    flex-basis: 26px;
    width: 26px;
    height: 26px;
    border-width: 1.5px;
    font-size: 12px;
  }

  .care-context__copy {
    gap: 0;
  }

  .care-context__copy small {
    font-size: 6px;
  }

  .care-context__copy strong {
    font-size: 8px;
  }

  .care-context__hint {
    right: 8px;
    bottom: 5px;
    font-size: 5px;
  }

  .interaction-bar {
    gap: 4px;
  }

  .interaction-button {
    min-height: 53px;
    gap: 1px;
    border-radius: 10px;
  }

  .interaction-button__icon {
    font-size: 20px;
  }

  .interaction-button > span:last-of-type {
    font-size: 8px;
  }

  .global-toast-mount {
    bottom: 128px;
    right: 12px;
  }

  .event-notification {
    grid-template-columns: 32px minmax(0, 1fr) 18px;
    gap: 7px;
    width: min(325px, calc(100vw - 24px));
    padding: 8px;
    border-radius: 13px;
  }

  .event-notification__icon {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }

  .event-notification__body strong {
    font-size: 9px;
  }

  .event-notification__body em {
    font-size: 6px;
  }
}

@media (max-width: 390px) {
  .brand__copy strong {
    font-size: 12px;
  }

  .brand__mark {
    flex-basis: 31px;
    width: 31px;
    height: 31px;
  }

  .pack-face {
    width: 23px;
    height: 23px;
  }

  .status-bar {
    padding-inline: 8px;
  }

  .pet-info-card {
    width: min(222px, 72%);
    padding: 9px;
  }

  .pet-name strong {
    max-width: 75px;
    font-size: 6.5px;
  }

  .interaction-button__icon {
    font-size: 18px;
  }

  .interaction-button {
    min-height: 50px;
  }
}

@media (max-height: 700px) and (max-width: 720px) {
  .status-bar {
    min-height: 66px;
    padding-block: 5px;
  }

  .brand__mark {
    flex-basis: 31px;
    width: 31px;
    height: 31px;
  }

  .brand__copy strong {
    font-size: 13px;
  }

  .soft-pill {
    min-height: 19px;
  }

  .care-context {
    min-height: 28px;
  }

  .interaction-button {
    min-height: 46px;
  }

  .interaction-button__icon {
    font-size: 17px;
  }

  .interaction-shell {
    gap: 4px;
    padding: 5px;
  }

  .global-toast-mount {
    bottom: 119px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
