:root{font-family:Noto Sans KR,DM Sans,sans-serif;color:#f2eee5;background:#151912;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--cream: #f2eee5;--muted: rgba(242, 238, 229, .63);--gold: #d69b60;--panel: rgba(24, 28, 22, .82);--line: rgba(242, 238, 229, .14)}*{box-sizing:border-box}html,body,#root{width:100%;min-width:320px;height:100%;margin:0}body{overflow:hidden}button,input{font:inherit}button{color:inherit}.app-shell{position:relative;width:100%;height:100dvh;min-height:600px;overflow:hidden;isolation:isolate;background:#25271d}.character-stage{position:absolute;inset:0;z-index:-2;overflow:hidden;background:radial-gradient(ellipse at 45% 46%,#6f6749,#343a29 54%,#171b15)}.scene-environment-image{position:absolute;z-index:0;inset:-3%;width:106%;height:106%;object-fit:cover;filter:blur(3px) brightness(.52) saturate(.78);opacity:.86}.character-backdrop{position:absolute;z-index:0;inset:-4%;background-position:center 36%;background-size:cover;filter:blur(24px) brightness(.48) saturate(.78);transform:scale(1.08);opacity:.4}.character-shade{position:absolute;z-index:1;inset:0;background:linear-gradient(180deg,#0d100c73,#0d100c0a 29%,#0d100c1f 56%,#0d100cc4),linear-gradient(90deg,rgba(12,15,11,.34),transparent 48%,rgba(12,15,11,.18))}.character-portrait{position:absolute;z-index:2;left:3vw;bottom:-3vh;width:min(72vw,1020px);height:min(94vh,1020px);object-fit:contain;object-position:center bottom;filter:drop-shadow(0 18px 38px rgba(0,0,0,.22));mask-image:radial-gradient(ellipse 82% 90% at 50% 47%,#000 68%,transparent 100%);-webkit-mask-image:radial-gradient(ellipse 82% 90% at 50% 47%,#000 68%,transparent 100%);-webkit-user-select:none;user-select:none;-webkit-user-drag:none;transition:transform .5s ease,filter .5s ease}.character-light{position:absolute;z-index:2;left:23%;bottom:5%;width:34vw;height:22vh;background:radial-gradient(ellipse,rgba(224,143,62,.15),transparent 70%);pointer-events:none}.character-status{position:absolute;z-index:3;left:max(34px,4vw);bottom:28px;display:inline-flex;align-items:center;gap:8px;color:#fff6e194;font-size:10px;letter-spacing:.04em;text-shadow:0 1px 12px #000}.status-dot,.live-dot{width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#dca36b;box-shadow:0 0 0 4px #dca36b29}.character-preload{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.global-vignette{position:absolute;z-index:-1;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(13,16,12,.34) 0%,transparent 20%,transparent 54%,rgba(11,14,10,.35) 80%,rgba(11,14,10,.55) 100%)}.topbar{position:absolute;z-index:5;top:0;left:0;right:0;display:flex;justify-content:space-between;align-items:center;padding:23px 30px}.brand{display:flex;gap:11px;align-items:center;color:var(--cream);text-decoration:none;text-shadow:0 2px 12px rgba(0,0,0,.3)}.brand-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:13px;color:#f3c18a;background:#1b1d1685;border:1px solid rgba(255,255,255,.17);box-shadow:0 8px 22px #16140d2e}.brand strong{display:block;font-size:14px;font-weight:600;letter-spacing:-.02em}.brand small{display:block;margin-top:2px;color:#f7edd994;font-family:DM Sans,sans-serif;font-size:9px;letter-spacing:.17em}.top-actions{display:flex;gap:10px;align-items:center}.language-note{display:inline-flex;align-items:center;gap:7px;margin-right:6px;color:#fff8e9d1;font-size:11px;text-shadow:0 1px 10px #000}.icon-button{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;border:1px solid rgba(255,255,255,.2);background:#1b1d1661;color:#fff8e9e6;cursor:pointer;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:background .2s,transform .2s}.icon-button:hover{background:#1b1d16b8;transform:translateY(-1px)}.icon-button.voice-enabled{color:#f2c28e;border-color:#ebba818c;background:#583c257a}.privacy-popover{position:absolute;z-index:9;top:73px;right:78px;width:min(310px,calc(100vw - 30px));padding:17px;border-radius:15px;background:#1b1e18f5;border:1px solid var(--line);box-shadow:0 14px 45px #00000052;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.privacy-popover strong{font-size:13px}.privacy-popover p{color:#c8c4b8;font-size:11px;line-height:1.7}.privacy-popover button{border:0;border-radius:20px;padding:7px 13px;background:#d09a64;color:#251d16;font-size:11px;cursor:pointer}.character-ui{position:absolute;top:17%;left:max(4vw,34px);z-index:3;width:250px;text-shadow:0 2px 18px rgba(20,20,14,.45);pointer-events:none}.eyebrow{display:flex;align-items:center;gap:8px;color:#fff6dfd1;font-size:10px;letter-spacing:.17em}.character-caption h1{margin:13px 0 4px;color:#fff6e9;font-family:DM Sans,Noto Sans KR,sans-serif;font-size:clamp(34px,4vw,49px);letter-spacing:-.06em;font-weight:500}.name-dot{color:#e4ad74}.character-caption p{margin:0;color:#fff6dfb3;font-size:11px;letter-spacing:.01em}.gender-switch{display:inline-flex;gap:4px;margin-top:20px;padding:4px;border:1px solid rgba(255,255,255,.22);border-radius:30px;background:#1c1d167a;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);pointer-events:auto}.gender-switch button{display:inline-flex;align-items:center;gap:5px;border:0;border-radius:24px;padding:8px 12px;background:transparent;color:#fff7e6b3;font-size:10px;cursor:pointer;transition:all .2s}.gender-switch button.selected{background:#f5debef0;color:#423022;box-shadow:0 2px 8px #0000001f}.conversation{position:absolute;right:28px;bottom:30px;z-index:4;width:min(430px,calc(100vw - 56px));max-height:min(530px,65vh);display:flex;flex-direction:column;border:1px solid rgba(255,255,255,.16);border-radius:20px;background:linear-gradient(145deg,#191d17e6,#161913d1);box-shadow:0 22px 65px #0a0d0a61;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);overflow:hidden}.conversation-heading{display:flex;flex:0 0 auto;justify-content:space-between;align-items:center;padding:15px 17px 12px;border-bottom:1px solid rgba(255,255,255,.09)}.conversation-title{display:flex;align-items:center;gap:8px;color:#f4e9d9;font-size:11px;font-weight:600}.conversation-title svg{color:#d6a16c}.count-pill{min-width:17px;height:17px;display:inline-grid;place-items:center;border-radius:20px;padding:0 5px;background:#ffffff17;color:#ffffffad;font-family:DM Sans,sans-serif;font-size:9px;font-weight:500}.connection-state{display:inline-flex;align-items:center;gap:5px;color:#9db68a;font-family:DM Sans,sans-serif;font-size:9px}.connection-state.demo{color:#e3b87b}.message-list{min-height:116px;max-height:340px;overflow:auto;padding:15px 16px 7px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.17) transparent}.message{display:flex;gap:9px;align-items:flex-start;margin-bottom:14px}.message.user{justify-content:flex-end}.message-avatar{flex:0 0 25px;width:25px;height:25px;display:grid;place-items:center;border-radius:50%;color:#f1c18e;background:#cf91582b;border:1px solid rgba(207,145,88,.23)}.message-body{max-width:87%}.message-name{display:block;margin:0 0 4px 1px;color:#d9a46f;font-size:9px;letter-spacing:.04em}.message p{margin:0;color:#faf6ede8;font-size:11px;line-height:1.75;word-break:keep-all;white-space:pre-wrap}.message.user p{display:inline-block;padding:8px 11px;border-radius:13px 13px 3px;background:#d9aa7533;color:#fff0d9}.message.assistant .message-body{padding-top:1px}.typing{display:flex;gap:4px;padding:11px 3px}.typing i{width:5px;height:5px;border-radius:50%;background:#d4a06a;animation:pulse 1s infinite ease-in-out}.typing i:nth-child(2){animation-delay:.15s}.typing i:nth-child(3){animation-delay:.3s}@keyframes pulse{0%,80%,to{opacity:.35;transform:translateY(0)}40%{opacity:1;transform:translateY(-4px)}}.chat-form{flex:0 0 auto;display:flex;align-items:center;gap:8px;margin:0 12px 9px;padding:6px 6px 6px 13px;border:1px solid rgba(255,255,255,.16);border-radius:13px;background:#ffffff12}.chat-form:focus-within{border-color:#dca974b8;box-shadow:0 0 0 3px #dca97414}.chat-form input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:#fff5e8;font-size:11px}.chat-form input::placeholder{color:#ede6d76e}.chat-form button{flex:0 0 34px;width:34px;height:34px;display:grid;place-items:center;border:0;border-radius:10px;background:#d7a06c;color:#2a2018;cursor:pointer;transition:.2s}.chat-form button:disabled{opacity:.38;cursor:not-allowed}.chat-form button.voice-input-button{border:1px solid rgba(255,255,255,.16);background:#ffffff14;color:#fff4e1d1}.chat-form button.voice-input-button:hover{background:#ffffff26;color:#fff5e8}.chat-form button.voice-input-button.listening{border-color:#ec8b6fa6;background:#9c463061;color:#ffd4c3;animation:mic-pulse 1.2s infinite ease-in-out}@keyframes mic-pulse{50%{box-shadow:0 0 0 4px #ec8b6f1f}}.connection-warning{display:flex;flex-direction:column;gap:3px;margin:8px 13px 9px;padding:8px 10px;border:1px solid rgba(227,184,123,.3);border-radius:9px;background:#734d252e;color:#e7cda9;font-size:9px;line-height:1.5}.connection-warning strong{color:#f3d3a9;font-size:9px}.connection-warning span{color:#efdec4c2;overflow-wrap:anywhere}.chat-form button:not(:disabled):hover{background:#efba83;transform:translateY(-1px)}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.message-voice{display:inline-flex;align-items:center;gap:5px;margin:7px 0 0 1px;padding:5px 8px;border:1px solid rgba(255,255,255,.14);border-radius:15px;background:#ffffff0f;color:#fff5e1c2;font-size:9px;cursor:pointer}.message-voice:hover{color:#fff0d9;border-color:#dba46b8c}.voice-error{margin:0 13px 7px;padding:7px 9px;border:1px solid rgba(240,160,125,.28);border-radius:9px;background:#7d34232e;color:#f0c2a9;font-size:9px;line-height:1.5}.conversation-footer{display:flex;align-items:center;justify-content:center;gap:6px;padding:0 10px 12px;color:#e6decf6e;font-size:8px;letter-spacing:.01em}.conversation-footer svg{color:#d4a06a}.bottom-note{position:absolute;bottom:19px;left:34px;right:500px;display:flex;justify-content:space-between;color:#fff6e166;font-family:DM Sans,sans-serif;font-size:8px;letter-spacing:.16em;pointer-events:none}.bottom-note span:last-child{font-family:Noto Sans KR,sans-serif;letter-spacing:.02em}@media(max-width:760px){.app-shell{min-height:620px}.topbar{padding:14px}.brand-mark{width:33px;height:33px;border-radius:11px}.brand strong{font-size:12px}.brand small{font-size:8px}.language-note{display:none}.top-actions{gap:7px}.icon-button{width:33px;height:33px}.character-portrait{left:50%;bottom:18vh;width:min(112vw,680px);height:70vh;transform:translate(-50%);object-position:center bottom}.character-stage.female .character-portrait{width:min(108vw,650px)}.character-backdrop{background-position:center 28%}.character-shade{background:linear-gradient(180deg,#0d100c59,#0d100c08 18%,#0d100c1a,#0b0e0ae6 80%,#0b0e0afa)}.character-status{left:17px;bottom:calc(44vh + 13px);font-size:8px}.character-ui{top:10%;left:18px;width:180px}.character-caption h1{font-size:32px;margin-top:8px}.character-caption p{font-size:9px}.gender-switch{margin-top:12px}.gender-switch button{padding:6px 9px;font-size:9px}.conversation{left:10px;right:10px;bottom:max(9px,env(safe-area-inset-bottom));width:auto;max-height:43vh;border-radius:17px}.conversation-heading{padding:10px 13px 9px}.message-list{max-height:26vh;min-height:72px;padding:10px 12px 4px}.message{margin-bottom:9px}.message p{font-size:10px;line-height:1.62}.chat-form{margin:0 8px 7px}.chat-form input{font-size:10px}.conversation-footer{padding-bottom:8px;font-size:7px}.bottom-note{display:none}.privacy-popover{top:59px;right:10px}}@media(max-width:390px){.character-ui{top:9%}.character-caption h1{font-size:29px}.conversation{max-height:45vh}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}}.speech-provider{margin-left:5px;color:#efc692c7;font-size:inherit;white-space:nowrap}.speech-provider.browser{color:#eeb491e6}
