.original .secret-entry{position:absolute;right:3%;top:12%;width:17%;z-index:13;padding:0;border:0;background:none;box-shadow:none;animation:secretSwing 3.8s ease-in-out infinite;transform-origin:50% 0;filter:drop-shadow(0 0 7px #ffcf56);cursor:pointer}.secret-entry img{display:block;width:100%;height:auto}.secret-entry:after{content:'✦';position:absolute;right:5%;top:20%;color:#fff5ba;font-size:20px;animation:secretTwinkle 1.6s infinite}.secret-entry:focus-visible{outline:2px solid gold}.secret-page{width:100%;max-width:520px;min-height:100dvh;padding:12px 16px 24px;box-sizing:border-box;background:radial-gradient(ellipse at 50% 26%,#63317b,#2a103e 55%,#17091f);color:#ffe2a0;text-align:center;position:relative;isolation:isolate}.secret-page:before{content:'';position:absolute;inset:0;z-index:-1;background:url('../damask.png') center/300px;opacity:.22;pointer-events:none}.secret-page .sub-ribbon{background:linear-gradient(90deg,#39214f,#683675,#39214f)!important;color:#ffe4a8!important}.secret-page .secret-hero{width:clamp(80px,19dvh,145px);display:block;margin:0 auto;filter:drop-shadow(0 0 15px #f6c45c88);animation:secretSwing 4s infinite ease-in-out;transform-origin:50% 0}.secret-sub{font-size:14px;line-height:1.6;margin:6px 0 18px;color:#e6c9ec}.secret-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.secret-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;padding:5px 5px 12px;border:1px solid #f6d187;border-radius:16px;background:linear-gradient(150deg,#553065,#260e3b);box-shadow:inset 0 0 10px #ffcd642b,0 0 9px #eac16a25;color:#ffe4a8;font:inherit;cursor:pointer}.secret-tile img{width:100%;aspect-ratio:1.85;object-fit:cover;border-radius:11px}.secret-tile strong{font-size:clamp(12px,3.8vw,19px);margin-top:7px}.secret-tile small{font-size:11px;color:#d8b9e6;margin-top:4px}.secret-page button:not(.secret-tile):not(.sub-nav button):not(.secret-choice){border:1px solid #e6b968;background:#553065;color:#ffe4a8;border-radius:20px;padding:10px 18px;font:inherit}.secret-choice-row{display:flex;gap:8px;justify-content:center;margin:20px 0}.secret-choice{width:28%;padding:0;border:0;background:none;box-shadow:0 0 12px #e9b95766;border-radius:10px;cursor:pointer}.secret-choice img{width:100%;display:block;border-radius:9px}.secret-reading{display:grid;gap:10px;text-align:left}.secret-reading article{background:#fff0cc;color:#422047;border-radius:13px;padding:12px;line-height:1.65;display:flex;gap:12px;align-items:start}.secret-reading img{width:64px;border-radius:5px;flex:none}.secret-reading p{margin:6px 0;font-size:14px}.secret-result{background:#fff0cc;color:#422047;border-radius:16px;padding:20px;line-height:1.7;box-shadow:0 0 28px #ffd78577;margin:14px 0;animation:secretBounce .45s both}.secret-action{display:block;margin:16px auto;width:min(85%,320px);cursor:pointer}.secret-action img{width:100%;border-radius:14px;display:block}.secret-action.working{animation:secretBounce .4s both;filter:brightness(1.5)}.secret-note{font-size:12px;color:#dfc7e7;margin:14px 0;line-height:1.6}.secret-ad{margin:16px auto 0;font-size:11px;color:#ddc3df}.secret-ad iframe{border:0;display:block;margin:8px auto}.secret-page .sub-nav button{background:#3c1c53}.secret-page h1{margin:0}.secret-page :focus-visible{outline:2px solid #fff3bb;outline-offset:3px}@keyframes secretSwing{0%,100%{transform:rotate(-4deg)}50%{transform:rotate(4deg)}}@keyframes secretTwinkle{0%,100%{opacity:.25;transform:scale(.7)}50%{opacity:1;transform:scale(1.3)}}@keyframes secretBounce{0%{transform:scale(.75);opacity:.3}65%{transform:scale(1.04)}100%{transform:scale(1);opacity:1}}@media(prefers-reduced-motion:reduce){.secret-page *, .secret-entry,.secret-entry:after{animation:none!important}}
.original .secret-entry{width:32%;right:1%;top:10.5%;z-index:13;filter:drop-shadow(0 0 7px #ffcf56) drop-shadow(0 0 13px #fbb84a88)}
#scene:has(>.secret-page){padding:0!important;justify-content:flex-start!important;align-items:center}
.secret-page{background:radial-gradient(ellipse at 50% 26%,#8b2638,#500e1d 60%,#310710);padding-top:12px;min-height:100dvh}
.secret-page .sub-ribbon{background:linear-gradient(90deg,#641323,#922c3c,#641323)!important}.secret-page .secret-tile{background:linear-gradient(150deg,#812235,#490b1b)}
.secret-page .secret-sub,.secret-page .secret-tile small,.secret-page .secret-note,.secret-page .secret-ad{color:#ebc99f}.secret-page button:not(.secret-tile):not(.sub-nav button):not(.secret-choice){background:#741a2a}.secret-page .sub-nav button{background:#601321}.secret-page .secret-result{color:#641522}
.secret-heart-select{padding-top:clamp(30px,13dvh,110px)}.secret-choice-row{gap:7px;margin:26px 0}.secret-choice{width:23%;flex:0 1 23%}
.secret-focus-card{position:relative;isolation:isolate;width:min(51vw,210px,33dvh);margin:10px auto 6px;filter:drop-shadow(0 0 18px #f9b35577)}.secret-focus-card img{position:relative;z-index:1;display:block;width:100%;aspect-ratio:2/3;object-fit:contain;border-radius:9px;animation:secretBounce .36s both}.secret-focus-card .result-dust{z-index:0;pointer-events:none}.secret-heart-text{padding:12px 15px;margin:10px 0;line-height:1.65;text-align:left}.secret-heart-text p{margin:5px 0 0}
.secret-page:has(.secret-orb-stage){display:flex;flex-direction:column;align-items:center;gap:6px}.secret-page:has(.secret-orb-stage) .sub-header{width:100%}.secret-orb-stage{position:relative;width:100%;margin:clamp(20px,10dvh,80px) auto 0;display:grid;place-items:center;min-height:clamp(170px,38dvh,310px)}
.secret-page button.secret-orb-action{position:relative;display:block;width:min(90%,340px,54dvh);aspect-ratio:1.3;border:0!important;background:none!important;padding:0!important;overflow:visible;isolation:isolate;cursor:pointer}.secret-orb-action img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:50%;mask-image:radial-gradient(ellipse at center,#000 40%,transparent 73%);-webkit-mask-image:radial-gradient(ellipse at center,#000 40%,transparent 73%);animation:orbFloat 3s ease-in-out infinite;z-index:1}
.orb-beam{position:absolute;inset:-40% 12% 15%;background:conic-gradient(from 160deg at 50% 0%,transparent,#ffda8760,transparent 40deg);filter:blur(15px);z-index:0}.orb-orbit{position:absolute;inset:20% 1% 8%;border:1px solid #ffd186;box-shadow:0 0 18px #ffc06788;transform:rotate(-12deg);border-radius:50%;z-index:0}.orb-stars{position:absolute;inset:15% 12%;pointer-events:none;z-index:0}.orb-flash{position:absolute;inset:0;border-radius:50%;background:radial-gradient(circle,#fff9c7,transparent 65%);opacity:0;z-index:2;pointer-events:none}.working .orb-flash{animation:orbFlash .39s both}.working img{animation:orbOpen .39s both}.secret-orb-action[hidden],#secret-answer[hidden]{display:none!important}
#secret-answer{width:100%}.orb-opened .secret-orb-stage{min-height:0;margin:clamp(22px,7dvh,65px) auto 0}.orb-opened .orb-instruction{display:none}.orb-paper{position:relative;isolation:isolate;margin:0 0 15px;box-shadow:0 0 18px 3px #ffd47a99,0 0 42px 9px #ffb34c55;animation:secretBounce .4s both,cookiePaperGlow 3s .4s infinite}.orb-paper:before{content:'';position:absolute;inset:0;background:linear-gradient(140deg,#fff0cc,#f1d39e);border-radius:inherit;z-index:-1}.orb-paper-stars{position:absolute;inset:0;z-index:-2;pointer-events:none}.orb-paper h2{font-size:32px;margin:4px 0}.orb-paper p{margin:5px 0}.orb-instruction{margin:15px 0 0}.secret-page #orb-footer{width:100%}
@keyframes orbFloat{50%{transform:translateY(-5px)}}@keyframes orbFlash{0%{opacity:0}45%{opacity:1}100%{opacity:0}}@keyframes orbOpen{0%{transform:scale(1)}50%{transform:scale(1.1);filter:brightness(1.7)}100%{transform:scale(.8);opacity:0}}

/* Secret cookie shares the orb layout, but uses the established split-cookie animation. */
.secret-page .secret-cookie-action .magic-cookie-art{position:absolute;inset:0;width:100%;height:100%}.secret-page .secret-cookie-action img.cookie-piece{position:absolute;inset:auto;top:18%;width:51%;height:65%;object-fit:contain;border-radius:0;mask-image:none;-webkit-mask-image:none;animation:none;z-index:2}.secret-page .secret-cookie-action img.cookie-left{left:4%;transform-origin:90% 87%;transform:translateX(10%) rotate(30deg)}.secret-page .secret-cookie-action img.cookie-right{right:4%;transform-origin:10% 87%;transform:translateX(-10%) rotate(-30deg)}.secret-page .secret-cookie-action.open img.cookie-left{transform:translate(-38%,12%) rotate(-24deg);opacity:.55}.secret-page .secret-cookie-action.open img.cookie-right{transform:translate(38%,12%) rotate(24deg);opacity:.55}.secret-cookie-action.open .cookie-flash{animation:cookieFlash .39s both}.secret-cookie-action.open .cookie-burst{animation:cookieBurst .39s both}.secret-cookie-lucky p{margin:4px 0 10px;line-height:1.5;font-size:14px}.secret-cookie-lucky strong{font-size:22px}.secret-page:has(.secret-cookie-stage).orb-opened .secret-orb-stage{margin-top:clamp(12px,4dvh,32px)}.secret-page:has(.secret-cookie-stage) .secret-ad{margin-top:10px}.secret-page:has(.secret-cookie-stage) .secret-ad p{margin:5px 0}.secret-page:has(.secret-cookie-stage) .orb-paper{margin-bottom:8px}

/* Velvet secret edition, scoped to NFC-only pages. */
#scene:has(>.secret-page){background:#290715!important}
#scene .secret-page{--secret-gold:#f9cf83;min-height:100dvh;padding:13px 17px 24px;background:radial-gradient(ellipse at 50% 33%,#7d233b70,transparent 65%),linear-gradient(155deg,#350b20bb,#2a0715bb),url('velvet.webp') center/cover!important;isolation:isolate;overflow:hidden;color:#ffe0a4}
#scene .secret-page:before{inset:0;background:url('../damask.png') center/245px repeat;opacity:.25;mix-blend-mode:multiply;z-index:-1}
.secret-page:after{content:'';position:absolute;inset:5px;border:1px solid #cda35c70;border-radius:12px;pointer-events:none;z-index:4;box-shadow:inset 0 0 18px #0c000c55}
#scene .secret-page .sub-header{gap:13px!important;margin-bottom:12px!important}
#scene .secret-page .sub-nav button{background:linear-gradient(#64162b,#38091b);border-color:#d9a95f;color:#ffe0a4;box-shadow:inset 0 0 8px #f0ac4b20}
#scene .secret-page .sub-ribbon{background:linear-gradient(100deg,#37091b,#78172f,#37091b)!important;border:1px solid #f5c67c;box-shadow:0 0 12px #ffae4b45,inset 0 0 12px #ffab4d26;color:#ffe4ab!important;position:relative}
#scene .secret-page .sub-ribbon:before,#scene .secret-page .sub-ribbon:after{border-color:#f3c66f;filter:drop-shadow(0 0 3px #ffd78e)}
#scene .secret-landing .secret-hero{width:clamp(90px,21dvh,155px);margin:6px auto;filter:drop-shadow(0 0 15px #ffc347aa)}
#scene .secret-landing .secret-sub{margin:8px 0 17px;font-size:clamp(12px,3.8vw,16px);color:#f4d5a3}
#scene .secret-grid{gap:12px}
#scene .secret-page .secret-tile{border:1px solid #f3c77c;background:linear-gradient(145deg,#67132d,#35091d);padding:5px 5px 10px;box-shadow:0 0 9px #f8af4d42,inset 0 0 0 2px #dca85838,inset 0 0 18px #ffb34d18;border-radius:15px;position:relative}
#scene .secret-tile:after{content:'✦';color:#ffda90;font-size:11px;position:absolute;bottom:0;left:50%;transform:translate(-50%,50%);text-shadow:0 0 8px gold}
#scene .secret-tile img{border-radius:10px;aspect-ratio:1.95;object-fit:cover}
#scene .secret-tile strong{color:#ffdea0;font-size:clamp(12px,3.7vw,18px);margin-top:6px}
#scene .secret-tile small{color:#e5bb99;margin-top:3px}
#scene .secret-heart-select{position:relative;padding:clamp(36px,9dvh,80px) 0 0;isolation:isolate}
#scene .secret-heart-select .secret-sub{font-size:clamp(15px,4.1vw,19px);line-height:1.75;word-break:keep-all;max-width:90%;margin:0 auto 25px;color:#ffe0a4}
#scene .secret-choice-row{position:relative;margin:30px 0 0;gap:8px;z-index:2;perspective:700px}
#scene .secret-choice{border:1px solid #ffcf85;box-shadow:0 0 12px #ffbd5e77,0 8px 10px #15000d80;transition:transform .18s,filter .18s;animation:secretCardFloat 3.8s ease-in-out infinite;cursor:pointer}
#scene .secret-choice:nth-child(2){animation-delay:-.9s}#scene .secret-choice:nth-child(3){animation-delay:-1.8s}#scene .secret-choice:nth-child(4){animation-delay:-2.7s}
#scene .secret-choice.secret-picked{animation:none;transform:translateY(-14px) scale(1.07);filter:brightness(1.5)}
@keyframes secretCardFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
.secret-table-sigil{width:96%;height:clamp(55px,12dvh,100px);border:1px solid #e8b36b88;border-radius:50%;margin:-9px auto 0;position:relative;background:radial-gradient(ellipse,#b75b3425,transparent 70%);box-shadow:0 0 19px #f5ae4d22,inset 0 0 15px #ecad4b25;color:#e6b365;display:grid;place-items:center}
.secret-table-sigil:before,.secret-table-sigil:after{content:'';position:absolute;inset:8px 12%;border:1px solid #d29c5d66;border-radius:50%}.secret-table-sigil:after{inset:16px 28%}.secret-table-sigil span{font-size:28px;text-shadow:0 0 13px #ffc660}
.secret-reveal{background:radial-gradient(ellipse,#76253c,#290718 75%)}
#scene .secret-focus-card{width:min(53vw,224px,34dvh);filter:drop-shadow(0 0 18px #ffbd6f99)}
#scene .secret-heart-text{background:linear-gradient(145deg,#fff4d7,#f1d4a1);border:1px solid #ffdc96;box-shadow:0 0 17px #ffbd5c77,inset 0 0 0 3px #d7a45f44;border-radius:16px;padding:15px 17px;line-height:1.7;font-size:clamp(14px,4vw,18px)}
#scene .secret-heart-text p{margin:0}#scene .secret-note{font-size:11px;margin:10px 0}#scene .secret-ad{margin-top:10px}
#scene .secret-page button:not(.secret-tile):not(.sub-nav button):not(.secret-choice):not(.secret-orb-action){background:linear-gradient(#73182d,#410a1e);border-color:#e3b36b;box-shadow:0 0 9px #efaa4828;color:#ffe0a4}
@media(max-height:600px){#scene .secret-landing .secret-hero{width:95px}#scene .secret-grid{gap:8px}#scene .secret-landing .secret-sub{margin:3px 0 10px}#scene .secret-tile img{aspect-ratio:2.2}#scene .secret-heart-select{padding-top:25px}}
@media(prefers-reduced-motion:reduce){#scene .secret-choice{animation:none!important}}

.extra-entry .secret-gate b svg{width:1.1em;height:1.1em;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.extra-entry .secret-gate.locked{background:#350a18ed;color:#d9b888;border-color:#bd955e}.extra-entry .secret-gate.unlocked{color:#fff0b5;border-color:#ffdc85;box-shadow:0 4px 10px #230610a0,0 0 12px #ffcc6b88,inset 0 0 12px #d49a4b44;animation:gateGlow 2.8s ease-in-out infinite}@keyframes gateGlow{50%{box-shadow:0 4px 10px #230610a0,0 0 20px #ffca73bb,inset 0 0 15px #d49a4b66}}#secret-lock-dialog{box-sizing:border-box;position:fixed;margin:auto;width:min(90vw,420px);max-height:90dvh;overflow:auto;padding:26px 20px 22px;border:1px solid #eac27e;border-radius:24px;color:#f8d9a0;background:radial-gradient(ellipse at top,#7a2435,#350916 80%);box-shadow:0 0 0 3px #410b18,0 0 0 4px #b98e55,0 0 32px #eab45c44;text-align:center;font-family:inherit}#secret-lock-dialog::backdrop{background:#19030dbb;backdrop-filter:blur(4px)}#secret-lock-dialog h2{font-size:22px;margin:6px 0 14px}#secret-lock-dialog p{font-size:14px;line-height:1.65;margin:12px 0}#secret-lock-dialog .gate-close{position:absolute;top:10px;right:10px;width:32px;height:32px;padding:0;border-radius:50%}.gate-emblem{font-size:32px;color:#ffe5a1;text-shadow:0 0 15px #ffb548}.gate-services{border-top:1px dashed #b98e5577;border-bottom:1px dashed #b98e5577;padding:12px 4px;text-align:left}.gate-services strong{display:block;text-align:center;margin-bottom:10px}.gate-services p{margin:7px 0!important}.gate-services small{opacity:.8}.gate-buy{display:block;padding:12px 8px;border-radius:999px;background:linear-gradient(#f8dfab,#d8a85d);color:#4d1020!important;text-decoration:none;font-weight:bold;margin-top:16px;border:1px solid #ffe4ac}@media(prefers-reduced-motion:reduce){.extra-entry .secret-gate.unlocked{animation:none}}

.extra-entry .secret-gate b svg,#scene .sub-nav .secret-home-star svg{fill:currentColor;stroke:currentColor;stroke-width:1.1}.extra-entry .secret-gate.locked b svg{opacity:.65}.extra-entry .secret-gate.unlocked b svg{filter:drop-shadow(0 0 5px #ffce73)}.secret-cookie-ad{border-top:1px solid #d7aa6650;margin:12px auto 0;padding:9px 0 0;text-align:center}.secret-cookie-ad small{display:block;font-size:10px;line-height:1.45;color:#e5c7a6;margin:8px auto 0;max-width:340px}.secret-cookie-ad img{display:block;width:120px;height:60px;margin:auto;object-fit:contain}.secret-page:has(.secret-cookie-ad){overflow-y:auto}.secret-page:has(.secret-cookie-ad) .secret-orb-stage{margin-top:clamp(8px,2dvh,20px)}

.extra-entry .secret-gate b .lachove-star{width:1.05em;height:1.05em;vertical-align:middle;fill:currentColor!important;stroke:none!important}.extra-entry .secret-gate.locked b .lachove-star{opacity:.75}.gate-emblem .lachove-star{width:32px;height:32px;filter:drop-shadow(0 0 8px #ffb548);vertical-align:middle;fill:currentColor!important;stroke:none!important}#scene .sub-nav .secret-home-star .lachove-star{fill:currentColor!important;stroke:none!important}

.original .extra-entry .secret-gate.locked{box-shadow:0 4px 10px #230610a0,inset 0 1px 0 #eac17c22}
