*{box-sizing:border-box}body{margin:0;background:#0b1425;color:#f7ecd8;font-family:'IBM Plex Sans KR',sans-serif}button,textarea,input{font:inherit}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.mt-bulletin{background:#08101f!important}main{max-width:560px;margin:auto;padding:0 14px}.experience{min-height:var(--experience-min-height,calc(100svh - 115px));display:grid;grid-template-rows:auto minmax(250px,1fr) auto;padding:15px 0 12px;gap:10px}.intro{text-align:center;z-index:2}h1{font-family:var(--fortune-brush-font);font-size:30px;font-weight:400;margin:0 0 4px}#step{font-size:13px;color:#d6c9b0;margin:0;line-height:1.6}.sky{position:relative;overflow:hidden;isolation:isolate;min-height:300px;border-radius:160px 160px 12px 12px;background:radial-gradient(ellipse at 50% 85%,#55452f40,transparent 60%),linear-gradient(#0b1529,#192a42 70%,#383c48)}.stars{position:absolute;inset:0;background-image:radial-gradient(circle,#f9dca8 1px,transparent 1.5px),radial-gradient(circle,#ffffff70 .7px,transparent 1.2px);background-size:73px 97px,43px 61px;background-position:19px 7px,8px 22px;opacity:.7}.moon{position:absolute;top:12%;right:22%;width:31px;height:31px;border-radius:50%;box-shadow:-7px 3px 0 0 #fce1ab;filter:drop-shadow(0 0 13px #ffdda34a);transform:rotate(-18deg)}.mountains{position:absolute;bottom:-1px;width:100%;height:24%;background:#0b1827;clip-path:polygon(0 64%,16% 20%,28% 48%,42% 9%,61% 58%,74% 29%,100% 80%,100% 100%,0 100%)}.mountains.far{bottom:5%;background:#233145;transform:scaleX(-1);opacity:.8}.lantern{position:absolute;left:50%;top:49%;width:190px;height:250px;transform:translate(-50%,-50%);filter:drop-shadow(0 0 26px #ffac4a42);z-index:3;transform-origin:50% 90%}.canopy{height:90%;border-radius:35% 35% 17% 17%/17% 17% 8% 8%;background:repeating-linear-gradient(89deg,transparent 0 24px,#9b39101b 25px,#ffd79450 26px,transparent 28px),radial-gradient(ellipse at 50% 85%,#fff4b5,#ffc363 38%,#d87639 88%);box-shadow:inset 15px 0 22px #83361455,inset -15px 0 20px #83361455,inset 0 4px 3px #ffd79b;position:relative;padding:43px 22px 36px;display:flex;align-items:center;justify-content:center;color:#673514}.canopy:after{content:'';position:absolute;inset:0;border-radius:inherit;background:repeating-linear-gradient(6deg,#77441708 0 1px,transparent 1px 4px);pointer-events:none}.lantern-label{position:absolute;top:20px;width:100%;left:0;text-align:center;font-size:11px;letter-spacing:.2em;opacity:.7}#wish-ink{margin:0;white-space:pre-wrap;word-break:keep-all;overflow-wrap:anywhere;font-family:var(--fortune-brush-font);font-size:31px;line-height:1.15;text-align:center;max-height:100%;overflow:hidden}#wish-ink.long{font-family:'IBM Plex Sans KR',sans-serif;font-size:15px;line-height:1.45}.lantern-seal{position:absolute;bottom:17px;font-size:10px;border:1px solid #a9562d;padding:2px 4px;transform:rotate(-5deg);color:#96451e}.rim{position:absolute;bottom:8%;left:14%;width:72%;height:12px;border:3px solid #783415;border-radius:50%;background:#ffbb55}.flame{position:absolute;left:46%;bottom:9%;width:17px;height:28px;border-radius:75% 0 60% 40%;background:linear-gradient(#fff6b6,#ff9936);transform:rotate(-35deg);box-shadow:0 0 22px #ffae4b;animation:flicker 1.3s ease-in-out infinite alternate}.aura{position:absolute;inset:-28%;z-index:-1;border-radius:50%;background:radial-gradient(#ffbc3a13,transparent 63%)}.distant{position:absolute;width:10px;height:14px;border-radius:4px;background:#ffc777;box-shadow:0 0 13px #ffa64c80;opacity:.6}.d1{left:16%;top:40%;transform:rotate(8deg)}.d2{right:13%;top:64%;width:7px;height:10px}.d3{left:37%;top:18%;width:5px;height:7px;opacity:.4}.controls{width:100%;max-width:380px;margin:auto;text-align:center}.controls textarea{display:block;width:100%;min-height:68px;background:#111e32;border:1px solid #927c58;border-radius:12px;color:#fff4df;padding:10px 12px;font-size:16px;resize:none}.controls textarea::placeholder{font-size:12px;color:#bfc5cd}textarea:focus{outline:2px solid #e4bd78;outline-offset:2px}.help{display:flex;justify-content:space-between;gap:8px;font-size:12px;line-height:1.4;color:#b7bcc6;margin:7px 0 10px}#count{white-space:nowrap}button{min-height:46px;width:100%;border:1px solid #efc981;border-radius:12px;background:var(--experience-primary-bg);color:var(--experience-primary-ink);font-weight:600;cursor:pointer}button:disabled{opacity:.45;cursor:default}.quiet{min-height:44px;background:transparent;border-color:transparent;color:#dac8a8;font-size:13px;font-weight:400;padding:10px}.ending{position:absolute;inset:20% 8%;text-align:center;display:flex;flex-direction:column;justify-content:center;z-index:4}.ending>span{font-size:44px;color:#efcb86}.ending h2{font-family:var(--fortune-brush-font);font-size:32px;font-weight:400;line-height:1.3;margin:13px 0}.ending p{font-size:14px;line-height:1.9;color:#d9d4cb;margin:0}.experience[data-state=done] .lantern{display:none}.experience[data-state=flying] .lantern{animation:ascend 8s cubic-bezier(.25,.05,.35,1) forwards}.experience[data-state=flying] .sky{background:radial-gradient(ellipse at 50% 30%,#68512d30,transparent 50%),linear-gradient(#0b1529,#192a42 70%,#383c48)}.experience[data-state=ready] .lantern{animation:sway 3s ease-in-out infinite alternate}#flying-actions p{font-family:var(--fortune-brush-font);font-size:24px;margin:0;color:#ead4ae}#wish-error{font-size:13px;line-height:1.5;color:#ffd6a6;text-align:left;margin:7px 0}#share-status{font-size:12px;color:#e7d2b4;margin:4px}#manual{font-size:12px}#link{width:100%;padding:9px;background:#15253a;color:#eee;border:1px solid #aa8d65;border-radius:6px}.ad{height:120px;border:1px solid #b18f5945;background:#152035;border-radius:12px;text-align:center;padding:13px;font-size:12px;color:#b8b2a8}.ad p{font-size:14px;color:#dbc7a3}.footnote{font-size:12px;color:#a7adba;text-align:center;line-height:1.6;word-break:keep-all;margin:17px 0 25px}@keyframes flicker{to{transform:rotate(-29deg) scale(.9,1.08);opacity:.8}}@keyframes sway{from{transform:translate(-50%,-50%) rotate(-2deg)}to{transform:translate(-50%,-52%) rotate(2deg)}}@keyframes ascend{0%{left:50%;top:52%;transform:translate(-50%,-50%) rotate(0) scale(1);opacity:1}25%{left:62%;top:41%;transform:translate(-50%,-50%) rotate(3deg) scale(.8);opacity:1}50%{left:73%;top:30%;transform:translate(-50%,-50%) rotate(-2deg) scale(.56);opacity:1}75%{left:81%;top:20%;transform:translate(-50%,-50%) rotate(2deg) scale(.3);opacity:1}90%{left:85%;top:14%;transform:translate(-50%,-50%) rotate(0) scale(.14);opacity:1}100%{left:87%;top:11%;transform:translate(-50%,-50%) rotate(0) scale(.06);opacity:0}}@media(max-width:700px){.experience{height:var(--experience-min-height,calc(100svh - 115px));min-height:510px}.sky{min-height:0}.experience[data-state=input]:has(form:focus-within){height:auto;min-height:0;grid-template-rows:auto 220px auto}.experience:not([data-state=input]){min-height:0}.experience[data-state=ready] .lantern{width:220px;height:290px}.experience[data-state=ready] .canopy{padding:46px 23px 38px}.experience[data-state=ready] #wish-ink.long{font-size:16px}}@media(max-height:600px) and (max-width:700px){.experience{height:auto;min-height:var(--experience-min-height,calc(100svh - 115px));grid-template-rows:auto 260px auto}.experience:not([data-state=input]){height:auto;grid-template-rows:auto 280px auto}.experience[data-state=ready] .lantern{width:180px;height:235px}.experience[data-state=ready] #wish-ink.long{font-size:14px}.experience[data-state=input]:has(form:focus-within){grid-template-rows:auto 180px auto}}@media(prefers-reduced-motion:reduce){.lantern,.flame{animation:none!important}.experience[data-state=flying] .lantern{opacity:0;transition:opacity .5s}.mt-bulletin-track{animation:none!important}}
body a{color:inherit}.ending:not([hidden]){animation:wishArrive 1.1s ease-out both}.ending h2{font-size:30px;word-break:keep-all}.ending p{word-break:keep-all}@keyframes wishArrive{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.ending:not([hidden]){animation:none}}

.mind-back{display:block;text-align:left;font-size:12px;line-height:24px;text-decoration:none;color:#cbb894;margin-bottom:2px}

@media(max-width:360px){.experience[data-state=ready] .lantern{width:190px;height:250px;top:53%}.experience[data-state=ready] .canopy{padding:38px 20px 34px}.experience[data-state=ready] #wish-ink.long{font-size:14px}}
/* This page only: one home action, a complete short title, two tools. */
@media(max-width:700px){body[data-page=wish-lantern] .game-back-long{display:none}body[data-page=wish-lantern] .game-back-short{display:inline}}
/* Approved shared talisman room and exact local typefaces; inner scene preserved. */


body{background:#231107;color:#fff0d4}main{background:linear-gradient(#21100566,#21100500 20%,#21100500 75%,#21100599),url('assets/worry-room-v2.png') center center/cover no-repeat;border-inline:1px solid #bb843e44;box-shadow:0 0 70px #e9961610}.intro h1,h1#page-title{font-family:var(--fortune-display-font);font-size:30px;font-weight:400;letter-spacing:0}.controls button:not(.quiet),button.primary{font-family:var(--fortune-brush-font);font-size:26px;font-weight:400}.ad{background:#321b11;border-color:#bd873b66;color:#cfb180}.ad p{color:#f0d8b1}.footnote{color:#d9bd94}
/* Small-screen empty lantern fits inside the arched sky, including focused input. */
@media(max-width:360px){.experience[data-state=input] .lantern{width:160px;height:210px;top:54%}.experience[data-state=input]:has(form:focus-within) .lantern{width:140px;height:180px;top:55%}}
/* Shrink into the upper-right sky, not straight upwards. */
.experience[data-state=flying] .lantern{transform-origin:50% 50%}

/* Explicit, session-only opt-in respects reduced-motion defaults. */
.motion-choice{font-size:13px;line-height:1.5;color:#ead4ae;margin:8px 0}.motion-choice label{display:flex;align-items:center;justify-content:center;gap:8px}.motion-choice input{width:20px;height:20px;accent-color:#d2a364}
@media(prefers-reduced-motion:reduce){.experience[data-state=flying][data-motion=full] .lantern{animation:ascend 8s linear forwards!important;opacity:1;transition:none}}
.experience[data-state=flying] .lantern{animation-timing-function:linear}

/* Keep the take-off size identical to ready so the first frame does not jump. */
@media(min-width:361px) and (max-width:700px){.experience[data-state=flying] .lantern{width:220px;height:290px}}

/* Reduced motion: one short, low-travel movement instead of a stationary disappearance. */
@keyframes gentleAscend{0%{left:50%;top:49%;transform:translate(-50%,-50%) scale(1);opacity:1}85%{left:61%;top:39%;transform:translate(-50%,-50%) scale(.68);opacity:1}100%{left:62%;top:38%;transform:translate(-50%,-50%) scale(.64);opacity:0}}
@media(prefers-reduced-motion:reduce){.experience[data-state=flying] .lantern{animation:gentleAscend 1.8s linear forwards!important;opacity:1;transition:none}.experience[data-state=ready] .lantern,.flame{animation:none!important}}

/* Match the talisman result share action, directly under the encouragement. */
.ending{inset:10% 8%;}.ending-share{margin:18px auto 0;width:100%;max-width:280px}.ending-share-button{background:var(--experience-primary-bg);border:1px solid #efc981;color:var(--experience-primary-ink)}.ending-share #share-status{font-size:12px;line-height:1.5;margin:6px 0}.ending-share #manual{line-height:1.5}.ending-share #link{font-size:12px}.experience[data-state=done] .sky{min-height:340px}


/* Fortune navigation header only; preserve the talisman artwork lettering. */

