@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Quicksand:wght@500;600;700&display=swap');
.mango-label-hidden{display:none!important;visibility:hidden!important;opacity:0!important;}

:root{
  --pink:#f6a8c9;
  --pink2:#e97eaf;
  --pink3:#ffdce9;
  --white:#fffdfd;
  --ink:#5a4354;
  --purple:#b8a0e8;
  --purple2:#8062bc;
}

*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;overflow:hidden}
body{background:#fff;font-family:Quicksand,sans-serif;color:var(--ink)}
button{font:inherit}
.game{width:100vw;height:100vh;position:relative;overflow:hidden;background:#fff}

.screen{position:absolute;inset:0;display:none;overflow:hidden}
.screen.active{display:block}

.floating-decor{position:absolute;inset:0;z-index:20;pointer-events:none}
.floating-decor span{position:absolute;color:white;text-shadow:0 0 15px rgba(232,126,175,.8);opacity:.75;animation:float 4s ease-in-out infinite}
.floating-decor span:nth-child(1){left:7%;top:18%;font-size:24px}
.floating-decor span:nth-child(2){left:88%;top:15%;font-size:18px;animation-delay:.6s}
.floating-decor span:nth-child(3){left:91%;top:72%;font-size:28px;animation-delay:1.2s}
.floating-decor span:nth-child(4){left:15%;top:79%;font-size:17px;animation-delay:1.8s}
.floating-decor span:nth-child(5){left:69%;top:8%;font-size:14px;animation-delay:2.2s}

.speed-lines{position:absolute;inset:0;z-index:19;pointer-events:none;opacity:.13;background:repeating-linear-gradient(125deg,transparent 0 22px,#fff 23px 25px,transparent 26px 58px);mix-blend-mode:screen}

.title-screen{
  background:
    radial-gradient(circle at 51% 42%,#fff 0 15%,transparent 43%),
    linear-gradient(135deg,#fff 0%,#fff7fb 38%,#f9d4e5 100%);
}
.title-slash{position:absolute;transform:skewX(-18deg) rotate(-12deg);background:var(--pink);opacity:.82}
.slash-one{width:42vw;height:18vh;right:-7vw;top:13vh}
.slash-two{width:29vw;height:10vh;left:-5vw;bottom:16vh;background:#ef91b9;opacity:.6}
.title-copy{position:absolute;left:11%;top:50%;transform:translateY(-50%);z-index:3}
.mini-label{font-size:12px;letter-spacing:.24em;font-weight:700;color:#b76b8f;margin-bottom:15px}
h1{
  margin:0;
  font-family:"Archivo Black",sans-serif;
  font-size:clamp(48px,8vw,118px);
  line-height:.83;
  letter-spacing:-.045em;
  color:#e77cab;
  text-shadow:8px 8px 0 rgba(255,255,255,.85);
}
h1 em{font-style:normal;color:#fff;-webkit-text-stroke:2px #e77cab;text-shadow:8px 8px 0 #f2b1cd}
.heart-line{color:#dc79a6;letter-spacing:.14em;margin:25px 0 10px;font-weight:700}
.title-copy p{margin:0 0 30px;font-size:18px;letter-spacing:.18em;text-transform:none;color:#9b738b}
.persona-button{
  position:relative;min-width:220px;padding:15px 30px;
  border:2px solid #e47ca9;background:rgba(255,255,255,.98);
  color:#d76d9e;font-weight:700;letter-spacing:.18em;cursor:pointer;
  clip-path:polygon(7% 0,100% 0,92% 100%,0 100%);
  box-shadow:10px 10px 0 rgba(229,126,171,.22);
  transition:.16s ease;
}
.persona-button:hover{transform:translate(7px,-3px);box-shadow:15px 13px 0 rgba(229,126,171,.18)}
.persona-button:active{transform:translate(2px,2px)}
.persona-button b{margin-left:24px;color:#ef9cc0}
.corner-label{position:absolute;right:4%;bottom:4%;font-size:10px;letter-spacing:.2em;color:#b27691;transform:rotate(-7deg)}

.intro-screen{
  background:
    linear-gradient(120deg,#fff 0 46%,#fdebf4 46% 100%);
}
.intro-pink-shape{
  position:absolute;right:-12%;top:-15%;width:58vw;height:95vh;
  background:linear-gradient(135deg,#f8c2da,#efa0c3);
  transform:rotate(12deg) skewX(-8deg);
  opacity:.85;
}
.intro-star{position:absolute;right:20%;top:18%;font-size:80px;color:white;z-index:2;text-shadow:0 0 25px #fff}
.intro-title{
  position:absolute;top:7%;left:6%;z-index:4;
  font-family:"Archivo Black";font-size:clamp(28px,4vw,54px);
  color:#e481aa;letter-spacing:-.03em;transform:rotate(-3deg);
}
.intro-character-slot{
  position:absolute;left:7%;bottom:7%;height:78%;width:43%;z-index:3;
  display:flex;align-items:flex-end;justify-content:center;
  animation:slideLeft .65s cubic-bezier(.2,.8,.2,1) both;
}
.placeholder-note{padding:18px 24px;border:2px dashed rgba(214,113,159,.5);background:rgba(255,255,255,.45);text-align:center;font-weight:700;letter-spacing:.08em}
.placeholder-note small{font-weight:500;letter-spacing:0;opacity:.7}

.dialogue{
  position:absolute;left:5%;right:5%;bottom:5%;min-height:21%;
  padding:22px 36px 17px;z-index:10;
  clip-path:polygon(2.5% 0,100% 0,97.5% 100%,0 100%);
  box-shadow:12px 14px 0 rgba(83,53,73,.13),0 15px 45px rgba(80,50,70,.2);
  animation:dialogueIn .38s ease both;
}
.pink-dialogue{background:linear-gradient(105deg,rgba(255,255,255,.98),rgba(255,237,247,.97));border:3px solid #e889b2}
.speaker{font-size:14px;font-weight:700;letter-spacing:.15em;color:#d96f9f;margin-bottom:8px}
.dialogue-text{font-size:clamp(18px,2.2vw,31px);line-height:1.35;min-height:2.6em}
.next{text-align:right;font-size:10px;letter-spacing:.16em;opacity:.6;font-weight:700}
.next span{color:#dc78a5}

.memory-screen{background:#111}
.memory-bg{position:absolute;inset:0;background-image:url("assets/memory1_theater.png");background-size:cover;background-position:center;transform:scale(1.02)}
.memory-color{position:absolute;inset:0;background:linear-gradient(135deg,rgba(26,18,43,.2),rgba(42,16,48,.08) 45%,rgba(0,0,0,.62));z-index:1}
.memory-label{position:absolute;top:5%;left:4%;z-index:5;color:#fff;font-size:12px;font-weight:700;letter-spacing:.15em;background:#e788b0;padding:11px 18px;clip-path:polygon(5% 0,100% 0,94% 100%,0 100%);transform:rotate(-2deg)}
.memory-label span{font-family:"Archivo Black";letter-spacing:.05em}
.memory-number{position:absolute;right:4%;top:2%;font-family:"Archivo Black";font-size:clamp(90px,14vw,210px);color:rgba(255,255,255,.12);z-index:2}
.character-slot{position:absolute;bottom:18%;height:65%;width:38%;z-index:4;display:flex;align-items:flex-end;justify-content:center}
.character-slot.left{left:1%;animation:slideLeft .65s ease both}
.character-slot.right{right:1%;animation:slideRight .65s .08s ease both}
.memory-screen .placeholder-note{color:#fff;border-color:rgba(255,255,255,.35);background:rgba(0,0,0,.2)}
.memory-screen .purple-note{color:#eee5ff}
#memoryDialogue{left:3%;right:3%;bottom:3%}

@keyframes slideLeft{from{opacity:0;transform:translateX(-110px)}to{opacity:1;transform:translateX(0)}}
@keyframes slideRight{from{opacity:0;transform:translateX(110px)}to{opacity:1;transform:translateX(0)}}
@keyframes dialogueIn{from{opacity:0;transform:translateY(32px) skewX(-2deg)}to{opacity:1;transform:translateY(0) skewX(0)}}
@keyframes float{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-13px) rotate(7deg)}}

@media(max-width:700px){
  .title-copy{left:7%;right:7%}
  h1{font-size:18vw}
  .intro-character-slot{width:70%;left:15%}
  .dialogue{left:3%;right:3%;padding:17px 25px 14px}
}

/* INTRO CHARACTER — original visual-novel portrait treatment */
.intro-character-slot{overflow:visible}
.intro-character{
  position:relative;
  height:100%;
  max-width:100%;
  object-fit:contain;
  object-position:center bottom;
  filter:drop-shadow(0 12px 18px rgba(120,65,95,.18));
  transform-origin:50% 100%;
  animation:portraitEnter .7s cubic-bezier(.18,.9,.2,1) both, portraitBreath 3.8s ease-in-out .75s infinite;
}
.portrait-aura{
  position:absolute;
  width:70%;
  height:70%;
  left:15%;
  bottom:4%;
  border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.92),rgba(255,213,231,.35) 48%,transparent 72%);
  filter:blur(4px);
}
.intro-character-slot::after{
  content:"✦  ♡  ✦";
  position:absolute;right:-2%;top:13%;font-size:22px;letter-spacing:10px;color:#fff;
  text-shadow:0 0 12px #e98ab2;transform:rotate(-10deg);opacity:.9;
}
@keyframes portraitEnter{
  from{opacity:0;transform:translateX(-170px) translateY(35px) rotate(-7deg) scale(.92)}
  to{opacity:1;transform:translateX(0) translateY(0) rotate(0) scale(1)}
}
@keyframes portraitBreath{
  0%,100%{margin-bottom:0}
  50%{margin-bottom:5px}
}




/* ===== PERSONA-INSPIRED DIALOGUE HUD ===== */
.memory-hud{position:absolute;inset:0;z-index:9;pointer-events:none}
.date-card{
  position:absolute;right:3.2%;top:3%;display:grid;grid-template-columns:auto auto;grid-template-rows:auto auto;column-gap:10px;align-items:center;
  min-width:168px;padding:8px 13px 9px 16px;background:rgba(255,255,255,.93);color:#5b4056;
  border:2px solid rgba(255,255,255,.95);box-shadow:6px 7px 0 rgba(20,12,27,.2);transform:skewX(-10deg) rotate(-1deg)
}
.date-card::before{content:"";position:absolute;left:-7px;top:0;bottom:0;width:5px;background:var(--pink);}
.date-card strong{font-family:"Archivo Black";font-size:25px;line-height:1;letter-spacing:.02em;transform:skewX(10deg)}
.date-card span{font-size:11px;font-weight:800;letter-spacing:.15em;color:#d66e9f;transform:skewX(10deg)}
.date-card b{grid-column:1/3;font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:#7f6a7b;transform:skewX(10deg);margin-top:3px}
.date-card i{position:absolute;right:-14px;top:-13px;font-style:normal;color:#ffe56a;font-size:25px;text-shadow:0 0 5px #fff,0 0 12px rgba(255,220,88,.9);transform:skewX(10deg) rotate(8deg);animation:princessTwinkle 1.6s ease-in-out infinite}

.memory-screen .dialogue{
  left:2.3%;right:2.3%;bottom:2.8%;min-height:22%;padding:0 34px 18px;
  overflow:visible;background:rgba(255,248,252,.97);border:0;clip-path:polygon(1.4% 0,100% 0,98.6% 100%,0 100%);
  box-shadow:14px 13px 0 rgba(17,9,23,.28),0 15px 45px rgba(10,4,16,.32)
}
.memory-screen .dialogue::before{content:"";position:absolute;left:0;top:0;width:100%;height:7px;background:linear-gradient(90deg,var(--pink) 0 52%,var(--purple) 52% 100%);}
.memory-screen .dialogue::after{content:none !important}
.memory-screen .speaker{
  display:inline-flex;align-items:center;gap:7px;margin:0 0 9px -6px;padding:8px 30px 8px 22px;min-width:125px;
  color:#fff;font-family:"Archivo Black";font-size:14px;letter-spacing:.05em;text-transform:uppercase;
  background:var(--pink);clip-path:polygon(0 0,100% 0,92% 100%,6% 100%);transform:translateY(-1px)
}
.memory-screen .speaker-accent{display:inline-block}
.memory-screen .speaker-heart{font-family:Quicksand;font-size:18px;line-height:1}
.memory-screen .dialogue-text{color:#574553;font-size:clamp(19px,2.15vw,30px);font-weight:600;line-height:1.3;min-height:2.5em;max-width:88%}
.memory-screen .next{color:#806d7b;font-size:10px;margin-top:4px}
.memory-screen .next span{color:#e887ae}
.memory-screen .dialogue.chai-dialogue{background:rgba(248,244,255,.98)}
.memory-screen .dialogue.chai-dialogue::before{background:linear-gradient(90deg,var(--purple) 0 52%,var(--pink) 52% 100%)}
.memory-screen .dialogue.chai-dialogue .speaker{background:var(--purple2)}
.memory-screen .dialogue.chai-dialogue .next span{color:var(--purple2)}

.princess-sparkles{position:absolute;inset:0;z-index:7;pointer-events:none;overflow:hidden}
.princess-sparkles span{position:absolute;color:#ffe36a;text-shadow:0 0 4px #fff,0 0 14px rgba(255,222,86,.95);font-family:serif;animation:princessTwinkle 1.7s ease-in-out infinite}
.princess-sparkles span:nth-child(1){left:12%;top:14%;font-size:28px;animation-delay:.2s}
.princess-sparkles span:nth-child(2){left:27%;top:27%;font-size:14px;animation-delay:.8s}
.princess-sparkles span:nth-child(3){right:26%;top:17%;font-size:22px;animation-delay:1.1s}
.princess-sparkles span:nth-child(4){right:12%;top:36%;font-size:13px;animation-delay:.5s}
.princess-sparkles span:nth-child(5){left:44%;top:8%;font-size:16px;animation-delay:1.4s}
.princess-sparkles span:nth-child(6){left:7%;bottom:27%;font-size:12px;animation-delay:.9s}

@keyframes princessTwinkle{0%,100%{opacity:.35;transform:scale(.72) rotate(0deg)}50%{opacity:1;transform:scale(1.22) rotate(18deg)}}
@media(max-width:700px){
  .date-card{right:3%;top:3%;min-width:132px;padding:6px 10px 7px 12px}.date-card strong{font-size:20px}.date-card span{font-size:9px}.date-card b{font-size:8px}
  .memory-screen .dialogue{padding:0 20px 13px;min-height:25%}.memory-screen .speaker{font-size:12px;padding:7px 22px 7px 17px}.memory-screen .dialogue-text{font-size:17px;max-width:94%}
}

/* Extra princess-style sparkle field for the intro */
.intro-princess-sparkles{position:absolute;inset:0;z-index:5;pointer-events:none;overflow:hidden}
.intro-princess-sparkles span{position:absolute;color:#ffe36a;font-family:serif;font-weight:700;text-shadow:0 0 4px #fff,0 0 10px rgba(255,222,86,.95),0 0 22px rgba(255,225,104,.6);animation:introTwinkle 1.55s ease-in-out infinite}
.intro-princess-sparkles span:nth-child(1){left:5%;top:15%;font-size:30px;animation-delay:.1s}
.intro-princess-sparkles span:nth-child(2){left:39%;top:9%;font-size:15px;animation-delay:.55s}
.intro-princess-sparkles span:nth-child(3){left:54%;top:25%;font-size:25px;animation-delay:1s}
.intro-princess-sparkles span:nth-child(4){right:8%;top:20%;font-size:17px;animation-delay:.35s}
.intro-princess-sparkles span:nth-child(5){right:24%;top:46%;font-size:28px;animation-delay:1.2s}
.intro-princess-sparkles span:nth-child(6){left:10%;bottom:20%;font-size:14px;animation-delay:.75s}
.intro-princess-sparkles span:nth-child(7){left:47%;bottom:12%;font-size:19px;animation-delay:1.4s}
.intro-princess-sparkles span:nth-child(8){right:4%;bottom:31%;font-size:13px;animation-delay:.9s}
@keyframes introTwinkle{0%,100%{opacity:.35;transform:scale(.65) rotate(0)}50%{opacity:1;transform:scale(1.3) rotate(20deg)}}

/* ===== CHAI MEMORY PORTRAIT ===== */
.chai-slot{
  z-index:4;
  width:46%;
  right:-1%;
  bottom:17%;
  height:74%;
  pointer-events:none;
  opacity:0;
  transform:translateX(140px);
  transition:opacity .18s ease, transform .18s ease;
}
.chai-slot.entered{
  opacity:1;
  transform:translateX(0);
  animation:chaiSlideIn .7s cubic-bezier(.18,.9,.2,1) both;
}
.memory-character.chai-character{
  display:block;
  height:100%;
  max-width:100%;
  object-fit:contain;
  object-position:center bottom;
  filter:drop-shadow(0 12px 18px rgba(10,5,18,.35));
  transition:filter .18s ease, transform .18s ease, opacity .18s ease;
}
.chai-slot:not(.speaking) .chai-character{filter:drop-shadow(0 12px 18px rgba(10,5,18,.35)) brightness(.72)}
.chai-slot.entered .chai-character{filter:drop-shadow(0 0 7px rgba(184,160,232,.38)) drop-shadow(0 12px 18px rgba(10,5,18,.35)) brightness(.98)}
.chai-slot.speaking .chai-character{filter:drop-shadow(0 0 9px rgba(184,160,232,.55)) drop-shadow(0 12px 18px rgba(10,5,18,.35)) brightness(1.03);transform:translateY(-3px)}
@keyframes chaiSlideIn{from{opacity:0;transform:translateX(150px)}to{opacity:1;transform:translateX(0)}}
@media(max-width:700px){
  .chai-slot{width:54%;right:-2%;bottom:17%;height:74%}
}

/* ===== V11: bubbly visual-novel game treatment ===== */
.game-vignette{position:absolute;inset:0;z-index:99;pointer-events:none;box-shadow:inset 0 0 90px rgba(76,42,68,.12)}
.title-sparkles,.memory-sparkles{position:absolute;inset:0;pointer-events:none;z-index:6}.title-sparkles i{position:absolute;color:#ffe36a;text-shadow:0 0 5px #fff,0 0 18px rgba(255,222,86,.9);font-style:normal;animation:princessTwinkle 1.5s infinite}.title-sparkles i:nth-child(1){left:8%;top:20%;font-size:30px}.title-sparkles i:nth-child(2){left:46%;top:12%;font-size:14px;animation-delay:.5s}.title-sparkles i:nth-child(3){right:12%;top:25%;font-size:25px;animation-delay:.9s}.title-sparkles i:nth-child(4){right:22%;bottom:18%;font-size:17px;animation-delay:1.2s}.title-sparkles i:nth-child(5){left:55%;bottom:12%;font-size:28px;animation-delay:.3s}
.intro-subtitle{position:absolute;top:14%;left:7%;z-index:5;color:#fff;background:#e789b0;padding:6px 16px;transform:rotate(-3deg);font-size:11px;font-weight:800;letter-spacing:.2em;box-shadow:5px 5px 0 rgba(145,82,111,.12)}
.intro-dialogue{border-radius:8px 3px 8px 3px}.dialogue{backdrop-filter:blur(4px)}.speaker-row{display:flex;align-items:center;justify-content:space-between}.dialogue-icon{color:#f0b0c8;font-size:18px}.pink-dialogue .speaker{background:#e77fad;color:#fff;display:inline-block;padding:8px 28px 8px 18px;clip-path:polygon(5% 0,100% 0,94% 100%,0 100%);margin:-22px 0 10px -12px}.chai-dialogue{background:linear-gradient(105deg,rgba(250,247,255,.99),rgba(237,228,255,.98))!important;border-color:#9d82d4!important}.chai-dialogue .speaker{background:#8062bc;color:#fff}.chai-dialogue .dialogue-icon{color:#a78bd7}.memory-screen .dialogue-text{font-weight:650;text-shadow:0 1px 0 rgba(255,255,255,.5)}
.date-card{position:absolute;right:4%;top:3%;z-index:8;min-width:160px;padding:8px 14px 9px 18px;background:rgba(255,255,255,.94);border:3px solid #e887ad;clip-path:polygon(6% 0,100% 0,94% 100%,0 100%);display:grid;grid-template-columns:auto auto;gap:1px 9px;box-shadow:6px 6px 0 rgba(25,13,35,.18)}.date-card strong{font-family:'Archivo Black';font-size:25px;color:#e67ca8;line-height:1}.date-card span{font-size:10px;font-weight:800;color:#80687a;align-self:end}.date-card b{grid-column:1/3;font-size:9px;letter-spacing:.18em;color:#745d70}.date-card i{position:absolute;right:-8px;bottom:-7px;color:#ffe36a;font-size:25px;text-shadow:0 0 5px #fff;transform:rotate(12deg)}
.memory-location{position:absolute;left:4%;bottom:27%;z-index:6;color:#fff;background:rgba(35,17,46,.72);border-left:6px solid #e887ad;padding:8px 15px;font-size:11px;font-weight:800;letter-spacing:.18em;transform:skewX(-8deg)}
.social-rank{position:absolute;left:4%;top:14%;z-index:8;color:#fff;background:rgba(42,24,49,.72);padding:8px 13px;border:1px solid rgba(255,255,255,.45);clip-path:polygon(4% 0,100% 0,96% 100%,0 100%);font-size:9px;letter-spacing:.13em}.social-rank strong{font-family:'Archivo Black';font-size:22px;color:#ffe36a;margin-left:7px}.rank-hearts{color:#ffd86b;letter-spacing:2px;margin-top:2px}
.choices{display:flex;gap:10px;flex-wrap:wrap;margin:8px 0 0}.choice{border:2px solid #e888ae;background:#fff7fb;color:#745568;padding:8px 13px;cursor:pointer;font-weight:700;clip-path:polygon(4% 0,100% 0,96% 100%,0 100%);box-shadow:4px 4px 0 rgba(115,73,99,.12);transition:.12s}.choice:hover,.choice.picked{transform:translateY(-2px);background:#f7d4e3;border-color:#d96f9f}.choice span{color:#e47da9;margin-right:7px;font-family:'Archivo Black'}
.rank-pop{position:absolute;left:50%;top:35%;transform:translate(-50%,-30%) scale(.8) rotate(-2deg);z-index:30;opacity:0;pointer-events:none;text-align:center;background:#fff9fd;border:4px solid #e77fad;padding:14px 35px;box-shadow:10px 10px 0 rgba(65,32,57,.22),0 0 0 5px rgba(255,227,106,.35);clip-path:polygon(4% 0,100% 0,96% 100%,0 100%)}.rank-pop small{display:block;color:#d76f9f;font-weight:900;letter-spacing:.2em}.rank-pop strong{display:block;font-family:'Archivo Black';font-size:26px;color:#8062bc}.rank-pop span{color:#e7ae37;font-weight:900}.rank-pop.show{animation:rankPop 1.5s cubic-bezier(.15,.85,.2,1) both}
.click-marker{position:fixed;z-index:200;pointer-events:none;color:#ffe36a;font-size:22px;text-shadow:0 0 5px #fff;opacity:0}.click-marker.show{animation:clickMark .5s ease-out both}.click-flash{position:fixed;inset:0;z-index:150;pointer-events:none;background:radial-gradient(circle at var(--x) var(--y),rgba(255,255,255,.35),transparent 22%);opacity:0}.click-flash.hit{animation:flashHit .12s ease-out}
.chapters-screen{background:radial-gradient(circle at 50% 30%,#fff 0,#fff5fa 35%,#f5c5dc 100%);padding:6vh 7vw}.chapter-top{display:flex;justify-content:space-between;color:#a96d89;font-size:10px;font-weight:900;letter-spacing:.18em}.hud-time strong{color:#8062bc;font-family:'Archivo Black';font-size:15px}.chapter-heading{margin:8vh 0 4vh;position:relative}.chapter-heading small{color:#d775a1;letter-spacing:.25em;font-weight:900}.chapter-heading h2{margin:7px 0;font-family:'Archivo Black';font-size:clamp(38px,6vw,78px);line-height:.9;color:#e77cab;text-shadow:5px 5px #fff}.chapter-heading p{font-size:18px;color:#87677a}.chapter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;max-width:900px}.chapter-card{position:relative;text-align:left;border:3px solid #e58aae;background:rgba(255,255,255,.86);padding:20px 24px;cursor:pointer;min-height:120px;clip-path:polygon(3% 0,100% 0,97% 100%,0 100%);box-shadow:7px 7px 0 rgba(222,122,164,.16);transition:.16s}.chapter-card:hover{transform:translate(5px,-4px);box-shadow:12px 11px 0 rgba(222,122,164,.16);background:#fff}.chapter-card strong{display:block;font-family:'Archivo Black';color:#8b5d79;font-size:22px}.chapter-card small{display:block;color:#b07b95;font-weight:800;letter-spacing:.1em;margin-top:8px}.chapter-card .chapter-num{position:absolute;right:15px;top:9px;font-family:'Archivo Black';font-size:43px;color:rgba(231,124,171,.18)}.chapter-card i{position:absolute;right:18px;bottom:13px;color:#ffe36a;font-style:normal;text-shadow:0 0 5px #fff}.chapter-card:not(.selected){opacity:1}.chapter-card:not(.selected) strong{color:#8b5d79}.chapter-card.shake{animation:shake .35s}.chapter-hint{margin-top:25px;color:#a06b86;font-size:10px;letter-spacing:.2em;font-weight:900}.chapter-hint span{color:#ffe36a;text-shadow:0 0 4px #fff}
@keyframes rankPop{0%{opacity:0;transform:translate(-50%,-30%) scale(.6) rotate(-6deg)}18%{opacity:1;transform:translate(-50%,-30%) scale(1.08) rotate(2deg)}80%{opacity:1;transform:translate(-50%,-30%) scale(1)}100%{opacity:0;transform:translate(-50%,-45%) scale(.95)}}@keyframes clickMark{0%{opacity:0;transform:translate(-50%,-50%) scale(.5) rotate(-20deg)}30%{opacity:1}100%{opacity:0;transform:translate(-50%,-80%) scale(1.5) rotate(20deg)}}@keyframes flashHit{0%{opacity:1}100%{opacity:0}}@keyframes shake{0%,100%{transform:translateX(0)}30%{transform:translateX(-6px)}70%{transform:translateX(6px)}}
@media(max-width:700px){.chapter-grid{grid-template-columns:1fr}.chapter-heading{margin-top:6vh}.social-rank{top:12%;left:3%;}.memory-location{bottom:30%;font-size:9px}.choices{gap:6px}.choice{font-size:12px;padding:7px 9px}.date-card{min-width:145px}.chapter-card strong{font-size:18px}}

/* ===== Movie scene: girl slides in from the left + gentle mouse parallax ===== */
.memory-screen{--parallax-x:0px;--parallax-y:0px;overflow:hidden}
.memory-screen .memory-bg{transform:scale(1.045) translate3d(var(--parallax-x),var(--parallax-y),0);transition:transform .35s ease-out;will-change:transform}
.you-slot{z-index:4;width:45%;left:-1%;bottom:17%;height:74%;pointer-events:none;opacity:0;transform:translateX(-150px)}
.you-slot.entered{opacity:1;transform:translateX(0);animation:youSlideIn .7s cubic-bezier(.18,.9,.2,1) both}
.memory-character.you-character{display:block;height:100%;max-width:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 12px 18px rgba(10,5,18,.35));transition:filter .18s ease,transform .18s ease,opacity .18s ease}
.memory-character.you-character.expression-swap{animation:expressionSwap .26s ease both}
@keyframes expressionSwap{0%{opacity:1;transform:translateY(-3px) scale(1)}35%{opacity:.18;transform:translateY(-3px) scale(.992)}100%{opacity:1;transform:translateY(-3px) scale(1)}}
.you-slot:not(.speaking) .you-character{filter:drop-shadow(0 12px 18px rgba(10,5,18,.35)) brightness(.72)}
.you-slot.speaking .you-character{filter:drop-shadow(0 12px 18px rgba(10,5,18,.35)) brightness(1.03);transform:translateY(-3px)}
@keyframes youSlideIn{from{opacity:0;transform:translateX(-150px)}to{opacity:1;transform:translateX(0)}}
@media(max-width:700px){.you-slot{width:54%;left:-2%;bottom:17%;height:70%}}


/* Gentle always-on life for the Your Name movie background */
#memory1 .scene-bg,
.memory1 .scene-bg,
#memory1 .background,
#memory1 .bg {
  animation: movieGentleSway 10s ease-in-out infinite alternate;
  transform-origin: center center;
  will-change: transform;
}
@keyframes movieGentleSway {
  0%   { transform: translate3d(-0.35%, 0.12%, 0) scale(1.015); }
  50%  { transform: translate3d(0.25%, -0.10%, 0) scale(1.018); }
  100% { transform: translate3d(0.40%, 0.16%, 0) scale(1.015); }
}


/* ===== V16: only the current speaker is visible ===== */
.memory-screen .character-slot{opacity:0;pointer-events:none;transform:translateX(0) scale(1);animation:none!important;transition:opacity .22s ease,transform .55s cubic-bezier(.18,.9,.2,1),filter .2s ease}
.memory-screen .character-slot.left{left:-1%;}
.memory-screen .character-slot.right{right:-1%;}
.memory-screen .character-slot.entered{opacity:1;}
.memory-screen .you-slot{width:48%;height:78%;bottom:16%;transform:translateX(-150px) scale(1.06);}
.memory-screen .you-slot.entered{transform:translateX(0) scale(1.06);animation:youSlideInV16 .65s cubic-bezier(.18,.9,.2,1) both!important;}
.memory-screen .chai-slot{width:48%;height:78%;bottom:16%;transform:translateX(160px) scale(1.12);}
.memory-screen .chai-slot.entered{transform:translateX(0) scale(1.12);animation:chaiSlideInV16 .65s cubic-bezier(.18,.9,.2,1) both!important;}
.memory-screen .you-slot:not(.speaking) .you-character{filter:drop-shadow(0 0 8px rgba(246,168,201,.30)) drop-shadow(0 12px 18px rgba(10,5,18,.35)) brightness(.72)}
.memory-screen .you-slot.speaking .you-character{filter:drop-shadow(0 0 6px rgba(246,168,201,.62)) drop-shadow(0 0 14px rgba(246,168,201,.22)) drop-shadow(0 12px 18px rgba(10,5,18,.35)) brightness(1.04);transform:translateY(-3px)}
.memory-screen .chai-slot.speaking .chai-character{filter:drop-shadow(0 0 7px rgba(184,160,232,.65)) drop-shadow(0 0 15px rgba(184,160,232,.22)) drop-shadow(0 12px 18px rgba(10,5,18,.35)) brightness(1.04);transform:translateY(-3px)}
@keyframes youSlideInV16{from{opacity:0;transform:translateX(-170px) scale(1.06)}to{opacity:1;transform:translateX(0) scale(1.06)}}
@keyframes chaiSlideInV16{from{opacity:0;transform:translateX(180px) scale(1.12)}to{opacity:1;transform:translateX(0) scale(1.12)}}
/* Bigger intro Social Rank HUD */
.social-rank{font-size:11px;padding:10px 16px;min-width:155px}
.social-rank strong{font-size:27px}
.rank-hearts{font-size:12px;letter-spacing:3px}

/* V18 click-safe decorations */
.safe-sparkles, .sparkle, .sparkle-layer, .sparkle-decor,
.princess-sparkle, .click-burst, .transition-wipe, .click-flash {
  pointer-events: none !important;
}

/* V20: speaker name always visible above decorations */
.speaker-top-layer,
.speaker-name,
.nameplate,
.dialogue-name,
#speakerName,
#nameLabel,
#dialogueName {
  z-index: 999 !important;
  position: relative !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
}
.safe-sparkles, .sparkle, .sparkle-layer, .sparkle-decor,
.princess-sparkle, .click-burst, .transition-wipe, .click-flash {
  pointer-events: none !important;
}

/* V21: Honey nameplate must be readable */
.memory-screen .speaker-row { position: relative; z-index: 30; }
.memory-screen .speaker-top-layer {
  position: relative !important;
  z-index: 40 !important;
  display: inline-flex !important;
  color: #fff !important;
  opacity: 1 !important;
  visibility: visible !important;
  text-transform: none !important;
}
#bgMusic { display:none; }

/* V22: unmistakable movie-scene speaker nameplate */
#memorySpeakerName {
  position: relative !important;
  z-index: 1000 !important;
  display: inline-flex !important;
  align-items: center !important;
  min-width: 145px !important;
  opacity: 1 !important;
  visibility: visible !important;
  color: #fff !important;
}
#memorySpeakerName .speaker-accent {
  color: #fff !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* V29: keep all decorative sparkles away from movie-scene dialogue text */
.memory-screen .dialogue-icon{display:none !important}
.memory-screen .memory-sparkles{display:none !important}
.memory-screen .date-card i{display:none !important}


/* V30: Honey nameplate + Chai free-response memory question */
#memorySpeakerName{display:flex!important;align-items:center!important;gap:5px!important;position:relative!important;z-index:10000!important;opacity:1!important;visibility:visible!important;min-width:145px!important;padding:8px 28px 8px 18px!important;}
#memorySpeakerName .speaker-accent{display:inline-block!important;color:#fff!important;opacity:1!important;visibility:visible!important;font-weight:900!important;}
#memorySpeakerName .speaker-heart{display:inline-block!important;color:#fff!important;opacity:1!important;visibility:visible!important;}
.answer-area{display:block!important;margin:9px 0 0!important;}
.answer-card{position:relative;max-width:760px;padding:12px 14px 11px;background:linear-gradient(135deg,rgba(255,250,253,.98),rgba(255,235,246,.98));border:2px solid #e889b2;box-shadow:5px 5px 0 rgba(222,122,164,.14);clip-path:polygon(1.5% 0,100% 0,98.5% 100%,0 100%);}
.answer-label{font-size:10px;letter-spacing:.18em;font-weight:900;color:#d96f9f;margin-bottom:7px;}
.answer-preview{min-height:38px;padding:7px 10px;background:rgba(255,255,255,.82);border:2px solid #f0b5cc;border-radius:3px;color:#e06f9e;font-size:20px;font-weight:800;line-height:1.3;letter-spacing:.01em;text-shadow:0 0 8px rgba(255,159,201,.34);overflow-wrap:anywhere;}
.answer-placeholder{color:#c5a1b2;font-weight:600;font-size:16px;}
.typed-letter{display:inline-block;animation:typedSparkle .34s cubic-bezier(.2,.9,.25,1) both;animation-delay:var(--delay);}
@keyframes typedSparkle{0%{opacity:0;transform:translateY(7px) scale(.55) rotate(-8deg);text-shadow:0 0 0 rgba(255,255,255,0)}55%{opacity:1;transform:translateY(-1px) scale(1.16) rotate(2deg);text-shadow:0 0 10px rgba(255,151,201,.95),0 0 18px rgba(255,255,255,.85)}100%{opacity:1;transform:translateY(0) scale(1) rotate(0);text-shadow:0 0 7px rgba(255,151,201,.45)}}
.answer-input{position:absolute;left:14px;right:14px;top:54px;height:38px;width:calc(100% - 28px);box-sizing:border-box;border:0;background:transparent;color:transparent;caret-color:#d96f9f;outline:none;font-size:20px;z-index:2;}
.answer-input::selection{background:rgba(231,127,173,.18);color:transparent;}
.answer-input:disabled{cursor:default;}
.answer-submit{margin-top:9px;border:2px solid #e47ba8;background:#fff;color:#d96f9f;padding:7px 14px;font-weight:900;letter-spacing:.12em;cursor:pointer;clip-path:polygon(5% 0,100% 0,95% 100%,0 100%);box-shadow:3px 3px 0 rgba(222,122,164,.14);}
.answer-submit:hover:not(:disabled){transform:translateY(-2px);background:#fff3f8;}
.answer-submit:disabled{opacity:.65;cursor:default;}
.answer-submit span{color:#ffe36a;text-shadow:0 0 5px #fff;margin-left:4px;}
.answer-saved{display:inline-block;margin-left:9px;color:#b57998;font-size:10px;font-weight:900;letter-spacing:.15em;opacity:0;transform:translateY(3px);transition:.2s ease;}
.answer-saved.show{opacity:1;transform:translateY(0);}
.shake-input{animation:answerShake .25s ease;}
@keyframes answerShake{0%,100%{transform:translateX(0)}30%{transform:translateX(-5px)}70%{transform:translateX(5px)}}
@media(max-width:700px){.answer-card{padding:10px}.answer-preview{font-size:16px}.answer-input{left:10px;right:10px;top:50px;width:calc(100% - 20px)}.answer-submit{font-size:11px}}

/* V31 CLEAN FIXES */
.memory-screen .dialogue{overflow:visible!important;}
.memory-screen .speaker-row{position:relative!important;z-index:200!important;overflow:visible!important;}
#memorySpeakerName{position:absolute!important;left:0!important;top:-18px!important;z-index:100000!important;display:inline-flex!important;align-items:center!important;gap:5px!important;min-width:0!important;padding:8px 25px 8px 17px!important;margin:0!important;background:#e77fad!important;color:#fff!important;clip-path:polygon(5% 0,100% 0,94% 100%,0 100%)!important;box-shadow:0 5px 12px rgba(210,100,150,.18)!important;opacity:1!important;visibility:visible!important;transform:none!important;}
#memorySpeakerName.chai-name{background:#8062bc!important;}
#memorySpeakerName .speaker-accent,#memorySpeakerName .speaker-heart{color:#fff!important;opacity:1!important;visibility:visible!important;display:inline-block!important;}
#memorySpeakerName .speaker-accent{font-size:12px!important;font-weight:900!important;letter-spacing:.14em!important;}
#memorySpeakerName .speaker-heart{font-size:15px!important;line-height:1!important;}
.answer-area{margin:10px 0 0!important;position:relative!important;z-index:50!important;}
.answer-card{max-width:760px!important;padding:12px 14px 12px!important;background:linear-gradient(135deg,rgba(255,253,255,.99),rgba(255,240,248,.99))!important;border:2px solid #efb1ca!important;border-radius:14px!important;clip-path:none!important;box-shadow:0 7px 18px rgba(213,117,159,.12)!important;}
.answer-label{font-size:10px!important;letter-spacing:.16em!important;color:#c984a5!important;margin-bottom:7px!important;}
.answer-preview{min-height:42px!important;padding:8px 12px!important;display:flex!important;align-items:center!important;flex-wrap:wrap!important;background:rgba(255,255,255,.94)!important;border:1.5px solid #f1cadb!important;border-radius:11px!important;color:#fffafc!important;font-family:Quicksand,sans-serif!important;font-size:21px!important;font-weight:700!important;line-height:1.25!important;letter-spacing:.02em!important;text-shadow:0 0 3px #e98bb2,0 0 9px rgba(255,164,204,.62)!important;overflow-wrap:anywhere!important;}
.answer-placeholder{color:#d4aebe!important;font-size:14px!important;font-weight:600!important;text-shadow:none!important;}
.typed-letter{display:inline-block!important;color: #f3a6c3;text-shadow:0 0 2px #e98bb2,0 0 8px rgba(255,161,204,.72)!important;animation:softBubbleLetter .28s cubic-bezier(.2,.9,.25,1) both!important;animation-delay:var(--delay)!important;}
@keyframes softBubbleLetter{0%{opacity:0;transform:translateY(5px) scale(.72);filter:blur(2px)}65%{opacity:1;transform:translateY(-1px) scale(1.08);filter:blur(0)}100%{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}}
.answer-input{position:fixed!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;border:0!important;padding:0!important;}
.answer-submit{margin-top:9px!important;border:1.5px solid #e9a2c0!important;border-radius:10px!important;background:#fff!important;color:#c9789d!important;padding:7px 14px!important;font-size:11px!important;font-weight:800!important;letter-spacing:.1em!important;clip-path:none!important;box-shadow:0 4px 10px rgba(213,117,159,.10)!important;}
.answer-submit span{color:#e98db3!important;text-shadow:0 0 6px rgba(255,170,207,.7)!important;}

/* V32: medium baby-pink bubbly answer letters */
.answer-display,
.typed-letter,
#typedAnswer,
.answer-text {
  color: #f3a6c3 !important;
  text-shadow:
    0 0 4px rgba(255, 190, 214, .45),
    0 0 9px rgba(255, 190, 214, .25);
  font-weight: 700;
  letter-spacing: .02em;
}


/* V33 FINAL MOVIE SCENE CLEANUP */
/* No decorative sparkles anywhere in the cinema scene. */
#memory1 .memory-sparkles,
#memory1 .click-marker,
#memory1 .dialogue-icon,
#memory1 .date-card i { display:none !important; }

/* Give the speaker name its own space so it never crowds the dialogue. */
#memory1 .memory-screen .dialogue,
.memory-screen .dialogue { overflow: visible !important; }
#memory1 .memory-screen .speaker-row,
.memory-screen .speaker-row {
  position: relative !important;
  min-height: 34px !important;
  margin-bottom: 8px !important;
  overflow: visible !important;
}
#memory1 #memorySpeakerName {
  position: absolute !important;
  left: 0 !important;
  top: -23px !important;
  z-index: 999999 !important;
  display: inline-flex !important;
  align-items: center !important;
  width: max-content !important;
  min-width: 112px !important;
  height: 32px !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 6px 20px 6px 16px !important;
  border-radius: 0 0 10px 0 !important;
  clip-path: polygon(0 0,100% 0,93% 100%,5% 100%) !important;
  color: #fff !important;
  background: #e77fad !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  text-transform: none !important;
  pointer-events: none !important;
}
#memory1 #memorySpeakerName.chai-name { background: #8062bc !important; }
#memory1 #memorySpeakerName .speaker-accent {
  display: inline-block !important; color: #fff !important;
  font-size: 13px !important; font-weight: 900 !important;
  letter-spacing: .04em !important; line-height: 1 !important;
  text-transform: none !important;
}
#memory1 #memorySpeakerName .speaker-heart {
  display: inline-block !important; color: #fff !important;
  font-size: 15px !important; line-height: 1 !important;
}
#memory1 .dialogue-text {
  position: relative !important;
  z-index: 5 !important;
  margin-top: 8px !important;
}
#memory1 .next { position: relative !important; z-index: 5 !important; }

/* Keep the intro dedication readable at smaller sizes. */
.intro-title { max-width: 82vw !important; line-height: 1.12 !important; }
@media(max-width:700px){ .intro-title { font-size: clamp(22px,6vw,34px) !important; max-width: 88vw !important; } }

/* V34 ACTUAL CLEAN MOVIE FIX */
/* The movie scene must have zero decorative/click sparkles. */
.game:has(#memory1.active) .floating-decor,
.game:has(#memory1.active) .click-flash,
.game:has(#memory1.active) .click-marker,
.game:has(#memory1.active) .memory-sparkles,
.game:has(#memory1.active) .memory-screen .date-card i,
.game:has(#memory1.active) .memory-screen .dialogue-icon {
  display:none !important;
}

/* Keep the speaker name INSIDE the dialogue panel's clipped shape so it cannot disappear. */
#memory1 .speaker-row {
  position:relative !important;
  z-index:20 !important;
  display:block !important;
  min-height:0 !important;
  height:auto !important;
  margin:0 0 12px 0 !important;
  padding:0 !important;
  overflow:visible !important;
}
#memory1 #memorySpeakerName {
  position:relative !important;
  left:auto !important;
  top:auto !important;
  z-index:50 !important;
  display:inline-flex !important;
  width:max-content !important;
  min-width:112px !important;
  height:32px !important;
  margin:-1px 0 0 -16px !important;
  padding:6px 20px 6px 16px !important;
  box-sizing:border-box !important;
  align-items:center !important;
  gap:6px !important;
  opacity:1 !important;
  visibility:visible !important;
  transform:none !important;
  color:#fff !important;
  background:#e77fad !important;
  clip-path:polygon(0 0,100% 0,93% 100%,5% 100%) !important;
}
#memory1 #memorySpeakerName.chai-name { background:#8062bc !important; }
#memory1 #memorySpeakerName .speaker-accent,
#memory1 #memorySpeakerName .speaker-heart {
  position:relative !important; display:inline-block !important;
  color:#fff !important; opacity:1 !important; visibility:visible !important;
}
#memory1 .dialogue-text {
  position:relative !important; z-index:5 !important;
  margin:0 !important;
  padding-top:2px !important;
}

/* Smaller, softer dedication on the intro. */
#intro .intro-title {
  font-size:clamp(18px,2.7vw,34px) !important;
  max-width:70vw !important;
  line-height:1.12 !important;
}
@media(max-width:700px){#intro .intro-title{font-size:clamp(17px,4.5vw,27px)!important;max-width:82vw!important;}}

/* V35: visible text cursor for Chai's answer field */
.answer-preview.typing-active .typing-caret,
.answer-preview .typing-caret {
  display:inline-block;
  width:2px;
  height:1.05em;
  margin-left:3px;
  vertical-align:-0.12em;
  border-radius:2px;
  background:#e89ab8;
  box-shadow:0 0 5px rgba(232,154,184,.45);
  animation:answerCaretBlink .9s steps(1,end) infinite;
}
.answer-preview:not(.typing-active) .typing-caret { opacity:.35; }
@keyframes answerCaretBlink { 0%,49%{opacity:1} 50%,100%{opacity:0} }


/* V38: smooth intro Expression 4 swap */
#intro .intro-character.expression-swap { opacity: .82; transition: opacity .18s ease; }
#intro .intro-character { transition: opacity .18s ease; }
/* V39: Chai's thinking pose for the answer-writing moment */
#chaiCharacterImg.expression-swap{will-change:opacity,transform;}

/* V42: continue-to-memory-options + saved-answer viewer */
.memory-complete-continue {
  position: relative;
  z-index: 30;
  display: block;
  margin: 14px auto 0;
  padding: 10px 20px;
  border: 1.5px solid #e6a0bd;
  border-radius: 12px;
  background: rgba(255,248,252,.98);
  color: #c87499;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  cursor: pointer;
  box-shadow: 0 5px 12px rgba(213,117,159,.12);
  transition: transform .15s ease, background .15s ease;
}
.memory-complete-continue:hover {
  transform: translateY(-2px);
  background: #fff0f7;
}

.saved-answer-button {
  display: block;
  margin: 10px auto 0;
  padding: 8px 16px;
  border: 1.5px solid #e6a0bd;
  border-radius: 10px;
  background: rgba(255,248,252,.96);
  color: #c87499;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  cursor: pointer;
}
.saved-answer-button:hover { background:#fff0f7; transform:translateY(-1px); }

.saved-answer-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(50,30,45,.34);
  backdrop-filter: blur(4px);
}
.saved-answer-modal.show { display:flex; }

.saved-answer-card {
  position: relative;
  width: min(560px, 90vw);
  padding: 26px 26px 22px;
  border: 2px solid #efb1ca;
  border-radius: 18px;
  background: linear-gradient(135deg,#fffdfd,#fff1f8);
  box-shadow: 0 18px 45px rgba(90,45,70,.18);
  text-align: center;
}
.saved-answer-kicker {
  color:#c87499;
  font-size:11px;
  font-weight:900;
  letter-spacing:.15em;
  margin-bottom:14px;
}
.saved-answer-content {
  min-height: 70px;
  padding: 16px;
  border: 1.5px solid #f1cadb;
  border-radius: 12px;
  background:#fff;
  color:#d98aaa;
  font-size:18px;
  line-height:1.5;
  font-weight:700;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
.saved-answer-close {
  position:absolute;
  top:8px;
  right:12px;
  border:0;
  background:transparent;
  color:#d48aa9;
  font-size:24px;
  cursor:pointer;
}
.saved-answer-download {
  margin-top:14px;
  padding:8px 15px;
  border:1.5px solid #e6a0bd;
  border-radius:10px;
  background:#fff;
  color:#c87499;
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
  cursor:pointer;
}

/* V44: romantic hug reveal after Honey's pop-figure message */
.hug-reveal{
  position:absolute; inset:0; z-index:80; display:flex; align-items:center; justify-content:center;
  padding:5vh 5vw; background:rgba(38,24,42,.48); backdrop-filter:blur(4px);
  opacity:0; pointer-events:none; transition:opacity .35s ease;
}
.hug-reveal.show{opacity:1;pointer-events:auto}
.hug-reveal-card{
  width:min(620px,78vw); height:min(90vh,860px); position:relative;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
}
.hug-reveal-card img{
  display:block; width:min(560px,76vw); max-height:78vh; object-fit:contain;
  filter:drop-shadow(0 14px 30px rgba(66,35,58,.28));
  animation:hugRevealIn .55s cubic-bezier(.18,.9,.2,1) both;
}
.hug-reveal-card button{
  margin-top:8px; padding:11px 28px; border:2px solid #e58aae; border-radius:12px;
  background:rgba(255,248,252,.98); color:#c87499; font-size:12px; font-weight:900;
  letter-spacing:.12em; cursor:pointer; box-shadow:0 6px 16px rgba(90,45,73,.16);
  transition:transform .15s ease, background .15s ease;
}
.hug-reveal-card button:hover{transform:translateY(-2px);background:#fff0f7}
.hug-reveal-card button span{color:#e47da9}
@keyframes hugRevealIn{from{opacity:0;transform:translateY(20px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:700px){
 .hug-reveal{padding:4vh 3vw}
 .hug-reveal-card{width:92vw;height:88vh}
 .hug-reveal-card img{width:90vw;max-height:72vh}
}

/* Cute heart mouse cursor */
html, body, .game, .screen, .screen * {
  cursor: url("assets/heart_cursor.png") 8 8, auto !important;
}

/* Museum TV: swap the heart for the cute cat remote while hovering the TV */
.museum-screen .museum-tv:hover, .museum-screen .museum-tv:hover * {
  cursor: url("assets/remote_cursor.png") 6 10, pointer !important;
}

/* ===== V46: Museum of You ===== */
.museum-card{grid-column:1/-1;position:relative;display:flex;align-items:center;gap:22px;text-align:left;border:3px solid #8d78bc;background:linear-gradient(105deg,rgba(255,255,255,.94),rgba(247,239,255,.94));padding:18px 22px;min-height:128px;cursor:pointer;clip-path:polygon(1.5% 0,100% 0,98.5% 100%,0 100%);box-shadow:8px 8px 0 rgba(116,91,153,.16);transition:.18s}.museum-card:hover{transform:translate(5px,-4px);box-shadow:13px 12px 0 rgba(116,91,153,.16);background:#fff}.museum-icon{position:relative;display:block;width:100px;height:90px;flex:0 0 100px;filter:drop-shadow(0 5px 7px rgba(103,77,137,.18))}.museum-building{position:absolute;left:12px;bottom:6px;width:76px;height:49px;border:3px solid #8569ae;border-top:0;background:linear-gradient(180deg,#fff,#eee5f9);display:flex;justify-content:space-evenly;align-items:flex-end;padding:0 8px;box-sizing:border-box}.museum-building i{display:block;width:10px;height:32px;border:2px solid #9b82c0;border-bottom:0;background:#f8f2ff}.museum-roof{position:absolute;left:5px;top:17px;width:90px;height:34px;background:#c6afe6;clip-path:polygon(50% 0,100% 100%,0 100%);border:3px solid #8569ae}.museum-icon b{position:absolute;right:0;top:1px;color:#e67fa9;font-size:29px;text-shadow:0 2px 0 #fff,0 0 10px rgba(230,127,169,.35);transform:rotate(7deg)}.museum-copy{display:flex;flex-direction:column;gap:4px}.museum-copy small{font-size:9px;letter-spacing:.19em;font-weight:900;color:#aa82b2}.museum-copy strong{font-family:'Archivo Black';font-size:clamp(25px,3vw,39px);line-height:1;color:#8062a7;text-shadow:3px 3px #f2e5fa}.museum-copy em{font-style:normal;color:#8d738d;font-size:14px}.museum-arrow{margin-left:auto;padding:10px 13px;color:#8062a7;border:2px solid #c3a8df;background:#fff;border-radius:2px;font-size:10px;font-weight:900;letter-spacing:.12em;white-space:nowrap;transform:skewX(-7deg)}
.museum-screen{overflow:hidden;background:#f7edf8;color:#604d67}.museum-backdrop{position:absolute;inset:0;background:radial-gradient(circle at 50% 17%,rgba(255,255,255,.98) 0,rgba(249,238,250,.96) 36%,rgba(220,197,225,.96) 100%)}.museum-backdrop:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(132,101,148,.09) 1px,transparent 1px),linear-gradient(rgba(132,101,148,.07) 1px,transparent 1px);background-size:48px 48px;opacity:.42}.museum-backdrop:after{content:"";position:absolute;left:5%;right:5%;bottom:15%;height:18%;background:linear-gradient(180deg,rgba(255,255,255,.65),rgba(205,177,211,.5));border-top:2px solid rgba(130,99,145,.18);box-shadow:0 -12px 35px rgba(121,88,137,.12)}.museum-topbar{position:absolute;top:4.5%;left:5%;right:5%;z-index:10;display:flex;justify-content:space-between;align-items:center;font-size:9px;font-weight:900;letter-spacing:.16em;color:#91749b}.museum-topbar button{border:0;background:rgba(255,255,255,.72);padding:9px 13px;color:#8062a7;font-weight:900;letter-spacing:.12em;cursor:pointer;box-shadow:3px 3px 0 rgba(100,75,120,.1)}.museum-title-wrap{position:absolute;z-index:5;top:11%;left:8%;text-align:left}.museum-title-wrap small{font-size:9px;letter-spacing:.23em;color:#bd79a4;font-weight:900}.museum-title-wrap h2{margin:5px 0 0;font-family:'Archivo Black';font-size:clamp(35px,5vw,68px);line-height:.9;color:#8062a7;text-shadow:5px 5px #fff}.museum-title-wrap h2 em{font-style:normal;color:#e17ba7}.museum-title-wrap p{margin:8px 0 0;color:#8c718e;font-size:14px}.museum-floor{position:absolute;z-index:4;left:7%;right:7%;top:33%;bottom:11%;display:flex;align-items:flex-start;justify-content:center;gap:3.2vw}.museum-exhibit{width:17%;text-align:center}.frame-placeholder{height:180px;background:linear-gradient(145deg,#fff,#f0e7f4);border:9px solid #b68fc1;box-shadow:7px 8px 0 rgba(100,70,112,.14),inset 0 0 0 3px #fff;display:flex;align-items:center;justify-content:center;position:relative}.frame-placeholder:after{content:"✦";position:absolute;top:9px;right:11px;color:#e5b8d2}.frame-placeholder span{font-size:9px;letter-spacing:.16em;color:#a889a8;font-weight:900}.frame-placeholder.portrait{height:210px}.museum-exhibit small{display:block;margin-top:10px;font-size:8px;letter-spacing:.18em;color:#bd79a4;font-weight:900}.museum-exhibit strong{display:block;margin-top:4px;font-family:'Archivo Black';font-size:12px;color:#735d79}.tv-exhibit{width:44%;text-align:center;position:relative}.tv-label{display:inline-block;background:#fff;border:2px solid #e27eaa;color:#c76593;padding:7px 14px;font-size:11px;font-weight:900;letter-spacing:.16em;box-shadow:4px 4px 0 rgba(111,77,123,.12);transform:rotate(-2deg);margin-bottom:10px}.museum-tv{position:relative;width:100%;height:265px;border:0;background:transparent;padding:0;cursor:pointer;filter:drop-shadow(10px 14px 0 rgba(92,62,104,.14))}.tv-shell{position:absolute;inset:0 5% 11% 5%;background:linear-gradient(145deg,#6f5b79,#3f3549);border:7px solid #b993bd;clip-path:polygon(3% 0,97% 0,100% 8%,96% 94%,4% 100%,0 7%);box-shadow:inset 0 0 0 5px #f5eafa}.tv-screen{position:absolute;left:11%;right:11%;top:11%;bottom:22%;z-index:2;background:radial-gradient(circle at 50% 35%,#fff6fb,#d7c4e8 58%,#a993bf);border:8px solid #2d2734;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px;box-sizing:border-box;overflow:hidden}.tv-screen:after{content:"";position:absolute;inset:-30%;background:linear-gradient(120deg,transparent 42%,rgba(255,255,255,.28) 50%,transparent 58%);transform:translateX(-30%);animation:tvSheen 4s linear infinite}.tv-screen-kicker{font-size:9px;letter-spacing:.2em;color:#d06f9b;font-weight:900;z-index:2}.tv-screen strong{font-family:'Archivo Black';font-size:clamp(15px,2vw,25px);line-height:1.05;color:#5f4b6e;margin:8px 0;z-index:2;max-width:90%}.tv-screen small{font-size:10px;color:#826b86;z-index:2}.tv-glow{position:absolute;inset:20% 15% 27%;z-index:1;background:rgba(224,192,244,.34);filter:blur(20px);border-radius:50%}.museum-tv:before,.museum-tv:after{content:"";position:absolute;z-index:4;bottom:4%;width:28px;height:18px;background:#5a4b63;border:3px solid #3f3549}.museum-tv:before{left:21%;transform:skewX(-12deg)}.museum-tv:after{right:21%;transform:skewX(12deg)}.tv-caption{margin-top:5px;color:#9a7ba0;font-size:9px;letter-spacing:.13em;display:flex;justify-content:space-between;gap:10px}.tv-caption b{color:#8062a7}.tv-change{animation:tvChange .28s ease both}.museum-pedestal{position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:210px;height:84px;background:linear-gradient(180deg,#d8c0dc,#b696bb);clip-path:polygon(8% 0,92% 0,100% 100%,0 100%);box-shadow:0 7px 0 rgba(91,65,99,.14);display:flex;align-items:flex-start;justify-content:center;padding-top:9px}.pedestal-card{background:#fff8fc;border:2px solid #caa9d0;padding:7px 14px;text-align:center;box-shadow:2px 3px 0 rgba(91,65,99,.1)}.pedestal-card span{color:#e47da9}.pedestal-card strong{display:block;font-size:9px;letter-spacing:.12em;color:#775d7d}.pedestal-card small{display:block;font-size:8px;color:#aa8aa9;margin-top:2px}.museum-footer{position:absolute;z-index:7;bottom:3.5%;left:50%;transform:translateX(-50%);font-size:8px;letter-spacing:.2em;color:#9a7a9f;font-weight:900;white-space:nowrap}.museum-screen button{font-family:inherit}@keyframes tvSheen{0%{transform:translateX(-80%)}100%{transform:translateX(80%)}}@keyframes tvChange{0%{transform:scale(.985);opacity:.7}100%{transform:scale(1);opacity:1}}
@media(max-width:700px){.museum-card{gap:12px;padding:15px}.museum-icon{transform:scale(.78);transform-origin:left center;margin-right:-15px}.museum-copy strong{font-size:24px}.museum-copy em{font-size:12px}.museum-arrow{display:none}.museum-title-wrap{left:5%;top:12%}.museum-floor{left:4%;right:4%;top:36%;gap:8px}.museum-exhibit{display:none}.tv-exhibit{width:92%}.museum-tv{height:245px}.museum-footer{font-size:7px}.museum-topbar{left:4%;right:4%}}

/* ===== V47: Wider, spacious Museum of You + 3D cartoon TV ===== */
.museum-screen{min-width:100%;}
.museum-backdrop{background:radial-gradient(circle at 50% 12%,rgba(255,255,255,.99) 0,rgba(250,240,251,.97) 38%,rgba(218,194,224,.98) 100%)}
.museum-backdrop:before{background-size:64px 64px;opacity:.26}
.museum-topbar{left:3.5%;right:3.5%;top:3.5%}
.museum-title-wrap{left:5%;top:10%;}
.museum-title-wrap h2{font-size:clamp(40px,5.2vw,76px)}
.museum-floor{left:3.5%;right:3.5%;top:29%;bottom:9%;display:block;position:absolute;}

/* Spacious gallery: exhibits sit around the edges, leaving the middle open. */
.left-exhibit{position:absolute;left:2%;top:9%;width:18%;transform:rotate(-1deg)}
.right-exhibit{position:absolute;right:2%;top:7%;width:18%;transform:rotate(1deg)}
.left-exhibit .frame-placeholder{height:170px}
.right-exhibit .frame-placeholder{height:190px}
.museum-exhibit strong{font-size:11px;line-height:1.15}

.museum-pedestal{left:42%;bottom:3%;width:220px;height:88px}

/* TV tucked into the lower-right corner. */
.tv-exhibit{position:absolute;right:22%;bottom:2%;width:31%;text-align:center}
.tv-label{margin-bottom:7px;padding:6px 12px;font-size:10px;border-radius:999px;box-shadow:4px 5px 0 rgba(111,77,123,.12)}

/* Chunky 3D cartoon television, with the same soft illustrated feel as the character art. */
.museum-tv{height:235px;filter:drop-shadow(11px 15px 0 rgba(92,62,104,.15));transform:perspective(900px) rotateY(-2deg)}
.tv-shell{inset:2% 2% 12% 2%;border:0;border-radius:24px 24px 19px 19px;background:linear-gradient(145deg,#8e7897 0%,#66536f 42%,#44394d 100%);box-shadow:inset 0 0 0 5px #c7a8cc,inset 0 -12px 0 rgba(39,30,46,.25),8px 12px 0 rgba(62,45,71,.2);clip-path:none;}
.tv-shell:before{content:"";position:absolute;left:5%;top:5%;width:43%;height:13%;border-radius:999px;background:linear-gradient(180deg,rgba(255,255,255,.35),rgba(255,255,255,0));transform:rotate(-4deg);}
.tv-shell:after{content:"";position:absolute;right:7%;bottom:9%;width:17%;height:21%;border-radius:12px;background:linear-gradient(145deg,#75627e,#514258);box-shadow:inset 2px 2px 0 rgba(255,255,255,.18),inset -3px -4px 0 rgba(30,23,36,.25);}
.tv-screen{left:8%;right:22%;top:10%;bottom:21%;border:7px solid #302936;border-radius:18px 18px 12px 12px;background:#171322;box-shadow:inset 0 0 0 3px #58475e,inset 0 -10px 18px rgba(62,44,72,.18),3px 4px 0 rgba(255,255,255,.12);}
.tv-screen:before{content:"";position:absolute;inset:0;border-radius:11px;background:repeating-linear-gradient(0deg,rgba(255,255,255,.035) 0 2px,transparent 2px 5px);pointer-events:none}
.tv-glow{inset:12% 24% 22% 12%;filter:blur(24px);background:rgba(230,202,248,.42)}
.museum-tv:after{right:8%;bottom:7%;width:15%;height:16%;border-radius:50%;background:radial-gradient(circle at 35% 30%,#d7bddc 0 8%,#67536f 10% 38%,#392f42 40%);border:3px solid #2e2634;box-shadow:inset 2px 2px 0 rgba(255,255,255,.18),0 3px 0 rgba(30,23,36,.22);}
.museum-tv:before{left:16%;right:auto;bottom:2%;width:27px;height:20px;border-radius:4px;background:linear-gradient(145deg,#5b4a64,#382e40);border:0;box-shadow:125px 0 0 #403447;transform:skewX(-8deg);}
.tv-caption{background:rgba(255,255,255,.62);border:1px solid rgba(173,137,180,.4);border-radius:999px;padding:5px 9px;box-shadow:3px 4px 0 rgba(91,65,99,.08)}

/* Leave generous breathing room for future exhibits. */
.museum-floor:after{content:"";position:absolute;left:24%;right:24%;top:2%;bottom:10%;border:1px dashed rgba(173,137,180,.18);border-radius:28px;pointer-events:none}

@media(max-width:900px){
  .museum-title-wrap{left:5%;}
  .museum-floor{top:31%;}
  .left-exhibit{left:0;width:22%;}
  .right-exhibit{right:0;width:22%;}
  .tv-exhibit{right:20%;width:36%;}
}
@media(max-width:700px){
  .museum-title-wrap h2{font-size:38px}
  .museum-floor{top:36%;}
  .left-exhibit,.right-exhibit{display:none}
  .tv-exhibit{right:4%;bottom:10%;width:72%;}
  .museum-pedestal{left:25%;bottom:5%;width:170px;transform:scale(.82)}
  .museum-floor:after{display:none}
}

/* V49: TV cursor + image-only exhibit */
.museum-tv .tv-screen{cursor:inherit}
.tv-image{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:none;z-index:2;background:#171322}
.tv-placeholder{position:relative;z-index:2;font-size:10px;letter-spacing:.16em;color:#826b86;font-weight:900}
.museum-tv:hover .tv-screen:after{animation-duration:3s}

/* ===== V52: Muay Thai museum exhibit ===== */
.muaythai-exhibit{position:absolute;left:27%;top:3%;width:27%;height:83%;pointer-events:none;z-index:3}
.muaythai-wall-hook{position:absolute;top:1%;left:50%;transform:translateX(-50%);width:34px;height:34px;border-radius:50%;background:radial-gradient(circle at 35% 28%,#fff5d7 0 12%,#d6b36d 16% 50%,#8f6c39 53% 100%);box-shadow:0 4px 7px rgba(67,48,75,.18)}
.muaythai-wall-hook span{position:absolute;left:9px;top:22px;width:8px;height:58px;background:linear-gradient(90deg,#25202b,#62526d,#28222e);border-radius:6px;transform:rotate(-17deg);transform-origin:top}
.muaythai-wall-hook i{position:absolute;left:18px;top:22px;width:8px;height:58px;background:linear-gradient(90deg,#25202b,#62526d,#28222e);border-radius:6px;transform:rotate(17deg);transform-origin:top}
.muaythai-gloves{position:absolute;left:5%;right:5%;top:8%;height:47%;display:flex;align-items:center;justify-content:center;filter:drop-shadow(7px 10px 0 rgba(84,60,95,.13))}
.muaythai-gloves img{width:100%;height:100%;object-fit:contain}
.muaythai-shins{position:absolute;left:7%;right:7%;bottom:11%;height:32%;display:flex;align-items:center;justify-content:center;filter:drop-shadow(7px 9px 0 rgba(84,60,95,.13))}
.muaythai-shins img{width:100%;height:100%;object-fit:contain}
.muaythai-plate{position:absolute;right:-8%;bottom:0;background:rgba(255,255,255,.94);border:2px solid #b993bd;padding:8px 13px;color:#765b7d;font-size:9px;font-weight:900;letter-spacing:.14em;box-shadow:3px 4px 0 rgba(91,65,99,.1);transform:rotate(1deg);white-space:nowrap}
.muaythai-plate span{color:#e27fa8;margin-left:4px}
@media(max-width:900px){.muaythai-exhibit{left:25%;width:31%;}.muaythai-plate{right:-15%;}}
@media(max-width:700px){.muaythai-exhibit{left:5%;top:4%;width:46%;height:46%;}.muaythai-gloves{top:8%;}.muaythai-shins{bottom:2%;height:32%;}.muaythai-plate{font-size:7px;padding:6px 8px;right:-6%;}}


/* ===== V53: dreamy grand museum atmosphere + gloves only ===== */
.museum-screen{background:#d9c8f0;}
.museum-backdrop{
  background:
    radial-gradient(circle at 50% 16%,rgba(255,255,255,.96) 0 13%,rgba(236,215,255,.72) 32%,transparent 55%),
    linear-gradient(180deg,#6e5aa4 0%,#9d78bc 38%,#e8b8d3 72%,#f4d6d8 100%);
}
.museum-backdrop:before{
  background:
    linear-gradient(90deg,rgba(255,255,255,.16) 1px,transparent 1px),
    linear-gradient(rgba(255,255,255,.12) 1px,transparent 1px);
  background-size:80px 80px;opacity:.28;
}
.museum-backdrop:after{
  left:0;right:0;bottom:0;height:30%;
  background:
    linear-gradient(135deg,rgba(255,255,255,.42) 25%,transparent 25% 50%,rgba(255,255,255,.34) 50% 75%,transparent 75%) 0 0/150px 150px,
    linear-gradient(180deg,rgba(255,241,248,.76),rgba(195,155,210,.55));
  border-top:3px solid rgba(255,255,255,.55);
  box-shadow:0 -25px 55px rgba(79,50,111,.18);
}
/* Decorative architectural light columns */
.museum-screen:before,.museum-screen:after{content:"";position:absolute;z-index:1;top:18%;bottom:26%;width:11%;opacity:.55;pointer-events:none;}
.museum-screen:before{left:0;background:linear-gradient(90deg,rgba(255,255,255,.15),rgba(255,220,246,.45),rgba(104,75,143,.2));border-radius:0 60px 60px 0;box-shadow:inset -8px 0 0 rgba(255,255,255,.16);}
.museum-screen:after{right:0;background:linear-gradient(270deg,rgba(255,255,255,.15),rgba(255,220,246,.45),rgba(104,75,143,.2));border-radius:60px 0 0 60px;box-shadow:inset 8px 0 0 rgba(255,255,255,.16);}
.museum-topbar,.museum-title-wrap,.museum-floor,.museum-footer{z-index:6}
.museum-title-wrap h2{text-shadow:0 4px 0 rgba(255,255,255,.9),0 0 28px rgba(255,226,249,.45);}
.museum-floor{top:31%;bottom:10%;}
/* keep the gallery open; TV remains a corner exhibit */
.tv-exhibit{right:8%;bottom:3%;width:28%;}
.museum-tv{height:230px;}
/* Smaller wall-mounted Muay Thai gloves */
.muaythai-exhibit{position:absolute;left:7%;top:7%;width:20%;height:230px;z-index:8;text-align:center;filter:drop-shadow(0 12px 18px rgba(69,42,88,.18));}
.muaythai-wall-hook{position:absolute;left:50%;top:7px;transform:translateX(-50%);width:54px;height:38px;z-index:2;}
.muaythai-wall-hook:before{content:"";position:absolute;left:25px;top:0;width:6px;height:25px;border-radius:8px;background:#d9a96c;box-shadow:0 2px 0 #9d7040;}
.muaythai-wall-hook:after{content:"";position:absolute;left:15px;top:21px;width:28px;height:9px;border-radius:50%;background:#e6bc7e;box-shadow:0 3px 0 #9d7040;}
.muaythai-wall-hook span,.muaythai-wall-hook i{display:none;}
.muaythai-gloves{position:absolute;left:50%;top:27px;width:150px;transform:translateX(-50%);}
.muaythai-gloves img{display:block;width:100%;height:auto;filter:drop-shadow(0 7px 5px rgba(55,36,63,.2));}
.muaythai-plate{position:absolute;left:50%;bottom:0;transform:translateX(-50%);white-space:nowrap;padding:8px 15px;border:2px solid rgba(239,201,235,.85);border-radius:999px;background:rgba(74,51,101,.76);color:#fff5ff;font-size:10px;font-weight:900;letter-spacing:.14em;box-shadow:0 5px 12px rgba(56,34,72,.16);}
.muaythai-plate span{color:#ffb7d8;margin-left:4px;}
@media(max-width:700px){.museum-screen:before,.museum-screen:after{display:none}.muaythai-exhibit{left:4%;width:31%;top:4%}.muaythai-gloves{width:115px}.tv-exhibit{right:4%;bottom:9%;width:58%;}.museum-floor{top:34%;}}

/* ===== V54: polished dreamy museum finish ===== */
/* Replace the flat/checkerboard floor with a clean gallery floor. */
.museum-backdrop:after{
  left:0;right:0;bottom:0;height:31%;
  background:
    linear-gradient(180deg,rgba(255,255,255,.22),rgba(255,255,255,.04) 35%,rgba(93,64,123,.10)),
    repeating-linear-gradient(90deg,rgba(255,255,255,.18) 0 2px,transparent 2px 120px),
    linear-gradient(180deg,#eadcf3 0%,#d6c4e6 100%);
  border-top:2px solid rgba(255,255,255,.7);
  box-shadow:0 -18px 55px rgba(78,48,108,.16);
}
/* Give the room a grand-gallery glow without changing the game-art feel. */
.museum-backdrop{
  background:
    radial-gradient(ellipse at 50% 18%,rgba(255,255,255,.98) 0 9%,rgba(255,226,244,.72) 22%,transparent 48%),
    radial-gradient(ellipse at 15% 38%,rgba(214,188,255,.48),transparent 35%),
    radial-gradient(ellipse at 86% 40%,rgba(255,191,224,.44),transparent 34%),
    linear-gradient(180deg,#6956a0 0%,#9271b6 34%,#d7a9d0 68%,#ead5ec 100%);
}
/* Architectural columns and tall window-like light panels. */
.museum-screen:before,.museum-screen:after{
  top:12%;bottom:27%;width:16%;opacity:1;
  background:linear-gradient(90deg,rgba(255,255,255,.06),rgba(255,235,249,.36) 45%,rgba(100,73,138,.15));
  border-radius:0 80px 80px 0;
  box-shadow:inset -10px 0 0 rgba(255,255,255,.13),0 0 40px rgba(255,215,243,.16);
}
.museum-screen:after{right:0;left:auto;transform:scaleX(-1);}
/* Soft overhead spotlights. */
.museum-screen .museum-floor:before{
  content:"";position:absolute;left:18%;right:18%;top:-17%;height:42%;
  background:
    radial-gradient(ellipse at 18% 0,rgba(255,244,250,.82),transparent 28%),
    radial-gradient(ellipse at 50% 0,rgba(255,247,252,.95),transparent 31%),
    radial-gradient(ellipse at 82% 0,rgba(255,231,246,.78),transparent 28%);
  filter:blur(8px);pointer-events:none;z-index:-1;
}
/* Make the museum title the visual anchor. */
.museum-title-wrap{
  left:50%;top:8%;transform:translateX(-50%);text-align:center;width:min(760px,86vw);
  padding:15px 24px 17px;
  border:1px solid rgba(255,255,255,.58);
  background:linear-gradient(180deg,rgba(72,48,106,.48),rgba(92,60,122,.24));
  border-radius:20px;
  box-shadow:0 10px 32px rgba(54,34,79,.18),inset 0 1px 0 rgba(255,255,255,.42);
  backdrop-filter:blur(4px);
}
.museum-title-wrap small{font-size:10px;color:#ffe1f2;text-shadow:0 1px 8px rgba(63,35,82,.35);}
.museum-title-wrap h2{
  margin:7px 0 0;font-size:clamp(43px,6vw,78px);letter-spacing:.015em;
  color:#fff8ff;
  text-shadow:0 3px 0 #9a6cb4,0 0 16px rgba(255,213,239,.95),0 0 34px rgba(225,177,255,.55);
}
.museum-title-wrap h2 em{color:#ffafd1;text-shadow:0 2px 0 #9a5e94,0 0 18px rgba(255,171,211,.8);}
.museum-title-wrap p{color:#f8e9f5;text-shadow:0 1px 7px rgba(62,39,82,.45);font-size:13px;}
/* Move the gloves away from the left picture frame so they have their own exhibit bay. */
.muaythai-exhibit{
  left:31%;top:2%;width:17%;height:250px;z-index:8;
}
.muaythai-gloves{top:31px;width:132px;}
.muaythai-plate{bottom:0;font-size:9px;padding:7px 13px;background:rgba(70,48,94,.84);box-shadow:0 6px 16px rgba(52,30,71,.2);}
/* Keep the TV firmly in the corner and out of the center exhibit space. */
.tv-exhibit{right:7%;bottom:1%;width:27%;}
.museum-tv{height:220px;}
/* Give the gallery a subtle perspective floor sheen instead of a checker pattern. */
.museum-floor:after{
  content:"";position:absolute;left:15%;right:15%;bottom:-2%;height:24%;
  border:0;border-top:1px solid rgba(255,255,255,.38);
  background:linear-gradient(180deg,rgba(255,255,255,.13),transparent);
  border-radius:50%;filter:blur(1px);pointer-events:none;
}
@media(max-width:900px){
  .museum-title-wrap{top:8%;width:82vw;padding:12px 18px;}
  .museum-title-wrap h2{font-size:48px}
  .muaythai-exhibit{left:29%;width:20%;}
  .muaythai-gloves{width:120px}
  .tv-exhibit{right:5%;width:32%;}
}
@media(max-width:700px){
  .museum-title-wrap{top:9%;width:88vw;padding:10px 12px}
  .museum-title-wrap h2{font-size:34px}
  .museum-title-wrap p{font-size:10px}
  .muaythai-exhibit{left:6%;top:3%;width:34%;}
  .muaythai-gloves{width:105px}
  .tv-exhibit{right:4%;bottom:8%;width:58%;}
}

/* V55: clean Muay Thai glove exhibit -- no label, no shin guards, no overlapping frame */
.muaythai-exhibit{
  position:absolute !important; left:7% !important; top:10% !important; width:19% !important; height:230px !important;
  z-index:12 !important; pointer-events:none; text-align:center;
}
.muaythai-wall-hook{
  position:absolute !important; left:50% !important; top:0 !important; transform:translateX(-50%) !important;
  width:42px !important; height:34px !important; background:none !important; box-shadow:none !important;
}
.muaythai-wall-hook:before{
  content:"" !important; position:absolute !important; left:18px !important; top:0 !important; width:6px !important; height:27px !important;
  border-radius:7px !important; background:linear-gradient(90deg,#8f6839,#e4bd79,#9a713e) !important;
}
.muaythai-wall-hook:after{
  content:"" !important; position:absolute !important; left:7px !important; top:22px !important; width:28px !important; height:8px !important;
  border-radius:50% !important; background:#d8ad68 !important; box-shadow:0 2px 0 #8e6438 !important;
}
.muaythai-wall-hook span,.muaythai-wall-hook i{display:none !important;}
.muaythai-gloves{
  position:absolute !important; left:50% !important; top:30px !important; width:126px !important; height:170px !important;
  transform:translateX(-50%) !important; display:block !important;
  filter:drop-shadow(0 8px 6px rgba(55,36,63,.22)) !important;
}
.muaythai-gloves img{
  display:block !important; width:100% !important; height:100% !important; object-fit:contain !important;
}
.muaythai-gloves:before,.muaythai-gloves:after{
  content:""; position:absolute; z-index:-1; top:0; width:4px; height:34px;
  background:linear-gradient(90deg,#302632,#77617d,#302632); border-radius:4px; transform-origin:top center;
}
.muaythai-gloves:before{left:48%; transform:rotate(-12deg)}
.muaythai-gloves:after{left:52%; transform:rotate(12deg)}
@media(max-width:900px){.muaythai-exhibit{left:5% !important;width:22% !important}.muaythai-gloves{width:112px !important}}
@media(max-width:700px){.muaythai-exhibit{left:4% !important;top:4% !important;width:31% !important}.muaythai-gloves{width:105px !important}}

/* ===== V56: Purple, white & silver marble museum floor ===== */
.museum-backdrop:after{
  left:0;right:0;bottom:0;height:31%;
  background:
    radial-gradient(ellipse at 18% 35%,rgba(255,255,255,.78),transparent 20%),
    radial-gradient(ellipse at 73% 68%,rgba(197,188,214,.52),transparent 24%),
    radial-gradient(ellipse at 45% 18%,rgba(255,255,255,.72),transparent 18%),
    linear-gradient(118deg,transparent 0 9%,rgba(255,255,255,.62) 9.5% 10.3%,transparent 10.8% 24%,rgba(126,101,165,.20) 24.5% 25%,transparent 25.5% 41%,rgba(255,255,255,.55) 41.5% 42.2%,transparent 42.8% 63%,rgba(111,88,151,.16) 63.5% 64.3%,transparent 64.8% 82%,rgba(255,255,255,.58) 82.5% 83.2%,transparent 83.7%),
    linear-gradient(72deg,transparent 0 16%,rgba(255,255,255,.38) 16.5% 17.2%,transparent 17.7% 34%,rgba(121,98,158,.14) 34.5% 35.2%,transparent 35.7% 57%,rgba(255,255,255,.42) 57.5% 58.2%,transparent 58.7% 78%,rgba(137,113,170,.13) 78.5% 79.2%,transparent 79.7%),
    linear-gradient(180deg,#f9f7fc 0%,#e9e5f0 32%,#d9d3e2 65%,#c9c3d3 100%);
  background-size:auto,auto,auto,auto,auto,auto;
  border-top:2px solid rgba(255,255,255,.92);
  box-shadow:0 -20px 65px rgba(91,67,126,.20), inset 0 18px 35px rgba(255,255,255,.28);
  opacity:1;
}
/* Fine silver veining layered over the marble. */
.museum-backdrop:after{
  filter:saturate(.92) contrast(1.03);
}
.museum-floor:before{
  content:"" !important;
  position:absolute !important;
  left:0 !important;right:0 !important;top:48% !important;bottom:-1% !important;
  z-index:-1 !important;
  pointer-events:none !important;
  background:
    linear-gradient(101deg,transparent 0 12%,rgba(255,255,255,.48) 12.3% 12.7%,transparent 13% 31%,rgba(112,91,145,.12) 31.3% 31.7%,transparent 32% 54%,rgba(255,255,255,.55) 54.3% 54.8%,transparent 55.1% 74%,rgba(119,99,151,.12) 74.3% 74.8%,transparent 75.1%),
    linear-gradient(166deg,transparent 0 18%,rgba(128,108,157,.10) 18.3% 18.7%,transparent 19% 44%,rgba(255,255,255,.42) 44.3% 44.8%,transparent 45.1% 68%,rgba(127,106,156,.10) 68.3% 68.8%,transparent 69.1%),
    linear-gradient(180deg,rgba(255,255,255,.10),rgba(122,101,150,.06));
  opacity:.9 !important;
  filter:blur(.25px);
}

/* ===== V57: smooth statement museum floor ===== */
.museum-backdrop:after{
  left:0 !important; right:0 !important; bottom:0 !important; height:34% !important;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.82), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0) 24%),
    linear-gradient(180deg, #eee9f6 0%, #d9d0e8 58%, #c7bddb 100%) !important;
  border-top:1px solid rgba(255,255,255,.72) !important;
  box-shadow:0 -22px 55px rgba(92,66,126,.16), inset 0 14px 28px rgba(255,255,255,.24) !important;
  opacity:1 !important;
}
.museum-floor:before{
  background:
    radial-gradient(ellipse at 50% 15%, rgba(255,255,255,.28), transparent 48%),
    linear-gradient(180deg, rgba(255,255,255,.08), transparent 65%) !important;
  opacity:1 !important;
}
.museum-floor:after{
  left:10% !important; right:10% !important; bottom:2% !important; height:36% !important;
  border:0 !important;
  background:radial-gradient(ellipse at center, rgba(255,255,255,.20), transparent 68%) !important;
  box-shadow:none !important;
  filter:blur(4px) !important;
}


/* ===== V58: tiny dessert display case ===== */
.dessert-exhibit{
  position:absolute !important;
  left:30% !important;
  bottom:7% !important;
  width:190px !important;
  height:155px !important;
  z-index:13 !important;
  pointer-events:none;
}
.dessert-case{
  position:absolute;
  left:0;right:0;top:0;bottom:0;
  filter:drop-shadow(0 9px 8px rgba(55,36,63,.16));
}
.dessert-glass{
  position:absolute;
  left:4px;right:4px;top:0;
  height:112px;
  border:3px solid rgba(238,226,246,.88);
  border-bottom:0;
  border-radius:7px 7px 2px 2px;
  background:linear-gradient(135deg,rgba(255,255,255,.18),rgba(223,207,239,.09) 48%,rgba(255,255,255,.22));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.45),inset 0 0 18px rgba(255,245,252,.16),0 0 12px rgba(255,231,248,.22);
  z-index:3;
}
.dessert-glass:before,.dessert-glass:after{
  content:"";position:absolute;top:0;bottom:0;width:3px;
  background:linear-gradient(180deg,rgba(255,255,255,.75),rgba(184,161,205,.35),rgba(255,255,255,.7));
}
.dessert-glass:before{left:3px}.dessert-glass:after{right:3px}
.glass-highlight{
  position:absolute;left:12px;top:10px;width:18px;height:72px;
  border-left:3px solid rgba(255,255,255,.48);
  transform:skewX(-10deg);opacity:.72;
}
.dessert-base{
  position:absolute;left:0;right:0;bottom:0;height:35px;
  background:linear-gradient(180deg,#d7c2e1,#b596c1 55%,#8f719e 100%);
  border:2px solid #a98bb6;
  border-radius:3px 3px 8px 8px;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.58),0 4px 0 rgba(71,48,82,.12);
  z-index:1;
}
.dessert-shelf{
  position:absolute;left:13px;right:13px;top:69px;height:55px;
  background:linear-gradient(180deg,#fffdfd,#eee7f2);
  border:2px solid rgba(206,185,216,.95);
  box-shadow:0 3px 0 rgba(103,76,116,.12),inset 0 2px 0 rgba(255,255,255,.8);
  z-index:2;
  display:flex;align-items:flex-end;justify-content:space-evenly;
  padding:0 8px 3px;box-sizing:border-box;
  overflow:hidden;
}
.dessert-item{position:relative;display:flex;align-items:flex-end;justify-content:center;height:100%;}
.dessert-item img{display:block;object-fit:contain;filter:drop-shadow(0 4px 3px rgba(54,35,62,.18));}
.cake-item{width:88px}.cake-item img{width:86px;height:70px;transform:translateY(2px);}
.icecream-item{width:70px}.icecream-item img{width:64px;height:78px;transform:translateY(7px);}
@media(max-width:900px){
  .dessert-exhibit{left:27% !important;bottom:7% !important;transform:scale(.9);transform-origin:left bottom;}
}
@media(max-width:700px){
  .dessert-exhibit{left:6% !important;bottom:8% !important;transform:scale(.72);transform-origin:left bottom;}
}


/* ===== V59: sapphire + ruby glass display ===== */
.gem-exhibit{
  position:absolute !important;
  left:51% !important;
  top:3% !important;
  width:238px !important;
  height:178px !important;
  z-index:13 !important;
  pointer-events:none;
  text-align:center;
}
.gem-case-frame{
  position:relative;
  width:100%;
  height:153px;
  overflow:hidden;
  border:3px solid rgba(244,226,245,.9);
  border-radius:8px;
  background:linear-gradient(145deg,rgba(255,255,255,.2),rgba(102,75,126,.18));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.55),0 10px 16px rgba(55,36,63,.18),0 0 18px rgba(220,188,250,.2);
}
.gem-case-frame img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 45%;
}
.gem-case-sheen{
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(112deg,transparent 28%,rgba(255,255,255,.20) 41%,transparent 51%);
  mix-blend-mode:screen;
}
.gem-caption{
  display:inline-flex;
  align-items:center;
  gap:9px;
  margin-top:5px;
  padding:4px 9px;
  border:1px solid rgba(255,255,255,.6);
  border-radius:999px;
  background:rgba(255,248,253,.78);
  box-shadow:3px 4px 0 rgba(91,65,99,.08);
  font-size:7px;
  font-weight:900;
  letter-spacing:.13em;
  color:#8062a7;
}
.gem-caption i{font-style:normal;color:#e47da9;font-size:9px}
@media(max-width:900px){
  .gem-exhibit{left:48% !important;top:3% !important;width:205px !important;height:154px !important;}
  .gem-case-frame{height:132px}
}
@media(max-width:700px){
  .gem-exhibit{left:42% !important;top:4% !important;width:170px !important;height:130px !important;transform:scale(.82);transform-origin:left top;}
  .gem-case-frame{height:112px}
}

/* ===== V60: real cutout display pieces ===== */
/* Gem case: a real little museum vitrine, not the source image. */
.gem-exhibit{
  left:29% !important; top:13% !important; width:245px !important; height:190px !important;
  z-index:16 !important; pointer-events:none;
}
.gem-case{position:absolute;inset:0;filter:drop-shadow(0 10px 9px rgba(46,31,57,.18));}
.gem-glass{
  position:absolute;left:0;right:0;top:0;height:142px;z-index:5;
  border:3px solid rgba(248,231,249,.9);border-bottom:0;border-radius:8px 8px 2px 2px;
  background:linear-gradient(135deg,rgba(255,255,255,.16),rgba(224,206,239,.08) 48%,rgba(255,255,255,.2));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.55),inset 0 0 22px rgba(255,248,255,.13),0 0 14px rgba(228,202,251,.22);
  pointer-events:none;
}
.gem-glass:before,.gem-glass:after{content:"";position:absolute;top:0;bottom:0;width:3px;background:linear-gradient(180deg,rgba(255,255,255,.82),rgba(177,150,199,.32),rgba(255,255,255,.74));}
.gem-glass:before{left:4px}.gem-glass:after{right:4px}
.gem-glass span{position:absolute;left:15px;top:10px;width:20px;height:88px;border-left:3px solid rgba(255,255,255,.48);transform:skewX(-10deg);opacity:.65;}
.gem-velvet{
  position:absolute;left:9px;right:9px;top:60px;height:91px;z-index:2;
  background:linear-gradient(180deg,#2b2339,#171321);border:2px solid #473651;border-radius:7px 7px 2px 2px;
  box-shadow:inset 0 5px 10px rgba(255,255,255,.05),inset 0 -5px 10px rgba(0,0,0,.22);
  display:flex;justify-content:space-around;align-items:flex-end;padding:0 13px 8px;box-sizing:border-box;
}
.gem-piece{position:relative;width:92px;height:88px;display:flex;align-items:flex-end;justify-content:center;}
.gem-piece img{position:absolute;bottom:22px;width:72px;height:84px;object-fit:contain;filter:drop-shadow(0 5px 5px rgba(0,0,0,.28));}
.gem-piece.ruby-piece img{width:70px;height:82px;}
.gem-plaque{
  position:absolute;bottom:0;left:50%;transform:translateX(-50%);min-width:74px;padding:4px 7px;
  background:linear-gradient(#fffdf8,#eee8e2);border:1px solid #bca88f;color:#4e4140;
  font-family:Georgia,serif;font-size:10px;text-align:center;box-shadow:0 2px 0 rgba(0,0,0,.12);white-space:nowrap;
}
.gem-case-bottom{
  position:absolute;left:0;right:0;bottom:0;height:38px;z-index:1;
  background:linear-gradient(180deg,#d7c2df,#b495bf 55%,#8f718f);border:2px solid #a78ab3;border-radius:2px 2px 8px 8px;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.6),0 4px 0 rgba(61,42,69,.12);
}
.gem-love-label{position:absolute;left:12px;right:12px;top:6px;color:#fffafc;font-family:Georgia,serif;font-size:9px;line-height:11px;text-align:center;font-style:italic;text-shadow:0 1px 2px rgba(45,29,53,.55);}

/* Dessert case: clean cutouts, no background or glass bars inside the food. */
.dessert-exhibit{left:54% !important;bottom:6% !important;width:205px !important;height:166px !important;z-index:16 !important;}
.dessert-glass{height:121px !important;}
.dessert-shelf{top:70px !important;height:59px !important;padding:0 8px 2px !important;overflow:visible !important;}
.cake-item{width:91px !important}.cake-item img{width:79px !important;height:67px !important;transform:translateY(0) !important;}
.icecream-item{width:73px !important}.icecream-item img{width:59px !important;height:76px !important;transform:translateY(7px) !important;}

@media(max-width:900px){
  .gem-exhibit{left:24% !important;top:12% !important;width:215px !important;transform:scale(.9);transform-origin:left top;}
  .dessert-exhibit{left:50% !important;bottom:7% !important;transform:scale(.9);transform-origin:left bottom;}
}
@media(max-width:700px){
  .gem-exhibit{left:5% !important;top:8% !important;width:180px !important;transform:scale(.78);transform-origin:left top;}
  .dessert-exhibit{left:46% !important;bottom:8% !important;transform:scale(.72);transform-origin:left bottom;}
}
/* TV instruction label — place it visibly beneath the TV */
.tv-exhibit{display:flex;flex-direction:column;align-items:center}
.tv-exhibit .museum-tv{order:1}
.tv-exhibit .tv-label{order:2;margin:9px 0 0;position:relative;z-index:8}


/* V66: Honey museum welcome reveal */
.museum-honey-reveal{
  position:absolute !important;
  left:2% !important;
  right:auto !important;
  top:27% !important;
  width:24% !important;
  height:70% !important;
  z-index:18 !important;
  pointer-events:none;
  opacity:0;
  transform:translateX(120%);
}
.museum-honey-reveal .museum-honey{
  position:absolute;
  right:0;
  bottom:-8%;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center bottom;
  filter:drop-shadow(0 12px 12px rgba(70,45,84,.18));
}
.museum-honey-dialogue{
  position:absolute;
  left:92%;
  right:auto;
  top:5%;
  width:max-content;
  max-width:260px;
  padding:11px 15px;
  border:2px solid #c994c5;
  background:rgba(255,250,254,.96);
  color:#765276;
  font-size:12px;
  font-weight:900;
  letter-spacing:.01em;
  line-height:1.25;
  box-shadow:5px 6px 0 rgba(93,65,105,.12);
  clip-path:polygon(0 0,100% 0,96% 86%,18% 86%,9% 100%,10% 86%,0 86%);
  transition:opacity .22s ease,transform .22s ease;
}
.museum-honey-dialogue:after{
  content:"";
  position:absolute;
  right:-9px;
  top:50%;
  width:13px;
  height:13px;
  background:#fffafe;
  border-top:2px solid #c994c5;
  border-right:2px solid #c994c5;
  transform:translateY(-50%) rotate(45deg);
}
.museum-honey-enter{animation:museumHoneySlideIn .75s cubic-bezier(.2,.8,.2,1) forwards}
.museum-honey-reveal.dialogue-hidden .museum-honey-dialogue{opacity:0;transform:translateY(8px);pointer-events:none}
@keyframes museumHoneySlideIn{0%{opacity:0;transform:translateX(120%)}70%{opacity:1;transform:translateX(-5%)}100%{opacity:1;transform:translateX(0)}}
@media(max-width:900px){
  .museum-honey-reveal{left:2% !important;right:auto !important;top:44% !important;width:16% !important;height:44% !important;}
  .museum-honey-dialogue{left:92%;right:auto;font-size:10px;max-width:190px;padding:9px 11px;}
}
@media(max-width:700px){
  .museum-honey-reveal{left:2% !important;right:auto !important;top:45% !important;width:23% !important;height:42% !important;}
  .museum-honey-dialogue{left:92%;right:auto;max-width:155px;font-size:9px;}
}


/* V69: taller portrait-style museum TV for the vertical poster images.
   Keep the existing museum layout, exhibits, Honey position, and click behavior unchanged. */
.tv-exhibit{
  right:7% !important;
  bottom:1% !important;
  width:23% !important;
}
.museum-tv{
  height:390px !important;
}
.tv-screen{
  left:10% !important;
  right:17% !important;
  top:8% !important;
  bottom:18% !important;
  background:#171322 !important;
  padding:10px !important;
}
.tv-image{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center !important;
  background:#171322 !important;
}
@media(max-width:900px){
  .tv-exhibit{right:5% !important;width:29% !important;}
  .museum-tv{height:360px !important;}
}
@media(max-width:700px){
  .tv-exhibit{right:4% !important;bottom:8% !important;width:60% !important;}
  .museum-tv{height:350px !important;}
}


/* V70: keep Exhibit 02 clear of the taller portrait TV */
.right-exhibit{
  position:absolute !important;
  right:0 !important;
  top:-27% !important;
  width:15% !important;
  transform:rotate(1deg) scale(.9) !important;
  transform-origin:top right;
  z-index:5;
}
@media(max-width:900px){
  .right-exhibit{right:0 !important;top:-22% !important;width:18% !important;}
}
@media(max-width:700px){
  .right-exhibit{display:none !important;}
}

/* V74 polish: clearer gem message + slightly smaller Honey so the gloves remain visible. */
.gem-love-label{
  left:8px !important;
  right:8px !important;
  top:3px !important;
  color:#3f3342 !important;
  background:rgba(255,250,253,.94) !important;
  border:1px solid rgba(92,65,100,.35) !important;
  border-radius:5px !important;
  padding:4px 7px !important;
  font-size:10.5px !important;
  line-height:12px !important;
  font-style:normal !important;
  font-weight:700 !important;
  text-shadow:none !important;
  box-shadow:0 1px 3px rgba(45,29,53,.16) !important;
}
.museum-honey-reveal{
  width:21% !important;
  height:66% !important;
  top:31% !important;
}
@media(max-width:900px){
  .museum-honey-reveal{width:14.5% !important;height:42% !important;top:46% !important;}
}
@media(max-width:700px){
  .museum-honey-reveal{width:20% !important;height:40% !important;top:47% !important;}
}

/* V76: Muay Thai gloves perched at the frame's upper-right + readable red message plaque. */
.muaythai-exhibit{
  left:7% !important;
  top:10% !important;
  width:31% !important;
  height:270px !important;
  z-index:20 !important;
}
.muaythai-gloves{
  left:54% !important;
  top:-2px !important;
  width:126px !important;
  height:150px !important;
  z-index:6 !important;
  transform:rotate(2deg) !important;
}
.muaythai-love-label{
  position:absolute !important;
  left:0 !important;
  top:52px !important;
  width:100% !important;
  min-height:190px !important;
  box-sizing:border-box !important;
  padding:32px 24px 22px !important;
  background:#8f1f32 !important;
  border:7px solid #f0d5a0 !important;
  border-radius:3px !important;
  color:#fffaf0 !important;
  font-family:Georgia, 'Times New Roman', serif !important;
  font-size:13px !important;
  line-height:18px !important;
  font-weight:700 !important;
  letter-spacing:.02em !important;
  text-align:center !important;
  text-shadow:0 1px 1px rgba(45,8,16,.45) !important;
  box-shadow:0 7px 18px rgba(55,25,35,.24), inset 0 0 0 2px rgba(255,255,255,.16) !important;
  z-index:3 !important;
}
.muaythai-love-label:before{
  content:'FOR THE LOVE OF THE SPORT ♡';
  display:block;
  margin-bottom:12px;
  color:#ffe6b7;
  font-size:10px;
  line-height:12px;
  font-weight:900;
  letter-spacing:.16em;
}
@media(max-width:900px){
  .muaythai-exhibit{left:5% !important;width:31% !important;}
  .muaythai-gloves{left:53% !important;width:112px !important;height:140px !important;}
  .muaythai-love-label{font-size:11px !important;line-height:15px !important;padding:28px 16px 18px !important;}
}
@media(max-width:700px){
  .museum-honey-reveal{width:17% !important;height:40% !important;top:47% !important;}
  .muaythai-exhibit{left:4% !important;top:4% !important;width:42% !important;height:235px !important;}
  .muaythai-gloves{left:50% !important;width:92px !important;height:120px !important;}
  .muaythai-love-label{top:42px !important;min-height:165px !important;font-size:8px !important;line-height:11px !important;padding:25px 9px 12px !important;border-width:5px !important;}
  .muaythai-love-label:before{font-size:7px !important;line-height:9px !important;margin-bottom:8px !important;}
}

/* V77: compact vertical Muay Thai memory frame, kept clear of the gem display. */
.muaythai-exhibit{
  left:14.5% !important;
  top:8% !important;
  width:14% !important;
  height:335px !important;
  z-index:7 !important;
  text-align:center;
}
.muaythai-love-label{
  left:0 !important;
  top:22px !important;
  width:100% !important;
  min-height:305px !important;
  height:305px !important;
  padding:48px 16px 18px !important;
  box-sizing:border-box !important;
  background:#8f1f32 !important;
  border:6px solid #e8c98f !important;
  border-radius:5px !important;
  color:#fffaf2 !important;
  font-family:Georgia,'Times New Roman',serif !important;
  font-size:11px !important;
  line-height:15px !important;
  font-weight:700 !important;
  letter-spacing:.01em !important;
  text-align:center !important;
  text-shadow:0 1px 1px rgba(40,5,12,.45) !important;
  box-shadow:0 8px 18px rgba(55,25,35,.22),inset 0 0 0 2px rgba(255,255,255,.14) !important;
  z-index:2 !important;
}
.muaythai-love-label:before{
  content:'FOR THE LOVE OF MUAY THAI ♡' !important;
  display:block !important;
  margin-bottom:13px !important;
  color:#ffe5b1 !important;
  font-size:9px !important;
  line-height:11px !important;
  font-weight:900 !important;
  letter-spacing:.1em !important;
}
.muaythai-gloves{
  left:auto !important;
  right:-9px !important;
  top:-16px !important;
  width:104px !important;
  height:120px !important;
  z-index:5 !important;
  transform:rotate(3deg) !important;
}
.museum-honey-reveal{
  width:14.5% !important;
  height:66% !important;
  top:31% !important;
  left:2% !important;
  z-index:6 !important;
}
@media(max-width:900px){
  .muaythai-exhibit{left:14% !important;width:14% !important;height:300px !important;}
  .muaythai-love-label{min-height:270px !important;height:270px !important;font-size:10px !important;line-height:13px !important;padding:42px 11px 14px !important;}
  .muaythai-gloves{width:88px !important;height:105px !important;right:-7px !important;}
}
@media(max-width:700px){
  .muaythai-exhibit{left:14% !important;width:20% !important;height:235px !important;}
  .muaythai-love-label{min-height:210px !important;height:210px !important;font-size:8px !important;line-height:11px !important;padding:34px 8px 10px !important;border-width:4px !important;}
  .muaythai-love-label:before{font-size:7px !important;line-height:9px !important;margin-bottom:8px !important;}
  .muaythai-gloves{width:72px !important;height:88px !important;right:-4px !important;top:-10px !important;}
}


/* V78: shiny vertical mirror exhibit */
.museum-mirror-exhibit{
  position:absolute !important;
  left:52% !important; top:12% !important;
  width:13% !important; height:285px !important;
  z-index:9 !important; pointer-events:auto;
}
.museum-mirror{
  position:relative !important; width:100% !important; height:100% !important;
  padding:0 !important; border:0 !important; background:none !important;
  cursor:inherit !important;
  display:block !important;
}
.mirror-frame{
  position:absolute; left:8%; right:8%; top:0; height:235px;
  padding:7px; box-sizing:border-box;
  border:4px solid #e4c37f; border-radius:50% 50% 45% 45% / 10% 10% 8% 8%;
  background:linear-gradient(145deg,#f7e9bb,#b98a4c 35%,#f3d58e 58%,#9a6c37 100%);
  box-shadow:0 8px 18px rgba(54,36,62,.22),inset 0 0 0 2px rgba(255,255,255,.55),0 0 18px rgba(255,228,164,.28);
}
.mirror-glass{
  position:relative; display:flex; align-items:center; justify-content:center;
  width:100%; height:100%; overflow:hidden;
  border:3px solid rgba(255,255,255,.7); border-radius:50% 50% 43% 43% / 9% 9% 7% 7%;
  background:radial-gradient(circle at 45% 28%,rgba(255,255,255,.85),rgba(226,207,244,.72) 35%,rgba(166,133,193,.65) 72%,rgba(103,72,127,.78));
  box-shadow:inset 0 0 24px rgba(255,255,255,.48), inset 0 0 50px rgba(102,70,128,.25);
}
.mirror-message{
  position:relative; z-index:3; max-width:82%;
  color:#fffaff; font-family:Georgia,'Times New Roman',serif;
  font-size:clamp(13px,1.35vw,20px); line-height:1.2; font-weight:700;
  letter-spacing:.01em; text-align:center;
  text-shadow:0 2px 10px rgba(61,37,77,.7),0 1px 2px rgba(45,28,55,.55);
  transition:opacity .25s ease,transform .25s ease;
}
.mirror-footnote{
  position:absolute; left:0; right:0; bottom:5px;
  color:#fff4fc; font-family:Georgia,'Times New Roman',serif; font-size:10px;
  font-weight:800; letter-spacing:.08em; text-shadow:0 2px 7px rgba(58,35,74,.65);
}
.mirror-crown{
  position:absolute; top:-10px; left:50%; transform:translateX(-50%); z-index:5;
  color:#fff1a9; font-size:21px; text-shadow:0 0 12px rgba(255,228,139,.9);
}
.mirror-shine{
  position:absolute; z-index:4; left:-35%; top:-10%; width:32%; height:130%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.9),transparent);
  transform:skewX(-18deg); opacity:0; pointer-events:none;
}
.museum-mirror.clicked .mirror-shine{animation:mirrorSweep .75s ease-out both;}
.museum-mirror.clicked .mirror-message{animation:mirrorMessageIn .35s ease-out both;}
.museum-mirror.clicked .mirror-footnote{opacity:0; transition:opacity .2s ease;}
@keyframes mirrorSweep{from{left:-35%;opacity:0}20%{opacity:.9}to{left:115%;opacity:0}}
@keyframes mirrorMessageIn{from{opacity:0;transform:scale(.92)}to{opacity:1;transform:scale(1)}}
@media(max-width:900px){
  .museum-mirror-exhibit{left:52% !important;width:15% !important;height:250px !important;}
  .mirror-frame{height:205px;}
  .mirror-footnote{font-size:8px;}
  .mirror-message{font-size:12px;}
}
@media(max-width:700px){
  .museum-mirror-exhibit{left:49% !important;top:13% !important;width:18% !important;height:215px !important;}
  .mirror-frame{height:178px;}
  .mirror-message{font-size:9px;}
  .mirror-footnote{font-size:7px;}
}


/* V79: refined personal-memory frame beside the gloves. */
.muaythai-exhibit{
  left:17% !important; top:6% !important; width:12.5% !important; height:285px !important;
  z-index:10 !important;
}
.muaythai-love-label{
  left:0 !important; top:18px !important; width:100% !important; height:265px !important; min-height:265px !important;
  padding:42px 14px 14px !important; box-sizing:border-box !important;
  background:linear-gradient(145deg,#a94b68 0%,#8b3150 55%,#72263f 100%) !important;
  border:4px solid #e8bfd0 !important; border-radius:10px !important;
  color:#fff9fc !important; font-family:Georgia,'Times New Roman',serif !important;
  font-size:11px !important; line-height:15px !important; font-weight:600 !important;
  letter-spacing:.01em !important; text-align:center !important;
  text-shadow:0 1px 2px rgba(56,19,34,.5) !important;
  box-shadow:0 9px 20px rgba(69,42,63,.22), inset 0 0 0 1px rgba(255,255,255,.28), inset 0 0 22px rgba(255,255,255,.06) !important;
  z-index:2 !important;
}
.muaythai-love-label:before{
  content:'A LITTLE NOTE ♡' !important; display:block !important; margin-bottom:13px !important;
  color:#ffeaf3 !important; font-size:9px !important; line-height:11px !important;
  font-weight:800 !important; letter-spacing:.12em !important;
}
.muaythai-gloves{
  right:-8px !important; top:-15px !important; width:92px !important; height:108px !important;
  z-index:5 !important; transform:rotate(3deg) !important;
}
@media(max-width:900px){
  .muaythai-exhibit{left:17% !important;width:13% !important;height:260px !important;}
  .muaythai-love-label{height:242px !important;min-height:242px !important;font-size:10px !important;line-height:13px !important;padding:38px 10px 12px !important;}
  .muaythai-gloves{width:82px !important;height:98px !important;right:-7px !important;top:-13px !important;}
}
@media(max-width:700px){
  .muaythai-exhibit{left:17% !important;width:21% !important;height:220px !important;}
  .muaythai-love-label{height:204px !important;min-height:204px !important;font-size:8px !important;line-height:11px !important;padding:31px 8px 10px !important;border-width:3px !important;}
  .muaythai-love-label:before{font-size:7px !important;line-height:9px !important;margin-bottom:7px !important;}
  .muaythai-gloves{width:66px !important;height:80px !important;right:-5px !important;top:-9px !important;}
}

/* V79: fit the full mirror reveal message comfortably inside the glass. */
.mirror-message{font-size:clamp(10px,1.05vw,15px) !important;line-height:1.24 !important;max-width:78% !important;}
@media(max-width:900px){.mirror-message{font-size:11px !important;line-height:1.2 !important;max-width:80% !important;}}
@media(max-width:700px){.mirror-message{font-size:8.5px !important;line-height:1.18 !important;max-width:82% !important;}}

/* V80: Muay Thai message belongs inside Exhibit 01; keep gloves perched at its upper-right. */
.left-exhibit{left:2% !important;top:9% !important;width:18% !important;z-index:7 !important;}
.muaythai-memory-frame{height:250px !important;box-sizing:border-box !important;display:flex !important;align-items:center !important;justify-content:center !important;padding:58px 18px 18px !important;background:linear-gradient(145deg,#fff8fc,#f4dce9 48%,#ead0df) !important;border:5px solid #c68aa9 !important;border-radius:7px !important;box-shadow:0 9px 18px rgba(77,49,82,.16),inset 0 0 0 2px rgba(255,255,255,.65) !important;overflow:hidden !important;}
.muaythai-memory-text{display:block !important;color:#4c3447 !important;font-family:Georgia,'Times New Roman',serif !important;font-size:11px !important;line-height:1.38 !important;font-weight:700 !important;letter-spacing:.005em !important;text-align:center !important;text-shadow:0 1px 0 rgba(255,255,255,.7) !important;max-width:100% !important;}
.muaythai-exhibit{left:2% !important;top:9% !important;width:18% !important;height:250px !important;z-index:8 !important;pointer-events:none !important;}
.muaythai-gloves{left:auto !important;right:-12px !important;top:-16px !important;width:145px !important;height:150px !important;z-index:10 !important;transform:rotate(3deg) !important;}
.muaythai-love-label{display:none !important;}
/* V80: ensure the mirror reveal sentence always fits inside the glass. */
.mirror-message{font-size:clamp(8px,0.78vw,12px) !important;line-height:1.18 !important;max-width:88% !important;padding:0 4px !important;box-sizing:border-box !important;}
@media(max-width:900px){.muaythai-memory-frame{height:230px !important;padding:52px 13px 14px !important}.muaythai-exhibit{height:230px !important}.muaythai-gloves{width:128px !important;height:135px !important;right:-10px !important}.muaythai-memory-text{font-size:10px !important}.mirror-message{font-size:8px !important;max-width:90% !important;}}
@media(max-width:700px){.muaythai-memory-frame{height:210px !important;padding:45px 9px 10px !important}.muaythai-exhibit{height:210px !important}.muaythai-gloves{width:108px !important;height:115px !important;right:-7px !important}.muaythai-memory-text{font-size:8px !important;line-height:1.25 !important}.mirror-message{font-size:7px !important;max-width:92% !important;}}


/* V81: Exhibit 01 is a wider, compact frame that stays clear of Honey. Gloves hang directly from its top-right edge. */
.left-exhibit{left:1% !important;top:-4% !important;width:23% !important;z-index:7 !important;}
.muaythai-memory-frame{height:170px !important;box-sizing:border-box !important;position:relative !important;display:flex !important;align-items:center !important;justify-content:center !important;padding:34px 18px 12px !important;overflow:visible !important;background:linear-gradient(145deg,#fff8fc,#f4dce9 48%,#ead0df) !important;border:5px solid #c68aa9 !important;border-radius:7px !important;box-shadow:7px 8px 0 rgba(100,70,112,.14),inset 0 0 0 2px rgba(255,255,255,.65) !important;}
.muaythai-memory-frame:after{display:none !important;}
.muaythai-memory-text{display:block !important;position:relative !important;z-index:2 !important;color:#4c3447 !important;font-family:Georgia,'Times New Roman',serif !important;font-size:10px !important;line-height:1.34 !important;font-weight:700 !important;letter-spacing:.005em !important;text-align:center !important;text-shadow:0 1px 0 rgba(255,255,255,.7) !important;max-width:100% !important;}
.muaythai-memory-frame .muaythai-gloves{position:absolute !important;right:-48px !important;top:-38px !important;left:auto !important;width:145px !important;height:150px !important;z-index:10 !important;transform:rotate(3deg) !important;pointer-events:none !important;}
.muaythai-memory-frame .muaythai-gloves img{width:100% !important;height:100% !important;object-fit:contain !important;display:block !important;}
@media(max-width:900px){.left-exhibit{left:0 !important;top:-3% !important;width:24% !important}.muaythai-memory-frame{height:165px !important;padding:31px 13px 10px !important}.muaythai-memory-text{font-size:9px !important;line-height:1.28 !important}.muaythai-memory-frame .muaythai-gloves{width:128px !important;height:135px !important;right:-40px !important;top:-34px !important;}}
@media(max-width:700px){.left-exhibit{left:0 !important;top:-2% !important;width:31% !important}.muaythai-memory-frame{height:155px !important;padding:27px 9px 8px !important}.muaythai-memory-text{font-size:7.5px !important;line-height:1.2 !important}.muaythai-memory-frame .muaythai-gloves{width:108px !important;height:115px !important;right:-32px !important;top:-28px !important;}}

/* V81: give the mirror reveal more usable glass width and keep the full sentence inside it. */
.museum-mirror-exhibit{width:15% !important;height:285px !important;}
.mirror-frame{left:5% !important;right:5% !important;}
.mirror-message{font-size:clamp(8px,0.72vw,11px) !important;line-height:1.16 !important;max-width:90% !important;padding:0 3px !important;}
@media(max-width:900px){.museum-mirror-exhibit{width:17% !important;height:250px !important}.mirror-frame{height:205px !important;left:4% !important;right:4% !important}.mirror-message{font-size:7.5px !important;line-height:1.15 !important;max-width:92% !important;}}
@media(max-width:700px){.museum-mirror-exhibit{width:21% !important;height:215px !important}.mirror-frame{height:178px !important}.mirror-message{font-size:6.8px !important;line-height:1.12 !important;max-width:93% !important;}}

/* V82: gloves hang from the middle of Exhibit 01's right edge. */
.left-exhibit{left:1% !important;top:-5% !important;width:25% !important;z-index:7 !important;}
.muaythai-memory-frame{width:100% !important;}
.muaythai-memory-frame .muaythai-gloves{
  right:-58px !important;
  top:50% !important;
  width:145px !important;
  height:150px !important;
  transform:translateY(-50%) rotate(3deg) !important;
  z-index:10 !important;
}
@media(max-width:900px){
  .left-exhibit{left:0 !important;top:-4% !important;width:26% !important;}
  .muaythai-memory-frame .muaythai-gloves{right:-52px !important;top:50% !important;width:128px !important;height:135px !important;transform:translateY(-50%) rotate(3deg) !important;}
}
@media(max-width:700px){
  .left-exhibit{left:0 !important;top:-3% !important;width:32% !important;}
  .muaythai-memory-frame .muaythai-gloves{right:-42px !important;top:50% !important;width:108px !important;height:115px !important;transform:translateY(-50%) rotate(3deg) !important;}
}


/* V84: compact Exhibit 01 text + TV-style mirror label. */
.muaythai-memory-frame{
  padding:24px 78px 14px 16px !important;
}
.muaythai-memory-text{
  max-width:72% !important;
  font-size:10px !important;
  line-height:1.05 !important;
  letter-spacing:0 !important;
}
.muaythai-memory-frame .muaythai-gloves{
  right:-58px !important;
  top:50% !important;
}
.mirror-footnote{
  position:relative !important;
  display:inline-block !important;
  left:auto !important; right:auto !important; bottom:auto !important;
  margin-top:9px !important;
  padding:7px 14px !important;
  color:#c76593 !important;
  background:#fff !important;
  border:2px solid #e27eaa !important;
  border-radius:999px !important;
  font-family:inherit !important;
  font-size:10px !important;
  font-weight:900 !important;
  letter-spacing:.16em !important;
  text-shadow:none !important;
  box-shadow:4px 4px 0 rgba(111,77,123,.12) !important;
  transform:rotate(-2deg) !important;
}
@media(max-width:900px){
  .muaythai-memory-frame{padding:22px 68px 12px 12px !important;}
  .muaythai-memory-text{max-width:72% !important;font-size:9px !important;line-height:1.02 !important;}
  .mirror-footnote{font-size:8px !important;padding:6px 12px !important;}
}
@media(max-width:700px){
  .muaythai-memory-frame{padding:18px 56px 9px 9px !important;}
  .muaythai-memory-text{max-width:74% !important;font-size:7.5px !important;line-height:1 !important;}
  .mirror-footnote{font-size:7px !important;padding:5px 10px !important;}
}

/* V85: softer white Muay Thai frame with warm gold lettering. */
.muaythai-memory-frame{
  background:#fff !important;
  border-color:#d9b66f !important;
  box-shadow:7px 8px 0 rgba(100,70,112,.12),inset 0 0 0 2px rgba(246,224,171,.55) !important;
  padding:20px 82px 12px 18px !important;
}
.muaythai-memory-text{
  color:#b18a32 !important;
  font-size:12px !important;
  line-height:1.02 !important;
  max-width:72% !important;
  text-shadow:0 1px 0 rgba(255,255,255,.9) !important;
}
@media(max-width:900px){
  .muaythai-memory-frame{padding:18px 72px 10px 14px !important;}
  .muaythai-memory-text{font-size:10px !important;line-height:1.02 !important;max-width:73% !important;}
}
@media(max-width:700px){
  .muaythai-memory-frame{padding:15px 58px 8px 10px !important;}
  .muaythai-memory-text{font-size:8.5px !important;line-height:1 !important;max-width:74% !important;}
}

/* V87: reference-based fresh hydrangeas popping naturally out of Exhibit 02 */
.right-exhibit .flower-frame-real{
  position:relative;
  height:205px;
  width:100%;
  box-sizing:border-box;
  background:#fff;
  border:10px solid #b68fc1;
  box-shadow:7px 8px 0 rgba(100,70,112,.14), inset 0 0 0 3px #f7edf9;
  overflow:visible;
  isolation:isolate;
}
.right-exhibit .flower-frame-real:before{
  content:"";
  position:absolute;
  inset:7px;
  border:2px solid rgba(207,178,214,.75);
  pointer-events:none;
  z-index:5;
}
.right-exhibit .flower-frame-inner{
  position:absolute;
  inset:10px;
  background:linear-gradient(145deg,#fff,#fbf8fc);
  overflow:hidden;
  z-index:1;
}
.right-exhibit .hydrangea-pop{
  position:absolute;
  object-fit:contain;
  pointer-events:none;
  user-select:none;
  filter:drop-shadow(3px 6px 3px rgba(67,49,78,.18));
}
.right-exhibit .hydrangea-pop-main{
  width:145%;
  max-width:none;
  height:auto;
  left:-31%;
  top:-58%;
  z-index:4;
}
.right-exhibit .hydrangea-pop-pink{
  width:66%;
  max-width:none;
  height:auto;
  right:-22%;
  top:21%;
  z-index:3;
  transform:rotate(9deg);
}
.right-exhibit small{position:relative;z-index:8}
.right-exhibit strong{position:relative;z-index:8}
@media(max-width:900px){
  .right-exhibit .flower-frame-real{height:185px}
  .right-exhibit .hydrangea-pop-main{width:150%;left:-34%;top:-55%}
  .right-exhibit .hydrangea-pop-pink{width:68%;right:-25%;top:20%}
}

/* V90: Exhibit 02 — smaller, farther from the TV, baby-pink frame interior. */
.hydrangea-exhibit{
  position:absolute !important;
  right:1% !important;
  top:4% !important;
  width:17% !important;
  transform:rotate(1deg) !important;
  z-index:8 !important;
}
.hydrangea-frame{
  position:relative;
  width:100%;
  height:210px;
  box-sizing:border-box;
  background:#fff;
  border:9px solid #b68fc1;
  box-shadow:6px 7px 0 rgba(100,70,112,.14), inset 0 0 0 3px #f7edf9;
  overflow:visible;
  isolation:isolate;
}
.hydrangea-frame:before{
  content:"";
  position:absolute;
  inset:6px;
  border:2px solid rgba(207,178,214,.75);
  pointer-events:none;
  z-index:1;
}
.hydrangea-frame-opening{
  position:absolute;
  inset:9px;
  background:#ffeaf4;
  overflow:hidden;
  z-index:2;
}
.hydrangea-popout{
  position:absolute;
  width:135%;
  max-width:none;
  height:auto;
  left:-19%;
  top:-35%;
  z-index:6;
  pointer-events:none;
  user-select:none;
  filter:drop-shadow(3px 7px 4px rgba(67,49,78,.18));
}
.hydrangea-exhibit small{
  display:block;
  position:relative;
  z-index:10;
  margin-top:9px;
  font-size:9px;
  letter-spacing:.12em;
  color:#bd79a4;
  font-weight:900;
  text-transform:none;
}
@media(max-width:900px){
  .hydrangea-exhibit{right:1% !important;width:20% !important;}
  .hydrangea-frame{height:190px;}
  .hydrangea-popout{width:140%;left:-21%;top:-31%;}
}
@media(max-width:700px){.hydrangea-exhibit{display:none !important;}}

/* V91: move Hydrangeas exhibit clearly above the TV and let the reference flowers fill the frame. */
.hydrangea-exhibit{
  right:1% !important;
  top:-24% !important;
  width:15% !important;
  z-index:12 !important;
  transform:rotate(1deg) !important;
}
.hydrangea-frame{
  height:205px !important;
  background:#ffeaf4 !important;
  overflow:visible !important;
}
.hydrangea-frame-opening{
  inset:9px !important;
  background:#ffeaf4 !important;
  overflow:hidden !important;
}
.hydrangea-popout{
  width:172% !important;
  max-width:none !important;
  height:auto !important;
  left:-36% !important;
  top:-23% !important;
  z-index:6 !important;
  filter:drop-shadow(3px 7px 4px rgba(67,49,78,.18));
}
.hydrangea-exhibit small{
  margin-top:9px !important;
}
@media(max-width:900px){
  .hydrangea-exhibit{right:1% !important;top:-22% !important;width:17% !important;}
  .hydrangea-frame{height:185px !important;}
  .hydrangea-popout{width:180% !important;left:-40% !important;top:-20% !important;}
}

/* V92: keep the user's hydrangeas smaller and neatly contained in Exhibit 02. */
.hydrangea-exhibit{
  top:-27% !important;
  right:0% !important;
  width:15% !important;
  z-index:12 !important;
}
.hydrangea-frame{
  height:205px !important;
  background:#ffeaf4 !important;
  overflow:visible !important;
}
.hydrangea-frame-opening{
  inset:9px !important;
  background:#ffeaf4 !important;
  overflow:hidden !important;
}
.hydrangea-popout{
  width:104% !important;
  max-width:none !important;
  height:auto !important;
  left:-2% !important;
  top:1% !important;
  z-index:6 !important;
  filter:drop-shadow(3px 7px 4px rgba(67,49,78,.18));
}
@media(max-width:900px){
  .hydrangea-exhibit{right:0% !important;top:-24% !important;width:17% !important;}
  .hydrangea-frame{height:185px !important;}
  .hydrangea-popout{width:106% !important;left:-3% !important;top:1% !important;}
}

/* Cunningham Park memory scene */
.memory-screen.cunningham-mode .date-card{opacity:1;pointer-events:none;}
.memory-screen.cunningham-mode .memory-bg{background-position:center center;}
.memory-screen.cunningham-mode .memory-color{background:linear-gradient(135deg,rgba(26,18,43,.10),rgba(42,16,48,.03) 45%,rgba(0,0,0,.30));}
.memory-screen.cunningham-mode .memory-location{background:rgba(35,17,46,.62);}
.memory-screen.cunningham-mode .you-slot{width:48%;height:78%;bottom:16%;}
.memory-screen.cunningham-mode .memory-character.you-character{object-position:center bottom;}
@media(max-width:700px){.memory-screen.cunningham-mode .you-slot{width:54%;height:70%;bottom:17%;}}



/* Botanical Garden 1–10 choice: Chai gets a closer solo shot; Honey is completely out of frame. */
.memory-screen.cunningham-mode.choice-open .you-slot{
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
  transform:translateX(-280px) scale(.92) !important;
  z-index:1 !important;
}
.memory-screen.cunningham-mode.choice-open .chai-slot{
  opacity:1 !important;
  visibility:visible !important;
  width:58% !important;
  height:88% !important;
  right:-5% !important;
  bottom:9% !important;
  transform:translateX(0) scale(1.10) !important;
  z-index:10 !important;
}
.memory-screen.cunningham-mode.choice-open .chai-slot.entered{
  opacity:1 !important;
  visibility:visible !important;
  transform:translateX(0) scale(1.10) !important;
}
@media(max-width:700px){
  .memory-screen.cunningham-mode.choice-open .you-slot{opacity:0 !important;visibility:hidden !important;}
  .memory-screen.cunningham-mode.choice-open .chai-slot{width:64% !important;height:82% !important;right:-7% !important;bottom:11% !important;transform:translateX(0) scale(1.05) !important;}
}

/* Cunningham Park: cute 1–10 nervousness choice row */
.memory-screen .number-choices{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:clamp(5px,0.65vw,10px)!important;
  margin:10px 0 1px!important;
  width:100%!important;
}
.memory-screen .number-choice{
  flex:0 0 clamp(30px,3.15vw,48px)!important;
  width:clamp(30px,3.15vw,48px)!important;
  height:clamp(30px,3.15vw,48px)!important;
  padding:0!important;
  border-radius:50%!important;
  clip-path:none!important;
  border:2px solid #e887ad!important;
  background:linear-gradient(145deg,#fffafd,#fde3ef)!important;
  color:#8d5d77!important;
  box-shadow:0 3px 0 rgba(216,113,159,.16),0 5px 12px rgba(108,73,99,.08)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  transition:transform .16s ease,box-shadow .16s ease,background .16s ease!important;
}
.memory-screen .number-choice:hover{
  transform:translateY(-5px) scale(1.08)!important;
  background:#fff!important;
  box-shadow:0 7px 0 rgba(216,113,159,.18),0 8px 16px rgba(108,73,99,.10)!important;
}
.memory-screen .number-choice.picked{
  transform:translateY(-4px) scale(1.1)!important;
  background:#f6c7dc!important;
  border-color:#d96f9f!important;
  box-shadow:0 5px 0 rgba(216,113,159,.20),0 8px 16px rgba(108,73,99,.11)!important;
}
.memory-screen .number-choice span{
  margin:0!important;
  color:#9b6682!important;
  font-family:'Archivo Black',sans-serif!important;
  font-size:clamp(11px,1.05vw,16px)!important;
}
@media(max-width:700px){
  .memory-screen .number-choices{gap:4px!important;overflow:visible!important}
  .memory-screen .number-choice{flex-basis:27px!important;width:27px!important;height:27px!important}
  .memory-screen .number-choice span{font-size:10px!important}
}

/* Cunningham: final heartfelt Expression 8 line */
.memory-screen.cunningham-mode .dialogue-text{max-width:92%;}
.memory-screen.cunningham-mode .dialogue-text.long-heartfelt-line{font-size:clamp(16px,1.75vw,24px);line-height:1.28;}


/* V93: tiny interactive fridge exhibit, based on the user's fridge reference. */
.mini-fridge-exhibit{
  position:absolute !important;
  left:18% !important;
  bottom:1% !important;
  width:10.5% !important;
  height:220px !important;
  z-index:18 !important;
  text-align:center;
}
.fridge-label{
  display:inline-block;
  position:relative;
  z-index:12;
  margin-bottom:8px;
  padding:6px 11px;
  background:#fff;
  border:2px solid #e27eaa;
  color:#c76593;
  border-radius:999px;
  box-shadow:4px 5px 0 rgba(111,77,123,.12);
  font-size:9px;
  font-weight:900;
  letter-spacing:.12em;
  transform:rotate(-1.5deg);
  white-space:nowrap;
}
.mini-fridge{
  position:relative;
  width:100%;
  height:188px;
  padding:0;
  border:0;
  background:transparent;
  cursor:pointer;
  filter:drop-shadow(7px 10px 0 rgba(77,55,85,.13));
}
.fridge-body{
  position:absolute;
  inset:0 5% 0 5%;
  border:3px solid #8d8198;
  border-radius:13px 13px 9px 9px;
  background:linear-gradient(145deg,#ffffff 0%,#edf4f7 48%,#d7e1e8 100%);
  box-shadow:inset 0 0 0 3px rgba(255,255,255,.8),inset -8px -8px 15px rgba(100,90,115,.1),inset 7px 0 14px rgba(255,255,255,.8);
  transition:opacity .28s ease,transform .28s ease;
  z-index:3;
}
.fridge-top{
  position:absolute;left:7%;right:7%;top:3%;height:8px;
  border-radius:999px;background:linear-gradient(180deg,#ffffff,#d3dce3);
  box-shadow:0 2px 0 rgba(116,104,126,.15);
}
.fridge-handle{
  position:absolute;left:8%;top:42%;width:5px;height:40px;
  border-radius:4px;background:linear-gradient(90deg,#777080,#bcb6c3,#716977);
  box-shadow:2px 0 0 rgba(255,255,255,.55);
}
.fridge-heart{position:absolute;right:12%;top:10%;font-size:15px;color:#e17ba7;text-shadow:0 1px 0 #fff;}
.fridge-door-line{position:absolute;left:8%;right:8%;top:18%;height:1px;background:rgba(104,91,112,.16);}
.fridge-sticker{position:absolute;right:13%;bottom:13%;width:28px;height:22px;border-radius:4px;background:linear-gradient(145deg,#fff7fb,#f4dce9);border:1px solid #d5b5c8;transform:rotate(-4deg);box-shadow:0 2px 2px rgba(80,62,88,.08);}
.fridge-sticker:after{content:'♡';position:absolute;inset:0;display:grid;place-items:center;color:#df78a5;font-size:12px;}
.fridge-interior{
  position:absolute;left:6%;right:6%;top:4%;bottom:4%;
  border:3px solid #7b7484;border-radius:9px;
  background:linear-gradient(180deg,#d9fbfa,#b8e9e8 48%,#8fd1d0);
  box-shadow:inset 0 0 0 4px rgba(255,255,255,.45),inset 0 0 24px rgba(73,151,156,.22);
  opacity:0;transform:scale(.96);transition:opacity .3s ease,transform .3s ease;z-index:2;overflow:hidden;
}
.fridge-shelf{position:absolute;left:8%;right:8%;bottom:18%;height:6px;background:linear-gradient(180deg,#f2ffff,#b6dede);border:2px solid #83afb0;border-radius:4px;box-shadow:0 5px 0 rgba(72,118,120,.12);}
.fridge-can{position:absolute;left:50%;bottom:15%;width:50%;height:72%;transform:translateX(-50%);display:flex;align-items:flex-end;justify-content:center;z-index:5;}
.fridge-can img{width:100%;height:100%;object-fit:contain;display:block;filter:drop-shadow(2px 5px 3px rgba(54,43,61,.2));}
.fridge-sparkle{position:absolute;color:#ffe36b;text-shadow:0 0 8px rgba(255,226,92,.95),0 0 16px rgba(255,243,150,.7);font-size:20px;line-height:1;z-index:7;animation:fridgeSparkle 1.5s ease-in-out infinite;}
.sparkle-a{left:14%;top:24%;}.sparkle-b{right:13%;top:28%;animation-delay:.25s}.sparkle-c{left:20%;bottom:20%;font-size:16px;animation-delay:.55s}.sparkle-d{right:19%;bottom:22%;animation-delay:.8s}
.fridge-open-door{position:absolute;left:5%;right:5%;top:0;bottom:0;border:3px solid #8d8198;border-radius:13px 13px 9px 9px;background:linear-gradient(145deg,#fff,#e4edf1);box-shadow:inset 0 0 0 3px rgba(255,255,255,.8),8px 8px 12px rgba(66,53,75,.13);transform-origin:right center;transform:perspective(700px) rotateY(0deg);transition:transform .45s cubic-bezier(.2,.8,.2,1),opacity .3s ease;z-index:6;}
.fridge-open-door:before{content:'';position:absolute;left:8%;top:9%;bottom:9%;width:5px;border-radius:4px;background:#777080;box-shadow:2px 0 0 rgba(255,255,255,.6);}
.mini-fridge.open .fridge-body{opacity:0;transform:scale(.98);pointer-events:none;}
.mini-fridge.open .fridge-interior{opacity:1;transform:scale(1);}
.mini-fridge.open .fridge-open-door{transform:perspective(700px) rotateY(84deg);}
@keyframes fridgeSparkle{0%,100%{opacity:.45;transform:scale(.75) rotate(0deg)}50%{opacity:1;transform:scale(1.2) rotate(12deg)}}
@media(max-width:900px){
  .mini-fridge-exhibit{left:17% !important;width:12% !important;height:195px !important;bottom:2% !important;}
  .mini-fridge{height:165px}.fridge-label{font-size:8px;padding:5px 8px}.fridge-sticker{width:22px;height:17px}.fridge-sticker:after{font-size:9px}.fridge-sparkle{font-size:15px}
}
@media(max-width:700px){.mini-fridge-exhibit{display:none !important;}}


/* V104: Chai appears beside Honey while choosing the 1–10 answer. */
.memory-screen.cunningham-mode .chai-slot.entered .chai-character{
  object-position:center bottom;
  filter:drop-shadow(0 0 8px rgba(184,160,232,.52)) drop-shadow(0 12px 18px rgba(10,5,18,.35)) brightness(1.03);
}

/* V107: During the 1–10 choice, Honey visibly moves aside while Chai slides in from the right. */
.memory-screen.cunningham-mode.choice-open .you-slot{
  opacity:.96 !important;
  transform:translateX(-235px) scale(.94) !important;
  transition:opacity .45s ease, transform .72s cubic-bezier(.18,.9,.2,1) !important;
  z-index:3 !important;
}
.memory-screen.cunningham-mode.choice-open .chai-slot{
  opacity:1 !important;
  transform:translateX(0) !important;
  z-index:6 !important;
  width:42% !important;
  height:77% !important;
  right:1% !important;
  bottom:15% !important;
  transition:opacity .2s ease, transform .72s cubic-bezier(.18,.9,.2,1) !important;
}
.memory-screen.cunningham-mode.choice-open .chai-slot.entered{
  animation:chaiChoiceSlideIn .72s cubic-bezier(.18,.9,.2,1) both !important;
}
.memory-screen.cunningham-mode.choice-open .chai-slot .chai-character{
  object-fit:contain !important;
  object-position:center bottom !important;
  height:100% !important;
  width:100% !important;
}
@keyframes chaiChoiceSlideIn{from{opacity:0;transform:translateX(180px)}to{opacity:1;transform:translateX(0)}}
@media(max-width:700px){
  .memory-screen.cunningham-mode.choice-open .you-slot{transform:translateX(-120px) scale(.94) !important;}
  .memory-screen.cunningham-mode.choice-open .chai-slot{width:50% !important;height:70% !important;right:-2% !important;bottom:17% !important;}
}


/* V116: Smooth 1–10 character handoff. Honey leaves completely, Chai enters,
   then Chai leaves completely before Honey returns. */
.memory-screen.cunningham-mode.choice-open .you-slot{
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
  transform:translateX(-235px) scale(.94) !important;
  transition:opacity .38s ease, transform .48s cubic-bezier(.18,.9,.2,1), visibility 0s linear .38s !important;
  z-index:2 !important;
}
.memory-screen.cunningham-mode.choice-open:not(.choice-chai-in) .chai-slot{
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
  transform:translateX(180px) scale(1.10) !important;
  transition:opacity .20s ease, transform .48s cubic-bezier(.18,.9,.2,1), visibility 0s linear .20s !important;
  animation:none !important;
}
.memory-screen.cunningham-mode.choice-open.choice-chai-in .chai-slot{
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
  transform:translateX(0) scale(1.10) !important;
  transition:opacity .28s ease, transform .48s cubic-bezier(.18,.9,.2,1) !important;
  animation:none !important;
  z-index:10 !important;
}
.memory-screen.cunningham-mode.choice-open.choice-closing .chai-slot{
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
  transform:translateX(180px) scale(1.10) !important;
  transition:opacity .36s ease, transform .55s cubic-bezier(.55,.05,.68,.19), visibility 0s linear .36s !important;
  animation:none !important;
}
.memory-screen.cunningham-mode.choice-open.choice-closing .you-slot{
  opacity:0 !important;
  visibility:hidden !important;
  transform:translateX(-235px) scale(.94) !important;
  transition:none !important;
}
.memory-screen.cunningham-mode:not(.choice-open) .you-slot{
  visibility:visible;
  transition:opacity .38s ease, transform .58s cubic-bezier(.18,.9,.2,1) !important;
}
.memory-screen.cunningham-mode:not(.choice-open) .chai-slot{
  transition:opacity .32s ease, transform .55s cubic-bezier(.55,.05,.68,.19) !important;
}
@media(max-width:700px){
  .memory-screen.cunningham-mode.choice-open .you-slot,
  .memory-screen.cunningham-mode.choice-open.choice-closing .you-slot{transform:translateX(-120px) scale(.94) !important;}
}


/* City Date — Honey's special outfit/expression entrance */
.memory-screen.city-mode .you-slot{width:45%;height:82%;bottom:14%;}
.memory-screen.city-mode .you-character{object-position:center bottom;}
@media(max-width:700px){.memory-screen.city-mode .you-slot{width:58%;height:76%;bottom:16%;left:-2%;}}

/* City Date — Expression 12 */
.memory-screen.city-mode .you-slot{z-index:6;}
.memory-screen.city-mode .you-character{max-height:100%;}

/* City Date — cute museum favorite choices */
.memory-screen.city-mode .city-favorite-choices{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px 10px!important;
  width:100%!important;
  margin:10px 0 0!important;
  position:relative;
  overflow:visible!important;
}
.memory-screen.city-mode .city-favorite-choice{
  position:relative;
  min-height:42px!important;
  padding:8px 28px 8px 13px!important;
  border:1.5px solid rgba(216,113,159,.52)!important;
  border-radius:15px!important;
  background:linear-gradient(135deg,rgba(255,250,253,.98),rgba(248,224,239,.96))!important;
  color:#805a70!important;
  font-family:'Archivo Black',sans-serif!important;
  font-size:clamp(10px,1vw,14px)!important;
  text-align:left!important;
  box-shadow:0 4px 12px rgba(125,74,106,.10),inset 0 1px 0 rgba(255,255,255,.9)!important;
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease,border-color .2s ease!important;
  overflow:visible!important;
}
.memory-screen.city-mode .city-favorite-choice:nth-child(5){grid-column:1 / -1;justify-self:center;width:calc(50% - 5px);}
.memory-screen.city-mode .city-favorite-choice:hover{
  transform:translateY(-4px) scale(1.025)!important;
  border-color:#e58bb0!important;
  background:linear-gradient(135deg,#fff,#f9dbea)!important;
  box-shadow:0 7px 17px rgba(125,74,106,.14),0 0 12px rgba(235,151,192,.18)!important;
}
.memory-screen.city-mode .city-favorite-choice.picked{
  transform:translateY(-3px) scale(1.025)!important;
  border-color:#d96f9f!important;
  background:linear-gradient(135deg,#fff3f9,#f4c8dc)!important;
  box-shadow:0 6px 18px rgba(125,74,106,.16),0 0 16px rgba(235,151,192,.28)!important;
}
.memory-screen.city-mode .city-choice-number{font-weight:900;margin-right:4px;}
.memory-screen.city-mode .city-choice-label{font-family:'DM Sans',sans-serif;font-weight:700;}
.memory-screen.city-mode .city-choice-star,.memory-screen.city-mode .city-choice-heart{
  position:absolute;opacity:.72;pointer-events:none;
}
.memory-screen.city-mode .city-choice-star{left:-5px;top:-8px;font-size:11px;color:#f0c4d7;animation:cityChoiceTwinkle 1.8s ease-in-out infinite;}
.memory-screen.city-mode .city-choice-heart{right:9px;top:50%;transform:translateY(-50%);font-size:15px;color:#d987aa;}
.memory-screen.city-mode .city-favorite-choice:nth-child(2) .city-choice-star{animation-delay:.25s;}
.memory-screen.city-mode .city-favorite-choice:nth-child(3) .city-choice-star{animation-delay:.5s;}
.memory-screen.city-mode .city-favorite-choice:nth-child(4) .city-choice-star{animation-delay:.75s;}
.memory-screen.city-mode .city-favorite-choice:nth-child(5) .city-choice-star{animation-delay:1s;}
@keyframes cityChoiceTwinkle{0%,100%{opacity:.35;transform:scale(.8) rotate(0deg)}50%{opacity:1;transform:scale(1.2) rotate(12deg)}}
@media(max-width:700px){
 .memory-screen.city-mode .city-favorite-choices{grid-template-columns:1fr;gap:6px!important;}
 .memory-screen.city-mode .city-favorite-choice:nth-child(5){grid-column:auto;width:100%;}
 .memory-screen.city-mode .city-favorite-choice{min-height:36px!important;padding:6px 25px 6px 11px!important;}
}

/* City Date — favorite answer submit + lock-in sparkle burst */
.memory-screen.city-mode .city-choice-wrap{width:100%;display:flex;flex-direction:column;align-items:center;position:relative;}
.memory-screen.city-mode .city-submit-hint{font-family:'DM Sans',sans-serif;font-size:11px;color:#b47b98;margin:0 0 7px;letter-spacing:.3px;}
.memory-screen.city-mode .city-choice-list{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px;}
.memory-screen.city-mode .city-choice-list .city-favorite-choice:nth-child(5){grid-column:1 / -1;justify-self:center;width:calc(50% - 5px);}
.memory-screen.city-mode .city-favorite-submit{margin-top:10px;min-width:118px;padding:8px 20px;border:1.5px solid rgba(216,113,159,.58);border-radius:999px;background:linear-gradient(135deg,#fffafd,#f6d5e6);color:#8a5d76;font-family:'Archivo Black',sans-serif;font-size:11px;letter-spacing:.5px;box-shadow:0 4px 14px rgba(125,74,106,.12),0 0 12px rgba(235,151,192,.12);cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,opacity .2s ease;}
.memory-screen.city-mode .city-favorite-submit:not(:disabled):hover{transform:translateY(-2px) scale(1.03);box-shadow:0 6px 18px rgba(125,74,106,.15),0 0 18px rgba(235,151,192,.3);}
.memory-screen.city-mode .city-favorite-submit:disabled{opacity:.42;cursor:default;}
.memory-screen.city-mode .city-favorite-choice.locked{cursor:default;}
.memory-screen.city-mode .city-favorite-choice.answer-locked{box-shadow:0 0 0 2px rgba(235,151,192,.25),0 0 22px rgba(235,151,192,.38)!important;}
.city-submit-sparkle{position:absolute;z-index:30;pointer-events:none;color:#e8a2c1;font-size:16px;animation:citySubmitSparkle 1s ease-out forwards;filter:drop-shadow(0 0 5px rgba(255,220,238,.9));}
@keyframes citySubmitSparkle{0%{opacity:0;transform:translate(-50%,-50%) scale(.35) rotate(0deg)}18%{opacity:1}100%{opacity:0;transform:translate(calc(-50% + var(--dx)),calc(-50% + var(--dy))) scale(1.15) rotate(var(--rot));}}
@media(max-width:700px){
 .memory-screen.city-mode .city-choice-list{grid-template-columns:1fr;gap:6px;}
 .memory-screen.city-mode .city-choice-list .city-favorite-choice:nth-child(5){grid-column:auto;width:100%;}
}


/* City Date — restore the smooth Honey → Chai → Honey handoff from the working version. */
.memory-screen.city-mode.choice-open .you-slot{
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  transform:translateX(-120px) scale(.96)!important;
  transition:opacity .42s ease, transform .42s ease, visibility 0s linear .42s!important;
  z-index:1!important;
}
.memory-screen.city-mode.choice-open .chai-slot{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:none!important;
  transform:translateX(0) scale(1.05)!important;
  transition:opacity .45s ease, transform .55s cubic-bezier(.18,.9,.2,1)!important;
  z-index:10!important;
  width:54%!important;
  height:84%!important;
  right:-3%!important;
  bottom:12%!important;
}
.memory-screen.city-mode.choice-open .chai-slot .chai-character{
  object-fit:contain!important;
  object-position:center bottom!important;
  filter:drop-shadow(0 0 9px rgba(184,160,232,.55)) drop-shadow(0 12px 18px rgba(10,5,18,.35)) brightness(1.02)!important;
}
.memory-screen.city-mode.choice-closing .you-slot{
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  transform:translateX(-120px) scale(.96)!important;
  transition:opacity .3s ease, transform .3s ease, visibility 0s linear .3s!important;
}
.memory-screen.city-mode.choice-closing .chai-slot{
  opacity:0!important;
  visibility:hidden!important;
  transform:translateX(150px) scale(1.03)!important;
  transition:opacity .42s ease, transform .42s ease, visibility 0s linear .42s!important;
}
/* Requested small layout fixes: lower choices and slightly smaller Honey Expression 12. */
.memory-screen.city-mode .city-favorite-choices{
  margin-top:18px!important;
  transform:translateY(10px);
}
.memory-screen.city-mode .city-choice-wrap{
  transform:translateY(10px);
}
.memory-screen.city-mode .you-slot{
  width:40%!important;
  height:74%!important;
  bottom:14%!important;
}
@media(max-width:700px){
  .memory-screen.city-mode.choice-open .chai-slot{width:66%!important;height:78%!important;right:-7%!important;bottom:15%!important;transform:translateX(0) scale(1.02)!important;}
  .memory-screen.city-mode .city-favorite-choices{margin-top:14px!important;transform:translateY(7px);}
  .memory-screen.city-mode .city-choice-wrap{transform:translateY(7px);}
  .memory-screen.city-mode .you-slot{width:52%!important;height:70%!important;bottom:16%!important;left:-1%!important;}
}

/* V126 — make City favorite choices compact so Chai's jeans remain visible. */
.memory-screen.city-mode .city-choice-wrap{
  width:72%!important;
  transform:translateY(8px)!important;
}
.memory-screen.city-mode .city-choice-list{
  gap:5px 7px!important;
}
.memory-screen.city-mode .city-favorite-choice{
  min-height:30px!important;
  padding:4px 20px 4px 9px!important;
  border-radius:11px!important;
  font-size:clamp(9px,.82vw,11px)!important;
  line-height:1.05!important;
  box-shadow:0 3px 8px rgba(125,74,106,.09),inset 0 1px 0 rgba(255,255,255,.9)!important;
}
.memory-screen.city-mode .city-choice-heart{right:6px!important;font-size:12px!important;}
.memory-screen.city-mode .city-choice-star{left:-4px!important;top:-6px!important;font-size:9px!important;}
.memory-screen.city-mode .city-favorite-submit{
  margin-top:6px!important;
  min-width:92px!important;
  padding:6px 14px!important;
  font-size:9px!important;
}
.memory-screen.city-mode .city-submit-hint{
  font-size:9px!important;
  margin-bottom:4px!important;
}
@media(max-width:700px){
  .memory-screen.city-mode .city-choice-wrap{width:86%!important;transform:translateY(6px)!important;}
  .memory-screen.city-mode .city-favorite-choice{min-height:29px!important;padding:4px 18px 4px 8px!important;font-size:10px!important;}
  .memory-screen.city-mode .city-choice-list{gap:5px!important;}
  .memory-screen.city-mode .city-favorite-submit{min-width:90px!important;padding:5px 13px!important;font-size:9px!important;}
}

/* Cunningham Park — Honey Expression 21 entrance */
.memory-screen.cunningham-park-mode .you-slot.expression21-slide-in{
  animation:expression21SlideIn .72s cubic-bezier(.16,.9,.2,1) both !important;
}
@keyframes expression21SlideIn{
  from{opacity:0;transform:translateX(-220px)}
  to{opacity:1;transform:translateX(0)}
}

/* Cunningham Park Memory 04 — Honey Expression 20 */
.memory-screen.cunningham-park-mode .you-slot{
  width:45%;height:84%;bottom:12%;left:-1%;
  z-index:6;
}
.memory-screen.cunningham-park-mode .you-character{
  max-height:100%;object-fit:contain;object-position:center bottom;
}

/* Cunningham Park — Expression 21 smaller framing */
.memory-screen.cunningham-park-mode .you-slot:has(.you-character[src*="honey_expression21"]){
  width:36% !important;
  height:70% !important;
  bottom:13% !important;
  left:2% !important;
}


/* Cunningham Park — Chai Expression 20 + runaway "heck no" choice */
.memory-screen.cunningham-park-mode .chai-slot.protect-chai-slot{
  width:50%;height:80%;right:-1%;bottom:14%;z-index:7;
}
.memory-screen.cunningham-park-mode .chai-slot.protect-chai-slot .chai-character{
  object-fit:contain;object-position:center bottom;
}
.memory-screen.cunningham-park-mode .protect-choices{
  position:relative;z-index:40;overflow:visible;
}
.memory-screen.cunningham-park-mode .protect-choice-wrap{
  width:100%;display:flex;flex-direction:column;align-items:center;position:relative;overflow:visible;
}
.memory-screen.cunningham-park-mode .protect-choice-hint{
  font-size:9px;letter-spacing:.14em;color:#9a6c87;font-weight:900;margin:2px 0 5px;
}
.memory-screen.cunningham-park-mode .protect-choice-list{
  position:relative;width:min(100%,420px);display:flex;justify-content:center;align-items:center;gap:12px;min-height:54px;overflow:visible;
}
.memory-screen.cunningham-park-mode .protect-choice-list .choice{
  min-width:118px;position:relative;will-change:transform;
}
.memory-screen.cunningham-park-mode .protect-no.run-away{
  animation:protectNoRunAway .34s cubic-bezier(.18,.9,.25,1) both;
}
.memory-screen.cunningham-park-mode .protect-no-defeated{
  opacity:.55;filter:grayscale(.2);transform:scale(.86) rotate(-8deg)!important;
}
@keyframes protectNoRunAway{
  0%{transform:translate(0,0) rotate(0) scale(1)}
  38%{transform:translate(calc(var(--run-x)*.55),calc(var(--run-y)*.55)) rotate(calc(var(--run-r)*1.35)) scale(1.08)}
  100%{transform:translate(var(--run-x),var(--run-y)) rotate(var(--run-r)) scale(.94)}
}
@media(max-width:700px){
  .memory-screen.cunningham-park-mode .chai-slot.protect-chai-slot{width:54%!important;height:76%!important;right:-2%!important;bottom:15%!important;}
  .memory-screen.cunningham-park-mode .protect-choice-list{gap:7px;min-height:48px;}
  .memory-screen.cunningham-park-mode .protect-choice-list .choice{min-width:102px;font-size:11px;padding:7px 9px;}
}

/* Cunningham Park — Honey Expression 22: single cute entrance after Chai's answer */
.memory-screen.cunningham-park-mode .you-slot.expression22-slide-in{
  animation:expression22SlideIn .72s cubic-bezier(.16,.9,.2,1) both !important;
}
@keyframes expression22SlideIn{
  from{opacity:0;transform:translateX(-220px)}
  to{opacity:1;transform:translateX(0)}
}
.memory-screen.cunningham-park-mode .you-slot:has(.you-character[src*="honey_expression22"]){
  width:36% !important;
  height:70% !important;
  bottom:13% !important;
  left:2% !important;
}

/* Cunningham Park — match the soft light-pink character glow used in the other dates */
.memory-screen.cunningham-park-mode .you-slot:not(.speaking) .you-character{
  filter:drop-shadow(0 0 8px rgba(246,168,201,.30)) drop-shadow(0 12px 18px rgba(10,5,18,.35)) brightness(.72);
}
.memory-screen.cunningham-park-mode .you-slot.speaking .you-character{
  filter:drop-shadow(0 0 6px rgba(246,168,201,.62)) drop-shadow(0 0 14px rgba(246,168,201,.22)) drop-shadow(0 12px 18px rgba(10,5,18,.35)) brightness(1.04);
}


/* Little love envelope — archive keepsake */
.love-envelope{position:absolute;right:8vw;top:42%;width:190px;height:145px;border:0;background:transparent;padding:0;cursor:pointer;z-index:8;filter:drop-shadow(0 12px 12px rgba(197,105,145,.16));transition:transform .22s ease,filter .22s ease}
.love-envelope:hover{transform:translateY(-7px) rotate(-2deg);filter:drop-shadow(0 17px 16px rgba(197,105,145,.22))}
.love-envelope:active{transform:translateY(-2px) scale(.98)}
.envelope-shadow{position:absolute;left:22px;right:22px;bottom:16px;height:20px;border-radius:50%;background:rgba(170,91,127,.16);filter:blur(8px)}
.envelope-body{position:absolute;left:17px;right:17px;top:34px;bottom:20px;border:2px solid #e8a2bf;border-radius:10px;background:linear-gradient(145deg,#fffafd,#ffe9f2);box-shadow:inset 0 0 0 3px rgba(255,255,255,.65),0 7px 0 rgba(226,128,168,.08);overflow:hidden}
.envelope-body:before,.envelope-body:after{content:"";position:absolute;top:13px;width:112px;height:2px;background:#e9b0c7;opacity:.7}
.envelope-body:before{left:-13px;transform:rotate(31deg)}
.envelope-body:after{right:-13px;transform:rotate(-31deg)}
.envelope-flap{position:absolute;left:17px;right:17px;top:34px;height:72px;background:linear-gradient(180deg,#ffd9e8,#f7b5d0);border:2px solid #e8a2bf;clip-path:polygon(0 0,100% 0,50% 100%);border-radius:9px 9px 2px 2px;z-index:2;box-shadow:inset 0 3px 0 rgba(255,255,255,.55)}
.envelope-heart{position:absolute;z-index:4;left:50%;top:72px;transform:translateX(-50%);font-size:31px;color:#e77cab;text-shadow:0 1px #fff,0 0 8px rgba(255,255,255,.9);font-family:Georgia,serif}
.envelope-label{position:absolute;z-index:4;left:0;right:0;bottom:0;text-align:center;color:#a86b87;font-size:13px;font-weight:800;letter-spacing:.05em}
.envelope-sparkle{position:absolute;z-index:5;color:#f3b4cd;text-shadow:0 0 8px #fff;font-size:20px;animation:envelopeTwinkle 1.8s ease-in-out infinite}
.sparkle-one{left:0;top:27px}.sparkle-two{right:2px;top:8px;animation-delay:.45s}
@keyframes envelopeTwinkle{0%,100%{opacity:.45;transform:scale(.8) rotate(0)}50%{opacity:1;transform:scale(1.15) rotate(10deg)}}

.love-letter-modal{position:absolute;inset:0;z-index:30;display:none;align-items:center;justify-content:center}
.love-letter-modal.show{display:flex;animation:letterFadeIn .28s ease both}
.love-letter-backdrop{position:absolute;inset:0;background:rgba(92,57,77,.22);backdrop-filter:blur(4px)}
.love-letter-paper{position:relative;width:min(650px,72vw);min-height:390px;padding:78px 70px 58px;background:linear-gradient(135deg,#fffef8,#fffdf3);border:1px solid #eadfca;box-shadow:0 24px 55px rgba(75,48,62,.25),0 5px 0 rgba(184,145,111,.08);transform:rotate(-1.3deg);animation:paperDrop .62s cubic-bezier(.2,.9,.25,1.15) both;overflow:hidden}
.love-letter-paper:before{content:"";position:absolute;inset:13px;border:1px dashed rgba(183,148,116,.22);pointer-events:none}
.paper-lines{position:absolute;inset:88px 58px 50px;background:repeating-linear-gradient(to bottom,transparent 0 42px,rgba(150,171,190,.18) 43px 44px);pointer-events:none}
.handwritten-letter{position:relative;z-index:2;text-align:center;font-family:"Bradley Hand","Segoe Print","Comic Sans MS",cursive;font-size:clamp(29px,4vw,52px);font-weight:600;letter-spacing:.02em;color:#5e5a58;line-height:1.35;text-shadow:.35px .35px 0 #777;transform:rotate(-1deg);margin-top:45px}
.pencil-heart{position:relative;z-index:2;text-align:center;margin-top:34px;font-family:"Bradley Hand","Segoe Print",cursive;font-size:38px;color:#68625f;transform:rotate(8deg)}
.letter-signoff{position:absolute;right:66px;bottom:38px;font-family:"Bradley Hand","Segoe Print",cursive;font-size:19px;color:#716b68;transform:rotate(-3deg)}
.paper-corner-heart{position:absolute;right:31px;top:24px;font-family:Georgia,serif;font-size:28px;color:#d98aaa;transform:rotate(12deg);z-index:3}
.love-letter-close{position:absolute;right:20px;top:17px;width:38px;height:38px;border:0;border-radius:50%;background:#ffe4ef;color:#a66a84;font-size:25px;line-height:1;cursor:pointer;z-index:5;box-shadow:0 3px 0 rgba(203,113,155,.15)}
.love-letter-close:hover{background:#ffd4e5;transform:rotate(8deg)}
@keyframes paperDrop{0%{opacity:0;transform:translateY(-45vh) rotate(-12deg) scale(.78)}65%{opacity:1;transform:translateY(8px) rotate(2deg) scale(1.02)}100%{opacity:1;transform:translateY(0) rotate(-1.3deg) scale(1)}}
@keyframes letterFadeIn{from{opacity:0}to{opacity:1}}
@media(max-width:900px){.love-envelope{right:4vw;top:auto;bottom:13%;transform:scale(.82)}.love-envelope:hover{transform:scale(.86) translateY(-5px) rotate(-2deg)}.love-letter-paper{width:84vw;padding-left:38px;padding-right:38px}.paper-lines{left:30px;right:30px}.letter-signoff{right:38px}}


/* Cunningham Park — Expression 21: clean cutout + soft pink glow */
.memory-screen.cunningham-park-mode .you-slot:has(.you-character[src*="honey_expression21"]) .you-character{filter:drop-shadow(0 0 8px rgba(246,168,201,.62)) drop-shadow(0 0 18px rgba(246,168,201,.28)) drop-shadow(0 12px 18px rgba(10,5,18,.35)) !important;}

/* Cunningham Park cafe transition after Honey's "good answer!!" */
.memory-screen.cunningham-park-mode .memory-bg{
  transition: transform .35s ease-out, opacity .28s ease;
}

/* Cunningham Park — Expression 30 Mango Mango */
.memory-screen.cunningham-park-mode .you-slot.expression30-slide-in{
  animation:expression30SlideIn .72s cubic-bezier(.16,.9,.2,1) both !important;
}
@keyframes expression30SlideIn{
  from{opacity:0;transform:translateX(-220px)}
  to{opacity:1;transform:translateX(0)}
}
.memory-screen.cunningham-park-mode .you-slot:has(.you-character[src*="honey_expression30"]){
  width:40% !important;height:76% !important;bottom:12% !important;left:1% !important;z-index:6;
}
/* Mango Mango: Honey gently leaves as soon as the three YES choices appear. */
.memory-screen.cunningham-park-mode.mango-choice-open .you-slot.mango-choice-honey-hidden{
  opacity:0 !important;visibility:hidden !important;pointer-events:none !important;
  transform:translateX(-70px) !important;
  transition:opacity .72s ease,transform .72s cubic-bezier(.22,.72,.22,1),visibility 0s linear .72s !important;
}
/* Mango Mango: Honey clears out and Chai's mango-dessert sprite slides in for the three yes choices. */
.memory-screen.cunningham-park-mode.mango-choice-open .you-slot.mango-exit-honey{
  opacity:0 !important;visibility:hidden !important;pointer-events:none !important;
  transform:translateX(-90px) scale(.985) !important;
  transition:opacity .82s ease,transform .82s cubic-bezier(.22,.72,.22,1),visibility 0s linear .82s !important;
}
.memory-screen.cunningham-park-mode.mango-choice-open .chai-slot.mango-exit-chai{
  opacity:0 !important;visibility:hidden !important;pointer-events:none !important;
  transform:translateX(90px) scale(1.01) !important;
  transition:opacity .72s ease,transform .72s cubic-bezier(.22,.72,.22,1),visibility 0s linear .72s !important;
}
.memory-screen.cunningham-park-mode .chai-slot.mango-choice-chai{
  opacity:1 !important;visibility:visible !important;pointer-events:none !important;
  width:55% !important;height:84% !important;right:-1% !important;bottom:11% !important;z-index:10;
  animation:mangoChaiSlideIn .65s cubic-bezier(.16,.9,.2,1) both !important;
}
.memory-screen.cunningham-park-mode .chai-slot.mango-choice-chai .chai-character{
  width:100% !important;height:100% !important;object-fit:contain !important;object-position:center bottom !important;
  filter:drop-shadow(0 0 8px rgba(184,160,232,.5)) drop-shadow(0 12px 18px rgba(10,5,18,.35));
}
@keyframes mangoChaiSlideIn{from{opacity:0;transform:translateX(180px) scale(1.03)}to{opacity:1;transform:translateX(0) scale(1.03)}}
.memory-screen.cunningham-park-mode .mango-yes-choices{position:relative;z-index:40;}
.memory-screen.cunningham-park-mode .mango-yes-wrap{width:100%;display:flex;flex-direction:column;align-items:center;gap:6px;}
.memory-screen.cunningham-park-mode .mango-yes-hint{font-size:9px;letter-spacing:.14em;color:#9a6c87;font-weight:900;}
.memory-screen.cunningham-park-mode .mango-yes-list{width:min(100%,430px);display:flex;flex-direction:column;align-items:center;gap:7px;}
.memory-screen.cunningham-park-mode .mango-yes-choice{
  width:min(100%,390px);min-height:42px;display:flex;align-items:center;justify-content:center;gap:11px;
  border:1px solid rgba(245,182,207,.8);border-radius:16px;background:linear-gradient(180deg,rgba(255,246,251,.98),rgba(255,226,239,.98));
  box-shadow:0 0 0 2px rgba(255,255,255,.55) inset,0 5px 12px rgba(198,104,149,.12),0 0 18px rgba(246,168,201,.22);
  color:#76566a;font-weight:900;transition:transform .2s ease,box-shadow .2s ease;
}
.memory-screen.cunningham-park-mode .mango-yes-choice:hover{transform:translateY(-2px) scale(1.015);box-shadow:0 0 0 2px rgba(255,255,255,.6) inset,0 7px 16px rgba(198,104,149,.16),0 0 22px rgba(246,168,201,.34);}
.memory-screen.cunningham-park-mode .mango-check{
  width:23px;height:23px;border-radius:50%;display:grid;place-items:center;color:#fff;background:linear-gradient(145deg,#a8f5b4,#58d97a);
  border:2px solid #fff;box-shadow:0 0 9px rgba(93,227,125,.85),0 0 18px rgba(93,227,125,.42);font-size:15px;font-weight:1000;
}
.memory-screen.cunningham-park-mode .mango-yes-choice.picked{transform:scale(.98);box-shadow:0 0 0 2px rgba(255,255,255,.65) inset,0 0 25px rgba(93,227,125,.42);}
@media(max-width:700px){
 .memory-screen.cunningham-park-mode .you-slot:has(.you-character[src*="honey_expression30"]){width:48%!important;height:70%!important;left:-2%!important;bottom:15%!important;}
 .memory-screen.cunningham-park-mode .chai-slot.mango-choice-chai{width:56%!important;height:72%!important;right:-4%!important;bottom:16%!important;}
 .memory-screen.cunningham-park-mode .mango-yes-choice{min-height:36px;font-size:11px;width:min(100%,330px);}
}


/* V162: PS Vita museum keepsake — small on the final empty pedestal with a soft colorful glow. */
.psvita-pedestal{
  width:250px !important;
  height:104px !important;
  bottom:3% !important;
  overflow:visible !important;
  z-index:18 !important;
}
.psvita-exhibit{
  position:absolute;
  left:50%;
  top:-55px;
  width:190px;
  height:112px;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:4;
}
.psvita-exhibit img{
  position:relative;
  z-index:3;
  width:176px;
  height:auto;
  display:block;
  object-fit:contain;
  filter:drop-shadow(0 7px 8px rgba(55,37,70,.24));
  animation:psvitaFloat 3.8s ease-in-out infinite;
}
.psvita-glow{
  position:absolute;
  left:50%;
  top:50%;
  width:180px;
  height:78px;
  transform:translate(-50%,-50%);
  border-radius:50%;
  pointer-events:none;
  z-index:1;
  filter:blur(18px);
}
.psvita-glow-a{
  background:radial-gradient(ellipse,rgba(255,171,211,.72) 0%,rgba(194,158,255,.48) 35%,rgba(111,226,255,.25) 60%,transparent 78%);
  animation:psvitaGlowA 3.2s ease-in-out infinite;
}
.psvita-glow-b{
  width:145px;
  height:62px;
  background:radial-gradient(ellipse,rgba(255,236,125,.52) 0%,rgba(119,239,206,.34) 42%,rgba(174,126,255,.2) 66%,transparent 80%);
  filter:blur(15px);
  animation:psvitaGlowB 3.8s ease-in-out infinite reverse;
}
@keyframes psvitaFloat{
  0%,100%{transform:translateY(0) rotate(-1deg)}
  50%{transform:translateY(-4px) rotate(1deg)}
}
@keyframes psvitaGlowA{
  0%,100%{opacity:.72;transform:translate(-50%,-50%) scale(.96)}
  50%{opacity:1;transform:translate(-50%,-50%) scale(1.06)}
}
@keyframes psvitaGlowB{
  0%,100%{opacity:.55;transform:translate(-50%,-50%) scale(1)}
  50%{opacity:.9;transform:translate(-50%,-50%) scale(1.08)}
}
@media(max-width:900px){
  .psvita-pedestal{width:210px !important;height:92px !important;}
  .psvita-exhibit{top:-45px;width:165px;height:100px;}
  .psvita-exhibit img{width:152px;}
  .psvita-glow{width:160px;height:70px;}
  .psvita-glow-b{width:128px;height:56px;}
}
@media(max-width:700px){
  .psvita-pedestal{left:42% !important;width:165px !important;height:75px !important;transform:translateX(-50%) scale(.82) !important;transform-origin:center bottom !important;}
  .psvita-exhibit{top:-44px;width:160px;height:92px;}
  .psvita-exhibit img{width:145px;}
}

/* V163: keep the PS Vita fully visible above the pedestal while preserving the pedestal shape. */
.psvita-pedestal{
  clip-path:none !important;
  background:transparent !important;
  box-shadow:none !important;
}
.psvita-pedestal:before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,#d8c0dc,#b696bb);
  clip-path:polygon(8% 0,92% 0,100% 100%,0 100%);
  box-shadow:0 7px 0 rgba(91,65,99,.14);
  z-index:0;
  pointer-events:none;
}
.psvita-exhibit{z-index:4 !important;}
.psvita-exhibit img{width:190px !important;}

/* Kawaii moth released from the love envelope */
.museum-moth-flight{position:fixed;left:0;top:0;width:128px;height:auto;max-width:none;object-fit:contain;pointer-events:none;z-index:9999;opacity:0;visibility:hidden;transform:translate(-50%,-50%) scale(.48) rotate(-4deg);filter:drop-shadow(0 5px 10px rgba(116,67,100,.20));}
.museum-moth-flight.moth-flying{visibility:visible;animation:museumMothFly 2.45s cubic-bezier(.22,.72,.22,1) forwards;}
@keyframes museumMothFly{
  0%{opacity:0;transform:translate(-50%,-50%) scale(.28) rotate(-8deg)}
  10%{opacity:1;transform:translate(-50%,-50%) scale(.54) rotate(5deg)}
  28%{opacity:1;transform:translate(calc(-50% + 18px),calc(-50% - 48px)) scale(.60) rotate(-7deg)}
  46%{opacity:1;transform:translate(calc(-50% - 10px),calc(-50% - 102px)) scale(.58) rotate(8deg)}
  64%{opacity:1;transform:translate(calc(-50% + 34px),calc(-50% - 154px)) scale(.54) rotate(-5deg)}
  82%{opacity:.82;transform:translate(calc(-50% - 2px),calc(-50% - 205px)) scale(.48) rotate(7deg)}
  100%{opacity:0;transform:translate(calc(-50% + 42px),calc(-50% - 258px)) scale(.36) rotate(-4deg)}
}


/* V180 performance tuning: code/CSS only. All original PNG assets and character mappings preserved. */
.character-slot, .you-slot, .chai-slot, .rank-pop, .click-marker, .click-flash, .museum-moth-flight {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.memory-screen .you-slot, .memory-screen .chai-slot, .memory-screen .memory-character {
  will-change: transform, opacity;
}
.rank-pop.show, .click-marker.show, .click-flash.hit, .museum-moth-flight.moth-flying {
  will-change: transform, opacity;
}
@media (prefers-reduced-motion: no-preference) {
  .character-slot img, .you-slot img, .chai-slot img {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
}
