@font-face{font-family:NanumMyeongjo;src:url('/assets/nanum-myeongjo.woff2') format('woff2');font-display:swap;font-weight:400}
@font-face{font-family:NanumMyeongjo;src:url('/assets/nanum-myeongjo-bold.woff2') format('woff2');font-display:swap;font-weight:700}
@font-face{font-family:NanumGothic;src:url('/assets/nanum-gothic.woff2') format('woff2');font-display:swap;font-weight:400}
:root{--night:#180f0b;--ivory:#ffedce;--gold:#d5ac6f;--serif:NanumMyeongjo,Batang,serif;--sans:NanumGothic,'Apple SD Gothic Neo',sans-serif;--app-height:100dvh}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:var(--night);color:var(--ivory)}
body{font:400 15px/1.7 var(--sans)}button,input,textarea{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:default}button,a,input{-webkit-tap-highlight-color:transparent}
[hidden]{display:none!important}button:focus-visible,input:focus-visible,a:focus-visible{outline:2px solid var(--ivory);outline-offset:5px}
svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.experience{width:100%;height:var(--app-height);min-height:280px;position:relative;isolation:isolate;overflow:hidden}
.world{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.performance-film{position:absolute;inset:0;background:#130b08 url('/assets/film/poster.png') center/cover no-repeat;overflow:hidden}
.performance-film video{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center 38%;opacity:0;transition:opacity .28s linear}
.performance-film video[data-active=true]{opacity:1}
.scene-shade{position:absolute;inset:0;background:linear-gradient(180deg,#10070355 0%,transparent 21%,transparent 46%,#12070326 61%,#0e0604ba 88%,#0e0604e8 100%)}
.scene-header{position:absolute;z-index:10;inset:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:26px 40px;gap:20px;pointer-events:none}
.scene-header>*{pointer-events:auto}.wordmark{font:700 34px/1.2 var(--serif);letter-spacing:2px;border:0;padding:0;background:transparent;text-shadow:0 2px 16px #0006}
.scene-header nav{display:flex;gap:18px;align-items:center}.icon-button{position:relative;display:inline-flex;align-items:center;justify-content:center;background:transparent;border:0;padding:8px;border-radius:50%;min-width:40px;min-height:40px;color:var(--ivory);transition:background .2s,opacity .2s}
.icon-button:hover{background:#ffedce14}.icon-button svg{width:25px;height:25px}.icon-button .button-icon{display:flex}.sound-off{display:none}body[data-muted=true] .sound-on{display:none}body[data-muted=true] .sound-off{display:block}
#history-count{position:absolute;right:1px;top:0;min-width:14px;height:14px;font:700 9px/14px var(--sans);border-radius:50%;background:var(--ivory);color:var(--night);text-align:center}
.entrance{position:absolute;z-index:8;bottom:max(7.5vh,28px);left:50%;transform:translateX(-50%);display:flex;align-items:center;flex-direction:column;gap:16px;width:calc(100% - 40px);max-width:420px;animation:panel-arrive .9s ease-out}
.entrance-mark{font:400 21px/1 var(--serif);color:var(--gold);padding:8px 5px;border:1px solid #d5ac6f8c;border-radius:2px;margin-bottom:2px;transform:rotate(-3deg)}
.entrance-title{font:400 36px/1.5 var(--serif);margin:0 0 8px;letter-spacing:2px;text-shadow:0 2px 14px #0009}
.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:52px;min-width:138px;padding:13px 28px;border:1px solid #ffedcebb;border-radius:999px;color:var(--ivory);font:400 17px/1.45 var(--serif);letter-spacing:-.2px;text-decoration:none;background:#160b0673;backdrop-filter:blur(12px);transition:transform .22s,background .22s,box-shadow .22s;white-space:nowrap}
.button:hover{background:#4c3020a1}.button:active{transform:translateY(0) scale(.98)}.button-primary{background:var(--ivory);border-color:var(--ivory);color:#642c17;box-shadow:0 3px 28px #edbb7722}
.button-primary:hover{background:#fff5df;box-shadow:0 5px 35px #edbb7744}.button:disabled{opacity:.6;transform:none}.button-icon{display:inline-flex}.button-icon svg{width:19px;height:19px}
.entrance-button{min-width:270px;min-height:58px;font-size:19px;justify-content:space-between;padding-inline:29px}.entrance-button svg{width:22px;height:22px}
.quiet-button{font:400 12px/1.8 var(--sans);color:#ffedcebd;cursor:pointer;border:0;background:transparent;padding:3px 12px;text-underline-offset:5px}
.quiet-button:hover{text-decoration:underline;color:var(--ivory)}
.conversation{position:absolute;z-index:8;bottom:max(5.5vh,26px);left:50%;transform:translateX(-50%);width:min(900px,calc(100% - 40px));text-align:center;outline:none}
.voice-meter{display:flex;justify-content:center;align-items:center;gap:4px;height:13px;margin:0 0 7px;opacity:0;transition:opacity .2s}
.voice-meter i{width:2px;height:5px;background:var(--gold);border-radius:1px;animation:voice-wave .7s ease-in-out infinite alternate}
.voice-meter i:nth-child(2){animation-delay:-.3s}.voice-meter i:nth-child(3){animation-delay:-.6s}.voice-meter i:nth-child(4){animation-delay:-.1s}.voice-meter i:nth-child(5){animation-delay:-.4s}
.voice-playing .voice-meter{opacity:.8}body[data-muted=true] .voice-meter{opacity:0}
.subtitle{font:400 29px/1.65 var(--serif);letter-spacing:-.55px;word-break:keep-all;overflow-wrap:anywhere;max-width:820px;margin:0 auto 22px;min-height:48px;text-shadow:0 2px 14px #000b,0 1px 3px #000c}
.interaction{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;min-height:72px}
.replies{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}.replies .button{min-width:125px}.direct-answer{font-size:11px;margin-top:0;opacity:.86}
.greeting-replies .button{min-width:240px}
.answer-echo{position:absolute;z-index:7;right:10%;bottom:42%;font:400 14px/1.5 var(--serif);color:#fff3dce6;padding:10px 17px;border:1px solid #ffe8bf3b;border-radius:16px 16px 0 16px;background:#1e100a66;backdrop-filter:blur(12px);max-width:260px;overflow-wrap:anywhere;opacity:0;transform:translateY(7px);transition:opacity .3s,transform .3s;pointer-events:none}
.answer-echo.visible{opacity:1;transform:translateY(0)}
.answer-form{width:min(520px,100%);margin:0}.input-row{display:flex;align-items:center;width:100%;min-height:56px;border:1px solid #ffedce8c;border-radius:30px;background:#180c07a1;backdrop-filter:blur(18px);padding:4px 5px 4px 20px;gap:4px}
.input-row input{color:var(--ivory);background:none;min-width:0;width:100%;border:0;outline:none;padding:8px 0;font:400 16px/1.6 var(--sans)}.input-row input::placeholder{color:#ffedce8c;font-size:13px}.input-row:focus-within{border-color:var(--ivory);box-shadow:0 0 24px #d5ac6f18}
.input-row .button{min-height:43px;min-width:43px;padding:10px;border:0;backdrop-filter:none}.input-row .button>span:first-child{display:none}.input-row .icon-button{min-width:37px;min-height:40px;padding:7px}.input-row .icon-button svg{width:20px;height:20px}
body[data-microphone=on] .microphone{color:#ffcb81;background:#df8e3933;animation:mic-pulse 1.3s infinite}
.number-balls{list-style:none;display:flex;justify-content:center;align-items:center;gap:15px;padding:0;margin:0 0 10px}
.lotto-ball{display:flex;align-items:center;justify-content:center;width:68px;height:68px;border:1px solid #f8d79c8c;border-radius:50%;color:#fff0d2;font:400 29px/1 var(--serif);background:radial-gradient(circle at 32% 24%,var(--ball-color),#1c0e09 115%);box-shadow:inset 0 2px 5px #fff1ca33,inset 0 -5px 12px #0008,0 0 22px #ecb65e18;position:relative;transition:opacity .3s}
.lotto-ball:after{content:'';position:absolute;inset:4px;border:1px solid #fff4d11f;border-radius:50%}.ball-gold{--ball-color:#b58a3f}.ball-blue{--ball-color:#4d7182}.ball-red{--ball-color:#9e5035}.ball-ink{--ball-color:#787065}.ball-green{--ball-color:#69734f}
.lotto-ball.unrevealed{opacity:.15;color:transparent;background:transparent;box-shadow:none}.lotto-ball.arriving{animation:number-arrive .75s cubic-bezier(.2,.7,.2,1) both}
.result-actions{display:flex;justify-content:center;gap:12px;margin-top:8px}.result-actions .button{min-width:170px}.result-actions+.quiet-button{margin-top:2px}
body[data-state=reveal] .subtitle,body[data-state=result] .subtitle{font-size:26px;margin-bottom:20px}body[data-state=result] .conversation{bottom:max(4vh,22px)}
dialog{width:min(540px,calc(100% - 32px));max-height:min(82vh,720px);border:1px solid #d5ac6f66;border-radius:20px;padding:28px;background:#24150ff2;color:var(--ivory);box-shadow:0 24px 100px #0009;backdrop-filter:blur(22px);font:400 14px/1.9 var(--sans)}
dialog::backdrop{background:#0d0704a6;backdrop-filter:blur(8px)}.dialog-header{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid #ffedce26;padding-bottom:17px}.dialog-header h2{font:400 30px/1.4 var(--serif);margin:0}.dialog-header .icon-button{margin-right:-8px}.dialog-note{font-size:12px;color:#ffedce99;margin:16px 0}.empty-history{padding:42px 0;text-align:center;font:400 18px/1.8 var(--serif);color:#ffedceaa}
.history-entry{border-bottom:1px solid #ffedce26;padding:18px 0}.entry-date{font-size:10px;margin:0;color:#ffedce8c}.entry-wish{font:400 17px/1.7 var(--serif);margin:7px 0 17px;overflow-wrap:anywhere}.compact{justify-content:flex-start;gap:9px;margin-bottom:12px}.compact .lotto-ball{width:43px;height:43px;font-size:20px}.history-controls{display:flex;justify-content:flex-end;gap:10px}.button-small{font:400 12px var(--sans);min-height:32px;min-width:0;padding:7px 14px;border-color:#ffedce33;background:transparent}
.toast{position:fixed;z-index:40;bottom:max(24px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%,10px);background:#ffedce;color:#382215;padding:11px 20px;border-radius:24px;box-shadow:0 5px 30px #0004;max-width:calc(100% - 32px);width:max-content;font:400 12px/1.7 var(--sans);pointer-events:none;opacity:0;transition:opacity .25s,transform .25s}.toast.visible{opacity:1;transform:translate(-50%,0)}.clipboard-fallback{position:fixed;left:-9999px;top:0}noscript{position:fixed;bottom:20px;padding:20px;width:100%;text-align:center}
@keyframes panel-arrive{from{opacity:0;filter:blur(5px)}to{opacity:1;filter:blur(0)}}
@keyframes voice-wave{from{height:3px;opacity:.4}to{height:12px;opacity:1}}
@keyframes mic-pulse{0%,100%{box-shadow:0 0 0 0 #df8e3922}50%{box-shadow:0 0 0 6px #df8e3900}}
@keyframes number-arrive{from{opacity:0;transform:translateY(-55px) scale(.25) rotate(-16deg);filter:blur(5px)}65%{opacity:1;transform:translateY(5px) scale(1.08);filter:blur(0)}to{opacity:1;transform:translateY(0) scale(1) rotate(0);filter:blur(0)}}
@media(min-width:1800px){.conversation{bottom:7vh}.subtitle{font-size:33px}.button{font-size:19px;min-height:58px;padding-inline:34px}}
@media(max-width:700px){
 .performance-film:before{content:'';position:absolute;inset:-25px;background:inherit;filter:blur(22px) brightness(.45)}
 .performance-film video{position:absolute;left:0;top:12%;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:center}
 .scene-header{padding:21px 20px;gap:16px}.wordmark{font-size:27px;letter-spacing:1px}.scene-header nav{gap:9px}.icon-button{padding:7px;min-width:34px;min-height:36px}.icon-button svg{width:22px;height:22px}
 .scene-shade{background:linear-gradient(180deg,#10070366 0%,transparent 20%,transparent 40%,#10060366 62%,#100603e6 90%,#100603f0 100%)}
 .entrance{bottom:max(9vh,36px);gap:13px}.entrance-title{font-size:31px}.entrance-mark{font-size:18px}.entrance-button{min-height:55px;min-width:240px;font-size:17px}
 .conversation{width:calc(100% - 38px);bottom:max(5.5vh,32px)}.subtitle{font-size:24px;line-height:1.65;letter-spacing:-.6px;max-width:440px;margin-bottom:20px;min-height:40px}
 .button{font-size:16px;min-height:49px;min-width:122px;padding:12px 21px}.replies{gap:9px}.replies .button{min-width:94px;padding-inline:19px}.interaction{gap:9px;min-height:66px}.direct-answer{font-size:10px}
 .greeting-replies .button{min-width:148px;padding-inline:18px}
 .answer-echo{right:7%;bottom:40%;font-size:12px;padding:8px 13px;max-width:200px}.voice-meter{margin-bottom:7px}.input-row{min-height:54px;padding-left:17px}.input-row input{font-size:15px}.input-row input::placeholder{font-size:12px}
 .number-balls{gap:9px;width:100%;max-width:440px;justify-content:space-between}.lotto-ball{width:min(13vw,57px);height:min(13vw,57px);font-size:25px}.result-actions{gap:10px;width:100%;max-width:360px}.result-actions .button{min-width:0;flex:1;font-size:15px;gap:8px;padding-inline:15px}.result-actions .button-icon svg{width:17px;height:17px}
 body[data-state=reveal] .subtitle,body[data-state=result] .subtitle{font-size:23px;margin-bottom:18px}body[data-state=result] .conversation{bottom:max(5vh,30px)}
 dialog{padding:22px;border-radius:17px;font-size:13px}.dialog-header h2{font-size:27px}.compact{gap:8px;max-width:none;justify-content:flex-start}.compact .lotto-ball{width:38px;height:38px;font-size:18px}.entry-wish{font-size:16px}.button-small{min-width:0;min-height:30px;font-size:11px;padding:6px 13px}
}
@media(max-width:360px){.scene-header{padding-inline:16px}.scene-header nav{gap:5px}.wordmark{font-size:25px}.subtitle{font-size:22px}.button{font-size:15px;padding-inline:17px}.replies .button{min-width:85px;padding-inline:14px}.number-balls{gap:7px}.lotto-ball{font-size:22px}.compact .lotto-ball{width:34px;height:34px;font-size:17px}.compact{gap:6px}}
@media(max-height:600px){.scene-header{padding-top:12px;padding-bottom:10px}.conversation{bottom:20px}.subtitle{font-size:22px;line-height:1.5;min-height:34px;margin-bottom:12px}.button{min-height:42px;padding-top:10px;padding-bottom:10px;font-size:15px}.interaction{min-height:50px;gap:6px}.voice-meter{height:8px;margin-bottom:4px}.entrance{bottom:25px;gap:10px}.entrance-title{font-size:28px;margin:0}.entrance-mark{display:none}body[data-state=result] .conversation{bottom:18px}.lotto-ball{width:49px;height:49px;font-size:23px}.result-actions{margin-top:3px}.result-actions .button{min-height:40px}.result-actions+.quiet-button{font-size:10px}}
@media(max-width:700px) and (max-height:600px){.scene-header{padding-inline:17px}.wordmark{font-size:24px}.subtitle{font-size:21px}.conversation{width:calc(100% - 34px)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.arriving{filter:none!important}.voice-meter i{height:5px}}
