.hero{min-height:85svh}.hero-center{padding:35px 18px 60px}.hero .intro-line{max-width:360px}.intro-line strong{font:700 25px 'Playfair Display',serif;letter-spacing:2px}.persistent{grid-template-columns:repeat(3,minmax(0,1fr))}.persistent .tile{padding:12px;cursor:pointer}.persistent .tile h3{font-size:17px}.persistent .tile p{font-size:12px}.persistent .tile img{height:120px}.persistent .tile.full{grid-column:auto}.scene-banner{height:clamp(300px,65vw,480px)}.doors{gap:7px}.door{min-height:105px}.door small{font-size:10px}.game-photo{width:100%;max-height:380px;object-fit:cover;border-radius:14px;margin:12px 0}.visual-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.visual-choice{padding:7px;background:#18344a;border:2px solid #b7976388;color:#f7e7ce;border-radius:15px;text-align:center;min-height:100px}.visual-choice img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:9px;display:block}.visual-choice strong{display:block;padding:8px 3px;font-size:13px}.visual-choice.selected{border-color:#ffe5a2;background:#4c4a3c}.step-tag{font-size:11px;letter-spacing:1.5px;text-transform:uppercase;color:#f6d39a}.visual-treasure{position:relative;border:2px solid #f0d196;background:#1b3042;border-radius:16px;overflow:hidden;min-height:125px;color:#fff}.visual-treasure img{width:100%;height:150px;object-fit:cover}.visual-treasure.found{opacity:.55}.visual-treasure span{display:block;padding:6px}.scene-photo{position:relative}.hotspot{position:absolute;display:block;width:25%;height:28%;border:2px solid #ffdd9d;background:#e6c78650;border-radius:50%;box-shadow:0 0 25px #e6c786aa;animation:pulse 2s infinite}.hotspot:nth-of-type(1){top:20%;left:13%}.hotspot:nth-of-type(2){top:36%;left:61%}.hotspot:nth-of-type(3){top:64%;left:37%}@keyframes pulse{50%{box-shadow:0 0 36px #ffe9b9;transform:scale(1.05)}}.scene-photo img{width:100%;border-radius:16px}.postcard-preview{position:relative;min-height:300px;display:flex;flex-direction:column;justify-content:space-between;align-items:center;text-align:center;padding:35px 18px;background-size:cover;background-position:center;border:8px double #f6d9a2;color:#fff;text-shadow:0 2px 8px #000,0 0 25px #000}.postcard-preview .cardtext{font:600 23px/1.35 'Playfair Display',serif;max-width:420px}.postcard-preview .signature{font:17px 'Playfair Display',serif}.postcard-preview:before{content:'';position:absolute;inset:0;background:#07182a45;pointer-events:none}.postcard-preview>*{position:relative}.choice-row{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.choice-row button{flex:1}.scratch{position:relative;min-height:145px;border:3px solid #ddbd7c;border-radius:14px;overflow:hidden;background:#f6e8c9;color:#20354b;text-align:center;display:flex;align-items:center;justify-content:center;padding:18px}.scratch canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none}.scratch-text{font:600 18px/1.4 'Playfair Display',serif}.memory-photo{width:100%;height:auto;max-height:460px;object-fit:cover;border-radius:15px}.ornament-display{width:min(270px,100%);height:260px;margin:16px auto;display:flex;align-items:center;justify-content:center;background:url('ornament.webp') center/cover;border-radius:18px}.ornament-ball{width:140px;height:140px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:6px solid #f2d59d;box-shadow:inset -20px -15px 30px #0005,0 8px 35px #000a;color:#fff;font:700 22px Georgia;text-shadow:0 2px 6px #000}.ornament-ball.starshape{clip-path:polygon(50% 0%,62% 34%,98% 35%,70% 57%,80% 93%,50% 73%,20% 93%,30% 57%,2% 35%,38% 34%);border-radius:0;width:190px;height:190px}.cert-show{background:linear-gradient(150deg,#091c36,#183c55);border:11px double #d7b87c;box-shadow:inset 0 0 0 6px #14263c,0 20px 40px #0007;text-align:center;padding:55px 18px;color:#f7e4b9;font-family:Georgia,serif}.cert-show h2{font:500 38px/1.1 Georgia,serif;color:#fff1cf}.cert-show .cert-line{border-top:1px solid #e0bf7e;margin:20px auto;max-width:230px}.cert-show .cert-count{font-size:23px}.chapter-done{margin:15px 0;padding:18px;border:1px solid #e6c78a;border-radius:15px;background:#3b3c39}.round-video{object-position:center}.modal-bar{position:sticky;top:0;z-index:5;background:#081728ee;padding:8px;border-radius:12px}.translation-note{color:#f0d09a;font-size:12px}.hero-translation{max-width:490px;margin:10px auto;text-align:left}.audio-play{font-size:18px;padding:18px 22px}.timer-number{font:700 46px Georgia;color:#ffe2a0;text-align:center}.photo-choices{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.photo-choices button{padding:6px}.photo-choices img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:9px}.panel .actions{margin-bottom:15px}.option{overflow-wrap:anywhere}input,textarea,select{width:100%;padding:13px;background:#eae5db;color:#10263c;border:1px solid #d3b377;border-radius:10px;margin:5px 0 14px}label{display:block;margin-top:12px}.reveal-scene{min-height:290px;background:url('finaltree.webp') center/cover;border-radius:15px;position:relative;overflow:hidden}.reveal-scene.lit{filter:brightness(1.4) saturate(1.25)}.reveal-scene .magic-star{position:absolute;left:46%;top:6%;font-size:58px;color:#ffe7a2;text-shadow:0 0 30px #ffdf76;animation:pulse 1.3s infinite}.btn{max-width:100%}@media(max-width:480px){.persistent{gap:6px}.persistent .tile{padding:8px}.persistent .tile h3{font-size:12px}.persistent .tile .eyebrow{font-size:8px;letter-spacing:.5px}.persistent .tile img{height:72px}.persistent .tile p{display:none}.persistent .tile .btn{font-size:10px;padding:7px}.doors{gap:4px;padding:9px}.door{min-height:110px;padding:7px 2px}.door small{font-size:8px}.scene-banner{height:310px}.visual-grid{gap:8px}.visual-treasure img{height:110px}.postcard-preview{min-height:260px}.cert-show h2{font-size:29px}}
.wishroom{text-align:center;background:radial-gradient(ellipse at center,#24476b,#091a35 75%);padding:clamp(12px,4vw,35px);border-radius:20px;color:#fff4df}.wishroom h2{font-family:Georgia,serif;color:#fff4df}.wishdeck{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(8px,3vw,25px);padding:35px 4px;perspective:900px}.wishdeck[hidden]{display:none}.wishcard{position:relative;aspect-ratio: .62;background:radial-gradient(ellipse,#385775,#10213c 80%);border:3px double #f4d59a;border-radius:12px;box-shadow:0 0 15px #e7bd6355,inset 0 0 0 5px #12243e;color:#f8dfaa;display:flex;align-items:center;justify-content:center;touch-action:pan-x;transition:transform .3s;cursor:pointer}.wishcard:first-child{transform:rotate(-8deg)}.wishcard:last-child{transform:rotate(6deg)}.wishcard span{font-size:clamp(36px,10vw,100px);text-shadow:0 0 20px #ffdf95}.wishcard small{position:absolute;bottom:9%;font-family:Georgia}.wishcard.turning{animation:magicflip .65s forwards}.wishnote{font:italic 1.1rem Georgia;color:#f2d49d}.wishreveal{animation:magicappear .7s both;border:1px solid #e8cb94;border-radius:16px;padding:20px;background:radial-gradient(ellipse at top,#b9915b44,transparent)}@keyframes magicflip{50%{transform:translateY(-25px) rotateY(90deg) scale(1.12);filter:brightness(2)}100%{transform:rotateY(180deg);opacity:0}}@keyframes magicappear{from{opacity:0;transform:scale(.85);filter:brightness(2)}to{opacity:1;transform:scale(1)}}.livepostcard{aspect-ratio:1.6;background-size:cover;background-position:center;display:flex;flex-direction:column;justify-content:space-between;text-align:center;padding:5%;border:3px double #f5d7a0;border-radius:8px;color:#fff4dd;text-shadow:0 2px 5px #000;font:clamp(12px,3vw,23px) Georgia;overflow-wrap:anywhere}.livepostcard strong{font-size:clamp(16px,4vw,32px);line-height:1.2}.scenechoices{display:grid;grid-template-columns:1fr 1fr;gap:8px}.postcardcontrols{margin-top:14px}.postcardcontrols .option{width:100%;margin-bottom:6px}.wishoption small{display:block;font-size:.8em;opacity:.8;margin-top:4px}.postcardcontrols .picked{border:2px solid #eacb8c;background:#b38a4438}.treasure-pop{animation:treasurepop .65s both}.visual-treasure img{min-height:100px;object-fit:cover}@keyframes treasurepop{35%{transform:scale(1.12);filter:brightness(1.8);box-shadow:0 0 35px #ffd98a}100%{transform:scale(.97);filter:brightness(1)}}
.livepostcard.decor-none{border-color:transparent}.livepostcard.decor-snow,.livepostcard.decor-pine{position:relative}.livepostcard.decor-snow:after,.livepostcard.decor-pine:after{content:'❄  ❄  ❄  ❄  ❄';position:absolute;inset:3px 0 auto;text-align:center;color:white;pointer-events:none;font-size:12px}.livepostcard.decor-pine:after{content:'❧  ❧  ❧  ❧  ❧';color:#b4d3a5}.wishtranslation{font-size:13px;margin:0 0 9px;color:#e8d3ab}.wishtranslation summary{cursor:pointer;text-decoration:underline}.livepostcard{animation:cardAppear .45s ease-out}@keyframes cardAppear{from{opacity:.65}to{opacity:1}}

.featured-scenes > button:first-child {grid-column:auto;width:100%;border:1px solid #eacb8c;color:#f8dfaa;font-weight:700;box-shadow:0 0 12px #eacb8c33;}

.featured-scenes{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row}.featured-scenes .option{min-height:48px;font-size:clamp(12px,3.5vw,15px);padding:8px;overflow-wrap:normal}.postcardcontrols .scenechoices:not(.featured-scenes){grid-template-columns:repeat(2,minmax(0,1fr))}
.matchgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.matchgrid>div{display:flex;flex-direction:column;gap:8px}.matchgrid .option{width:100%;min-height:54px;white-space:normal;touch-action:manipulation}.matchgrid .option:disabled{opacity:.35;text-decoration:line-through}.wordbank{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px}.wordbank .feedback{margin:0}.matchgrid .selected{outline:2px solid #eac477} [draggable=true]{cursor:grab}
.star-instruction{font-size:.88rem;color:#d8b66d;margin:4px 0 16px}.hunt-scene{position:relative;max-width:850px;margin:18px auto;overflow:hidden;border-radius:18px}.hunt-scene>img{width:100%;display:block}.hunt-hit{position:absolute;background:transparent;border:0;cursor:pointer;border-radius:22px;touch-action:manipulation}.hunt-key{left:5.8%;top:41.25%;width:27.5%;height:41.25%}.hunt-letter{left:37.1%;top:49.4%;width:29.6%;height:44.4%}.hunt-star{left:68.75%;top:9.4%;width:26.7%;height:40%}.hunt-hit.found{background:#d8b66d33;box-shadow:inset 0 0 0 3px #ffe3a0,0 0 22px #ffe3a0}.hunt-hit span{color:white;font-size:2rem;text-shadow:0 1px 5px black}.hunt-bag{text-align:center;padding:12px;color:#e9c87f}.stage-translation{margin-bottom:10px}
.room-scene,.cinema-door{position:relative;overflow:hidden;border-radius:14px}.room-scene>img,.cinema-door>img{width:100%;display:block}.room-hot{position:absolute;transform:translate(-50%,-50%);border:2px solid #ffe1a0;background:#132c40b8;color:#fff;border-radius:50%;width:clamp(25px,5vw,43px);height:clamp(25px,5vw,43px);font-weight:bold;cursor:pointer;box-shadow:0 0 12px #ffe2a0}.room-hot.found{background:#37674d}.room-reveal{display:flex;gap:15px;align-items:center;margin:14px 0}.room-reveal img{width:95px;height:95px;object-fit:cover;border-radius:10px}.pair-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:14px 0}.pair-card{aspect-ratio:1/1.2;border:1px solid #caa56b;border-radius:10px;background:linear-gradient(135deg,#10283f,#233d55);color:#f6d18c;font-size:clamp(12px,2.5vw,20px);overflow:hidden;padding:4px;cursor:pointer;transition:transform .2s}.pair-card.open{background:#f7edda;color:#15283b;animation:pairflip .25s}.pair-card img{width:100%;height:100%;object-fit:cover;border-radius:6px}.pair-card.matched{border:2px solid #6fae80;opacity:.75}.cinema-key{position:absolute;bottom:10%;left:50%;transform:translateX(-50%);background:#11283f;color:#ffe0a0;border:1px solid #caa56b;border-radius:12px;padding:8px;cursor:pointer}.cinema-key img{display:block;width:75px;border-radius:8px}@keyframes pairflip{from{transform:rotateY(80deg)}to{transform:rotateY(0)}}
.author-block{display:flex;gap:14px;align-items:center;text-align:left;background:#10273d;color:#fff4df;border:1px solid #b89a61;border-radius:12px;padding:14px;margin:20px auto;max-width:680px;font-size:14px;line-height:1.45}.author-photo{width:90px;height:110px;object-fit:cover;object-position:center 25%;border-radius:8px}.author-qr{width:72px;height:72px;object-fit:contain;background:white}.author-block a,.author-label a{color:#f5d69c}.author-label{text-align:center;font-size:12px;margin:22px 0 5px;color:#cbb78e}.video-slot{padding:24px;border:1px dashed #b89a61;border-radius:10px}#activity .btn{white-space:normal;margin:5px}#activity details{padding:12px;border-bottom:1px solid #b89a6155}@media(max-width:520px){.author-block{flex-wrap:wrap}.author-photo{width:65px;height:80px}.author-block>div{flex:1;min-width:170px}.author-qr{width:64px;height:64px}}
