@import url(https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&family=Noto+Serif+SC:wght@400;700&family=Playfair+Display:wght@400;600;700&display=swap);*{margin:0;padding:0;box-sizing:border-box}body,html{width:100%;overflow-x:hidden;overscroll-behavior-x:none;-webkit-overscroll-behavior-x:none}:root{--scene-hue:260;--scene-bg:hsl(260, 15%, 6%);--scene-accent:hsl(260, 70%, 55%);--scene-bubble:hsla(260, 40%, 15%, 0.5);--scene-text:hsl(260, 50%, 75%);--scene-glow:hsla(260, 80%, 50%, 0.12);--user-gradient:linear-gradient(135deg, #e5e2e1, rgba(229,226,225,0.85));--safe-top:env(safe-area-inset-top, 0px);--safe-right:env(safe-area-inset-right, 0px);--safe-bottom:env(safe-area-inset-bottom, 0px);--safe-left:env(safe-area-inset-left, 0px);--app-height:100dvh;--tabbar-content-height:44px;--tabbar-safe-bottom:env(safe-area-inset-bottom, 0px);--tabbar-height:calc(var(--tabbar-content-height) + var(--tabbar-safe-bottom))}html{min-height:100%;min-height:-webkit-fill-available}body{font-family:'Noto Sans SC',sans-serif;background:#0e0e0e;color:#e0e0e0;min-height:100dvh;min-height:var(--app-height);height:100%;overflow:hidden;touch-action:pan-y;-ms-touch-action:pan-y;overscroll-behavior-x:none;-webkit-overscroll-behavior-x:none}.view{position:fixed;inset:0;height:var(--app-height);max-height:var(--app-height);opacity:0;pointer-events:none;transition:opacity .5s cubic-bezier(.4, 0, .2, 1);display:flex;flex-direction:column;overflow:hidden}.view.active{opacity:1;pointer-events:auto}.transition-overlay{position:fixed;inset:0;z-index:100;pointer-events:none;opacity:0;transition:opacity .4s}.transition-overlay.active{opacity:1;pointer-events:auto}.toast-container{position:fixed;top:calc(12px + var(--safe-top));left:16px;right:16px;z-index:200;display:flex;flex-direction:column;gap:8px;align-items:stretch;max-width:480px;margin:0 auto;pointer-events:none}.toast-container.toast-container--bottom{top:auto;bottom:calc(var(--tabbar-content-height) + var(--tabbar-safe-bottom) + 12px)}.toast-container.toast-container--lobby{top:auto;bottom:auto}.toast-container.toast-container--lobby .toast,.toast.toast--from-below{animation:.3s toastInBottom,.3s 2.2s forwards toastOutBottom}@keyframes toastInBottom{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes toastOutBottom{to{opacity:0;transform:translateY(10px)}}.toast{background:rgba(30,30,50,.9);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.08);color:#e0e0e0;padding:10px 16px;border-radius:12px;font-size:13px;line-height:1.45;text-align:center;white-space:normal;word-break:break-word;max-width:100%;animation:.3s toastIn,.3s 2.2s forwards toastOut}@keyframes toastIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@keyframes toastOut{to{opacity:0;transform:translateY(-8px)}}.login-prompt-overlay{position:fixed;inset:0;z-index:200;background:rgba(0,0,0,.72);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:20px}.login-prompt-overlay.hidden{display:none}.login-prompt-card{width:100%;max-width:360px;background:#1a1a2e;border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:28px 24px}.login-prompt-card h3{font-size:18px;color:#e5e2e1;margin-bottom:10px;font-weight:600}.login-prompt-card p{font-size:14px;color:rgba(255,255,255,.55);line-height:1.65;margin-bottom:22px}.login-prompt-actions{display:flex;flex-direction:column;gap:10px}.login-prompt-primary{display:block;text-align:center;padding:13px;font-size:15px;font-weight:600;color:#2a2827;background:#e5e2e1;border-radius:12px;text-decoration:none}.login-prompt-secondary{padding:12px;font-size:14px;color:rgba(255,255,255,.65);background:0 0;border:1px solid rgba(255,255,255,.12);border-radius:12px;cursor:pointer;font-family:inherit}.login-prompt-secondary:hover{background:rgba(255,255,255,.04)}.profile-anon-hint{font-size:12px;color:rgba(251,191,36,.85);margin-top:6px;line-height:1.5}.lobby-container{display:flex;flex-direction:column;align-items:stretch;padding:0 16px 32px;overflow-x:hidden;overflow-y:visible;background:#131313}#homeTab.lobby-container{padding-left:0;padding-right:0}.lobby-main{width:100%;max-width:1200px;margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px;box-sizing:border-box}.lobby-header{display:flex;align-items:center;justify-content:space-between;padding:calc(16px + var(--safe-top)) 0 20px;position:sticky;top:0;z-index:10;background:linear-gradient(180deg,#131313cc 0,#13131300 100%);backdrop-filter:blur(6px)}.lobby-home-top{flex-shrink:0;z-index:12;margin-bottom:0;padding-bottom:4px;background:linear-gradient(180deg,#131313 88%,rgba(19,19,19,.94) 100%);backdrop-filter:blur(8px)}#homeTab .lobby-home-top{position:static;top:auto}#homeTab .lobby-header{position:static;z-index:auto;background:0 0;backdrop-filter:none;padding-bottom:12px}#homeTab .lobby-scene-tabs{margin:0 0 12px}#homeTab.tab-content.active{overflow:hidden;display:flex;flex-direction:column}.home-scroll-area{flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;position:relative}.home-scroll-body{transform:translate3d(0,0,0);will-change:transform}.home-pull-indicator{position:absolute;top:0;left:0;right:0;z-index:6;display:flex;align-items:flex-end;justify-content:center;pointer-events:none;height:0;opacity:0;color:rgba(255,255,255,.55);font-size:13px;line-height:1;transition:opacity .18s}.home-pull-indicator.is-visible{opacity:1}.home-pull-indicator-inner{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding-bottom:6px}@keyframes homePullSpin{from{transform:rotate(0)}to{transform:rotate(360deg)}}.home-pull-indicator.is-loading .home-pull-indicator-inner::before{content:'';width:16px;height:16px;margin-right:8px;border:2px solid rgba(255,255,255,.18);border-top-color:rgba(255,255,255,.72);border-radius:50%;animation:.8s linear infinite homePullSpin}.scene-load-sentinel{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 0 16px;color:rgba(255,255,255,.42);font-size:13px;text-align:center}.scene-load-sentinel.hidden{display:none}.lobby-header-brand{display:flex;flex-direction:column;align-items:flex-start}.brand-title{font-family:'Playfair Display','Noto Serif SC',serif;font-size:32px;font-weight:700;line-height:40px;letter-spacing:0;color:#e5e2e1}.brand-sub{font-size:10px;line-height:15px;letter-spacing:2px;color:#c4c7c7;text-transform:uppercase}.lobby-header-actions{display:flex;align-items:center;gap:12px}.header-icon-btn{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:10px;border:none;background:rgba(255,255,255,.06);color:#e0e0e0;font-size:16px;cursor:pointer;transition:background .2s;flex-shrink:0}.header-icon-btn:hover{background:rgba(255,255,255,.1)}.search-wrap{width:100%;max-width:400px;margin:0 auto 20px;display:flex;align-items:center;gap:12px;border:1px solid #ffffff0d;border-radius:9999px;background:#12121299;padding:9px 19px;backdrop-filter:blur(10px)}.search-wrap input{flex:1;background:0 0;border:none;color:#e0e0e0;font-size:16px;outline:0;letter-spacing:0}.search-wrap input::placeholder{color:#c4c7c766}.search-wrap .search-icon{flex-shrink:0;width:15px;height:15px;color:#c4c7c766}.scene-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;width:100%;margin:0 0 24px}.scene-card{border-radius:16px;overflow:hidden;cursor:pointer;border:1px solid #ffffff1a;transition:transform .25s cubic-bezier(.4,0,.2,1),box-shadow .25s,border-color .25s;-webkit-tap-highlight-color:transparent;background:0 0;display:flex;flex-direction:column}.scene-card:hover{transform:translateY(-3px);border-color:rgba(255,255,255,.12)}.scene-card:active{transform:translateY(0) scale(.98)}.scene-card-visual{flex:1;min-height:380px;display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden;background-size:cover;background-position:center top;padding:12px}.scene-card-visual::after{content:'';position:absolute;left:0;right:0;bottom:0;height:58%;background:linear-gradient(to top,rgba(0,0,0,.92) 0,rgba(0,0,0,.78) 38%,rgba(0,0,0,.42) 62%,rgba(0,0,0,0) 100%);z-index:1;pointer-events:none}.scene-card-content{position:relative;z-index:2;display:flex;flex-direction:column;gap:4px;padding-bottom:4px}.scene-card-category{line-height:12px;letter-spacing:.4px;color:#d0bcffcc;font-size:8px;text-transform:uppercase}.scene-card-name{line-height:22px;letter-spacing:0;color:#e5e2e1;font-size:17px;font-weight:700;font-family:'Playfair Display','Noto Serif SC',serif}.scene-card-tagline{line-height:17px;letter-spacing:0;color:#c4c7c7cc;font-size:12px}.scene-card-meta{display:inline-flex;align-items:center;align-self:stretch;gap:6px;padding-top:6px;padding-bottom:10px}.scene-card-agents{display:inline-flex;align-items:flex-start}.scene-agent-stack{flex-shrink:0;width:16px;height:16px;border-radius:9999px;border:1px solid #ffffff1a;background-size:100% 100%;background-position:center;background-repeat:no-repeat;overflow:hidden}.scene-agent-stack:not(:first-child){margin-left:-6px}.scene-agent-more{display:flex;align-items:center;justify-content:center;margin-left:-6px;border:1px solid #ffffff1a;border-radius:9999px;background:#2a2a2a;width:16px;height:16px;flex-shrink:0;font-size:7px;font-weight:500;color:#e5e2e1}.scene-card-user-count{display:flex;align-items:center;padding-bottom:1px;height:14px}.scene-card-user-count span{line-height:14px;letter-spacing:0;color:#c4c7c7;font-size:9px;font-weight:500}.scene-card-enter{position:relative;z-index:2;display:flex;align-items:center;align-self:stretch;justify-content:center;border-radius:32px;background:#e5e2e1;padding-top:6px;padding-bottom:6px;margin-top:8px}.scene-card-enter span{line-height:16px;letter-spacing:.5px;color:#2a2827;font-size:11px;font-weight:600;text-transform:uppercase}.lobby-footer{display:flex;flex-direction:column;align-items:center;align-self:stretch;padding-top:56px;padding-bottom:32px;gap:16px;margin-top:auto}.footer-badge{display:inline-flex;align-items:center;gap:8px;border:1px solid #ffffff0d;border-radius:9999px;background:#12121299;padding:7px 15px;backdrop-filter:blur(10px)}.footer-dot{flex-shrink:0;border-radius:9999px;background:#d0bcff;width:6px;height:6px}.footer-badge span:last-child{line-height:15px;letter-spacing:0;color:#c4c7c7;font-size:10px}.footer-nav{display:inline-flex;align-items:flex-start;align-self:stretch;justify-content:center;gap:24px}.footer-nav a{flex-shrink:0;align-self:stretch;line-height:15px;letter-spacing:0;color:#c4c7c7;font-size:10px;text-decoration:none;transition:opacity .2s}.footer-nav a:hover{opacity:.7}.footer-copy{flex-shrink:0;opacity:.4;line-height:12px;letter-spacing:2.4px;color:#8e9192;font-size:8px;text-transform:uppercase}.chat-header{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:calc(16px + var(--safe-top)) calc(16px + var(--safe-right)) 16px calc(16px + var(--safe-left));background:linear-gradient(180deg,#131313cc 0,#13131300 100%);backdrop-filter:blur(6px);z-index:10;position:sticky;top:0}.chat-header-left{display:inline-flex;align-items:center;gap:12px}.back-btn{display:flex;align-items:center;justify-content:center;border-radius:9999px;width:44px;height:44px;border:none;background:0 0;color:#e0e0e0;font-size:20px;cursor:pointer;flex-shrink:0;-webkit-tap-highlight-color:transparent}.header-scene-info{display:inline-flex;flex-direction:column;align-items:flex-start}.header-scene-name{font-family:'Playfair Display','Noto Serif SC',serif;font-size:24px;font-weight:600;line-height:30px;letter-spacing:-.6px;color:#c9c6c5}.chat-privacy-badge{display:inline-block;margin-top:4px;padding:2px 8px;font-size:10px;font-weight:600;letter-spacing:.03em;color:rgba(134,239,172,.95);background:rgba(34,197,94,.12);border:1px solid rgba(34,197,94,.28);border-radius:999px;cursor:pointer;font-family:inherit;line-height:1.4;max-width:100%;text-align:left}.chat-privacy-badge:hover{filter:brightness(1.08)}.chat-privacy-badge.mode-client{color:rgba(134,239,172,.95);background:rgba(34,197,94,.12);border-color:rgba(34,197,94,.28)}.chat-privacy-badge.mode-ephemeral{color:rgba(251,191,36,.95);background:rgba(251,191,36,.1);border-color:rgba(251,191,36,.32)}.chat-privacy-badge.mode-server{color:rgba(196,181,253,.9);background:rgba(139,92,246,.12);border-color:rgba(139,92,246,.28)}.header-scene-tagline{font-size:10px;line-height:15px;letter-spacing:2px;color:#c4c7c7;text-transform:uppercase}.chat-header-right{display:inline-flex;align-items:center;gap:8px}#agentsToggle{display:none}.director-mode .header-btn-director,.header-btn-director.active{border-color:rgba(139,92,246,.45);color:#c4b5fd}.header-btn{display:flex;align-items:center;justify-content:center;border:1px solid #ffffff14;border-radius:9999px;background:#12121299;width:40px;height:40px;backdrop-filter:blur(10px);color:#e0e0e0;font-size:16px;cursor:pointer;transition:background .2s;flex-shrink:0}.header-btn:hover{background:rgba(255,255,255,.1)}.agents-drawer{position:fixed;inset:0;z-index:50;pointer-events:none}.agents-drawer.open{pointer-events:auto}.drawer-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.4);opacity:0;transition:opacity .3s}.agents-drawer.open .drawer-backdrop{opacity:1}.drawer-panel{position:absolute;top:0;right:0;bottom:0;width:320px;max-width:85vw;background:#12121299;border-left:1px solid #ffffff1a;backdrop-filter:blur(10px);transform:translateX(100%);transition:transform .3s cubic-bezier(.4, 0, .2, 1);display:flex;flex-direction:column}.agents-drawer.open .drawer-panel{transform:translateX(0)}.drawer-header{display:flex;align-items:center;justify-content:space-between;padding:36px 25px 24px;border-bottom:none}.drawer-title{font-family:'Playfair Display','Noto Serif SC',serif;font-size:24px;font-weight:600;line-height:32px;color:#e5e2e1}.agents-list{flex:1;overflow-y:auto;padding:0 25px;display:flex;flex-direction:column;gap:16px}.agent-card{display:flex;flex-direction:column;align-items:stretch;gap:10px;border:1px solid #4447484d;border-radius:16px;background:#201f1f66;padding:14px 16px}.agent-card-user{border-color:#571bc133;background:#571bc10d}.agent-avatar-user{border:1px solid #c9c6c54d;background:#12121299;backdrop-filter:blur(10px)}.agent-card-head{display:flex;align-items:center;gap:10px;min-width:0}.agent-avatar{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:14px;font-weight:700;flex-shrink:0;overflow:hidden}.avatar-img{width:100%;height:100%;object-fit:cover;border-radius:50%}.agent-name{font-size:15px;font-weight:600;line-height:1.3;color:#e5e2e1;min-width:0;flex:1}.agent-desc{font-size:13px;line-height:1.55;color:rgba(196,199,199,.92);margin:0;padding:0 2px;word-break:break-word}.agent-desc-empty{color:rgba(196,199,199,.45)}.agent-whisper-btn{display:flex;align-items:center;justify-content:center;width:100%;background:#571bc133;font-weight:500}.agent-whisper-btn:hover{background:#571bc166}.drawer-actions{padding:23px 25px 25px;border-top:1px solid #44474833}.drawer-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;padding:11px 15px;border-radius:9999px;border:1px solid #ffb4ab4d;background:0 0;color:#ffb4ab;font-size:14px;cursor:pointer;transition:background .2s}.drawer-btn:hover{background:rgba(255,180,171,.08)}.chat-area{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:0;position:relative;-webkit-overflow-scrolling:touch;background-size:cover;background-position:center top;background-repeat:no-repeat;transition:background-image .6s}.chat-area.has-bg .atmosphere-glow{display:none}.chat-area::-webkit-scrollbar{width:4px}.chat-area::-webkit-scrollbar-track{background:0 0}.chat-area::-webkit-scrollbar-thumb{background:rgba(99,102,241,.2);border-radius:2px}.atmosphere-glow{position:sticky;top:0;left:0;right:0;height:0;pointer-events:none;z-index:0}.glow-orb{position:absolute;border-radius:50%;opacity:.15;filter:blur(40px);animation:8s ease-in-out infinite alternate glowFloat}.glow-orb-1{width:300px;height:300px;top:-50px;left:-50px;background:#d0bcff}.glow-orb-2{width:250px;height:250px;top:300px;right:-30px;background:#ffb3ad;animation-delay:-4s}@keyframes glowFloat{from{transform:translate(0,0) scale(1)}to{transform:translate(20px,10px) scale(1.1)}}.message-list{position:relative;z-index:1;padding:12px 16px 16px;display:flex;flex-direction:column;gap:10px}.msg-enter{animation:.35s cubic-bezier(.16,1,.3,1) msgSlideIn}@keyframes msgSlideIn{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.msg-opening{text-align:center;padding:0;margin:0 16px;border-radius:48px;border:1px solid rgba(255,255,255,.14);background:rgba(0,0,0,.72);backdrop-filter:blur(12px);box-shadow:0 4px 24px rgba(0,0,0,.4);animation:.8s cubic-bezier(.16,1,.3,1) sceneFadeIn}@keyframes sceneFadeIn{from{opacity:0;transform:translateY(12px) scale(.98);filter:blur(4px)}to{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}}.msg-opening-text{padding:15px 21px;font-style:italic;font-size:16px;line-height:24px;letter-spacing:0;color:rgba(255,255,255,.94);text-shadow:0 1px 3px rgba(0,0,0,.45)}.msg-opening-divider{display:none}.msg-narration{display:flex;justify-content:center;padding:0 16px;margin:12px 0}.msg-narration-bubble{display:inline-flex;flex-direction:column;align-items:center;border:1px solid rgba(68,71,72,.1);border-radius:48px;padding:15px 21px;max-width:90%;background:linear-gradient(158.26deg,rgba(42,42,42,.4) -.33%,rgba(42,42,42,0) 100.33%);backdrop-filter:blur(2px);font-size:16px;line-height:24px;letter-spacing:0;color:#c4c7c7;text-align:center;font-style:italic}.msg-narration--opening .msg-narration-bubble{border-color:rgba(255,255,255,.14);background:rgba(0,0,0,.72);backdrop-filter:blur(12px);box-shadow:0 4px 24px rgba(0,0,0,.4);color:rgba(255,255,255,.94);text-shadow:0 1px 3px rgba(0,0,0,.45);animation:.8s cubic-bezier(.16,1,.3,1) sceneFadeIn}.msg-system{text-align:center;font-size:11px;opacity:.35;padding:2px 0}.msg-agent{display:flex;align-items:flex-start;gap:12px;margin:24px 70px 0 16px}.msg-agent-avatar{width:38px;height:38px;border-radius:9999px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:13px;font-weight:700;flex-shrink:0;overflow:hidden;border:1px solid #d0bcff4d;background:#12121299;backdrop-filter:blur(10px)}.msg-agent-body{max-width:80%;min-width:0}.msg-agent-name{font-size:11px;font-weight:500;margin-bottom:4px;padding-left:8px}.msg-agent-bubble{padding:12px 16px;border-radius:0 16px 16px;font-size:16px;line-height:26px;word-break:break-word;border:1px solid #ffffff14;background:#12121299;backdrop-filter:blur(10px);color:#e5e2e1}.msg-user{display:flex;justify-content:flex-end;align-items:flex-start;gap:12px;margin:24px 16px 0}.msg-user-body{display:block;text-align:right;max-width:80%;min-width:0}.msg-user-name{font-size:11px;font-weight:500;padding-right:8px;color:#e5e2e1;display:none}.msg-user-bubble{display:inline-block;max-width:100%;padding:10px 14px;border-radius:16px 0 16px 16px;font-size:16px;line-height:24px;text-align:left;white-space:pre-wrap;word-break:break-word;color:#e5e2e1;background-image:linear-gradient(172.6deg,#571bc1 0,#d0bcff 100%);box-shadow:0 0 20px 0 #571bc14d}.msg-user-avatar{width:38px;height:38px;border-radius:9999px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:13px;font-weight:700;flex-shrink:0;overflow:hidden;border:1px solid #c9c6c54d;background:#12121299;backdrop-filter:blur(10px)}.typing-indicator{flex-shrink:0;display:flex;align-items:center;gap:12px;padding:0 16px;margin-top:32px}.typing-bar-wrap{display:flex;align-items:center;border-radius:9999px;background:#571bc166;padding-right:16px;overflow:hidden;flex-shrink:0}.typing-bar{width:16px;height:4px;border-radius:9999px;flex-shrink:0;background:#d0bcff}.typing-text{font-size:12px;line-height:16px;letter-spacing:.6px;color:#d0bcff}.typing-name{font-weight:500}.typing-dots{display:flex;gap:3px}.typing-dot{width:4px;height:4px;border-radius:50%;background:rgba(255,255,255,.4);animation:1.4s ease-in-out infinite typingBounce}.typing-dot:nth-child(2){animation-delay:.2s}.typing-dot:nth-child(3){animation-delay:.4s}@keyframes typingBounce{0%,100%,80%{transform:scale(.6);opacity:.3}40%{transform:scale(1);opacity:1}}.input-area{flex-shrink:0;padding:12px calc(16px + var(--safe-right)) calc(12px + var(--safe-bottom)) calc(16px + var(--safe-left));background:0 0;border-top:none;position:sticky;bottom:0;z-index:10}.input-row{display:flex;gap:8px;align-items:center;border:1px solid #ffffff14;border-radius:9999px;box-shadow:0 -10px 40px 0 #00000080;background:#0e0e0e99;padding:5px;backdrop-filter:blur(10px)}.input-action-btn{display:flex;align-items:center;justify-content:center;border-radius:9999px;background:#1c1b1b;width:40px;height:40px;border:none;font-size:16px;cursor:pointer;flex-shrink:0;transition:background .2s;color:#e0e0e0}.input-action-btn:hover{background:#2a2a2a}#messageInput{flex:1;background:0 0;border:none;padding:9px 8px 10px;font-size:16px;color:#e0e0e0;outline:0;min-width:0;letter-spacing:0}#messageInput::placeholder{color:#c4c7c780}.send-btn{display:flex;align-items:center;border-radius:9999px;background:#571bc1;border:none;color:#fff;font-size:16px;cursor:pointer;flex-shrink:0;transition:transform .15s,box-shadow .2s;padding:12px 11px;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a}.send-btn:hover{box-shadow:0 0 16px -2px rgba(87,27,193,.5);transform:translateY(-1px)}.send-btn:active{transform:scale(.95)}.send-btn:disabled{background:#571bc166;cursor:not-allowed;box-shadow:none;transform:none}.action-panel{display:flex;gap:8px;flex-wrap:nowrap;overflow-x:auto;padding:12px 0 16px;animation:.2s msgSlideIn;-webkit-overflow-scrolling:touch}.action-panel::-webkit-scrollbar{display:none}.action-chip{display:inline-flex;align-items:center;column-gap:8px;border:1px solid #ffffff0d;border-radius:9999px;background:#12121299;backdrop-filter:blur(10px);color:#e5e2e1;font-size:16px;font-weight:500;letter-spacing:0;cursor:pointer;transition:.15s;white-space:nowrap;height:38px;padding:5px 15px;flex-shrink:0}.action-chip svg{flex-shrink:0}.action-chip:hover{background:rgba(255,255,255,.08);color:rgba(255,255,255,.9)}.msg-persona{text-align:center;padding:12px 20px;font-size:13px;color:rgba(255,255,255,.6);background:rgba(139,92,246,.08);border:1px solid rgba(139,92,246,.12);border-radius:12px;margin:4px 0}.director-mode .chat-header{background:rgba(139,92,246,.15);border-bottom-color:rgba(139,92,246,.2)}.director-mode .header-btn-director,.header-btn-director.active{background:rgba(139,92,246,.3)}.whisper-hint{display:flex;align-items:center;gap:6px;padding:4px 12px;font-size:12px;color:rgba(255,255,255,.6);background:rgba(139,92,246,.1);border-bottom:1px solid rgba(139,92,246,.1)}.whisper-hint::before{content:'私聊';color:#a78bfa;font-weight:500}.whisper-cancel{margin-left:auto;background:0 0;border:none;color:rgba(255,255,255,.4);cursor:pointer;font-size:12px;padding:2px 4px}.whisper-cancel:hover{color:rgba(255,255,255,.8)}.msg-away{text-align:center;padding:8px 16px;font-size:12px;color:rgba(255,255,255,.35);border:1px dashed rgba(255,255,255,.08);border-radius:8px;margin:4px 0}.agent-whisper-btn{margin-left:auto;padding:3px 8px;border-radius:6px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04);color:rgba(255,255,255,.5);font-size:10px;cursor:pointer;transition:.15s}.agent-whisper-btn:hover{background:rgba(139,92,246,.15);color:#a78bfa;border-color:rgba(139,92,246,.3)}.msg-director{display:flex;justify-content:center;margin:33px 16px}.msg-director-bubble{display:flex;align-items:center;flex-wrap:nowrap;gap:8px;padding:11px 23px;border-radius:48px;border:1px solid #571bc166;background:#571bc133;font-size:14px;line-height:20px;color:#d0bcff;max-width:90%;text-align:left}.msg-director-bubble::before{content:'';display:inline-block;width:16px;height:16px;background-image:url("data:image/svg+xml,%3Csvg width='16' height='17' viewBox='0 0 24 24' fill='none' stroke='%23d0bcff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='2.18' ry='2.18'/%3E%3Cline x1='7' y1='2' x2='7' y2='22'/%3E%3Cline x1='17' y1='2' x2='17' y2='22'/%3E%3C/svg%3E");background-size:contain;background-repeat:no-repeat;flex-shrink:0}.msg-director-bubble .director-label{font-weight:500;white-space:nowrap;flex-shrink:0}.msg-director-bubble .director-text{white-space:normal;word-break:break-word}@media (max-width:640px){.lobby-container{padding:0 16px 32px}#homeTab.lobby-container{padding-left:0;padding-right:0}.brand-title{font-size:32px}.scene-grid{grid-template-columns:repeat(2,1fr);gap:10px;min-width:0}.scene-card-visual{min-height:320px;height:320px}.message-list{padding:8px 12px;gap:8px}.header-scene-name{font-size:20px;line-height:26px}.msg-agent{margin:16px 8px 0;gap:8px}.msg-agent-avatar{width:34px;height:34px;font-size:12px}.msg-agent-name{font-size:12px}.msg-agent-bubble{font-size:14px;line-height:22px;padding:10px 14px}.msg-agent-body{max-width:90%}.msg-user{margin:16px 8px 0;gap:8px}.msg-user-avatar{width:34px;height:34px;font-size:12px}.msg-user-body{max-width:90%}.msg-user-bubble{display:inline-block;max-width:100%;font-size:14px;line-height:22px;padding:10px 14px;text-align:left;white-space:pre-wrap;word-break:break-word}.msg-narration-bubble{font-size:14px;line-height:20px;padding:12px 18px}.msg-opening-text{font-size:14px;line-height:20px;padding:12px 18px;font-style:normal}.action-chip{font-size:14px;height:34px;padding:4px 12px}.glow-orb-1{width:180px;height:180px}.glow-orb-2{width:140px;height:140px}.input-area{padding-bottom:calc(8px + var(--safe-bottom))}.input-row{gap:6px}.input-action-btn,.send-btn{width:44px;height:44px}.typing-indicator{padding:0 calc(12px + var(--safe-right)) 0 calc(12px + var(--safe-left));margin-top:16px}.chat-header{padding-bottom:12px}.back-btn{width:40px;height:40px}#chatTab .profile-body{width:100%;max-width:100%;margin:0;align-self:stretch;align-items:stretch;padding-left:calc(12px + var(--safe-left));padding-right:calc(12px + var(--safe-right));box-sizing:border-box}#chatTabHeader.profile-page-header{padding-left:calc(12px + var(--safe-left));padding-right:calc(12px + var(--safe-right))}#chatTabHeader .brand-title{font-size:28px}.chat-session-list{width:100%;max-width:100%;align-self:stretch;min-width:0;padding:0 0 calc(16px + var(--safe-bottom));gap:0;box-sizing:border-box}.chat-session-item{padding:14px 10px;min-height:72px;border-radius:12px;-webkit-tap-highlight-color:transparent;touch-action:manipulation;max-width:100%;min-width:0}.chat-session-thumb{width:56px;height:56px;border-radius:12px}.chat-session-name{font-size:15px}.chat-session-preview{font-size:13px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}@media (min-width:641px) and (max-width:1024px){.scene-grid{grid-template-columns:repeat(3,1fr);gap:14px}.scene-card-visual{min-height:360px;height:360px}}@media (min-width:1025px){.scene-grid{grid-template-columns:repeat(4,1fr);gap:16px}.scene-card-visual{min-height:420px;height:420px}}@supports (height:100dvh){:root{--app-height:100dvh}body{min-height:100dvh}}#lobbyView{display:flex;flex-direction:column}#lobbyView.view.active{background:#131313}.tabbar{position:fixed;bottom:0;left:0;right:0;z-index:50;display:flex;align-items:stretch;box-sizing:border-box;height:calc(var(--tabbar-content-height) + var(--tabbar-safe-bottom));min-height:calc(var(--tabbar-content-height) + var(--tabbar-safe-bottom));padding-bottom:var(--tabbar-safe-bottom);background:#0e0e0e;border-top:1px solid rgba(255,255,255,.08);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.tab-item{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;height:100%;min-height:0;padding:0;background:0 0;border:none;color:rgba(255,255,255,.4);font-size:11px;font-family:inherit;cursor:pointer;transition:color .2s}.tab-item svg{width:22px;height:22px;opacity:.5;transition:opacity .2s,stroke .2s}.tab-badge{position:absolute;top:8px;right:calc(50% - 20px);width:8px;height:8px;border-radius:50%;background:#f59e0b;box-shadow:0 0 0 2px rgba(14,14,14,.9)}.tab-badge.hidden{display:none}.tab-item.active{color:#e5e2e1}.tab-item.active svg{opacity:1;stroke:#e5e2e1}.tab-content{display:none!important}.tab-content.active{display:flex!important}#lobbyView>.tab-content.active{flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable;padding-bottom:calc(var(--tabbar-content-height) + var(--tabbar-safe-bottom));box-sizing:border-box;background:#131313}#lobbyView>#chatTab.tab-content.active,#lobbyView>#profileTab.tab-content.active{display:flex!important;flex-direction:column;overflow:hidden;padding-bottom:0}#lobbyView>#chatTab.tab-content.active .profile-body,#lobbyView>#profileTab.tab-content.active #profileBody{flex:1;min-height:0;min-width:0;overflow-x:hidden;overflow-y:auto;align-items:stretch;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding-bottom:calc(var(--tabbar-content-height) + var(--tabbar-safe-bottom) + 12px)}#lobbyView>#homeTab.tab-content.active{overflow:hidden}#homeTab .home-scroll-body{padding-bottom:16px}#chatTab .profile-body{align-items:stretch;padding-left:calc(16px + var(--safe-left));padding-right:calc(16px + var(--safe-right));box-sizing:border-box}.chat-session-list{display:flex;flex-direction:column;gap:2px;width:100%;max-width:100%;min-width:0;align-self:stretch;padding:0 0 16px;box-sizing:border-box}.chat-session-item{display:flex;align-items:center;gap:12px;width:100%;max-width:100%;min-width:0;padding:12px 10px;border:none;border-radius:14px;background:0 0;color:inherit;font-family:inherit;text-align:left;cursor:pointer;transition:background .15s;box-sizing:border-box;-webkit-appearance:none;appearance:none}.chat-session-item:active,.chat-session-item:hover{background:rgba(255,255,255,.05)}.chat-session-item--disabled{opacity:.45;cursor:default}.chat-session-thumb{flex-shrink:0;width:52px;height:52px;border-radius:14px;overflow:hidden;background:rgba(255,255,255,.06)}.chat-session-thumb-cover,.chat-session-thumb-img{width:100%;height:100%;display:block;object-fit:cover;object-position:center top}.chat-session-thumb-fallback{width:100%;height:100%}.chat-session-body{flex:1;min-width:0;overflow:hidden}.chat-session-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px;min-width:0}.chat-session-name{flex:1;min-width:0;font-size:15px;font-weight:600;color:#e5e2e1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-session-time{flex-shrink:0;font-size:11px;color:rgba(255,255,255,.38)}.chat-session-preview{font-size:13px;line-height:1.4;color:rgba(255,255,255,.48);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0;min-width:0;max-width:100%}.chat-session-meta{margin-top:4px}.chat-session-badge{font-size:10px;padding:2px 7px;border-radius:999px;color:rgba(167,139,250,.9);background:rgba(167,139,250,.12);border:1px solid rgba(167,139,250,.2)}.lobby-container{padding-bottom:32px}#lobbyView .lobby-container{min-height:0;flex:1;padding-bottom:0}.profile-header{padding:32px 20px 16px;text-align:center}.profile-page-header{display:flex;align-items:center;justify-content:space-between;padding:calc(16px + var(--safe-top)) calc(20px + var(--safe-right)) 16px calc(20px + var(--safe-left));text-align:left;position:sticky;top:0;z-index:10;background:linear-gradient(180deg,#131313cc 0,#13131300 100%);backdrop-filter:blur(6px)}.profile-page-header .lobby-header-brand{align-items:flex-start}.profile-body{flex:none;display:flex;flex-direction:column;align-items:center;padding:8px 20px 24px;width:100%}.profile-footer{align-self:stretch;width:100%;max-width:360px;margin:32px auto 0;padding-top:24px;padding-bottom:8px;gap:12px;border-top:1px solid rgba(255,255,255,.06)}.profile-footer .footer-nav{flex-wrap:wrap;gap:12px 20px}.profile-footer .footer-copy{margin:0}.profile-section{display:flex;flex-direction:column;align-items:center;width:100%;max-width:360px}.profile-user-row{display:flex;align-items:center;gap:16px;width:100%;margin-bottom:16px}.profile-user-row .profile-avatar{width:64px;height:64px;flex-shrink:0;margin-bottom:0}.profile-user-row .profile-info{flex:1;min-width:0;text-align:left;margin-bottom:0}.profile-user-row .profile-email,.profile-user-row .profile-nickname{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-avatar{width:80px;height:80px;border-radius:50%;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;margin-bottom:20px}.profile-info{text-align:center;margin-bottom:28px}.profile-nickname{font-size:20px;font-weight:600;color:#e0e0e0;margin-bottom:4px}.profile-email{font-size:13px;color:rgba(255,255,255,.4)}.profile-stats{display:flex;gap:28px;margin-bottom:36px;flex-wrap:wrap;justify-content:center}.profile-stat{display:flex;flex-direction:column;align-items:center;gap:4px}.stat-value{font-size:24px;font-weight:700;color:#e5e2e1}.stat-label{font-size:12px;color:rgba(255,255,255,.4)}.profile-logout-btn{width:100%;max-width:280px;padding:14px;font-size:15px;font-weight:500;color:rgba(255,255,255,.7);background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:12px;cursor:pointer;transition:background .2s,color .2s;font-family:inherit}.profile-logout-btn:hover{background:rgba(255,255,255,.1);color:#fff}.profile-guest-text{font-size:14px;color:rgba(255,255,255,.4);margin-bottom:24px}.profile-login-btn{display:inline-block;padding:14px 48px;font-size:15px;font-weight:600;background:#e5e2e1;color:#2a2827;border-radius:12px;text-decoration:none;transition:opacity .2s}.profile-login-btn:hover{opacity:.9}.profile-hub{width:100%;max-width:360px;margin-top:4px}.profile-my-scenes{width:100%;padding-top:16px;padding-bottom:8px}.profile-settings-logout{margin-top:24px}.profile-setting-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:14px 16px;margin-bottom:12px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:12px}.profile-setting-row-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.profile-setting-row-label{font-size:15px;font-weight:500;color:#e5e2e1}.profile-setting-row-desc{font-size:12px;line-height:1.45;color:rgba(255,255,255,.45)}.profile-switch{position:relative;flex-shrink:0;width:46px;height:28px}.profile-switch input{opacity:0;width:0;height:0;position:absolute}.profile-switch-slider{position:absolute;inset:0;background:rgba(255,255,255,.15);border-radius:999px;transition:background .2s;cursor:pointer}.profile-switch-slider::before{content:'';position:absolute;left:3px;top:3px;width:22px;height:22px;background:#fff;border-radius:50%;transition:transform .2s;box-shadow:0 1px 3px rgba(0,0,0,.3)}.profile-switch input:checked+.profile-switch-slider{background:rgba(167,139,250,.85)}.profile-switch input:checked+.profile-switch-slider::before{transform:translateX(18px)}.profile-switch input:disabled+.profile-switch-slider{opacity:.45;cursor:not-allowed}.profile-menu{display:flex;flex-direction:column;gap:8px;width:100%}.profile-menu-item{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;padding:14px 16px;text-align:left;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:12px;cursor:pointer;font-family:inherit;transition:background .2s}.profile-menu-item:hover{background:rgba(255,255,255,.07)}.profile-menu-label{font-size:15px;font-weight:500;color:#e5e2e1}.profile-menu-desc{font-size:12px;color:rgba(255,255,255,.45)}#profileMain{width:100%;max-width:360px;display:flex;flex-direction:column}.profile-main-billing{width:100%;margin:0 0 16px}.profile-billing-entry{display:flex;align-items:center;gap:10px;width:100%;margin:0 0 16px;padding:14px 16px;text-align:left;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:12px;cursor:pointer;font-family:inherit;transition:background .2s,border-color .3s,box-shadow .3s}.profile-billing-entry:hover{background:rgba(255,255,255,.07)}.profile-billing-entry.billing-card-highlight{border-color:rgba(167,139,250,.65);box-shadow:0 0 0 2px rgba(167,139,250,.2),0 8px 24px rgba(0,0,0,.25)}.profile-billing-entry-icon{flex-shrink:0;font-size:18px;color:rgba(208,188,255,.75)}.profile-billing-entry-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.profile-billing-entry-label{font-size:15px;font-weight:500;color:#e5e2e1}.profile-billing-entry-desc{font-size:12px;color:rgba(255,255,255,.45)}.profile-billing-entry-status{flex-shrink:0;font-size:11px}.profile-billing-entry-arrow{flex-shrink:0;font-size:20px;line-height:1;color:rgba(255,255,255,.35)}.profile-subpages{position:fixed;inset:0;z-index:60;display:flex;flex-direction:column;background:#131313;text-align:left;overflow:hidden}.profile-subpages.hidden{display:none!important}#lobbyView.profile-subpage-open .tabbar{display:none}.profile-subpages-body{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:16px 20px calc(24px + env(safe-area-inset-bottom,0));max-width:420px;width:100%;margin:0 auto}.profile-subheader{display:flex;align-items:center;gap:12px;flex-shrink:0;padding:calc(16px + var(--safe-top)) calc(16px + var(--safe-right)) 16px calc(16px + var(--safe-left));margin-bottom:0;border-bottom:1px solid rgba(255,255,255,.08);background:#131313}.profile-sub-back{width:44px;height:44px;border:none;border-radius:10px;background:rgba(255,255,255,.06);color:rgba(255,255,255,.8);font-size:18px;cursor:pointer;font-family:inherit;display:flex;align-items:center;justify-content:center;flex-shrink:0;-webkit-tap-highlight-color:transparent}.profile-sub-title{flex:1;font-size:17px;font-weight:600;color:#e5e2e1;min-width:0}.profile-sub-action{flex-shrink:0;border:none;background:0 0;padding:6px 4px;font-size:14px;font-weight:500;color:#a78bfa;cursor:pointer;font-family:inherit}.profile-sub-action:hover{color:#c4b5fd}.report-history-list{display:flex;flex-direction:column;gap:10px}.report-history-card{padding:12px 14px;border-radius:12px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}.report-history-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.report-history-id{font-size:13px;font-weight:600;color:rgba(255,255,255,.75)}.report-history-status{font-size:12px;padding:2px 8px;border-radius:999px;font-weight:500}.report-history-status-pending{color:#fbbf24;background:rgba(251,191,36,.12)}.report-history-status-resolved{color:#34d399;background:rgba(52,211,153,.12)}.report-history-status-dismissed{color:rgba(255,255,255,.55);background:rgba(255,255,255,.08)}.report-history-reason{font-size:14px;color:#e5e2e1;line-height:1.45;margin:0 0 6px}.report-history-content{font-size:12px;color:rgba(255,255,255,.5);line-height:1.4;margin:0 0 6px}.report-history-meta,.report-history-time{font-size:12px;color:rgba(255,255,255,.4);margin:0}.report-history-time{margin-top:4px}.profile-subpage{width:100%}.profile-readonly-label{font-size:12px;color:rgba(255,255,255,.45);margin:16px 0 4px}.profile-readonly-value{font-size:14px;color:rgba(255,255,255,.75);margin-bottom:16px}.profile-section-title{font-size:14px;font-weight:600;color:rgba(255,255,255,.85);margin:20px 0 12px}.profile-block{margin-top:8px}.profile-block-hint{font-size:12px;color:rgba(255,255,255,.45);margin:-6px 0 12px;line-height:1.5}.profile-block-note{margin-top:-4px;color:rgba(255,255,255,.38)}.profile-field{margin-bottom:12px}.profile-label{display:block;font-size:12px;color:rgba(255,255,255,.5);margin-bottom:6px}.profile-label-required::after{content:' *';color:#f87171}.profile-input{width:100%;padding:10px 12px;font-size:14px;color:#e0e0e0;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:10px;outline:0;font-family:inherit}.profile-textarea{resize:vertical;min-height:56px}.profile-code-row{display:flex;align-items:center;gap:8px}.profile-code-row .profile-input{flex:1;min-width:0;width:auto}.profile-code-row .profile-code-send-btn{width:auto;flex:0 0 auto;margin-top:0;padding:10px 12px;white-space:nowrap}.profile-save-btn,.profile-secondary-btn{width:100%;padding:11px;font-size:14px;font-weight:500;border-radius:10px;cursor:pointer;font-family:inherit;margin-top:4px}.profile-save-btn{color:#2a2827;background:#e5e2e1;border:none}.profile-secondary-btn{color:rgba(255,255,255,.8);background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12)}.profile-block-danger{margin-top:24px;display:flex;flex-direction:column;gap:10px}.profile-danger-btn{width:100%;padding:11px;font-size:14px;color:#fca5a5;background:rgba(239,68,68,.08);border:1px solid rgba(239,68,68,.25);border-radius:10px;cursor:pointer;font-family:inherit}.persona-edit-card{max-width:420px}.persona-edit-hint{font-size:13px;color:rgba(255,255,255,.5);line-height:1.6;margin-bottom:14px}.persona-edit-input{width:100%;padding:12px;font-size:14px;line-height:1.6;color:#e0e0e0;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:10px;resize:vertical;font-family:inherit;margin-bottom:14px}.persona-cancel-btn{display:block;width:100%;margin-top:10px;padding:10px;font-size:13px;color:rgba(255,255,255,.5);background:0 0;border:none;cursor:pointer;font-family:inherit}.pwa-install-banner{position:fixed;bottom:calc(56px + env(safe-area-inset-bottom,0px));left:12px;right:12px;z-index:150;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:#1a1a2e;border:1px solid rgba(255,255,255,.12);border-radius:14px;box-shadow:0 8px 32px rgba(0,0,0,.4)}.pwa-install-banner.hidden{display:none}.pwa-install-banner p{flex:1;font-size:13px;line-height:1.45;color:rgba(255,255,255,.75);margin:0}.pwa-install-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.pwa-install-btn{padding:8px 14px;font-size:13px;font-weight:600;color:#2a2827;background:#e5e2e1;border:none;border-radius:8px;cursor:pointer;font-family:inherit}.pwa-install-dismiss{width:32px;height:32px;border:none;background:0 0;color:rgba(255,255,255,.5);font-size:20px;cursor:pointer;font-family:inherit}.onboarding-overlay{position:fixed;inset:0;z-index:250;background:rgba(0,0,0,.75);display:flex;align-items:center;justify-content:center;padding:24px}.onboarding-overlay.hidden{display:none}.onboarding-card{width:100%;max-width:340px;background:#1a1a2e;border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:28px 24px}.onboarding-card h3{font-size:18px;color:#e5e2e1;margin-bottom:12px}.onboarding-card p{font-size:14px;line-height:1.65;color:rgba(255,255,255,.55);margin-bottom:24px}.onboarding-actions{display:flex;gap:10px}.onboarding-actions .login-prompt-primary,.onboarding-actions .login-prompt-secondary{flex:1}.header-btn.share-active{color:#e5e2e1;background:rgba(255,255,255,.12)}.message-list.share-mode .msg-shareable{position:relative;cursor:pointer;border-radius:12px;transition:background .15s,box-shadow .15s}.message-list.share-mode .msg-shareable.msg-selected::before{content:attr(data-share-order);position:absolute;top:8px;left:8px;z-index:2;width:22px;height:22px;border-radius:50%;background:rgba(99,102,241,.9);color:#fff;font-size:12px;font-weight:700;line-height:22px;text-align:center;box-shadow:0 2px 8px rgba(99,102,241,.45);pointer-events:none}.message-list.share-mode .msg-shareable:active{background:rgba(255,255,255,.04)}.msg-shareable.msg-selected{background:rgba(99,102,241,.12);box-shadow:inset 0 0 0 2px rgba(99,102,241,.55)}.share-selection-bar{position:absolute;left:12px;right:12px;bottom:calc(72px + env(safe-area-inset-bottom,0px));z-index:40;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:rgba(20,20,30,.95);border:1px solid rgba(255,255,255,.1);border-radius:14px;backdrop-filter:blur(12px)}.share-selection-bar.hidden{display:none}.share-selection-hint{font-size:13px;color:rgba(255,255,255,.65);flex:1;min-width:0}.share-selection-actions{display:flex;gap:8px;flex-shrink:0}.share-selection-cancel{padding:8px 12px;font-size:13px;color:rgba(255,255,255,.6);background:0 0;border:1px solid rgba(255,255,255,.15);border-radius:8px;cursor:pointer;font-family:inherit}.share-selection-generate{padding:8px 14px;font-size:13px;font-weight:600;color:#2a2827;background:#e5e2e1;border:none;border-radius:8px;cursor:pointer;font-family:inherit}.share-selection-generate:disabled{opacity:.4;cursor:not-allowed}.share-selection-generate.is-loading{opacity:.75;cursor:wait}.share-card-overlay{position:fixed;inset:0;z-index:300;background:rgba(0,0,0,.82);display:flex;align-items:center;justify-content:center;padding:16px}.share-card-overlay.hidden{display:none}.share-card-modal{width:100%;max-width:420px;max-height:92vh;display:flex;flex-direction:column;gap:14px;position:relative}.share-card-close{position:absolute;top:-8px;right:0;width:36px;height:36px;border:none;background:rgba(255,255,255,.08);color:rgba(255,255,255,.7);font-size:22px;border-radius:50%;cursor:pointer;z-index:2;font-family:inherit}.share-card-preview-wrap{flex:1;min-height:0;overflow:auto;border-radius:12px;background:#111;line-height:0;max-width:min(380px,72vw);margin:0 auto;aspect-ratio:9/16}.share-card-preview-wrap canvas{width:100%;height:100%;display:block;border-radius:12px;object-fit:contain}.share-card-actions{display:flex;flex-wrap:wrap;gap:8px}.share-card-btn{flex:1;min-width:100px;padding:12px 14px;font-size:14px;font-weight:500;color:rgba(255,255,255,.85);background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:10px;cursor:pointer;font-family:inherit}.share-card-btn-primary{color:#2a2827;background:#e5e2e1;border-color:transparent}.input-model-btn{flex-shrink:0;min-width:52px;height:40px;padding:0 10px;font-size:12px;font-weight:600;color:rgba(255,255,255,.65);background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:10px;cursor:pointer;font-family:inherit;transition:background .2s,color .2s,border-color .2s}.input-model-btn.model-premium{color:#fbbf24;border-color:rgba(251,191,36,.35);background:rgba(251,191,36,.1)}.billing-summary{margin-bottom:20px;padding:16px;background:rgba(255,255,255,.04);border-radius:14px;border:1px solid rgba(255,255,255,.08)}.billing-status-row{display:grid;grid-template-columns:1.2fr 0.9fr 0.9fr;gap:8px;align-items:center;margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.08)}.billing-status-label{grid-column:1;font-size:13px;color:rgba(255,255,255,.5)}.billing-status-badge{grid-column:3;justify-self:end;font-size:13px;font-weight:600;color:#e5e2e1;padding:5px 12px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);white-space:nowrap}.billing-status-badge.is-member{color:#fbbf24;background:rgba(251,191,36,.12);border-color:rgba(251,191,36,.35)}.billing-compare{display:flex;flex-direction:column;gap:0}.billing-compare-head,.billing-compare-row{display:grid;grid-template-columns:1.2fr 0.9fr 0.9fr;gap:8px;align-items:center}.billing-compare-head{padding-bottom:8px;margin-bottom:4px;border-bottom:1px solid rgba(255,255,255,.06)}.billing-compare-head span{font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:rgba(255,255,255,.35)}.billing-compare-col{text-align:center}.billing-compare-col-member{text-align:right;color:rgba(251,191,36,.85)!important}.billing-compare-row{padding:10px 0;border-bottom:1px solid rgba(255,255,255,.04)}.billing-compare-row:last-child{border-bottom:none;padding-bottom:0}.billing-compare-feature{font-size:13px;color:rgba(255,255,255,.72);line-height:1.4}.billing-compare-val{font-size:12px;line-height:1.45;color:rgba(255,255,255,.45);text-align:center}.billing-compare-row .billing-compare-val:last-child{text-align:right}.billing-compare-val.is-highlight{color:#86efac;font-weight:600}.billing-compare-val.is-member-val{color:rgba(251,191,36,.9);font-weight:600}.billing-compare-val.is-muted{color:rgba(255,255,255,.28)}.billing-row{display:flex;justify-content:space-between;align-items:center;font-size:14px;color:rgba(255,255,255,.55);margin:0 0 10px}.billing-row strong{color:#e5e2e1;font-weight:600}.billing-hint{font-size:12px;line-height:1.5;color:rgba(255,255,255,.4);margin:12px 0 0}.billing-section-title{font-size:13px;font-weight:600;color:rgba(255,255,255,.75);margin:16px 0 10px}.billing-btn-group{display:flex;flex-direction:column;gap:8px}.billing-plan-btn{width:100%;padding:12px 14px;text-align:left;font-size:14px;color:#e5e2e1;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:10px;cursor:pointer;font-family:inherit}.billing-plan-btn:disabled{opacity:.4;cursor:not-allowed}.billing-plan-btn small{display:block;font-size:12px;color:rgba(255,255,255,.45);margin-top:2px}.billing-disabled-hint{font-size:13px;color:rgba(255,255,255,.45);text-align:center;padding:16px 0}.billing-disabled-hint.hidden{display:none}.studio-section-header{grid-column:1/-1;font-size:13px;font-weight:600;color:rgba(255,255,255,.45);margin:8px 0 4px;padding-left:4px}.scene-card-badge{position:absolute;top:10px;right:10px;padding:4px 8px;font-size:11px;font-weight:600;color:#fbbf24;background:rgba(251,191,36,.15);border:1px solid rgba(251,191,36,.3);border-radius:6px}.scene-card-visual{position:relative}.studio-toolbar{display:flex;gap:8px;margin-bottom:12px}.studio-toolbar .profile-secondary-btn{flex:1}.studio-scene-list{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}.studio-scene-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:10px;cursor:pointer;text-align:left;font-family:inherit;color:inherit}.studio-scene-item strong{display:block;font-size:14px;color:#e5e2e1}.studio-scene-item small{font-size:12px;color:rgba(255,255,255,.45)}.studio-editor{margin-bottom:20px}.studio-editor-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.studio-editor-actions .profile-danger-btn,.studio-editor-actions .profile-save-btn,.studio-editor-actions .profile-secondary-btn{flex:1;min-width:80px}.studio-imports,.studio-listings{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}.studio-import-item,.studio-listing-item{padding:10px 12px;background:rgba(255,255,255,.04);border-radius:8px;font-size:13px;color:rgba(255,255,255,.7)}.studio-listing-item code{font-family:monospace;color:#fbbf24;font-size:14px}.studio-listing-form{margin-bottom:12px;display:flex;flex-direction:column;gap:8px}.studio-editor.hidden,.studio-listing-form.hidden{display:none}.report-modal-overlay{position:fixed;inset:0;z-index:1200;background:rgba(0,0,0,.72);display:flex;align-items:center;justify-content:center;padding:20px}.report-modal-overlay.hidden{display:none}.report-modal{position:relative;width:min(420px,100%);background:rgba(18,18,28,.98);border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:24px 20px 20px;box-shadow:0 24px 64px rgba(0,0,0,.5)}.report-modal h3{font-size:18px;font-weight:600;margin-bottom:8px}.report-modal-hint{font-size:13px;color:rgba(255,255,255,.55);margin-bottom:12px;line-height:1.5}.report-preview{max-height:120px;overflow-y:auto;padding:10px 12px;margin-bottom:12px;background:rgba(255,255,255,.05);border-radius:10px;font-size:13px;color:rgba(255,255,255,.75);white-space:pre-wrap;word-break:break-word}.report-modal-actions{display:flex;gap:10px;margin-top:14px}.report-modal-actions .profile-save-btn,.report-modal-actions .profile-secondary-btn{flex:1}.report-modal-close{position:absolute;top:10px;right:12px;background:0 0;border:none;color:rgba(255,255,255,.5);font-size:24px;line-height:1;cursor:pointer}.profile-stats-compact{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin-bottom:16px;padding:14px 16px;border-radius:12px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}.profile-stats-compact .profile-stat{align-items:flex-start}.profile-stat-diamond{flex:1}.profile-checkin-btn{flex-shrink:0;padding:10px 14px;border-radius:10px;border:1px solid rgba(167,139,250,.35);background:rgba(167,139,250,.12);color:#c4b5fd;font-size:13px;font-weight:600;cursor:pointer}.profile-checkin-btn:disabled{opacity:.55;cursor:default}.profile-billing-card{margin-bottom:16px;padding:14px;border-radius:12px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);transition:border-color .3s,box-shadow .3s}.profile-billing-card.billing-card-highlight{border-color:rgba(167,139,250,.65);box-shadow:0 0 0 2px rgba(167,139,250,.2),0 8px 24px rgba(0,0,0,.25)}.input-model-btn.model-locked:not(.model-premium){opacity:.85}.profile-my-scenes-head{display:flex;align-items:center;justify-content:space-between;display:flex;align-items:center;gap:8px;margin-bottom:10px}.profile-my-scenes-head h3{font-size:15px;font-weight:600;color:#e5e2e1;flex:1;margin:0}.profile-my-scenes-quota{font-size:12px;color:rgba(255,255,255,.45);min-width:2.5em;text-align:right}.my-scenes-create-btn{padding:6px 12px;border-radius:999px;border:1px solid rgba(139,92,246,.35);background:rgba(139,92,246,.14);color:#d0bcff;font-size:12px;font-weight:600;cursor:pointer}.my-scenes-empty-card{grid-column:1/-1;padding:28px 20px;border-radius:16px;border:1px dashed rgba(255,255,255,.12);background:rgba(255,255,255,.03);text-align:center}.my-scenes-empty-icon{font-size:28px;color:rgba(208,188,255,.6);margin-bottom:10px}.my-scenes-empty-card h4{margin:0 0 8px;font-size:15px;font-weight:600;color:#e5e2e1}.my-scenes-empty-card p{margin:0 0 16px;font-size:12px;line-height:1.55;color:rgba(255,255,255,.48)}.my-scenes-empty-btn{padding:10px 18px;border:none;border-radius:999px;background:linear-gradient(135deg,#8b5cf6,#6d28d9);color:#fff;font-size:13px;font-weight:600;cursor:pointer;box-shadow:0 6px 20px rgba(109,40,217,.28)}.my-scenes-content{min-height:168px}.my-scenes-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.my-scene-card{padding:0;border-radius:12px;background:0 0;border:1px solid rgba(255,255,255,.08);text-align:left;cursor:pointer;color:inherit;font:inherit;overflow:hidden;transition:transform .2s,border-color .2s}.my-scene-card:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.14)}.my-scene-card.banned{opacity:.55;border-color:rgba(239,68,68,.35)}.my-scene-card-visual{min-height:148px;display:flex;flex-direction:column;justify-content:flex-end;position:relative;padding:10px;background-size:cover;background-position:center top}.my-scene-card-visual::after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#0a0a0acc 0,#0a0a0a55 35%,#0a0a0a00 58%);z-index:1}.my-scene-card-content{position:relative;z-index:2}.my-scene-card-name{font-size:14px;font-weight:600;margin-bottom:4px;font-family:'Playfair Display','Noto Serif SC',serif;color:#e5e2e1}.my-scene-card-tag{font-size:11px;color:rgba(255,255,255,.72)}.my-scene-card-banned{color:#f87171;margin-top:4px}.profile-settings-entry{margin-top:8px}.chat-more-wrap{position:relative}.chat-more-menu{position:absolute;top:calc(100% + 6px);right:0;min-width:168px;background:#1a1a1f;border:1px solid rgba(255,255,255,.1);border-radius:10px;padding:6px;z-index:60;box-shadow:0 8px 24px rgba(0,0,0,.4)}.chat-more-menu.hidden{display:none}.chat-more-item{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border:none;background:0 0;color:#e5e2e1;text-align:left;font-size:14px;border-radius:8px;cursor:pointer}.chat-more-icon{flex:0 0 18px;display:inline-flex;align-items:center;justify-content:center;opacity:.88}.chat-more-label{flex:1}.chat-more-item-stack .chat-more-text{gap:2px}.chat-more-hint{font-size:11px;line-height:1.35;color:rgba(255,255,255,.38)}.privacy-sheet-card{max-width:400px}.privacy-sheet-current{font-size:13px;color:rgba(167,139,250,.95);margin:-6px 0 14px;line-height:1.5}.privacy-sheet-modes{display:flex;flex-direction:column;gap:10px;margin-bottom:14px}.privacy-sheet-mode{padding:12px 14px;border-radius:12px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04)}.privacy-sheet-mode.is-active{border-color:rgba(167,139,250,.45);background:rgba(139,92,246,.1)}.privacy-sheet-mode h4{font-size:14px;color:#e5e2e1;margin:0 0 6px;font-weight:600}.privacy-sheet-mode p{font-size:13px;line-height:1.55;color:rgba(255,255,255,.58);margin:0}.privacy-sheet-mode .privacy-mode-note{margin-top:6px;font-size:12px;color:rgba(255,255,255,.4)}.privacy-sheet-disclaimer{font-size:12px;line-height:1.55;color:rgba(255,255,255,.42);margin-bottom:18px}.privacy-guide-list{display:flex;flex-direction:column;gap:12px;width:100%}.privacy-guide-card{padding:14px 16px;border-radius:12px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04);text-align:left}.privacy-guide-card h4{font-size:15px;color:#e5e2e1;margin:0 0 8px;font-weight:600}.privacy-guide-card p{font-size:13px;line-height:1.6;color:rgba(255,255,255,.62);margin:0}.privacy-guide-note{margin-top:8px!important;font-size:12px!important;color:rgba(255,255,255,.4)!important}.privacy-guide-server{border-left:3px solid rgba(139,92,246,.7)}.privacy-guide-private{border-left:3px solid rgba(34,197,94,.7)}.privacy-guide-incognito{border-left:3px solid rgba(251,191,36,.7)}.privacy-ai-details{width:100%;margin-top:16px;padding:12px 14px;border-radius:12px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.03);text-align:left}.privacy-ai-details summary{font-size:13px;font-weight:600;color:rgba(255,255,255,.72);cursor:pointer;list-style:none}.privacy-ai-details summary::-webkit-details-marker{display:none}.privacy-ai-details p{margin-top:10px;font-size:12px;line-height:1.6;color:rgba(255,255,255,.48)}.my-scene-card-badge{position:absolute;top:8px;right:8px;z-index:2;display:inline-block;padding:2px 8px;font-size:10px;font-weight:600;border-radius:999px}.my-scene-card-badge--private{color:rgba(255,255,255,.72);background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14)}.my-scene-card-badge--public{color:rgba(134,239,172,.9);background:rgba(34,197,94,.12);border:1px solid rgba(34,197,94,.25)}.chat-more-text{flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0}.chat-more-sublabel{font-size:12px;color:rgba(255,255,255,.45)}.chat-more-item.model-premium .chat-more-icon,.chat-more-sublabel.model-premium-text{color:#c4b5fd}.chat-more-item.model-locked .chat-more-sublabel::after{content:' · 🔒';font-size:11px}.chat-more-item:hover{background:rgba(255,255,255,.06)}.chat-more-footer{border-top:1px solid rgba(255,255,255,.1);margin-top:4px;padding-top:4px}.chat-more-item-danger{color:#fca5a5!important;font-weight:600;background:rgba(248,113,113,.08)}.chat-more-item-danger .chat-more-icon{color:#f87171}.chat-more-item-danger:hover{background:rgba(248,113,113,.16)!important}.chat-more-item-danger .chat-more-label{font-size:15px}.scene-editor-view{background:#0e0e0e;z-index:40;display:flex;flex-direction:column}.scene-editor-header{display:flex;align-items:center;gap:12px;padding:calc(12px + var(--safe-top)) calc(16px + var(--safe-right)) 12px calc(16px + var(--safe-left));border-bottom:1px solid rgba(255,255,255,.08);flex-shrink:0;background:rgba(14,14,14,.92);backdrop-filter:blur(12px)}.scene-editor-header-main{display:flex;flex-direction:column;align-items:center;gap:2px;flex:1;min-width:0}.scene-editor-quota{font-size:11px;color:rgba(255,255,255,.42)}.scene-editor-progress-wrap{flex-shrink:0;padding:8px 16px 10px;border-bottom:1px solid rgba(255,255,255,.06);background:rgba(14,14,14,.85)}.scene-editor-progress-label{display:flex;justify-content:space-between;font-size:11px;color:rgba(255,255,255,.42);margin-bottom:6px}.scene-editor-progress-track{height:4px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden}.scene-editor-progress-bar{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#8b5cf6,#a78bfa);transition:width .25s}.editor-intro{margin-bottom:14px;padding:14px 16px;border-radius:14px;border:1px solid rgba(139,92,246,.22);background:linear-gradient(135deg,rgba(139,92,246,.12),rgba(109,40,217,.06))}.editor-intro h4{margin:0 0 6px;font-size:14px;font-weight:600;color:#e5e2e1}.editor-intro p{margin:0;font-size:12px;line-height:1.55;color:rgba(255,255,255,.58)}.scene-editor-save-footer:disabled,.scene-editor-save:disabled{opacity:.6;cursor:wait}.scene-editor-enter-footer{width:100%;margin-bottom:8px;padding:13px;border-radius:14px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:#e5e2e1;font-size:14px;font-weight:600;cursor:pointer}.scene-editor-enter-footer:disabled{opacity:.6;cursor:wait}.scene-editor-header .back-btn{margin-right:0}.scene-editor-header #sceneEditorTitle{font-size:15px;font-weight:600;color:#e5e2e1}.scene-editor-save{padding:8px 14px;border-radius:999px;border:none;background:rgba(139,92,246,.25);color:#d0bcff;font-weight:600;font-size:13px;cursor:pointer}.scene-editor-body{flex:1;min-height:0;padding:16px 16px 24px;overflow-y:auto}.scene-editor-footer{flex-shrink:0;padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));border-top:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,rgba(14,14,14,0) 0,rgba(14,14,14,.96) 24%);display:flex;flex-direction:column;gap:8px}.scene-editor-publish-footer{width:100%;padding:12px;border-radius:12px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:#e5e2e1;font-size:14px;font-weight:600;cursor:pointer}.scene-editor-publish-status{font-size:12px;color:rgba(255,255,255,.55);text-align:center}.scene-card-badge-community{background:rgba(34,197,94,.22);color:#86efac;border:1px solid rgba(34,197,94,.35)}.my-scene-card-publish{font-size:11px;margin-top:4px;color:rgba(255,255,255,.65)}.scene-editor-save-footer{width:100%;padding:14px;border:none;border-radius:14px;background:linear-gradient(135deg,#8b5cf6,#6d28d9);color:#fff;font-size:15px;font-weight:600;cursor:pointer;box-shadow:0 8px 24px rgba(109,40,217,.35)}.scene-editor-save-footer:active{transform:scale(.98)}.editor-hero{position:relative;border-radius:16px;overflow:hidden;margin-bottom:16px;border:1px solid rgba(255,255,255,.1);min-height:200px;cursor:pointer}.editor-hero.has-image{cursor:default}.editor-hero-upload-hint{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:rgba(255,255,255,.55);font-size:12px;pointer-events:none}.editor-hero-upload-hint svg{opacity:.7}.editor-hero-bg{position:absolute;inset:0;background-size:cover;background-position:center top;transition:background .25s}.editor-hero-content{position:relative;z-index:2;padding:16px;min-height:200px;display:flex;flex-direction:column;justify-content:flex-end;background:linear-gradient(0deg,rgba(10,10,10,.92) 0,rgba(10,10,10,.35) 45%,rgba(10,10,10,.08) 100%)}.editor-hero.has-image .editor-hero-content{background:linear-gradient(0deg,rgba(10,10,10,.92) 0,rgba(10,10,10,.35) 38%,rgba(10,10,10,0) 58%)}.editor-hero-badge{align-self:flex-start;margin-bottom:auto;padding:3px 10px;border-radius:999px;font-size:10px;font-weight:600;color:rgba(134,239,172,.95);background:rgba(34,197,94,.14);border:1px solid rgba(34,197,94,.28)}.editor-hero-title{font-family:'Playfair Display','Noto Serif SC',serif;font-size:22px;font-weight:700;color:#e5e2e1;line-height:1.25}.editor-hero-tagline.is-placeholder,.editor-hero-title.is-placeholder{opacity:.45}.editor-hero-tagline{margin-top:6px;font-size:13px;color:rgba(255,255,255,.72);line-height:1.45}.editor-hero-upload{position:absolute;top:12px;right:12px;z-index:3;display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.16);background:rgba(0,0,0,.45);backdrop-filter:blur(8px);color:#e5e2e1;font-size:12px;font-weight:500;cursor:pointer}.editor-hero-upload:disabled{opacity:.6;cursor:wait}.editor-hero-clear{position:absolute;top:52px;right:12px;z-index:3;width:28px;height:28px;border-radius:999px;border:1px solid rgba(255,255,255,.16);background:rgba(0,0,0,.5);color:#e5e2e1;font-size:16px;line-height:1;cursor:pointer}.editor-section{margin-bottom:14px;padding:14px;border-radius:14px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.07)}.editor-section-title{margin:0 0 12px;font-size:13px;font-weight:600;letter-spacing:.3px;color:rgba(208,188,255,.92);text-transform:uppercase}.editor-section-title-inline{margin-bottom:4px}.editor-field-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.editor-char-count{font-size:11px;color:rgba(255,255,255,.35)}.editor-field-hint{margin:6px 0 0;font-size:11px;line-height:1.45;color:rgba(255,255,255,.38)}.editor-agent-card.is-error .profile-input,.profile-field.is-error .profile-input{border-color:rgba(248,113,113,.65);box-shadow:0 0 0 1px rgba(248,113,113,.2)}.editor-agent-card.is-error{border-color:rgba(248,113,113,.45)}.editor-hue-row{display:flex;align-items:center;gap:12px}.editor-hue-swatch{width:28px;height:28px;border-radius:999px;border:2px solid rgba(255,255,255,.2);flex-shrink:0;transition:background .2s}.editor-hue-range{flex:1;accent-color:#8b5cf6}.editor-hue-value{font-size:12px;color:rgba(255,255,255,.5);min-width:36px;text-align:right}.scene-editor-agents-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.editor-agents-count{display:block;font-size:11px;color:rgba(255,255,255,.4);margin-top:2px}.editor-add-agent-btn{flex-shrink:0;padding:8px 12px;border-radius:999px;border:1px solid rgba(139,92,246,.35);background:rgba(139,92,246,.12);color:#d0bcff;font-size:12px;font-weight:600;cursor:pointer}.editor-character-search{margin-bottom:12px}.editor-character-search-row{display:flex;gap:8px;align-items:center}.editor-character-search-input{flex:1;margin-bottom:0}.editor-character-search-btn{flex-shrink:0;padding:10px 14px;border-radius:10px;border:1px solid rgba(139,92,246,.35);background:rgba(139,92,246,.15);color:#d0bcff;font-size:12px;font-weight:600;cursor:pointer}.editor-character-search-results{margin-top:8px;border-radius:12px;border:1px solid rgba(255,255,255,.08);background:rgba(0,0,0,.2);max-height:220px;overflow-y:auto}.editor-character-search-hint{padding:12px;margin:0;font-size:12px;color:rgba(255,255,255,.45)}.editor-character-search-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-bottom:1px solid rgba(255,255,255,.06)}.editor-character-search-item:last-child{border-bottom:none}.editor-character-search-name{font-size:13px;font-weight:600;color:#fff}.editor-character-search-badge{display:inline-block;margin-left:6px;padding:1px 6px;border-radius:999px;font-size:10px;font-weight:600;color:#c4b5fd;background:rgba(139,92,246,.18)}.editor-character-search-preview{margin:4px 0 0;font-size:11px;line-height:1.4;color:rgba(255,255,255,.45)}.editor-character-search-add{flex-shrink:0;padding:6px 10px;border-radius:999px;border:1px solid rgba(139,92,246,.35);background:rgba(139,92,246,.12);color:#d0bcff;font-size:11px;font-weight:600;cursor:pointer}.editor-character-search-add:disabled{opacity:.45;cursor:not-allowed}.editor-agent-import-badge{margin-left:6px;padding:1px 6px;border-radius:999px;font-size:10px;font-weight:600;color:#86efac;background:rgba(34,197,94,.15)}.editor-agent-card.is-imported input[readonly],.editor-agent-card.is-imported textarea[readonly]{opacity:.85;cursor:default}.editor-agent-card{padding:12px;margin-bottom:10px;border-radius:12px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-left:3px solid var(--agent-accent,#8b5cf6)}.editor-agent-card:last-child{margin-bottom:0}.editor-agent-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.editor-agent-head-left{display:flex;align-items:center;gap:8px}.editor-agent-avatar{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:999px;background:var(--agent-accent,#8b5cf6);font-size:12px;font-weight:700;color:#fff;text-transform:uppercase}.editor-agent-index{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:rgba(255,255,255,.08);font-size:11px;font-weight:700;color:rgba(255,255,255,.75)}.editor-agent-label{display:block;margin-bottom:6px;font-size:12px}.editor-agent-card input,.editor-agent-card textarea{width:100%;margin-bottom:10px}.editor-agent-card textarea{margin-bottom:0}.editor-agent-remove{font-size:12px;color:rgba(255,255,255,.45);background:0 0;border:none;cursor:pointer;padding:4px 0}.editor-agent-remove:hover{color:#f87171}.editor-delete-btn{margin-top:8px}.hidden{display:none!important}.leaderboard-view{background:#0e0e0e;z-index:40}.leaderboard-page-header{display:flex;align-items:center;gap:12px;padding:calc(12px + var(--safe-top)) calc(16px + var(--safe-right)) 12px calc(16px + var(--safe-left));border-bottom:1px solid rgba(255,255,255,.08)}.leaderboard-page-title{font-size:16px;font-weight:600;color:#e5e2e1}.leaderboard-page-body{padding:16px 16px 80px;overflow-y:auto;max-height:calc(100vh - 56px)}.leaderboard-page-hint{margin:0 0 12px;font-size:12px;color:rgba(255,255,255,.45)}.leaderboard-view .scene-leaderboard{display:flex;flex-direction:column;gap:8px}.leaderboard-item{display:flex;align-items:center;gap:12px;width:100%;padding:10px 12px;border-radius:12px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04);color:inherit;font:inherit;text-align:left;cursor:pointer;transition:background .15s,border-color .15s}.leaderboard-item:hover{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.14)}.leaderboard-item--rank1{border-color:rgba(251,191,36,.35)}.leaderboard-item--rank2{border-color:rgba(203,213,225,.3)}.leaderboard-item--rank3{border-color:rgba(180,83,9,.35)}.leaderboard-rank{flex:0 0 22px;font-size:15px;font-weight:700;color:rgba(255,255,255,.55);text-align:center}.leaderboard-item--rank1 .leaderboard-rank{color:#fbbf24}.leaderboard-item--rank2 .leaderboard-rank{color:#cbd5e1}.leaderboard-item--rank3 .leaderboard-rank{color:#d97706}.leaderboard-thumb{flex:0 0 44px;width:44px;height:44px;border-radius:10px;background-size:cover;background-position:center}.leaderboard-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.leaderboard-name{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.leaderboard-stat{font-size:12px;color:rgba(255,255,255,.5)}.lobby-scene-tabs,.my-scenes-tabs{display:flex;justify-content:flex-start;align-items:flex-end;gap:24px;margin:0 0 16px}.lobby-scene-tab,.my-scenes-tab{flex:0 0 auto;width:auto;position:relative;padding:10px 0;border:none;border-radius:0;background:0 0;color:rgba(255,255,255,.42);font-size:15px;font-weight:600;cursor:pointer;transition:color .2s}.lobby-scene-tab.active,.my-scenes-tab.active{color:#f5f3f2}.lobby-scene-tab.active::after,.my-scenes-tab.active::after{content:'';position:absolute;left:0;right:0;bottom:0;height:2px;border-radius:1px;background:#a78bfa}.my-scenes-tabs{margin:0 0 12px}.agent-actions{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap}.agent-action-btn{flex:1;min-width:0;padding:6px 8px;border-radius:8px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.06);color:rgba(255,255,255,.85);font-size:12px;cursor:pointer}.agent-action-btn:hover{background:rgba(255,255,255,.1)}.agent-action-btn--solo{border-color:rgba(167,139,250,.35)}