@layer base{:root{--safe-area-inset-top:env(safe-area-inset-top,0px);--safe-area-inset-right:env(safe-area-inset-right,0px);--safe-area-inset-bottom:env(safe-area-inset-bottom,0px);--safe-area-inset-left:env(safe-area-inset-left,0px);--app-viewport-background:#0c0a08}@supports (padding-top:constant(safe-area-inset-top)){:root{--safe-area-inset-top:constant(safe-area-inset-top);--safe-area-inset-right:constant(safe-area-inset-right);--safe-area-inset-bottom:constant(safe-area-inset-bottom);--safe-area-inset-left:constant(safe-area-inset-left)}}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{width:100%;height:100%}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#0c0a08;justify-content:center;align-items:center;font-family:ZCOOL KuaiLe,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;display:flex;overflow:hidden}button{cursor:pointer;background:0 0;border:none;font-family:inherit}input,textarea{border:none;outline:none;font-family:inherit}.font-pixel{font-family:"Press Start 2P",monospace}html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}body,button,[role=button],a,input,textarea,select,label{-webkit-tap-highlight-color:transparent}button{touch-action:manipulation;-webkit-user-select:none;user-select:none}input,textarea{-webkit-user-select:text;user-select:text}img{-webkit-user-drag:none;user-drag:none}}@layer components{html,body{overscroll-behavior:none}body{touch-action:pan-x pan-y;width:100%;overflow:hidden}body.kb-open{position:fixed;inset:0}#root{width:100%;height:100dvh;overflow:hidden}.phone-wrapper{height:100dvh}.phone-frame{max-height:100dvh}.phone-screen{min-height:0}.login-gate{box-sizing:border-box;background:#fff;place-items:safe center center;height:100%;min-height:100dvh;padding:20px;display:grid;overflow-y:auto}@media (width<=620px){.login-gate{padding:calc(20px + var(--safe-area-inset-top,0px)) 20px calc(20px + var(--safe-area-inset-bottom,0px));background:#fff}}body.kb-open .dream-foot,body.kb-open .rp-input-bar,body.kb-open .ot-input-bar{z-index:30}body.modal-open .module-body{overflow:hidden!important}body.modal-open .rp-tools-overlay .rp-tools,body.modal-open .rp-tools-overlay .bag-section,body.modal-open .rp-tools-overlay .ot-msgs,body.modal-open .bag-overlay .bag-section,body.modal-open .bag-overlay .ot-msgs{overflow-y:auto!important}body.modal-open .rp-tools-overlay .rp-tools:has(.bag-embedded){overflow:hidden!important}.rp-tools:has(.bag-embedded){overflow:hidden!important}body.modal-open{overflow:hidden}.rp-npc-text,.rp-player-text,.ot-bubble,.dream-npc,.dream-player,.forum-post-content,.lore-entry-content,.preset-card-content{overflow-wrap:break-word;word-break:break-word;min-width:0}@media (width<=380px){.rp-npc-content,.ot-col{max-width:84%}.module-header-title{white-space:nowrap;text-overflow:ellipsis;font-size:15px;overflow:hidden}.quick-chip,.comp-duration{white-space:nowrap}}.msg-menu-pop{max-height:46dvh;overflow-y:auto}.module-body,.rp-log-area,.ot-msgs,.bag-section,.model-options,.rp-tools,.comp-invite-panel,.nss-body,.dream-drawer{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}button,.place-row,.module-row,.npc-row-btn,.place-avatar{touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}input,textarea{touch-action:manipulation;font-size:max(16px,1em)}@media (width>=621px){input,textarea{font-size:inherit}}@media (width<=620px){input,textarea,select{font-size:16px!important}}@media (prefers-reduced-motion:no-preference){.module-app{will-change:auto}}}@layer theme;netlify-drawer,#netlify-drawer,[data-netlify-drawer],.netlify-badge,iframe[src*=netlify],div[class*=netlify-feedback],[id*=netlify-drawer]{visibility:hidden!important;pointer-events:none!important;opacity:0!important;z-index:-9999!important;width:0!important;height:0!important;display:none!important;position:fixed!important;top:-9999px!important;left:-9999px!important}.account-gate-card{box-sizing:border-box;color:#222;background:#fff;border-radius:16px;width:min(400px,92vw);padding:22px}.account-gate-card h1{margin:0 0 4px;font-size:25px}.account-gate-card p{color:#777;font-size:13px;line-height:1.5}.account-gate-tabs{background:#f2f2f2;border-radius:10px;gap:4px;margin:18px 0;padding:4px;display:flex}.account-gate-tabs button{background:0 0;border:0;border-radius:8px;flex:1;padding:9px 2px;font-size:12px}.account-gate-tabs button.selected{color:#fff;background:#222}.account-gate-card form{gap:12px;display:grid}.account-gate-card label{gap:5px;font-size:13px;font-weight:600;display:grid}.account-gate-card input{box-sizing:border-box;width:100%;font:inherit;border:1px solid #ccc;border-radius:9px;padding:11px}.account-gate-card .account-gate-note{margin:0}.account-gate-error{color:#a22;font-size:13px}.account-gate-submit{color:#fff;font:inherit;background:#222;border:0;border-radius:9px;padding:12px}.account-gate-submit:disabled{opacity:.5}.account-gate-help{margin-bottom:0}.account-gate-choices{border:1px solid #ddd;border-radius:9px;gap:6px;padding:10px;font-size:13px;display:grid}.account-gate-choices button{text-align:left;background:#eee;border:0;border-radius:7px;padding:9px}.legal-consent{flex-wrap:wrap;align-items:center;gap:4px;font-size:13px;line-height:1.4;display:flex}.account-gate-card .legal-consent input,.account-panel .legal-consent input{accent-color:#222;flex:none;width:17px;height:17px;margin:0 4px 0 0}.account-gate-card .legal-consent label,.account-panel .legal-consent label{font-size:13px;font-weight:400;display:inline}.legal-consent-view{color:#563d2b;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.login-gate .legal-mask{z-index:200;background:#1e141e99;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.login-gate .legal-sheet{background:#fffdf9;border-radius:18px 18px 0 0;flex-direction:column;width:min(560px,100%);max-height:88dvh;display:flex;overflow:hidden}.login-gate .legal-sheet-head{border-bottom:1px solid #eee1d2;justify-content:space-between;align-items:center;padding:13px 15px;font-size:14px;display:flex}.login-gate .legal-close{background:#f5f0e8;border:0;border-radius:50%;width:30px;height:30px}.login-gate .legal-sheet-body{overscroll-behavior:contain;padding:12px 15px 26px;overflow-y:auto}.login-gate .legal-sheet-body section{margin-bottom:12px}.login-gate .legal-sheet-body h4{margin:0 0 5px;font-size:13px}.login-gate .legal-sheet-body p{color:#57534e;margin:0;font-size:12px;line-height:1.8}.login-gate .legal-foot{background:#faf7f2;border-radius:9px;padding:10px}
