﻿:root {
  color-scheme: dark;
  --ink: #0b0b0d;
  --blue-black: #071b38;
  --royal-blue: #123c7a;
  --soft-white: #f4efe6;
  --old-paper: #d8c7a7;
  --dialogue: rgba(7, 10, 14, 0.88);
  --dialogue-border: rgba(229, 216, 190, 0.82);
  --intro-white: #f5f1e9;
  --font-game: "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  --font-opening: Georgia, Cambria, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

[hidden] {
  display: none !important;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #02060c;
  font-family: var(--font-game);
}

body.needs-landscape .game-shell,
body.needs-landscape .intro-preview,
body.needs-landscape .opening-intro {
  filter: brightness(0.34) blur(2px);
  pointer-events: none;
}

.orientation-gate {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
  place-items: center;
  padding: max(22px, env(safe-area-inset-top)) max(22px, env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-left));
  background: rgba(2, 6, 12, 0.92);
  color: var(--soft-white);
  text-align: center;
  font-family: var(--font-game);
}

body.needs-landscape .orientation-gate {
  display: grid;
}

.orientation-gate__phone {
  width: 54px;
  height: 86px;
  margin: 0 auto 18px;
  border: 3px solid rgba(244, 239, 230, 0.82);
  border-radius: 13px;
  box-shadow: 0 0 22px rgba(244, 239, 230, 0.08);
  transform: rotate(90deg);
}

.orientation-gate__title {
  font-size: 24px;
  line-height: 1.1;
  margin-bottom: 8px;
}

.orientation-gate__text {
  max-width: 280px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(244, 239, 230, 0.72);
}

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.opening-intro {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.035), transparent 38%),
    #050505;
  color: var(--intro-white);
  cursor: pointer;
  opacity: 1;
}

.opening-intro__text {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.34em;
  min-width: min(82vw, 720px);
  font-family: var(--font-opening);
  font-size: 78px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  text-rendering: geometricPrecision;
  text-shadow: 0 0 24px rgba(245, 241, 233, 0.1);
}

.opening-intro__for,
.opening-intro__my,
.opening-intro__chael {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
}

.opening-intro__name {
  display: inline-flex;
  align-items: baseline;
  min-width: 0;
}

.opening-intro__chael {
  max-width: 0;
  overflow: hidden;
  transform: translateX(-0.16em) translateY(10px);
}

.opening-intro.intro-play .opening-intro__for {
  animation: intro-for 1100ms cubic-bezier(0.22, 1, 0.36, 1) 260ms forwards;
}

.opening-intro.intro-play .opening-intro__my {
  animation: intro-my 920ms cubic-bezier(0.22, 1, 0.36, 1) 1550ms forwards;
}

.opening-intro.intro-play .opening-intro__chael {
  animation: intro-chael 1400ms cubic-bezier(0.2, 0.8, 0.2, 1) 2700ms forwards;
}

.opening-intro.intro-done {
  animation: intro-fade-out 900ms ease forwards;
}

.opening-note {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: max(18px, env(safe-area-inset-top)) max(22px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-left));
  background: #02060c;
  color: var(--soft-white);
  cursor: pointer;
  opacity: 0;
  transition: opacity 520ms ease;
}

.opening-note.show {
  opacity: 1;
}

.opening-note__card {
  width: min(76vw, 560px);
  text-align: left;
  font-family: var(--font-opening);
}

.opening-note__card p {
  margin: 0 0 0.78em;
  color: rgba(244, 239, 230, 0.9);
  font-size: clamp(18px, 3.4vw, 30px);
  line-height: 1.22;
  letter-spacing: 0;
  text-shadow: 2px 2px 0 #000;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 700ms ease, transform 700ms ease;
  transition-delay: calc(var(--line-index) * 520ms + 260ms);
}

.opening-note.show .opening-note__card p {
  opacity: 1;
  transform: translateY(0);
}

.opening-note__card small {
  display: block;
  margin-top: 1.4em;
  color: rgba(216, 199, 167, 0.72);
  font-family: var(--font-game);
  font-size: clamp(11px, 2.1vw, 15px);
}

body.intro-active .game-shell,
body.opening-sequence-active .game-shell {
  visibility: hidden;
}

.intro-preview {
  width: 100vw;
  height: 100vh;
  background: #050505;
}

.intro-preview__actions {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 1000;
  display: flex;
  gap: 10px;
  align-items: center;
}

.intro-preview__actions button,
.intro-preview__actions a {
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid rgba(245, 241, 233, 0.42);
  background: rgba(5, 5, 5, 0.72);
  color: var(--intro-white);
  font-family: var(--font-game);
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
}

@keyframes intro-for {
  from {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes intro-my {
  from {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes intro-chael {
  0% {
    max-width: 0;
    opacity: 0;
    transform: translateX(-0.16em) translateY(10px);
    filter: blur(4px);
  }
  45% {
    opacity: 1;
  }
  100% {
    max-width: 4.6em;
    opacity: 1;
    transform: translateX(0) translateY(0);
    filter: blur(0);
  }
}

@keyframes intro-fade-out {
  to {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .opening-intro__for,
  .opening-intro__my,
  .opening-intro__chael {
    opacity: 1;
    transform: none;
    max-width: none;
  }

  .opening-intro.intro-play .opening-intro__for,
  .opening-intro.intro-play .opening-intro__my,
  .opening-intro.intro-play .opening-intro__chael,
  .opening-intro.intro-done {
    animation: none;
  }
}

@media (max-width: 760px), (max-height: 430px) {
  .opening-intro__text {
    font-size: 48px;
  }
}

.game-shell {
  width: 100vw;
  height: 100vh;
  padding: max(env(safe-area-inset-top), 4px) max(env(safe-area-inset-right), 4px) max(env(safe-area-inset-bottom), 4px) max(env(safe-area-inset-left), 4px);
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 48%, rgba(30, 84, 154, 0.24), transparent 50%), #02060c;
}

.game-stage {
  position: relative;
  width: min(100%, calc((100vh - 8px) * 16 / 9));
  aspect-ratio: 16 / 9;
  max-height: calc(100vh - 8px);
  overflow: hidden;
  background: var(--blue-black);
  border: 2px solid #000;
  box-shadow: 0 0 0 2px #101010, 0 18px 54px rgba(0, 0, 0, 0.55);
  user-select: none;
}

.scene-layer,
.hotspot img,
.hand-cup,
.modal img,
.settings-button img,
.inventory img {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.scene-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.background { z-index: 1; }
.table { z-index: 7; }

.hotspot {
  position: absolute;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
}

.hotspot::after {
  content: "";
  position: absolute;
  inset: -9%;
  border: 2px solid rgba(244, 239, 230, 0);
  transition: border-color 140ms ease, background 140ms ease;
}

.hotspot:active::after,
.hotspot:focus-visible::after {
  border-color: rgba(244, 239, 230, 0.5);
  background: rgba(244, 239, 230, 0.05);
}

.hotspot img {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  filter: drop-shadow(1px 2px 0 rgba(0, 0, 0, 0.34));
}

.kitty img {
  transition: transform 260ms ease, filter 260ms ease;
}

.kitty.is-soft img {
  transform: translateY(-1%) scale(1.012);
  filter: drop-shadow(1px 2px 0 rgba(0, 0, 0, 0.34)) brightness(1.05);
}

.kitty.can-leave::after {
  border-color: rgba(244, 239, 230, 0.72);
  background: rgba(244, 239, 230, 0.04);
  box-shadow: 0 0 16px rgba(244, 239, 230, 0.22);
  animation: kitty-ready 1300ms ease-in-out infinite;
}

@keyframes kitty-ready {
  0%, 100% { opacity: 0.44; }
  50% { opacity: 1; }
}

.hotspot:focus-visible,
.inventory button:focus-visible,
.settings-button:focus-visible,
.settings-menu button:focus-visible,
.modal-close:focus-visible,
.choice-actions button:focus-visible {
  outline: 2px solid #f4efe6;
  outline-offset: 2px;
}

.kitty { left: 55%; top: 17%; width: 25%; height: 58%; z-index: 5; }
.lemon-tea { left: 61.5%; top: 64%; width: 9%; height: 20%; z-index: 12; }

.lemon-tea img,
.americano img,
.receipt img,
.napkin img,
.cup-sleeve img,
.philosophy-book img,
.football-phone img {
  filter: drop-shadow(2px 5px 0 rgba(0, 0, 0, 0.34));
}
.americano { left: 35%; top: 64.5%; width: 10.5%; height: 22%; z-index: 12; }
.receipt { left: 46%; top: 72%; width: 11.5%; height: 11%; z-index: 14; transform: rotate(-5deg); }
.napkin { left: 27.5%; top: 74.5%; width: 12.5%; height: 10.5%; z-index: 15; transform: rotate(5deg); }
.lemon-spill { left: 61.5%; top: 71.8%; width: 19%; height: 15%; z-index: 16; transform: rotate(-5deg); }
.philosophy-book { left: 20%; top: 62%; width: 14.5%; height: 12.5%; z-index: 11; transform: rotate(-5deg); }
.cup-sleeve { left: 48%; top: 61%; width: 12.5%; height: 12.5%; z-index: 13; transform: rotate(7deg); }
.football-phone { left: 74%; top: 66.5%; width: 8.5%; height: 14%; z-index: 13; transform: rotate(3deg); }

.lemon-spill img {
  width: 72%;
  height: 72%;
  margin: 9% auto 0;
  opacity: 0.88;
}

.napkin.is-picked,
.lemon-spill.is-cleaned {
  opacity: 0;
  pointer-events: none;
}

.philosophy-book.is-picked {
  left: 23%;
  top: 58.5%;
  transform: rotate(-7deg) scale(1.08);
}

.philosophy-book.is-discussed::before,
.lemon-spill.requires-napkin::before {
  content: "";
  position: absolute;
  inset: -12%;
  border: 2px solid rgba(244, 239, 230, 0.62);
  box-shadow: 0 0 12px rgba(244, 239, 230, 0.2);
}

.philosophy-book.is-discussed::before {
  border-color: rgba(214, 194, 150, 0.5);
}

.lemon-spill.requires-napkin img {
  opacity: 1;
  filter: drop-shadow(0 0 5px rgba(244, 239, 230, 0.28)) drop-shadow(2px 5px 0 rgba(0, 0, 0, 0.34));
}

.cup-sleeve::before {
  content: "";
  position: absolute;
  inset: -14%;
  border: 2px solid rgba(244, 239, 230, 0.28);
  box-shadow: 0 0 9px rgba(244, 239, 230, 0.12);
}

.cup-sleeve.is-picked {
  opacity: 0;
  pointer-events: none;
}

.cup-sleeve.is-ready::before {
  border-color: rgba(244, 239, 230, 0.75);
  box-shadow: 0 0 14px rgba(244, 239, 230, 0.28);
  animation: sleeve-ready 1200ms ease-in-out infinite;
}

.americano.accepts-sleeve::before {
  content: "";
  position: absolute;
  inset: -12%;
  border: 2px solid rgba(244, 239, 230, 0.6);
  box-shadow: 0 0 10px rgba(244, 239, 230, 0.18);
}

@keyframes sleeve-ready {
  0%, 100% { opacity: 0.42; }
  50% { opacity: 1; }
}

.lemon-tea.is-sipping {
  animation: kitty-sip 1300ms ease-in-out;
}

@keyframes kitty-sip {
  0%, 100% { transform: translate(0, 0) scale(1); }
  34%, 64% { transform: translate(78%, -215%) scale(0.78) rotate(-7deg); }
}

.hand-cup {
  position: absolute;
  left: 24%;
  top: 53%;
  width: 30%;
  height: auto;
  z-index: 15;
  opacity: 0;
  transform: translateY(12%) rotate(-3deg);
  pointer-events: none;
  transition: opacity 220ms ease, transform 700ms ease;
}

.hand-cup.show {
  opacity: 1;
  transform: translateY(-2%) rotate(-3deg);
}

.scene-title {
  position: absolute;
  left: 4%;
  top: 4%;
  z-index: 16;
  color: rgba(244, 239, 230, 0.82);
  font-size: clamp(12px, 2.7vw, 20px);
  letter-spacing: 0;
  text-shadow: 2px 2px 0 #000;
  pointer-events: none;
}

.settings-button {
  position: absolute;
  right: 3.2%;
  top: 4.5%;
  z-index: 25;
  width: clamp(38px, 7.5%, 54px);
  aspect-ratio: 1;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.settings-menu {
  position: absolute;
  right: 3%;
  top: 16%;
  z-index: 28;
  width: min(40%, 210px);
  padding: 10px;
  background: rgba(12, 15, 20, 0.94);
  border: 2px solid #050506;
  box-shadow: inset 0 0 0 2px rgba(244, 239, 230, 0.16), 0 6px 20px rgba(0, 0, 0, 0.45);
}

.settings-menu button {
  width: 100%;
  min-height: 42px;
  border: 2px solid #101010;
  background: #b6aa8f;
  color: #101010;
  cursor: pointer;
  font-size: clamp(13px, 2.4vw, 18px);
}

.language-switch {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(244, 239, 230, 0.24);
}

.language-switch__label {
  margin-bottom: 6px;
  color: #f4efe6;
  font-size: 12px;
  line-height: 1.2;
}

.language-switch button {
  min-height: 34px;
  margin-top: 6px;
  font-size: 13px;
}

.language-switch button.is-active {
  background: #27231d;
  color: #f4efe6;
}

.achievement-settings {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(244, 239, 230, 0.24);
}

.inventory {
  position: absolute;
  right: 3.2%;
  top: 31%;
  z-index: 20;
  width: clamp(48px, 9.5%, 64px);
  display: grid;
  gap: 7px;
}

.inventory::before {
  content: "";
  width: 100%;
  aspect-ratio: 1;
  background: url("../assets/images/ui/bag_icon.svg") center / contain no-repeat;
  image-rendering: pixelated;
  opacity: 0.96;
}

.inventory button {
  width: 100%;
  aspect-ratio: 1;
  border: 0;
  padding: 12%;
  background: url("../assets/images/ui/inventory_slot.svg") center / 100% 100% no-repeat;
  cursor: pointer;
  position: relative;
}

.inventory button.empty {
  cursor: default;
  opacity: 0.74;
}

.inventory button.selected::after {
  content: "";
  position: absolute;
  inset: 6%;
  border: 3px solid #f4efe6;
  box-shadow: 0 0 0 2px rgba(34, 19, 7, 0.7), 0 0 14px rgba(244, 239, 230, 0.38);
}

.inventory button.used {
  opacity: 0.48;
}

.inventory button.used::before {
  content: "";
  position: absolute;
  right: 10%;
  bottom: 10%;
  width: 28%;
  height: 28%;
  background: #f4efe6;
  border: 2px solid #111;
}

.inventory img {
  width: 100%;
  height: 100%;
  display: block;
}

.modal,
.choice-modal {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.46);
}

.receipt-card {
  position: relative;
  width: min(54%, 300px);
}

.receipt-card img {
  width: 100%;
  height: auto;
  filter: drop-shadow(8px 12px 0 rgba(0, 0, 0, 0.45));
}

.receipt-overlay {
  position: absolute;
  left: 22%;
  top: 13%;
  width: 58%;
  padding: 6px 8px;
  background: rgba(226, 201, 160, 0.86);
  color: #101010;
  border: 1px solid rgba(16, 16, 16, 0.28);
  font-family: var(--font-game);
  font-size: clamp(12px, 2.2vw, 17px);
  line-height: 1.45;
  pointer-events: none;
  transform: rotate(-1deg);
}

.receipt-overlay div:first-child {
  margin-bottom: 8px;
  font-size: 1.1em;
}

.modal-close {
  position: absolute;
  right: -8px;
  top: -8px;
  min-width: 72px;
  min-height: 34px;
  border: 2px solid #101010;
  border-radius: 0;
  background: #cbb997;
  color: #101010;
  cursor: pointer;
  font-size: clamp(13px, 2.4vw, 17px);
  line-height: 1;
  box-shadow: 3px 4px 0 rgba(0, 0, 0, 0.35);
}

.choice-card {
  width: min(62%, 340px);
  padding: 18px 18px 16px;
  background: #d8c7a7;
  color: #111;
  border: 3px solid #050506;
  box-shadow: inset 0 0 0 2px rgba(255, 248, 226, 0.35), 8px 11px 0 rgba(0, 0, 0, 0.46);
  text-align: center;
}

.choice-card p {
  margin: 0 0 14px;
  font-size: clamp(15px, 3vw, 22px);
  line-height: 1.2;
}

.choice-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.choice-actions button {
  min-height: 42px;
  border: 2px solid #101010;
  border-radius: 0;
  background: #25395a;
  color: #f4efe6;
  cursor: pointer;
  font-size: clamp(13px, 2.6vw, 18px);
  box-shadow: 3px 4px 0 rgba(0, 0, 0, 0.28);
}

.choice-actions button + button {
  background: #9f9278;
  color: #111;
}

.dialogue {
  position: absolute;
  left: 4%;
  right: 14%;
  bottom: max(4%, env(safe-area-inset-bottom));
  z-index: 40;
  min-height: 17%;
  padding: 2.45% 3.2%;
  background: var(--dialogue);
  border: 1.5px solid var(--dialogue-border);
  border-radius: 5px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.34), inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  color: var(--soft-white);
  cursor: pointer;
  backdrop-filter: blur(2px);
}

.dialogue-speaker {
  min-height: 1.1em;
  margin-bottom: 0.24em;
  color: #e1cda7;
  font-size: clamp(11px, 2vw, 16px);
  font-weight: 700;
  letter-spacing: 0;
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.72);
}

.dialogue-text {
  font-size: clamp(14px, 2.85vw, 23px);
  line-height: 1.28;
  letter-spacing: 0;
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.78);
}

.next-title {
  position: absolute;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  background: #02060c;
  color: var(--soft-white);
  font-family: var(--font-opening);
  font-size: clamp(24px, 6vw, 46px);
  text-align: center;
  opacity: 0;
  transition: opacity 900ms ease;
}

.next-title span {
  display: block;
  font-size: clamp(14px, 3.2vw, 24px);
  color: #cfc6b2;
}

.next-title small {
  display: block;
  margin-top: 8px;
  font-size: clamp(11px, 2.2vw, 16px);
  color: rgba(244, 239, 230, 0.62);
}

.next-title-link {
  cursor: pointer;
}

.next-title.show { opacity: 1; }

.click-ring {
  position: absolute;
  z-index: 50;
  width: 8%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: url("../assets/images/ui/click_ring.svg") center / contain no-repeat;
  pointer-events: none;
  animation: click-ring 520ms ease-out forwards;
}

.achievement-toast {
  position: absolute;
  right: max(3.2%, env(safe-area-inset-right));
  top: max(17%, env(safe-area-inset-top));
  z-index: 55;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: center;
  width: min(42%, 260px);
  min-height: 58px;
  padding: 8px 10px;
  background: rgba(10, 14, 20, 0.94);
  border: 2px solid #050506;
  box-shadow: inset 0 0 0 2px rgba(244, 239, 230, 0.11), 5px 7px 0 rgba(0, 0, 0, 0.34);
  color: var(--soft-white);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 260ms ease, transform 260ms ease;
  pointer-events: none;
}

.achievement-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.achievement-toast img {
  width: 42px;
  height: 42px;
  image-rendering: pixelated;
}

.achievement-toast__label {
  color: #d8c7a7;
  font-size: clamp(10px, 1.8vw, 13px);
  line-height: 1;
}

.achievement-toast__title {
  margin-top: 4px;
  font-size: clamp(13px, 2.4vw, 18px);
  line-height: 1.1;
  text-shadow: 2px 2px 0 #000;
}

.achievement-panel {
  position: absolute;
  inset: 0;
  z-index: 66;
  display: grid;
  place-items: center;
  padding: max(14px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  background: rgba(0, 0, 0, 0.58);
  opacity: 0;
  transition: opacity 180ms ease;
}

.achievement-panel.show {
  opacity: 1;
}

.achievement-panel__card {
  width: min(76%, 520px);
  max-height: 86%;
  overflow: auto;
  padding: 14px;
  background: rgba(12, 15, 20, 0.96);
  border: 2px solid #050506;
  box-shadow: inset 0 0 0 2px rgba(244, 239, 230, 0.12), 8px 11px 0 rgba(0, 0, 0, 0.42);
  color: var(--soft-white);
}

.achievement-panel__header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.achievement-panel__header h2 {
  margin: 0;
  color: #f4efe6;
  font-size: clamp(18px, 3.6vw, 28px);
  line-height: 1.1;
  letter-spacing: 0;
}

.achievement-panel__close {
  min-width: 72px;
  min-height: 34px;
  border: 2px solid #101010;
  background: #cbb997;
  color: #101010;
  cursor: pointer;
  font-size: clamp(12px, 2.2vw, 16px);
}

.achievement-panel__note {
  margin: 8px 0 12px;
  color: rgba(244, 239, 230, 0.68);
  font-size: clamp(11px, 2vw, 14px);
  line-height: 1.3;
}

.achievement-list {
  display: grid;
  gap: 9px;
}

.achievement-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 64px;
  padding: 8px;
  background: rgba(216, 199, 167, 0.12);
  border: 1px solid rgba(244, 239, 230, 0.22);
}

.achievement-card img {
  width: 48px;
  height: 48px;
  image-rendering: pixelated;
}

.achievement-card.is-locked img {
  filter: grayscale(1) brightness(0.62);
  opacity: 0.72;
}

.achievement-card__title {
  color: #f4efe6;
  font-size: clamp(13px, 2.5vw, 18px);
  line-height: 1.12;
}

.achievement-card__desc {
  margin-top: 4px;
  color: rgba(244, 239, 230, 0.68);
  font-size: clamp(10px, 1.9vw, 13px);
  line-height: 1.25;
}

.achievement-card.is-locked .achievement-card__title,
.achievement-card.is-locked .achievement-card__desc {
  color: rgba(244, 239, 230, 0.5);
}

@keyframes click-ring {
  from { opacity: 0.95; transform: translate(-50%, -50%) scale(0.65); }
  to { opacity: 0; transform: translate(-50%, -50%) scale(1.45); }
}

@media (max-aspect-ratio: 16 / 9) {
  .game-stage {
    width: 100%;
    max-height: none;
  }
}

@media (max-width: 760px) {
  .game-stage {
    border-width: 1px;
  }

  .dialogue {
    left: 3%;
    right: 15%;
    min-height: 21%;
    padding: 2.8% 3.2%;
  }

  .receipt-card {
    width: min(58%, 300px);
  }
}


/* The Beige Room */
.beige-stage { background: #d8c9b4; }
.beige-layer,
.beige-intimacy,
.morning-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  pointer-events: none;
}
.beige-room-base { z-index: 1; }
.beige-curtains-image { z-index: 3; }
.beige-hotspot { z-index: 10; }
.beige-curtains { left: 5%; top: 7%; width: 26%; height: 45%; }
.beige-ac-remote { left: 50%; top: 69%; width: 7%; height: 18%; transform: rotate(8deg); }
.beige-heater { left: 88%; top: 25%; width: 8%; height: 20%; }
.beige-water { left: 33%; top: 39%; width: 7%; height: 18%; }
.beige-kitty { left: 58%; top: 30%; width: 22%; height: 52%; z-index: 9; }
.beige-mattress { left: 7%; top: 56%; width: 47%; height: 30%; z-index: 8; }
.beige-laptop { left: 39%; top: 34%; width: 13%; height: 13%; }
.beige-notes { left: 43%; top: 54%; width: 13%; height: 11%; transform: rotate(-7deg); }
.beige-phone { left: 57%; top: 72%; width: 7%; height: 15%; transform: rotate(7deg); }
.beige-jersey { left: 82%; top: 55%; width: 13%; height: 24%; transform: rotate(4deg); }
.beige-slippers { left: 56%; top: 87%; width: 14%; height: 9%; }
.beige-clothes { left: 63%; top: 59%; width: 14%; height: 13%; transform: rotate(-5deg); }
.beige-lamp { left: 30%; top: 20%; width: 8%; height: 28%; }
.beige-hotspot img {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  pointer-events: none;
  filter: drop-shadow(2px 4px 0 rgba(0, 0, 0, 0.3));
}
.beige-stage.phase-lying .beige-room-base { content: url("../assets/images/beige/lying_base.svg"); }
.beige-stage.phase-lying .beige-curtains-image,
.beige-stage.phase-lying .beige-curtains,
.beige-stage.phase-lying .beige-ac-remote,
.beige-stage.phase-lying .beige-heater,
.beige-stage.phase-lying .beige-water,
.beige-stage.phase-lying .beige-jersey,
.beige-stage.phase-lying .beige-slippers,
.beige-stage.phase-lying .beige-clothes,
.beige-stage.phase-lying .beige-lamp { display: none; }
.beige-stage.phase-lying .beige-kitty { left: 48%; top: 47%; width: 44%; height: 31%; z-index: 9; }
.beige-stage.phase-lying .beige-mattress { left: 0; top: 60%; width: 100%; height: 30%; }
.beige-stage.phase-lying .beige-laptop { left: 70%; top: 71%; width: 14%; height: 12%; }
.beige-stage.phase-lying .beige-notes { left: 34%; top: 69%; width: 18%; height: 13%; }
.beige-stage.phase-lying .beige-phone { left: 17%; top: 73%; width: 8%; height: 15%; }
.beige-stage.phase-morning .beige-hotspot,
.beige-stage.phase-morning .beige-layer,
.beige-stage.phase-morning .scene-title { display: none; }
.beige-water.is-placed { left: 47%; top: 67%; transform: scale(0.94); }
.beige-hotspot.is-done::before,
.beige-hotspot.can-intimacy::before {
  content: "";
  position: absolute;
  inset: -8%;
  border: 2px solid rgba(244, 239, 230, 0.5);
  box-shadow: 0 0 12px rgba(244, 239, 230, 0.18);
}
.beige-hotspot.can-intimacy::before { animation: kitty-ready 1300ms ease-in-out infinite; }
.beige-intimacy { z-index: 50; opacity: 0; transition: opacity 650ms ease; }
.beige-intimacy.show { opacity: 1; }
.beige-stage.is-dimming .dialogue { opacity: 0; }
.morning-panel {
  position: absolute;
  inset: 0;
  z-index: 55;
  display: grid;
  place-items: center;
  background: #030405;
  color: var(--soft-white);
}
.morning-title { font-size: clamp(24px, 6vw, 46px); text-align: center; }
.phone-closeup { position: absolute; inset: 0; }
.phone-message-text {
  position: absolute;
  left: 42.2%;
  top: 25.4%;
  width: 16.4%;
  color: #111;
  z-index: 58;
  font-size: clamp(9px, 1.72vw, 13px);
  line-height: 1.2;
  text-align: left;
}
.send-message-button {
  position: absolute;
  left: 42%;
  top: 63%;
  z-index: 59;
  width: 16.6%;
  min-height: 9%;
  border: 2px solid #090909;
  border-radius: 0;
  background: #213f6a;
  color: #f5efe4;
  cursor: pointer;
  font-size: clamp(12px, 2.2vw, 18px);
  box-shadow: 3px 4px 0 rgba(0, 0, 0, 0.4);
}
@media (max-width: 760px) {
  .beige-heater { width: 9%; height: 22%; }
  .phone-message-text { font-size: clamp(8px, 1.9vw, 11px); }
}


/* Beige Room polish pass */
.beige-stage .dialogue {
  left: 3.5%;
  right: 13.5%;
  bottom: max(3.2%, env(safe-area-inset-bottom));
  min-height: 17%;
}

.beige-stage.phase-room .beige-curtains { left: 3.5%; top: 5.5%; width: 30%; height: 49%; }
.beige-stage.phase-room .beige-ac-remote { left: 47%; top: 67%; width: 11%; height: 19%; transform: rotate(8deg); z-index: 18; }
.beige-stage.phase-room .beige-heater { left: 85%; top: 20%; width: 13%; height: 29%; z-index: 19; }
.beige-stage.phase-room .beige-water { left: 28%; top: 35%; width: 12%; height: 24%; z-index: 18; }
.beige-stage.phase-room .beige-kitty { left: 57%; top: 23%; width: 25%; height: 61%; z-index: 14; }
.beige-stage.phase-room .beige-mattress { left: 4%; top: 51%; width: 54%; height: 33%; z-index: 11; }
.beige-stage.phase-room .beige-laptop { left: 38%; top: 31%; width: 16%; height: 18%; z-index: 17; }
.beige-stage.phase-room .beige-notes { left: 44%; top: 48%; width: 14%; height: 13%; transform: rotate(-6deg); z-index: 17; }
.beige-stage.phase-room .beige-phone { left: 55%; top: 66%; width: 11%; height: 22%; z-index: 17; }
.beige-stage.phase-room .beige-jersey { left: 82%; top: 55%; width: 15%; height: 31%; z-index: 15; }
.beige-stage.phase-room .beige-slippers { left: 68%; top: 84%; width: 18%; height: 13%; z-index: 17; }
.beige-stage.phase-room .beige-clothes { left: 72%; top: 63%; width: 18%; height: 17%; transform: rotate(-5deg); z-index: 16; }
.beige-stage.phase-room .beige-lamp { left: 29%; top: 20%; width: 9%; height: 30%; z-index: 16; }

.beige-stage.phase-room .beige-jersey img,
.beige-stage.phase-room .beige-slippers img,
.beige-stage.phase-room .beige-clothes img,
.beige-stage.phase-room .beige-phone img {
  opacity: 0;
}

.beige-kitty img {
  transition: transform 220ms ease, filter 220ms ease;
}

.beige-kitty.is-soft img {
  transform: translateY(-1%) scale(1.012);
  filter: drop-shadow(2px 4px 0 rgba(0, 0, 0, 0.28)) brightness(1.04);
}

.beige-kitty.is-reacting img {
  animation: beige-kitty-react 850ms ease-in-out;
}

@keyframes beige-kitty-react {
  0%, 100% { transform: translateY(0); }
  45% { transform: translateY(2%) rotate(-1deg); }
}

.beige-water.is-placed {
  left: 47%;
  top: 64%;
  transform: scale(0.95);
  z-index: 20;
}

.beige-hotspot.is-done::before,
.beige-hotspot.can-intimacy::before {
  inset: -5%;
  border-color: rgba(244, 239, 230, 0.56);
  background: rgba(244, 239, 230, 0.035);
}

.beige-stage.phase-lying .beige-kitty { left: 48%; top: 42%; width: 45%; height: 35%; z-index: 14; }
.beige-stage.phase-lying .beige-mattress { left: 0; top: 56%; width: 100%; height: 34%; z-index: 10; }
.beige-stage.phase-lying .beige-laptop { left: 72%; top: 70%; width: 14%; height: 12%; z-index: 18; }
.beige-stage.phase-lying .beige-notes { left: 34%; top: 68%; width: 20%; height: 15%; z-index: 18; }
.beige-stage.phase-lying .beige-phone { left: 16%; top: 72%; width: 10%; height: 18%; z-index: 18; }

.beige-stage.phase-lying .beige-notes::before {
  content: "";
  position: absolute;
  inset: -8%;
  border: 2px solid rgba(244, 239, 230, 0.34);
}

.beige-stage.phase-morning .dialogue {
  display: none;
}

@media (max-width: 760px) {
  .beige-stage .dialogue {
    left: 3%;
    right: 14.5%;
    min-height: 20%;
  }
  .beige-stage.phase-room .beige-heater { left: 84%; width: 14%; height: 31%; }
  .beige-stage.phase-room .beige-water { width: 13%; height: 25%; }
  .beige-stage.phase-room .beige-ac-remote { width: 12%; height: 20%; }
}

/* Beige Room repair pass */
.beige-curtains-image {
  inset: auto;
  left: 6.8%;
  top: 10.5%;
  width: 21.8%;
  height: 34%;
  z-index: 4;
}

.beige-stage.phase-room .beige-curtains {
  left: 5.8%;
  top: 9%;
  width: 24%;
  height: 40%;
  z-index: 20;
}

.beige-stage.phase-room .beige-ac-remote {
  left: 47%;
  top: 66%;
  width: 11%;
  height: 20%;
  z-index: 22;
}

.beige-stage.phase-room .beige-heater {
  left: 86.5%;
  top: 24%;
  width: 10.5%;
  height: 25%;
  z-index: 22;
}

.beige-stage.phase-room .beige-water {
  left: 28%;
  top: 35%;
  width: 12%;
  height: 24%;
  z-index: 22;
}

.beige-hotspot.is-next::before {
  content: "";
  position: absolute;
  inset: -7%;
  border: 2px solid rgba(250, 240, 214, 0.78);
  background: rgba(250, 240, 214, 0.055);
  box-shadow: 0 0 0 2px rgba(20, 14, 10, 0.45), 0 0 18px rgba(250, 240, 214, 0.26);
  animation: beige-next-step 1150ms ease-in-out infinite;
}

@keyframes beige-next-step {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.95; }
}

.beige-stage.phase-room .beige-curtains.is-next::before {
  inset: 4% 2% 5% 2%;
}

.beige-stage.phase-lying .beige-kitty {
  left: 47%;
  top: 41%;
  width: 45%;
  height: 38%;
  z-index: 16;
}

.beige-stage.phase-lying .beige-mattress {
  left: 0;
  top: 55%;
  width: 100%;
  height: 36%;
  z-index: 10;
}

.beige-stage.phase-lying .beige-notes {
  left: 34%;
  top: 67%;
  width: 20%;
  height: 16%;
  z-index: 24;
}

.beige-stage.phase-lying .beige-laptop {
  left: 72%;
  top: 70%;
  width: 14%;
  height: 12%;
  z-index: 22;
}

.beige-stage.phase-lying .beige-phone {
  left: 16%;
  top: 72%;
  width: 10%;
  height: 18%;
  z-index: 22;
}

.beige-stage.phase-lying .beige-notes.is-next::before {
  inset: -6%;
}

.phone-message-text {
  left: 40.6%;
  top: 27.2%;
  width: 18.8%;
  min-height: 24%;
  color: #111;
  font-family: var(--font-game);
  font-size: clamp(13px, 2.65vw, 21px);
  line-height: 1.16;
  text-align: left;
  text-shadow: none;
  overflow-wrap: normal;
}

.send-message-button {
  left: 41.5%;
  top: 65.2%;
  width: 17.3%;
  min-height: 10.2%;
  font-size: clamp(14px, 2.7vw, 22px);
}

@media (max-width: 760px) {
  .beige-curtains-image {
    left: 6.4%;
    top: 10.2%;
    width: 22.5%;
    height: 34.5%;
  }
  .beige-stage.phase-room .beige-curtains {
    left: 5.4%;
    top: 8.6%;
    width: 25%;
    height: 41%;
  }
  .phone-message-text {
    font-size: clamp(12px, 2.55vw, 18px);
  }
}

/* Scene 3 and Scene 4 shared inventory */
.scene-inventory {
  position: absolute;
  right: 3.2%;
  top: 30%;
  z-index: 31;
  width: clamp(48px, 9.5%, 64px);
  display: grid;
  gap: 7px;
}

.scene-inventory::before {
  content: "";
  width: 100%;
  aspect-ratio: 1;
  background: url("../assets/images/ui/bag_icon.svg") center / contain no-repeat;
  image-rendering: pixelated;
  opacity: 0.96;
}

.scene-inventory button {
  width: 100%;
  aspect-ratio: 1;
  border: 0;
  padding: 12%;
  background: url("../assets/images/ui/inventory_slot.svg") center / 100% 100% no-repeat;
  cursor: pointer;
  position: relative;
}

.scene-inventory button.empty {
  cursor: default;
  opacity: 0.55;
}

.scene-inventory button.selected::after {
  content: "";
  position: absolute;
  inset: 6%;
  border: 3px solid #f4efe6;
  box-shadow: 0 0 0 2px rgba(9, 13, 22, 0.8), 0 0 14px rgba(244, 239, 230, 0.4);
}

.scene-inventory button.used {
  opacity: 0.48;
}

.scene-inventory button.used::before {
  content: "";
  position: absolute;
  right: 10%;
  bottom: 10%;
  width: 28%;
  height: 28%;
  background: #f4efe6;
  border: 2px solid #111;
}

.scene-inventory img {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: pixelated;
}

/* Parcel Station */
.parcel-stage {
  background: #263647;
}

.parcel-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  pointer-events: none;
}

.parcel-hotspot {
  z-index: 12;
}

.parcel-hotspot img {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  pointer-events: none;
  filter: drop-shadow(2px 4px 0 rgba(0, 0, 0, 0.34));
}

.parcel-phone { left: 8%; top: 56%; width: 12%; height: 32%; z-index: 18; transform: rotate(-7deg); }
.parcel-shelf { left: 10%; top: 13%; width: 62%; height: 48%; }
.parcel-b11 { left: 17%; top: 34%; width: 14%; height: 14%; }
.parcel-b17-plain { left: 35%; top: 34%; width: 14%; height: 14%; }
.parcel-b71 { left: 51%; top: 34%; width: 14%; height: 14%; }
.parcel-b17-lemon { left: 34%; top: 49%; width: 15%; height: 15%; }
.parcel-opened { left: 33%; top: 55%; width: 28%; height: 25%; opacity: 0; pointer-events: none; transform: rotate(-2deg); }
.parcel-kitty { left: 69%; top: 28%; width: 23%; height: 58%; z-index: 14; }
.parcel-football { left: 74%; top: 17%; width: 16%; height: 13%; }

.parcel-stage.parcel-verified .parcel-opened {
  opacity: 1;
  pointer-events: auto;
}

.parcel-stage.parcel-open .parcel-package {
  opacity: 0.42;
}

.parcel-hotspot.is-next::before,
.village-hotspot.is-next::before {
  content: "";
  position: absolute;
  inset: -8%;
  border: 2px solid rgba(244, 239, 230, 0.72);
  background: rgba(244, 239, 230, 0.055);
  box-shadow: 0 0 0 2px rgba(10, 9, 8, 0.55), 0 0 16px rgba(244, 239, 230, 0.28);
  animation: scene-next-step 1200ms ease-in-out infinite;
}

@keyframes scene-next-step {
  0%, 100% { opacity: 0.34; }
  50% { opacity: 0.94; }
}

/* Village Apartment Bedroom */
.village-stage {
  background: #08101f;
}

.village-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  pointer-events: none;
}

.village-room { z-index: 1; }
.village-projection { z-index: 4; opacity: 0; transition: opacity 460ms ease; }
.village-projector-placed { z-index: 7; opacity: 0; }
.village-hdmi { z-index: 8; opacity: 0; }
.village-ronaldo-jersey-image { z-index: 9; opacity: 1; pointer-events: none; }
.village-cat-food-bag-image,
.village-cat-bowl-image,
.village-cats-fed-image {
  z-index: 10;
  opacity: 1;
  pointer-events: none;
}
.village-cats-fed-image {
  opacity: 0;
}
.village-watch-match-image,
.village-watch-lean-image,
.village-watch-turn-image {
  z-index: 28;
  opacity: 0;
  pointer-events: none;
  transition: opacity 520ms ease;
}

.village-stage.projector-placed .village-projector-placed,
.village-stage.hdmi-connected .village-hdmi {
  opacity: 1;
}

.village-stage.match-started .village-projection {
  opacity: 1;
}

.village-stage.match-started .village-watch-match-image {
  opacity: 1;
}

.village-stage.final-dialogue .village-watch-match-image {
  opacity: 0;
}

.village-stage.final-dialogue .village-watch-lean-image {
  opacity: 1;
}

.village-stage.final-dialogue.final-turn .village-watch-lean-image {
  opacity: 0;
}

.village-stage.final-dialogue.final-turn .village-watch-turn-image {
  opacity: 1;
}

.village-stage.cat-food-picked .village-cat-food-bag-image {
  opacity: 0;
}

.village-stage.cat-food-picked .village-cat-food {
  pointer-events: none;
}

.village-stage.cats-fed .village-cat-bowl-image {
  opacity: 0;
}

.village-stage.cats-fed .village-cats-fed-image {
  opacity: 1;
}

.village-stage.cats-fed .village-jiecai,
.village-stage.cats-fed .village-guokui {
  opacity: 0;
  pointer-events: none;
}

.village-stage.match-started .village-cat-bowl-image,
.village-stage.match-started .village-cats-fed-image {
  opacity: 0;
}

.village-stage.match-started {
  box-shadow: 0 0 0 2px #101010, 0 18px 54px rgba(0, 0, 0, 0.55), inset 0 0 64px rgba(111, 164, 226, 0.22);
}

.village-hotspot {
  z-index: 18;
}

.village-stage.match-started .village-hotspot:not(.watch-hotspot) {
  pointer-events: none;
}

.village-stage.match-started .scene-inventory {
  opacity: 0;
  pointer-events: none;
}

.village-stage.match-started .village-kitty,
.village-stage.match-started .village-jiecai,
.village-stage.match-started .village-guokui {
  opacity: 0;
}

.village-hotspot img {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  pointer-events: none;
  filter: drop-shadow(2px 4px 0 rgba(0, 0, 0, 0.32));
}

.village-jiecai { left: 46%; top: 69%; width: 14%; height: 20%; z-index: 20; }
.village-guokui { left: 63%; top: 63%; width: 14%; height: 22%; z-index: 20; }
.village-perfume-desk { left: 34%; top: 34%; width: 20%; height: 31%; }
.village-cosmetics-desk { left: 54%; top: 31%; width: 22%; height: 33%; }
.village-laptop { left: 56%; top: 30%; width: 12%; height: 16%; z-index: 21; }
.village-photo-wall { left: 3%; top: 14%; width: 21%; height: 31%; }
.village-tapestry { left: 26%; top: 12%; width: 20%; height: 31%; }
.village-bed { left: 2%; top: 50%; width: 53%; height: 36%; }
.village-wardrobe { left: 79%; top: 14%; width: 18%; height: 52%; }
.village-chicken { left: 55%; top: 69%; width: 12%; height: 12%; }
.village-cola { left: 68%; top: 73%; width: 9%; height: 12%; }
.village-ice-cream { left: 74%; top: 74%; width: 11%; height: 11%; }
.village-jersey { left: 70%; top: 66%; width: 17%; height: 30%; }
.village-ronaldo-jersey { left: 37%; top: 78%; width: 17%; height: 15%; z-index: 22; }
.village-cat-food { left: 42%; top: 64%; width: 11%; height: 15%; z-index: 23; }
.village-cat-bowl { left: 25%; top: 78%; width: 17%; height: 13%; z-index: 23; }
.village-kitty { left: 74%; top: 35%; width: 17%; height: 46%; z-index: 20; }
.village-projection-area { left: 4%; top: 9%; width: 70%; height: 49%; z-index: 17; }
.watch-hotspot {
  z-index: 38;
  opacity: 0;
  pointer-events: none;
}
.village-stage.match-started .watch-hotspot {
  opacity: 1;
  pointer-events: auto;
}
.village-watch-snacks { left: 54%; top: 78%; width: 23%; height: 14%; }
.village-watch-kitty { left: 37%; top: 48%; width: 24%; height: 34%; }
.village-watch-cats { left: 17%; top: 70%; width: 27%; height: 20%; }
.village-watch-match { left: 5%; top: 6%; width: 70%; height: 48%; }

.village-stage .scene-inventory {
  right: 1.6%;
  top: 17%;
  width: clamp(42px, 7.2%, 54px);
}

.village-stage.match-started .village-jiecai {
  transform: translate(-7%, -3%);
  filter: brightness(1.06);
}

.village-stage.match-started .village-guokui {
  transform: translate(4%, -4%);
  filter: brightness(1.08);
}

.village-stage.match-started .village-kitty img {
  filter: drop-shadow(2px 4px 0 rgba(0, 0, 0, 0.32)) brightness(1.05) saturate(0.92);
}

.final-fade {
  position: absolute;
  inset: 0;
  z-index: 75;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1200ms ease;
}

.final-fade.show {
  opacity: 1;
  pointer-events: auto;
}

.final-copyright {
  position: absolute;
  left: 50%;
  bottom: max(18px, calc(env(safe-area-inset-bottom) + 14px));
  width: min(86%, 620px);
  transform: translateX(-50%) translateY(6px);
  color: rgba(245, 241, 233, 0.34);
  font-family: var(--font-opening);
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 0;
  text-align: center;
  opacity: 0;
  transition: opacity 1400ms ease 2100ms, transform 1400ms ease 2100ms;
}

.final-fade.show .final-copyright {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.play-again-button {
  position: absolute;
  right: max(11%, calc(env(safe-area-inset-right) + 76px));
  top: max(4.8%, env(safe-area-inset-top));
  z-index: 92;
  min-height: clamp(34px, 6vw, 42px);
  padding: 0 14px;
  border: 1.5px solid rgba(229, 216, 190, 0.78);
  border-radius: 5px;
  background: rgba(7, 10, 14, 0.84);
  color: var(--soft-white);
  font-family: var(--font-game);
  font-size: clamp(12px, 2.15vw, 15px);
  line-height: 1;
  box-shadow: 0 7px 22px rgba(0, 0, 0, 0.36), inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  cursor: pointer;
  opacity: 0.9;
}

.play-again-button:active,
.play-again-button:focus-visible {
  opacity: 1;
  outline: 2px solid rgba(244, 239, 230, 0.88);
  outline-offset: 2px;
}

@media (max-width: 760px), (max-height: 430px) {
  .final-copyright {
    bottom: max(12px, calc(env(safe-area-inset-bottom) + 10px));
    font-size: 10px;
  }

  .play-again-button {
    right: max(12%, calc(env(safe-area-inset-right) + 58px));
    top: max(4.6%, env(safe-area-inset-top));
    min-height: 32px;
    padding: 0 10px;
    font-size: 12px;
  }
}

.village-stage.game-complete .settings-button,
.village-stage.game-complete .settings-menu {
  z-index: 90;
}

@media (max-width: 760px) {
  .scene-inventory {
    right: 2.6%;
    top: 29%;
    width: clamp(45px, 9%, 58px);
  }

  .parcel-kitty { left: 68%; width: 24%; }
  .village-kitty { left: 73%; width: 18%; }
  .village-jiecai { width: 15%; height: 21%; }
  .village-guokui { width: 15%; height: 23%; }
}

/* Beige Room hint cleanup */
.beige-hotspot.is-done::before,
.beige-hotspot.can-intimacy::before {
  content: none;
  border: 0;
  background: transparent;
  box-shadow: none;
  animation: none;
}

.beige-hotspot.is-next::before {
  content: "";
  position: absolute;
  inset: -7%;
  border: 2px solid rgba(250, 240, 214, 0.78);
  background: rgba(250, 240, 214, 0.055);
  box-shadow: 0 0 0 2px rgba(20, 14, 10, 0.45), 0 0 18px rgba(250, 240, 214, 0.26);
  animation: beige-next-step 1150ms ease-in-out infinite;
}

/* Beige Room intimacy transition safety */
.beige-intimacy.show {
  opacity: 1;
  pointer-events: auto;
  animation: beige-intimacy-brief 1900ms ease forwards;
}

@keyframes beige-intimacy-brief {
  0% { opacity: 0; }
  18% { opacity: 1; }
  82% { opacity: 1; }
  100% { opacity: 0.96; }
}

/* Painted art integration */
.painted-cafe .scene-layer,
.painted-cafe .hand-cup,
.painted-beige .beige-layer,
.painted-beige .beige-intimacy,
.painted-beige .morning-panel img,
.painted-parcel .parcel-layer,
.painted-village .village-layer {
  image-rendering: auto;
}

.painted-cafe .table,
.painted-cafe .kitty img,
.painted-cafe .lemon-tea img,
.painted-cafe .americano img,
.painted-cafe .receipt img,
.painted-cafe .napkin img,
.painted-cafe .cup-sleeve img,
.painted-cafe .football-phone img,
.painted-cafe .hand-cup {
  opacity: 0;
}

.painted-cafe .kitty { left: 30%; top: 8%; width: 31%; height: 58%; z-index: 14; }
.painted-cafe .lemon-tea { left: 6.5%; top: 67%; width: 14%; height: 21%; z-index: 15; }
.painted-cafe .americano { left: 68%; top: 54%; width: 12%; height: 28%; z-index: 15; }
.painted-cafe .receipt { left: 29%; top: 68%; width: 11%; height: 17%; z-index: 16; transform: rotate(-7deg); }
.painted-cafe .napkin { left: 43%; top: 69%; width: 14%; height: 15%; z-index: 16; transform: rotate(2deg); }
.painted-cafe .cup-sleeve { left: 62%; top: 64%; width: 13%; height: 19%; z-index: 16; transform: rotate(7deg); }
.painted-cafe .football-phone { left: 80%; top: 66%; width: 12%; height: 18%; z-index: 16; transform: rotate(6deg); }
.painted-cafe .philosophy-book { left: 19%; top: 56%; width: 13%; height: 13%; z-index: 17; }
.painted-cafe .lemon-spill { left: 14%; top: 75%; width: 16%; height: 11%; z-index: 17; }

.painted-beige .beige-curtains-image,
.painted-beige .beige-kitty img,
.painted-beige .beige-ac-remote img,
.painted-beige .beige-heater img,
.painted-beige .beige-water img,
.painted-beige .beige-jersey img,
.painted-beige .beige-slippers img,
.painted-beige .beige-clothes img,
.painted-beige .beige-notes img,
.painted-beige .beige-phone img {
  opacity: 0;
}

.painted-beige.phase-room .beige-curtains { left: 31%; top: 5%; width: 31%; height: 37%; }
.painted-beige.phase-room .beige-ac-remote { left: 78%; top: 2%; width: 17%; height: 15%; }
.painted-beige.phase-room .beige-heater { left: 1.5%; top: 24%; width: 9%; height: 29%; }
.painted-beige.phase-room .beige-water { left: 77%; top: 38%; width: 9%; height: 17%; }
.painted-beige.phase-room .beige-kitty { left: 14%; top: 17%; width: 22%; height: 66%; }
.painted-beige.phase-room .beige-mattress { left: 38%; top: 47%; width: 42%; height: 35%; }
.painted-beige.phase-room .beige-laptop { left: 84%; top: 38%; width: 14%; height: 18%; }
.painted-beige.phase-room .beige-notes { left: 79%; top: 55%; width: 14%; height: 12%; }
.painted-beige.phase-room .beige-phone { left: 83%; top: 59%; width: 9%; height: 17%; }
.painted-beige.phase-room .beige-jersey { left: 92%; top: 52%; width: 8%; height: 24%; }
.painted-beige.phase-room .beige-slippers { left: 55%; top: 83%; width: 18%; height: 12%; }
.painted-beige.phase-room .beige-clothes { left: 2%; top: 62%; width: 12%; height: 22%; }
.painted-beige.phase-room .beige-lamp { left: 74%; top: 34%; width: 10%; height: 24%; }

.painted-beige.phase-lying .beige-kitty { left: 42%; top: 32%; width: 48%; height: 45%; }
.painted-beige.phase-lying .beige-mattress { left: 18%; top: 21%; width: 64%; height: 70%; }
.painted-beige.phase-lying .beige-notes { left: 2%; top: 65%; width: 18%; height: 22%; }
.painted-beige.phase-lying .beige-laptop { left: 78%; top: 17%; width: 16%; height: 15%; }
.painted-beige.phase-lying .beige-phone { left: 75%; top: 30%; width: 14%; height: 22%; }

.painted-beige .phone-message-text {
  opacity: 0;
  pointer-events: none;
}

.painted-beige .send-message-button {
  left: 57.4%;
  top: 40.8%;
  width: 6.6%;
  min-height: 7.6%;
  opacity: 0;
  color: transparent;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.painted-parcel .parcel-hotspot img {
  opacity: 0;
}

.painted-parcel .parcel-opened-painting {
  z-index: 3;
  opacity: 0;
  transition: opacity 420ms ease;
}

.painted-parcel.parcel-open .parcel-opened-painting {
  opacity: 1;
}

.painted-parcel.parcel-open .parcel-background {
  opacity: 0;
}

.painted-parcel .parcel-phone { left: 3%; top: 43%; width: 16%; height: 50%; transform: rotate(-7deg); }
.painted-parcel .parcel-shelf { left: 0%; top: 30%; width: 100%; height: 53%; }
.painted-parcel .parcel-b11 { left: 20%; top: 43%; width: 15%; height: 25%; }
.painted-parcel .parcel-b71 { left: 36%; top: 43%; width: 15%; height: 25%; }
.painted-parcel .parcel-b17-plain { left: 51%; top: 43%; width: 15%; height: 25%; }
.painted-parcel .parcel-b17-lemon { left: 67%; top: 43%; width: 17%; height: 25%; }
.painted-parcel .parcel-opened { left: 26%; top: 42%; width: 50%; height: 40%; }
.painted-parcel .parcel-kitty { left: 67%; top: 3%; width: 17%; height: 29%; }
.painted-parcel .parcel-football { left: 6%; top: 9%; width: 20%; height: 15%; }

.painted-village .village-room,
.painted-village .village-projector-placed,
.painted-village .village-watch-match-image,
.painted-village .village-watch-lean-image,
.painted-village .village-watch-turn-image {
  image-rendering: auto;
}

.painted-village .village-hdmi,
.painted-village .village-projection,
.painted-village .village-ronaldo-jersey-image,
.painted-village .village-jiecai img,
.painted-village .village-guokui img {
  opacity: 0 !important;
}

.painted-village .village-projector-placed {
  z-index: 2;
}

.painted-village .village-cat-food-bag-image,
.painted-village .village-cat-bowl-image,
.painted-village .village-cats-fed-image {
  image-rendering: auto;
}

.painted-village .village-jiecai { left: 25%; top: 63%; width: 18%; height: 24%; }
.painted-village .village-guokui { left: 78%; top: 55%; width: 15%; height: 29%; }
.painted-village .village-perfume-desk { left: 4%; top: 33%; width: 28%; height: 25%; }
.painted-village .village-cosmetics-desk { left: 60%; top: 29%; width: 34%; height: 33%; }
.painted-village .village-laptop { left: 72%; top: 35%; width: 15%; height: 17%; }
.painted-village .village-photo-wall { left: 55%; top: 11%; width: 19%; height: 22%; }
.painted-village .village-tapestry { left: 18%; top: 2%; width: 32%; height: 24%; }
.painted-village .village-bed { left: 0%; top: 42%; width: 42%; height: 39%; }
.painted-village .village-wardrobe { left: 45%; top: 1%; width: 15%; height: 52%; }
.painted-village .village-chicken { left: 72%; top: 69%; width: 13%; height: 14%; }
.painted-village .village-cola { left: 86%; top: 64%; width: 8%; height: 22%; }
.painted-village .village-ice-cream { left: 67%; top: 74%; width: 9%; height: 12%; }
.painted-village .village-jersey { left: 40%; top: 70%; width: 17%; height: 17%; }
.painted-village .village-ronaldo-jersey { left: 40%; top: 70%; width: 17%; height: 17%; }
.painted-village .village-cat-food { left: 5%; top: 78%; width: 13%; height: 15%; }
.painted-village .village-cat-bowl { left: 13%; top: 77%; width: 16%; height: 14%; }
.painted-village .village-kitty { left: 0; top: 0; width: 1%; height: 1%; }
.painted-village .village-projection-area { left: 17%; top: 7%; width: 60%; height: 42%; }
.painted-village .village-watch-snacks { left: 72%; top: 63%; width: 23%; height: 30%; }
.painted-village .village-watch-kitty { left: 42%; top: 37%; width: 31%; height: 45%; }
.painted-village .village-watch-cats { left: 0%; top: 56%; width: 36%; height: 34%; }
.painted-village .village-watch-match { left: 16%; top: 5%; width: 64%; height: 40%; }

.painted-village.match-started .village-room,
.painted-village.match-started .village-projector-placed,
.painted-village.final-dialogue .village-room,
.painted-village.final-dialogue .village-projector-placed {
  opacity: 0;
}

.painted-village.match-started .village-watch-match-image {
  z-index: 29;
}

.painted-village.final-dialogue .village-watch-lean-image,
.painted-village.final-dialogue .village-watch-turn-image {
  z-index: 30;
}

/* Cropped prop-sheet PNG integration */
.painted-cafe .hotspot img,
.painted-cafe .hand-cup,
.painted-beige .beige-hotspot img,
.painted-beige .beige-curtains-image,
.painted-parcel .parcel-hotspot img,
.painted-parcel .parcel-projector-prop,
.painted-parcel .parcel-hdmi-prop,
.painted-village .village-hotspot img,
.painted-village .village-projection,
.painted-village .village-projector-placed,
.painted-village .village-hdmi,
.painted-village .village-outlet,
.painted-village .village-ronaldo-jersey-image,
.painted-village .village-cat-food-bag-image,
.painted-village .village-cat-bowl-image,
.painted-village .village-cats-fed-image,
.painted-village .village-guokui-fed-image,
.painted-village .village-final-mychael-image,
.painted-village .village-final-kitty-image,
.inventory img,
.scene-inventory img {
  image-rendering: auto;
}

.painted-cafe .lemon-tea img,
.painted-cafe .americano img,
.painted-cafe .receipt img,
.painted-cafe .napkin img,
.painted-cafe .cup-sleeve img,
.painted-cafe .football-phone img,
.painted-cafe .philosophy-book img,
.painted-cafe .lemon-spill img {
  opacity: 1;
}

.painted-cafe .lemon-tea { left: 8%; top: 61%; width: 15%; height: 24%; }
.painted-cafe .americano { left: 70%; top: 53%; width: 10%; height: 30%; }
.painted-cafe .receipt { left: 31%; top: 65%; width: 10%; height: 20%; }
.painted-cafe .napkin { left: 45%; top: 68%; width: 14%; height: 14%; }
.painted-cafe .cup-sleeve { left: 62%; top: 62%; width: 13%; height: 18%; }
.painted-cafe .football-phone { left: 80%; top: 65%; width: 13%; height: 17%; }
.painted-cafe .philosophy-book { left: 18%; top: 54%; width: 16%; height: 16%; }
.painted-cafe .lemon-spill { left: 9.5%; top: 70%; width: 16%; height: 13%; }
.painted-cafe .lemon-spill img {
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0.9;
}
.painted-cafe .hand-cup.show {
  opacity: 1;
}

.painted-beige .beige-curtains-image,
.painted-beige .beige-ac-remote img,
.painted-beige .beige-heater img,
.painted-beige .beige-water img,
.painted-beige .beige-jersey img,
.painted-beige .beige-slippers img,
.painted-beige .beige-clothes img,
.painted-beige .beige-notes img,
.painted-beige .beige-phone img {
  opacity: 1;
}

.painted-beige .beige-kitty img {
  opacity: 0;
}

.painted-beige .beige-curtains-image {
  left: 30.5%;
  top: 4%;
  width: 31.5%;
  height: 38%;
}
.painted-beige.phase-room .beige-ac-remote { left: 76%; top: 5%; width: 12%; height: 16%; }
.painted-beige.phase-room .beige-heater { left: 2%; top: 25%; width: 9%; height: 25%; }
.painted-beige.phase-room .beige-water { left: 77%; top: 39%; width: 8.5%; height: 17%; }
.painted-beige.phase-room .beige-notes { left: 78%; top: 55%; width: 16%; height: 14%; }
.painted-beige.phase-room .beige-phone { left: 82%; top: 58%; width: 11%; height: 24%; }
.painted-beige.phase-room .beige-jersey { left: 87%; top: 54%; width: 12%; height: 24%; }
.painted-beige.phase-room .beige-slippers { left: 54%; top: 83%; width: 17%; height: 13%; }
.painted-beige.phase-room .beige-clothes { left: 1%; top: 63%; width: 18%; height: 20%; }
.painted-beige.phase-lying .beige-notes { left: 2%; top: 65%; width: 22%; height: 18%; }
.painted-beige.phase-lying .beige-laptop { left: 76%; top: 17%; width: 18%; height: 18%; }
.painted-beige.phase-lying .beige-phone { left: 74%; top: 32%; width: 13%; height: 23%; }

.painted-parcel .parcel-phone img,
.painted-parcel .parcel-package img,
.painted-parcel .parcel-opened img {
  opacity: 1;
}

.painted-parcel .parcel-kitty img {
  opacity: 0;
}

.painted-parcel.parcel-open .parcel-opened-painting {
  opacity: 0;
}

.painted-parcel.parcel-open .parcel-background {
  opacity: 1;
}

.parcel-projector-prop,
.parcel-hdmi-prop {
  inset: auto;
  opacity: 0;
  height: auto;
  z-index: 19;
}

.parcel-projector-prop { left: 34%; top: 66%; width: 18%; }
.parcel-hdmi-prop { left: 50%; top: 67%; width: 18%; }

.painted-parcel.parcel-open .parcel-projector-prop,
.painted-parcel.parcel-open .parcel-hdmi-prop {
  opacity: 1;
}

.painted-parcel .parcel-phone { left: 4%; top: 40%; width: 14%; height: 49%; }
.painted-parcel .parcel-b11 { left: 20%; top: 42%; width: 15%; height: 26%; }
.painted-parcel .parcel-b71 { left: 36%; top: 42%; width: 15%; height: 26%; }
.painted-parcel .parcel-b17-plain { left: 51.5%; top: 42%; width: 15%; height: 26%; }
.painted-parcel .parcel-b17-lemon { left: 67%; top: 42%; width: 17%; height: 26%; }
.painted-parcel .parcel-opened { left: 24%; top: 58%; width: 34%; height: 29%; }

.painted-village .village-projection,
.painted-village .village-hdmi,
.painted-village .village-outlet,
.painted-village .village-ronaldo-jersey-image,
.painted-village .village-jiecai img,
.painted-village .village-guokui img {
  opacity: 1 !important;
}

.painted-village .village-projector-placed,
.painted-village .village-hdmi,
.painted-village .village-outlet,
.painted-village .village-projection,
.painted-village .village-ronaldo-jersey-image,
.painted-village .village-cat-food-bag-image,
.painted-village .village-cat-bowl-image,
.painted-village .village-cats-fed-image,
.painted-village .village-guokui-fed-image,
.painted-village .village-final-mychael-image,
.painted-village .village-final-kitty-image {
  inset: auto;
  height: auto;
  object-fit: contain;
}

.painted-village .village-projector-placed { left: 61%; top: 30%; width: 33%; z-index: 8; }
.painted-village .village-hdmi { left: 58%; top: 32%; width: 35%; z-index: 9; opacity: 0 !important; }
.painted-village .village-outlet { left: 92%; top: 6%; width: 6%; z-index: 9; opacity: 0 !important; }
.painted-village .village-projection { left: 24%; top: 18%; width: 41%; z-index: 5; opacity: 0 !important; }
.painted-village .village-ronaldo-jersey-image { left: 40%; top: 70%; width: 17%; z-index: 12; }
.painted-village .village-cat-food-bag-image { left: 5%; top: 76%; width: 9%; z-index: 23; }
.painted-village .village-cat-bowl-image { left: 14%; top: 80%; width: 11%; z-index: 23; }
.painted-village .village-cats-fed-image { left: 11%; top: 73%; width: 24%; z-index: 24; opacity: 0; }
.painted-village .village-guokui-fed-image { left: 27%; top: 73%; width: 20%; z-index: 24; opacity: 0; }
.painted-village .village-final-mychael-image { left: 49%; top: 48%; width: 16%; z-index: 32; opacity: 0; }
.painted-village .village-final-kitty-image { left: 58%; top: 49%; width: 16%; z-index: 33; opacity: 0; }

.painted-village.hdmi-connected .village-hdmi,
.painted-village.hdmi-connected .village-outlet,
.painted-village.match-started .village-projection {
  opacity: 1 !important;
}

.painted-village.cats-fed .village-cats-fed-image,
.painted-village.cats-fed .village-guokui-fed-image {
  opacity: 1;
}

.painted-village.match-started .village-projection,
.painted-village.final-dialogue.final-turn .village-final-mychael-image,
.painted-village.final-dialogue.final-turn .village-final-kitty-image {
  opacity: 1;
}

.painted-village.match-started .village-cats-fed-image,
.painted-village.match-started .village-guokui-fed-image {
  opacity: 0;
}

.painted-village.match-started .village-room,
.painted-village.match-started .village-projector-placed,
.painted-village.match-started .village-hdmi,
.painted-village.match-started .village-outlet,
.painted-village.match-started .village-ronaldo-jersey-image,
.painted-village.final-dialogue .village-room,
.painted-village.final-dialogue .village-projector-placed,
.painted-village.final-dialogue .village-hdmi,
.painted-village.final-dialogue .village-outlet,
.painted-village.final-dialogue .village-ronaldo-jersey-image {
  opacity: 0 !important;
}

/* Corrected prop usage: painted frames remain the source of truth. */
.painted-cafe .lemon-tea img,
.painted-cafe .americano img,
.painted-cafe .receipt img,
.painted-cafe .napkin img,
.painted-cafe .cup-sleeve img,
.painted-cafe .football-phone img,
.painted-cafe .philosophy-book img,
.painted-cafe .lemon-spill img,
.painted-cafe .kitty img,
.painted-beige .beige-hotspot img,
.painted-beige .beige-curtains-image,
.painted-parcel .parcel-hotspot img,
.painted-parcel .parcel-projector-prop,
.painted-parcel .parcel-hdmi-prop,
.painted-village .village-jiecai img,
.painted-village .village-guokui img,
.painted-village .village-ronaldo-jersey-image,
.painted-village .village-hdmi,
.painted-village .village-outlet,
.painted-village .village-projection,
.painted-village .village-cats-fed-image,
.painted-village .village-guokui-fed-image,
.painted-village .village-final-mychael-image,
.painted-village .village-final-kitty-image {
  opacity: 0 !important;
}

.painted-cafe .hand-cup.show {
  opacity: 1 !important;
}

.painted-cafe .lemon-spill img {
  opacity: 1 !important;
}

.painted-parcel.parcel-open .parcel-opened-painting {
  opacity: 1 !important;
}

.painted-parcel.parcel-open .parcel-background {
  opacity: 0 !important;
}

.painted-village .village-projector-placed {
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0;
}

.painted-village.projector-placed .village-projector-placed,
.painted-village.hdmi-connected .village-projector-placed {
  opacity: 1;
}

.painted-village.match-started .village-projector-placed,
.painted-village.final-dialogue .village-projector-placed {
  opacity: 0 !important;
}

.painted-village .village-cat-food-bag-image {
  left: 4.5%;
  top: 78%;
  width: 8%;
  z-index: 23;
  opacity: 1;
}

.painted-village .village-cat-bowl-image {
  left: 13%;
  top: 81%;
  width: 10%;
  z-index: 23;
  opacity: 1;
}

.painted-village.cat-food-picked .village-cat-food-bag-image,
.painted-village.cats-fed .village-cat-bowl-image,
.painted-village.match-started .village-cat-food-bag-image,
.painted-village.match-started .village-cat-bowl-image,
.painted-village.final-dialogue .village-cat-food-bag-image,
.painted-village.final-dialogue .village-cat-bowl-image {
  opacity: 0 !important;
}

/* Immersive next-step cue: keep hinting without drawing UI rectangles over the art. */
.beige-hotspot.is-next::before,
.parcel-hotspot.is-next::before,
.village-hotspot.is-next::before {
  content: "" !important;
  position: absolute !important;
  inset: auto !important;
  left: 50% !important;
  top: 50% !important;
  width: clamp(16px, 2.8vw, 28px) !important;
  height: clamp(16px, 2.8vw, 28px) !important;
  border: 1.5px solid rgba(244, 239, 230, 0.82) !important;
  border-radius: 50% !important;
  background:
    radial-gradient(circle at 50% 50%, rgba(244, 239, 230, 0.42) 0 18%, rgba(244, 239, 230, 0.08) 42%, transparent 68%) !important;
  box-shadow: 0 0 0 1px rgba(9, 9, 9, 0.5), 0 0 12px rgba(244, 239, 230, 0.26) !important;
  transform: translate(-50%, -50%) !important;
  pointer-events: none !important;
  animation: next-glint 1500ms ease-in-out infinite !important;
}

@keyframes next-glint {
  0%, 100% {
    opacity: 0.34;
    transform: translate(-50%, -50%) scale(0.88);
  }
  50% {
    opacity: 0.92;
    transform: translate(-50%, -50%) scale(1.12);
  }
}

/* Final art-lock overrides.
   Painted keyframes are the main visuals. Cropped board props are used only
   where the background does not already contain that object. */
.painted-cafe .table,
.painted-cafe .kitty img,
.painted-cafe .lemon-tea img,
.painted-cafe .americano img,
.painted-cafe .receipt img,
.painted-cafe .napkin img,
.painted-cafe .cup-sleeve img,
.painted-cafe .football-phone img,
.painted-cafe .philosophy-book img,
.painted-beige .beige-hotspot img,
.painted-beige .beige-curtains-image,
.painted-parcel .parcel-hotspot img,
.painted-parcel .parcel-projector-prop,
.painted-parcel .parcel-hdmi-prop,
.painted-village .village-hotspot img,
.painted-village .village-hdmi,
.painted-village .village-outlet,
.painted-village .village-projection,
.painted-village .village-ronaldo-jersey-image,
.painted-village .village-cats-fed-image,
.painted-village .village-guokui-fed-image,
.painted-village .village-final-mychael-image,
.painted-village .village-final-kitty-image {
  opacity: 0 !important;
}

.painted-cafe .lemon-spill img,
.painted-cafe .hand-cup.show {
  opacity: 1 !important;
}

.painted-cafe .lemon-spill.is-cleaned {
  opacity: 0 !important;
  pointer-events: none !important;
}

.painted-parcel.parcel-open .parcel-background {
  opacity: 0 !important;
}

.painted-parcel.parcel-open .parcel-opened-painting {
  opacity: 1 !important;
}

.painted-parcel.parcel-open .parcel-projector-prop,
.painted-parcel.parcel-open .parcel-hdmi-prop {
  opacity: 0 !important;
}

.painted-village .village-projector-placed {
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: 2 !important;
  opacity: 0 !important;
}

.painted-village.projector-placed .village-projector-placed,
.painted-village.hdmi-connected .village-projector-placed {
  opacity: 1 !important;
}

.painted-village.match-started .village-room,
.painted-village.match-started .village-projector-placed,
.painted-village.final-dialogue .village-room,
.painted-village.final-dialogue .village-projector-placed {
  opacity: 0 !important;
}

.painted-village.match-started .village-watch-match-image {
  opacity: 1 !important;
}

.painted-village.final-dialogue .village-watch-match-image {
  opacity: 0 !important;
}

.painted-village.final-dialogue .village-watch-lean-image {
  opacity: 1 !important;
}

.painted-village.final-dialogue.final-turn .village-watch-lean-image {
  opacity: 0 !important;
}

.painted-village.final-dialogue.final-turn .village-watch-turn-image {
  opacity: 1 !important;
}

.painted-village .village-cat-food-bag-image {
  left: 6% !important;
  top: 76.5% !important;
  width: 7% !important;
  height: auto !important;
  object-fit: contain !important;
  z-index: 23 !important;
  opacity: 1 !important;
}

.painted-village .village-cat-bowl-image {
  left: 14% !important;
  top: 81% !important;
  width: 9% !important;
  height: auto !important;
  object-fit: contain !important;
  z-index: 23 !important;
  opacity: 1 !important;
}

.painted-village.cat-food-picked .village-cat-food-bag-image,
.painted-village.cats-fed .village-cat-bowl-image,
.painted-village.match-started .village-cat-food-bag-image,
.painted-village.match-started .village-cat-bowl-image,
.painted-village.final-dialogue .village-cat-food-bag-image,
.painted-village.final-dialogue .village-cat-bowl-image {
  opacity: 0 !important;
}
