:root{color:#f5efe6;font-synthesis:none;text-rendering:optimizelegibility;background:#171411;font-family:Inter,Microsoft YaHei,PingFang SC,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{scrollbar-color:#e2be796b #ffffff0a;scrollbar-width:thin}::-webkit-scrollbar{width:9px;height:9px}::-webkit-scrollbar-track{background:#ffffff0a}::-webkit-scrollbar-thumb{background:#e2be796b;border:2px solid #0000002e;border-radius:999px}::-webkit-scrollbar-thumb:hover{background:#e2be7999}.overlay-backdrop{z-index:1800;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:radial-gradient(circle at 55% 8%,#7c4b2a2e,#0000 32%),#070709b8;place-items:center;padding:24px;display:grid;position:fixed;inset:0}body:has(.overlay-backdrop){overflow:hidden}.overlay-drawer-backdrop{place-items:stretch end;padding:16px}.overlay-surface{color:#f7efe4;background:linear-gradient(#1f1c19fa,#0d0c0cfa),#121111;border:1px solid #ffffff1a;border-radius:18px;grid-template-rows:auto minmax(0,1fr) auto;width:min(680px,100vw - 48px);max-height:calc(100vh - 48px);display:grid;overflow:hidden;box-shadow:0 28px 90px #00000085}.overlay-drawer{border-radius:18px;width:min(430px,100vw - 32px);height:calc(100vh - 32px);max-height:calc(100vh - 32px)}.overlay-fullscreen{width:min(980px,100vw - 32px);height:min(820px,100vh - 32px);max-height:calc(100vh - 32px)}.overlay-confirm{width:min(520px,100vw - 48px)}.overlay-header,.overlay-footer{z-index:2;background:#121110f5;position:sticky}.overlay-header{border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;gap:14px;padding:18px 20px 14px;display:flex;top:0}.overlay-header div{min-width:0}.overlay-header span{color:#b58f6a;letter-spacing:.08em;margin-bottom:4px;font-size:.72rem;font-weight:800;display:block}.overlay-header h2{color:#fff8eb;overflow-wrap:anywhere;margin:0;font-size:1.12rem;line-height:1.24}.overlay-close-button{color:#f8eee2;background:#ffffff0f;border:1px solid #ffffff1a;border-radius:50%;flex:none;place-items:center;width:34px;height:34px;display:grid}.overlay-close-button:hover,.overlay-close-button:focus-visible{background:#ffffff1a;border-color:#ffffff38}.overlay-content{min-height:0;padding:18px 20px 20px;overflow:auto}.overlay-footer{border-top:1px solid #ffffff14;padding:14px 20px 18px;bottom:0}.overlay-actions{justify-content:flex-end;gap:10px;display:flex}.overlay-primary-action,.overlay-secondary-action,.overlay-danger-action{border-radius:999px;justify-content:center;align-items:center;gap:8px;min-height:38px;padding:0 18px;font-weight:800;display:inline-flex}.overlay-primary-action{color:#041512;background:#2fb79f;border:0}.overlay-secondary-action{color:#eee6dc;background:#ffffff0d;border:1px solid #ffffff1f}.overlay-danger-action{color:#fff;background:#c8544b;border:0}.overlay-primary-action:disabled,.overlay-secondary-action:disabled,.overlay-danger-action:disabled{cursor:not-allowed;opacity:.55}.overlay-toast{z-index:1900;color:#fff;background:#121212f0;border:1px solid #ffffff1f;border-radius:12px;max-width:min(360px,100vw - 32px);padding:12px 14px;position:fixed;bottom:22px;right:22px;box-shadow:0 18px 40px #0000006b}@media (width<=720px){.overlay-backdrop,.overlay-drawer-backdrop{padding:0}.overlay-surface,.overlay-drawer,.overlay-fullscreen,.overlay-confirm{border-inline:0;border-radius:0;width:100vw;height:100dvh;max-height:100dvh}.overlay-confirm{border-radius:18px 18px 0 0;align-self:end;height:auto;max-height:calc(100dvh - 24px)}.overlay-header{padding:16px 16px 12px}.overlay-content{padding:16px}.overlay-footer{padding:12px 16px calc(12px + env(safe-area-inset-bottom))}.overlay-actions{flex-direction:column-reverse}.overlay-primary-action,.overlay-secondary-action,.overlay-danger-action{width:100%}}.nav-brand-button{color:inherit;text-align:left;background:0 0;border:0}.top-nav-links{align-items:center;gap:6px;margin-right:auto;display:flex}.top-nav-links button,.global-search,.top-avatar-chip{align-items:center;display:inline-flex}.top-nav-links button{color:#aaa6b3;background:0 0;border:0;border-radius:8px;gap:6px;min-height:34px;font-size:.86rem;font-weight:700;position:relative}.top-nav-links button.active,.top-nav-links button:hover{color:#fff}.top-nav-links em,.top-icon-button em,.side-message-row em{color:#fff;background:#ff2f8a;border-radius:999px;place-items:center;min-width:18px;height:18px;padding:0 5px;font-size:.68rem;font-style:normal;font-weight:800;display:grid}.global-search{color:#f6f0f7;background:#222228;border-radius:999px;gap:8px;min-width:220px;height:38px;padding:0 14px}.global-search input{width:100%;color:inherit;background:0 0;border:0;outline:0;font-size:.84rem}.top-icon-button{position:relative}.top-icon-button em{position:absolute;top:-6px;right:-6px}.top-avatar-chip{color:#fff;background:#ffffff0a;border:1px solid #ffffff14;border-radius:999px;gap:8px;min-height:38px}.top-avatar-chip img{object-fit:cover;border-radius:50%;width:28px;height:28px}.app-shell:has(.user-center-page){width:100%;padding:0}.app-shell:has(.user-center-page) .top-bar{background:#050505;border-bottom:1px solid #ffffff0f;min-height:52px;padding:0 14px}.app-shell:has(.user-center-page) .brand-icon{color:#050505;background:#ff4d92;border:0;border-radius:7px;width:28px;height:28px}.app-shell:has(.user-center-page) .brand-mark div{display:none}.user-center-page{color:#f7f2ff;background:#030304;min-height:calc(100vh - 52px)}.user-center-page,.user-message-page,.profile-action-grid,.profile-stats,.wallet-top-grid,.wallet-package-grid,.wallet-channel-row,.settings-actions{display:grid}.user-center-page{grid-template-columns:minmax(0,1fr)}.user-side-panel{background:#070708;border-right:1px solid #ffffff14;height:calc(100vh - 52px);padding:22px 24px 34px;position:sticky;top:52px;overflow-y:auto}.account-drawer-backdrop{z-index:80;background:#00000061;position:fixed;inset:0}.account-drawer-backdrop .account-drawer-panel{background:#070708;border:1px solid #ffffff1a;border-radius:16px;width:min(390px,100vw - 24px);height:auto;position:fixed;top:58px;bottom:12px;right:12px;box-shadow:0 24px 80px #0000007a}.account-drawer-overlay{background:linear-gradient(#15110dfa,#0a0807fa),#0a0807fa;border-color:#e2be7929;width:min(390px,100vw - 24px);height:calc(100vh - 24px);padding:0}.account-drawer-overlay-content{padding:0;overflow:hidden}.account-drawer-overlay .account-drawer-panel{width:100%;height:100%;box-shadow:none;background:0 0;border:0;border-radius:0;position:static;top:auto;bottom:auto;right:auto;overflow-y:auto}.overlay-surface.profile-social-dialog{width:min(560px,100vw - 48px);padding:0;overflow:hidden}.profile-social-dialog .overlay-content{gap:12px;display:grid}.profile-social-dialog .overlay-header span{color:#aaa4b4}.profile-social-dialog .overlay-header h2{color:#fff;font-size:1.08rem}.overlay-surface.message-thread-modal{padding:0;overflow:hidden}.message-thread-overlay-content{min-height:0;padding:0;display:grid}.account-drawer-status{color:#ffeff8;background:#ff2f8a29;border-radius:12px;margin:0 0 16px;padding:10px 12px;font-size:.84rem;font-weight:800}.side-close-button{float:right;color:#a9a4b0;background:0 0;border:0;border-radius:50%;place-items:center;width:34px;height:34px;display:grid}.side-profile{align-items:center;gap:14px;margin-top:12px;display:flex}.side-profile img,.profile-head img{object-fit:cover;border-radius:50%}.side-profile img{width:64px;height:64px}.side-profile strong,.profile-title h1{color:#fff;margin:0}.side-profile span,.side-bio,.profile-title span,.profile-title small,.profile-bio,.profile-script-grid p,.profile-script-grid span,.wallet-hero small,.order-panel p,.message-chat-panel header span{color:#aaa4b4}.side-bio{margin:12px 0 24px;line-height:1.7}.side-wallet-card{background:linear-gradient(135deg,#ff2f8a33,#ffffff0a);border-radius:18px;grid-template-columns:1fr auto;align-items:center;gap:6px 12px;margin-bottom:22px;padding:18px;display:grid}.side-credit-card{background:#8ee4ca14;border:1px solid #8ee4ca24;border-radius:16px;grid-template-columns:1fr auto;align-items:center;gap:4px 12px;margin-bottom:12px;padding:14px 16px;display:grid}.side-credit-card span,.side-credit-card small{color:#aaa4b4}.side-credit-card strong{color:#fff;font-size:1.35rem}.side-credit-card small{grid-column:1/-1}.side-wallet-card span{color:#aaa4b4}.side-wallet-card strong{font-size:1.65rem}.side-wallet-card button,.pink-button{color:#fff;background:#ff2f8a;border:0;border-radius:999px;justify-content:center;align-items:center;gap:8px;font-weight:800;display:inline-flex}.side-wallet-card button{grid-row:span 2;min-height:38px;padding:0 18px}.side-message-row,.side-action{color:#f7f2ff;text-align:left;background:0 0;border:0;grid-template-columns:1fr auto auto;align-items:center;gap:10px;width:100%;display:grid}.side-message-row{padding:12px 0}.side-message-row span,.side-action span{align-items:center;gap:10px;display:inline-flex}.side-section-label{color:#6f6878;margin:24px 0 8px;font-size:.82rem}.side-action{border-radius:12px;min-height:42px;padding:0 2px;text-decoration:none}.side-action:hover{background:#ffffff0d}.side-action em{color:#fff;background:#ff2f8a;border-radius:999px;padding:4px 10px;font-size:.75rem;font-style:normal;font-weight:800}.user-main-surface{min-width:0;padding:0 0 80px;position:relative}.user-status-toast{z-index:20;color:#fff;background:#ff2f8a;border-radius:999px;padding:10px 16px;font-weight:800;position:fixed;top:66px;right:24px;box-shadow:0 16px 50px #ff2f8a59}.profile-surface{width:min(760px,100% - 48px);margin:0 auto;padding-top:128px}.profile-hero-band{pointer-events:none;background:linear-gradient(#9653b4 0%,#4e2462 58%,#03030400 100%);height:260px;position:absolute;inset:0 0 auto}.profile-head{align-items:center;gap:16px;display:flex;position:relative}.profile-head img{border:3px solid #ffffff29;width:104px;height:104px}.profile-title{flex:1}.profile-title h1{font-size:2rem}.pink-button{min-height:44px;padding:0 20px}.pink-button.compact{min-height:34px;padding-inline:14px;font-size:.84rem}.profile-bio{margin:20px 0 18px 120px;line-height:1.8;position:relative}.profile-edit-form,.settings-panel,.wallet-page,.message-chat-panel{background:#ffffff09;border:1px solid #ffffff14}.profile-edit-form{border-radius:18px;gap:14px;margin:22px 0 20px 120px;padding:18px;display:grid;position:relative}.profile-edit-form label,.setting-row{color:#aaa4b4;gap:8px;display:grid}.profile-edit-form input,.profile-edit-form textarea,.profile-edit-form select,.setting-row select{color:#fff;background:#111116;border:1px solid #ffffff1a;border-radius:12px;width:100%}.profile-edit-form input,.profile-edit-form select,.setting-row select{height:42px;padding:0 12px}.profile-edit-form textarea{resize:vertical;min-height:84px;padding:12px}.profile-stats{grid-template-columns:repeat(5,max-content);gap:28px;margin:20px 0 26px 12px}.profile-stats span,.profile-stat-button{gap:4px;display:grid}.profile-stat-button{color:inherit;text-align:left;background:0 0;border:0;padding:0}.profile-stat-button:hover small{color:#ff4d92}.profile-stats strong{font-size:1.2rem}.profile-action-card{color:#fff;text-align:left;background:#ffffff09;border:1px solid #ffffff14;border-radius:16px;grid-template-columns:38px 1fr;align-items:center;gap:2px 12px;min-height:76px;display:grid}.profile-action-card>span{color:#ff4f9a;background:#17171d;border-radius:14px;grid-row:span 2;place-items:center;width:38px;height:38px;display:grid}.profile-social-backdrop{z-index:70;background:#00000085;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.profile-social-dialog{background:#08080a;border:1px solid #ffffff1a;border-radius:18px;gap:12px;width:min(520px,100%);max-height:min(680px,100vh - 64px);padding:18px;display:grid;overflow-y:auto;box-shadow:0 28px 90px #00000085}.profile-social-dialog header{justify-content:space-between;align-items:center;gap:12px;display:flex}.profile-social-dialog header div{gap:3px;display:grid}.profile-social-dialog header span{color:#aaa4b4;font-weight:800}.profile-social-dialog header strong{color:#fff;font-size:1.08rem}.profile-social-dialog header button{color:#aaa4b4;background:#ffffff0f;border:0;border-radius:50%;place-items:center;width:34px;height:34px;display:grid}.profile-social-tabs{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.profile-social-tabs button{color:#aaa4b4;background:#ffffff0a;border:1px solid #ffffff14;border-radius:999px;min-height:36px;font-weight:850}.profile-social-tabs button.active{color:#fff;background:#ff2f8a26;border-color:#ff2f8a6b}.profile-social-empty{color:#8d8796;border:1px dashed #ffffff1a;border-radius:14px;place-items:center;min-height:120px;display:grid}.profile-social-list{gap:8px;display:grid}.profile-social-card{background:#ffffff09;border:1px solid #ffffff14;border-radius:14px;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:68px;padding:12px;display:grid}.profile-social-card img{object-fit:cover;border-radius:50%;width:42px;height:42px}.profile-social-meta{min-width:0}.profile-social-meta strong,.profile-social-meta span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.profile-social-meta strong{color:#fff}.profile-social-meta span{color:#8d8796;margin-top:3px;font-size:.78rem}.profile-social-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.profile-social-card button{color:#fff;white-space:nowrap;background:#ff2f8a1f;border:1px solid #ff2f8a61;border-radius:999px;justify-content:center;align-items:center;gap:6px;min-height:32px;padding:0 10px;font-size:.78rem;font-weight:850;display:inline-flex}.profile-tabs{gap:24px;margin:30px 0 18px;display:flex}.profile-tabs button{color:#aaa4b4;background:0 0;border:0;border-bottom:2px solid #0000;font-weight:800}.profile-tabs button.active{color:#fff;border-color:#ff2f8a}.profile-script-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.profile-script-grid article,.profile-script-card,.profile-empty-shelf{background:#ffffff09;border:1px solid #ffffff14;border-radius:16px;padding:18px}.profile-script-card{width:100%;color:inherit;text-align:left;display:block}.profile-script-card:hover{background:#ff2f8a14;border-color:#ff2f8a75}.profile-empty-shelf{align-content:center;justify-items:start;gap:12px;min-height:150px;display:grid}.profile-script-grid strong,.profile-script-grid span{display:block}.explore-page-shell{width:min(620px,100% - 32px);margin:0 auto;padding:28px 0 96px}.explore-feed{gap:12px;display:grid}.explore-stream-tabs{align-items:center;gap:24px;min-height:38px;display:flex}.explore-stream-tabs button,.explore-filter-chips button{color:#8d8796;background:0 0;border:0;font-weight:850}.explore-stream-tabs button{padding:0 0 9px;position:relative}.explore-stream-tabs button.active:after{content:"";background:#ff2f8a;border-radius:999px;width:18px;height:2px;position:absolute;bottom:0;left:50%;transform:translate(-50%)}.explore-quick-composer,.explore-composer{align-items:center;gap:10px;display:grid}.explore-quick-composer{grid-template-columns:40px minmax(0,1fr) 36px auto}.explore-composer{grid-template-columns:44px minmax(0,1fr);padding:14px 0}.explore-quick-composer>img,.explore-composer>img,.explore-post-card header img,.explore-comment img{object-fit:cover;border-radius:50%}.explore-quick-composer>img{width:40px;height:40px}.explore-composer>img,.explore-post-card header img{width:44px;height:44px}.explore-quick-composer input,.explore-composer textarea,.explore-composer select,.explore-comment-form input{color:#fff;background:#ffffff12;border:1px solid #ffffff14;width:100%}.explore-quick-composer input{border-radius:999px;height:38px;padding:0 16px}.explore-image-cycle,.explore-publish-button{color:#f7f2ff;border:0;border-radius:999px;justify-content:center;align-items:center;min-height:34px;display:inline-flex}.explore-image-cycle{color:#8d8796;background:0 0;gap:6px;min-width:36px;max-width:128px;padding:0 10px}.explore-publish-button{background:#ff2f8ae6;padding:0 14px;font-weight:850}.explore-publish-button:disabled,.explore-post-actions button:disabled,.explore-comment-form button:disabled{cursor:not-allowed;opacity:.5}.explore-filter-chips{flex-wrap:wrap;gap:8px;padding:4px 0 6px;display:flex}.explore-filter-chips button{background:#ffffff14;border-radius:999px;min-height:28px;padding:0 12px;font-size:.8rem}.explore-filter-chips button.active{color:#ff4d92;background:#ff2f8a2e}.explore-composer-main{gap:10px;min-width:0;display:grid}.explore-composer textarea{resize:vertical;border-radius:12px;min-height:88px;padding:12px}.explore-composer select{border-radius:12px;min-height:38px;padding:0 10px}.explore-composer-controls{grid-template-columns:96px 130px minmax(150px,1fr) auto;align-items:center;gap:8px;display:grid}.explore-post-card{border-bottom:1px solid #ffffff12;gap:8px;padding:18px 0 16px 52px;display:grid}.explore-post-card header{grid-template-columns:44px minmax(0,1fr) auto auto;align-items:center;gap:9px;margin-left:-52px;display:grid}.explore-post-card header strong,.explore-post-card header span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.explore-post-card header span,.explore-post-card p,.explore-comments{color:#b9b1c4}.explore-post-card header em{color:#8d8796;font-style:normal;font-weight:700}.explore-more-dot{color:#8d8796;display:inline-flex}.explore-post-card>p{color:#fff;margin:0;line-height:1.55}.explore-post-media{color:#fff;text-align:left;background:#ffffff0a;border:0;border-radius:14px;width:min(100%,560px);min-height:180px;display:block;position:relative;overflow:hidden}.explore-post-media img{object-fit:cover;width:100%;height:260px;display:block}.explore-post-media span{text-overflow:ellipsis;white-space:nowrap;background:#00000094;border-radius:10px;max-width:calc(100% - 24px);padding:7px 10px;position:absolute;bottom:12px;left:12px;overflow:hidden}.explore-post-actions{align-items:center;gap:24px;display:flex}.explore-post-actions button,.explore-comment-form button{color:#aaa4b4;background:0 0;border:0;justify-content:center;align-items:center;gap:6px;min-height:30px;font-weight:800;display:inline-flex}.explore-post-actions button.active{color:#ff4d92}.explore-post-actions small{font-size:.76rem}.explore-comments{gap:8px;padding:4px 0 0;display:grid}.explore-comment{grid-template-columns:28px minmax(0,1fr);align-items:start;gap:8px;display:grid}.explore-comment img{width:28px;height:28px}.explore-comment p{background:#ffffff0b;border-radius:12px;margin:0;padding:7px 10px}.explore-comment strong{color:#fff;margin-right:8px}.explore-comment-form{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.explore-comment-form input{border-radius:999px;min-height:34px;padding:0 12px}.explore-comment-form button{color:#fff;background:#ff2f8a29;border-radius:999px;padding:0 10px}.message-thread-list{border-right:1px solid #ffffff14;padding:14px 12px}.message-toolbar,.message-filter-row{gap:8px;margin-bottom:12px;display:flex}.message-toolbar button,.message-toolbar .timer-chip,.message-filter-row button,.message-chat-panel header button,.ghost-button,.wallet-package-grid button,.wallet-channel-row button{color:#f7f2ff;background:#ffffff0a;border:1px solid #ffffff14;border-radius:12px;align-items:center;gap:7px;display:inline-flex}.message-toolbar button,.message-toolbar .timer-chip{flex:1;justify-content:center;min-height:36px}.message-filter-row button{flex:1;min-height:32px}.message-empty-state{color:#9d96aa;text-align:center;border:1px dashed #ffffff1f;border-radius:12px;padding:18px 14px}.message-empty-state.wide{margin:24px}.message-friend-strip{gap:8px;margin-bottom:6px;padding-bottom:10px;display:flex;overflow-x:auto}.message-friend-strip button{color:#f7f2ff;background:#ffffff09;border:1px solid #ffffff14;border-radius:14px;flex:none;justify-items:center;gap:5px;width:70px;min-height:74px;display:grid}.message-friend-strip button.active{background:#ff2f8a2e;border-color:#ff2f8a75}.message-friend-strip button:disabled{opacity:.5}.message-friend-strip img{object-fit:cover;border-radius:50%;width:34px;height:34px}.message-friend-strip span{color:#dcd6e5;text-overflow:ellipsis;white-space:nowrap;max-width:58px;font-size:.74rem;font-weight:800;overflow:hidden}.thread-row{color:#fff;text-align:left;background:0 0;border:0;border-radius:12px;grid-template-columns:42px 1fr auto;align-items:center;gap:10px;width:100%;min-height:76px;display:grid;position:relative}.thread-row.active{background:#ff2f8a38}.thread-avatar{color:#cfc9d7;background:#202026;border-radius:50%;place-items:center;width:38px;height:38px;display:grid}.thread-avatar.small{width:28px;height:28px}.thread-copy{min-width:0}.thread-copy strong,.thread-copy small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.thread-copy small{color:#8d8796}.thread-row em{color:#fff;background:#55515d;border-radius:999px;padding:4px 7px;font-size:.7rem;font-style:normal}.message-chat-panel{background:#050506;border-width:0;border-radius:0;min-height:calc(100vh - 52px)}.message-chat-panel header{border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;min-height:72px;padding:0 24px;display:flex}.message-chat-panel header strong,.message-chat-panel header span{display:block}.message-chat-panel header button{min-height:34px;padding-inline:12px}.chat-bubble-row{grid-template-columns:34px minmax(0,520px);gap:10px;margin-bottom:24px;display:grid}.chat-bubble-row span{color:#aaa4b4;font-size:.86rem}.chat-bubble-row p{color:#fff;background:#1d1d23;border-radius:16px;width:fit-content;max-width:min(560px,100%);margin:4px 0 0;padding:12px 16px;line-height:1.7}.message-article{width:min(760px,100% - 48px);margin:0 auto;padding:42px 0 56px}.message-article-kicker{color:#ff7eb4;margin-bottom:18px;font-size:.78rem;font-weight:800}.message-article p{color:#dcd6e5;margin:0 0 18px;font-size:.98rem;line-height:1.95}.message-article p:first-of-type{color:#fff;font-size:1.04rem;font-weight:800}.message-article-signature{text-align:right;font-weight:800;color:#fff!important;margin-top:28px!important}.settings-panel,.wallet-page{border-radius:22px;width:min(620px,100% - 48px);margin:72px auto 0;padding:24px}.user-section-heading span{color:#ff4f9a;font-weight:800}.user-section-heading h1{margin:6px 0 4px}.setting-row{border-bottom:1px solid #ffffff14;grid-template-columns:1fr auto;align-items:center;min-height:54px}.setting-row input[type=checkbox]{accent-color:#ff2f8a;width:42px;height:24px}.settings-safety-row{color:#aaa4b4;grid-template-columns:28px 1fr auto;align-items:center;min-height:56px;display:grid}.settings-actions{grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.ghost-button{min-height:44px}.wallet-hero,.wallet-vip-card{border-radius:20px;gap:6px;padding:24px;display:grid}.wallet-hero{background:linear-gradient(135deg,#ff2f8a3d,#9653b433)}.wallet-vip-card{background:#ffffff0b;border:1px solid #ffffff14}.wallet-hero span,.wallet-vip-card span,.wallet-section-title span{color:#aaa4b4}.wallet-hero strong{font-size:clamp(2rem,7vw,4rem)}.wallet-vip-card strong{font-size:2rem}.wallet-vip-card em{color:#aaa4b4;font-style:normal}.vip-progress-track{background:#ffffff14;border-radius:999px;height:8px;overflow:hidden}.vip-progress-track i{border-radius:inherit;background:#ff2f8a;height:100%;display:block}.wallet-section-title{justify-content:space-between;align-items:center;gap:12px;margin:22px 0 10px;display:flex}.wallet-section-title strong{color:#f7f2ff;font-size:.88rem}.wallet-package-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.wallet-package-grid button,.wallet-channel-row button{min-height:52px;position:relative}.wallet-package-grid button{text-align:left;justify-content:flex-start;align-items:flex-start;min-height:166px;padding:18px}.wallet-package-grid button em{color:#fff;background:#ff65ad;border-radius:999px;padding:3px 8px;font-size:.74rem;font-style:normal;font-weight:800;position:absolute;top:-9px;right:10px}.wallet-package-grid button strong{font-size:clamp(1.45rem,3vw,2rem)}.wallet-package-grid button small,.wallet-package-grid button p,.wallet-channel-row button small,.order-row small{color:#9d96a8}.wallet-package-grid button span{color:#fff;font-weight:700}.wallet-package-grid button p{margin:0;line-height:1.5}.wallet-channel-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.wallet-channel-row button{text-align:left;flex-direction:column;align-items:flex-start;padding:14px}.wallet-submit{width:100%;margin-top:16px}.wallet-rules{color:#aaa4b4;background:#ffffff09;border:1px solid #ffffff14;border-radius:14px;align-items:flex-start;gap:10px;margin-top:12px;padding:12px 14px;line-height:1.6;display:flex}.order-panel{margin-top:24px}.order-panel h2{font-size:1rem}.order-row,.ai-charge-row{border-top:1px solid #ffffff14;grid-template-columns:1fr auto auto auto;align-items:center;gap:12px;min-height:54px;display:grid}.ai-charge-row{grid-template-columns:1fr auto minmax(150px,auto) auto}.order-row span,.ai-charge-row span{gap:3px;display:grid}.order-row em,.ai-charge-row em{color:#8d8796;font-style:normal}.user-loading-panel{background:#ffffff0a;border-radius:22px;justify-items:center;gap:10px;width:min(360px,100% - 48px);margin:120px auto 0;padding:28px;display:grid}@media (width<=980px){.app-shell:has(.user-center-page) .top-bar{flex-wrap:wrap;height:auto;padding-block:10px}.top-nav-links,.global-search{width:100%}.top-nav-links button,.global-search{flex:1}.user-center-page,.user-message-page{grid-template-columns:1fr}.user-side-panel{border-bottom:1px solid #ffffff14;border-right:0;height:auto;position:static}.profile-surface,.settings-panel,.wallet-page{width:min(100% - 28px,720px)}.profile-bio,.profile-edit-form{margin-left:0}.profile-action-grid,.profile-social-list,.profile-script-grid,.explore-composer,.explore-composer-controls,.explore-comment-form,.wallet-top-grid,.wallet-package-grid,.wallet-channel-row{grid-template-columns:1fr}.explore-composer{align-items:start}.explore-quick-composer{grid-template-columns:40px minmax(0,1fr) 36px}.explore-publish-button{grid-column:2/-1;justify-self:end}.explore-post-card header{grid-template-columns:44px minmax(0,1fr) auto}.explore-post-card header em{justify-self:start}.explore-more-dot{display:none}.explore-post-card{padding-left:48px}.explore-post-card header{margin-left:-48px}.explore-post-media img{height:210px}.order-row,.ai-charge-row{grid-template-columns:1fr;gap:6px;padding:12px 0}}*{box-sizing:border-box}body{background:#050506;min-width:320px;min-height:100vh;margin:0}button{cursor:pointer}a.secondary-button{text-decoration:none}.app-shell{width:min(1180px,100% - 32px);min-height:100vh;margin:0 auto;padding:18px 0 28px}.top-bar{border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;gap:18px;min-height:64px;display:flex}.brand-mark,.top-actions,.feature-strip,.meta-row,.status-pill,.primary-button,.secondary-button,.segmented,.queue-list span,.prompt-stack button{align-items:center;display:flex}.brand-mark{gap:12px}.brand-icon{color:#f4d58d;background:#27544e;border:1px solid #f5efe62e;border-radius:8px;place-items:center;width:38px;height:38px;display:grid}.brand-mark strong,.brand-mark span{display:block}.brand-mark strong{font-size:1rem}.brand-mark span,.user-chip,.status-pill{color:#b9ada0;font-size:.82rem}.top-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px}.status-pill,.user-chip,.phase-pill{background:#f5efe60f;border:1px solid #f5efe624;border-radius:999px;min-height:32px;padding:7px 10px}.status-pill{gap:7px}.icon-button{color:#f5efe6;background:#f5efe614;border:1px solid #f5efe62e;border-radius:8px;place-items:center;width:36px;height:36px;display:grid}.auth-layout,.matching-layout{grid-template-columns:minmax(0,1.05fr) minmax(340px,.65fr);align-items:center;gap:34px;min-height:calc(100vh - 110px);display:grid}.auth-copy h1,.section-heading h1,.matching-panel h1,.room-header h1{letter-spacing:0;margin:0;line-height:1.08}.auth-copy h1{max-width:660px;font-size:3.1rem}.auth-copy p{color:#d6c7b7;max-width:650px;font-size:1rem;line-height:1.8}.eyebrow{color:#f4d58d;letter-spacing:0;text-transform:uppercase;margin:0 0 12px;font-size:.78rem;font-weight:700}.feature-strip{flex-wrap:wrap;gap:10px;margin-top:26px}.feature-strip span,.meta-row span{color:#e7ddd0;align-items:center;gap:7px;display:inline-flex}.feature-strip span{background:#f5efe60f;border:1px solid #f5efe61f;border-radius:8px;min-height:36px;padding:8px 11px}.auth-panel,.matching-panel,.roster-panel,.clue-panel,.chat-panel{background:#201b16e6;border:1px solid #f5efe621;border-radius:8px;box-shadow:0 24px 60px #0000003d}.auth-panel{gap:16px;padding:22px;display:grid}.segmented{background:#100e0c;border-radius:8px;gap:6px;padding:5px}.segmented button{color:#b9ada0;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;gap:7px;width:100%;min-height:38px;display:flex}.segmented button.active{color:#211914;background:#f4d58d}label{color:#d9cfc4;gap:8px;font-size:.9rem;display:grid}input{color:#f5efe6;background:#100e0c;border:1px solid #f5efe624;border-radius:8px;outline:none;width:100%;min-height:44px;padding:0 12px}select,textarea{color:#f5efe6;background:#100e0c;border:1px solid #f5efe624;border-radius:8px;outline:none;width:100%}select{min-height:44px;padding:0 12px}textarea{resize:vertical;min-height:112px;padding:12px;line-height:1.65}.form-error{color:#ffb4a2;margin:0;font-size:.9rem}.primary-button,.secondary-button{border-radius:8px;justify-content:center;gap:8px;min-height:44px;padding:0 16px;font-weight:700;transition:transform .16s,border-color .16s,background .16s}.primary-button:disabled,.secondary-button:disabled{cursor:not-allowed;opacity:.55;transform:none}.primary-button{color:#211914;background:#f4d58d;border:1px solid #f4d58d}.secondary-button{color:#f5efe6;background:#f5efe612;border:1px solid #f5efe629}.primary-button:hover,.secondary-button:hover,.icon-button:hover,.prompt-stack button:hover{transform:translateY(-1px)}.compact{min-height:40px;padding:0 13px}.script-layout{padding:34px 0}.section-heading,.room-header{justify-content:space-between;align-items:end;gap:18px;margin-bottom:22px;display:flex}.section-heading h1,.matching-panel h1,.room-header h1{font-size:2rem}.scenario-tabs{gap:10px;padding:4px 0 18px;display:flex;overflow:auto}.scenario-tabs button{color:#d9cfc4;background:#f5efe60f;border:1px solid #f5efe621;border-radius:8px;flex:none;min-height:38px;padding:0 13px;transition:background .16s,color .16s,border-color .16s}.scenario-tabs button.active{color:#211914;background:#f4d58d;border-color:#f4d58d;font-weight:700}.script-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.lobby-grid{grid-template-columns:minmax(0,1fr) 380px;align-items:start;gap:18px;display:grid}.script-column{gap:14px;display:grid}.featured-scenario{background:linear-gradient(135deg,#27544ebd,#201b16f0),#201b16e6;border:1px solid #f5efe621;border-radius:8px;grid-template-columns:minmax(260px,.82fr) minmax(0,1fr);display:grid;overflow:hidden;box-shadow:0 24px 60px #00000038}.featured-scenario img{object-fit:cover;width:100%;height:100%;min-height:260px}.featured-content{align-content:center;gap:14px;padding:22px;display:grid}.featured-title-row,.tag-row,.scenario-metrics{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.featured-content h2{letter-spacing:0;margin:0;font-size:1.75rem}.featured-content p{color:#eadfd4;margin:0;line-height:1.72}.content-badge,.heat-badge,.tag-row span,.scenario-metrics span{align-items:center;gap:6px;display:inline-flex}.content-badge,.heat-badge{border-radius:999px;min-height:30px;padding:0 9px;font-size:.82rem;font-weight:700}.content-badge{color:#211914;background:#f4d58d}.heat-badge{color:#ffd2c7;background:#d36b552e}.tag-row span{color:#d9cfc4;background:#f5efe612;border:1px solid #f5efe61f;border-radius:999px;min-height:28px;padding:0 9px;font-size:.78rem}.scenario-metrics span{color:#d4f0e5;font-size:.86rem}.lobby-summary{flex-wrap:wrap;gap:10px;display:flex}.lobby-summary span{color:#e7ddd0;background:#f5efe60f;border:1px solid #f5efe61f;border-radius:8px;align-items:center;gap:8px;min-height:38px;padding:8px 11px;display:inline-flex}.lobby-scripts{grid-template-columns:repeat(2,minmax(0,1fr))}.script-card{background:#201b16eb;border:1px solid #f5efe621;border-radius:8px;transition:border-color .16s,transform .16s,box-shadow .16s;overflow:hidden}.script-card.selected{border-color:#f4d58d;box-shadow:0 18px 46px #00000038}.script-card:hover{border-color:#f4d58d7a;transform:translateY(-2px)}.script-card img{aspect-ratio:16/9;object-fit:cover;width:100%;display:block}.script-card-body{gap:14px;padding:16px;display:grid}.card-title-row{justify-content:space-between;align-items:start;gap:12px;display:flex}.card-title-row h2,.roster-panel h2,.clue-panel h2{margin:0;font-size:1.05rem}.card-title-row span{color:#f4d58d;background:#f4d58d1f;border-radius:999px;flex:none;padding:5px 8px;font-size:.78rem}.script-card p,.matching-panel p,.clue-item p{color:#cdbdaf;margin:0;line-height:1.65}.script-card p{min-height:72px}.creator-line{color:#9fcac0;font-size:.82rem}.compact-tags{gap:6px}.compact-tags span{min-height:24px;padding:0 8px}.meta-row{color:#b9ada0;flex-wrap:wrap;gap:10px;font-size:.84rem}.card-metrics{justify-content:space-between;padding-top:2px}.card-metrics span{color:#b9ada0;font-size:.8rem}.secondary-button.selected{color:#f4d58d;border-color:#f4d58d}.lobby-panel{gap:16px;display:grid}.create-room-form,.room-list{background:linear-gradient(#f5efe60a,#0000 36%),#201b16eb;border:1px solid #f5efe621;border-radius:8px;gap:14px;padding:16px;display:grid}.create-room-form h2,.room-list-heading h2{margin:0;font-size:1.05rem}.room-list-heading{justify-content:space-between;align-items:start;gap:12px;display:flex}.room-list-heading>span{color:#d4f0e5;background:#55b69c1f;border-radius:999px;flex:none;padding:5px 8px;font-size:.8rem}.empty-room-row{color:#b9ada0;border:1px dashed #f5efe633;border-radius:8px;padding:14px;line-height:1.6}.room-row{background:#100e0c94;border:1px solid #f5efe61a;border-radius:8px;gap:10px;padding:14px;display:grid}.room-row:first-of-type{border-top:1px solid #f5efe61a}.room-row-main{justify-content:space-between;gap:12px;display:flex}.room-row-main strong{color:#f5efe6;min-width:0}.room-row-main span,.occupancy-line em{color:#b9ada0;font-size:.82rem;font-style:normal}.occupancy-line{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}.occupancy-track{background:#100e0c;border-radius:999px;height:8px;overflow:hidden}.occupancy-track span{border-radius:inherit;background:linear-gradient(90deg,#55b69c,#f4d58d);height:100%;display:block}.waiting-names{flex-wrap:wrap;gap:7px;display:flex}.waiting-names span{color:#d9cfc4;background:#f5efe60f;border-radius:999px;max-width:100%;padding:5px 8px;font-size:.8rem}.matching-layout{grid-template-columns:minmax(280px,.6fr) minmax(0,.8fr)}.matching-art img{border:1px solid #f5efe621;border-radius:8px;width:100%;box-shadow:0 24px 60px #00000040}.matching-panel{gap:18px;padding:24px;display:grid}.progress-track{background:#100e0c;border-radius:999px;height:10px;overflow:hidden}.progress-track span{border-radius:inherit;background:linear-gradient(90deg,#f4d58d,#55b69c);height:100%;transition:width .26s;display:block}.queue-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.queue-list span{color:#8e8277;border:1px dashed #f5efe633;border-radius:8px;gap:8px;min-height:42px;padding:0 12px}.queue-list span.online{color:#d4f0e5;background:#55b69c1c;border-style:solid}.room-layout{grid-template-columns:230px minmax(0,1fr) 290px;grid-template-areas:"header header header""roster chat clue";gap:16px;padding:28px 0 0;display:grid}.room-header{grid-area:header;align-items:center;margin-bottom:4px}.phase-pill{color:#f4d58d;margin-top:10px;display:inline-flex}.roster-panel{grid-area:roster;padding:16px}.clue-panel{grid-area:clue;padding:16px}.roster-panel,.clue-panel{align-content:start;gap:12px;display:grid}.player-seat-card{color:#f5efe6;text-align:left;background:#f5efe60a;border:1px solid #f5efe61a;border-radius:8px;grid-template-columns:46px minmax(0,1fr) 18px;align-items:center;gap:12px;width:100%;min-height:68px;padding:10px;transition:background .16s,border-color .16s,transform .16s;display:grid}.player-seat-card:hover{background:#f4d58d14;border-color:#f4d58d5c;transform:translateY(-1px)}.player-seat-card strong,.player-seat-card small{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.player-seat-card small{color:#b9ada0;margin-top:3px}.player-seat-card svg{color:#8e8277}.my-seat-summary{background:#55b69c14;border:1px solid #55b69c2e;border-radius:8px;gap:6px;margin-top:8px;padding:14px;display:grid}.my-seat-summary span{color:#9fcac0;font-size:.78rem;font-weight:800}.my-seat-summary strong{color:#fff;font-size:1rem}.my-seat-summary small{color:#aeb5bf;line-height:1.55}.my-seat-summary img{aspect-ratio:16/10;object-fit:cover;background:#f5efe60f;border-radius:8px;width:100%}.seat-avatar{color:#f5efe6;background:#202329;border:1px solid #f5efe61f;border-radius:50%;place-items:center;width:44px;height:44px;font-weight:900;display:grid}.seat-avatar.large{width:58px;height:58px;font-size:1.05rem}.seat-avatar.image-avatar{color:#0000;background:#111216;overflow:hidden}.seat-avatar.image-avatar img{object-fit:cover;width:100%;height:100%;display:block}.seat-avatar.ready{color:#08110f;background:#55b69c;border-color:#55b69c8c}.seat-avatar.thinking{color:#211914;background:#f4d58d;border-color:#f4d58d99}.seat-avatar.speaking{background:#d36b55;border-color:#d36b5599}.clue-item{background:#f5efe60d;border:1px solid #f5efe61a;border-radius:8px;padding:12px}.clue-image{aspect-ratio:16/9;object-fit:cover;background:#f5efe60f;border-radius:6px;width:100%;margin-bottom:10px}.clue-panel-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.clue-panel-heading span{color:#f4d58d;background:#f4d58d1f;border-radius:999px;place-items:center;min-width:28px;height:28px;font-size:.78rem;font-weight:800;display:inline-grid}.private-heading{margin-top:6px}.clue-item strong{margin-bottom:6px;display:block}.clue-item.public{background:#55b69c14;border-color:#55b69c33}.clue-item.private{background:#f4d58d14;border-color:#f4d58d38}.clue-item.vote{background:#ec489914;border-color:#ec48994d}.clue-item.vote small{color:var(--muted);font-size:12px}.clue-item button{color:#f4d58d;background:#f4d58d1f;border:1px solid #f4d58d4d;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:34px;margin-top:10px;padding:0 10px;font-weight:800;display:inline-flex}.clue-item button:disabled{cursor:not-allowed;opacity:.55}.empty-clue-text{color:#8e8277;border:1px dashed #f5efe624;border-radius:8px;margin:0;padding:12px;line-height:1.55}.prompt-stack{gap:8px;margin-top:4px;display:grid}.prompt-stack button{color:#f5efe6;background:#100e0c;border:1px solid #f5efe624;border-radius:8px;justify-content:flex-start;gap:8px;min-height:40px;padding:0 10px}.chat-panel{grid-area:chat;grid-template-rows:auto minmax(0,1fr) auto auto;min-height:620px;display:grid;overflow:hidden}.chat-panel-header{background:#100e0cb8;border-bottom:1px solid #f5efe61a;justify-content:space-between;align-items:center;gap:12px;min-height:66px;padding:14px 16px;display:flex}.chat-panel-header span,.modal-header span,.script-page-content>span{color:#f4d58d;font-size:.78rem;font-weight:800;display:block}.chat-panel-header strong{color:#fff;margin-top:4px;display:block}.chat-scroll{flex-direction:column;gap:12px;padding:18px;display:flex;overflow:auto}.message{background:#f5efe60f;border-radius:8px;width:min(720px,100%);padding:12px 14px}.message.player{background:#55b69c1f;align-self:flex-end}.message.dm{border-left:3px solid #f4d58d}.message.system{background:#f4d58d14;border:1px solid #f4d58d2e;align-self:center;width:min(560px,100%)}.message strong{color:#f4d58d;margin-bottom:6px;font-size:.86rem;display:block}.message.player strong{color:#d4f0e5}.message p{color:#eadfd4;margin:0;line-height:1.68}.message-body{gap:6px;display:grid}.message-body p{margin:0}.dm-narration{color:#e5d9ca}.dm-dialogue{color:#f0b33a;font-weight:850}.message-actions{align-items:center;gap:7px;margin-top:10px;display:flex}.message-actions button{color:#e9dfd0;background:#0505066b;border:1px solid #f5efe61f;border-radius:999px;min-height:30px;padding:0 10px;font-size:.78rem;font-weight:800}.message-actions button:first-child{gap:6px;padding-inline:12px}.message-actions button:disabled{cursor:not-allowed;color:#e9dfd061}.reply-suggestion-box{background:#100e0cf5;border:1px solid #f4d58d2e;border-radius:8px;margin:0 18px 12px;overflow:hidden;box-shadow:0 18px 46px #0000006b}.reply-suggestion-head{border-bottom:1px solid #f4d58d1a;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.reply-suggestion-head span{color:#f4d58d;font-size:.78rem;font-weight:850;display:block}.reply-suggestion-head strong{color:#fff6e8;margin-top:3px;font-size:.94rem;display:block}.reply-suggestion-head>button{color:#f5efe6;background:#ffffff0d;border:1px solid #f5efe61f;border-radius:999px;width:32px;min-width:32px;height:32px;padding:0}.reply-suggestion-list{gap:8px;padding:10px;display:grid}.reply-suggestion-list button{color:#efe4d5;text-align:left;background:#ffffff0b;border:1px solid #f5efe614;border-radius:8px;grid-template-columns:28px minmax(0,1fr);align-items:start;gap:10px;min-height:58px;padding:10px 12px;line-height:1.55;display:grid}.reply-suggestion-list button:hover{background:#f4d58d17;border-color:#f4d58d57}.reply-suggestion-list span{color:#f4d58d;background:#f4d58d29;border-radius:999px;place-items:center;width:24px;height:24px;font-weight:900;display:grid}.tool-notice,.composer-notice{color:#bfb3a3;margin:0;font-size:.82rem;line-height:1.5}.tool-notice{padding:10px 14px 0}.composer-notice{background:#12100de6;padding:8px 18px 0}.message-image-panel{background:#100e0cf5;border:1px solid #73d1b82e;border-radius:8px;margin:0 18px 12px;overflow:hidden;box-shadow:0 18px 46px #0000006b}.voice-transcript-panel{background:#100e0cf5;border:1px solid #f4d58d2e;border-radius:8px;margin:0 18px 12px;overflow:hidden;box-shadow:0 18px 46px #0000006b}.voice-transcript-panel>p{color:#efe4d5;margin:0;padding:12px 14px 14px;line-height:1.7}.message-image-grid{grid-template-columns:repeat(auto-fit,minmax(126px,1fr));gap:10px;padding:12px;display:grid}.message-image-grid figure{background:#ffffff0a;border:1px solid #f5efe614;border-radius:8px;margin:0;overflow:hidden}.message-image-grid img{aspect-ratio:4/3;object-fit:cover;background:#00000029;width:100%;display:block}.message-image-grid figcaption{color:#efe4d5;padding:8px;font-size:.82rem;font-weight:800;line-height:1.35}.composer{background:#100e0cc2;border-top:1px solid #f5efe61a;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:14px;display:grid}.icon-submit{min-width:98px}.room-layout{--room-surface:#15130fdb;--room-surface-strong:#1d1a14f0;--room-line:#f0e1c71f;--room-muted:#9b9489;--room-text:#f6efe4;--room-gold:#f0ca72;--room-jade:#73d1b8;--room-rose:#d98976;min-height:auto;box-shadow:var(--ui-shadow-soft);color:var(--room-text);background-position:50%;background-size:cover;border:1px solid #7863421f;border-radius:8px;grid-template-columns:232px minmax(0,1fr) 318px;gap:14px;padding:20px}.room-header{z-index:8;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#050506e6;border-bottom:1px solid #f0e1c714;min-height:74px;margin-bottom:0;padding:14px 0 16px;position:sticky;top:0}.room-title-stack{min-width:0}.room-header h1{color:#fff9ee;max-width:980px;font-size:clamp(1.85rem,2.4vw,2.7rem)}.room-phase-row{flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px;display:flex}.room-live-pill{color:#bceee1;background:#73d1b81a;border:1px solid #73d1b83d;border-radius:999px;align-items:center;min-height:30px;padding:6px 10px;font-size:.8rem;font-weight:800;display:inline-flex}.room-readiness-summary{color:#d7cec0;background:#f0e1c70e;border:1px solid #f0e1c71f;border-radius:999px;align-items:center;min-height:30px;padding:6px 10px;font-size:.8rem;font-weight:800;display:inline-flex}.room-layout .phase-pill{color:var(--room-gold);background:#f0ca721a;border-color:#f0ca7247;margin-top:0;font-weight:900}.room-layout .roster-panel,.room-layout .clue-panel,.room-layout .chat-panel{border:1px solid var(--room-line);background:var(--room-surface);min-height:0;box-shadow:none;border-radius:8px}.room-layout .roster-panel,.room-layout .clue-panel{max-height:max(560px,100vh - 276px);position:sticky;top:108px;overflow:hidden}.room-layout .roster-panel{padding:14px}.side-panel-title,.clue-panel-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.side-panel-title h2,.room-layout .clue-panel h2{color:#fff8ec;letter-spacing:0;margin:0;font-size:.94rem}.side-panel-title span,.room-layout .clue-panel-heading span{min-width:26px;height:26px;color:var(--room-gold);background:#f0ca721f;border-radius:999px;place-items:center;font-size:.76rem;font-weight:900;display:inline-grid}.room-layout .player-seat-card{background:#ffffff09;border-color:#f0e1c714;border-radius:8px;grid-template-columns:38px minmax(0,1fr) auto 16px;min-height:56px;padding:8px}.room-layout .player-seat-card:hover{background:#73d1b812;border-color:#73d1b857;transform:none}.readiness-chip{color:#c7beb0;white-space:nowrap;background:#f0e1c70e;border:1px solid #f0e1c71a;border-radius:999px;justify-content:center;align-items:center;min-width:46px;min-height:24px;padding:4px 7px;font-size:.72rem;font-weight:900;display:inline-flex}.readiness-chip.read{color:#bceee1;background:#73d1b81f;border-color:#73d1b84d}.readiness-chip.ai_synced{color:#ffe3a3;background:#f0ca721c;border-color:#f0ca7238}.room-layout .seat-avatar{width:36px;height:36px;font-size:.9rem}.room-layout .seat-avatar.ready{background:var(--room-jade)}.room-layout .seat-avatar.thinking{background:var(--room-gold)}.room-layout .seat-avatar.speaking{background:var(--room-rose)}.room-layout .my-seat-summary{background:#73d1b814;border-color:#73d1b838;margin-top:6px}.room-layout .chat-panel{background:#0a0a09eb;height:max(560px,100vh - 276px);min-height:0}.room-layout .chat-panel-header{background:linear-gradient(90deg,#f0ca7214,#0000 46%),#14120ed1;border-bottom-color:#f0e1c714;min-height:72px;padding:14px 20px}.room-layout .chat-panel-header strong{color:#fff8ec;font-size:1rem}.chat-header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:inline-flex}.read-confirm-button.active,.read-confirm-inline.active{color:#7ee1c6;background:#73d1b821;border-color:#73d1b85c}.music-toggle.active{color:#7ee1c6;background:#55b69c1f;border-color:#55b69c5c}.room-hidden-audio{display:none}.dm-control-panel{background:linear-gradient(135deg,#73d1b81f,#f0ca7214),#0e0d0ae6;border:1px solid #73d1b83d;border-radius:8px;grid-template-columns:minmax(150px,.55fr) minmax(170px,.7fr) minmax(0,1fr);gap:10px 12px;margin:12px 18px 0;padding:13px;display:grid;box-shadow:0 16px 36px #0000002e}.dm-control-heading{background:#73d1b81a;border:1px solid #73d1b838;border-radius:8px;align-content:center;gap:5px;min-height:58px;padding:10px 12px;display:grid}.dm-control-heading span{color:#bceee1;font-size:.78rem;font-weight:900}.dm-control-heading strong{color:#fff8ec;font-size:1rem;line-height:1.2}.dm-control-main,.dm-control-blockers,.dm-event-strip{align-content:start;gap:5px;display:grid}.dm-control-main span{color:var(--room-gold);font-size:.78rem;font-weight:900}.dm-control-main strong{color:#fff8ec;font-size:1.05rem}.dm-control-main small{color:var(--room-muted);line-height:1.45}.dm-control-metrics,.dm-control-blockers,.ai-experience-strip,.dm-event-strip{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.dm-control-metrics span,.dm-control-blockers span,.dm-event-strip span{color:#d7cec0;background:#f0e1c70e;border:1px solid #f0e1c71a;border-radius:999px;align-items:center;gap:5px;max-width:100%;min-height:28px;padding:5px 9px;font-size:.78rem;line-height:1.35;display:inline-flex}.dm-control-blockers span{color:#ffe3a3;background:#f0ca7217;border-color:#f0ca723d}.dm-control-blockers span.ready{color:#bceee1;background:#73d1b81c;border-color:#73d1b847}.ai-experience-strip{grid-column:1/-1;padding-top:2px}.ai-experience-row{color:#f6efe2;background:#f0e1c70e;border:1px solid #f0e1c71a;border-radius:8px;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:8px;min-width:min(100%,220px);max-width:100%;padding:8px 10px;display:inline-grid}.ai-experience-row.pending{background:#73d1b81a;border-color:#73d1b847}.ai-experience-row.fallback{background:#f0ca721a;border-color:#f0ca724d}.ai-experience-row.failed{background:#d36b551f;border-color:#d36b5557}.ai-experience-icon{width:22px;height:22px;color:var(--room-gold);background:#0506064d;border-radius:50%;place-items:center;display:grid}.ai-experience-row.pending .ai-experience-icon svg{animation:.98s linear infinite auth-spin}.ai-experience-row strong,.ai-experience-row small{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.ai-experience-row strong{color:#fff8ec;font-size:.82rem}.ai-experience-row small{color:#c9c1b6;margin-top:2px;font-size:.75rem}.dm-event-strip{grid-column:2/-1;padding-top:2px}.dm-event-strip strong{color:var(--room-gold)}.room-layout .chat-scroll{background:radial-gradient(circle at 50% 0,#73d1b814,#0000 26%),#07070666;gap:14px;padding:22px}.room-layout .message{background:#ffffff0b;border:1px solid #f0e1c714;border-radius:8px;width:min(690px,100%);padding:14px 16px}.room-layout .message.dm{background:#2a201285;border-color:#f0ca722e;border-left-style:none;border-left-width:0}.room-layout .message.player{background:#183c316b;border-color:#73d1b838;align-self:flex-end}.room-layout .message.system{background:#f0ca7214;border-color:#f0ca722e;align-self:center;width:min(560px,100%)}.room-layout .message p{color:#e7ded1;line-height:1.75}.room-layout .message-body{gap:8px}.room-layout .dm-narration{color:#d7cec0}.room-layout .dm-dialogue{color:#f0b33a;text-shadow:0 0 16px #f0b33a1f}.room-layout .message strong{color:var(--room-gold);font-size:.82rem}.room-layout .message-actions button:hover:not(:disabled){color:#fff3df;border-color:#f0ca7257}.room-layout .message-actions button:first-child{color:#f3d58f;background:#f0ca721a}.room-layout .reply-suggestion-box{background:linear-gradient(#251e13fa,#0f0d0afa);border-color:#f0ca7238;margin-inline:22px}.room-layout .reply-suggestion-list button{background:#ffffff0a;border-color:#f0e1c714}.room-layout .composer{background:#12100de6;border-top-color:#f0e1c714;padding:14px 18px}.room-layout .composer input{background:#050506b8;border-color:#f0e1c71a;min-height:46px}.clue-scroll-area{align-content:start;gap:11px;min-height:0;padding:2px;display:grid;overflow:auto}.room-layout .clue-item{background:#ffffff09;border-color:#f0e1c714;padding:12px}.room-layout .clue-image{border-radius:8px;max-height:118px}.room-layout .clue-item strong{color:#fff5e6;line-height:1.35}.room-layout .clue-item p{color:#bfb6a8;margin:0;font-size:.9rem;line-height:1.6}.room-layout .empty-clue-text{color:#8f877b;background:#ffffff06}.room-layout .prompt-stack{border-top:1px solid #f0e1c714;gap:8px;margin-top:0;padding-top:12px}.room-layout .prompt-stack button{color:#e9dfd0;background:#0505068f;border-color:#f0e1c71a;border-radius:8px;justify-content:center;min-height:38px;font-weight:800}.room-layout .prompt-stack button:nth-child(2){background:var(--room-gold);color:#14100a;border-color:#0000}.room-layout .prompt-stack button:disabled{cursor:not-allowed;color:#e9dfd075;opacity:1}.room-layout .prompt-stack .room-danger-action{color:#ffd7df;background:#5212228a;border-color:#ff6f823d}.room-layout .prompt-stack .room-danger-action:disabled{color:#e9dfd06b;background:#05050661;border-color:#f0e1c714}.modal-backdrop{z-index:50;background:#000000a3;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.info-modal,.script-reader-modal,.clue-drawer-modal{background:#111216;border:1px solid #f5efe61f;border-radius:8px;width:min(940px,100%);max-height:min(760px,100vh - 40px);overflow:hidden;box-shadow:0 28px 80px #00000080}.compact-modal{gap:16px;width:min(460px,100%);padding:18px;display:grid}.clue-drawer-modal{grid-template-rows:auto minmax(0,1fr);width:min(560px,100%);display:grid}.clue-drawer-modal .modal-header{border-bottom:1px solid #f5efe61a;padding:18px}.clue-drawer-body{gap:16px;padding:18px;display:grid;overflow:auto}.drawer-status-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.drawer-status-grid div{background:#f4d58d12;border:1px solid #f4d58d2e;border-radius:8px;gap:5px;min-height:70px;padding:12px;display:grid}.drawer-status-grid span,.search-location-card small{color:#b7afa4;font-size:.78rem;font-weight:800}.drawer-status-grid strong{color:#fff;font-size:1.2rem}.search-location-grid{gap:10px;display:grid}.search-location-card{color:#f9f6ef;text-align:left;background:#8ee4ca14;border:1px solid #8ee4ca38;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 14px;min-height:76px;padding:13px;display:grid}.search-location-card span{color:#9be8ce;background:#8ee4ca1f;border-radius:999px;grid-area:1/2/span 2;justify-content:center;align-items:center;gap:5px;min-width:70px;min-height:32px;font-size:.82rem;font-weight:900;display:inline-flex}.search-location-card strong{color:#fff;text-overflow:ellipsis;white-space:nowrap;font-size:1.02rem;overflow:hidden}.search-location-card:disabled{cursor:not-allowed;color:#f5efe670;background:#f5efe609;border-color:#f5efe614}.modal-header{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.modal-header h2{color:#fff;margin:4px 0 0;font-size:1.25rem;line-height:1.25}.player-profile-hero{background:#f5efe60d;border-radius:8px;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:12px;padding:12px;display:grid}.player-profile-hero strong,.player-profile-hero small{display:block}.player-profile-hero small{color:#aab0bc;margin-top:4px}.player-profile-image{object-fit:cover;background:#f5efe60d;border:1px solid #f5efe61a;border-radius:10px;width:100%;max-height:320px}.info-modal p{color:#d9dfe8;margin:0;line-height:1.75}.player-credit-box{background:#8ee4ca14;border:1px solid #8ee4ca38;border-radius:8px;gap:7px;padding:12px;display:grid}.player-credit-box.watch,.player-credit-box.restricted{background:#ff6f8214;border-color:#ff6f823d}.player-credit-box div{justify-content:space-between;align-items:center;gap:10px;display:flex}.player-credit-box span,.player-credit-box small{color:#bfc7d2;font-size:.78rem;font-weight:800}.player-credit-box strong{color:#fff;font-size:1.4rem}.player-credit-box p{color:#d9dfe8;font-size:.9rem;line-height:1.55}.moderation-box{background:#ff6f8214;border:1px solid #ff6f8238;border-radius:8px;gap:10px;padding:12px;display:grid}.moderation-box.passive{background:#8ee4ca14;border-color:#8ee4ca33}.moderation-box div{justify-content:space-between;align-items:center;gap:12px;display:flex}.moderation-box span,.moderation-box small{color:#bfc7d2;font-size:.78rem;font-weight:800}.moderation-box strong{color:#fff}.moderation-box p{color:#d9dfe8;font-size:.9rem;line-height:1.6}.moderation-button{justify-content:center}.script-reader-modal{grid-template-rows:auto minmax(0,1fr);display:grid}.script-reader-modal .modal-header{border-bottom:1px solid #f5efe61a;padding:18px}.script-reader-body{grid-template-columns:240px minmax(0,1fr);min-height:0;display:grid}.script-page-list{background:#0505063d;border-right:1px solid #f5efe61a;align-content:start;gap:8px;padding:14px;display:grid;overflow:auto}.script-page-list button{color:#f5efe6;text-align:left;background:#f5efe60a;border:1px solid #f5efe617;border-radius:8px;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:48px;padding:8px;display:grid}.script-page-list button.active{background:#f4d58d1c;border-color:#f4d58d70}.script-page-list button.locked{cursor:not-allowed;color:#f5efe66b;background:#f5efe606;border-color:#f5efe60f}.script-page-list button.locked span,.script-page-list button.locked small{color:#f5efe673}.script-page-list button.locked small{background:#f5efe60d}.script-page-list span{color:#f4d58d;font-size:.78rem;font-weight:900}.script-page-list strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.script-page-list small{color:#aeb5bf;background:#f5efe614;border-radius:999px;padding:4px 7px;font-size:.72rem}.script-page-content{padding:24px;overflow:auto}.script-page-status-row{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.script-page-status-row>span{color:#f4d58d;font-size:.82rem;font-weight:900}.read-confirm-inline{color:#f5efe6;background:#f5efe60f;border:1px solid #f5efe624;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:34px;padding:0 12px;font-weight:900;display:inline-flex}.read-confirm-inline:disabled{cursor:not-allowed;opacity:.72}.script-page-content h3{color:#fff;margin:8px 0 18px;font-size:1.45rem;line-height:1.25}.script-reader-toolbar{z-index:1;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#111216eb;border:1px solid #f5efe61a;border-radius:8px;justify-content:flex-end;align-items:center;gap:8px;margin:0 0 18px;padding:10px;display:flex;position:sticky;top:0}.script-reader-toolbar>span{color:#f4d58d;align-items:center;gap:6px;margin-right:auto;font-size:.86rem;font-weight:900;display:inline-flex}.script-reader-toolbar button{color:#f5efe6;background:#f5efe60f;border:1px solid #f5efe624;border-radius:8px;min-width:42px;min-height:34px;font-weight:900}.script-reader-toolbar button:disabled{cursor:not-allowed;opacity:.42}.script-reader-toolbar strong{color:#d9dfe8;text-align:center;min-width:44px;font-size:.86rem}.reader-mode-toggle{background:#0000002e;border:1px solid #f5efe61f;border-radius:10px;align-items:center;gap:4px;padding:3px;display:inline-flex}.reader-mode-toggle button{background:0 0;border-color:#0000;min-width:58px;min-height:28px}.reader-mode-toggle button.active{color:#fff2d0;background:#f4d58d29;border-color:#f4d58d61}.script-image-reader{background:radial-gradient(circle at 50% 0,#f4d58d14,#0000 28%),#0404053d;border:1px solid #f5efe61a;border-radius:8px;justify-items:center;gap:12px;min-height:0;padding:18px;display:grid;overflow:auto}.script-image-reader img{border-radius:6px;max-width:none;height:auto;display:block;box-shadow:0 18px 42px #00000052}.script-image-reader p{color:#aeb5bf;text-align:center;max-width:680px;margin:0;font-size:.84rem;line-height:1.6}.script-image-reader.empty{place-items:center;min-height:260px}.script-reading-text{color:#f3efe7;letter-spacing:0;max-width:820px;line-height:1.95}.script-reading-text p{white-space:pre-wrap;margin:0 0 1.1em}.script-page-illustration{object-fit:cover;background:#ffffff0a;border:1px solid #f5efe624;border-radius:18px;width:100%;max-height:300px;margin:0 0 20px}.script-page-content p{color:#d9dfe8;white-space:pre-wrap;margin:0 0 14px;line-height:1.85}.script-page-asset{gap:10px;margin:0 0 18px;display:grid}.script-page-asset video,.script-page-asset audio,.script-media-item video,.script-media-item audio{width:100%}.script-page-asset.pdf{background:#f5efe60a;border:1px solid #f5efe61f;border-radius:8px;overflow:hidden}.script-page-asset-toolbar{color:#f5efe6;border-bottom:1px solid #f5efe61a;justify-content:space-between;align-items:center;gap:12px;min-height:44px;padding:10px 12px;display:flex}.script-page-asset-toolbar span{color:#d9dfe8;margin-right:auto;font-weight:800}.script-page-asset-toolbar a,.script-media-link{color:inherit;text-decoration:none}.script-page-asset iframe{background:#fff;border:0;width:100%;height:min(620px,62vh)}.script-media-library{background:#f5efe60b;border:1px solid #f5efe61a;border-radius:8px;gap:12px;margin-top:22px;padding:16px;display:grid}.script-media-library.compact{margin-top:20px;padding:12px}.script-media-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.script-media-head span,.script-media-meta span{color:#f4d58d;font-size:.78rem;font-weight:900;display:block}.script-media-head strong{color:#fff;margin-top:2px;display:block}.script-media-head button{color:#f5efe6;background:#f5efe60f;border:1px solid #f5efe61f;border-radius:8px;min-height:32px;padding:0 10px}.script-media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.script-media-library.compact .script-media-grid{grid-template-columns:1fr}.script-media-item{background:#05050642;border:1px solid #f5efe61a;border-radius:8px;gap:10px;min-width:0;padding:12px;display:grid}.script-media-meta strong{color:#fff;text-overflow:ellipsis;white-space:nowrap;margin:3px 0;display:block;overflow:hidden}.script-media-meta small{color:#aeb5bf;text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.script-media-thumb{object-fit:cover;background:#ffffff0a;border-radius:8px;width:100%;max-height:120px}.script-media-link{border-radius:8px;justify-content:center;min-height:34px}.builder-page{padding:28px 0 70px}.builder-header{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;margin-bottom:18px;display:grid}.builder-header h1,.builder-panel-header h2,.permission-matrix h3,.publish-checklist h3{color:#fff;letter-spacing:0;margin:0}.builder-header h1{font-size:2rem}.builder-header span{color:#aab0bc;margin-top:6px;display:block}.builder-header-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.hidden-file-input{display:none}.builder-import-status{color:#d7f7ea;background:#26c68a1f;border:1px solid #ffffff14;border-radius:8px;margin:-6px 0 18px;padding:10px 12px;font-size:.9rem;line-height:1.55}.builder-import-status.error{color:#ffd8df;background:#ff6b811c;border-color:#ff6b8147}.builder-layout{grid-template-columns:210px minmax(0,1fr);align-items:start;gap:16px;display:grid}.builder-sidebar,.builder-panel,.builder-editor-card,.permission-matrix,.publish-checklist{background:#111216;border:1px solid #ffffff14;border-radius:8px}.builder-sidebar{gap:8px;padding:12px;display:grid;position:sticky;top:16px}.builder-sidebar button{color:#cfd4dd;text-align:left;background:0 0;border:1px solid #0000;border-radius:8px;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:8px;min-height:44px;padding:0 10px;display:grid}.builder-sidebar button.active{color:#fff;background:#f4d58d1a;border-color:#f4d58d5c}.builder-sidebar button span{color:#f4d58d;font-size:.78rem;font-weight:900}.builder-health{background:#55b69c14;border-radius:8px;gap:5px;margin-top:8px;padding:12px;display:grid}.builder-health strong{color:#fff}.builder-health span{color:#9fcac0;font-size:.84rem}.builder-workspace{min-width:0}.builder-panel{gap:18px;padding:18px;display:grid}.builder-panel-header{justify-content:space-between;align-items:start;gap:16px;display:flex}.builder-panel-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.builder-panel-header h2{font-size:1.28rem}.builder-panel-header p{color:#aab0bc;margin:7px 0 0;line-height:1.6}.builder-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.builder-form-grid.single{grid-template-columns:1fr}.builder-split{grid-template-columns:230px minmax(0,1fr);align-items:start;gap:14px;display:grid}.builder-list{gap:8px;max-height:640px;display:grid;overflow:auto}.builder-list button{color:#fff;text-align:left;background:#f5efe60a;border:1px solid #ffffff14;border-radius:8px;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:8px;min-height:52px;padding:8px;display:grid}.builder-list button.active{background:#f4d58d1c;border-color:#f4d58d6b}.builder-list button span{color:#f4d58d;font-weight:900}.builder-list button strong,.builder-list button small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.builder-list button small{color:#8e95a3;grid-column:2;font-size:.76rem}.builder-editor-card{gap:14px;padding:16px;display:grid}.role-flow-tools,.role-flow-summary{background:#f5efe60a;border:1px solid #f5efe614;border-radius:8px;gap:12px;padding:12px;display:grid}.role-flow-tools{grid-template-columns:minmax(220px,1fr) minmax(140px,.36fr) minmax(140px,.36fr) auto;align-items:end;margin-bottom:14px}.role-flow-tools>div,.role-flow-summary>div:first-child{gap:4px;display:grid}.role-flow-tools strong,.role-flow-summary strong{color:#fff}.role-flow-tools span,.role-flow-summary span{color:#9da5b4;font-size:.88rem;line-height:1.5}.role-flow-tools label{color:#d9dfe8;gap:8px;display:grid}.role-flow-page-list{gap:8px;display:grid}.role-flow-page-list button{color:#fff;text-align:left;background:#0a0d1280;border:1px solid #f5efe614;border-radius:8px;gap:4px;min-height:54px;padding:10px 12px;display:grid}.role-flow-page-list button.active{background:#55b69c1f;border-color:#55b69c75}.role-flow-page-list strong,.role-flow-page-list span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.role-flow-summary.compact-card{background:#55b69c0f}.toggle-line{grid-template-columns:minmax(0,1fr) auto;align-items:center;min-height:44px}.toggle-line input,.builder-switch-row input{width:auto;min-height:auto}.upload-box{background:#f4d58d0f;border:1px dashed #f4d58d47;border-radius:8px;min-height:84px;padding:12px;position:relative}.upload-box span,.upload-box strong{align-items:center;gap:8px;display:flex}.upload-box span{color:#f4d58d;font-weight:800}.upload-box strong{color:#e7ddd0;word-break:break-all;font-size:.86rem}.upload-box input{opacity:0;cursor:pointer;position:absolute;inset:0}.permission-chips{background:#f5efe60a;border-radius:8px;gap:10px;padding:12px;display:grid}.permission-chips>strong{color:#fff}.permission-chips div,.builder-switch-row{flex-wrap:wrap;gap:8px;display:flex}.permission-chips button{color:#aab0bc;background:#f5efe60d;border:1px solid #f5efe61f;border-radius:999px;min-height:34px;padding:0 11px}.permission-chips button.active{color:#d4f0e5;background:#55b69c1f;border-color:#55b69c70}.builder-switch-row{padding:10px 0 0}.builder-switch-row label{color:#d9dfe8;grid-template-columns:none;align-items:center;gap:8px;display:inline-flex}.phase-editor-list{gap:10px;display:grid}.phase-editor-card{background:#f5efe60a;border:1px solid #f5efe617;border-radius:8px;grid-template-columns:40px minmax(160px,.4fr) minmax(0,1fr);align-items:center;gap:12px;padding:12px;display:grid}.phase-editor-card>span{color:#f4d58d;font-weight:900}.permission-matrix{gap:12px;padding:14px;display:grid}.matrix-scroll{overflow:auto}.permission-matrix table{border-collapse:collapse;width:100%;min-width:760px}.permission-matrix th,.permission-matrix td{color:#d9dfe8;text-align:left;vertical-align:middle;border-bottom:1px solid #f5efe614;padding:10px}.permission-matrix th{color:#f4d58d;font-size:.82rem}.matrix-toggle{color:#8e95a3;background:#f5efe60d;border:1px solid #f5efe621;border-radius:999px;min-height:30px;padding:0 9px}.matrix-toggle.active{color:#d4f0e5;background:#55b69c1f;border-color:#55b69c70}.builder-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.builder-web-preview{grid-template-columns:280px minmax(0,1fr);gap:14px;display:grid}.preview-catalog-card,.preview-detail-card,.preview-reader-card{background:#f5efe60a;border:1px solid #f5efe61a;border-radius:8px;overflow:hidden}.preview-catalog-card{align-content:start;display:grid}.preview-catalog-card>div:last-child,.preview-detail-card,.preview-reader-card{gap:12px;padding:14px;display:grid}.preview-cover{color:#f4d58d;text-align:center;background:linear-gradient(145deg,#f4d58d29,#55b69c1c),#17181d;place-items:center;gap:8px;min-height:260px;display:grid}.preview-cover span{overflow-wrap:anywhere;color:#d9dfe8;max-width:90%;font-size:.82rem}.preview-catalog-card strong,.preview-detail-card h3,.preview-reader-card h3,.preview-clue-card strong{color:#fff}.preview-catalog-card strong{font-size:1rem}.preview-catalog-card p,.preview-detail-card p,.preview-reader-card p,.preview-clue-card p{color:#aab0bc;margin:0;line-height:1.65}.preview-detail-card{min-height:260px}.preview-detail-card header span,.preview-reader-card header span{color:#f4d58d;font-size:.78rem;font-weight:900}.preview-detail-card h3,.preview-reader-card h3{margin:4px 0 0;font-size:1.35rem}.preview-role-strip,.preview-phase-strip{flex-wrap:wrap;gap:8px;display:flex}.preview-role-strip span,.preview-phase-strip span{color:#d9dfe8;background:#f5efe612;border-radius:999px;min-height:30px;padding:6px 10px;font-size:.8rem}.preview-reader-card{grid-column:2}.preview-clue-card{background:#55b69c14;border:1px solid #55b69c33;border-radius:8px;gap:7px;padding:12px;display:grid}.builder-preview-grid article{background:#f5efe60a;border:1px solid #f5efe617;border-radius:8px;gap:9px;min-height:150px;padding:14px;display:grid}.builder-preview-grid svg{color:#f4d58d}.builder-preview-grid strong{color:#fff}.builder-preview-grid p,.builder-preview-grid span{color:#aab0bc;margin:0;line-height:1.6}.publish-checklist{gap:8px;padding:14px;display:grid}.publish-checklist p{color:#ffb4a2;margin:0;line-height:1.6}.publish-checklist .check-ok{color:#d4f0e5}.scenario-home{width:min(940px,100%);margin:0 auto;padding:42px 0 64px}.home-tabs{align-items:center;gap:28px;margin-bottom:22px;display:flex}.home-tabs button{color:#cfd4dd;background:0 0;border:0;padding:0 0 9px;font-size:1rem;font-weight:600;position:relative}.home-tabs button.active{color:#fff}.home-tabs button.active:after{content:"";background:linear-gradient(90deg,#ff4f8b,#f4d58d);border-radius:999px;height:2px;position:absolute;bottom:0;left:0;right:0}.community-banner{color:#fff;text-align:left;background:#2a08168f;border:1px solid #ff4f8b52;border-radius:24px;grid-template-columns:48px minmax(0,1fr) 20px;align-items:center;gap:14px;width:100%;min-height:70px;margin-bottom:18px;padding:12px 18px;display:grid}.community-banner strong,.community-banner small{display:block}.community-banner small{color:#aab0bc;margin-top:4px;font-size:.9rem}.community-icon{color:#ff4f8b;background:#ff4f8b26;border-radius:50%;place-items:center;width:42px;height:42px;display:grid}.clean-tabs{flex-wrap:wrap;gap:8px;margin-bottom:18px;padding:0;display:flex}.clean-tabs button{color:#cfd4dd;background:#050506;border:1px solid #ffffff29;border-radius:999px;min-width:48px;min-height:30px;padding:0 13px}.clean-tabs button.active{color:#fff;background:#131417;border-color:#f4d58d8f}.popular-grid{column-count:3;column-gap:16px}.popular-card{break-inside:avoid;background:#141519;border:1px solid #ffffff14;border-radius:18px;width:100%;margin:0 0 16px;transition:transform .16s,border-color .16s,background .16s;display:inline-block;overflow:hidden}.popular-card:hover,.popular-card.selected{background:#181a1f;border-color:#f4d58d73;transform:translateY(-2px)}.popular-image-button{background:#24262b;border:0;width:100%;padding:0;display:block;position:relative}.popular-image-button img{aspect-ratio:1/1.12;object-fit:cover;width:100%;display:block}.popular-card:nth-child(3n+1) .popular-image-button img{aspect-ratio:1/1.42}.popular-card:nth-child(4n) .popular-image-button img{aspect-ratio:1/.86}.sfw-badge,.heat-float{color:#fff;background:#050506d1;border-radius:6px;align-items:center;gap:5px;min-height:24px;padding:0 7px;font-size:.72rem;font-weight:800;display:inline-flex;position:absolute;top:10px}.sfw-badge{left:10px}.heat-float{color:#f4d58d;right:10px}.popular-card-body{gap:8px;padding:12px 12px 13px;display:grid}.popular-title{color:#fff;text-align:left;background:0 0;border:0;margin:0;padding:0;font-size:1rem;font-weight:800;line-height:1.38}.popular-card-body p{color:#8e95a3;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:.84rem;line-height:1.5;display:-webkit-box;overflow:hidden}.popular-meta{color:#a8afbc;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;font-size:.78rem;display:grid}.popular-meta span{text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:4px;min-width:0;display:inline-flex;overflow:hidden}.rooms-view{gap:14px;display:grid}.inline-create-room{grid-template-columns:minmax(0,1fr) 108px;gap:10px;display:grid}.compact-room-list{gap:8px;display:grid}.compact-room-row{color:#fff;text-align:left;background:#111216;border:1px solid #ffffff14;border-radius:18px;grid-template-columns:84px minmax(0,1fr) 52px;align-items:center;gap:14px;min-height:76px;padding:8px;display:grid}.compact-room-row:disabled{opacity:.55}.compact-room-row img{object-fit:cover;border-radius:14px;width:84px;height:58px}.compact-room-main{gap:5px;min-width:0;display:grid}.compact-room-main strong,.compact-room-main small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.compact-room-main small{color:#8e95a3}.compact-room-count{color:#cfd4dd;text-align:right;font-size:.86rem}.script-detail-page{width:min(1080px,100%);margin:0 auto;padding:34px 0 70px}.detail-back{color:#cfd4dd;background:#0f1013;border:1px solid #ffffff1f;border-radius:999px;align-items:center;gap:8px;min-height:36px;margin-bottom:22px;padding:0 13px;display:inline-flex}.detail-hero{grid-template-columns:300px minmax(0,1fr);align-items:start;gap:34px;margin-bottom:24px;display:grid}.detail-hero>img{aspect-ratio:1/1.34;object-fit:cover;background:#17181d;border-radius:22px;width:100%}.detail-hero-content{gap:18px;min-height:100%;padding-top:2px;display:grid}.detail-title-row{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:16px;display:grid}.detail-title-row h1{color:#fff;letter-spacing:0;margin:0;font-size:2.05rem;line-height:1.2}.detail-submeta,.detail-actions-row,.detail-tags,.phase-list{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.detail-submeta{color:#aab0bc}.detail-submeta span,.detail-actions-row span,.detail-actions-row button{align-items:center;gap:6px;display:inline-flex}.detail-actions-row button{color:#cfd4dd;background:0 0;border:0;padding:0}.detail-tags span{color:#d9dfe8;background:#202329;border-radius:999px;min-height:26px;padding:0 10px;font-size:.82rem}.detail-start-button{color:#fff;background:#ec1f68;border:0;border-radius:999px;justify-content:center;align-self:end;align-items:center;gap:8px;width:100%;min-height:48px;margin-top:auto;font-weight:800;display:inline-flex}.detail-section h2{color:#fff;margin:0 0 14px;font-size:1rem}.detail-intro{background:#111216;border:1px solid #ffffff14;border-radius:22px;padding:20px;position:relative}.detail-intro h2{border-left:3px solid #ec1f68;padding-left:10px}.detail-intro p{color:#cfd4dd;margin:0 0 14px;line-height:1.78}.detail-intro p:last-child{margin-bottom:0}.character-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.character-card{background:#17181d;border:1px solid #ffffff14;border-radius:18px;min-height:170px;padding:16px}.character-image{aspect-ratio:16/9;object-fit:cover;background:#f5efe60f;border-radius:8px;width:100%;margin-bottom:12px}.character-avatar{color:#15161a;background:#f0f2f6;border-radius:50%;place-items:center;width:40px;height:40px;margin-bottom:10px;font-weight:900;display:grid}.character-card h3{color:#fff;margin:0 0 10px;font-size:.98rem}.character-card p{color:#b8c0cc;margin:0;line-height:1.68}.phase-list span{color:#cfd4dd;background:#111216;border:1px solid #ffffff17;border-radius:999px;min-height:34px;padding:7px 12px}.start-game-page{width:min(980px,100%);margin:0 auto;padding:34px 0 70px}.start-game-heading{grid-template-columns:92px minmax(0,1fr);align-items:center;gap:16px;margin-bottom:22px;display:grid}.start-game-heading img{object-fit:cover;background:#17181d;border-radius:18px;width:92px;height:92px}.start-game-heading h1{color:#fff;letter-spacing:0;margin:0 0 8px;font-size:1.9rem}.start-game-heading span{color:#aab0bc}.start-options-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.start-option-panel{background:#111216;border:1px solid #ffffff14;border-radius:24px;align-content:start;gap:14px;min-height:420px;padding:20px;display:grid}.start-option-icon{color:#ff6b9d;background:#ec1f6821;border-radius:16px;place-items:center;width:48px;height:48px;display:grid}.start-option-panel h2{color:#fff;margin:0;font-size:1.22rem}.start-option-panel p{color:#aab0bc;margin:0;line-height:1.65}.start-option-panel label{margin-top:8px}.start-room-list{gap:9px;display:grid}.start-room-row{color:#fff;text-align:left;background:#17181d;border:1px solid #ffffff14;border-radius:16px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:64px;padding:10px 12px;display:grid}.start-room-row span{gap:5px;min-width:0;display:grid}.start-room-row strong,.start-room-row small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.start-room-row small{color:#8e95a3}.start-room-row em{color:#cfd4dd;font-style:normal}.start-empty-room{color:#8e95a3;border:1px dashed #ffffff24;border-radius:16px;padding:16px;line-height:1.6}.waiting-room-page{width:min(1080px,100%);margin:0 auto;padding:34px 0 70px}.waiting-room-layout{grid-template-columns:minmax(0,1fr) 360px;align-items:stretch;gap:18px;min-height:calc(100vh - 150px);display:grid}.waiting-preview-panel{background:#050506;border:1px solid #ffffff0f;border-radius:8px;align-content:center;place-items:center;gap:20px;min-height:640px;padding:28px;display:grid}.waiting-preview-card{background:#25272d;border-radius:22px;width:min(220px,68%);overflow:hidden;box-shadow:0 22px 70px #00000070}.waiting-preview-card img{aspect-ratio:1/1.28;object-fit:cover;width:100%;display:block}.waiting-preview-copy{text-align:center;justify-items:center;gap:8px;max-width:440px;display:grid}.waiting-preview-copy h1,.waiting-lobby-header h1,.waiting-section-heading h2,.role-pick-card span,.dock-player strong{color:#fff;letter-spacing:0;margin:0}.waiting-preview-copy p{color:#aab0bc;margin:0;line-height:1.7}.waiting-room-stats{flex-wrap:wrap;gap:8px;display:flex}.waiting-room-stats span{color:#d9dfe8;background:#111216;border:1px solid #ffffff17;border-radius:999px;align-items:center;gap:7px;min-height:32px;padding:0 10px;font-size:.82rem;display:inline-flex}.waiting-lobby-panel{background:#111216;border:1px solid #ffffff14;border-radius:8px;align-content:start;gap:16px;padding:22px;display:grid}.waiting-lobby-header,.waiting-section-heading{justify-content:space-between;align-items:start;gap:12px;display:flex}.waiting-lobby-header h1{margin-top:4px;font-size:1.15rem}.waiting-lobby-header>span,.waiting-section-heading small{color:#ff8ab4;background:#ec1f6824;border-radius:999px;flex:none;min-height:28px;padding:5px 9px;font-size:.8rem}.role-select-panel{gap:12px;display:grid}.role-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.role-pick-card{color:#fff;text-align:left;background:0 0;border:1px solid #ffffff14;border-radius:14px;gap:6px;min-width:0;padding:0 0 8px;display:grid;position:relative;overflow:hidden}.role-pick-card img{aspect-ratio:1;object-fit:cover;filter:saturate(.94);width:100%}.role-pick-card span,.role-pick-card small{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:0 8px;overflow:hidden}.role-pick-card span{font-size:.8rem}.role-pick-card small{color:#8e95a3;font-size:.72rem}.role-pick-card.taken{opacity:.58}.role-pick-card:disabled{cursor:not-allowed}.waiting-player-dock{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:10px;margin-top:auto;display:grid}.dock-player{color:#cfd4dd;justify-items:center;gap:5px;min-width:0;display:grid;position:relative}.dock-avatar{color:#aab0bc;background:#202329;border:1px solid #ffffff14;border-radius:50%;place-items:center;width:52px;height:52px;font-weight:800;display:grid}.dock-player.ai .dock-avatar{color:#f4d58d;border-color:#f4d58d80}.dock-player.empty .dock-avatar{border-style:dashed}.dock-player strong,.dock-player small{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.dock-player strong{font-size:.78rem}.dock-player small{color:#8e95a3;font-size:.72rem}.dock-player button{color:#fff;background:#282a30;border:1px solid #ffffff1a;border-radius:50%;place-items:center;width:22px;height:22px;padding:0;display:grid;position:absolute;top:-4px;right:4px}.waiting-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.waiting-lobby-panel .detail-start-button{min-height:46px;margin-top:0}.start-confirm{background:#9c1b4a}.detail-start-button:disabled{cursor:not-allowed;opacity:.52}.waiting-hint{color:#8e95a3;line-height:1.55}.text-link-button{color:#ec1f68;background:0 0;border:0;padding:4px 0;font-weight:700}@media (width<=980px){.auth-layout,.matching-layout,.room-layout,.script-grid,.lobby-grid,.builder-layout,.builder-split,.builder-form-grid,.role-flow-tools,.phase-editor-card,.builder-preview-grid,.builder-web-preview{grid-template-columns:1fr}.preview-reader-card{grid-column:auto}.builder-sidebar{position:static}.lobby-scripts,.featured-scenario{grid-template-columns:1fr}.featured-scenario img{min-height:220px}.popular-grid{column-count:2}.detail-hero{grid-template-columns:240px minmax(0,1fr)}.start-options-grid,.waiting-room-layout{grid-template-columns:1fr}.waiting-preview-panel{min-height:520px}.room-layout{grid-template-areas:"header""chat""roster""clue";min-height:auto}.room-layout .roster-panel,.room-layout .clue-panel{max-height:none;position:static}.room-layout .chat-panel{height:min(720px,100vh - 120px);min-height:520px}.room-layout .clue-panel{grid-template-rows:auto auto}.clue-scroll-area{max-height:none}.script-reader-body{grid-template-columns:1fr}.script-page-list{border-bottom:1px solid #f5efe61a;border-right:0;grid-template-columns:repeat(2,minmax(0,1fr))}.chat-panel{min-height:520px}}@media (width<=640px){.app-shell{width:min(100% - 20px,1180px)}.top-bar,.section-heading,.room-header{flex-direction:column;align-items:flex-start}.auth-layout{min-height:auto;padding:28px 0}.auth-copy h1{font-size:2.1rem}.section-heading h1,.matching-panel h1,.room-header h1{font-size:1.65rem}.queue-list,.composer{grid-template-columns:1fr}.primary-button,.secondary-button,.icon-submit{width:100%}.scenario-home{padding-top:28px}.popular-grid{column-count:1}.inline-create-room,.compact-room-row{grid-template-columns:1fr}.compact-room-row img{aspect-ratio:16/9;width:100%;height:auto}.detail-hero,.character-grid,.waiting-actions{grid-template-columns:1fr}.role-card-grid,.waiting-player-dock{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-hero>img{max-width:360px}.waiting-preview-panel{min-height:440px;padding:20px}.waiting-preview-card{width:min(260px,86%)}.chat-panel-header,.modal-header{flex-direction:column;align-items:stretch}.room-layout{gap:12px;padding-top:14px}.room-header{min-height:auto;position:static}.room-layout .chat-scroll{padding:16px}.room-layout .message{padding:12px}.script-page-list{grid-template-columns:1fr}.script-reader-modal,.info-modal{max-height:calc(100vh - 24px)}}:root{--ui-bg:#f6f1e8;--ui-bg-soft:#fbf7ef;--ui-paper:#fffdf7;--ui-surface:#f4ebde;--ui-surface-strong:#eadfce;--ui-ink:#2d281f;--ui-text:#3b3429;--ui-muted:#766b5b;--ui-faint:#9a8f7d;--ui-line:#ded1bc;--ui-line-soft:#78634229;--ui-jade:#236f5f;--ui-jade-dark:#123f36;--ui-jade-soft:#e3f1ea;--ui-gold:#d2a04b;--ui-gold-soft:#f6ead0;--ui-rose:#b94b57;--ui-rose-soft:#f7e2df;--ui-shadow:0 18px 46px #523c1c1a;--ui-shadow-soft:0 10px 26px #523c1c12;color:var(--ui-text);background:var(--ui-bg)}body{background:linear-gradient(180deg, #fbf7ef 0%, var(--ui-bg) 48%, #f1e7d8 100%);color:var(--ui-text)}button,input,select,textarea{color:inherit}button{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #236f5f2e}.brand-icon{background:var(--ui-jade-dark);color:#f8df9b;border-color:#0000}.brand-mark strong,.auth-copy h1,.section-heading h1,.matching-panel h1,.room-header h1,.catalog-hero h1,.detail-title-row h1,.start-game-heading h1,.waiting-preview-copy h1,.waiting-lobby-header h1,.builder-header h1,.builder-panel-header h2,.detail-section h2,.start-option-panel h2,.waiting-section-heading h2{color:var(--ui-ink)}.brand-mark span,.user-chip,.status-pill,.auth-copy p,.popular-card-body p,.compact-room-main small,.detail-submeta,.detail-intro p,.character-card p,.start-game-heading span,.start-option-panel p,.waiting-preview-copy p,.waiting-hint,.builder-header span,.builder-panel-header p,.builder-list button small,.builder-preview-grid p,.builder-preview-grid span{color:var(--ui-muted)}.status-pill,.user-chip,.phase-pill,.room-live-pill,.tag-row span,.detail-tags span,.waiting-room-stats span,.phase-list span,.permission-chips button{border:1px solid var(--ui-line-soft);min-height:30px;color:var(--ui-muted);box-shadow:none;background:#fffdf7b8;border-radius:8px}.eyebrow{color:var(--ui-jade);font-size:.76rem;font-weight:800}.primary-button,.secondary-button,.detail-start-button,.text-link-button,.icon-button,.segmented button,.scenario-tabs button,.home-tabs button,.clean-tabs button,.detail-actions-row button,.start-room-row,.compact-room-row,.builder-sidebar button,.builder-list button,.role-flow-page-list button,.role-pick-card,.prompt-stack button,.clue-item button{transition:transform .16s,border-color .16s,background .16s,color .16s,box-shadow .16s}.primary-button,.detail-start-button{border:1px solid var(--ui-jade-dark);background:var(--ui-jade-dark);color:#fffaf0;border-radius:8px;min-height:44px;box-shadow:0 12px 28px #123f362e}.secondary-button,.icon-button{border:1px solid var(--ui-line);color:var(--ui-text);background:#fffdf7c2;border-radius:8px}.primary-button:hover,.secondary-button:hover,.detail-start-button:hover,.icon-button:hover,.start-room-row:hover,.compact-room-row:hover,.popular-card:hover,.script-card:hover,.builder-sidebar button:hover,.builder-list button:hover,.role-pick-card:hover,.prompt-stack button:hover{transform:translateY(-1px)}.primary-button:disabled,.secondary-button:disabled,.detail-start-button:disabled,.prompt-stack button:disabled,.clue-item button:disabled{cursor:not-allowed;opacity:.52;box-shadow:none;transform:none}.text-link-button{color:var(--ui-jade)}.text-link-button:hover{color:var(--ui-jade-dark)}label{color:var(--ui-text);font-weight:700}input:focus,select:focus,textarea:focus{border-color:var(--ui-jade);box-shadow:0 0 0 3px #236f5f24}.auth-panel,.matching-panel,.lobby-panel,.featured-scenario,.script-card,.community-banner,.popular-card,.detail-intro,.character-card,.start-option-panel,.waiting-preview-panel,.waiting-lobby-panel,.builder-sidebar,.builder-panel,.builder-editor-card,.role-flow-summary,.phase-editor-card,.builder-preview-grid article,.builder-web-preview article,.preview-catalog-card,.preview-detail-card,.preview-reader-card,.info-modal,.script-reader-modal{border:1px solid var(--ui-line-soft);box-shadow:var(--ui-shadow-soft);background:#fffdf7db;border-radius:8px}.auth-layout,.matching-layout{min-height:calc(100vh - 120px)}.auth-panel{gap:18px;padding:24px}.feature-strip span,.meta-row span{border-color:var(--ui-line-soft);color:var(--ui-text);background:#fffdf7ad}.segmented{background:var(--ui-surface)}.segmented button{color:var(--ui-muted)}.segmented button.active{background:var(--ui-paper);color:var(--ui-jade-dark);box-shadow:var(--ui-shadow-soft)}.home-tabs{border:1px solid var(--ui-line-soft);background:#fffdf7b8;border-radius:8px;gap:6px;width:fit-content;margin-bottom:20px;padding:5px}.home-tabs button{min-height:36px;color:var(--ui-muted);border-radius:6px;padding:0 14px;font-size:.92rem}.home-tabs button.active{background:var(--ui-jade-dark);color:#fffaf0}.home-tabs button.active:after{display:none}.catalog-hero{justify-content:space-between;align-items:end;gap:18px;margin-bottom:18px;display:flex}.catalog-hero h1{letter-spacing:0;margin:0;font-size:2rem;line-height:1.18}.catalog-hero span{color:var(--ui-muted);margin-top:8px;line-height:1.6;display:block}.community-banner{min-height:66px;color:var(--ui-ink);background:#fffdf7d6;border-color:#236f5f2e;grid-template-columns:44px minmax(0,1fr) 22px;margin-bottom:18px;padding:12px 16px}.community-banner small{color:var(--ui-muted)}.community-icon{background:var(--ui-jade-soft);color:var(--ui-jade)}.clean-tabs,.scenario-tabs{gap:8px;margin-bottom:18px;padding-bottom:0}.clean-tabs button,.scenario-tabs button{border-color:var(--ui-line-soft);min-height:34px;color:var(--ui-muted);background:#fffdf7a8;border-radius:8px;padding:0 12px}.clean-tabs button.active,.scenario-tabs button.active{border-color:var(--ui-jade);background:var(--ui-jade-dark);color:#fffaf0}.popular-grid{column-count:initial;grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:18px;display:grid}.popular-card{background:#fffdf7e0;width:auto;margin:0;display:grid;overflow:hidden}.popular-card:hover,.popular-card.selected{background:var(--ui-paper);box-shadow:var(--ui-shadow);border-color:#236f5f57}.popular-image-button{background:var(--ui-surface)}.popular-image-button img,.popular-card:nth-child(3n+1) .popular-image-button img,.popular-card:nth-child(4n) .popular-image-button img{aspect-ratio:4/3}.sfw-badge,.heat-float{color:#fffaf0;background:#123f36e0;border-radius:6px}.heat-float{color:#ffe7a8}.popular-card-body{gap:9px;padding:14px}.popular-title{color:var(--ui-ink);font-size:.98rem}.popular-meta{color:var(--ui-muted)}.rooms-view,.compact-room-list{gap:10px}.compact-room-row{border-color:var(--ui-line-soft);min-height:74px;color:var(--ui-ink);background:#fffdf7d6;border-radius:8px;grid-template-columns:78px minmax(0,1fr) 58px;padding:8px}.compact-room-row img{border-radius:8px;width:78px;height:58px}.compact-room-row:hover{box-shadow:var(--ui-shadow-soft);border-color:#236f5f52}.compact-room-count{color:var(--ui-jade-dark);font-weight:800}.compact-room-ai{color:var(--ui-jade)!important}.script-layout,.script-detail-page,.start-game-page,.waiting-room-page,.builder-page{padding-top:34px}.detail-back{border-color:var(--ui-line);min-height:38px;color:var(--ui-text);background:#fffdf7c7;border-radius:8px}.detail-hero{border:1px solid var(--ui-line-soft);box-shadow:var(--ui-shadow-soft);background:#fffdf7b8;border-radius:8px;grid-template-columns:280px minmax(0,1fr);gap:32px;padding:22px}.detail-hero>img{background:var(--ui-surface);border-radius:8px}.detail-actions-row{color:var(--ui-muted)}.detail-actions-row button{border:1px solid var(--ui-line-soft);min-height:32px;color:var(--ui-text);background:#fffdf7b8;border-radius:8px;padding:0 10px}.detail-more-wrap{justify-self:end;display:inline-flex;position:relative}.detail-more-menu{z-index:10;border:1px solid var(--ui-line-soft);min-width:150px;box-shadow:var(--ui-shadow-soft);background:#fffdf7fa;border-radius:8px;padding:6px;display:grid;position:absolute;top:calc(100% + 8px);right:0}.detail-more-menu button{min-height:34px;color:var(--ui-text);text-align:left;background:0 0;border:0;border-radius:6px;padding:0 10px}.detail-more-menu button:hover{background:#20675b1a}.detail-actions-row button.active{color:var(--ui-jade-dark);background:#20675b1f;border-color:#20675b57}.detail-action-notice{color:var(--ui-muted);margin:-4px 0 0;font-size:.86rem}.builder-publish-status{color:var(--ui-muted);margin:0 0 14px;font-size:.9rem}.detail-tags span,.phase-list span{background:var(--ui-surface);color:var(--ui-muted)}.detail-section{margin-top:24px}.detail-intro{padding:22px}.detail-intro h2{border-left-color:var(--ui-jade)}.character-grid{gap:14px}.character-card{padding:16px}.character-image{background:var(--ui-surface);border-radius:8px}.character-avatar,.seat-avatar,.dock-avatar{background:var(--ui-jade-soft);color:var(--ui-jade-dark)}.start-game-heading{margin-bottom:22px}.start-game-heading img,.waiting-preview-card,.waiting-preview-card img{border-radius:8px}.start-option-panel{min-height:360px;padding:22px}.start-option-icon{background:var(--ui-jade-soft);color:var(--ui-jade);border-radius:8px}.start-room-row{border-color:var(--ui-line-soft);color:var(--ui-ink);background:#fffdf7bd;border-radius:8px}.start-room-row small,.start-empty-room{color:var(--ui-muted)}.start-room-row em{color:var(--ui-jade-dark);font-weight:800}.start-empty-room{border-color:var(--ui-line);border-radius:8px}.waiting-room-layout{grid-template-columns:minmax(0,1fr) 380px;gap:18px}.waiting-preview-panel{background:linear-gradient(#fffdf7eb,#f4ebdeb8);min-height:610px}.waiting-preview-card{box-shadow:var(--ui-shadow)}.waiting-room-stats span{background:var(--ui-paper);color:var(--ui-muted)}.waiting-lobby-panel{gap:16px;padding:22px}.waiting-lobby-header>span,.waiting-section-heading small{background:var(--ui-gold-soft);color:#805b19;border-radius:8px}.role-pick-card{border-color:var(--ui-line-soft);background:var(--ui-paper);color:var(--ui-ink);border-radius:8px}.role-pick-card img{filter:saturate(.95)}.role-pick-card span{color:var(--ui-ink)}.role-pick-card small{color:var(--ui-muted)}.role-pick-card.selected{border-color:var(--ui-jade);background:var(--ui-jade-soft);box-shadow:inset 0 0 0 1px #236f5f38}.dock-avatar{border-color:var(--ui-line)}.dock-player.ready .dock-avatar{border-color:var(--ui-jade);color:var(--ui-jade-dark);box-shadow:0 0 0 3px #236f5f21}.dock-player.ai .dock-avatar{color:#805b19;background:var(--ui-gold-soft);border-color:#d2a04b85}.dock-player strong{color:var(--ui-ink)}.dock-player small{color:var(--ui-muted)}.dock-player button{border-color:var(--ui-line);background:var(--ui-paper);color:var(--ui-rose)}.start-confirm{background:var(--ui-gold);border-color:var(--ui-gold);color:var(--ui-ink)}.builder-page{color:var(--ui-text)}.builder-header{margin-bottom:22px}.builder-layout{grid-template-columns:214px minmax(0,1fr);gap:16px}.builder-sidebar{padding:14px;top:94px}.builder-sidebar button,.builder-list button{border-color:var(--ui-line-soft);color:var(--ui-text);background:#fffdf7a8;border-radius:8px}.builder-sidebar button.active,.builder-list button.active,.role-flow-page-list button.active{border-color:var(--ui-jade);background:var(--ui-jade-soft);color:var(--ui-jade-dark)}.builder-sidebar button span,.builder-list button span{color:var(--ui-jade)}.builder-health{background:var(--ui-jade-soft);color:var(--ui-jade-dark);border-radius:8px}.builder-health strong,.builder-editor-card strong,.builder-preview-grid strong,.role-flow-summary strong{color:var(--ui-ink)}.builder-health span,.role-flow-summary span,.role-flow-page-list span,.phase-editor-card span{color:var(--ui-muted)}.builder-panel{padding:22px}.builder-editor-card{padding:18px}.builder-list{gap:9px;padding-right:4px}.builder-list button strong,.builder-list button small{color:inherit}.role-flow-tools,.permission-chips,.role-flow-summary.compact-card,.permission-matrix,.publish-checklist{border:1px solid var(--ui-line-soft);background:#f4ebde9e;border-radius:8px}.upload-box{color:var(--ui-text);background:#fffdf7b8;border-color:#d2a04b61;border-radius:8px}.upload-box svg,.upload-box strong,.permission-chips button.active,.matrix-toggle.active{color:var(--ui-jade)}.permission-chips button.active,.matrix-toggle.active{border-color:var(--ui-jade);background:var(--ui-jade-soft)}.phase-editor-card{background:var(--ui-paper)}.builder-web-preview{gap:14px}.preview-cover,.builder-preview-grid article svg,.publish-checklist .check-ok{color:var(--ui-jade)}.room-layout{--room-surface:#fffdf7e0;--room-surface-strong:#fffdf7;--room-line:#78634229;--room-muted:var(--ui-muted);--room-text:var(--ui-text);--room-gold:var(--ui-gold);--room-jade:var(--ui-jade);--room-rose:var(--ui-rose);color:var(--room-text);grid-template-columns:248px minmax(0,1fr) 330px;gap:16px}.room-header{border-bottom:1px solid var(--ui-line-soft);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#f6f1e8e6;min-height:82px;position:sticky;top:70px}.room-header h1{max-width:980px;font-size:2.15rem;line-height:1.16}.room-live-pill,.room-layout .phase-pill{border-radius:8px;font-weight:800}.room-live-pill{background:var(--ui-jade-soft);color:var(--ui-jade);border-color:#236f5f33}.room-layout .phase-pill{background:var(--ui-gold-soft);color:#805b19;border-color:#d2a04b52}.room-layout .roster-panel,.room-layout .clue-panel,.room-layout .chat-panel{border-color:var(--room-line);background:var(--room-surface);box-shadow:var(--ui-shadow-soft)}.side-panel-title h2,.room-layout .clue-panel h2,.room-layout .chat-panel-header strong{color:var(--ui-ink)}.side-panel-title span,.room-layout .clue-panel-heading span{background:var(--ui-gold-soft);color:#805b19;border-radius:8px}.room-layout .player-seat-card{border-color:var(--ui-line-soft);color:var(--ui-ink);background:#fffdf7b8;grid-template-columns:38px minmax(0,1fr) auto 16px}.room-layout .player-seat-card small{color:var(--ui-muted)}.room-layout .readiness-chip{color:var(--ui-muted);background:#5348360d;border-color:#5348361f}.room-layout .readiness-chip.read{color:var(--ui-jade-dark);background:#236f5f1a;border-color:#236f5f42}.room-layout .readiness-chip.ai_synced{color:#8a6113;background:#d7a1371f;border-color:#d7a13742}.room-layout .dm-control-panel{background:linear-gradient(135deg,#236f5f14,#d7a13714),#fffdf7eb;border-color:#236f5f3d;box-shadow:0 14px 34px #40321c1a}.room-layout .dm-control-heading{background:var(--ui-jade-soft);border-color:#236f5f38}.room-layout .dm-control-heading span{color:var(--ui-jade-dark)}.room-layout .dm-control-heading strong{color:var(--ui-ink)}.room-layout .dm-control-main span,.room-layout .dm-event-strip strong{color:var(--ui-jade-dark)}.room-layout .dm-control-main strong{color:var(--ui-ink)}.room-layout .dm-control-main small{color:var(--ui-muted)}.room-layout .dm-control-metrics span,.room-layout .dm-event-strip span{color:var(--ui-muted);background:#5348360b;border-color:#5348361f}.room-layout .dm-control-blockers span{color:#8a6113;background:#d7a1371f;border-color:#d7a13747}.room-layout .room-readiness-summary{color:var(--ui-muted);background:#fffdf7ad;border-color:#5348361f}.room-layout .seat-avatar.ready{background:var(--ui-jade);color:#fffaf0}.room-layout .seat-avatar.thinking{background:var(--ui-gold);color:var(--ui-ink)}.room-layout .seat-avatar.speaking{background:var(--ui-rose);color:#fffaf0}.room-layout .my-seat-summary{background:var(--ui-jade-soft);border-color:#236f5f33;border-radius:8px}.room-layout .my-seat-summary strong,.room-layout .my-seat-summary span{color:var(--ui-jade-dark)}.room-layout .my-seat-summary small{color:var(--ui-muted)}.room-layout .chat-panel{background:var(--ui-paper)}.room-layout .chat-panel-header{border-bottom-color:var(--ui-line-soft);background:#fffdf7db}.room-layout .chat-panel-header span{color:var(--ui-jade)}.room-layout .music-toggle.active{background:var(--ui-jade-soft);color:var(--ui-jade-dark);border-color:#236f5f42}.room-layout .message{border-color:var(--ui-line-soft);color:var(--ui-text);background:#fffdf7d6}.room-layout .message.system{border-color:var(--ui-line-soft);background:var(--ui-surface)}.room-layout .message p,.room-layout .dm-narration{color:var(--ui-text)}.room-layout .dm-dialogue{color:#b96d00;font-weight:900}.room-layout .message strong{color:#805b19}.room-layout .message.player strong{color:var(--ui-jade)}.room-layout .message-actions button{color:var(--ui-text);background:#fffdf7b8;border-color:#78634229}.room-layout .message-actions button:first-child{background:var(--ui-gold-soft);color:#805b19}.room-layout .message-actions button:hover:not(:disabled){background:#fff8e9;border-color:#d2a04b5c}.room-layout .message-actions button:disabled{color:var(--ui-faint)}.room-layout .tool-notice,.room-layout .composer-notice{color:var(--ui-muted)}.room-layout .composer-notice{background:#fffdf7eb}.room-layout .message-image-panel{background:var(--ui-paper);box-shadow:var(--ui-shadow-soft);border-color:#236f5f2e}.room-layout .voice-transcript-panel{background:var(--ui-paper);box-shadow:var(--ui-shadow-soft);border-color:#d2a04b33}.room-layout .voice-transcript-panel>p{color:var(--ui-text)}.room-layout .message-image-grid figure{border-color:var(--ui-line-soft);background:#fffdf7c7}.room-layout .message-image-grid figcaption{color:var(--ui-ink)}.room-layout .composer{border-top-color:var(--ui-line-soft);background:#fffdf7eb}.room-layout .composer input{border-color:var(--ui-line);background:var(--ui-bg-soft);color:var(--ui-ink)}.room-layout .clue-item{border-color:var(--ui-line-soft);background:#fffdf7bd;border-radius:8px}.room-layout .clue-item strong{color:var(--ui-ink)}.room-layout .clue-item p,.room-layout .empty-clue-text{color:var(--ui-muted)}.room-layout .empty-clue-text{background:#f4ebde94;border-radius:8px}.room-layout .prompt-stack{border-top-color:var(--ui-line-soft)}.room-layout .prompt-stack button{border-color:var(--ui-line);color:var(--ui-text);background:#fffdf7b8}.room-layout .prompt-stack button:nth-child(2){border-color:var(--ui-jade-dark);background:var(--ui-jade-dark);color:#fffaf0}.room-layout .prompt-stack button:disabled{color:var(--ui-faint)}.room-layout .prompt-stack button:nth-child(2):disabled{color:#fffaf0b8}.modal-header span,.script-page-content span{color:var(--ui-jade)}.player-profile-hero small,.info-modal p,.script-page-content p{color:var(--ui-muted)}.player-profile-image{border-color:var(--ui-line-soft);background:var(--ui-surface)}.script-page-list{border-right-color:var(--ui-line-soft);background:#f4ebde94}.script-page-list button{border-color:var(--ui-line-soft);color:var(--ui-text);background:#fffdf7bd}.script-page-list button.active{border-color:var(--ui-jade);background:var(--ui-jade-soft)}.script-reader-toolbar{border-color:var(--ui-line-soft);background:#fffdf7eb}.script-reader-toolbar>span{color:var(--ui-jade)}.script-reader-toolbar button{border-color:var(--ui-line-soft);color:var(--ui-text);background:#fffdf7cc}.script-reader-toolbar strong{color:var(--ui-muted)}.reader-mode-toggle{border-color:var(--ui-line-soft);background:#f4ebde94}.reader-mode-toggle button.active{background:var(--ui-jade-soft);color:var(--ui-jade-dark);border-color:#236f5f47}.script-image-reader{border-color:var(--ui-line-soft);background:radial-gradient(circle at 50% 0,#236f5f12,#0000 30%),#f4ebde85}.script-image-reader img{box-shadow:0 18px 50px #362b1b2e}.script-image-reader p{color:var(--ui-muted)}.script-reading-text{color:var(--ui-text)}@media (width<=980px){.app-shell{width:min(100% - 28px,1220px)}.catalog-hero{flex-direction:column;align-items:flex-start}.popular-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-hero{grid-template-columns:230px minmax(0,1fr)}.room-layout{grid-template-columns:1fr;grid-template-areas:"header""chat""roster""clue"}.builder-layout{grid-template-columns:1fr}.builder-header{grid-template-columns:auto minmax(0,1fr)}.builder-header-actions{grid-column:1/-1;justify-content:flex-start}.builder-sidebar{position:static}.room-header{top:70px}.room-layout .roster-panel,.room-layout .clue-panel{max-height:none;top:auto}}@media (width<=640px){.app-shell{width:min(100% - 22px,1220px)}.top-bar{margin-inline:-4px;padding-inline:4px}.top-actions{justify-content:flex-start;width:100%}.catalog-hero h1,.detail-title-row h1,.start-game-heading h1,.room-header h1,.builder-header h1{font-size:1.72rem}.home-tabs{width:100%}.home-tabs button{flex:1}.community-banner{grid-template-columns:40px minmax(0,1fr)}.community-banner>svg{display:none}.popular-grid,.compact-room-row{grid-template-columns:1fr}.compact-room-row img{width:100%;height:auto}.detail-hero{padding:14px}.detail-hero>img{max-width:none}.waiting-room-layout,.start-options-grid,.character-grid,.script-media-grid{grid-template-columns:1fr}.waiting-preview-panel{min-height:380px}.builder-panel,.builder-editor-card,.waiting-lobby-panel,.start-option-panel{padding:16px}.room-header{top:0}.room-layout .chat-panel{height:min(700px,100vh - 118px)}}body:has(.user-center-page) .app-shell{background:#030304;width:100%;padding:0}body:has(.user-center-page) .top-bar{-webkit-backdrop-filter:none;backdrop-filter:none;background:#050505;border-bottom:1px solid #ffffff0f;min-height:52px;margin:0;padding:0 14px}body:has(.user-center-page) .top-actions{justify-content:flex-end;gap:8px;width:auto}:is(body:has(.user-center-page) .top-actions .icon-button,body:has(.user-center-page) .secondary-button.compact){color:#f8f3ff;background:#ffffff0d;border-color:#ffffff14}:is(body:has(.user-center-page) .top-actions .icon-button:hover,body:has(.user-center-page) .secondary-button.compact:hover){background:#ff2f8a24;border-color:#ff2f8a73}@media (width<=640px){body:has(.user-center-page) .top-bar{grid-template-columns:auto minmax(0,1fr) auto;gap:8px;min-height:52px;padding:8px 10px;display:grid}body:has(.user-center-page) .nav-brand-button{width:32px;min-width:32px}body:has(.user-center-page) .top-nav-links{scrollbar-width:none;gap:2px;width:auto;min-width:0;margin-right:0;overflow-x:auto}body:has(.user-center-page) .top-nav-links::-webkit-scrollbar{display:none}body:has(.user-center-page) .top-nav-links button{flex:none;min-height:34px;padding:0 6px;font-size:.76rem}body:has(.user-center-page) .top-actions{gap:6px;width:auto}body:has(.user-center-page) .global-search{display:none}body:has(.user-center-page) .top-icon-button{display:none}body:has(.user-center-page) .secondary-button.compact{display:none}body:has(.user-center-page) .top-avatar-chip{justify-content:center;width:36px;min-width:36px;min-height:36px;padding:0}body:has(.user-center-page) .top-avatar-chip span{display:none}}.room-layout .final-review-panel{color:#33291f;background:#fffcf4e6;border:1px solid #115c4a2e;border-radius:18px;margin:12px 16px 0;padding:16px;box-shadow:0 14px 32px #49321d14}.final-review-head,.peer-review-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.final-review-head span,.peer-review-head span,.final-review-grid article>span{color:#0c765e;margin-bottom:4px;font-size:.78rem;font-weight:800;display:block}.final-score-badge{color:#7a4d08;background:#fff2c6;border-radius:999px;align-items:center;gap:6px;padding:8px 10px;font-weight:900;display:inline-flex}.final-score-badge svg,.peer-star-row button.active svg{fill:currentColor}.final-truth-text{color:#5c5144;margin:12px 0;line-height:1.7}.final-review-grid{grid-template-columns:minmax(0,1.1fr) minmax(240px,.9fr);gap:12px;display:grid}.final-review-grid article,.peer-review-box{background:#ffffff9e;border:1px solid #7d5f3226;border-radius:14px;padding:13px}.final-review-grid ol{color:#5b5146;margin:8px 0 0;padding-left:20px;line-height:1.6}.final-review-grid article p{color:#5b5146;margin:8px 0;line-height:1.6}.final-tag-row{flex-wrap:wrap;gap:6px;margin:8px 0;display:flex}.final-tag-row em{color:#0d7059;background:#e7f5ee;border-radius:999px;padding:5px 8px;font-size:.76rem;font-style:normal;font-weight:800}.peer-review-box{margin-top:12px}.like-toggle,.peer-target-tabs button,.peer-star-row button{color:#5e5348;background:#ffffffb8;border:1px solid #7d5f322e}.like-toggle{border-radius:999px;align-items:center;gap:5px;padding:7px 10px;font-weight:800;display:inline-flex}.peer-target-tabs{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.peer-target-tabs button{border-radius:999px;padding:7px 11px;font-weight:800}.peer-target-tabs button.active{color:#0d7059;background:#e7f5ee;border-color:#115c4a40}.peer-star-grid{gap:8px;display:grid}.peer-star-row{grid-template-columns:80px 1fr;align-items:center;gap:8px;display:grid}.peer-star-row span{color:#5c5144;font-weight:800}.peer-star-row div{gap:4px;display:inline-flex}.peer-star-row button{color:#c5b491;border-radius:999px;place-items:center;width:32px;height:32px;display:grid}.peer-star-row button.active{color:#c88600;background:#fff5cf;border-color:#d09b2c59}.peer-submit-button{justify-content:center;width:100%;margin-top:12px}.peer-empty-text{color:#7c7165;margin:12px 0 0;line-height:1.6}.profile-performance-panel{background:linear-gradient(135deg,#24202af5,#182320eb);border:1px solid #ffffff1a;border-radius:18px;margin-top:18px;padding:18px;box-shadow:0 18px 40px #0000002e}.profile-credit-panel{background:linear-gradient(135deg,#192a27f5,#20212feb);border:1px solid #8ee4ca2e;border-radius:18px;margin-top:18px;padding:18px;box-shadow:0 18px 40px #0000002e}.profile-credit-head,.profile-credit-stats,.profile-credit-history article{align-items:center;display:flex}.profile-credit-head{color:#8fe4ca;justify-content:space-between}.profile-credit-head span{color:#ffe29a;margin-bottom:4px;font-size:.78rem;font-weight:800;display:block}.profile-credit-head strong{color:#fff;font-size:1.25rem}.profile-credit-panel>p{color:#d8d1c6;margin:12px 0 0;line-height:1.55}.profile-credit-stats{flex-wrap:wrap;gap:8px;margin-top:14px}.profile-credit-stats span{color:#d8d1c6;background:#ffffff14;border-radius:999px;padding:8px 10px;font-size:.84rem}.profile-credit-stats strong{color:#fff;margin-right:4px}.profile-credit-history{gap:10px;margin-top:16px;display:grid}.profile-credit-history article{background:#ffffff12;border-radius:14px;justify-content:space-between;gap:12px;padding:12px}.profile-credit-history strong,.profile-credit-history span{display:block}.profile-credit-history span{color:#ffe29a;margin-top:3px;font-size:.82rem}.profile-credit-history p{color:#cfc7ba;margin:0;line-height:1.55}.profile-performance-head,.profile-performance-stats,.profile-performance-history article,.profile-dimension-bars div{align-items:center;display:flex}.profile-performance-head{color:#ffe29a;justify-content:space-between}.profile-performance-head span{color:#8fe4ca;margin-bottom:4px;font-size:.78rem;font-weight:800;display:block}.profile-performance-head strong{color:#fff;font-size:1.25rem}.profile-performance-stats{flex-wrap:wrap;gap:8px;margin-top:14px}.profile-performance-stats span{color:#d8d1c6;background:#ffffff14;border-radius:999px;padding:8px 10px;font-size:.84rem}.profile-performance-stats strong{color:#fff;margin-right:4px}.profile-dimension-bars{gap:9px;margin-top:16px;display:grid}.profile-dimension-bars div{gap:9px}.profile-dimension-bars span{color:#c7beb0;width:42px;font-size:.78rem;font-weight:800}.profile-dimension-bars i{background:#ffffff1a;border-radius:999px;flex:1;height:8px;overflow:hidden}.profile-dimension-bars b{border-radius:inherit;background:linear-gradient(90deg,#72d6bd,#ffd778);height:100%;display:block}.profile-dimension-bars strong{text-align:right;color:#fff;width:32px}.profile-performance-history{gap:10px;margin-top:16px;display:grid}.profile-performance-history article{background:#ffffff12;border-radius:14px;justify-content:space-between;gap:12px;padding:12px}.profile-performance-history strong,.profile-performance-history span{display:block}.profile-performance-history span{color:#ffe29a;margin-top:3px;font-size:.82rem}.profile-performance-history p,.profile-performance-empty{color:#cfc7ba;margin:0;line-height:1.55}@media (width<=820px){.final-review-grid,.peer-star-row{grid-template-columns:1fr}}:root{--ui-bg:#07080b;--ui-bg-soft:#0b0d12;--ui-paper:#12141beb;--ui-surface:#181b24db;--ui-surface-strong:#202430;--ui-ink:#faf7f2;--ui-text:#e6dfda;--ui-muted:#a79eab;--ui-faint:#746d7c;--ui-line:#ffffff21;--ui-line-soft:#ffffff13;--ui-jade:#67d4bd;--ui-jade-dark:#2ca58f;--ui-jade-soft:#67d4bd21;--ui-gold:#e3b760;--ui-gold-soft:#e3b76024;--ui-rose:#ff4f98;--ui-rose-soft:#ff4f9826;--ui-violet:#9a72df;--ui-danger:#ff6b7a;--ui-radius-xs:6px;--ui-radius-sm:8px;--ui-radius-md:12px;--ui-radius-lg:16px;--ui-radius-xl:22px;--ui-shadow:0 22px 64px #00000057;--ui-shadow-soft:0 12px 34px #0000003d;--ui-focus:0 0 0 3px #67d4bd38;color:var(--ui-text);background:var(--ui-bg)}html{background:var(--ui-bg)}body{isolation:isolate;color:var(--ui-text);letter-spacing:0;background:radial-gradient(circle at 12% 0,#9a72df29,#0000 31rem),radial-gradient(circle at 88% 12%,#67d4bd21,#0000 29rem),linear-gradient(#090a0f 0%,#07080b 52%,#050508 100%);font-family:Inter,Microsoft YaHei,PingFang SC,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;position:relative;overflow-x:hidden}body:before{content:"";z-index:-1;pointer-events:none;opacity:.18;filter:saturate(.9);background:linear-gradient(90deg,#07080bb8,#07080bf5),url(/generated/platform-cover.svg) top/min(1180px,92vw) no-repeat;position:fixed;inset:0}button,input,select,textarea{font:inherit}button{min-width:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{box-shadow:var(--ui-focus);outline:0}button:disabled,button[aria-disabled=true]{cursor:not-allowed;opacity:.52;transform:none!important}img{max-width:100%}.app-shell{width:min(1220px,100% - 40px);padding:0 0 52px}.top-bar{z-index:50;border-bottom:1px solid var(--ui-line-soft);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#07080bd1;min-height:64px;margin:0 calc(-50vw + min(1220px,100vw - 40px)/2) 24px;padding:0 max(20px,50vw - 610px);position:sticky;top:0}.brand-mark{gap:11px;min-width:0}.brand-icon{color:#fff;background:linear-gradient(135deg,#ff4f98,#9a72df);border:1px solid #ff4f9847;border-radius:10px;width:36px;height:36px;box-shadow:0 10px 28px #ff4f9833}.brand-mark strong{color:var(--ui-ink);font-weight:900}.brand-mark span{color:var(--ui-muted)}.top-nav-links{gap:4px;min-width:0;padding:0 8px}.top-nav-links button{min-height:38px;color:var(--ui-muted);white-space:nowrap;border:1px solid #0000;border-radius:999px;padding:0 11px;font-size:.88rem;font-weight:850}.top-nav-links button:hover{border-color:var(--ui-line-soft);color:var(--ui-ink);background:#ffffff0e}.top-nav-links button.active{color:var(--ui-ink);background:#67d4bd1f;border-color:#67d4bd38}.top-nav-links em,.top-icon-button em,.side-message-row em,.thread-row em{background:var(--ui-rose);color:#fff}.top-actions{flex-wrap:nowrap;gap:8px;min-width:0}.global-search{border:1px solid var(--ui-line-soft);min-width:220px;height:38px;color:var(--ui-text);background:#ffffff12;transition:border-color .16s,background .16s,box-shadow .16s}.global-search:focus-within{box-shadow:var(--ui-focus);background:#ffffff1a;border-color:#67d4bd73}.icon-button,.secondary-button,.primary-button,.detail-start-button,.detail-back,.top-avatar-chip,.pink-button,.ghost-button,.detail-actions-row button,.message-toolbar button,.message-filter-row button,.message-chat-panel header button,.wallet-package-grid button,.wallet-channel-row button,.explore-filter-chips button,.explore-post-actions button,.explore-comment-form button,.profile-social-card button,.profile-social-tabs button,.profile-tabs button,.home-tabs button,.scenario-tabs button,.clean-tabs button{transition:transform .15s,border-color .15s,background .15s,color .15s,box-shadow .15s,opacity .15s}.icon-button,.secondary-button,.detail-back,.top-avatar-chip,.ghost-button{border:1px solid var(--ui-line-soft);color:var(--ui-text);background:#fff1}.icon-button:hover,.secondary-button:hover,.detail-back:hover,.top-avatar-chip:hover,.ghost-button:hover{color:var(--ui-ink);background:#67d4bd1a;border-color:#67d4bd47;transform:translateY(-1px)}.primary-button,.detail-start-button,.pink-button,.wallet-submit{color:#fff;background:linear-gradient(135deg,#ff4f98,#d93685);border:1px solid #ff4f989e;box-shadow:0 12px 30px #ff4f9838}.primary-button:hover,.detail-start-button:hover,.pink-button:hover,.wallet-submit:hover{background:linear-gradient(135deg,#ff6dac,#e54292);border-color:#ff76b3d1;transform:translateY(-1px)}input,select,textarea{border:1px solid var(--ui-line-soft);color:var(--ui-ink);background:#ffffff12}input::placeholder,textarea::placeholder{color:var(--ui-faint)}input:focus,select:focus,textarea:focus{box-shadow:var(--ui-focus);background:#ffffff17;border-color:#67d4bd80}.auth-panel,.matching-panel,.lobby-panel,.featured-scenario,.script-card,.community-banner,.popular-card,.detail-hero,.detail-intro,.detail-section,.character-card,.start-option-panel,.waiting-preview-panel,.waiting-lobby-panel,.builder-sidebar,.builder-panel,.builder-editor-card,.role-flow-summary,.phase-editor-card,.builder-preview-grid article,.builder-web-preview article,.preview-catalog-card,.preview-detail-card,.preview-reader-card,.info-modal,.script-reader-modal,.room-layout .roster-panel,.room-layout .clue-panel,.room-layout .chat-panel,.profile-action-card,.profile-script-card,.profile-empty-shelf,.profile-performance-panel,.settings-panel,.wallet-page,.message-chat-panel,.profile-social-dialog,.account-drawer-panel{border:1px solid var(--ui-line-soft);border-radius:var(--ui-radius-lg);background:var(--ui-paper);box-shadow:var(--ui-shadow-soft)}.eyebrow,.user-section-heading span,.profile-performance-head span,.explore-filter-chips button.active,.room-live-pill,.room-layout .chat-panel-header span,.creator-line,.compact-room-ai{color:var(--ui-jade)!important}.section-heading h1,.matching-panel h1,.room-header h1,.catalog-hero h1,.detail-title-row h1,.start-game-heading h1,.waiting-preview-copy h1,.waiting-lobby-header h1,.builder-header h1,.profile-title h1,.user-section-heading h1,.wallet-hero strong,.wallet-vip-card strong,.profile-social-dialog header strong{color:var(--ui-ink);letter-spacing:0}.brand-mark span,.user-chip,.status-pill,.auth-copy p,.popular-card-body p,.compact-room-main small,.detail-submeta,.detail-intro p,.character-card p,.start-game-heading span,.start-option-panel p,.waiting-preview-copy p,.waiting-hint,.builder-header span,.builder-panel-header p,.builder-list button small,.builder-preview-grid p,.builder-preview-grid span,.profile-title span,.profile-title small,.profile-bio,.profile-script-grid p,.profile-script-grid span,.wallet-hero small,.wallet-vip-card em,.wallet-section-title span,.thread-copy small,.message-empty-state,.explore-post-card header span,.explore-post-card header em,.explore-comments,.settings-safety-row,.wallet-rules,.order-row small,.ai-charge-row small,.order-row em,.ai-charge-row em{color:var(--ui-muted)}.scenario-home{width:min(1140px,100%);padding:22px 0 76px}.home-tabs,.clean-tabs,.scenario-tabs{gap:8px}.home-tabs{border-color:var(--ui-line-soft);background:#ffffff0b;margin-bottom:22px}.home-tabs button,.clean-tabs button,.scenario-tabs button{border:1px solid var(--ui-line-soft);color:var(--ui-muted);background:#ffffff0b}.home-tabs button.active,.clean-tabs button.active,.scenario-tabs button.active{background:var(--ui-jade-soft);color:var(--ui-ink);box-shadow:none;border-color:#67d4bd59}.catalog-hero{align-items:end;margin-bottom:20px}.catalog-hero h1{max-width:760px;font-size:clamp(2rem,3.4vw,3.25rem);line-height:1.05}.catalog-hero span{max-width:680px;color:var(--ui-muted)}.community-banner{background:linear-gradient(135deg,#67d4bd1f,#ff4f980f),#12141be6;border-color:#67d4bd2e;min-height:78px}.community-banner:hover,.popular-card:hover,.script-card:hover,.compact-room-row:hover,.profile-action-card:hover,.profile-script-card:hover,.wallet-package-grid button:hover,.wallet-channel-row button:hover,.profile-social-card:hover{box-shadow:var(--ui-shadow);border-color:#67d4bd52}.popular-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px}.popular-card,.script-card{overflow:hidden}.popular-card.selected,.script-card.selected{border-color:#e3b76075;box-shadow:0 18px 48px #e3b7601c}.popular-image-button,.script-card img{background:var(--ui-surface-strong)}.popular-image-button img,.popular-card:nth-child(3n+1) .popular-image-button img,.popular-card:nth-child(4n) .popular-image-button img,.script-card img{aspect-ratio:16/10;object-fit:cover}.popular-card-body,.script-card-body{padding:15px}.popular-title,.card-title-row h2,.compact-room-main strong,.detail-section h2,.character-card strong,.start-option-panel h2,.waiting-section-heading h2,.builder-panel-header h2{color:var(--ui-ink)}.popular-card-body p,.script-card p{-webkit-line-clamp:3;-webkit-box-orient:vertical;min-height:0;display:-webkit-box;overflow:hidden}.rooms-view{gap:12px}.compact-room-row,.start-room-row,.role-pick-card,.builder-sidebar button,.builder-list button,.script-page-list button,.script-reader-toolbar button{border-color:var(--ui-line-soft);color:var(--ui-text);background:#ffffff0b}.compact-room-row img{object-fit:cover}.detail-hero{background:linear-gradient(135deg,#67d4bd14,#9a72df14),#12141be6;grid-template-columns:minmax(240px,320px) minmax(0,1fr);gap:30px;padding:22px}.detail-hero>img{border-radius:var(--ui-radius-md);box-shadow:0 18px 46px #00000047}.detail-title-row h1{font-size:clamp(2rem,4vw,3.25rem)}.detail-actions-row button.active,.like-toggle.active{background:var(--ui-rose-soft);color:#ffc8df;border-color:#ff4f986b}.detail-tags span,.phase-list span,.tag-row span,.status-pill,.user-chip,.phase-pill,.room-live-pill,.waiting-room-stats span,.permission-chips button{border-color:var(--ui-line-soft);color:var(--ui-muted);background:#ffffff0e;border-radius:999px}.start-confirm{color:#17110a;background:linear-gradient(135deg,#e3b760,#c99435);border-color:#e3b76085}.waiting-preview-panel{background:linear-gradient(180deg, #181b24eb, #12141be6), var(--ui-paper)}.builder-health,.role-pick-card.selected,.builder-sidebar button.active,.builder-list button.active,.role-flow-page-list button.active,.permission-chips button.active,.matrix-toggle.active,.reader-mode-toggle button.active{background:var(--ui-jade-soft);color:var(--ui-ink);border-color:#67d4bd5c}.room-layout{--room-surface:#12141beb;--room-surface-strong:#181b24f5;--room-line:var(--ui-line-soft);--room-muted:var(--ui-muted);--room-text:var(--ui-text);--room-gold:var(--ui-gold);--room-jade:var(--ui-jade);--room-rose:var(--ui-rose);grid-template-columns:260px minmax(0,1fr) 340px;gap:18px}.room-header{border-bottom-color:var(--ui-line-soft);background:#07080bd1;min-height:78px;top:64px}.room-layout .roster-panel,.room-layout .clue-panel{top:154px}.room-layout .chat-panel,.message-chat-panel{background:#0a0b0fd1}.room-layout .chat-panel-header,.message-chat-panel header,.room-layout .composer{border-color:var(--ui-line-soft);background:#12141bf2}.room-layout .chat-scroll{background:radial-gradient(circle at 18% 0,#67d4bd14,#0000 24rem),#07080bb8}.room-layout .message,.room-layout .message.system,.chat-bubble-row p{border-color:var(--ui-line-soft);color:var(--ui-text);background:#ffffff0f}.room-layout .message.player{background:#67d4bd1c;border-color:#67d4bd47}.room-layout .message p,.room-layout .dm-narration,.room-layout .voice-transcript-panel>p,.script-page-content p,.script-reading-text{color:var(--ui-text)}.room-layout .player-seat-card,.room-layout .clue-item,.room-layout .room-readiness-summary,.room-layout .my-seat-summary,.room-layout .dm-control-panel,.room-layout .message-image-panel,.room-layout .voice-transcript-panel,.script-page-content,.script-page-list,.script-reader-toolbar,.script-image-reader,.reader-mode-toggle{border-color:var(--ui-line-soft);background:#ffffff0b}.room-layout .clue-item.public,.room-layout .seat-avatar.ready{background:var(--ui-jade-soft);border-color:#67d4bd52}.room-layout .clue-item.private,.room-layout .seat-avatar.thinking{background:var(--ui-gold-soft);border-color:#e3b7605c}.room-layout .seat-avatar.ready{color:#dffcf5}.room-layout .seat-avatar.thinking{color:#ffdda0}.room-layout .composer input{background:#ffffff12}body:has(.user-center-page){color:var(--ui-text);background:radial-gradient(circle at 20% 0,#9a72df3d,#0000 28rem),radial-gradient(circle at 86% 12%,#67d4bd1f,#0000 26rem),#07080b}body:has(.user-center-page):before{opacity:.14}.user-center-page{background:0 0}body:has(.user-center-page) .app-shell{background:0 0}body:has(.user-center-page) .top-bar{border-bottom-color:var(--ui-line-soft);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#07080bdb;min-height:60px}.app-shell:has(.user-center-page) .top-bar{border-bottom-color:var(--ui-line-soft);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#07080bdb;min-height:60px}.account-drawer-backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0000008f}.account-drawer-backdrop .account-drawer-panel{border-radius:var(--ui-radius-xl);background:linear-gradient(180deg, #181b24f5, #0b0d12fa), var(--ui-paper);top:70px;bottom:16px;right:16px}.side-profile img,.profile-head img,.explore-quick-composer>img,.explore-composer>img,.explore-post-card header img,.explore-comment img,.message-friend-strip img,.profile-social-card img,.top-avatar-chip img{background:var(--ui-surface-strong);border:1px solid #ffffff21}.side-wallet-card{border-radius:var(--ui-radius-lg);background:linear-gradient(135deg,#ff4f9833,#67d4bd14),#ffffff0b;border:1px solid #ff4f982e}.side-action,.side-message-row{border-radius:var(--ui-radius-md);color:var(--ui-text)}.profile-hero-band{opacity:.72;background:linear-gradient(#9a72df94,#ff4f981f 56%,#07080b00 100%),url(/covers/rain-library.svg) 50% 15%/min(1020px,92vw) no-repeat;height:286px;-webkit-mask-image:linear-gradient(#000 0% 58%,#0000 100%);mask-image:linear-gradient(#000 0% 58%,#0000 100%)}.profile-head{gap:18px}.profile-head img{border-width:2px;width:112px;height:112px;box-shadow:0 18px 42px #0000005c}.profile-title h1{margin-bottom:3px;font-size:clamp(2rem,4vw,3rem);line-height:1}.profile-bio{color:#d3cad8;max-width:680px;margin:22px 0 18px 130px}.profile-stats{border:1px solid var(--ui-line-soft);border-radius:var(--ui-radius-lg);background:#ffffff09;gap:10px;width:fit-content;margin:22px 0 26px;padding:8px}.profile-stats span,.profile-stat-button{border-radius:var(--ui-radius-md);min-width:78px;padding:6px 10px}.profile-stat-button:hover{background:#ffffff0f}.profile-stats strong{color:var(--ui-ink);font-size:1.22rem}.profile-stats small{color:var(--ui-muted)}.profile-performance-panel{background:linear-gradient(135deg,#67d4bd21,#e3b76014),#12141bdb;margin-top:0;margin-bottom:16px}.profile-performance-head{color:var(--ui-gold)}.profile-action-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.profile-action-card{text-align:left;min-height:82px;padding:16px}.profile-action-card>span,.thread-avatar,.start-option-icon,.community-icon{color:var(--ui-rose);background:#ffffff12}.profile-action-card small{color:var(--ui-muted)}.profile-tabs{border-bottom:1px solid var(--ui-line-soft);gap:6px;margin:30px 0 18px;padding-bottom:0}.profile-tabs button{min-height:38px;color:var(--ui-muted);border:0;border-bottom:2px solid #0000;padding:0 12px}.profile-tabs button:hover{color:var(--ui-ink);background:#ffffff0b}.profile-tabs button.active{border-color:var(--ui-rose);color:var(--ui-ink)}.profile-script-grid{gap:14px}.profile-script-card,.profile-empty-shelf{min-height:150px;padding:18px}.profile-script-card strong{color:var(--ui-ink);font-size:1.02rem}.profile-script-card p,.explore-post-card>p,.explore-comment p,.chat-bubble-row p,.wallet-rules{overflow-wrap:anywhere}.explore-page-shell{width:min(680px,100% - 32px);padding:14px 0 96px}.explore-feed{gap:14px}.explore-stream-tabs{z-index:4;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#07080bc7;margin:0 -10px;padding:6px 10px 0;position:sticky;top:64px}.explore-stream-tabs button{min-height:38px;color:var(--ui-muted)}.explore-stream-tabs button.active{color:var(--ui-ink)}.explore-stream-tabs button.active:after{background:var(--ui-rose)}.explore-quick-composer,.explore-composer{border:1px solid var(--ui-line-soft);border-radius:var(--ui-radius-lg);background:#ffffff0a}.explore-quick-composer{padding:10px}.explore-composer{padding:14px}.explore-quick-composer input,.explore-composer textarea,.explore-composer select,.explore-comment-form input{border-color:var(--ui-line-soft);background:#ffffff12}.explore-image-cycle:hover,.explore-post-actions button:hover{color:var(--ui-ink);background:#ffffff0e}.explore-publish-button{background:var(--ui-rose)}.explore-filter-chips{gap:7px}.explore-filter-chips button{border:1px solid var(--ui-line-soft);background:#ffffff0e}.explore-filter-chips button.active{background:var(--ui-rose-soft);border-color:#ff4f984d}.explore-post-card{border-bottom-color:var(--ui-line-soft);padding:20px 0 18px 58px}.explore-post-card header strong,.explore-comment strong{color:var(--ui-ink)}.explore-post-card>p{color:var(--ui-text);font-size:.98rem}.explore-post-media{border:1px solid var(--ui-line-soft);border-radius:var(--ui-radius-lg);background:#ffffff0b;width:min(100%,600px)}.explore-post-media:hover{border-color:#67d4bd47}.explore-comment p{background:#ffffff0e}.explore-comment-form button{background:var(--ui-rose-soft);color:var(--ui-ink);border:1px solid #ff4f9852}.user-message-page{grid-template-columns:minmax(330px,390px) minmax(0,1fr);min-height:calc(100vh - 60px)}.message-thread-list{border-right-color:var(--ui-line-soft);background:#07080b6b}.message-toolbar .timer-chip,.message-filter-row button.active,.wallet-package-grid button.active,.wallet-channel-row button.active{background:var(--ui-rose-soft);border-color:#ff4f985c}.message-filter-row button:hover,.message-toolbar button:hover,.thread-row:hover,.message-friend-strip button:hover{background:#ffffff0f}.message-friend-strip button,.thread-row{border:1px solid #0000}.message-friend-strip button.active,.thread-row.active{background:#ff4f982e;border-color:#ff4f9852}.message-chat-panel{min-height:calc(100vh - 60px)}.chat-bubble-list{padding:28px}.chat-bubble-row{grid-template-columns:32px minmax(0,620px)}.settings-panel,.wallet-page{width:min(860px,100% - 48px);margin-top:48px;padding:24px}.setting-row input[type=checkbox]{width:46px;height:26px;accent-color:var(--ui-rose)}.settings-safety-row{border-radius:var(--ui-radius-md);background:#67d4bd14;padding:0 12px}.settings-safety-row strong{color:var(--ui-jade)}.wallet-top-grid{grid-template-columns:minmax(0,1fr) minmax(260px,.72fr);gap:14px}.wallet-hero,.wallet-vip-card{border:1px solid var(--ui-line-soft);border-radius:var(--ui-radius-lg);background:linear-gradient(135deg,#ff4f982e,#67d4bd12),#ffffff0b}.wallet-vip-card{background:linear-gradient(135deg,#e3b76021,#9a72df14),#ffffff0b}.wallet-package-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.wallet-package-grid button,.wallet-channel-row button{border-color:var(--ui-line-soft);background:#ffffff0b}.wallet-package-grid button span,.wallet-section-title strong{color:var(--ui-ink)}.wallet-rules{border-color:var(--ui-line-soft);background:#67d4bd12}.order-row,.ai-charge-row{border-top-color:var(--ui-line-soft)}.profile-social-backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0009}.profile-social-dialog{background:linear-gradient(180deg, #181b24fa, #0b0d12fa), var(--ui-paper);width:min(560px,100%)}.profile-social-dialog header button,.side-close-button{color:var(--ui-muted);background:#ffffff0f}.profile-social-tabs button{border-color:var(--ui-line-soft);background:#ffffff0b}.profile-social-tabs button.active{background:var(--ui-rose-soft);border-color:#ff4f9861}.profile-social-card{border-color:var(--ui-line-soft);background:#ffffff0b}.profile-social-empty,.message-empty-state,.start-empty-room,.empty-clue-text,.user-loading-panel{border-color:var(--ui-line-soft);color:var(--ui-muted);background:#ffffff0a}.user-status-toast,.account-drawer-status{color:#fff;background:#ff4f98eb}@media (width<=1120px){.room-layout{grid-template-columns:1fr;grid-template-areas:"header""chat""roster""clue"}.room-layout .roster-panel,.room-layout .clue-panel{max-height:none;position:static}.wallet-package-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=980px){.app-shell{width:min(100% - 28px,1220px)}.top-bar{margin-inline:-14px;padding-inline:14px}.catalog-hero{align-items:flex-start}.detail-hero,.waiting-room-layout,.start-options-grid,.builder-layout,.wallet-top-grid,.user-message-page{grid-template-columns:1fr}.message-thread-list{border-right:0;border-bottom:1px solid var(--ui-line-soft)}.message-chat-panel{min-height:520px}}@media (width<=720px){body:before{opacity:.11;background-size:720px}.app-shell{width:100%;padding:0 12px 40px}.top-bar{grid-template-columns:auto minmax(0,1fr) auto;gap:8px;min-height:56px;margin:0 -12px 16px;padding:8px 10px;display:grid}.brand-mark div{display:none}.top-nav-links{scrollbar-width:none;width:auto;padding:0;overflow-x:auto}.top-nav-links::-webkit-scrollbar{display:none}.top-actions::-webkit-scrollbar{display:none}.message-friend-strip::-webkit-scrollbar{display:none}.top-nav-links button{flex:none;min-height:36px;padding:0 8px;font-size:.8rem}.top-actions{justify-content:flex-end;overflow-x:auto}.global-search,.top-actions .secondary-button.compact{display:none}.top-avatar-chip{justify-content:center;width:38px;min-width:38px;padding:0}.top-avatar-chip span{display:none}.scenario-home,.script-layout,.script-detail-page,.start-game-page,.waiting-room-page,.builder-page{padding-top:10px}.catalog-hero h1,.detail-title-row h1,.start-game-heading h1,.room-header h1,.builder-header h1,.profile-title h1{font-size:1.8rem}.popular-grid,.profile-action-grid,.profile-script-grid,.wallet-package-grid,.wallet-channel-row,.explore-composer-controls{grid-template-columns:1fr}.detail-hero{padding:14px}.detail-hero>img{width:100%}.room-header{align-items:flex-start;top:56px}.room-layout{gap:12px;padding-top:10px}.room-layout .chat-panel{height:min(680px,100vh - 118px);min-height:480px}.profile-surface,.settings-panel,.wallet-page,.explore-page-shell{width:100%}.profile-surface{padding:92px 2px 0}.profile-hero-band{background-size:780px;height:238px}.profile-head{grid-template-columns:76px minmax(0,1fr);gap:12px;display:grid}.profile-head img{width:76px;height:76px}.profile-head .pink-button{grid-column:1/-1;justify-self:start}.profile-bio,.profile-edit-form{margin-left:0}.profile-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;width:100%}.profile-stats span,.profile-stat-button{min-width:0;padding:6px}.profile-tabs{scrollbar-width:none;overflow-x:auto}.profile-tabs button{flex:none}.profile-social-backdrop{padding:12px}.profile-social-card{grid-template-columns:42px minmax(0,1fr)}.profile-social-actions{grid-column:1/-1;justify-content:flex-start}.explore-stream-tabs{top:56px}.explore-quick-composer{grid-template-columns:40px minmax(0,1fr) 36px}.explore-publish-button{grid-column:2/-1;justify-self:end}.explore-post-card{padding-left:0}.explore-post-card header{grid-template-columns:42px minmax(0,1fr) auto;margin-left:0}.explore-more-dot{display:none}.explore-post-media img{height:210px}.user-message-page{min-height:auto}.message-thread-list{padding:12px 0}.message-toolbar,.message-filter-row{padding-inline:0}.thread-row{min-height:70px}.message-chat-panel{border-radius:var(--ui-radius-lg);min-height:520px}.message-chat-panel header{align-items:flex-start;min-height:auto;padding:14px}.chat-bubble-list{padding:16px 12px}.chat-bubble-row{grid-template-columns:28px minmax(0,1fr)}.settings-panel,.wallet-page{margin-top:18px;padding:16px}.settings-actions{grid-template-columns:1fr}.setting-row,.settings-safety-row,.order-row,.ai-charge-row{grid-template-columns:1fr;gap:8px;padding-block:12px}.account-drawer-backdrop .account-drawer-panel{width:calc(100vw - 16px);top:64px;bottom:8px;right:8px}}@media (width<=420px){.app-shell{padding-inline:10px}.top-bar{margin-inline:-10px}.brand-icon,.top-avatar-chip,.icon-button{width:34px;min-width:34px;height:34px}.top-nav-links button{gap:4px;padding:0 7px}.top-nav-links button svg{width:15px;height:15px}.top-icon-button{display:none}.profile-stats{font-size:.82rem}.profile-stats strong{font-size:1.05rem}.explore-quick-composer{grid-template-columns:36px minmax(0,1fr)}.explore-quick-composer>img{width:36px;height:36px}.explore-image-cycle,.explore-publish-button{grid-column:2;justify-self:start}.explore-publish-button{justify-self:end}.explore-post-media img{height:188px}.wallet-hero,.wallet-vip-card,.profile-action-card,.profile-script-card,.profile-empty-shelf{padding:14px}}.profile-action-grid{margin-bottom:16px}.profile-credit-panel,.profile-performance-panel{border:1px solid var(--ui-line-soft);border-radius:var(--ui-radius-lg);box-shadow:var(--ui-shadow-soft);margin-top:14px}.profile-credit-panel{background:linear-gradient(135deg,#67d4bd21,#9a72df14),#12141be0}.profile-credit-panel.watch,.profile-credit-panel.restricted{background:linear-gradient(135deg,#ff6b7a21,#9a72df14),#12141be0;border-color:#ff6b7a3d}.profile-credit-head{color:var(--ui-jade)}.profile-credit-head span{color:var(--ui-gold)}.profile-credit-head strong,.profile-credit-stats strong,.profile-credit-history strong{color:var(--ui-ink)}.profile-credit-panel>p,.profile-credit-stats span,.profile-credit-history p{color:var(--ui-muted)}.profile-credit-stats span,.profile-credit-history article{background:#fff1}@media (width<=720px){.profile-stats{grid-template-columns:repeat(5,minmax(0,1fr))}}@media (width<=420px){.top-actions>.icon-button:not(.top-icon-button){display:none}.profile-stats span,.profile-stat-button{padding-inline:3px}}.page-command-bar{border:1px solid var(--ui-line-soft);border-radius:var(--ui-radius-xl);box-shadow:var(--ui-shadow-soft);background:linear-gradient(135deg,#67d4bd1f,#9a72df1a),#12141be0;grid-template-columns:minmax(0,1fr) minmax(220px,300px);align-items:end;gap:24px;padding:24px;display:grid}.command-copy,.detail-summary-line{color:var(--ui-muted);line-height:1.7;display:block}.command-actions{gap:10px;display:grid}.command-actions .primary-button,.command-actions .secondary-button,.card-action-row .secondary-button,.room-empty-state .primary-button{width:100%;min-height:42px}.section-toolbar{border:1px solid var(--ui-line-soft);border-radius:var(--ui-radius-md);background:#ffffff09;justify-content:space-between;align-items:center;gap:14px;margin:14px 0 16px;padding:12px 14px;display:flex}.section-toolbar div{gap:3px;min-width:0;display:grid}.section-toolbar strong,.settings-card-head strong{color:var(--ui-ink)}.section-toolbar span,.settings-card-head span{min-width:0;color:var(--ui-muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.section-toolbar em{background:var(--ui-jade-soft);color:var(--ui-jade);border:1px solid #67d4bd3d;border-radius:999px;flex:none;padding:6px 10px;font-style:normal;font-weight:700}.card-action-row{margin-top:3px;display:grid}.room-empty-state{border:1px dashed var(--ui-line-soft);border-radius:var(--ui-radius-lg);color:var(--ui-muted);background:#ffffff0a;justify-items:start;gap:9px;padding:22px;display:grid}.room-empty-state svg{color:var(--ui-jade)}.room-empty-state strong{color:var(--ui-ink);font-size:1.02rem}.detail-summary-line{max-width:720px;margin:0;font-size:.98rem}.detail-highlights{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.detail-highlights span{border:1px solid var(--ui-line-soft);border-radius:var(--ui-radius-md);min-width:0;color:var(--ui-ink);background:#ffffff0b;gap:5px;padding:12px;font-weight:800;display:grid}.detail-highlights svg{color:var(--ui-jade)}.detail-highlights small{color:var(--ui-muted);font-weight:500}.detail-action-panel{grid-template-columns:minmax(220px,.95fr) minmax(0,1.05fr);align-items:center;gap:12px;margin-top:4px;display:grid}.detail-action-panel .detail-start-button{margin-top:0}.detail-secondary-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.detail-secondary-actions button{border:1px solid var(--ui-line-soft);min-height:42px;color:var(--ui-text);background:#ffffff0e;border-radius:999px;justify-content:center;align-items:center;gap:6px;font-weight:700;display:inline-flex}.detail-secondary-actions button:hover,.detail-secondary-actions button.active{background:var(--ui-rose-soft);color:var(--ui-ink);border-color:#ff4f9861}.start-decision-bar{border-radius:var(--ui-radius-lg);background:linear-gradient(135deg,#67d4bd1f,#e3b76014),#ffffff0a;border:1px solid #67d4bd38;gap:4px;margin:0 0 16px;padding:14px 16px;display:grid}.start-decision-bar span,.start-option-label{color:var(--ui-jade);font-size:.78rem;font-weight:900}.start-decision-bar strong{color:var(--ui-ink)}.start-decision-bar small{color:var(--ui-muted)}.start-option-panel{position:relative}.start-option-label{background:var(--ui-jade-soft);border:1px solid #67d4bd38;border-radius:999px;padding:5px 9px;position:absolute;top:16px;right:16px}.waiting-flow-actions,.waiting-support-actions{gap:10px;display:grid}.waiting-flow-actions{padding-top:2px}.waiting-support-actions{border:1px solid var(--ui-line-soft);border-radius:var(--ui-radius-md);background:#ffffff09;padding:12px}.waiting-support-actions>span{color:var(--ui-muted);font-size:.78rem;font-weight:800}.waiting-support-actions .secondary-button{min-height:42px}.room-layout .prompt-stack{gap:12px;padding-top:14px;display:grid}.room-action-section{border:1px solid var(--ui-line-soft);border-radius:var(--ui-radius-md);background:#ffffff09;gap:10px;padding:12px;display:grid}.room-action-section-title{gap:2px;display:grid}.room-action-section-title span{color:var(--ui-ink);font-weight:900}.room-action-section-title small{color:var(--ui-muted)}.room-action-grid{gap:8px;display:grid}.room-layout .room-action-grid button,.room-layout .room-danger-zone>button{border:1px solid var(--ui-line-soft);width:100%;min-height:42px;color:var(--ui-text);text-align:left;background:#ffffff0f;border-radius:999px;justify-content:flex-start;align-items:center;gap:8px;padding:0 13px;font-weight:800;display:inline-flex}.room-layout .room-action-primary button:first-child{background:var(--ui-rose-soft);color:var(--ui-ink);border-color:#ff4f9870}.room-layout .room-action-ai button{border-color:#e3b7603d}.room-layout .room-action-grid button:hover:not(:disabled),.room-layout .room-danger-zone>button:hover:not(:disabled){color:var(--ui-ink);background:#67d4bd1c;border-color:#67d4bd57;transform:translateY(-1px)}.room-layout .room-action-grid button:disabled,.room-layout .room-danger-zone>button:disabled{cursor:not-allowed;opacity:.55}.danger-button{color:#ffd1d7;border-color:#ff6b7a47}.danger-button:hover{color:#fff;background:#ff6b7a1a;border-color:#ff6b7a80}.settings-layout-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.settings-card{border:1px solid var(--ui-line-soft);border-radius:var(--ui-radius-lg);background:#ffffff09;gap:4px;min-width:0;padding:16px;display:grid}.settings-card-head{gap:4px;margin-bottom:4px;display:grid}.settings-status,.wallet-status{border:1px solid var(--ui-line-soft);border-radius:var(--ui-radius-md);color:var(--ui-muted);background:#ffffff0a;padding:10px 12px}.profile-form-status,.explore-feed-status,.profile-social-status,.message-status,.start-action-status,.waiting-action-status,.lobby-action-status{border:1px solid var(--ui-line-soft);border-radius:var(--ui-radius-md);color:var(--ui-muted);background:#ffffff0a;padding:9px 11px;font-size:13px;line-height:1.45}.global-action-notice{z-index:90;border-radius:var(--ui-radius-md);color:#ffe2e7;max-width:min(360px,100vw - 32px);box-shadow:var(--ui-shadow-lg);background:#291119f0;border:1px solid #ff6b7a47;align-items:center;gap:10px;padding:10px 12px;display:flex;position:fixed;top:58px;right:18px}.global-action-notice button{width:28px;height:28px;color:inherit;background:#ffffff14;border:0;border-radius:8px;flex:none;place-items:center;display:grid}.active-room-resume{z-index:70;color:#f7efe3;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:linear-gradient(135deg,#1d4c4261,#13110ee6),#13110eeb;border:1px solid #3ccdae33;border-radius:16px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;width:min(920px,100% - 32px);margin:12px auto 0;padding:10px 12px;display:grid;position:sticky;top:52px;box-shadow:0 18px 44px #00000047}.active-room-resume-icon{color:#45d6b9;background:#3ccdae24;border-radius:12px;place-items:center;width:36px;height:36px;display:grid}.active-room-resume-copy{gap:2px;min-width:0;display:grid}.active-room-resume-copy span,.active-room-resume-copy small{color:#f7efe3a8;font-size:.78rem}.active-room-resume-copy strong{color:#fff8eb;text-overflow:ellipsis;white-space:nowrap;font-size:.95rem;overflow:hidden}.active-room-resume-actions{align-items:center;gap:8px;display:flex}.danger-link{color:#ff9fa8}.danger-link:hover{color:#ffd0d5}.settings-status.saving,.wallet-status.pending,.profile-form-status.saving,.explore-feed-status.info,.profile-social-status.info,.message-status.info,.start-action-status.info,.waiting-action-status.info,.lobby-action-status.info{color:#ffdda0;background:#e3b76014;border-color:#e3b76047}.settings-status.saved,.wallet-status.success,.profile-form-status.saved,.explore-feed-status.success,.profile-social-status.success,.message-status.success,.waiting-action-status.success{background:var(--ui-jade-soft);color:#dffcf5;border-color:#67d4bd4d}.settings-status.error,.wallet-status.error,.profile-form-status.error,.explore-feed-status.error,.profile-social-status.error,.message-status.error,.start-action-status.error,.waiting-action-status.error,.lobby-action-status.error{color:#ffd1d7;background:#ff6b7a1a;border-color:#ff6b7a52}.message-toolbar button:disabled{cursor:not-allowed;opacity:.58}@media (width<=980px){.page-command-bar,.detail-action-panel,.settings-layout-grid{grid-template-columns:1fr}.detail-highlights{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=720px){.page-command-bar{padding:18px}.command-actions{grid-template-columns:1fr}.section-toolbar{flex-direction:column;align-items:flex-start}.section-toolbar em{text-align:center;width:100%}.detail-highlights,.detail-secondary-actions,.waiting-actions{grid-template-columns:1fr}.detail-secondary-actions button,.waiting-support-actions .secondary-button,.room-layout .room-action-grid button,.room-layout .room-danger-zone>button{min-height:46px}.start-option-label{justify-self:start;position:static}.room-action-section{padding:12px}}@media (width<=420px){.page-command-bar,.detail-hero,.start-option-panel,.settings-card{border-radius:var(--ui-radius-lg)}.section-toolbar span,.command-copy{white-space:normal}}.top-bar{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);padding-left:max(14px,50vw - 610px);padding-right:max(14px,50vw - 610px)}.app-shell:has(.room-layout) .top-bar{padding-left:max(14px,50vw - 710px);padding-right:max(14px,50vw - 710px)}.nav-brand-button,.icon-button,.top-icon-button,.top-avatar-chip{flex:none;min-width:40px;min-height:40px}.icon-button,.top-icon-button{width:40px;height:40px}.top-avatar-chip{min-width:44px;height:40px}.top-actions{flex:0 auto}.top-actions .global-search{flex:180px;min-width:160px;max-width:260px}.top-actions .secondary-button.compact{white-space:nowrap;flex:none;min-width:104px;padding-inline:14px}.top-actions .secondary-button.compact svg{flex:none}.top-actions .top-icon-button,.top-actions>.icon-button:not(.top-icon-button){flex:0 0 40px}.room-layout .message-actions button,.explore-image-cycle,.explore-post-actions button{min-width:38px;min-height:38px}.side-action{text-decoration:none}.popular-title{margin:0;font-size:1rem}.profile-title{min-width:0}.profile-title h1,.profile-title span,.profile-title small{max-width:100%}.profile-title h1{overflow-wrap:anywhere}.explore-image-cycle{gap:6px;width:auto;max-width:132px;padding:0 10px}.explore-image-cycle span{text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;font-weight:800;overflow:hidden}.explore-publish-button:disabled,.explore-post-actions button:disabled,.explore-comment-form button:disabled{cursor:not-allowed;opacity:.5;transform:none}.waiting-test-tools{gap:8px;padding-top:8px;display:grid}.waiting-test-tools summary{cursor:pointer;width:max-content;color:var(--ui-muted);font-size:.8rem;font-weight:800}.waiting-test-tools .secondary-button{width:100%}.app-shell:has(.user-center-page){overflow-x:hidden}body:has(.user-center-page){overflow-x:hidden}body:has(.user-center-page) .nav-brand-button{width:40px;min-width:40px}.message-filter-row button,.explore-stream-tabs button,.explore-filter-chips button{min-height:38px}.explore-stream-tabs button{min-width:52px;padding-inline:10px}.explore-filter-chips button{min-width:56px}@media (width<=720px){.top-bar{grid-template-columns:40px minmax(0,1fr) 40px;width:100%;max-width:100%;margin-left:0;margin-right:0;padding-left:0;padding-right:0;overflow:hidden}.nav-brand-button,.brand-icon,.top-avatar-chip,.icon-button{width:40px;min-width:40px;height:40px}.top-nav-links button{min-height:40px}.top-actions{width:40px;min-width:40px;overflow:visible}.top-avatar-chip{justify-content:center;padding:0}.app-shell:has(.room-layout) .top-bar{grid-template-columns:40px minmax(0,1fr) 40px;gap:6px;padding:8px 10px}.app-shell:has(.room-layout) .top-nav-links{justify-content:space-around;gap:4px;overflow:hidden}.app-shell:has(.room-layout) .top-nav-links button{gap:0;width:40px;min-width:40px;padding:0;font-size:0;position:relative}.app-shell:has(.room-layout) .top-nav-links button svg{margin:0}.app-shell:has(.room-layout) .top-nav-links button em{min-width:16px;height:16px;padding:0 4px;font-size:.62rem;position:absolute;top:2px;right:1px}.app-shell:has(.room-layout) .top-actions>:not(.top-avatar-chip){display:none}.room-layout .chat-panel-header{grid-template-columns:1fr;gap:12px;width:100%;min-width:0;max-width:100%;display:grid;overflow:hidden}.chat-header-actions{grid-template-columns:1fr;width:100%;min-width:0;max-width:100%;display:grid}.chat-header-actions .secondary-button{justify-content:center;width:100%;max-width:100%}.room-layout,.room-layout .chat-panel,.room-layout .chat-scroll,.room-layout .composer{width:100%;min-width:0;max-width:100%}.room-layout .chat-panel{justify-self:center;width:calc(100vw - 48px)!important;max-width:calc(100vw - 48px)!important}.room-layout .chat-panel-header,.room-layout .chat-scroll,.room-layout .composer{width:100%!important;max-width:100%!important}.explore-stream-tabs{width:100%;margin-left:0;margin-right:0}.app-shell:has(.room-layout){overflow:hidden;width:100%!important;max-width:100%!important;margin:0!important;padding-left:12px!important;padding-right:12px!important}.room-layout{overflow:hidden;width:100%!important;max-width:100%!important;margin:0!important;padding:10px 0 32px!important}.room-layout .chat-panel{width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important}.room-layout .chat-panel-header{width:calc(100vw - 28px)!important;min-width:0!important;max-width:calc(100vw - 28px)!important;padding:12px!important}.room-layout .chat-panel-header>div,.room-layout .chat-panel-header span,.room-layout .chat-panel-header strong{min-width:0;max-width:100%}.room-layout .chat-header-actions{grid-template-columns:minmax(0,1fr);width:calc(100vw - 52px)!important;max-width:calc(100vw - 52px)!important}.room-layout .chat-header-actions .secondary-button{width:100%;min-width:0;max-width:100%}.profile-title h1{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:clamp(1.45rem,8vw,2rem);line-height:1.08;display:-webkit-box;overflow:hidden}}@media (width<=420px){.top-bar{width:100%;margin-left:0;margin-right:0}.brand-icon,.top-avatar-chip,.icon-button{width:40px;min-width:40px;height:40px}}.app-shell:has(.auth-page){width:min(100% - 32px,1180px)}:is(.app-shell:has(.auth-page) .top-bar,.app-shell:has(.legal-page) .top-bar){width:100%;max-width:100%;margin-left:0;margin-right:0;padding-left:0;padding-right:0}.app-shell:has(.legal-page){width:min(100% - 32px,980px)}.auth-page{color:#2d2821;grid-template-columns:minmax(300px,.88fr) minmax(360px,470px);align-items:stretch;gap:24px;min-height:calc(100vh - 112px);padding:36px 0;display:grid}.auth-product-card,.auth-card,.auth-confirm-dialog{background:#fbf7ef;border:1px solid #4a3e2d24;border-radius:8px;box-shadow:0 20px 60px #0000002e}.auth-product-card{background:#fbf7ef;flex-direction:column;justify-content:space-between;gap:28px;padding:36px;display:flex}.auth-kicker{color:#0c6a5a;background:#0d5c4e14;border:1px solid #0d5c4e38;border-radius:999px;width:fit-content;padding:7px 11px;font-size:.78rem;font-weight:800}.auth-product-card h1{color:#211d18;letter-spacing:0;max-width:620px;margin:0;font-size:clamp(2rem,4vw,3.2rem);line-height:1.08}.auth-product-card p{color:#675d50;max-width:640px;margin:0;font-size:1rem;line-height:1.8}.auth-proof-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.auth-proof-grid span{color:#3a332a;background:#fffaf2;border:1px solid #4a3e2d1f;border-radius:8px;gap:8px;min-height:88px;padding:14px;font-size:.88rem;font-weight:800;display:grid}.auth-proof-grid svg{color:#0d6d5d}.auth-card{background:#fffaf2;align-self:center;gap:18px;padding:24px;display:grid}.auth-tabs{background:#f3ecdf;border:1px solid #4a3e2d1a;border-radius:8px;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:5px;display:grid}.auth-tabs button,.auth-primary-button,.auth-secondary-button,.auth-text-button,.danger-action-button,.auth-icon-action{border-radius:8px;justify-content:center;align-items:center;gap:7px;font-weight:800;transition:transform .14s,border-color .14s,background .14s,color .14s,box-shadow .14s;display:inline-flex}.auth-tabs button{color:#71685c;background:0 0;border:0;min-width:0;min-height:40px;font-size:.88rem}.auth-tabs button.active{color:#0b5d50;background:#fff;box-shadow:0 8px 20px #2d282114}.auth-form{gap:16px;display:grid}.auth-form-head{gap:6px;display:grid}.auth-form-head strong,.auth-done-state>strong{color:#211d18;font-size:1.25rem}.auth-form-head p,.auth-switch-copy,.auth-done-state p{color:#776d60;margin:0;line-height:1.6}.auth-field{color:#342e27;gap:8px;font-size:.92rem;font-weight:800;display:grid}.auth-input-shell{color:#7b7165;background:#fff;border:1px solid #4a3e2d29;border-radius:8px;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:48px;padding:0 12px;display:grid}.auth-input-shell:focus-within{border-color:#0d6d5d94;box-shadow:0 0 0 3px #0d6d5d21}.auth-field.has-error .auth-input-shell{border-color:#c43d3d8c;box-shadow:0 0 0 3px #c43d3d1a}.auth-input-shell input{color:#211d18;min-width:0;min-height:46px;box-shadow:none;background:0 0;border:0;border-radius:0;padding:0}.auth-input-shell input:focus{box-shadow:none}.auth-input-shell input::placeholder{color:#a79d90}.auth-icon-action{color:#6f6559;background:0 0;border:1px solid #0000;width:34px;height:34px}.auth-icon-action:hover{color:#0b5d50;background:#0d6d5d14;border-color:#0d6d5d33}.auth-field-error,.auth-agreement>small{color:#b33a3a;align-items:center;gap:6px;font-size:.82rem;font-weight:700;display:inline-flex}.auth-field-hint,.password-strength small,.auth-dev-code small{color:#8a8175;font-size:.8rem;font-weight:700}.auth-form-row,.auth-split-actions,.auth-confirm-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.auth-checkbox{color:#4b443b;align-items:flex-start;gap:9px;font-size:.9rem;font-weight:800;line-height:1.5;display:inline-flex}.auth-checkbox input{accent-color:#0d6d5d;width:18px;min-width:18px;height:18px;min-height:18px;margin-top:2px}.auth-primary-button,.auth-secondary-button,.danger-action-button{border:1px solid #0000;min-height:48px;padding:0 16px;font-size:.96rem}.auth-primary-button{color:#fff;background:#0b5d50;border-color:#0b5d50}.auth-secondary-button{color:#3a332a;background:#fffaf2;border-color:#4a3e2d2e}.danger-action-button{color:#fff;background:#b53139;border-color:#b5313959}.auth-primary-button:hover:not(:disabled),.auth-secondary-button:hover:not(:disabled),.danger-action-button:hover:not(:disabled),.auth-tabs button:hover,.auth-text-button:hover{transform:translateY(-1px)}.auth-primary-button:active:not(:disabled),.auth-secondary-button:active:not(:disabled),.danger-action-button:active:not(:disabled),.auth-tabs button:active{transform:translateY(0)}.auth-primary-button:focus-visible,.auth-secondary-button:focus-visible,.danger-action-button:focus-visible,.auth-tabs button:focus-visible,.auth-text-button:focus-visible,.auth-icon-action:focus-visible,.auth-notice button:focus-visible{outline-offset:2px;outline:3px solid #0d6d5d42}.auth-primary-button:disabled,.auth-secondary-button:disabled,.danger-action-button:disabled{cursor:not-allowed;opacity:.56;transform:none}.auth-text-button{color:#0b6b5c;background:0 0;border:0;min-height:34px;padding:0 4px}.auth-text-button.inline{vertical-align:baseline;min-height:0;padding:0 2px;display:inline}.auth-switch-copy{text-align:center}.auth-notice,.auth-inline-status,.auth-dev-code,.auth-agreement{background:#f7f0e5;border:1px solid #4a3e2d1f;border-radius:8px;padding:12px}.auth-notice,.auth-inline-status{grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:10px;display:grid}.auth-inline-status{grid-template-columns:auto minmax(0,1fr);font-weight:800}.auth-notice strong{color:#211d18;display:block}.auth-notice p{color:#675d50;margin:3px 0 0;line-height:1.5}.auth-notice button{color:#685f54;background:0 0;border:0;border-radius:8px;place-items:center;width:30px;height:30px;display:grid}.auth-notice.success,.auth-inline-status.success{color:#0b5d50;background:#e9f6f0;border-color:#0d6d5d33}.auth-notice.info,.auth-inline-status.info{color:#75551b;background:#fff4d8;border-color:#bc8e3038}.auth-notice.error,.auth-inline-status.error{color:#9e2f2f;background:#fff0ee;border-color:#c43d3d3d}.password-strength{gap:6px;display:grid}.password-strength>span{background:#ebe0d0;border-radius:999px;height:7px;overflow:hidden}.password-strength i{border-radius:inherit;background:#c99a36;height:100%;display:block}.password-strength.strength-良好 i,.password-strength.strength-很强 i{background:#0d6d5d}.password-strength.strength-过弱 i{background:#b53139}.auth-agreement{gap:8px;display:grid}.auth-agreement.has-error{background:#fff0ee;border-color:#c43d3d3d}.auth-dev-code{background:#eef8f4;border-color:#0d6d5d2e;gap:6px;display:grid}.auth-dev-code span{color:#0b5d50;font-size:.8rem;font-weight:900}.auth-dev-code strong{color:#211d18;letter-spacing:0;font-size:1.45rem}.auth-done-state{text-align:center;justify-items:center;padding:26px 6px 8px}.auth-done-icon,.auth-confirm-icon{color:#0b5d50;background:#e4f5ef;border-radius:50%;place-items:center;width:48px;height:48px;display:grid}.auth-confirm-dialog{color:#2d2821;width:min(100% - 28px,440px);padding:20px}.auth-confirm-dialog header{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:14px;display:grid}.auth-confirm-dialog strong{color:#211d18;font-size:1.12rem}.auth-confirm-dialog p{color:#675d50;margin:4px 0 0;line-height:1.6}.auth-confirm-actions{margin-top:18px}.auth-confirm-modal .game-modal-content{padding:18px}.auth-confirm-modal .auth-confirm-actions{justify-content:flex-end;margin:0;padding:14px 16px}.auth-confirm-copy{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:14px;display:grid}.auth-confirm-copy p{color:#f4efe4c2;margin:0;line-height:1.7}.auth-policy-modal .game-modal-content{color:#2d2821;background:#fffaf2}.auth-policy-modal .game-modal-footer{background:#fbf7ef}.auth-policy-actions{justify-content:flex-end;gap:12px;padding:14px 18px;display:flex}.legal-page{color:#2d2821;gap:16px;padding:32px 0 48px;display:grid}.legal-back-button{color:#3a332a;width:fit-content}.legal-document-card{background:#fffaf2;border:1px solid #4a3e2d24;border-radius:8px;gap:22px;padding:28px;display:grid;box-shadow:0 20px 60px #00000029}.legal-document-content{gap:22px;display:grid}.legal-document-content.compact{gap:18px;padding:22px}.legal-document-content.compact .legal-document-header{padding-bottom:16px}.legal-document-header{border-bottom:1px solid #4a3e2d1f;gap:10px;padding-bottom:20px;display:grid}.legal-document-header span{color:#0b5d50;background:#0d6d5d14;border:1px solid #0d6d5d38;border-radius:999px;width:fit-content;padding:6px 10px;font-size:.78rem;font-weight:900}.legal-document-header h1{color:#211d18;margin:0;font-size:clamp(2rem,4vw,3rem);line-height:1.1}.legal-document-header p{color:#675d50;max-width:760px;margin:0;line-height:1.7}.legal-meta-row{flex-wrap:wrap;gap:8px;display:flex}.legal-meta-row em{color:#5f5549;background:#f3ecdf;border-radius:999px;padding:7px 10px;font-style:normal;font-weight:800}.legal-section-list{gap:12px;display:grid}.legal-section-card{background:#fff;border:1px solid #4a3e2d1a;border-radius:8px;grid-template-columns:44px minmax(0,1fr);gap:14px;padding:16px;display:grid}.legal-section-card>span{color:#c3922f;font-weight:900}.legal-section-card h2{color:#211d18;margin:0 0 8px;font-size:1.05rem}.legal-section-card p{color:#675d50;margin:0;line-height:1.8}.spin{animation:.9s linear infinite auth-spin}@keyframes auth-spin{to{transform:rotate(360deg)}}@media (width<=940px){.auth-page{grid-template-columns:1fr;min-height:auto;padding:24px 0 40px}.auth-product-card{min-height:300px}.auth-proof-grid{grid-template-columns:1fr}.auth-card{align-self:stretch}}@media (width<=560px){.app-shell:has(.auth-page){width:min(100% - 20px,1180px)}.app-shell:has(.legal-page){width:min(100% - 20px,980px)}.auth-page{gap:14px;padding:18px 0 30px}.auth-product-card,.auth-card{padding:18px}.auth-product-card h1{font-size:2rem}.auth-tabs{grid-template-columns:1fr}.auth-tabs button{min-height:44px}.auth-form-row,.auth-split-actions,.auth-confirm-actions{flex-direction:column;align-items:stretch}.auth-primary-button,.auth-secondary-button,.danger-action-button{width:100%}.auth-notice{grid-template-columns:auto minmax(0,1fr)}.auth-notice button{grid-column:1/-1;justify-self:end}.legal-document-card{padding:18px}.legal-section-card{grid-template-columns:1fr}}.top-nav-links button,.scenario-tabs button,.profile-tabs button,.message-toolbar button,.message-filter-row button,.message-chat-panel header button,.explore-stream-tabs button,.explore-filter-chips button,.explore-publish-button,.explore-comment-form button,.side-close-button,.pink-button.compact{min-height:40px}.side-close-button{width:40px;height:40px}.side-close-button:hover{color:#fff;background:#ffffff1a}.scenario-tabs button,.explore-filter-chips button,.message-filter-row button{padding-block:9px}.message-chat-panel header button,.message-toolbar button,.explore-publish-button,.pink-button.compact{padding-block:10px}@media (width<=560px){.top-nav-links button,.scenario-tabs button,.profile-tabs button,.message-toolbar button,.message-filter-row button,.message-chat-panel header button,.explore-stream-tabs button,.explore-filter-chips button,.explore-publish-button,.explore-comment-form button,.side-close-button,.pink-button.compact{min-height:42px}.side-close-button{width:42px;height:42px}.top-nav-links button{padding-inline:13px}body:has(.user-center-page) .top-nav-links button{min-height:42px;padding-block:6px}}.app-shell:has(.scenario-theatre){background:linear-gradient(#080706 0%,#0d0a08 42%,#090807 100%);overflow-x:hidden}.app-shell:has(.scenario-theatre) .top-bar{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:linear-gradient(#0a0807e6,#0a0807b8),#0a0807c7;border-bottom-color:#d7b87d21}.app-shell:has(.scenario-theatre) .global-search{background:#1c1814bd;border-color:#dbb97b29;box-shadow:inset 0 0 0 1px #fff6dc08}.app-shell:has(.scenario-theatre) .global-search:focus-within{border-color:#e2be796b;box-shadow:0 0 0 3px #e2be791a}.scenario-theatre{isolation:isolate;color:#f4efe4;width:min(1180px,100%);padding:20px 0 86px;position:relative}.scenario-theatre>:not(.theatre-atmosphere){z-index:1;position:relative}.theatre-atmosphere{z-index:0;pointer-events:none;background:linear-gradient(90deg, #040404eb 0%, #0404046b 34%, #040404d1 100%), linear-gradient(180deg, #06040370 0%, #080605d1 58%, #080706 100%), var(--scenario-cover);filter:saturate(.88)contrast(1.08);background-position:50%;background-size:cover;position:fixed;inset:0}.theatre-atmosphere:before,.theatre-atmosphere:after{content:"";position:absolute;inset:0}.theatre-atmosphere:after{opacity:.16;mix-blend-mode:overlay;background-image:repeating-linear-gradient(0deg,#ffffff0f 0 1px,#0000 1px 4px),repeating-linear-gradient(90deg,#ffe8b709 0 1px,#0000 1px 7px)}.scenario-theatre .home-tabs{background:#0f0c0ab8;border:1px solid #dbb97b29;border-radius:12px;width:fit-content;max-width:100%;margin:0 0 18px;padding:5px;box-shadow:0 18px 42px #00000038}.scenario-theatre .home-tabs button{color:#f4efe4b8;background:0 0;border:1px solid #0000;border-radius:9px;font-weight:750}.scenario-theatre .home-tabs button.active:after{background:#d9b36d}.scenario-theatre .catalog-hero.page-command-bar{background:linear-gradient(90deg,#0e0b09eb,#15100cbd 62%,#0e0b09e0),linear-gradient(135deg,#e2be791c,#536b5b1a),#120e0bd1;border:1px solid #e2be793d;border-radius:18px;grid-template-columns:minmax(0,1fr) minmax(156px,190px) minmax(188px,228px);align-items:end;gap:22px;min-height:300px;margin-bottom:18px;position:relative;overflow:hidden;box-shadow:0 26px 80px #0000005c,inset 0 1px #fff9e014}.scenario-theatre .catalog-hero.page-command-bar:before{content:"";background:linear-gradient(90deg, #0000002e, transparent 36%), var(--scenario-cover);opacity:.18;filter:blur(1px)saturate(.86);background-position:50%;background-size:cover;position:absolute;inset:0}.scenario-theatre .catalog-hero.page-command-bar:after{content:"";background:linear-gradient(90deg,#0000,#e2be7980,#0000);height:1px;position:absolute;bottom:18px;left:24px;right:24px}.hero-stage-copy,.hero-featured-dossier,.scenario-theatre .command-actions{z-index:1;position:relative}.hero-stage-copy{align-self:center;gap:14px;max-width:720px;display:grid}.scenario-theatre .eyebrow{color:#d9b36d;letter-spacing:.08em}.scenario-theatre .catalog-hero h1{color:#fff6df;text-shadow:0 18px 36px #00000061;max-width:760px;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(2.25rem,4.1vw,4.35rem);font-weight:800;line-height:.98}.hero-script-ledger{flex-wrap:wrap;gap:8px;display:flex}.hero-script-ledger span{color:#fff7dde0;background:#fff5d80f;border:1px solid #e2be7938;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800}.hero-featured-dossier{background:linear-gradient(#fff4db17,#fff4db08),#120e0b94;border:1px solid #e2be7933;border-radius:14px;align-self:stretch;gap:10px;min-width:0;padding:10px;display:grid;box-shadow:inset 0 0 0 1px #ffffff08}.hero-dossier-cover{background:#17120e;border:1px solid #e2be7942;border-radius:10px;min-height:190px;position:relative;overflow:hidden}.hero-dossier-cover img{object-fit:cover;filter:saturate(.92)contrast(1.05);width:100%;height:100%;min-height:190px}.hero-dossier-cover span{color:#f5d48b;letter-spacing:.11em;background:#0c0907b8;border:1px solid #fff1cd5c;border-radius:4px;padding:4px 7px;font-size:10px;font-weight:900;position:absolute;bottom:10px;left:10px}.hero-dossier-copy{gap:2px;min-width:0;display:grid}.hero-dossier-copy strong{color:#fff6df;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.hero-dossier-copy small{color:#f4efe49e;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.scenario-theatre .command-actions{background:#0a08076b;border:1px solid #e2be7929;border-radius:14px;align-self:center;padding:14px}.scenario-theatre .command-actions .primary-button,.scenario-theatre .room-empty-state .primary-button{color:#160f09;background:linear-gradient(#e0b76b,#8b5a2f);border-color:#e2be796b;box-shadow:0 14px 34px #e2984838}.scenario-theatre .command-actions .secondary-button,.scenario-theatre .card-action-row .secondary-button{color:#f4efe4;background:#fff5d80f;border-color:#e2be7938}.scenario-theatre .command-actions button:hover,.scenario-theatre .card-action-row button:hover{transform:translateY(-1px);box-shadow:0 12px 28px #00000047}.scenario-theatre .clean-tabs,.scenario-theatre .scenario-tabs{flex-wrap:wrap;gap:9px;margin:18px 0 12px;padding:0;display:flex}.scenario-theatre .clean-tabs button,.scenario-theatre .scenario-tabs button{color:#f4efe4bd;background:linear-gradient(#fff4db14,#fff4db05),#120e0b94;border:1px solid #e2be792e;border-radius:7px;padding-inline:14px;font-weight:850;position:relative}.scenario-theatre .clean-tabs button:before,.scenario-theatre .scenario-tabs button:before{content:"";background:#0b0907;border-radius:50%;width:7px;height:7px;position:absolute;top:50%;left:-4px;transform:translateY(-50%)}.scenario-theatre .clean-tabs button.active,.scenario-theatre .scenario-tabs button.active{color:#fff4d2;background:linear-gradient(#e2be792e,#55391e5c),#18120dd1;border-color:#e2be797a}.scenario-theatre .section-toolbar{background:#0d0a089e;border-color:#e2be7929;border-radius:12px;box-shadow:inset 0 1px #fff6dc0a}.scenario-theatre .section-toolbar strong{color:#fff6df}.scenario-theatre .section-toolbar span{color:#f4efe49e}.scenario-theatre .popular-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,244px),1fr));gap:22px;display:grid}.scenario-theatre .popular-card{background:linear-gradient(#2b2219f5,#120e0bfa),#18120d;border:1px solid #e2be7929;border-radius:10px;transition:transform .18s,border-color .18s,box-shadow .18s;position:relative;overflow:hidden;box-shadow:0 18px 52px #00000042,inset 0 1px #fff9e00d}.scenario-theatre .popular-card:before{content:"";pointer-events:none;border:1px solid #e2be7914;border-radius:6px;position:absolute;inset:8px}.scenario-theatre .popular-card:after{content:"";pointer-events:none;background:linear-gradient(90deg,#0000,#ffefc424,#0000);width:70%;height:220%;transition:transform .42s;position:absolute;inset:-80% auto auto -45%;transform:rotate(21deg)translate(-120%)}.scenario-theatre .popular-card:hover:after,.scenario-theatre .popular-card:focus-within:after{transform:rotate(21deg)translate(255%)}.scenario-theatre .popular-card.selected:before{border-color:#eacb896b}.scenario-theatre .popular-card.selected .popular-title:after{content:"SELECTED";color:#eacb89;letter-spacing:.08em;vertical-align:middle;border:1px solid #eacb8957;border-radius:4px;margin-left:8px;padding:2px 5px;font-family:Inter,system-ui,sans-serif;font-size:9px;display:inline-block}.scenario-theatre .popular-image-button{aspect-ratio:4/5;cursor:pointer;background:#100d0a;border:1px solid #e2be7929;border-radius:7px;width:calc(100% - 18px);margin:9px 9px 0;padding:0;display:block;position:relative;overflow:hidden}.scenario-theatre .popular-image-button img,.scenario-theatre .popular-card:nth-child(3n+1) .popular-image-button img,.scenario-theatre .popular-card:nth-child(4n) .popular-image-button img{aspect-ratio:auto;object-fit:cover;filter:saturate(.92)contrast(1.04);width:100%;height:100%;transition:transform .36s,filter .18s}.scenario-theatre .sfw-badge,.scenario-theatre .heat-float{z-index:2;color:#f4d48c;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0c0907bd;border:1px solid #fff3d23d;border-radius:5px}.scenario-theatre .sfw-badge{padding:4px 7px;font-size:11px;font-weight:900;top:10px;left:10px}.scenario-theatre .heat-float{color:#ffe6a9;bottom:10px;right:10px}.scenario-theatre .popular-card-body{gap:10px;padding:15px 16px 17px;display:grid;position:relative}.case-card-kicker{color:#f4efe480;letter-spacing:.06em;justify-content:space-between;align-items:center;gap:8px;font-size:11px;font-weight:900;display:flex}.case-card-kicker em{color:#d9b36d;text-overflow:ellipsis;white-space:nowrap;max-width:52%;font-style:normal;overflow:hidden}.scenario-theatre .popular-title{color:#fff3d6;letter-spacing:0;margin:0;font-family:Georgia,Times New Roman,serif;font-size:1.2rem;line-height:1.18}.scenario-theatre .popular-card-body p{color:#f4efe4ad;-webkit-line-clamp:3;min-height:66px;margin:0;font-size:13px;line-height:1.7}.scenario-theatre .popular-meta{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.scenario-theatre .popular-meta span{color:#f4efe4c2;text-align:center;background:#fff5d80b;border:1px solid #e2be7924;border-radius:6px;justify-content:center;align-items:center;min-width:0;padding:7px 6px;font-size:12px;font-weight:780;display:flex}.case-author-strip{color:#f4efe485;text-overflow:ellipsis;white-space:nowrap;border-left:2px solid #e2be796b;padding-left:8px;font-size:12px;overflow:hidden}.scenario-theatre .card-action-row{margin-top:2px}.scenario-theatre .rooms-view{background:#0d0a088a;border:1px solid #e2be791f;border-radius:14px;padding:14px}.scenario-theatre .compact-room-list{gap:12px}.scenario-theatre .compact-room-row{color:#f4efe4;background:linear-gradient(90deg,#fff4db0f,#fff4db05),#120e0bc2;border-color:#e2be7929;border-radius:10px}.scenario-theatre .compact-room-row:hover{border-color:#e2be7961;transform:translateY(-2px)}.scenario-theatre .compact-room-row img{filter:saturate(.9)contrast(1.04);border-radius:7px}.scenario-theatre .compact-room-main strong{color:#fff3d6}.scenario-theatre .compact-room-main small{color:#f4efe494}.scenario-theatre .compact-room-count{color:#eacb89;background:#e2be7917;border-color:#e2be7947}.scenario-theatre .room-empty-state{color:#f4efe4ad;background:linear-gradient(135deg,#e2be7914,#536b5b12),#120e0bad;border:1px dashed #e2be7947;border-radius:14px;padding:28px}.scenario-theatre .room-empty-state strong{color:#fff3d6}@media (width<=980px){.scenario-theatre .catalog-hero.page-command-bar{grid-template-columns:minmax(0,1fr) minmax(150px,190px)}.scenario-theatre .command-actions{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=720px){.scenario-theatre{width:100%;padding-top:14px}.scenario-theatre .home-tabs{width:100%}.scenario-theatre .home-tabs button{flex:1 1 0}.scenario-theatre .catalog-hero.page-command-bar{border-radius:14px;grid-template-columns:1fr;gap:12px;min-height:0;padding:18px}.scenario-theatre .catalog-hero h1{font-size:clamp(1.9rem,10vw,2.45rem);line-height:.96}.hero-stage-copy{gap:10px}.scenario-theatre .command-copy{-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:14px;line-height:1.58;display:-webkit-box;overflow:hidden}.hero-script-ledger{gap:7px}.hero-script-ledger span{padding:6px 9px}.hero-featured-dossier{grid-template-columns:74px minmax(0,1fr);align-items:center;gap:9px;padding:8px}.hero-dossier-cover,.hero-dossier-cover img{min-height:84px}.hero-dossier-cover span{padding:3px 5px;font-size:9px;bottom:6px;left:6px}.scenario-theatre .command-actions{background:0 0;border:0;grid-template-columns:1fr;padding:0}.scenario-theatre .command-actions:has(.secondary-button){grid-template-columns:repeat(2,minmax(0,1fr))}.scenario-theatre .clean-tabs,.scenario-theatre .scenario-tabs{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.scenario-theatre .clean-tabs button,.scenario-theatre .scenario-tabs button{padding-inline:8px}.scenario-theatre .section-toolbar{flex-direction:row;align-items:center;margin:12px 0;padding:10px 12px}.scenario-theatre .section-toolbar em{text-align:center;text-overflow:ellipsis;white-space:nowrap;width:auto;max-width:42%;overflow:hidden}}@media (width<=420px){.scenario-theatre .catalog-hero.page-command-bar{padding:14px}.hero-script-ledger span{text-align:center;flex:calc(50% - 8px)}.scenario-theatre .popular-grid{gap:16px}.scenario-theatre .popular-image-button{aspect-ratio:16/11}.scenario-theatre .popular-card-body p{-webkit-line-clamp:2;min-height:0}.scenario-theatre .popular-meta{grid-template-columns:1fr}}.app-shell:has(.scenario-theatre){width:min(1680px,100vw - 48px);padding-top:14px}.app-shell:has(.scenario-theatre) .top-bar{padding-left:max(20px,50vw - 840px);padding-right:max(20px,50vw - 840px)}.theatre-atmosphere{background:linear-gradient(90deg, #060504e0 0%, #0a090780 42%, #060504d6 100%), linear-gradient(180deg, #08070680 0%, #090807c7 60%, #080706 100%), var(--scenario-cover);filter:saturate(.78)contrast(1.02)}.theatre-atmosphere:before{-webkit-backdrop-filter:blur(13px);backdrop-filter:blur(13px);background:radial-gradient(#0000 0%,#00000014 44%,#000000a8 100%),linear-gradient(115deg,#c8a25e1f,#0000 34%,#6f8b771a 68%,#0000)}.theatre-atmosphere:after{opacity:.1}.scenario-theatre .home-tabs{box-shadow:none;background:#0c0c0b9e;border-color:#ebdbb51f;border-radius:14px;margin-bottom:16px}.scenario-theatre .home-tabs button{color:#f5efe2a8;border-radius:11px;min-height:42px}.scenario-theatre .home-tabs button.active{color:#f6efe0;background:#ece1c61a;border-color:#ebdbb538}.scenario-theatre .catalog-hero.page-command-bar{background:linear-gradient(90deg,#0b0a09e0,#12100dad 58%,#0b0a09d1),#12100dc2;border-color:#ebdbb524;border-radius:22px;grid-template-columns:minmax(0,1fr) minmax(220px,280px) minmax(190px,236px);gap:clamp(22px,3vw,42px);min-height:330px;margin-bottom:18px;box-shadow:0 28px 72px #00000047,inset 0 1px #fff9e00d}.scenario-theatre .catalog-hero.page-command-bar:before{opacity:.14;filter:blur(.5px)saturate(.75)}.scenario-theatre .catalog-hero.page-command-bar:after{background:linear-gradient(90deg,#0000,#ebdbb538,#0000);left:clamp(20px,3vw,44px);right:clamp(20px,3vw,44px)}.hero-stage-copy{gap:13px;max-width:860px}.scenario-theatre .eyebrow{color:#c4e2c7eb;letter-spacing:.06em;font-size:12px;font-weight:850}.scenario-theatre .catalog-hero h1{text-shadow:0 18px 38px #00000047;max-width:860px;font-size:clamp(2.6rem,3.3vw,4.4rem);font-weight:760;line-height:1.02}.scenario-theatre .command-copy{color:#f6f1e7b3;max-width:760px;font-size:15px;line-height:1.68}.hero-script-ledger span{color:#f6f1e7c7;background:#f6f1e70e;border-color:#ebdbb524;font-weight:720}.hero-featured-dossier{box-shadow:none;background:#100f0d94;border-color:#ebdbb524;border-radius:16px;align-self:center}.hero-dossier-cover{aspect-ratio:4/5;border-color:#ebdbb524;border-radius:12px;min-height:0}.hero-dossier-cover img{filter:saturate(.86)contrast(1.02);min-height:0;display:block}.scenario-theatre .command-actions{background:#0d0c0b52;border-color:#ebdbb51a;align-self:center;gap:12px;box-shadow:inset 0 1px #ffffff08}.scenario-theatre .command-actions .primary-button,.scenario-theatre .room-empty-state .primary-button{color:#15120e;background:linear-gradient(#f8efdafa,#cfbe9af5);border-color:#f6f1e74d;border-radius:12px;min-height:46px;box-shadow:0 12px 26px #0000002e,inset 0 1px #ffffff7a}.scenario-theatre .command-actions .secondary-button,.scenario-theatre .card-action-row .secondary-button{color:#f6f1e7d1;min-height:44px;box-shadow:none;background:#f6f1e70e;border-color:#ebdbb524;border-radius:12px}.scenario-theatre .command-actions button:focus-visible,.scenario-theatre .card-action-row button:focus-visible,.scenario-theatre .clean-tabs button:focus-visible{outline-offset:3px;outline:3px solid #c4e2c738}.scenario-theatre button:disabled{cursor:not-allowed;opacity:.48;box-shadow:none!important;transform:none!important}.scenario-theatre .command-actions button:active,.scenario-theatre .card-action-row button:active{transform:translateY(0)}.scenario-theatre .clean-tabs,.scenario-theatre .scenario-tabs{scrollbar-width:none;background:#0a0a0975;border:1px solid #ebdbb51c;border-radius:16px;flex-wrap:nowrap;gap:4px;width:max-content;max-width:100%;margin:18px 0 14px;padding:5px;display:flex;overflow-x:auto}.scenario-theatre .clean-tabs::-webkit-scrollbar{display:none}.scenario-theatre .scenario-tabs::-webkit-scrollbar{display:none}.scenario-theatre .clean-tabs button,.scenario-theatre .scenario-tabs button{color:#f6f1e794;letter-spacing:0;background:0 0;border:0;border-radius:12px;flex:none;min-height:38px;padding:0 15px;font-size:13px;font-weight:760}.scenario-theatre .clean-tabs button:before,.scenario-theatre .scenario-tabs button:before{display:none}.scenario-theatre .clean-tabs button:hover,.scenario-theatre .scenario-tabs button:hover{color:#f6f1e7c7;background:#f6f1e70f}.scenario-theatre .clean-tabs button.active,.scenario-theatre .scenario-tabs button.active{color:#f8f0dc;background:#ebdbb521;box-shadow:inset 0 0 0 1px #ebdbb51f}.scenario-theatre .section-toolbar{background:#09090857;border-color:#ebdbb517;border-radius:16px;margin:0 0 20px;padding:12px 16px}.scenario-theatre .section-toolbar strong{font-size:15px;font-weight:760}.scenario-theatre .section-toolbar span{color:#f6f1e785;font-size:13px}.scenario-theatre .section-toolbar em{color:#f6f1e7c7;background:#f6f1e70f;border-color:#ebdbb521}.scenario-theatre .popular-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:clamp(18px,1.6vw,26px)}.scenario-theatre .popular-card{background:linear-gradient(#1b1916f0,#0e0d0cfa),#151412;border-color:#ebdbb517;border-radius:15px;box-shadow:0 18px 44px #00000038}.scenario-theatre .popular-card:before{border-radius:inherit;opacity:.46;background:linear-gradient(#ffffff0d,#0000 22%),linear-gradient(90deg,#ebdbb514,#0000 16% 84%,#ebdbb50d);border:0;inset:0}.scenario-theatre .popular-card:after{background:linear-gradient(90deg,#0000,#fffae61a,#0000)}.scenario-theatre .popular-card:hover,.scenario-theatre .popular-card:focus-within{border-color:#ebdbb53d;transform:translateY(-4px);box-shadow:0 22px 58px #0000004d}.scenario-theatre .popular-card.selected{border-color:#c4e2c75c;box-shadow:0 22px 58px #00000047,0 0 0 1px #c4e2c717}.scenario-theatre .popular-card.selected .popular-title:after{content:none}.scenario-theatre .popular-image-button{aspect-ratio:4/3;background:linear-gradient(135deg,#e2d5b814,#304d4114),#11100e;border-color:#ebdbb51c;border-radius:12px;width:calc(100% - 20px);margin:10px 10px 0}.scenario-theatre .popular-image-button:before{background:linear-gradient(#00000008,#0000 34%,#00000029),radial-gradient(circle at 50% 18%,#fffae20f,#0000 34%)}.scenario-theatre .popular-image-button:after{content:"";z-index:1;border-radius:inherit;pointer-events:none;position:absolute;inset:0;box-shadow:inset 0 0 0 1px #ffffff0a,inset 0 -44px 62px #0000002e}.scenario-theatre .popular-image-button img,.scenario-theatre .popular-card:nth-child(3n+1) .popular-image-button img,.scenario-theatre .popular-card:nth-child(4n) .popular-image-button img{filter:saturate(.82)contrast(1.02)brightness(.96)}.scenario-theatre .popular-card:hover .popular-image-button img,.scenario-theatre .popular-card:focus-within .popular-image-button img{filter:saturate(.92)contrast(1.04)brightness();transform:scale(1.028)}.scenario-theatre .sfw-badge,.scenario-theatre .heat-float{color:#f6f1e7d1;box-shadow:none;background:#12100e8a;border-color:#f6f1e72e;border-radius:999px}.scenario-theatre .heat-float{min-height:26px;padding:0 8px;font-size:11px;top:10px;bottom:auto;right:10px}.scenario-theatre .popular-card-body{gap:9px;padding:14px 15px 15px}.case-card-kicker{letter-spacing:.04em;font-size:10px}.case-card-kicker em{color:#c4e2c7b8}.scenario-theatre .popular-title{color:#f6efe0;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:2.6em;font-size:clamp(1.08rem,.8vw + .86rem,1.28rem);font-weight:760;line-height:1.28;display:-webkit-box;overflow:hidden}.scenario-theatre .popular-card-body p{color:#f6f1e794;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:2.9em;font-size:13px;line-height:1.48;display:-webkit-box;overflow:hidden}.scenario-theatre .popular-meta{background:#f6f1e709;border:1px solid #ebdbb514;border-radius:12px;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:4px}.scenario-theatre .popular-meta span{color:#f6f1e7ad;background:0 0;border:0;border-radius:9px;min-height:30px;padding:4px 5px;font-size:11.5px;font-weight:680}.case-author-strip{color:#f6f1e76b;border-left:0;padding-left:0;font-size:11.5px}.scenario-theatre .card-action-row{justify-content:flex-end;margin-top:0;display:flex}.scenario-theatre .card-action-row .secondary-button{color:#c4e2c7c7;background:0 0;border:0;width:auto;min-height:34px;padding:0 2px}.scenario-theatre .card-action-row .secondary-button:hover{color:#dbf0dd;box-shadow:none;background:0 0}@media (width>=1680px){.scenario-theatre .popular-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}@media (width<=1180px){.scenario-theatre .catalog-hero.page-command-bar{grid-template-columns:minmax(0,1fr) minmax(190px,230px)}.scenario-theatre .command-actions{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=720px){.app-shell:has(.scenario-theatre){width:min(100vw - 20px,100%);padding-top:10px}.app-shell:has(.scenario-theatre) .top-bar{grid-template-columns:42px minmax(0,1fr) 42px;gap:8px;min-height:54px;padding-left:10px;padding-right:10px;display:grid;overflow:hidden}.app-shell:has(.scenario-theatre) .brand-mark div{display:none}.app-shell:has(.scenario-theatre) .global-search{display:none}.app-shell:has(.scenario-theatre) .top-nav-links{scrollbar-width:none;flex:auto;grid-column:2;min-width:0;max-width:100%;display:flex;overflow:auto hidden}.app-shell:has(.scenario-theatre) .top-nav-links::-webkit-scrollbar{display:none}.app-shell:has(.scenario-theatre) .top-actions{flex:none;grid-column:3;justify-self:end;width:42px;min-width:42px;overflow:hidden}.app-shell:has(.scenario-theatre) .top-actions>:not(.top-avatar-chip){display:none}.app-shell:has(.scenario-theatre) .top-avatar-chip{width:42px;max-width:42px;padding:0;overflow:hidden}.scenario-theatre{padding-top:12px}.scenario-theatre .catalog-hero.page-command-bar{grid-template-columns:1fr;gap:12px;min-height:0;padding:14px}.scenario-theatre .clean-tabs,.scenario-theatre .scenario-tabs{grid-template-columns:none;width:100%;padding:4px;display:flex}.scenario-theatre .clean-tabs button,.scenario-theatre .scenario-tabs button{min-width:96px;min-height:40px}.scenario-theatre .popular-grid{grid-template-columns:1fr}.hero-stage-copy{max-width:none}.scenario-theatre .catalog-hero h1{word-break:keep-all;max-width:none;font-size:clamp(1.9rem,9vw,2.35rem);line-height:1.04}.scenario-theatre .command-copy{-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:13px;line-height:1.56;display:-webkit-box;overflow:hidden}.hero-script-ledger{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.hero-script-ledger span{text-align:center;justify-content:center;align-items:center;min-height:34px;display:flex}.hero-featured-dossier{grid-template-columns:78px minmax(0,1fr);align-items:center;gap:10px;padding:8px}.hero-dossier-cover{aspect-ratio:4/5}.hero-dossier-cover img{min-height:0}.hero-dossier-cover span{padding:2px 5px;font-size:8px;bottom:6px;left:6px}.scenario-theatre .command-actions{background:0 0;border:0;padding:0}.scenario-theatre .command-actions:has(.secondary-button){grid-template-columns:repeat(2,minmax(0,1fr))}.scenario-theatre .popular-image-button{aspect-ratio:16/10}}@media (width<=420px){.app-shell:has(.scenario-theatre){width:calc(100vw - 20px)}.scenario-theatre .catalog-hero h1{font-size:clamp(1.85rem,9.6vw,2.32rem)}.scenario-theatre .popular-meta{grid-template-columns:repeat(3,minmax(0,1fr))}}.scenario-theatre .popular-card{box-shadow:none;background:0 0;border:0;border-radius:0;transition:transform .18s;position:relative;overflow:visible}.scenario-theatre .popular-card:before,.scenario-theatre .popular-card:after{content:none}.scenario-theatre .popular-card:hover,.scenario-theatre .popular-card:focus-within,.scenario-theatre .popular-card.preview-hover{box-shadow:none;border-color:#0000;transform:translateY(-5px)}.scenario-theatre .popular-card.selected{box-shadow:none;border-color:#0000}.poster-media{aspect-ratio:4/5;isolation:isolate;background:#10100f;border-radius:14px;width:100%;position:relative;overflow:hidden;box-shadow:0 18px 42px #0000003d}.scenario-theatre .popular-card.selected .poster-media{box-shadow:0 18px 42px #00000042,0 0 0 2px #c4e2c757}.scenario-theatre .popular-card:hover .poster-media,.scenario-theatre .popular-card:focus-within .poster-media,.scenario-theatre .popular-card.preview-hover .poster-media{box-shadow:0 24px 56px #00000057}.scenario-theatre .popular-image-button{aspect-ratio:auto;border-radius:inherit;cursor:pointer;background:#10100f;border:0;width:100%;height:100%;margin:0;padding:0;display:block;position:relative;overflow:hidden}.scenario-theatre .popular-image-button:focus-visible{outline-offset:4px;outline:3px solid #c4e2c747}.scenario-theatre .popular-image-button:before{content:"";z-index:1;pointer-events:none;background:linear-gradient(#0000000a,#0000 48%,#0000001f),radial-gradient(circle at 50% 18%,#fffff50d,#0000 34%);position:absolute;inset:0}.scenario-theatre .popular-image-button:after{content:"";z-index:2;border-radius:inherit;opacity:0;pointer-events:none;background:linear-gradient(#0000 56%,#00000075 100%);transition:opacity .18s;position:absolute;inset:0}.scenario-theatre .popular-card:hover .popular-image-button:after,.scenario-theatre .popular-card:focus-within .popular-image-button:after,.scenario-theatre .popular-card.preview-hover .popular-image-button:after{opacity:1}.scenario-theatre .popular-image-button img,.scenario-theatre .popular-card:nth-child(3n+1) .popular-image-button img,.scenario-theatre .popular-card:nth-child(4n) .popular-image-button img{object-fit:cover;filter:saturate(.88)contrast(1.02)brightness(.96);width:100%;height:100%;transition:transform .26s,filter .18s;display:block;transform:scale(1.001)}.scenario-theatre .popular-card:hover .popular-image-button img,.scenario-theatre .popular-card:focus-within .popular-image-button img,.scenario-theatre .popular-card.preview-hover .popular-image-button img{filter:saturate(.98)contrast(1.04)brightness();transform:scale(1.035)}.scenario-theatre .sfw-badge,.scenario-theatre .heat-float{z-index:3;color:#f8f4ebd1;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#090a097a;border:0;border-radius:999px;min-height:24px;padding:0 8px;font-size:10.5px;font-weight:680;line-height:24px;position:absolute}.scenario-theatre .sfw-badge{top:10px;left:10px}.scenario-theatre .heat-float{align-items:center;gap:4px;display:inline-flex;top:10px;bottom:auto;right:10px}.scenario-theatre .poster-media .card-action-row{z-index:4;opacity:0;pointer-events:none;background:linear-gradient(#0000,#060707c7 40%,#060707e6);justify-items:start;gap:10px;padding:18px 16px 16px;transition:opacity .18s,transform .18s;display:grid;position:absolute;bottom:0;left:0;right:0;transform:translateY(10px)}.scenario-theatre .popular-card:hover .poster-media .card-action-row,.scenario-theatre .popular-card:focus-within .poster-media .card-action-row,.scenario-theatre .popular-card.preview-hover .poster-media .card-action-row{opacity:1;pointer-events:auto;transform:translateY(0)}.scenario-theatre .poster-media .card-action-row p{color:#f8f4ebc7;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:12.5px;line-height:1.52;display:-webkit-box;overflow:hidden}.scenario-theatre .poster-media .card-action-row .secondary-button{color:#f8f4eb;width:auto;min-height:34px;box-shadow:none;background:#f8f4eb24;border:0;border-radius:999px;padding:0 12px;font-size:12px}.scenario-theatre .poster-media .card-action-row .secondary-button:hover{box-shadow:none;background:#f8f4eb38;transform:translateY(-1px)}.scenario-theatre .popular-card-body{gap:7px;padding:11px 2px 0;display:grid}.scenario-theatre .popular-title{color:#f8f4ebeb;letter-spacing:0;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:0;margin:0;font-family:Inter,Noto Sans SC,system-ui,sans-serif;font-size:clamp(.98rem,.48vw + .86rem,1.08rem);font-weight:720;line-height:1.34;display:-webkit-box;overflow:hidden}.scenario-theatre .popular-meta{background:0 0;border:0;border-radius:0;flex-wrap:nowrap;grid-template-columns:none;gap:7px;min-width:0;padding:0;display:flex;overflow:hidden}.scenario-theatre .popular-meta span{color:#f8f4eb80;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;border-radius:0;flex:0 auto;justify-content:flex-start;min-width:0;min-height:auto;padding:0;font-size:11.5px;font-weight:560;line-height:1.35;display:inline-flex;overflow:hidden}.scenario-theatre .popular-meta span+span:before{content:"/";color:#f8f4eb38;margin-right:7px}.case-author-strip{color:#f8f4eb61;text-overflow:ellipsis;white-space:nowrap;font-size:11.5px;line-height:1.35;overflow:hidden}.case-card-kicker{display:none}@media (width>=1680px){.scenario-theatre .popular-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}@media (width<=980px){.scenario-theatre .popular-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr))}}@media (width<=720px){.scenario-theatre .popular-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}.poster-media{aspect-ratio:auto;box-shadow:none;background:0 0;border-radius:12px;overflow:visible}.scenario-theatre .popular-image-button{aspect-ratio:4/5;height:auto;box-shadow:0 14px 32px #00000038}.scenario-theatre .poster-media .card-action-row{opacity:1;pointer-events:auto;background:0 0;padding:8px 0 0;position:static;transform:none}.scenario-theatre .poster-media .card-action-row p{display:none}.scenario-theatre .poster-media .card-action-row .secondary-button{color:#c4e2c7d6;background:0 0;min-height:30px;padding:0}.scenario-theatre .popular-card-body{padding-top:9px}.scenario-theatre .popular-meta{flex-wrap:wrap;gap:4px 6px}.scenario-theatre .popular-meta span{max-width:100%;font-size:11px}}@media (width<=420px){.scenario-theatre .popular-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.scenario-theatre .popular-title{font-size:.94rem;line-height:1.32}.scenario-theatre .sfw-badge,.scenario-theatre .heat-float{min-height:22px;padding:0 7px;font-size:10px;line-height:22px;top:8px}.scenario-theatre .sfw-badge{left:8px}.scenario-theatre .heat-float{right:8px}}body:has(.user-center-page){background:#080706}body:has(.user-center-page):before{opacity:.2;filter:blur(1px)saturate(.82)contrast(1.08);background:linear-gradient(90deg,#040404e0,#04040461 42%,#040404db),linear-gradient(#0705044d,#070504f0 68%,#080706),url(/covers/rain-library.svg) 50%/cover no-repeat}.app-shell:has(.user-center-page) .top-bar{background:linear-gradient(#0a0807e6,#0a0807b8),#0a0807c2;border-bottom-color:#e2be7924}.user-center-page{isolation:isolate;background:radial-gradient(circle at 18% 6%,#e2be7917,#0000 26rem),radial-gradient(circle at 82% 4%,#67d4bd14,#0000 24rem),linear-gradient(#08070694,#080706f5 72%);position:relative}.user-center-page:after{content:"";z-index:-1;pointer-events:none;opacity:.09;mix-blend-mode:overlay;background-image:repeating-linear-gradient(0deg,#ffffff14 0 1px,#0000 1px 4px),repeating-linear-gradient(90deg,#e2be790d 0 1px,#0000 1px 8px);position:fixed;inset:0}.user-main-surface{padding-bottom:112px}.profile-surface,.explore-page-shell,.settings-panel,.wallet-page{z-index:1;position:relative}.profile-surface{width:min(1040px,100% - 56px);padding-top:116px}.profile-hero-band{opacity:.62;background:linear-gradient(#36251cbd,#0f0c0a14 66%,#08070600),linear-gradient(90deg,#e2be792e,#67d4bd14,#ff4f9814),url(/covers/rain-library.svg) 50% 18%/min(1180px,96vw) no-repeat;height:308px}.profile-head{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:linear-gradient(90deg,#14100dd1,#14100d61);border:1px solid #e2be791f;border-radius:18px;max-width:940px;padding:18px}.profile-head img{border-color:#e2be794d;border-radius:22px}.profile-bio{color:#f4efe4bd;max-width:760px;margin-left:0;padding:14px 2px 0}.profile-stats{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#0c0a088f;border-color:#e2be7924;margin-top:22px}.profile-action-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:6px}.profile-action-card{box-shadow:none;background:linear-gradient(#ffffff0d,#ffffff07),#0c0a08a3;border-color:#e2be791a;border-radius:14px}.profile-action-card:hover{background:#e2be7914;border-color:#e2be7947}.profile-credit-panel,.profile-performance-panel,.profile-edit-form{box-shadow:none;background:linear-gradient(135deg,#e2be7914,#67d4bd0b),#0c0a08b3;border-color:#e2be791f}.profile-tabs{border-bottom-color:#e2be7929;width:fit-content;max-width:100%;margin-top:34px}.profile-tabs button{color:#f4efe49e}.profile-tabs button:hover,.profile-tabs button.active{color:#fff6df}.profile-tabs button.active{border-color:#d9b36d}.profile-script-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.profile-script-card{min-height:148px;box-shadow:none;background:0 0;border:0;border-radius:0;grid-template-columns:112px minmax(0,1fr);align-items:stretch;gap:14px;padding:0;display:grid}.profile-script-card:hover{background:0 0;transform:translateY(-3px)}.profile-script-card:focus-visible{outline-offset:5px;outline:2px solid #e2be79ad}.profile-script-poster{aspect-ratio:4/5;background:#ffffff0a;border-radius:12px;display:block;position:relative;overflow:hidden;box-shadow:0 14px 30px #00000047}.profile-script-poster img{object-fit:cover;width:100%;height:100%;transition:transform .18s;display:block}.profile-script-card:hover .profile-script-poster img{transform:scale(1.035)}.profile-script-poster i{color:#fff7dde6;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#07080ba3;border-radius:999px;min-height:22px;padding:0 8px;font-size:10px;font-style:normal;font-weight:850;line-height:22px;position:absolute;top:8px;left:8px}.profile-script-copy{align-content:center;min-width:0;padding:10px 0;display:grid}.profile-script-copy strong{color:#fff6df;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:1.02rem;line-height:1.28;display:-webkit-box;overflow:hidden}.profile-script-copy span,.profile-script-copy p{color:#f4efe494;-webkit-box-orient:vertical;margin:7px 0 0;line-height:1.55;display:-webkit-box;overflow:hidden}.profile-script-copy span{-webkit-line-clamp:1}.profile-script-copy p{-webkit-line-clamp:2}.profile-empty-shelf{background:linear-gradient(135deg,#e2be7912,#67d4bd0a),#0c0a08a3;border-color:#e2be7921}.explore-page-shell{width:min(760px,100% - 40px);padding-top:28px}.explore-stream-tabs{background:#080706c7;margin:0 0 10px;padding:8px 0 0;top:60px}.explore-quick-composer,.explore-composer{box-shadow:none;background:linear-gradient(135deg,#e2be790f,#67d4bd09),#0c0a08b8;border-color:#e2be7921}.explore-filter-chips button{background:#fff7dd0e;border-color:#e2be791f}.explore-filter-chips button.active{color:#fff6df;background:#e2be791f;border-color:#e2be7957}.explore-post-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0a0875;border:1px solid #e2be791a;border-radius:18px;margin-top:4px;padding:18px 18px 18px 70px}.explore-post-card header{margin-left:-52px}.explore-post-card>p{color:#fffaeee6}.explore-post-media{background:#ffffff0a;border:0;border-radius:14px;box-shadow:0 16px 38px #00000047}.explore-post-media img{height:clamp(230px,36vw,360px)}.explore-post-actions{gap:16px}.explore-post-actions button{color:#f4efe499;border-radius:999px;min-width:42px}.explore-post-actions button:hover,.explore-post-actions button.active{color:#fff6df;background:#e2be791a}.user-message-page{grid-template-columns:minmax(320px,380px) minmax(0,1fr);gap:18px;padding:22px}.message-thread-list,.message-chat-panel{box-shadow:none;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:linear-gradient(#ffffff09,#ffffff05),#0c0a08b8;border:1px solid #e2be791c;border-radius:18px}.message-thread-list{padding:14px}.message-chat-panel{overflow:hidden}.message-chat-panel header{background:#fff7dd09;border-bottom-color:#e2be791f}.message-thread-header-actions{align-items:center;gap:8px;display:inline-flex}.message-thread-close{width:36px;min-width:36px;padding:0}.message-thread-modal-backdrop{display:none}.thread-row{border-radius:14px;min-height:74px;padding:0 10px}.thread-row.active{background:#e2be791a;border-color:#e2be7947}.chat-bubble-row p{color:#fffaeef0;background:#fff7dd13}.message-article{max-width:820px}.settings-panel,.wallet-page{box-shadow:none;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:linear-gradient(135deg,#e2be7912,#67d4bd09),#0c0a08b8;border-color:#e2be7921}.settings-panel{width:min(880px,100% - 48px)}.wallet-page{width:min(1080px,100% - 48px)}.settings-card,.wallet-hero,.wallet-vip-card,.wallet-package-grid button,.wallet-channel-row button,.wallet-rules{box-shadow:none;background:#fff7dd0b;border-color:#e2be791f}.wallet-package-grid button.active,.wallet-channel-row button.active{background:linear-gradient(135deg,#e2be7924,#67d4bd0d),#fff7dd0b;border-color:#e2be7961}.wallet-package-grid button:hover:not(:disabled),.wallet-channel-row button:hover:not(:disabled),.settings-card:hover{background:#e2be7913;border-color:#e2be7947}.setting-row input[type=checkbox]{appearance:none;cursor:pointer;background:#fff7dd14;border:1px solid #e2be792e;border-radius:999px;flex:none;width:48px;height:28px;min-height:28px;max-height:28px;padding:0;transition:background .16s,border-color .16s,box-shadow .16s;position:relative}.setting-row input[type=checkbox]:after{content:"";background:#f4efe4d1;border-radius:50%;width:18px;height:18px;transition:transform .16s,background .16s;position:absolute;top:4px;left:4px;box-shadow:0 4px 10px #00000047}.setting-row input[type=checkbox]:checked{background:linear-gradient(135deg,#e2be79db,#67d4bd9e);border-color:#e2be7975}.setting-row input[type=checkbox]:checked:after{background:#120d08;transform:translate(20px)}.setting-row input[type=checkbox]:focus-visible{outline-offset:3px;outline:2px solid #e2be79b8}.settings-safety-row{background:#67d4bd12}.wallet-package-grid button{grid-template-columns:1fr;align-content:start;gap:8px;min-height:178px;display:grid;overflow:hidden}.wallet-package-grid button strong,.wallet-package-grid button span,.wallet-package-grid button small,.wallet-package-grid button p{max-width:100%;display:block}.wallet-package-grid button strong{color:#fff6df;font-size:clamp(1.55rem,2.4vw,2.25rem);line-height:.98}.wallet-package-grid button strong small{color:#f4efe49e;font-size:.72rem;display:inline}.wallet-package-grid button span{color:#fffaeeeb;font-size:.95rem}.wallet-package-grid button>small{color:#f4efe49e;font-size:.76rem;line-height:1.45}.wallet-package-grid button p{color:#f4efe494;-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0;font-size:.82rem;line-height:1.55;display:-webkit-box;overflow:hidden}.wallet-package-grid button em{top:10px;right:10px}.wallet-channel-row button{grid-template-columns:20px minmax(0,1fr);align-items:start;gap:4px 8px;display:grid}.wallet-channel-row button svg{grid-row:span 2}.wallet-channel-row button small{grid-column:2}.account-drawer-backdrop .account-drawer-panel{background:linear-gradient(#15110dfa,#0a0807fa),#0a0807fa;border-color:#e2be7929}.side-wallet-card,.side-credit-card{background:#fff7dd0e;border-color:#e2be7924}.side-action:hover,.side-message-row:hover{background:#e2be7914}.pink-button,.wallet-submit{color:#17110c;background:linear-gradient(135deg,#e2be79eb,#b48548eb);border-color:#e2be7957;box-shadow:0 14px 34px #0000003d}.pink-button:hover:not(:disabled),.wallet-submit:hover:not(:disabled){color:#120d08;background:linear-gradient(135deg,#f4d186f5,#c89752f5);border-color:#ffe19e8f}.ghost-button,.message-toolbar button,.message-filter-row button,.message-chat-panel header button,.explore-publish-button,.explore-comment-form button{border-color:#e2be791f}.ghost-button:focus-visible,.pink-button:focus-visible,.profile-action-card:focus-visible,.message-toolbar button:focus-visible,.message-filter-row button:focus-visible,.message-chat-panel header button:focus-visible,.explore-publish-button:focus-visible,.explore-comment-form button:focus-visible,.wallet-package-grid button:focus-visible,.wallet-channel-row button:focus-visible{outline-offset:3px;outline:2px solid #e2be79b8}@media (width<=980px){.profile-surface{width:min(100% - 32px,820px)}.profile-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-script-grid,.user-message-page{grid-template-columns:1fr}.user-message-page{padding:14px}}@media (width<=720px){.profile-surface,.explore-page-shell,.settings-panel,.wallet-page{width:100%}.profile-surface{padding:84px 2px 0}.profile-head{padding:14px}.profile-action-grid{grid-template-columns:1fr}.profile-script-card{grid-template-columns:92px minmax(0,1fr);min-height:124px}.profile-script-copy{padding:4px 0}.explore-page-shell{padding-top:10px}.explore-post-card{padding:14px}.explore-post-card header{margin-left:0}.explore-post-media img{height:220px}.wallet-section-title{flex-direction:column;align-items:flex-start;gap:4px}.wallet-section-title strong{line-height:1.55}.message-thread-list,.message-chat-panel{border-radius:14px}body:has(.message-thread-modal-backdrop){overflow:hidden}body:has(.message-thread-modal-backdrop) .user-center-page{z-index:1300;position:relative}body:has(.message-thread-modal-backdrop) .top-bar{z-index:1;pointer-events:none}.user-message-page .message-chat-panel{display:none}.message-thread-modal-backdrop{z-index:1250;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#050403bd;padding:10px;display:grid;position:fixed;inset:0}.message-thread-modal{color:#f4efe4;background:linear-gradient(#120f0bfa,#080706fc),#080706fc;border:1px solid #e2be7924;border-radius:18px;grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0;display:grid;overflow:hidden}.message-thread-modal header{background:#fff7dd09;border-bottom:1px solid #e2be791f;justify-content:space-between;align-items:flex-start;gap:12px;min-height:auto;padding:14px;display:flex}.message-thread-modal .chat-bubble-list,.message-thread-modal .message-article{min-height:0;overflow:auto}.settings-panel,.wallet-page{border-radius:16px}}@media (width<=420px){.profile-script-card{grid-template-columns:78px minmax(0,1fr);gap:11px}.profile-script-copy strong{font-size:.95rem}.profile-script-copy p{-webkit-line-clamp:1}.explore-post-media img{height:190px}}:is(body:has(.script-detail-page),body:has(.start-game-page),body:has(.waiting-room-page),body:has(.room-layout),body:has(.builder-page)){color:#f4efe4;background:radial-gradient(circle at 18% -8%,#e2be7929,#0000 34rem),radial-gradient(circle at 92% 12%,#67d4bd17,#0000 30rem),linear-gradient(#080706 0%,#030303 56%,#050403 100%);overflow-x:hidden}:is(.app-shell:has(.script-detail-page),.app-shell:has(.start-game-page),.app-shell:has(.waiting-room-page)){width:min(1280px,100% - 48px)}:is(body:has(.script-detail-page) .top-bar,body:has(.start-game-page) .top-bar,body:has(.waiting-room-page) .top-bar,body:has(.room-layout) .top-bar,body:has(.builder-page) .top-bar){-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#060607d6;border-bottom:1px solid #e2be791c}.script-detail-page,.start-game-page,.waiting-room-page{isolation:isolate;width:100%;max-width:none;padding:34px 0 88px;position:relative}.script-detail-page:before,.start-game-page:before,.waiting-room-page:before{content:"";z-index:0;pointer-events:none;background:linear-gradient(180deg, #05040370, #050403eb 58%, #050403fa), radial-gradient(circle at 50% 18%, #fff0b91f, transparent 26rem), var(--script-cover,url(/covers/rain-library.svg)) center / cover no-repeat;filter:saturate(.88)contrast(1.02);opacity:.52;position:fixed;inset:52px 0 0}.script-detail-page:after,.start-game-page:after,.waiting-room-page:after,.room-layout:after{content:"";z-index:0;pointer-events:none;opacity:.58;background:linear-gradient(90deg,#0000007a,#0000 20% 80%,#00000070),radial-gradient(circle at 50% 0,#0000 0,#00000057 72%);position:fixed;inset:0}.script-detail-page>*,.start-game-page>*,.waiting-room-page>*,.room-layout>*{z-index:1;position:relative}.detail-back{color:#f4efe4c7;min-height:38px;box-shadow:none;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#0c0a089e;border-color:#e2be7924;transition:transform .16s,border-color .16s,background .16s,color .16s}.detail-back:hover{color:#fff6df;background:#e2be7917;border-color:#e2be7952;transform:translateY(-1px)}.detail-back:focus-visible,.detail-start-button:focus-visible,.detail-secondary-actions button:focus-visible,.start-room-row:focus-visible,.role-pick-card:focus-visible,.dock-player button:focus-visible,.room-layout .room-action-grid button:focus-visible,.room-layout .room-danger-zone>button:focus-visible,.room-layout .message-actions button:focus-visible,.search-location-card:focus-visible,.script-page-list button:focus-visible,.read-confirm-inline:focus-visible,.reader-mode-toggle button:focus-visible,.peer-target-tabs button:focus-visible,.peer-star-row button:focus-visible,.like-toggle:focus-visible{outline-offset:3px;outline:2px solid #e2be79b8}.detail-hero{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:linear-gradient(100deg,#0c0a08db,#0c0a089e 48%,#0c0a08d1),#0c0a089e;border:1px solid #e2be7921;border-radius:22px;grid-template-columns:minmax(250px,340px) minmax(0,1fr);align-items:end;gap:clamp(28px,4vw,54px);min-height:520px;margin:0 0 30px;padding:clamp(24px,4vw,48px);position:relative;overflow:hidden;box-shadow:0 28px 90px #00000057}.detail-hero:before{content:"";background:linear-gradient(90deg, #060504c2, #06050438 48%, #060504ad), var(--script-cover,url(/covers/rain-library.svg)) center / cover no-repeat;opacity:.2;position:absolute;inset:0;transform:scale(1.04)}.detail-hero>img{aspect-ratio:4/5.45;object-fit:cover;border:1px solid #fff7dd1c;border-radius:16px;width:min(100%,320px);position:relative;box-shadow:0 28px 70px #00000070}.detail-hero-content{gap:18px;padding:0;position:relative}.detail-title-row h1,.start-game-heading h1,.waiting-preview-copy h1,.waiting-lobby-header h1,.room-header h1{color:#fff6df;text-wrap:balance;font-weight:900;line-height:1.08}.detail-title-row h1{max-width:12ch;font-size:clamp(2rem,4.8vw,4.35rem)}.detail-submeta,.detail-summary-line,.detail-intro p,.start-game-heading span,.start-option-panel p,.waiting-preview-copy p,.waiting-hint{color:#f4efe4ad}.detail-submeta span,.detail-tags span,.detail-highlights span,.waiting-room-stats span,.phase-list span{color:#fffaeedb;background:#fff7dd0f;border-color:#e2be7921}.detail-summary-line{max-width:760px;font-size:1.02rem}.detail-highlights{max-width:620px}.detail-highlights span{background:linear-gradient(135deg,#e2be7914,#67d4bd09),#09080785;border-radius:14px}.detail-highlights small{color:#f4efe48a}.detail-action-panel{grid-template-columns:minmax(220px,280px) minmax(0,420px);align-items:stretch;max-width:740px}.detail-start-button,.pink-button,.wallet-submit{color:#18110b;background:linear-gradient(135deg,#ecca82f5,#b0793af5);border:1px solid #e2be795c;transition:transform .16s,box-shadow .16s,filter .16s,opacity .16s;box-shadow:0 16px 38px #00000040}.detail-start-button:hover:not(:disabled),.pink-button:hover:not(:disabled),.wallet-submit:hover:not(:disabled){filter:brightness(1.06);transform:translateY(-1px);box-shadow:0 20px 44px #00000052}.detail-start-button:active:not(:disabled),.pink-button:active:not(:disabled),.wallet-submit:active:not(:disabled){transform:translateY(0);box-shadow:0 10px 24px #00000047}.detail-start-button:disabled,.room-layout button:disabled,.start-room-row:disabled,.role-pick-card:disabled,.search-location-card:disabled,.script-page-list button:disabled{cursor:not-allowed;filter:saturate(.72);opacity:.5}.detail-secondary-actions button{color:#f4efe4bd;background:#fff7dd0e;border-color:#e2be7924}.detail-secondary-actions button:hover:not(:disabled),.detail-secondary-actions button.active{color:#fff6df;background:#e2be791a;border-color:#e2be7957}.detail-more-menu{background:#0d0b09f5;border-color:#e2be7924;box-shadow:0 18px 44px #00000061}.detail-more-menu button{color:#f4efe4d1}.detail-section,.detail-intro,.start-option-panel,.waiting-preview-panel,.waiting-lobby-panel{box-shadow:none;-webkit-backdrop-filter:blur(13px);backdrop-filter:blur(13px);background:linear-gradient(135deg,#e2be790f,#67d4bd06),#0c0a08b3;border-color:#e2be791f}.detail-section{border:1px solid #e2be791a;border-radius:18px;padding:22px}.detail-section h2,.start-option-panel h2,.waiting-section-heading h2,.clue-panel-heading h2,.side-panel-title h2{color:#fff6df;font-size:1rem;font-weight:850}.character-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.character-card{background:#fff7dd0b;border-color:#e2be791c;border-radius:16px;align-content:start;gap:10px;min-height:0;padding:12px;display:grid;overflow:hidden}.character-image{aspect-ratio:4/5;filter:saturate(.94)contrast(1.02);border-radius:12px;margin:0}.character-avatar{display:none}.character-card h3{color:#fff6df}.character-card p{color:#f4efe49e;-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.start-game-page{max-width:1180px}.start-game-heading{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:linear-gradient(90deg,#0c0a08b8,#0c0a087a),#0c0a08a3;border:1px solid #e2be791f;border-radius:20px;grid-template-columns:120px minmax(0,1fr);margin-bottom:18px;padding:18px}.start-game-heading img{border-radius:14px;width:120px;height:150px;box-shadow:0 18px 42px #00000052}.start-decision-bar{background:linear-gradient(135deg,#e2be7917,#67d4bd0b),#0c0a0894;border-color:#e2be7929}.start-decision-bar span,.start-option-label,.waiting-lobby-header>span,.waiting-section-heading small{color:#e7c681}.start-options-grid{grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);gap:18px}.start-option-panel{border-radius:20px;min-height:0;padding:22px}.start-option-panel.primary-flow{background:linear-gradient(135deg,#e2be791a,#fff7dd09),#0c0a08b8;border-color:#e2be7938}.start-option-panel.secondary-flow{background:#0c0a0894}.start-option-label{background:#e2be7917;border-color:#e2be792e}.start-option-icon{color:#e7c681;background:#e2be7917;border:1px solid #e2be7924}.start-option-panel input{color:#fff6df;background:#fff7dd12;border:1px solid #e2be791f;border-radius:14px;min-height:44px}.start-room-row{background:#fff7dd0b;border-color:#e2be791a;border-radius:14px;transition:transform .16s,border-color .16s,background .16s}.start-room-row:hover:not(:disabled){background:#e2be7913;border-color:#e2be7947;transform:translateY(-1px)}.start-empty-room{color:#f4efe494;background:#fff7dd09;border-color:#e2be7929}.waiting-room-page{max-width:1220px}.waiting-room-layout{grid-template-columns:minmax(420px,.9fr) minmax(420px,1.1fr);gap:20px;min-height:calc(100vh - 142px)}.waiting-preview-panel{border-radius:22px;align-content:end;justify-items:start;min-height:640px;padding:clamp(22px,4vw,42px);position:relative;overflow:hidden}.waiting-preview-panel:before{content:"";background:linear-gradient(180deg, #06050429, #060504e0), var(--script-cover,url(/covers/rain-library.svg)) center / cover no-repeat;filter:saturate(.9);position:absolute;inset:0;transform:scale(1.04)}.waiting-preview-card,.waiting-preview-copy{z-index:1;position:relative}.waiting-preview-card{border:1px solid #fff7dd1f;border-radius:15px;width:min(210px,48%);box-shadow:0 22px 58px #0006}.waiting-preview-card img{aspect-ratio:4/5.3}.waiting-preview-copy{text-align:left;justify-items:start;max-width:620px}.waiting-lobby-panel{border-radius:22px;padding:clamp(18px,2.6vw,28px)}.role-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.role-pick-card{background:#fff7dd0a;border-color:#e2be791a;border-radius:14px;transition:transform .16s,border-color .16s,background .16s}.role-pick-card:hover:not(:disabled){background:#e2be7912;border-color:#e2be7947;transform:translateY(-1px)}.role-pick-card.selected{border-color:#e2be7980;box-shadow:inset 0 0 0 1px #e2be795c,0 10px 28px #0000003d}.role-pick-card span{color:#fff6df;font-weight:850}.dock-avatar{color:#f4efe4b8;background:#fff7dd14;border-color:#e2be7924}.dock-player.ready .dock-avatar{color:#dffcf5;border-color:#67d4bd6b;box-shadow:0 0 0 3px #67d4bd1a}.dock-player button{color:#ffd1d7;background:#ff6b7a1c;border-color:#ff6b7a2e}.waiting-support-actions{background:#fff7dd0a;border-color:#e2be791c}.waiting-test-tools{border-top:1px solid #e2be791a}.room-layout{isolation:isolate;background-position:50%;background-size:cover;border-radius:0;grid-template-columns:minmax(224px,.75fr) minmax(0,1.55fr) minmax(300px,.95fr);grid-template-areas:"header header header""roster chat clue";gap:18px;min-height:calc(100vh - 68px);padding:20px 0 48px;position:relative}.room-layout:before{content:"";z-index:0;pointer-events:none;background:linear-gradient(180deg, #0504036b, #050403eb), var(--room-backdrop,var(--script-cover,url(/covers/rain-library.svg))) center / cover no-repeat;filter:saturate(.86)contrast(1.04);opacity:.34;position:fixed;inset:52px 0 0}.room-header{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:linear-gradient(135deg,#e2be7913,#67d4bd09),#0a0908d1;border:1px solid #e2be791f;border-radius:20px;grid-area:header;min-height:82px;top:64px;box-shadow:0 18px 50px #0000003d}.room-phase-row{flex-wrap:wrap;gap:8px;display:flex}.room-layout .phase-pill,.room-live-pill,.room-readiness-summary{color:#fffaeee0;background:#fff7dd11;border:1px solid #e2be7921;border-radius:999px}.room-layout .roster-panel{grid-area:roster}.room-layout .clue-panel{grid-area:clue}.room-layout .chat-panel{grid-area:chat;min-width:0}.room-layout .roster-panel,.room-layout .clue-panel,.room-layout .chat-panel{box-shadow:none;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:linear-gradient(#fff7dd0b,#fff7dd05),#090807bd;border:1px solid #e2be791f;border-radius:20px}.room-layout .roster-panel,.room-layout .clue-panel{max-height:calc(100vh - 188px);top:166px;overflow:auto}.room-layout .chat-panel{grid-template-rows:auto auto minmax(260px,1fr) auto;height:min(820px,100vh - 164px);display:grid;overflow:hidden}.room-layout .chat-panel-header{background:#0c0a08d1;border-bottom-color:#e2be791f}.room-layout .chat-panel-header span,.room-layout .dm-control-heading span,.room-layout .dm-control-main span,.room-layout .ai-experience-row small,.room-layout .room-action-section-title small,.room-layout .clue-item p,.room-layout .empty-clue-text,.room-layout .my-seat-summary small,.room-layout .player-seat-card small{color:#f4efe494}.room-layout .chat-panel-header strong,.room-layout .dm-control-heading strong,.room-layout .dm-control-main strong,.room-layout .ai-experience-row strong,.room-layout .message strong,.room-layout .player-seat-card strong,.room-layout .clue-item strong,.room-layout .my-seat-summary strong,.room-layout .room-action-section-title span{color:#fff6df}.room-layout .chat-header-actions{gap:8px}.room-layout .chat-header-actions .secondary-button,.room-layout .message-actions button,.read-confirm-inline,.script-reader-toolbar button,.reader-mode-toggle button{color:#f4efe4c7;background:#fff7dd0f;border-color:#e2be791f}.room-layout .chat-header-actions .secondary-button:hover:not(:disabled),.room-layout .message-actions button:hover:not(:disabled),.read-confirm-inline:hover:not(:disabled),.script-reader-toolbar button:hover:not(:disabled),.reader-mode-toggle button:hover:not(:disabled){color:#fff6df;background:#e2be791a;border-color:#e2be794d}.room-layout .music-toggle.active,.room-layout .read-confirm-button.active,.read-confirm-inline.active,.reader-mode-toggle button.active{color:#dffcf5;background:#67d4bd1c;border-color:#67d4bd47}.room-layout .dm-control-panel{background:linear-gradient(135deg,#e2be790f,#67d4bd09),#fff7dd09;border-color:#e2be791c;border-radius:16px;margin:14px 16px 0}.room-layout .dm-control-metrics span,.room-layout .dm-control-blockers span,.room-layout .dm-event-strip span,.room-layout .ai-experience-row,.room-layout .message-image-panel,.room-layout .voice-transcript-panel,.room-layout .reply-suggestion-box{background:#fff7dd0b;border-color:#e2be791c}.room-layout .dm-control-blockers span.ready{color:#dffcf5;background:#67d4bd1a;border-color:#67d4bd42}.room-layout .chat-scroll{background:linear-gradient(#fff7dd05,#fff7dd09),#0505057a;min-width:0}.room-layout .message{color:#fffaeee6;background:#fff7dd0f;border-color:#e2be791a;border-radius:16px;max-width:min(760px,94%)}.room-layout .message.dm{background:linear-gradient(135deg,#e2be791a,#fff7dd0a),#0d0b09b8;border-color:#e2be7933}.room-layout .message.player{background:#67d4bd1a;border-color:#67d4bd3b;margin-left:auto}.room-layout .message.system{background:#fff7dd0a;border-style:dashed;margin-inline:auto}.room-layout .message p,.room-layout .dm-narration,.room-layout .voice-transcript-panel>p{color:#fffaeedb}.room-layout .dm-dialogue{color:#f1d28c}.room-layout .message-actions{gap:8px}.room-layout .message-actions button{border-radius:999px;min-width:38px;min-height:34px}.room-layout .composer{background:#0c0a08e0;border-top-color:#e2be791f;gap:10px}.room-layout .composer input{color:#fff6df;background:#fff7dd13;border:1px solid #e2be791f;border-radius:999px;min-height:46px}.room-layout .composer input::placeholder{color:#f4efe470}.room-layout .player-seat-card,.room-layout .clue-item,.room-layout .my-seat-summary,.room-layout .room-action-section{background:#fff7dd0b;border-color:#e2be791c;border-radius:15px}.room-layout .player-seat-card:hover{background:#e2be7913;border-color:#e2be7942}.room-layout .seat-avatar.image-avatar,.room-layout .my-seat-summary img{border-color:#e2be7924;overflow:hidden}.room-layout .readiness-chip,.room-layout .clue-panel-heading span{background:#fff7dd0f;border:1px solid #e2be7921;border-radius:999px}.room-layout .clue-image{border-radius:12px}.room-layout .clue-item.public{background:#67d4bd13;border-color:#67d4bd38}.room-layout .clue-item.private{background:#e2be7913;border-color:#e2be7938}.room-layout .clue-item button,.room-layout .room-action-grid button,.room-layout .room-danger-zone>button{color:#fffaeedb;background:#fff7dd0f;border-color:#e2be791f;min-height:42px}.room-layout .clue-item button:hover:not(:disabled),.room-layout .room-action-grid button:hover:not(:disabled),.room-layout .room-danger-zone>button:hover:not(:disabled){color:#fff6df;background:#e2be791a;border-color:#e2be794d}.room-layout .room-action-primary button:first-child{color:#fff6df;background:linear-gradient(135deg,#e2be7929,#67d4bd14),#fff7dd0e;border-color:#e2be795c}.room-layout .room-action-ai{background:#67d4bd0b;border-color:#67d4bd24}.room-layout .room-danger-zone>.room-danger-action{color:#ffd1d7;background:#ff6b7a17;border-color:#ff6b7a47}.room-layout .final-review-panel,.final-review-grid article,.peer-review-box{color:#fffaeee0;background:linear-gradient(135deg,#e2be7914,#67d4bd09),#0c0a08c2;border-color:#e2be7924}.final-review-head span,.peer-review-head span,.final-review-grid article>span{color:#e7c681}.final-truth-text,.final-review-grid ol,.final-review-grid article p,.peer-empty-text,.peer-star-row span{color:#f4efe4ad}.final-score-badge,.final-tag-row em,.peer-target-tabs button.active,.peer-star-row button.active{color:#f2d48e;background:#e2be7924}.like-toggle,.peer-target-tabs button,.peer-star-row button{color:#f4efe4c7;background:#fff7dd0f;border-color:#e2be7921}.like-toggle.active{color:#ffd1d7;background:#ff6b7a1a;border-color:#ff6b7a47}.modal-backdrop{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#050403b3}.info-modal,.script-reader-modal,.clue-drawer-modal{color:#f4efe4;background:linear-gradient(#14110cf5,#0a0907fa),#0a0907fa;border-color:#e2be7926;border-radius:20px}.modal-header{border-bottom-color:#e2be791f}.modal-header span,.script-page-status-row span,.script-reader-toolbar>span{color:#e7c681}.modal-header h2,.script-page-content h3,.player-profile-hero strong{color:#fff6df}.script-reader-body{background:#fff7dd05}.script-page-list{background:#fff7dd09;border-right-color:#e2be791f}.script-page-list button{color:#f4efe4c2;background:#fff7dd0b;border-color:#e2be791a}.script-page-list button.active{color:#fff6df;background:#e2be791a;border-color:#e2be7957}.script-page-list button.locked{color:#f4efe45c;background:#ffffff06}.script-page-content{background:linear-gradient(#fff7dd14,#fff7dd09),#0d0b09b8}.script-page-content p,.script-reading-text,.info-modal p{color:#fffaeed1}.script-reader-toolbar,.script-image-reader,.reader-mode-toggle,.player-profile-hero,.player-credit-box,.moderation-box,.search-location-card,.drawer-status-grid div{background:#fff7dd0e;border-color:#e2be791f}.script-image-reader img{border-radius:10px;box-shadow:0 22px 60px #0000005c}.drawer-status-grid strong,.search-location-card strong{color:#fff6df}.search-location-card{border-radius:14px}.search-location-card:hover:not(:disabled){background:#e2be7914;border-color:#e2be7947}.search-location-card span{color:#dffcf5;background:#67d4bd1a}@media (width<=1180px){.character-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.waiting-room-layout{grid-template-columns:minmax(0,1fr)}.waiting-preview-panel{min-height:460px}}@media (width<=980px){:is(.app-shell:has(.script-detail-page),.app-shell:has(.start-game-page),.app-shell:has(.waiting-room-page),.app-shell:has(.room-layout)){width:min(100% - 28px,920px)}.detail-hero{grid-template-columns:220px minmax(0,1fr);min-height:0}.start-options-grid{grid-template-columns:1fr}.room-layout{grid-template-columns:1fr;grid-template-areas:"header""chat""roster""clue";padding-top:14px}.room-layout .roster-panel,.room-layout .clue-panel{max-height:none;top:auto}.room-layout .chat-panel{height:min(760px,100vh - 132px)}.final-review-grid{grid-template-columns:1fr}}@media (width<=720px){:is(.app-shell:has(.script-detail-page),.app-shell:has(.start-game-page),.app-shell:has(.waiting-room-page),.app-shell:has(.room-layout)){width:min(100% - 22px,640px)}.script-detail-page,.start-game-page,.waiting-room-page{padding:18px 0 64px}.script-detail-page:before,.start-game-page:before,.waiting-room-page:before{opacity:.42;top:52px}.detail-hero{border-radius:18px;grid-template-columns:1fr;gap:18px;padding:16px}.detail-hero>img{justify-self:start;width:min(230px,72vw)}.detail-title-row{grid-template-columns:minmax(0,1fr) auto}.detail-title-row h1{max-width:none;font-size:clamp(2rem,11vw,3rem)}.detail-action-panel,.waiting-actions{grid-template-columns:1fr}.detail-highlights,.detail-secondary-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.detail-highlights span{min-height:74px;padding:10px 8px}.detail-highlights small{font-size:.68rem}.detail-secondary-actions button{min-width:0;padding-inline:8px;font-size:.82rem}.detail-section{padding:16px}.character-grid{grid-template-columns:1fr}.start-game-heading{grid-template-columns:82px minmax(0,1fr);padding:14px}.start-game-heading img{border-radius:12px;width:82px;height:106px}.start-option-panel,.waiting-lobby-panel{border-radius:18px;padding:16px}.waiting-preview-panel{border-radius:18px;min-height:380px;padding:18px}.waiting-preview-card{width:min(156px,50%)}.role-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.waiting-player-dock{grid-template-columns:repeat(3,minmax(0,1fr))}.room-layout{gap:12px;width:100%!important;max-width:100%!important;padding:10px 0 36px!important}.room-header{border-radius:16px;align-items:stretch;padding:14px;position:relative;top:auto}.room-header .secondary-button{justify-content:center;width:100%}.room-layout .chat-panel{border-radius:16px;height:min(720px,100vh - 98px);min-height:560px;width:100%!important;max-width:100%!important}.room-layout .chat-panel-header,.room-layout .chat-scroll,.room-layout .composer{width:100%!important;max-width:100%!important}.room-layout .chat-header-actions{grid-template-columns:1fr;width:100%!important;max-width:100%!important}.room-layout .dm-control-panel,.room-layout .final-review-panel{margin-inline:12px}.room-layout .dm-control-panel{grid-template-columns:1fr}.room-layout .dm-control-heading,.room-layout .dm-control-main{min-height:0}.room-layout .dm-control-metrics,.room-layout .dm-control-blockers,.room-layout .dm-event-strip{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;display:grid}.room-layout .dm-control-metrics span,.room-layout .dm-control-blockers span,.room-layout .dm-event-strip span{box-sizing:border-box;text-align:center;white-space:normal;justify-content:center;width:100%;min-width:0}.room-layout .message{max-width:100%}.room-layout .composer{grid-template-columns:1fr}.room-layout .composer .icon-submit{justify-content:center;width:100%}.room-layout .roster-panel,.room-layout .clue-panel{border-radius:16px}.script-reader-modal,.clue-drawer-modal,.info-modal{border-radius:18px;width:calc(100vw - 24px);max-height:calc(100vh - 24px)}.script-reader-body{grid-template-columns:1fr}.script-page-list{border-bottom:1px solid #e2be791f;border-right:0;max-height:190px;overflow:auto}}@media (width<=420px){:is(.app-shell:has(.script-detail-page),.app-shell:has(.start-game-page),.app-shell:has(.waiting-room-page),.app-shell:has(.room-layout)){width:calc(100% - 20px)}.detail-submeta,.detail-tags,.waiting-room-stats,.room-phase-row{gap:7px}.detail-submeta span,.detail-tags span,.waiting-room-stats span,.phase-list span{max-width:100%}.detail-title-row h1,.start-game-heading h1,.waiting-preview-copy h1,.room-header h1{overflow-wrap:anywhere}.start-game-heading{grid-template-columns:70px minmax(0,1fr);gap:12px}.start-game-heading img{width:70px;height:92px}.start-room-row,.compact-room-row{grid-template-columns:1fr}.waiting-preview-panel{min-height:340px}.role-card-grid{gap:9px}.waiting-player-dock{grid-template-columns:repeat(2,minmax(0,1fr))}.drawer-status-grid,.search-location-card,.peer-star-row{grid-template-columns:1fr}.search-location-card span{grid-area:auto;justify-self:start}.room-layout .message-actions{flex-wrap:wrap}.room-layout .message-actions button{flex:auto}}@media (width<=720px){.room-layout .dm-control-panel{grid-template-columns:minmax(0,1fr)!important;display:grid!important}.room-layout .dm-control-heading,.room-layout .dm-control-main,.room-layout .dm-control-metrics,.room-layout .dm-control-blockers,.room-layout .dm-event-strip,.room-layout .ai-experience-strip{grid-column:1/-1!important;width:100%!important;min-width:0!important}.room-layout .dm-control-metrics,.room-layout .dm-control-blockers,.room-layout .dm-event-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important;display:grid!important}.room-layout .dm-control-metrics span,.room-layout .dm-control-blockers span,.room-layout .dm-event-strip span{width:100%!important;min-width:0!important}}.app-shell:has(.room-layout){width:min(1680px,100% - 48px)}.room-layout{grid-template-columns:minmax(220px,.64fr) minmax(560px,1.78fr) minmax(300px,.82fr);gap:16px;padding-block:16px 38px;background-image:none!important}.room-layout:before{opacity:.16;filter:blur(8px)saturate(.72)brightness(.62);inset:52px 0 0;transform:scale(1.035)}.room-layout:after{background:radial-gradient(circle at 52% 12%,#e2be791f,#0000 34%),linear-gradient(90deg,#00000057,#0000 22% 72%,#0000006b),#0404046b}.room-header{background:#0b0a09cc;border-color:#fff7dd14;min-height:68px;padding:14px 18px;box-shadow:0 18px 48px #0000002e}.room-header h1{font-size:clamp(1.35rem,1.9vw,2rem)}.room-layout .roster-panel,.room-layout .clue-panel,.room-layout .chat-panel{background:linear-gradient(#fff7dd0a,#fff7dd05),#080808bd;border-color:#fff7dd14;box-shadow:0 18px 46px #0000002e}.room-layout .chat-panel{background:linear-gradient(#fff7dd0d,#fff7dd05),#0a0908db;border-color:#fff7dd1f;grid-template-rows:auto auto minmax(260px,1fr) auto;height:min(840px,100vh - 146px);box-shadow:0 28px 80px #00000057}.room-layout .roster-panel,.room-layout .clue-panel{max-height:calc(100vh - 168px);top:146px}.room-layout .chat-panel-header{background:#0a0908c7;padding:14px 16px 12px}.room-layout .chat-panel-header strong{letter-spacing:0;font-size:1rem}.room-layout .chat-header-actions .secondary-button{min-height:36px;padding-inline:12px}.room-layout .phase-objective-card{z-index:2;background:linear-gradient(135deg,#e2be7918,#67d4bd0b),#0f0d0be6;border-color:#e2be7924;grid-template-columns:minmax(124px,.62fr) minmax(220px,1.25fr);gap:10px;margin:12px 14px 0;padding:14px;position:sticky;top:0;box-shadow:0 14px 36px #0003}.room-layout .phase-objective-card .dm-control-main{justify-content:center;min-height:68px}.room-layout .phase-objective-card .dm-control-main strong{font-size:1.22rem;line-height:1.25}.stage-next-step{color:#e1fcf5e0;background:#67d4bd0e;border:1px solid #67d4bd29;border-radius:12px;grid-column:1/-1;align-items:flex-start;gap:8px;padding:10px 12px;font-size:.88rem;line-height:1.55;display:flex}.stage-next-step svg{color:#67d4bd;flex:none;margin-top:2px}.room-layout .dm-control-metrics{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr))}.room-layout .dm-control-blockers,.room-layout .ai-experience-strip,.room-layout .dm-event-strip{grid-column:1/-1}.room-layout .phase-objective-card .ai-experience-strip{max-height:70px;overflow:auto}.room-layout .phase-objective-card .dm-event-strip{max-height:48px;overflow:hidden}.room-layout .phase-objective-card .dm-event-strip span:nth-child(n+3){display:none}.room-layout .chat-scroll{background:linear-gradient(#fff7dd04,#fff7dd09),#0404046b;padding:18px 16px}.room-layout .message{max-width:min(780px,92%);padding:14px 16px}.room-layout .message.dm{background:linear-gradient(135deg,#e2be7917,#fff7dd09),#120f0cc7;border-color:#e2be792e;margin-right:auto}.room-layout .message.system{width:fit-content;max-width:min(560px,94%);padding-block:10px}.room-layout .composer{background:#0a0908f0;padding:12px 14px}.room-layout .composer input{min-height:48px;padding-inline:18px}.room-layout .composer .icon-submit{min-width:96px;min-height:48px}.room-layout .player-seat-card{background:#fff7dd09;border-color:#0000;grid-template-columns:auto minmax(0,1fr) auto;min-height:58px;padding:10px}.room-layout .player-seat-card>svg{display:none}.room-layout .player-seat-card strong,.room-layout .player-seat-card small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.room-layout .seat-presence{justify-content:center;min-width:68px;font-size:.75rem}.room-layout .seat-presence.ready{color:#dffcf5;background:#67d4bd1a;border-color:#67d4bd40}.room-layout .seat-presence.ai{color:#ead39f;background:#e2be7913;border-color:#e2be7929}.room-layout .seat-presence.speaking{color:#ffd2e8;background:#ff69b41a;border-color:#ff69b447}.room-layout .my-seat-summary{background:linear-gradient(#e2be7911,#fff7dd06),#fff7dd06;border-style:dashed;margin-top:12px;padding:12px}.room-layout .clue-panel{grid-template-rows:minmax(180px,1fr) auto;gap:12px;padding:12px;display:grid}.room-side-module{min-width:0}.room-layout .clue-scroll-area{min-height:0;padding-right:2px;overflow:auto}.room-layout .clue-panel-heading{margin-bottom:8px}.light-empty-state{color:#f4efe494;background:#fff7dd07;border:1px dashed #fff7dd1f;border-radius:13px;align-items:flex-start;gap:9px;padding:12px;font-size:.84rem;line-height:1.55;display:flex}.light-empty-state svg{color:#e2be79ad;flex:none;margin-top:2px}.room-layout .clue-item{border-color:#fff7dd14;padding:12px}.room-layout .prompt-stack{gap:10px;display:grid}.room-layout .room-action-section{background:#fff7dd09;border-color:#fff7dd14;padding:12px}.room-layout .room-current-action{background:linear-gradient(#e2be7914,#fff7dd07),#fff7dd06;border-color:#e2be792e}.room-layout .room-action-section-title{margin-bottom:10px}.room-primary-action,.mobile-primary-action{color:#fff6df;background:linear-gradient(135deg,#e2be792e,#67d4bd1a),#fff7dd0d;border:1px solid #e2be7947;border-radius:13px;justify-content:center;align-items:center;gap:9px;width:100%;min-height:48px;font-weight:750;transition:transform .16s,border-color .16s,background .16s;display:inline-flex}.room-primary-action:hover:not(:disabled),.mobile-primary-action:hover:not(:disabled){background:linear-gradient(135deg,#e2be7938,#67d4bd1f),#fff7dd12;border-color:#e2be7973;transform:translateY(-1px)}.room-primary-action.ai,.mobile-primary-action.ai{color:#e6fff8;background:linear-gradient(135deg,#67d4bd2e,#e2be7912),#67d4bd0e;border-color:#67d4bd47}.room-primary-action.muted,.mobile-primary-action.muted{color:#f4efe4a8;background:#fff7dd0a;border-color:#fff7dd1f}.room-primary-action.pending svg,.mobile-primary-action.pending svg,.ai-task-note.pending svg,.ai-experience-row.pending .ai-experience-icon svg{animation:1s linear infinite roomSpin}@keyframes roomSpin{to{transform:rotate(360deg)}}.action-helper-text{color:#f4efe49e;margin:9px 0 0;font-size:.84rem;line-height:1.55}.ai-action-list{gap:8px;display:grid}.ai-action-list button,.room-subtle-action{color:#fffaeed1;background:#fff7dd0b;border:1px solid #fff7dd1a;border-radius:12px;justify-content:flex-start;align-items:center;gap:9px;width:100%;min-height:40px;padding:0 12px;font-weight:650;display:inline-flex}.ai-action-list button:hover:not(:disabled),.room-subtle-action:hover:not(:disabled){color:#e6fff8;background:#67d4bd14;border-color:#67d4bd40}.room-layout .room-action-ai .ai-action-list button:nth-child(2){color:#e6fff8e6;background:#67d4bd13;border-color:#67d4bd2e}.ai-task-note{color:#f4efe49e;align-items:flex-start;gap:7px;margin:9px 0 0;font-size:.78rem;line-height:1.45;display:flex}.ai-task-note svg{color:#67d4bd;flex:none;margin-top:2px}.future-action-list{gap:6px;margin-bottom:9px;display:grid}.future-action-list div{color:#f4efe4a3;background:#fff7dd07;border-radius:10px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:32px;padding:6px 8px;font-size:.82rem;display:grid}.future-action-list div.available{color:#dffcf5;background:#67d4bd11}.future-action-list span,.future-action-list small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.future-action-list small{color:#f4efe480}.room-layout .room-danger-zone{background:#ff6b7a0a;border-color:#ff6b7a24}.mobile-room-tabs,.mobile-primary-action{display:none}@media (width<=1180px){.room-layout{grid-template-columns:minmax(190px,.62fr) minmax(440px,1.65fr) minmax(270px,.8fr);gap:12px}.room-layout .dm-control-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=720px){.app-shell:has(.room-layout){width:calc(100% - 18px)}.room-layout{min-height:calc(100vh - 52px);padding:8px 0 128px!important;display:block!important}.room-layout:before{opacity:.1;filter:blur(10px)saturate(.68)brightness(.54);inset:48px 0 0}.room-header{z-index:8;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:0;margin-bottom:10px;padding:10px 12px;display:grid;position:sticky;top:48px}.room-title-stack .eyebrow,.room-phase-row{display:none}.room-header h1{font-size:1.1rem}.room-header .secondary-button{white-space:nowrap;min-height:36px;padding-inline:11px;width:auto!important}.mobile-room-panel{display:none!important}.mobile-room-panel.mobile-active,.clue-panel.mobile-clues-active,.clue-panel.mobile-actions-active{display:grid!important}.room-layout .chat-panel.mobile-active{grid-template-rows:auto auto minmax(0,1fr) auto;min-height:540px;overflow:hidden;height:calc(100vh - 202px)!important}.room-layout .roster-panel.mobile-active,.room-layout .clue-panel.mobile-clues-active,.room-layout .clue-panel.mobile-actions-active{min-height:calc(100vh - 222px);max-height:none;position:relative;top:auto;overflow:visible}.room-layout .clue-panel.mobile-clues-active{grid-template-rows:auto}.room-layout .clue-panel.mobile-actions-active{grid-template-rows:auto;min-height:calc(100vh - 222px);max-height:calc(100vh - 222px);overflow:auto}.clue-panel.mobile-clues-active .prompt-stack,.clue-panel.mobile-actions-active .clue-scroll-area{display:none}.room-layout .chat-panel-header{gap:10px;padding:10px}.room-layout .chat-panel-header>div:first-child{display:none}.room-layout .chat-header-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}.room-layout .chat-header-actions .secondary-button{min-width:0;padding-inline:8px;font-size:.78rem}.room-layout .phase-objective-card{border-radius:14px;gap:8px;margin:10px;padding:10px}.room-layout .phase-objective-card .dm-control-heading{display:none!important}.room-layout .phase-objective-card .dm-control-main{min-height:0;padding:10px}.room-layout .phase-objective-card .dm-control-main strong{font-size:1rem}.room-layout .phase-objective-card .dm-control-main small{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.room-layout .phase-objective-card .dm-event-strip{display:none!important}.room-layout .phase-objective-card .ai-experience-strip{max-height:38px}.room-layout .dm-control-metrics,.room-layout .dm-control-blockers,.room-layout .dm-event-strip{grid-template-columns:repeat(4,minmax(0,1fr))!important}.room-layout .dm-control-metrics span,.room-layout .dm-control-blockers span,.room-layout .dm-event-strip span{min-height:30px;padding:6px;font-size:.7rem}.room-layout .dm-control-blockers{grid-template-columns:minmax(0,1fr)!important}.room-layout .dm-control-blockers span:nth-child(n+2){display:none!important}.stage-next-step{max-height:44px;padding:8px 10px;font-size:.8rem;overflow:hidden}.room-layout .chat-scroll{min-height:0;padding:12px 10px;overflow:auto}.room-layout .composer{margin-bottom:0;padding:10px}.room-layout .composer input{min-height:46px}.mobile-room-tabs{left:10px;right:10px;bottom:calc(env(safe-area-inset-bottom) + 10px);z-index:30;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0a0908f0;border:1px solid #fff7dd1a;border-radius:18px;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:7px;display:grid;position:fixed;box-shadow:0 18px 40px #0000005c}.mobile-room-tabs button{color:#f4efe494;background:0 0;border:0;border-radius:13px;justify-content:center;align-items:center;gap:5px;min-height:42px;font-size:.78rem;font-weight:700;display:inline-flex}.mobile-room-tabs button.active{color:#fff6df;background:#e2be7921}.mobile-primary-action{left:14px;right:14px;bottom:calc(env(safe-area-inset-bottom) + 66px);z-index:31;min-height:48px;display:inline-flex;position:fixed;box-shadow:0 18px 44px #00000061;width:auto!important}}@media (width<=420px){.room-layout .chat-header-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mobile-room-tabs{left:8px;right:8px}.mobile-room-tabs button{flex-direction:column;gap:2px;min-height:44px}.future-action-list div{grid-template-columns:1fr;gap:3px}.future-action-list span,.future-action-list small{white-space:normal}}@media (width>=721px){body:has(.room-layout){overflow:hidden}.app-shell:has(.room-layout){width:min(1540px,100% - 40px);height:calc(100vh - 52px);overflow:hidden}.room-layout{grid-template-rows:auto minmax(0,1fr);grid-template-columns:220px minmax(0,1fr) 284px;gap:12px;height:calc(100vh - 74px);min-height:0;overflow:hidden;background-image:none!important;padding:10px 0 14px!important}.room-layout:before{opacity:.08;filter:blur(14px)saturate(.62)brightness(.52)}.room-layout:after{background:linear-gradient(#0505059e,#050505c7),#04040475}.room-header{height:64px;min-height:54px;max-height:64px;box-shadow:none;background:#0909099e;border-color:#fff7dd0e;border-radius:16px;padding:10px 12px;position:relative;top:auto;overflow:hidden}.room-header h1{font-size:1.32rem}.room-header .room-phase-row,.room-header .eyebrow{display:none}.room-layout .roster-panel,.room-layout .clue-panel,.room-layout .chat-panel{height:100%;min-height:0;max-height:none;box-shadow:none;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#09090994;border-color:#fff7dd0e;border-radius:16px;top:auto;overflow:hidden}.room-layout .chat-panel{background:#090909c2;border-color:#fff7dd17;grid-template-rows:auto auto minmax(0,1fr) auto;height:100%}.room-layout .roster-panel{padding:10px}.room-layout .side-panel-title{margin-bottom:8px}.room-layout .side-panel-title h2{font-size:.86rem}.room-layout .player-seat-card{background:0 0;border:0;border-radius:12px;min-height:46px;padding:7px 8px}.room-layout .player-seat-card:hover{background:#fff7dd0b}.room-layout .seat-avatar{width:32px;height:32px}.room-layout .player-seat-card strong{font-size:.86rem}.room-layout .player-seat-card small{font-size:.72rem}.room-layout .seat-presence{min-width:52px;padding-inline:7px;font-size:.68rem}.room-layout .my-seat-summary{background:0 0;border:0;border-top:1px solid #fff7dd12;border-radius:0;grid-template-columns:minmax(0,1fr);gap:2px;margin-top:8px;padding:10px;display:grid}.room-layout .my-seat-summary img{display:none}.room-layout .my-seat-summary span{font-size:.72rem}.room-layout .my-seat-summary strong{font-size:.98rem}.room-layout .chat-panel-header{background:#08080880;border-bottom-color:#fff7dd0f;padding:10px 12px}.room-layout .chat-header-actions .secondary-button{background:#fff7dd0a;border-color:#fff7dd14;min-height:34px}.room-layout .phase-objective-card{box-shadow:none;background:#0d100eb8;border-color:#67d4bd21;border-radius:14px;grid-template-columns:minmax(150px,.52fr) minmax(0,1.48fr);gap:8px 10px;margin:8px 12px 10px;padding:10px;display:grid;position:relative}.room-layout .phase-objective-card .dm-control-heading,.room-layout .phase-objective-card .dm-control-main{background:0 0;border:0;min-height:0;padding:10px}.room-layout .phase-objective-card .dm-control-heading strong{font-size:1rem}.room-layout .phase-objective-card .dm-control-main strong{font-size:1.12rem}.room-layout .dm-control-metrics{flex-wrap:wrap;gap:6px;display:flex}.room-layout .dm-control-metrics span{background:#fff7dd09;border-color:#fff7dd14;min-height:26px;padding:5px 8px;font-size:.72rem}.stage-next-step{background:#67d4bd0b;border-color:#67d4bd1f;border-radius:10px;padding:8px 10px;font-size:.82rem}.room-layout .dm-control-blockers{display:none}.room-layout .phase-objective-card .ai-experience-strip{max-height:34px;overflow:hidden}.room-layout .ai-experience-row{background:#67d4bd0b;border-color:#67d4bd1a;min-height:30px;padding:6px 8px}.room-layout .ai-experience-row small{white-space:nowrap}.room-layout .chat-scroll{background:0 0;min-height:0;padding:14px 12px 18px;overflow:auto}.room-layout .message{background:#fff7dd0b;border-color:#fff7dd0e;border-radius:14px;max-width:min(760px,88%);padding:12px 14px}.room-layout .message.dm{background:#20190f8a;border-color:#e2be791f}.room-layout .message.player{background:#67d4bd12;border-color:#67d4bd21}.room-layout .message-actions{margin-top:8px}.room-layout .message-actions button{background:#fff7dd09;border-color:#fff7dd12;min-width:32px;min-height:30px;font-size:.76rem}.room-layout .composer{background:#080808d1;border-top-color:#fff7dd12;grid-template-columns:minmax(0,1fr) auto;padding:10px 12px}.room-layout .composer input{background:#fff7dd0b;border-color:#fff7dd14;min-height:44px}.room-layout .composer .icon-submit{background:#ff4791eb;min-width:86px;min-height:44px}.room-layout .clue-panel{grid-template-rows:auto auto;align-content:start;gap:12px;padding:12px;display:grid}.room-layout .clue-scroll-area{padding:0;overflow:visible}.room-layout .clue-panel-heading{margin:0 0 5px}.room-layout .clue-panel-heading h2{font-size:.82rem}.room-empty-line{color:#f4efe480;margin:0 0 10px;padding:0;font-size:.78rem;line-height:1.5}.room-layout .clue-item{background:0 0;border:0;border-top:1px solid #fff7dd12;border-radius:0;gap:4px;padding:9px 0;display:grid}.room-layout .clue-item p{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.78rem;display:-webkit-box;overflow:hidden}.room-layout .clue-image{display:none}.clue-state-note{color:#f4efe473;font-size:.74rem}.room-layout .prompt-stack{gap:8px}.room-layout .room-action-section{background:0 0;border:0;border-radius:0;padding:0}.room-layout .room-action-section-title{margin-bottom:8px}.room-layout .room-action-section-title small{display:none}.room-primary-action{color:#061815;background:#67d4bdd6;border:0;border-radius:11px;min-height:44px}.room-primary-action:hover:not(:disabled){background:#67d4bdf5}.action-helper-text{margin-top:7px;font-size:.78rem}.room-assist-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.room-helper-action{color:#f4efe4c2;background:#fff7dd09;border:1px solid #fff7dd14;border-radius:10px;justify-content:center;align-items:center;gap:6px;min-height:36px;padding:0 8px;font-size:.78rem;font-weight:650;display:inline-flex}.room-flow-hint{color:#f4efe47a;margin:0;font-size:.76rem;line-height:1.45}.room-more-actions{color:#f4efe49e;font-size:.78rem}.room-more-actions summary{cursor:pointer;align-items:center;gap:6px;min-height:32px;list-style:none;display:inline-flex}.room-more-actions summary::-webkit-details-marker{display:none}.room-more-actions:not([open])>button{display:none!important}.room-more-actions button{color:#f4efe4bf;background:#fff7dd09;border:1px solid #fff7dd14;border-radius:9px;align-items:center;gap:8px;width:100%;min-height:36px;margin-top:6px;display:flex}.room-more-actions .room-danger-action{color:#ffc7cf;border-color:#ff6b7a2e}}@media (width<=720px){body:has(.room-layout){overflow:hidden}.app-shell:has(.room-layout){height:calc(100vh - 52px);overflow:hidden}.room-layout{height:calc(100vh - 52px);overflow:hidden}.room-layout .room-header{margin-bottom:10px;position:relative;top:auto}.room-layout .chat-panel.mobile-active{min-height:0;height:calc(100vh - 278px)!important}.room-layout .phase-objective-card{max-height:206px;overflow:hidden}.room-layout .phase-objective-card .dm-control-blockers{display:none!important}.mobile-primary-action{bottom:calc(env(safe-area-inset-bottom) + 72px)}.room-more-actions:not([open])>button,.clue-panel.mobile-actions-active~.mobile-primary-action{display:none!important}.room-layout .roster-panel.mobile-active,.room-layout .clue-panel.mobile-clues-active{max-height:calc(100vh - 222px);overflow:auto}.room-layout .roster-panel.mobile-active{overflow:hidden}.room-layout .roster-panel.mobile-active .player-seat-card{min-height:50px;padding:8px 10px}.room-layout .roster-panel.mobile-active .my-seat-summary{background:0 0;border-top:1px solid #fff7dd14;border-radius:0;margin-top:8px;padding:10px 2px 0}.room-layout .roster-panel.mobile-active .my-seat-summary img{display:none}.room-layout .roster-panel.mobile-active .my-seat-summary small{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.room-layout .clue-panel.mobile-actions-active{overflow:hidden}.room-layout .clue-panel.mobile-actions-active .prompt-stack{max-height:calc(100vh - 248px);padding-bottom:112px;overflow:auto}}body:has(.game-modal-backdrop){overflow:hidden}.game-modal-backdrop{z-index:1200;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#050403ad;place-items:center;padding:24px;inset:0;display:grid!important;position:fixed!important}.game-modal-backdrop.drawer{place-items:stretch end;padding:18px}.game-modal-backdrop.assist{-webkit-backdrop-filter:none;backdrop-filter:none;background:linear-gradient(#0000 34%,#05040394);place-items:end center}.game-modal{color:#f4efe4;background:linear-gradient(#15120dfa,#090807fc),#090807fc;border:1px solid #e2be7929;border-radius:20px;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;display:grid;overflow:hidden;box-shadow:0 30px 90px #00000085}.game-modal-content{min-height:0;overflow:auto}.game-modal-reader{width:min(1120px,100vw - 48px);height:min(820px,100vh - 48px)}.game-modal-drawer{width:min(480px,100vw - 36px);height:calc(100vh - 36px)}.game-modal-compact{width:min(560px,100vw - 48px);max-height:min(760px,100vh - 48px)}.game-modal-assist{width:min(680px,100vw - 32px);max-height:min(440px,100vh - 96px)}.game-modal-confirm{width:min(440px,100vw - 48px);height:auto;max-height:min(520px,100vh - 48px)}.game-modal-header{border-bottom:1px solid #e2be791f;min-height:64px;padding:16px 18px}.game-modal-footer{background:#fff7dd09;border-top:1px solid #e2be791f}.game-modal-reader .game-modal-content,.game-modal-drawer .game-modal-content{display:grid}.game-modal-reader .script-reader-body{height:100%;min-height:0}.script-reader-footer{grid-template-columns:auto auto auto minmax(150px,auto);align-items:center;gap:10px;padding:12px 16px;display:grid}.script-reader-footer>span{color:#f4efe49e;text-align:center;font-size:.86rem;font-weight:750}.read-confirm-footer{justify-self:end}.clue-panel-heading{grid-template-columns:minmax(0,1fr) auto auto}.clue-panel-open,.clue-detail-button{color:#f4efe4b8;background:#fff7dd09;border:1px solid #fff7dd14;border-radius:999px;min-height:28px;padding:0 10px;font-size:.72rem;font-weight:750}.clue-inline-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.game-clue-list{gap:12px;padding:14px;display:grid}.game-clue-card{background:#fff7dd0a;border:1px solid #fff7dd14;border-radius:14px;grid-template-columns:86px minmax(0,1fr);gap:12px;padding:12px;display:grid}.game-clue-card img{object-fit:cover;background:#ffffff0d;border-radius:10px;width:86px;height:110px}.game-clue-card>div:first-of-type{align-content:start;gap:5px;display:grid}.game-clue-card span{color:#e7c681;font-size:.74rem;font-weight:800}.game-clue-card strong{color:#fff6df;font-size:1rem;line-height:1.25}.game-clue-card p{color:#f4efe4b8;-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0;font-size:.82rem;line-height:1.55;display:-webkit-box;overflow:hidden}.game-clue-actions{grid-column:1/-1;justify-content:flex-end;gap:8px;display:flex}.clue-detail-body{gap:14px;padding:16px;display:grid}.clue-detail-body img{object-fit:contain;background:#ffffff0d;border-radius:14px;width:100%;max-height:320px}.clue-detail-body p,.game-modal-confirm p,.voice-transcript-panel p{color:#f4efe4d1;margin:0;line-height:1.75}.clue-detail-meta{flex-wrap:wrap;gap:8px;display:flex}.clue-detail-meta span{color:#f4efe4a3;border:1px solid #e2be7921;border-radius:999px;padding:5px 9px;font-size:.76rem}.confirmation-actions{justify-content:flex-end;gap:10px;padding:14px 16px;display:flex}.game-modal-confirm .game-modal-content{padding:18px 18px 4px}.room-recovery-state{color:#f8f3e7e0;background:linear-gradient(145deg,#161512e6,#0c0c0cd6);border:1px solid #ffffff17;border-radius:20px;width:min(720px,100vw - 32px);margin:128px auto 0;padding:28px;box-shadow:0 28px 80px #00000052}.room-recovery-state span{color:var(--accent-mint);letter-spacing:.08em;margin-bottom:10px;font-size:.78rem;font-weight:800;display:inline-flex}.room-recovery-state h1{margin:0;font-size:clamp(1.35rem,2.4vw,2rem)}.room-recovery-state p{max-width:58ch;color:var(--text-muted);margin:12px 0 0;line-height:1.75}.room-recovery-actions{flex-wrap:wrap;gap:12px;margin-top:24px;display:flex}.game-modal .reply-suggestion-list{padding:12px}.game-modal .message-image-grid{padding:14px}.game-modal .tool-notice{margin:12px 12px 0}@media (width<=720px){.game-modal-backdrop{padding:0}.game-modal-backdrop.drawer{place-items:stretch stretch;padding:0}.game-modal{border-radius:0;max-height:none;width:100vw!important;height:100dvh!important}.game-modal-drawer,.game-modal-compact{border-radius:0;place-self:stretch stretch;max-height:none;width:100vw!important;height:100dvh!important}.game-modal-assist{border-radius:18px 18px 0 0;place-self:end stretch;max-height:72dvh;width:100vw!important;height:auto!important}.game-modal-confirm{border-radius:18px;place-self:center;max-height:calc(100dvh - 28px);width:calc(100vw - 28px)!important;height:auto!important}.game-modal-reader .script-reader-body{grid-template-rows:auto minmax(0,1fr);grid-template-columns:1fr}.game-modal-reader .script-page-list{border-bottom:1px solid #e2be791f;border-right:0;max-height:158px;overflow:auto}.script-reader-footer{grid-template-columns:minmax(0,1fr) 52px minmax(0,1fr)}.read-confirm-footer{grid-column:1/-1;justify-self:stretch}.game-clue-card{grid-template-columns:72px minmax(0,1fr)}.game-clue-card img{width:72px;height:94px}.confirmation-actions{grid-template-columns:1fr 1fr;display:grid}}@keyframes ui-spin{to{transform:rotate(360deg)}}.spin-icon{animation:.9s linear infinite ui-spin}.theme-switch-button{border:1px solid var(--ui-line);background:var(--ui-surface);min-height:40px;color:var(--ui-text);white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;gap:7px;padding:0 13px;font-size:.86rem;font-weight:800;transition:border-color .18s,background .18s,color .18s,transform .18s;display:inline-flex}.theme-switch-button:hover:not(:disabled){background:var(--ui-jade-soft);color:var(--ui-ink);border-color:#67d4bd5c;transform:translateY(-1px)}:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--ui-bg:#f6f1e8;--ui-bg-soft:#efe7db;--ui-paper:#fffcf6f0;--ui-surface:#fffcf6d6;--ui-surface-strong:#fffaf1;--ui-ink:#211b16;--ui-text:#3d352e;--ui-muted:#786d62;--ui-faint:#9a9085;--ui-line:#493a292e;--ui-line-soft:#493a291a;--ui-jade:#237b69;--ui-jade-dark:#185d51;--ui-jade-soft:#237b691a;--ui-gold:#b9822f;--ui-gold-soft:#b9822f21;--ui-rose:#d9367d;--ui-rose-soft:#d9367d1c;--ui-violet:#7154b6;--ui-danger:#c94856;--ui-shadow:0 22px 54px #58422a29;--ui-shadow-soft:0 12px 28px #58422a1c;--ui-focus:0 0 0 3px #237b692e;color:var(--ui-text);background:var(--ui-bg)}html[data-theme=light],html[data-theme=light] body{background:#f6f1e8}html[data-theme=light] body{color:var(--ui-text);background:radial-gradient(circle at 8% 0,#b9822f21,#0000 34rem),radial-gradient(circle at 94% 8%,#237b691c,#0000 31rem),linear-gradient(#f9f3ea 0%,#f2eadf 58%,#e9dfd1 100%)}html[data-theme=light] body:before{opacity:.2;filter:saturate(.86)sepia(.08);mix-blend-mode:multiply;background:linear-gradient(90deg,#faf4ebd1,#faf4eb6b 44%,#faf4ebe0),url(/generated/platform-cover.svg) top/min(1180px,92vw) no-repeat}html[data-theme=light] *{scrollbar-color:#7d5b3057 #493a2914}html[data-theme=light] ::-webkit-scrollbar-track{background:#493a2914}html[data-theme=light] ::-webkit-scrollbar-thumb{background:#7d5b3057;border-color:#fffcf6a6}html[data-theme=light] .top-bar{background:linear-gradient(#fffbf4f0,#fffbf4c7),#fffbf4d1;border-bottom-color:#493a291f;box-shadow:0 12px 30px #60452712}html[data-theme=light] .brand-mark,html[data-theme=light] .top-nav-links button,html[data-theme=light] .global-search,html[data-theme=light] .top-avatar-chip,html[data-theme=light] .theme-switch-button{border-color:var(--ui-line);color:var(--ui-text);background:#fffcf6c7}html[data-theme=light] .top-nav-links button:hover,html[data-theme=light] .top-nav-links button.active,html[data-theme=light] .theme-switch-button:hover:not(:disabled){color:var(--ui-ink);background:#237b6917;border-color:#237b6947}html[data-theme=light] .global-search input{color:var(--ui-ink)}html[data-theme=light] .global-search input::placeholder{color:var(--ui-faint)}html[data-theme=light] .scenario-theatre,html[data-theme=light] .user-center-page{background:radial-gradient(circle at 20% 6%,#b9822f1c,#0000 26rem),radial-gradient(circle at 82% 5%,#237b691a,#0000 25rem),linear-gradient(#fffcf670,#f6efe4eb 72%)}html[data-theme=light] body:has(.user-center-page){background:#f4ece1}html[data-theme=light] body:has(.user-center-page):before{opacity:.24;filter:saturate(.78)contrast(1.02);background:linear-gradient(90deg,#faf4ebe0,#faf4eb57 42%,#faf4ebe6),linear-gradient(#faf4eb24,#faf4ebe0 72%,#f4ece1),url(/covers/rain-library.svg) 50%/cover no-repeat}html[data-theme=light] .scenario-theatre .catalog-hero.page-command-bar,html[data-theme=light] .scenario-theatre .home-tabs,html[data-theme=light] .scenario-theatre .section-toolbar,html[data-theme=light] .scenario-theatre .compact-room-row,html[data-theme=light] .profile-hero-band,html[data-theme=light] .explore-page-shell,html[data-theme=light] .settings-panel,html[data-theme=light] .wallet-page,html[data-theme=light] .settings-card,html[data-theme=light] .user-side-panel,html[data-theme=light] .account-drawer-panel,html[data-theme=light] .overlay-surface,html[data-theme=light] .info-modal,html[data-theme=light] .script-reader-modal,html[data-theme=light] .clue-drawer-modal{border-color:var(--ui-line);background:linear-gradient(180deg, #fffcf6e6, #faf4ebd1), var(--ui-paper);color:var(--ui-text);box-shadow:var(--ui-shadow-soft)}html[data-theme=light] .scenario-theatre .catalog-hero.page-command-bar:before{background:linear-gradient(90deg, #faf4ebf0, #faf4eb94 56%, #faf4ebc7), var(--hero-backdrop,none);opacity:.86;background-position:50%;background-size:cover}html[data-theme=light] .app-shell:has(.scenario-theatre){background:radial-gradient(circle at 18% 0,#b9822f1f,#0000 28rem),linear-gradient(#fbf6ed 0%,#f2eadf 54%,#e8ddd0 100%)}html[data-theme=light] .app-shell:has(.scenario-theatre) .top-bar{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:linear-gradient(#fffbf4f2,#fffbf4cc),#fffbf4d6;border-bottom-color:#493a291f}html[data-theme=light] .app-shell:has(.scenario-theatre) .global-search{border-color:var(--ui-line);background:#fffcf6c7;box-shadow:inset 0 0 0 1px #493a290a}html[data-theme=light] .theatre-atmosphere{background:linear-gradient(90deg, #f8f1e7f0 0%, #f8f1e76b 42%, #f8f1e7e6 100%), linear-gradient(180deg, #f8f1e766 0%, #f8f1e7cc 62%, #f3eadf 100%), var(--scenario-cover);filter:saturate(.82)contrast(1.02);background-position:50%;background-size:cover}html[data-theme=light] .theatre-atmosphere:before{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:radial-gradient(#0000 0%,#ffffff2e 46%,#eee2d1b8 100%),linear-gradient(115deg,#b9822f1f,#0000 32%,#237b6917 66%,#0000)}html[data-theme=light] .theatre-atmosphere:after{opacity:.08;mix-blend-mode:multiply}html[data-theme=light] .scenario-theatre{color:var(--ui-text)}html[data-theme=light] .scenario-theatre .home-tabs{border-color:var(--ui-line);background:#fffcf6c2;box-shadow:0 14px 34px #563d241a}html[data-theme=light] .scenario-theatre .home-tabs button{color:var(--ui-muted)}html[data-theme=light] .scenario-theatre .home-tabs button.active{color:var(--ui-ink);background:#237b6914;border-color:#237b6938}html[data-theme=light] .hero-script-ledger span{color:var(--ui-text);background:#fffcf6b8;border-color:#493a2921}html[data-theme=light] .hero-featured-dossier,html[data-theme=light] .scenario-theatre .command-actions{background:linear-gradient(#fffcf6d1,#efe6d8b3),#fffcf6ad;border-color:#493a2924;box-shadow:inset 0 0 0 1px #ffffff52}html[data-theme=light] .hero-dossier-cover{background:#efe5d6;border-color:#493a292e}html[data-theme=light] .hero-dossier-copy strong{color:var(--ui-ink)}html[data-theme=light] .hero-dossier-copy small{color:var(--ui-muted)}html[data-theme=light] .scenario-theatre .command-actions .primary-button,html[data-theme=light] .scenario-theatre .room-empty-state .primary-button{color:#2a1b0a;background:linear-gradient(#f1dfb6,#d0a85f);border-color:#966b2d3d;box-shadow:0 14px 30px #966b2d29}html[data-theme=light] .scenario-theatre .command-actions .secondary-button,html[data-theme=light] .scenario-theatre .card-action-row .secondary-button{color:var(--ui-text);background:#fffcf694;border-color:#493a2924}html[data-theme=light] .active-room-resume{color:var(--ui-text);background:linear-gradient(135deg,#def1ebd1,#fffcf6f0),#fffcf6f0;border-color:#237b692e;box-shadow:0 14px 34px #5a44291a}html[data-theme=light] .active-room-resume-icon{color:var(--ui-jade-dark);background:#237b691a}html[data-theme=light] .active-room-resume-copy strong{color:var(--ui-ink)}html[data-theme=light] .active-room-resume-copy span,html[data-theme=light] .active-room-resume-copy small,html[data-theme=light] .scenario-theatre .section-toolbar span,html[data-theme=light] .scenario-theatre .section-toolbar em{color:var(--ui-muted)}html[data-theme=light] .scenario-theatre .section-toolbar em{color:var(--ui-text);background:#fffcf6ad;border-color:#493a291f}html[data-theme=light] .scenario-theatre .catalog-hero h1,html[data-theme=light] .scenario-theatre .section-toolbar strong,html[data-theme=light] .scenario-theatre .popular-title,html[data-theme=light] .profile-surface h1,html[data-theme=light] .settings-card-head strong,html[data-theme=light] .side-profile strong,html[data-theme=light] .room-header h1,html[data-theme=light] .room-layout .chat-panel-header strong,html[data-theme=light] .room-layout .dm-control-main strong,html[data-theme=light] .room-layout .message strong{color:var(--ui-ink);text-shadow:none}html[data-theme=light] .scenario-theatre .command-copy,html[data-theme=light] .scenario-theatre .popular-card-body p,html[data-theme=light] .scenario-theatre .compact-room-main small,html[data-theme=light] .side-bio,html[data-theme=light] .settings-card-head span,html[data-theme=light] .room-layout .dm-control-main small,html[data-theme=light] .room-layout .message p{color:var(--ui-muted)}html[data-theme=light] .scenario-theatre .clean-tabs,html[data-theme=light] .scenario-theatre .scenario-tabs{border-color:var(--ui-line);background:#fffcf6c2}html[data-theme=light] .scenario-theatre .clean-tabs button,html[data-theme=light] .scenario-theatre .scenario-tabs button{color:var(--ui-muted)}html[data-theme=light] .scenario-theatre .clean-tabs button.active,html[data-theme=light] .scenario-theatre .scenario-tabs button.active{color:var(--ui-ink);background:#291f1514}html[data-theme=light] .scenario-theatre .popular-card{color:var(--ui-text);background:0 0}html[data-theme=light] .scenario-theatre .popular-card.selected .popular-image-button{box-shadow:0 0 0 2px #237b6952,0 18px 38px #563d242e}html[data-theme=light] .scenario-theatre .popular-meta span,html[data-theme=light] .scenario-theatre .sfw-badge,html[data-theme=light] .scenario-theatre .heat-float,html[data-theme=light] .room-layout .phase-pill,html[data-theme=light] .room-live-pill{border-color:var(--ui-line);color:var(--ui-text);background:#fffcf6c7}html[data-theme=light] .room-layout{--room-surface:#fffcf6e0;--room-surface-strong:#fffaf1;--room-line:#493a2924;--room-muted:var(--ui-muted);--room-text:var(--ui-text);--room-gold:var(--ui-gold);--room-jade:var(--ui-jade);--room-rose:var(--ui-rose);color:var(--room-text)}html[data-theme=light] .room-header{border-color:var(--ui-line-soft);background:#fffcf6db;box-shadow:0 12px 28px #5a442914}html[data-theme=light] .room-layout .roster-panel,html[data-theme=light] .room-layout .clue-panel,html[data-theme=light] .room-layout .chat-panel{border-color:var(--room-line);background:linear-gradient(180deg, #fffcf6e6, #faf4ebcc), var(--room-surface)}html[data-theme=light] .room-layout .player-seat-card,html[data-theme=light] .room-layout .dm-control-panel,html[data-theme=light] .room-layout .message,html[data-theme=light] .room-layout .clue-item,html[data-theme=light] .room-layout .composer,html[data-theme=light] .room-layout .prompt-stack button{border-color:var(--room-line);color:var(--ui-text);background:#fffcf6c7}html[data-theme=light] .room-layout .message.dm{background:#faecd0a8}html[data-theme=light] .room-layout .message.player{background:#def1ebb8}html[data-theme=light] .room-layout .composer input{color:var(--ui-ink)}html[data-theme=light] .room-layout .phase-pill,html[data-theme=light] .room-live-pill,html[data-theme=light] .room-readiness-summary{color:var(--ui-text);background:#fffcf6b8;border-color:#493a2924}html[data-theme=light] .room-layout .chat-panel-header{border-bottom-color:var(--ui-line-soft);background:#fffcf6c7}html[data-theme=light] .room-layout .chat-panel-header span,html[data-theme=light] .room-layout .dm-control-heading span,html[data-theme=light] .room-layout .dm-control-main span,html[data-theme=light] .room-layout .ai-experience-row small,html[data-theme=light] .room-layout .room-action-section-title small,html[data-theme=light] .room-layout .clue-item p,html[data-theme=light] .room-layout .empty-clue-text,html[data-theme=light] .room-layout .my-seat-summary small,html[data-theme=light] .room-layout .player-seat-card small{color:var(--ui-muted)}html[data-theme=light] .room-layout .chat-panel-header strong,html[data-theme=light] .room-layout .dm-control-heading strong,html[data-theme=light] .room-layout .dm-control-main strong,html[data-theme=light] .room-layout .ai-experience-row strong,html[data-theme=light] .room-layout .message strong,html[data-theme=light] .room-layout .player-seat-card strong,html[data-theme=light] .room-layout .clue-item strong,html[data-theme=light] .room-layout .my-seat-summary strong,html[data-theme=light] .room-layout .room-action-section-title span{color:var(--ui-ink)}html[data-theme=light] .room-layout .chat-header-actions .secondary-button,html[data-theme=light] .room-layout .message-actions button,html[data-theme=light] .read-confirm-inline,html[data-theme=light] .script-reader-toolbar button,html[data-theme=light] .reader-mode-toggle button{color:var(--ui-text);background:#fffcf6ad;border-color:#493a2924}html[data-theme=light] .room-layout .music-toggle.active,html[data-theme=light] .room-layout .read-confirm-button.active,html[data-theme=light] .read-confirm-inline.active,html[data-theme=light] .reader-mode-toggle button.active,html[data-theme=light] .room-layout .dm-control-blockers span.ready{color:var(--ui-jade-dark);background:#237b691a;border-color:#237b6938}html[data-theme=light] .room-layout .dm-control-metrics span,html[data-theme=light] .room-layout .dm-control-blockers span,html[data-theme=light] .room-layout .dm-event-strip span,html[data-theme=light] .room-layout .ai-experience-row,html[data-theme=light] .room-layout .message-image-panel,html[data-theme=light] .room-layout .voice-transcript-panel,html[data-theme=light] .room-layout .reply-suggestion-box{color:var(--ui-text);background:#fffcf69e;border-color:#493a291f}html[data-theme=light] .room-layout .chat-scroll{background:linear-gradient(#fffcf64d,#faf4eb7a),#fffcf66b}html[data-theme=light] .room-layout .message{color:var(--ui-text);background:#fffcf6c2;border-color:#493a291f}html[data-theme=light] .room-layout .message.dm{background:linear-gradient(135deg,#faecd0b8,#fffcf694),#fffcf6b8;border-color:#b9822f38}html[data-theme=light] .room-layout .message.player{background:#def1ebb8;border-color:#237b6938}html[data-theme=light] .room-layout .message.system{background:#ebe5dcb8}html[data-theme=light] .room-layout .message p,html[data-theme=light] .room-layout .dm-narration,html[data-theme=light] .room-layout .voice-transcript-panel>p{color:var(--ui-text)}html[data-theme=light] .room-layout .dm-dialogue{color:#9a6415}html[data-theme=light] .room-layout .composer{border-top-color:var(--ui-line-soft);background:#fffcf6db}html[data-theme=light] .room-layout .composer input{color:var(--ui-ink);background:#fffcf6e6;border-color:#493a2924}html[data-theme=light] .room-layout .composer input::placeholder{color:var(--ui-faint)}html[data-theme=light] .room-layout .room-action-section,html[data-theme=light] .room-layout .clue-item.public,html[data-theme=light] .room-layout .clue-item.private,html[data-theme=light] .room-layout .readiness-chip,html[data-theme=light] .room-layout .clue-panel-heading span{color:var(--ui-text);background:#fffcf6ad;border-color:#493a2921}html[data-theme=light] .room-layout .clue-item button,html[data-theme=light] .room-layout .room-action-grid button,html[data-theme=light] .room-layout .room-danger-zone>button{color:var(--ui-text);background:#fffcf6b8;border-color:#493a2924}html[data-theme=light] .side-wallet-card,html[data-theme=light] .side-credit-card,html[data-theme=light] .side-message-row,html[data-theme=light] .side-action,html[data-theme=light] .settings-safety-row{border-color:var(--ui-line);color:var(--ui-text);background:#fffcf6b8}html[data-theme=light] .side-action:hover,html[data-theme=light] .side-message-row:hover,html[data-theme=light] .settings-card:hover{background:#237b6914;border-color:#237b6942}html[data-theme=light] .overlay-backdrop,html[data-theme=light] .modal-backdrop,html[data-theme=light] .account-drawer-backdrop{background:radial-gradient(circle at 50% 8%,#b9822f1f,#0000 28rem),#342a1f57}@media (width<=720px){.active-room-resume{grid-template-columns:auto minmax(0,1fr);width:calc(100% - 20px);padding:10px;top:48px}.active-room-resume-actions{grid-column:1/-1}.active-room-resume-actions .primary-button{width:100%}.theme-switch-button{width:40px;min-width:40px;padding:0}.theme-switch-button span{display:none}.app-shell:has(.scenario-theatre) .top-bar{grid-template-columns:42px minmax(0,1fr) 88px}.app-shell:has(.scenario-theatre) .top-actions{gap:6px;width:88px;min-width:88px;overflow:visible}.app-shell:has(.scenario-theatre) .top-actions>.theme-switch-button{display:inline-flex}.app-shell:has(.scenario-theatre) .top-actions>:not(.top-avatar-chip):not(.theme-switch-button){display:none}.app-shell:has(.scenario-theatre) .top-nav-links{gap:5px;overflow:visible}.app-shell:has(.scenario-theatre) .top-nav-links button{gap:0;width:38px;min-width:38px;padding:0;font-size:0;position:relative}.app-shell:has(.scenario-theatre) .top-nav-links button svg{width:16px;height:16px}.app-shell:has(.scenario-theatre) .top-nav-links button em{min-width:16px;height:16px;padding:0 4px;font-size:10px;line-height:16px;position:absolute;top:-3px;right:-3px}}body:has(.room-layout){--app-bg:#0f1110;--app-bg-art:radial-gradient(circle at 46% -8%, #d0a65b24, transparent 30rem), radial-gradient(circle at 90% 12%, #468b801f, transparent 32rem), linear-gradient(180deg, #141614 0%, #0c0e0d 52%, #090a09 100%);--surface-base:#121412c2;--surface-soft:#f6e5c50b;--surface-raised:#1a1c19d1;--surface-overlay:#13120ff0;--surface-inset:#05070657;--line-subtle:#f6e5c512;--line-strong:#e1be802e;--text-main:#f4efe5;--text-secondary:#f4efe5c2;--text-muted:#f4efe585;--accent-primary:#f1398f;--accent-primary-soft:#f1398f29;--accent-secondary:#41c2ad;--accent-secondary-soft:#41c2ad21;--accent-warm:#d7b26e;--accent-warm-soft:#d7b26e21;--accent-danger:#d76265;--shadow-soft:0 18px 46px #00000038;--shadow-panel:0 26px 72px #00000057;--radius-panel:22px;--radius-control:14px;--space-panel:16px;--focus-ring:0 0 0 3px #41c2ad38;background:var(--app-bg-art);color:var(--text-main);overflow:hidden}html[data-theme=light] body:has(.room-layout){--app-bg:#efe6da;--app-bg-art:radial-gradient(circle at 18% -10%, #cc994829, transparent 31rem), radial-gradient(circle at 90% 7%, #2e7e6f21, transparent 30rem), linear-gradient(180deg, #f6efe5 0%, #eee4d7 56%, #e5d9c9 100%);--surface-base:#fffcf6b8;--surface-soft:#7c5b340b;--surface-raised:#fffdf8db;--surface-overlay:#fffcf6f5;--surface-inset:#916f4716;--line-subtle:#4f3c2813;--line-strong:#6f502b29;--text-main:#2a241d;--text-secondary:#2a241dbd;--text-muted:#2a241d85;--accent-primary:#cf3378;--accent-primary-soft:#cf33781f;--accent-secondary:#22796b;--accent-secondary-soft:#22796b1f;--accent-warm:#9f7132;--accent-warm-soft:#9f71321f;--accent-danger:#b84b54;--shadow-soft:0 16px 36px #6d50311c;--shadow-panel:0 26px 66px #6d50312b;--focus-ring:0 0 0 3px #22796b2e}body:has(.room-layout):before{opacity:.16;filter:saturate(.78)contrast(1.08);background:linear-gradient(90deg,#070807c2,#07080759 48%,#070807c7),url(/generated/platform-cover.svg) top/min(1380px,96vw) no-repeat}html[data-theme=light] body:has(.room-layout):before{opacity:.22;filter:saturate(.72)sepia(.08);mix-blend-mode:multiply;background:linear-gradient(90deg,#f6efe5eb,#f6efe56b 48%,#f6efe5e6),url(/generated/platform-cover.svg) top/min(1380px,96vw) no-repeat}body:has(.room-layout) *{scrollbar-color:color-mix(in srgb, var(--accent-warm) 38%, transparent) transparent}body:has(.room-layout) ::-webkit-scrollbar-track{background:0 0}body:has(.room-layout) ::-webkit-scrollbar-thumb{background:color-mix(in srgb, var(--accent-warm) 42%, transparent);border-color:#0000}body:has(.room-layout) .app-shell{width:min(1660px,100% - 48px);height:calc(100vh - 52px);padding:0 0 18px;overflow:hidden}body:has(.room-layout) .top-bar{background:linear-gradient(180deg, color-mix(in srgb, var(--surface-overlay) 86%, transparent), color-mix(in srgb, var(--surface-overlay) 58%, transparent)), var(--surface-base);min-height:52px;box-shadow:0 1px 0 var(--line-subtle), var(--shadow-soft);color:var(--text-main);border-bottom:0;margin:0}body:has(.room-layout) .brand-mark{color:var(--text-secondary);box-shadow:none;background:0 0;border-color:#0000}body:has(.room-layout) .top-nav-links button{color:var(--text-secondary);box-shadow:none;background:0 0;border-color:#0000}body:has(.room-layout) .global-search{color:var(--text-secondary);box-shadow:none;background:0 0;border-color:#0000}body:has(.room-layout) .top-avatar-chip{color:var(--text-secondary);box-shadow:none;background:0 0;border-color:#0000}body:has(.room-layout) .theme-switch-button{color:var(--text-secondary);box-shadow:none;background:0 0;border-color:#0000}body:has(.room-layout) .top-actions .secondary-button.compact{color:var(--text-secondary);box-shadow:none;background:0 0;border-color:#0000}body:has(.room-layout) .top-nav-links button:hover{background:var(--surface-soft);color:var(--text-main);transform:none}body:has(.room-layout) .top-nav-links button.active{background:var(--surface-soft);color:var(--text-main);transform:none}body:has(.room-layout) .theme-switch-button:hover:not(:disabled){background:var(--surface-soft);color:var(--text-main);transform:none}body:has(.room-layout) .top-avatar-chip:hover{background:var(--surface-soft);color:var(--text-main);transform:none}body:has(.room-layout) .global-search{background:var(--surface-inset);box-shadow:inset 0 0 0 1px var(--line-subtle)}body:has(.room-layout) .global-search input{color:var(--text-muted)}body:has(.room-layout) .global-search input::placeholder{color:var(--text-muted)}body:has(.room-layout) .room-layout{height:calc(100vh - 70px);min-height:0;color:var(--text-main);grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(210px,.62fr) minmax(600px,1.82fr) minmax(292px,.82fr);gap:14px;position:relative;overflow:hidden;background-image:none!important;padding:12px 0 0!important}body:has(.room-layout) .room-layout:before{opacity:.2;background:linear-gradient(180deg, #0a0b0a75, #0a0b0ad6), var(--room-backdrop,var(--script-cover,url(/covers/rain-library.svg))) center / cover no-repeat;filter:blur(11px)saturate(.72)brightness(.62);inset:52px 0 0;transform:scale(1.05)}html[data-theme=light] body:has(.room-layout) .room-layout:before{opacity:.22;background:linear-gradient(180deg, #f6efe58c, #eee4d5eb), var(--room-backdrop,var(--script-cover,url(/covers/rain-library.svg))) center / cover no-repeat;filter:blur(12px)saturate(.62)brightness(1.14)}body:has(.room-layout) .room-layout:after{background:radial-gradient(circle at 52% 5%, color-mix(in srgb, var(--accent-warm) 14%, transparent), transparent 26rem), linear-gradient(90deg, color-mix(in srgb, var(--app-bg) 82%, transparent), transparent 18%, transparent 78%, color-mix(in srgb, var(--app-bg) 76%, transparent));opacity:1}body:has(.room-layout) .room-header{border-radius:var(--radius-panel);background:linear-gradient(110deg, var(--surface-raised), color-mix(in srgb, var(--surface-base) 72%, transparent)), var(--surface-base);min-height:58px;box-shadow:var(--shadow-soft), inset 0 1px 0 color-mix(in srgb, var(--line-subtle) 80%, transparent);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border:0;padding:10px 12px 10px 18px}body:has(.room-layout) .room-header h1{color:var(--text-main);font-size:clamp(1.18rem,1.35vw,1.7rem);font-weight:860}body:has(.room-layout) .room-header .secondary-button.compact{border-radius:var(--radius-control);background:var(--surface-soft);min-height:38px;color:var(--text-secondary);border:0}body:has(.room-layout) .room-header .secondary-button.compact:hover{background:var(--accent-warm-soft);color:var(--text-main)}:is(body:has(.room-layout) .phase-pill,body:has(.room-layout) .room-live-pill,body:has(.room-layout) .room-readiness-summary,body:has(.room-layout) .status-pill){background:var(--surface-soft);color:var(--text-secondary);box-shadow:inset 0 0 0 1px var(--line-subtle);border:0;border-radius:999px}:is(body:has(.room-layout) .roster-panel,body:has(.room-layout) .clue-panel,body:has(.room-layout) .chat-panel){-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-radius:var(--radius-panel)!important;background:linear-gradient(180deg, color-mix(in srgb, var(--surface-raised) 90%, transparent), color-mix(in srgb, var(--surface-base) 84%, transparent)), var(--surface-base)!important;box-shadow:var(--shadow-soft), inset 0 1px 0 var(--line-subtle)!important;border:0!important}body:has(.room-layout) .chat-panel{background:radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--accent-warm) 8%, transparent), transparent 22rem), linear-gradient(180deg, color-mix(in srgb, var(--surface-raised) 94%, transparent), color-mix(in srgb, var(--surface-base) 89%, transparent)), var(--surface-base)!important;box-shadow:var(--shadow-panel), inset 0 1px 0 var(--line-subtle)!important}:is(body:has(.room-layout) .side-panel-title,body:has(.room-layout) .clue-panel-heading,body:has(.room-layout) .room-action-section-title){color:var(--text-main)}:is(body:has(.room-layout) .side-panel-title h2,body:has(.room-layout) .clue-panel-heading h2,body:has(.room-layout) .room-action-section-title span,body:has(.room-layout) .chat-panel-header strong){color:var(--text-main);font-size:.9rem;font-weight:780}:is(body:has(.room-layout) .side-panel-title span,body:has(.room-layout) .clue-panel-heading span){background:var(--surface-soft);color:var(--text-muted);box-shadow:inset 0 0 0 1px var(--line-subtle);border:0}body:has(.room-layout) .player-seat-card{color:var(--text-main);border-radius:16px;background:0 0!important;border:0!important}:is(body:has(.room-layout) .player-seat-card:hover,body:has(.room-layout) .player-seat-card:focus-visible){transform:none;background:var(--surface-soft)!important}:is(body:has(.room-layout) .player-seat-card strong,body:has(.room-layout) .my-seat-summary strong){color:var(--text-main);font-weight:790}body:has(.room-layout) .player-seat-card small{color:var(--text-muted)}body:has(.room-layout) .my-seat-summary small{color:var(--text-muted)}body:has(.room-layout) .room-empty-line{color:var(--text-muted)}body:has(.room-layout) .action-helper-text{color:var(--text-muted)}body:has(.room-layout) .room-flow-hint{color:var(--text-muted)}body:has(.room-layout) .clue-item p{color:var(--text-muted)}body:has(.room-layout) .seat-avatar{background:var(--surface-soft);box-shadow:inset 0 0 0 1px var(--line-subtle);border:0}:is(body:has(.room-layout) .seat-avatar.ready,body:has(.room-layout) .readiness-chip.ready){background:var(--accent-secondary-soft);color:var(--accent-secondary);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent-secondary) 18%, transparent)}:is(body:has(.room-layout) .seat-avatar.speaking,body:has(.room-layout) .readiness-chip.speaking){background:var(--accent-primary-soft);color:var(--accent-primary);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent-primary) 18%, transparent)}:is(body:has(.room-layout) .readiness-chip,body:has(.room-layout) .seat-presence){background:var(--surface-soft);color:var(--text-muted);box-shadow:inset 0 0 0 1px var(--line-subtle);border:0}body:has(.room-layout) .my-seat-summary{border:0;border-top:1px solid var(--line-subtle);color:var(--text-secondary);background:0 0!important}:is(body:has(.room-layout) .chat-panel-header,body:has(.room-layout) .composer){box-shadow:none;background:0 0;border:0}body:has(.room-layout) .chat-panel-header{padding:12px 14px 8px}:is(body:has(.room-layout) .chat-panel-header span,body:has(.room-layout) .dm-control-heading span,body:has(.room-layout) .dm-control-main span,body:has(.room-layout) .room-action-section-title small,body:has(.room-layout) .ai-experience-row small){color:var(--text-muted)}body:has(.room-layout) .chat-header-actions .secondary-button{border-radius:var(--radius-control);background:var(--surface-soft);color:var(--text-secondary);box-shadow:inset 0 0 0 1px var(--line-subtle);border:0}body:has(.room-layout) .chat-header-actions .secondary-button:hover:not(:disabled){background:var(--accent-warm-soft);color:var(--text-main)}body:has(.room-layout) .chat-header-actions .secondary-button.active{background:var(--accent-warm-soft);color:var(--text-main)}body:has(.room-layout) .phase-objective-card{border-radius:calc(var(--radius-panel) - 4px);background:linear-gradient(125deg, var(--accent-secondary-soft), transparent 50%), linear-gradient(180deg, color-mix(in srgb, var(--surface-raised) 92%, transparent), color-mix(in srgb, var(--surface-base) 76%, transparent));box-shadow:inset 0 1px 0 color-mix(in srgb, var(--accent-secondary) 16%, transparent), 0 16px 34px #0000001f;border:0}html[data-theme=light] body:has(.room-layout) .phase-objective-card{box-shadow:inset 0 1px #ffffffad,0 16px 34px #6d503117}:is(body:has(.room-layout) .phase-objective-card .dm-control-heading,body:has(.room-layout) .phase-objective-card .dm-control-main){background:0 0;border:0}:is(body:has(.room-layout) .phase-objective-card .dm-control-heading strong,body:has(.room-layout) .phase-objective-card .dm-control-main strong){color:var(--text-main)}body:has(.room-layout) .dm-control-metrics span{background:var(--surface-soft);color:var(--text-secondary);box-shadow:inset 0 0 0 1px var(--line-subtle);border:0}body:has(.room-layout) .dm-control-blockers span{background:var(--surface-soft);color:var(--text-secondary);box-shadow:inset 0 0 0 1px var(--line-subtle);border:0}body:has(.room-layout) .dm-event-strip span{background:var(--surface-soft);color:var(--text-secondary);box-shadow:inset 0 0 0 1px var(--line-subtle);border:0}body:has(.room-layout) .ai-experience-row{background:var(--surface-soft);color:var(--text-secondary);box-shadow:inset 0 0 0 1px var(--line-subtle);border:0}body:has(.room-layout) .stage-next-step{background:var(--surface-soft);color:var(--text-secondary);box-shadow:inset 0 0 0 1px var(--line-subtle);border:0}body:has(.room-layout) .stage-next-step{color:var(--accent-secondary)}body:has(.room-layout) .dm-control-blockers span.ready{background:var(--accent-secondary-soft);color:var(--accent-secondary)}body:has(.room-layout) .chat-scroll{background:linear-gradient(180deg, transparent 0%, var(--surface-inset) 100%)}body:has(.room-layout) .message{color:var(--text-secondary);box-shadow:none;border:0!important}body:has(.room-layout) .message.dm{box-shadow:inset 3px 0 0 color-mix(in srgb, var(--accent-warm) 62%, transparent);background:linear-gradient(135deg, var(--accent-warm-soft), color-mix(in srgb, var(--surface-soft) 68%, transparent))!important}body:has(.room-layout) .message.player{box-shadow:inset -3px 0 0 color-mix(in srgb, var(--accent-secondary) 46%, transparent);background:linear-gradient(135deg, var(--accent-secondary-soft), color-mix(in srgb, var(--surface-soft) 58%, transparent))!important}body:has(.room-layout) .message.system{color:var(--text-muted);background:var(--surface-soft)!important}body:has(.room-layout) .message strong{color:var(--text-main)}body:has(.room-layout) .message p{color:var(--text-secondary)}body:has(.room-layout) .message-body{color:var(--text-secondary)}body:has(.room-layout) .dm-narration{color:var(--text-secondary)}body:has(.room-layout) .voice-transcript-panel>p{color:var(--text-secondary)}body:has(.room-layout) .dm-dialogue{color:var(--accent-warm)}body:has(.room-layout) .message-actions button{background:var(--surface-soft);color:var(--text-secondary);box-shadow:inset 0 0 0 1px var(--line-subtle);border:0;border-radius:999px}body:has(.room-layout) .clue-panel-open{background:var(--surface-soft);color:var(--text-secondary);box-shadow:inset 0 0 0 1px var(--line-subtle);border:0;border-radius:999px}body:has(.room-layout) .clue-detail-button{background:var(--surface-soft);color:var(--text-secondary);box-shadow:inset 0 0 0 1px var(--line-subtle);border:0;border-radius:999px}body:has(.room-layout) .room-more-actions button{background:var(--surface-soft);color:var(--text-secondary);box-shadow:inset 0 0 0 1px var(--line-subtle);border:0;border-radius:999px}body:has(.room-layout) .script-reader-toolbar button{background:var(--surface-soft);color:var(--text-secondary);box-shadow:inset 0 0 0 1px var(--line-subtle);border:0;border-radius:999px}body:has(.room-layout) .reader-mode-toggle button{background:var(--surface-soft);color:var(--text-secondary);box-shadow:inset 0 0 0 1px var(--line-subtle);border:0;border-radius:999px}body:has(.room-layout) .read-confirm-inline{background:var(--surface-soft);color:var(--text-secondary);box-shadow:inset 0 0 0 1px var(--line-subtle);border:0;border-radius:999px}body:has(.room-layout) .message-actions button:hover:not(:disabled){background:var(--accent-secondary-soft);color:var(--accent-secondary);transform:none}body:has(.room-layout) .clue-panel-open:hover:not(:disabled){background:var(--accent-secondary-soft);color:var(--accent-secondary);transform:none}body:has(.room-layout) .clue-detail-button:hover:not(:disabled){background:var(--accent-secondary-soft);color:var(--accent-secondary);transform:none}body:has(.room-layout) .room-more-actions button:hover:not(:disabled){background:var(--accent-secondary-soft);color:var(--accent-secondary);transform:none}body:has(.room-layout) .script-reader-toolbar button:hover:not(:disabled){background:var(--accent-secondary-soft);color:var(--accent-secondary);transform:none}body:has(.room-layout) .reader-mode-toggle button:hover:not(:disabled){background:var(--accent-secondary-soft);color:var(--accent-secondary);transform:none}body:has(.room-layout) .message-actions button:first-child{background:var(--accent-warm-soft);color:var(--accent-warm)}body:has(.room-layout) .composer{background:linear-gradient(180deg, transparent, color-mix(in srgb, var(--surface-overlay) 62%, transparent));gap:10px;padding:12px 14px 14px}body:has(.room-layout) .composer input{background:var(--surface-inset);color:var(--text-main);box-shadow:inset 0 0 0 1px var(--line-subtle), inset 0 6px 16px #0000001a;border:0;border-radius:999px}body:has(.room-layout) .composer input::placeholder{color:var(--text-muted)}body:has(.room-layout) .composer input:focus-visible{box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent-secondary) 42%, transparent), var(--focus-ring);outline:none}body:has(.room-layout) .primary-button{border-radius:var(--radius-control);background:linear-gradient(135deg, color-mix(in srgb, var(--accent-primary) 92%, #fff 8%), var(--accent-primary));color:#fff9f3;box-shadow:0 14px 28px color-mix(in srgb, var(--accent-primary) 22%, transparent);border:0}body:has(.room-layout) .room-primary-action{border-radius:var(--radius-control);background:linear-gradient(135deg, color-mix(in srgb, var(--accent-primary) 92%, #fff 8%), var(--accent-primary));color:#fff9f3;box-shadow:0 14px 28px color-mix(in srgb, var(--accent-primary) 22%, transparent);border:0}body:has(.room-layout) .mobile-primary-action{border-radius:var(--radius-control);background:linear-gradient(135deg, color-mix(in srgb, var(--accent-primary) 92%, #fff 8%), var(--accent-primary));color:#fff9f3;box-shadow:0 14px 28px color-mix(in srgb, var(--accent-primary) 22%, transparent);border:0}body:has(.room-layout) .composer .icon-submit{border-radius:var(--radius-control);background:linear-gradient(135deg, color-mix(in srgb, var(--accent-primary) 92%, #fff 8%), var(--accent-primary));color:#fff9f3;box-shadow:0 14px 28px color-mix(in srgb, var(--accent-primary) 22%, transparent);border:0}:is(body:has(.room-layout) .room-primary-action.ai,body:has(.room-layout) .mobile-primary-action.ai){background:linear-gradient(135deg, color-mix(in srgb, var(--accent-secondary) 90%, #fff 10%), var(--accent-secondary));color:#f7fffc;box-shadow:0 14px 28px color-mix(in srgb, var(--accent-secondary) 22%, transparent)}:is(html[data-theme=light] body:has(.room-layout) .room-primary-action.ai,html[data-theme=light] body:has(.room-layout) .mobile-primary-action.ai){color:#fafffc}body:has(.room-layout) .primary-button:hover:not(:disabled){filter:brightness(1.04);transform:translateY(-1px)}body:has(.room-layout) .room-primary-action:hover:not(:disabled){filter:brightness(1.04);transform:translateY(-1px)}body:has(.room-layout) .mobile-primary-action:hover:not(:disabled){filter:brightness(1.04);transform:translateY(-1px)}body:has(.room-layout) .composer .icon-submit:hover:not(:disabled){filter:brightness(1.04);transform:translateY(-1px)}:is(body:has(.room-layout) .secondary-button,body:has(.room-layout) .room-helper-action,body:has(.room-layout) .room-subtle-action){border-radius:var(--radius-control);background:var(--surface-soft);color:var(--text-secondary);box-shadow:inset 0 0 0 1px var(--line-subtle);border:0}:is(body:has(.room-layout) .room-helper-action:hover:not(:disabled),body:has(.room-layout) .secondary-button:hover:not(:disabled)){background:var(--accent-secondary-soft);color:var(--accent-secondary);transform:none}body:has(.room-layout) .room-primary-action:disabled{cursor:not-allowed;opacity:.52;filter:saturate(.45);box-shadow:inset 0 0 0 1px var(--line-subtle)}body:has(.room-layout) .mobile-primary-action:disabled{cursor:not-allowed;opacity:.52;filter:saturate(.45);box-shadow:inset 0 0 0 1px var(--line-subtle)}body:has(.room-layout) .room-helper-action:disabled{cursor:not-allowed;opacity:.52;filter:saturate(.45);box-shadow:inset 0 0 0 1px var(--line-subtle)}body:has(.room-layout) .secondary-button:disabled{cursor:not-allowed;opacity:.52;filter:saturate(.45);box-shadow:inset 0 0 0 1px var(--line-subtle)}body:has(.room-layout) .message-actions button:disabled{cursor:not-allowed;opacity:.52;filter:saturate(.45);box-shadow:inset 0 0 0 1px var(--line-subtle)}body:has(.room-layout) .clue-panel{gap:14px}body:has(.room-layout) .room-side-module{box-shadow:none;background:0 0;border:0}body:has(.room-layout) .clue-item{border:0!important;border-top:1px solid var(--line-subtle)!important;background:0 0!important}body:has(.room-layout) .clue-item strong{color:var(--text-main)}body:has(.room-layout) .room-current-action{border-radius:calc(var(--radius-panel) - 8px);background:var(--surface-soft);padding:12px}body:has(.room-layout) .room-more-actions summary{color:var(--text-muted)}body:has(.room-layout) .room-more-actions[open]{padding-top:4px}body:has(.room-layout) .room-more-actions .room-danger-action{background:color-mix(in srgb, var(--accent-danger) 12%, transparent);color:color-mix(in srgb, var(--accent-danger) 84%, var(--text-main));box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent-danger) 20%, transparent);border:0}body:has(.room-layout) .danger-button{background:color-mix(in srgb, var(--accent-danger) 12%, transparent);color:color-mix(in srgb, var(--accent-danger) 84%, var(--text-main));box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent-danger) 20%, transparent);border:0}body:has(.room-layout) .danger-button:hover:not(:disabled){background:color-mix(in srgb, var(--accent-danger) 20%, transparent);color:color-mix(in srgb, var(--accent-danger) 92%, var(--text-main))}body:has(.room-layout) .room-more-actions .room-danger-action:hover:not(:disabled){background:color-mix(in srgb, var(--accent-danger) 20%, transparent);color:color-mix(in srgb, var(--accent-danger) 92%, var(--text-main))}:is(body:has(.room-layout) button:focus-visible,body:has(.room-layout) a:focus-visible,body:has(.room-layout) input:focus-visible,body:has(.room-layout) select:focus-visible,body:has(.room-layout) textarea:focus-visible){box-shadow:var(--focus-ring), inset 0 0 0 1px color-mix(in srgb, var(--accent-secondary) 34%, transparent);outline:none}body:has(.room-layout) .game-modal-backdrop{background:radial-gradient(circle at 52% 12%, color-mix(in srgb, var(--accent-warm) 12%, transparent), transparent 28rem), color-mix(in srgb, var(--app-bg) 72%, transparent);-webkit-backdrop-filter:blur(14px)saturate(.82);backdrop-filter:blur(14px)saturate(.82)}body:has(.room-layout) .game-modal{border-radius:var(--radius-panel);background:linear-gradient(180deg, var(--surface-overlay), color-mix(in srgb, var(--surface-overlay) 94%, var(--surface-base))), var(--surface-overlay);color:var(--text-main);box-shadow:var(--shadow-panel), inset 0 1px 0 var(--line-subtle);border:0}:is(body:has(.room-layout) .game-modal-header,body:has(.room-layout) .game-modal-footer){border-color:var(--line-subtle);background:color-mix(in srgb, var(--surface-overlay) 82%, transparent)}:is(body:has(.room-layout) .game-modal-header span,body:has(.room-layout) .script-reader-footer>span,body:has(.room-layout) .clue-detail-meta span){color:var(--accent-warm)}:is(body:has(.room-layout) .game-modal-header h2,body:has(.room-layout) .script-page-content h3,body:has(.room-layout) .game-clue-card strong){color:var(--text-main)}body:has(.room-layout) .game-modal .icon-button{background:var(--surface-soft);color:var(--text-secondary);box-shadow:inset 0 0 0 1px var(--line-subtle);border:0;border-radius:999px}body:has(.room-layout) .script-page-list{border-color:var(--line-subtle);background:var(--surface-soft);color:var(--text-secondary)}body:has(.room-layout) .script-page-content{border-color:var(--line-subtle);background:var(--surface-soft);color:var(--text-secondary)}body:has(.room-layout) .game-clue-card{border-color:var(--line-subtle);background:var(--surface-soft);color:var(--text-secondary)}body:has(.room-layout) .clue-detail-meta span{border-color:var(--line-subtle);background:var(--surface-soft);color:var(--text-secondary)}body:has(.room-layout) .message-image-grid figure{border-color:var(--line-subtle);background:var(--surface-soft);color:var(--text-secondary)}body:has(.room-layout) .reply-suggestion-list button{border-color:var(--line-subtle);background:var(--surface-soft);color:var(--text-secondary)}body:has(.room-layout) .script-page-list button{color:var(--text-secondary);background:0 0;border:0;border-radius:12px}body:has(.room-layout) .script-page-list button.active{background:var(--accent-warm-soft);color:var(--text-main);box-shadow:inset 3px 0 0 var(--accent-warm)}body:has(.room-layout) .script-reading-text{color:var(--text-secondary)}body:has(.room-layout) .clue-detail-body p{color:var(--text-secondary)}body:has(.room-layout) .game-modal-confirm p{color:var(--text-secondary)}body:has(.room-layout) .voice-transcript-panel p{color:var(--text-secondary)}body:has(.room-layout) .script-reader-toolbar{border-color:var(--line-subtle);background:var(--surface-soft)}body:has(.room-layout) .reader-mode-toggle button.active{background:var(--accent-secondary-soft);color:var(--accent-secondary)}body:has(.room-layout) .read-confirm-inline.active{background:var(--accent-secondary-soft);color:var(--accent-secondary)}body:has(.room-layout) .read-confirm-button.active{background:var(--accent-secondary-soft);color:var(--accent-secondary)}body:has(.room-layout) .game-clue-card{border-radius:calc(var(--radius-panel) - 6px);box-shadow:inset 0 1px 0 var(--line-subtle);border:0}body:has(.room-layout) .game-clue-card span{color:var(--accent-warm)}body:has(.room-layout) .game-clue-card p{color:var(--text-muted)}body:has(.room-layout) .empty-clue-text{color:var(--text-muted)}body:has(.room-layout) .confirmation-actions{background:0 0}@media (width>=721px){body:has(.room-layout) .room-layout .chat-panel{grid-template-rows:auto auto minmax(0,1fr) auto}:is(body:has(.room-layout) .room-layout .roster-panel,body:has(.room-layout) .room-layout .clue-panel){padding:var(--space-panel)}body:has(.room-layout) .room-layout .chat-scroll{padding:16px 14px 18px}}@media (width<=1366px) and (width>=721px){body:has(.room-layout) .app-shell{width:min(1328px,100% - 28px)}body:has(.room-layout) .room-layout{grid-template-columns:198px minmax(520px,1fr) 268px;gap:10px}body:has(.room-layout) .room-assist-strip{grid-template-columns:1fr}}@media (width<=720px){body:has(.room-layout){overflow:hidden}body:has(.room-layout) .app-shell{width:calc(100% - 16px);height:calc(100dvh - 52px);padding-bottom:0}body:has(.room-layout) .room-layout{height:calc(100dvh - 52px);min-height:0;padding:8px 0 126px!important}body:has(.room-layout) .room-header{border-radius:18px;min-height:52px;padding:9px 10px}body:has(.room-layout) .room-header h1{font-size:1.08rem}body:has(.room-layout) .room-layout .chat-panel.mobile-active{min-height:0;height:calc(100dvh - 190px)!important}body:has(.room-layout) .phase-objective-card{border-radius:18px;margin:8px}body:has(.room-layout) .room-layout .chat-scroll{padding:12px 10px}body:has(.room-layout) .composer{padding:9px}body:has(.room-layout) .composer input{min-height:46px}body:has(.room-layout) .mobile-room-tabs{background:color-mix(in srgb, var(--surface-overlay) 92%, transparent);box-shadow:var(--shadow-panel), inset 0 1px 0 var(--line-subtle);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border:0;border-radius:22px}body:has(.room-layout) .mobile-room-tabs button{color:var(--text-muted)}body:has(.room-layout) .mobile-room-tabs button.active{background:var(--accent-secondary-soft);color:var(--accent-secondary)}body:has(.room-layout) .mobile-primary-action{border-radius:16px}body:has(.room-layout) .game-modal{border-radius:0}:is(body:has(.room-layout) .game-modal-confirm,body:has(.room-layout) .game-modal-assist){border-radius:22px 22px 0 0}:is(body:has(.room-layout) .script-reader-footer,body:has(.room-layout) .confirmation-actions){grid-template-columns:1fr 1fr}body:has(.room-layout) .read-confirm-footer{grid-column:1/-1}}@media (width<=820px){body:has(.room-layout){overflow:hidden}body:has(.room-layout) .app-shell{width:calc(100% - 16px);height:calc(100dvh - 52px);padding-bottom:0;overflow:hidden}body:has(.room-layout) .room-layout{height:calc(100dvh - 52px);min-height:0;overflow:hidden;padding:8px 0 126px!important;display:block!important}body:has(.room-layout) .room-layout:before{opacity:.13;filter:blur(12px)saturate(.66)brightness(.74)}body:has(.room-layout) .room-header{border-radius:18px;grid-template-columns:minmax(0,1fr) auto;gap:8px;min-height:52px;margin-bottom:8px;padding:9px 10px;display:grid;position:relative;top:auto}body:has(.room-layout) .room-header h1{text-overflow:ellipsis;white-space:nowrap;font-size:1.08rem;overflow:hidden}body:has(.room-layout) .room-title-stack .eyebrow{display:none}body:has(.room-layout) .room-phase-row{display:none}body:has(.room-layout) .mobile-room-panel{display:none!important}:is(body:has(.room-layout) .mobile-room-panel.mobile-active,body:has(.room-layout) .clue-panel.mobile-clues-active,body:has(.room-layout) .clue-panel.mobile-actions-active){display:grid!important}body:has(.room-layout) .room-layout .chat-panel.mobile-active{grid-template-rows:auto auto minmax(0,1fr) auto;min-height:0;overflow:hidden;height:calc(100dvh - 190px)!important}:is(body:has(.room-layout) .room-layout .roster-panel.mobile-active,body:has(.room-layout) .room-layout .clue-panel.mobile-clues-active,body:has(.room-layout) .room-layout .clue-panel.mobile-actions-active){min-height:calc(100dvh - 198px);max-height:calc(100dvh - 198px);overflow:auto}:is(body:has(.room-layout) .room-layout .clue-panel.mobile-clues-active .prompt-stack,body:has(.room-layout) .room-layout .clue-panel.mobile-actions-active .clue-scroll-area){display:none}body:has(.room-layout) .room-layout .clue-panel.mobile-actions-active{overflow:hidden}body:has(.room-layout) .room-layout .clue-panel.mobile-actions-active .prompt-stack{max-height:calc(100dvh - 224px);padding-bottom:104px;overflow:auto}body:has(.room-layout) .room-layout .chat-panel-header{gap:8px;padding:10px}body:has(.room-layout) .room-layout .chat-panel-header>div:first-child{display:none}body:has(.room-layout) .room-layout .chat-header-actions{width:100%;grid-template-columns:repeat(2,minmax(0,1fr))!important}body:has(.room-layout) .room-layout .phase-objective-card{border-radius:18px;margin:8px}body:has(.room-layout) .room-layout .chat-scroll{min-height:0;padding:12px 10px;overflow:auto}body:has(.room-layout) .room-layout .composer{padding:9px}body:has(.room-layout) .mobile-room-tabs{left:10px;right:10px;bottom:calc(env(safe-area-inset-bottom) + 10px);z-index:30;background:color-mix(in srgb, var(--surface-overlay) 92%, transparent);box-shadow:var(--shadow-panel), inset 0 1px 0 var(--line-subtle);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border:0;border-radius:22px;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:7px;display:grid;position:fixed}body:has(.room-layout) .mobile-room-tabs button{min-height:42px;color:var(--text-muted);background:0 0;border:0;border-radius:15px;justify-content:center;align-items:center;gap:5px;font-size:.78rem;font-weight:760;display:inline-flex}body:has(.room-layout) .mobile-room-tabs button.active{background:var(--accent-secondary-soft);color:var(--accent-secondary)}body:has(.room-layout) .mobile-primary-action{left:14px;right:14px;bottom:calc(env(safe-area-inset-bottom) + 72px);z-index:31;border-radius:16px;min-height:48px;display:inline-flex;position:fixed;width:auto!important}body:has(.room-layout) .top-bar{grid-template-columns:44px minmax(0,1fr) 44px;gap:6px;min-height:52px;padding:6px 8px;overflow:hidden}:is(body:has(.room-layout) .nav-brand-button,body:has(.room-layout) .brand-icon,body:has(.room-layout) .top-avatar-chip){width:40px;min-width:40px;height:40px}body:has(.room-layout) .nav-brand-button{justify-content:center;padding:0}:is(body:has(.room-layout) .nav-brand-button>div,body:has(.room-layout) .top-avatar-chip span){display:none}body:has(.room-layout) .top-nav-links{justify-content:center;gap:4px;min-width:0;overflow:hidden}body:has(.room-layout) .top-nav-links button{gap:0;width:40px;min-width:40px;min-height:40px;padding:0;font-size:0;position:relative}body:has(.room-layout) .top-nav-links button svg{width:17px;height:17px;margin:0}body:has(.room-layout) .top-nav-links button em{min-width:16px;height:16px;padding:0 4px;font-size:10px;line-height:16px;position:absolute;top:-1px;right:0}body:has(.room-layout) .top-actions{justify-content:end;width:44px;min-width:44px;overflow:visible}body:has(.room-layout) .top-actions>:not(.top-avatar-chip){display:none}}body{--site-bg:#090907;--site-bg-art:radial-gradient(circle at 16% -8%, #aa764829, transparent 34rem), radial-gradient(circle at 88% 8%, #3796841a, transparent 28rem), linear-gradient(180deg, #0e0d0a 0%, #090907 50%, #050504 100%);--site-bg-pattern:linear-gradient(#fffaf005 1px, transparent 1px), linear-gradient(90deg, #fffaf004 1px, transparent 1px);--site-surface-base:#14120ec7;--site-surface-soft:#fff7e20d;--site-surface-raised:#221e17d1;--site-surface-overlay:#181510f0;--site-surface-inset:#05050457;--site-line-subtle:#eecf971b;--site-line-strong:#eecf9738;--site-text-main:#fbf3e3;--site-text-secondary:#fbf3e3c2;--site-text-muted:#fbf3e385;--site-accent-primary:#ff4f98;--site-accent-primary-soft:#ff4f9829;--site-accent-secondary:#3dc7af;--site-accent-secondary-soft:#3dc7af1f;--site-accent-warm:#d8aa63;--site-accent-warm-soft:#d8aa6321;--site-accent-danger:#d45c58;--site-shadow-soft:0 16px 42px #00000038;--site-shadow-panel:0 26px 84px #0000005c;--site-radius-panel:22px;--site-radius-control:14px;--site-space-panel:18px;--site-focus-ring:0 0 0 3px color-mix(in srgb, var(--site-accent-secondary) 26%, transparent);--app-bg:var(--site-bg);--surface-base:var(--site-surface-base);--surface-soft:var(--site-surface-soft);--surface-raised:var(--site-surface-raised);--surface-overlay:var(--site-surface-overlay);--surface-inset:var(--site-surface-inset);--line-subtle:var(--site-line-subtle);--line-strong:var(--site-line-strong);--text-main:var(--site-text-main);--text-secondary:var(--site-text-secondary);--text-muted:var(--site-text-muted);--accent-primary:var(--site-accent-primary);--accent-secondary:var(--site-accent-secondary);--accent-warm:var(--site-accent-warm);--accent-danger:var(--site-accent-danger);--shadow-soft:var(--site-shadow-soft);--shadow-panel:var(--site-shadow-panel);--radius-panel:var(--site-radius-panel);--radius-control:var(--site-radius-control);--space-panel:var(--site-space-panel);--focus-ring:var(--site-focus-ring);background:var(--site-bg-art);color:var(--site-text-main)}html[data-theme=light] body{--site-bg:#eee8dc;--site-bg-art:radial-gradient(circle at 14% -10%, #c58f5229, transparent 32rem), radial-gradient(circle at 86% 8%, #3d95821f, transparent 29rem), linear-gradient(180deg, #f4eee2 0%, #e9e1d3 52%, #ded6c8 100%);--site-bg-pattern:linear-gradient(#58483009 1px, transparent 1px), linear-gradient(90deg, #58483007 1px, transparent 1px);--site-surface-base:#fffcf5c2;--site-surface-soft:#ffffff8a;--site-surface-raised:#fffcf3e6;--site-surface-overlay:#fffdf8f5;--site-surface-inset:#6852340e;--site-line-subtle:#7158321c;--site-line-strong:#71583238;--site-text-main:#2d281f;--site-text-secondary:#2d281fb8;--site-text-muted:#2d281f80;--site-accent-primary:#d92779;--site-accent-primary-soft:#d927791c;--site-accent-secondary:#158675;--site-accent-secondary-soft:#1586751a;--site-accent-warm:#9d6f2f;--site-accent-warm-soft:#9d6f2f1f;--site-accent-danger:#b93d39;--site-shadow-soft:0 16px 42px #5c42261a;--site-shadow-panel:0 26px 84px #5c422629;color:var(--site-text-main)}body:after{content:"";z-index:-2;pointer-events:none;background-image:var(--site-bg-pattern);opacity:.7;background-size:28px 28px;position:fixed;inset:0;-webkit-mask-image:radial-gradient(circle at 50% 18%,#000 0%,#0000 76%);mask-image:radial-gradient(circle at 50% 18%,#000 0%,#0000 76%)}body:not(:has(.room-layout)) .app-shell{width:min(1600px,100% - 40px);padding-bottom:72px}:is(body:not(:has(.room-layout)) .app-shell,body:not(:has(.room-layout)) .app-shell *,body:not(:has(.room-layout)) .overlay-surface,body:not(:has(.room-layout)) .overlay-surface *,body:not(:has(.room-layout)) .modal-backdrop,body:not(:has(.room-layout)) .modal-backdrop *){box-sizing:border-box}body:not(:has(.room-layout)) .top-bar{z-index:50;background:color-mix(in srgb, var(--site-surface-overlay) 82%, transparent);width:100%;max-width:100%;min-height:62px;box-shadow:inset 0 -1px 0 var(--site-line-subtle), 0 10px 34px #0000001f;-webkit-backdrop-filter:blur(20px)saturate(.9);backdrop-filter:blur(20px)saturate(.9);border:0;margin:0 auto 18px;padding-left:14px;padding-right:14px;position:sticky;top:0}html[data-theme=light] body:not(:has(.room-layout)) .top-bar{box-shadow:inset 0 -1px 0 var(--site-line-subtle), 0 10px 30px #5c422614}body:not(:has(.room-layout)) .brand-mark{border-radius:var(--site-radius-control);color:var(--site-text-secondary);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--site-line-subtle) 78%, transparent);background:0 0;border:0}body:not(:has(.room-layout)) .top-nav-links button{border-radius:var(--site-radius-control);color:var(--site-text-secondary);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--site-line-subtle) 78%, transparent);background:0 0;border:0}body:not(:has(.room-layout)) .global-search{border-radius:var(--site-radius-control);color:var(--site-text-secondary);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--site-line-subtle) 78%, transparent);background:0 0;border:0}body:not(:has(.room-layout)) .theme-switch-button{border-radius:var(--site-radius-control);color:var(--site-text-secondary);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--site-line-subtle) 78%, transparent);background:0 0;border:0}body:not(:has(.room-layout)) .top-avatar-chip{border-radius:var(--site-radius-control);color:var(--site-text-secondary);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--site-line-subtle) 78%, transparent);background:0 0;border:0}body:not(:has(.room-layout)) .top-actions .secondary-button.compact{border-radius:var(--site-radius-control);color:var(--site-text-secondary);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--site-line-subtle) 78%, transparent);background:0 0;border:0}body:not(:has(.room-layout)) .brand-mark{box-shadow:none}body:not(:has(.room-layout)) .brand-icon{background:linear-gradient(135deg, var(--site-accent-primary), color-mix(in srgb, var(--site-accent-warm) 68%, var(--site-accent-primary)));color:#fff9f3;box-shadow:0 14px 32px color-mix(in srgb, var(--site-accent-primary) 18%, transparent);border:0}body:not(:has(.room-layout)) .top-nav-links button:hover{background:var(--site-surface-soft);color:var(--site-text-main);box-shadow:inset 0 0 0 1px var(--site-line-strong)}body:not(:has(.room-layout)) .top-nav-links button.active{background:var(--site-surface-soft);color:var(--site-text-main);box-shadow:inset 0 0 0 1px var(--site-line-strong)}body:not(:has(.room-layout)) .theme-switch-button:hover:not(:disabled){background:var(--site-surface-soft);color:var(--site-text-main);box-shadow:inset 0 0 0 1px var(--site-line-strong)}body:not(:has(.room-layout)) .top-avatar-chip:hover{background:var(--site-surface-soft);color:var(--site-text-main);box-shadow:inset 0 0 0 1px var(--site-line-strong)}body:not(:has(.room-layout)) .top-nav-links button.active{color:var(--site-accent-primary)}body:not(:has(.room-layout)) .global-search{background:var(--site-surface-soft)}body:not(:has(.room-layout)) .global-search input{color:var(--site-text-muted)}body:not(:has(.room-layout)) .global-search input::placeholder{color:var(--site-text-muted)}:is(body:not(:has(.room-layout)) button:focus-visible,body:not(:has(.room-layout)) a:focus-visible,body:not(:has(.room-layout)) input:focus-visible,body:not(:has(.room-layout)) textarea:focus-visible,body:not(:has(.room-layout)) select:focus-visible){box-shadow:var(--site-focus-ring), inset 0 0 0 1px color-mix(in srgb, var(--site-accent-secondary) 28%, transparent);outline:none}:is(body:not(:has(.room-layout)) input,body:not(:has(.room-layout)) textarea,body:not(:has(.room-layout)) select){border-color:var(--site-line-subtle);background:var(--site-surface-inset);color:var(--site-text-main)}body:not(:has(.room-layout)) input::placeholder{color:var(--site-text-muted)}body:not(:has(.room-layout)) textarea::placeholder{color:var(--site-text-muted)}:is(body:not(:has(.room-layout)) .primary-button,body:not(:has(.room-layout)) .pink-button,body:not(:has(.room-layout)) .wallet-submit,body:not(:has(.room-layout)) .start-confirm){border-radius:var(--site-radius-control);background:linear-gradient(135deg, color-mix(in srgb, var(--site-accent-primary) 88%, #fff 12%), var(--site-accent-primary));color:#fff9f3;box-shadow:0 16px 36px color-mix(in srgb, var(--site-accent-primary) 22%, transparent);border:0}:is(body:not(:has(.room-layout)) .primary-button:hover:not(:disabled),body:not(:has(.room-layout)) .pink-button:hover:not(:disabled),body:not(:has(.room-layout)) .wallet-submit:hover:not(:disabled),body:not(:has(.room-layout)) .start-confirm:hover:not(:disabled)){filter:brightness(1.04);transform:translateY(-1px)}body:not(:has(.room-layout)) .secondary-button{border-radius:var(--site-radius-control);background:var(--site-surface-soft);color:var(--site-text-secondary);box-shadow:inset 0 0 0 1px var(--site-line-subtle);border-color:#0000}body:not(:has(.room-layout)) .ghost-button{border-radius:var(--site-radius-control);background:var(--site-surface-soft);color:var(--site-text-secondary);box-shadow:inset 0 0 0 1px var(--site-line-subtle);border-color:#0000}body:not(:has(.room-layout)) .detail-secondary-actions button{border-radius:var(--site-radius-control);background:var(--site-surface-soft);color:var(--site-text-secondary);box-shadow:inset 0 0 0 1px var(--site-line-subtle);border-color:#0000}body:not(:has(.room-layout)) .message-toolbar button{border-radius:var(--site-radius-control);background:var(--site-surface-soft);color:var(--site-text-secondary);box-shadow:inset 0 0 0 1px var(--site-line-subtle);border-color:#0000}body:not(:has(.room-layout)) .message-filter-row button{border-radius:var(--site-radius-control);background:var(--site-surface-soft);color:var(--site-text-secondary);box-shadow:inset 0 0 0 1px var(--site-line-subtle);border-color:#0000}body:not(:has(.room-layout)) .explore-post-actions button{border-radius:var(--site-radius-control);background:var(--site-surface-soft);color:var(--site-text-secondary);box-shadow:inset 0 0 0 1px var(--site-line-subtle);border-color:#0000}body:not(:has(.room-layout)) .explore-comment-form button{border-radius:var(--site-radius-control);background:var(--site-surface-soft);color:var(--site-text-secondary);box-shadow:inset 0 0 0 1px var(--site-line-subtle);border-color:#0000}body:not(:has(.room-layout)) .secondary-button:hover:not(:disabled){background:var(--site-accent-secondary-soft);color:var(--site-accent-secondary);transform:none}body:not(:has(.room-layout)) .ghost-button:hover:not(:disabled){background:var(--site-accent-secondary-soft);color:var(--site-accent-secondary);transform:none}body:not(:has(.room-layout)) .detail-secondary-actions button:hover:not(:disabled){background:var(--site-accent-secondary-soft);color:var(--site-accent-secondary);transform:none}body:not(:has(.room-layout)) .message-toolbar button:hover:not(:disabled){background:var(--site-accent-secondary-soft);color:var(--site-accent-secondary);transform:none}body:not(:has(.room-layout)) .message-filter-row button:hover:not(:disabled){background:var(--site-accent-secondary-soft);color:var(--site-accent-secondary);transform:none}body:not(:has(.room-layout)) .explore-post-actions button:hover:not(:disabled){background:var(--site-accent-secondary-soft);color:var(--site-accent-secondary);transform:none}body:not(:has(.room-layout)) .explore-comment-form button:hover:not(:disabled){background:var(--site-accent-secondary-soft);color:var(--site-accent-secondary);transform:none}body:not(:has(.room-layout)) button:disabled{cursor:not-allowed;opacity:.52;filter:saturate(.55)}.auth-page,.legal-page{background:linear-gradient(180deg, color-mix(in srgb, var(--site-surface-base) 56%, transparent), transparent 74%), var(--site-bg-art);color:var(--site-text-main)}.auth-product-card,.auth-card,.legal-card,.auth-policy-modal{border-radius:var(--site-radius-panel);background:var(--site-surface-base);color:var(--site-text-main);box-shadow:var(--site-shadow-panel), inset 0 1px 0 var(--site-line-subtle);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border:0}.auth-product-card p,.auth-card p,.auth-helper,.auth-policy-text,.legal-card p,.legal-card li{color:var(--site-text-secondary)}.auth-card input,.auth-input-shell{border-radius:var(--site-radius-control);background:var(--site-surface-inset);box-shadow:inset 0 0 0 1px var(--site-line-subtle);border:0}.auth-primary-button{border-radius:var(--site-radius-control);background:linear-gradient(135deg, var(--site-accent-primary), color-mix(in srgb, var(--site-accent-primary) 70%, var(--site-accent-warm)));color:#fff9f3;border:0}.auth-secondary-button,.auth-link-button{color:var(--site-text-secondary)}:is(.app-shell:has(.scenario-theatre),.app-shell:has(.script-detail-page),.app-shell:has(.start-game-page),.app-shell:has(.waiting-room-page),.app-shell:has(.builder-page)){width:min(1680px,100% - 40px)}.scenario-theatre,.script-detail-page,.start-game-page,.waiting-room-page,.builder-page{color:var(--site-text-main)}.scenario-theatre{width:min(1500px,100%);padding-top:28px}.scenario-theatre .home-tabs,.scenario-theatre .clean-tabs,.scenario-theatre .scenario-tabs,.home-tabs,.clean-tabs,.scenario-tabs{background:color-mix(in srgb, var(--site-surface-base) 70%, transparent);box-shadow:inset 0 0 0 1px var(--site-line-subtle);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border:0}.scenario-theatre .home-tabs button,.scenario-theatre .clean-tabs button,.scenario-theatre .scenario-tabs button,.home-tabs button,.clean-tabs button,.scenario-tabs button{color:var(--site-text-muted);background:0 0;border:0;border-radius:999px}.scenario-theatre .home-tabs button.active,.scenario-theatre .clean-tabs button.active,.scenario-theatre .scenario-tabs button.active,.home-tabs button.active,.clean-tabs button.active,.scenario-tabs button.active{background:var(--site-surface-soft);color:var(--site-text-main);box-shadow:inset 0 -2px 0 var(--site-accent-primary)}.scenario-theatre .catalog-hero.page-command-bar,.catalog-hero,.active-room-resume{border-radius:calc(var(--site-radius-panel) + 4px);background:linear-gradient(135deg, var(--site-accent-warm-soft), transparent 44%), linear-gradient(180deg, color-mix(in srgb, var(--site-surface-raised) 88%, transparent), color-mix(in srgb, var(--site-surface-base) 74%, transparent));color:var(--site-text-main);box-shadow:var(--site-shadow-panel), inset 0 1px 0 var(--site-line-subtle);border:0}.scenario-theatre .catalog-hero.page-command-bar:before,.scenario-theatre .catalog-hero.page-command-bar:after{opacity:.22}.scenario-theatre .catalog-hero h1,.catalog-hero h1,.detail-title-row h1,.start-game-heading h1,.waiting-preview-copy h1,.builder-header h1{color:var(--site-text-main);letter-spacing:0}.scenario-theatre .command-copy,.catalog-hero span,.detail-intro,.detail-section p,.start-game-heading p,.start-option-panel p,.waiting-preview-copy p,.builder-header p{color:var(--site-text-secondary)}.scenario-theatre .popular-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));align-items:start;gap:clamp(18px,2.1vw,30px)}.scenario-theatre .popular-card,.popular-card{box-shadow:none;background:0 0;border:0;border-radius:0}.scenario-theatre .popular-card:before,.scenario-theatre .popular-card:after{display:none}.scenario-theatre .popular-card:hover,.scenario-theatre .popular-card:focus-within,.scenario-theatre .popular-card.selected{box-shadow:none;transform:translateY(-4px)}.scenario-theatre .popular-image-button,.popular-image-button{aspect-ratio:4/5;background:var(--site-surface-inset);border:0;border-radius:18px;overflow:hidden;box-shadow:0 20px 52px #00000047}html[data-theme=light] .scenario-theatre .popular-image-button,html[data-theme=light] .popular-image-button{box-shadow:0 20px 48px #5c422629}.scenario-theatre .popular-card.selected .popular-image-button{box-shadow:0 20px 52px color-mix(in srgb, var(--site-accent-warm) 22%, transparent), 0 0 0 2px color-mix(in srgb, var(--site-accent-warm) 44%, transparent)}.scenario-theatre .popular-image-button img,.scenario-theatre .popular-card:nth-child(3n+1) .popular-image-button img,.scenario-theatre .popular-card:nth-child(4n) .popular-image-button img,.popular-image-button img{object-fit:cover;filter:saturate(.9)contrast(1.02);width:100%;height:100%}.scenario-theatre .popular-card:hover .popular-image-button img,.scenario-theatre .popular-card:focus-within .popular-image-button img{transform:scale(1.035)}.scenario-theatre .sfw-badge,.scenario-theatre .heat-float{color:#fff7e8;box-shadow:none;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0807068a;border:0}.scenario-theatre .popular-card-body,.popular-card-body{background:0 0;padding:13px 2px 0}.scenario-theatre .popular-title,.popular-title{color:var(--site-text-main);letter-spacing:0;font-size:clamp(1rem,1.15vw,1.16rem);line-height:1.32}.scenario-theatre .popular-card-body p,.popular-card-body p{color:var(--site-text-muted);-webkit-line-clamp:2}.scenario-theatre .popular-meta,.popular-meta,.meta-row,.card-metrics{color:var(--site-text-muted)}.scenario-theatre .popular-meta span,.tag-row span,.detail-tags span,.detail-submeta span,.phase-list span,.waiting-room-stats span,.role-trait-list span{background:var(--site-surface-soft);color:var(--site-text-secondary);box-shadow:inset 0 0 0 1px var(--site-line-subtle);border:0}.scenario-theatre .card-action-row .secondary-button{min-height:36px}.scenario-theatre .compact-room-row,.compact-room-row,.room-row,.create-room-form,.room-list,.start-room-row{border-radius:var(--site-radius-panel);background:var(--site-surface-base);color:var(--site-text-main);box-shadow:inset 0 1px 0 var(--site-line-subtle), var(--site-shadow-soft);border:0}.scenario-theatre .compact-room-row:hover,.compact-room-row:hover,.room-row:hover,.start-room-row:hover{background:var(--site-surface-raised)}.script-detail-page:before,.start-game-page:before,.waiting-room-page:before{opacity:.2;filter:saturate(.82)brightness(.84)}html[data-theme=light] .script-detail-page:before,html[data-theme=light] .start-game-page:before,html[data-theme=light] .waiting-room-page:before{opacity:.055;filter:blur(18px)saturate(.42)brightness(1.12)}.detail-hero,.start-game-heading,.start-option-panel,.waiting-lobby-panel,.waiting-preview-panel,.detail-section,.builder-sidebar,.builder-main,.builder-panel,.builder-health,.preview-detail-card,.role-pick-card{border-radius:var(--site-radius-panel);background:linear-gradient(135deg, var(--site-accent-warm-soft), transparent 42%), var(--site-surface-base);color:var(--site-text-main);box-shadow:var(--site-shadow-soft), inset 0 1px 0 var(--site-line-subtle);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border:0}html[data-theme=light] .detail-hero{background:linear-gradient(135deg,#9d6f2f1a,#0000 38%),linear-gradient(#fffdf7db,#f6efe5c7)}html[data-theme=light] .detail-hero:before{opacity:.055;filter:blur(12px)saturate(.42)brightness(1.08);transform:scale(1.08)}html[data-theme=light] .detail-submeta,html[data-theme=light] .detail-summary-line,html[data-theme=light] .detail-intro p,html[data-theme=light] .start-game-heading span,html[data-theme=light] .start-decision-bar,html[data-theme=light] .start-decision-bar small,html[data-theme=light] .start-option-panel p,html[data-theme=light] .start-option-panel label,html[data-theme=light] .start-room-row small,html[data-theme=light] .waiting-preview-copy p,html[data-theme=light] .waiting-hint,html[data-theme=light] .waiting-section-heading small,html[data-theme=light] .dock-player small,html[data-theme=light] .character-card p,html[data-theme=light] .phase-list span{color:var(--site-text-secondary)}html[data-theme=light] .detail-highlights small,html[data-theme=light] .detail-tags span,html[data-theme=light] .detail-submeta span,html[data-theme=light] .role-trait-list span,html[data-theme=light] .start-option-label,html[data-theme=light] .waiting-lobby-header>span{color:var(--site-text-muted)}html[data-theme=light] .start-decision-bar,html[data-theme=light] .start-option-panel.primary-flow,html[data-theme=light] .start-option-panel.secondary-flow,html[data-theme=light] .waiting-lobby-panel,html[data-theme=light] .waiting-preview-panel{background:linear-gradient(135deg, #9d6f2f1a, transparent 40%), var(--site-surface-base);box-shadow:var(--site-shadow-soft), inset 0 1px 0 var(--site-line-subtle);border-color:#0000}html[data-theme=light] .start-decision-bar strong,html[data-theme=light] .start-option-panel h2,html[data-theme=light] .waiting-preview-copy h1,html[data-theme=light] .waiting-lobby-header h1,html[data-theme=light] .waiting-section-heading h2,html[data-theme=light] .role-pick-card span,html[data-theme=light] .dock-player strong,html[data-theme=light] .start-room-row strong{color:var(--site-text-main)}html[data-theme=light] .start-option-panel input{background:var(--site-surface-inset);color:var(--site-text-main);box-shadow:inset 0 0 0 1px var(--site-line-subtle);border:0}html[data-theme=light] .start-room-row,html[data-theme=light] .start-empty-room,html[data-theme=light] .waiting-support-actions,html[data-theme=light] .dock-player,html[data-theme=light] .role-pick-card{background:var(--site-surface-soft);color:var(--site-text-secondary);box-shadow:inset 0 0 0 1px var(--site-line-subtle);border-color:#0000}html[data-theme=light] .role-pick-card.selected,html[data-theme=light] .dock-player.ready{background:var(--site-accent-secondary-soft);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--site-accent-secondary) 26%, transparent)}html[data-theme=light] .waiting-preview-panel:before{opacity:.16;filter:blur(12px)saturate(.46)brightness(1.06)}html[data-theme=light] .waiting-preview-panel{text-align:center;align-content:center;justify-items:center;min-height:560px}html[data-theme=light] .waiting-preview-card{width:min(250px,58%);box-shadow:0 18px 44px #5c422624}html[data-theme=light] .waiting-preview-copy{text-align:center;justify-items:center;max-width:460px}.detail-hero>img,.start-game-heading img,.waiting-preview-card,.role-card-grid button img,.character-card img,.preview-detail-card img{box-shadow:var(--site-shadow-soft);border:0;border-radius:18px}.detail-action-panel,.detail-highlights span,.detail-secondary-actions button,.phase-list span,.role-pick-card,.waiting-player-dock button,.permission-chips button,.builder-list button,.builder-sidebar button{background:var(--site-surface-soft);color:var(--site-text-secondary);box-shadow:inset 0 0 0 1px var(--site-line-subtle);border-color:#0000}.role-pick-card.selected,.waiting-player-dock button.ready,.builder-list button.active,.builder-sidebar button.active,.permission-chips button.active{background:var(--site-accent-secondary-soft);color:var(--site-accent-secondary);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--site-accent-secondary) 28%, transparent)}body:has(.user-center-page){background:var(--site-bg-art);color:var(--site-text-main)}.user-center-page,.user-main-surface{color:var(--site-text-main);background:0 0}html[data-theme=light] body:has(.user-center-page) .top-bar{background:color-mix(in srgb, var(--site-surface-overlay) 84%, transparent);box-shadow:inset 0 -1px 0 var(--site-line-subtle), 0 10px 30px #5c422614}html[data-theme=light] .app-shell:has(.user-center-page) .top-bar{background:color-mix(in srgb, var(--site-surface-overlay) 84%, transparent);box-shadow:inset 0 -1px 0 var(--site-line-subtle), 0 10px 30px #5c422614}html[data-theme=light] body:has(.user-center-page) .brand-mark{color:var(--site-text-secondary);box-shadow:inset 0 0 0 1px var(--site-line-subtle);background:0 0}html[data-theme=light] body:has(.user-center-page) .top-nav-links button{color:var(--site-text-secondary);box-shadow:inset 0 0 0 1px var(--site-line-subtle);background:0 0}html[data-theme=light] body:has(.user-center-page) .theme-switch-button{color:var(--site-text-secondary);box-shadow:inset 0 0 0 1px var(--site-line-subtle);background:0 0}html[data-theme=light] body:has(.user-center-page) .top-avatar-chip{color:var(--site-text-secondary);box-shadow:inset 0 0 0 1px var(--site-line-subtle);background:0 0}html[data-theme=light] body:has(.user-center-page) .global-search{color:var(--site-text-secondary);box-shadow:inset 0 0 0 1px var(--site-line-subtle);background:0 0}html[data-theme=light] body:has(.user-center-page) .top-nav-links button.active{background:var(--site-surface-soft);color:var(--site-text-main)}html[data-theme=light] body:has(.user-center-page) .top-nav-links button:hover{background:var(--site-surface-soft);color:var(--site-text-main)}html[data-theme=light] body:has(.user-center-page) .theme-switch-button:hover:not(:disabled){background:var(--site-surface-soft);color:var(--site-text-main)}html[data-theme=light] body:has(.user-center-page) .top-avatar-chip:hover{background:var(--site-surface-soft);color:var(--site-text-main)}.profile-surface,.profile-edit-form,.profile-performance-panel,.profile-credit-panel,.settings-panel,.wallet-page,.message-thread-list,.message-chat-panel,.explore-quick-composer,.explore-composer,.profile-social-dialog,.account-drawer-backdrop .account-drawer-panel{border-radius:var(--site-radius-panel);background:var(--site-surface-base);color:var(--site-text-main);box-shadow:var(--site-shadow-soft), inset 0 1px 0 var(--site-line-subtle);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border:0}.profile-hero-band{opacity:.58;filter:saturate(.82)}html[data-theme=light] .profile-hero-band{opacity:.36;filter:saturate(.74)brightness(1.08)}.profile-head img,.side-profile img,.top-avatar-chip img,.message-friend-strip img,.profile-social-card img,.explore-post-card header img,.explore-comment img{background:var(--site-surface-soft);box-shadow:inset 0 0 0 1px var(--site-line-subtle), 0 10px 24px #0000002e;border:0}.profile-title h1,.profile-script-copy strong,.profile-stats strong,.settings-panel h1,.wallet-hero strong,.wallet-vip-card strong,.message-chat-panel header strong,.thread-row strong,.explore-post-card header strong,.explore-comment strong{color:var(--site-text-main)}.profile-bio,.profile-title span,.profile-title small,.profile-script-copy span,.profile-script-copy p,.profile-action-card small,.settings-panel p,.wallet-rules,.message-chat-panel header span,.thread-row p,.explore-post-card p,.explore-post-card header span,.explore-comment p{color:var(--site-text-secondary)}.profile-stats,.profile-action-card,.profile-script-card,.profile-empty-shelf,.settings-card,.settings-safety-row,.wallet-hero,.wallet-vip-card,.wallet-package-grid button,.wallet-channel-row button,.wallet-rules,.message-friend-strip button,.thread-row,.explore-post-card,.explore-post-media,.explore-comment p,.profile-social-card,.profile-social-empty{border-radius:var(--site-radius-control);background:var(--site-surface-soft);color:var(--site-text-secondary);box-shadow:inset 0 0 0 1px var(--site-line-subtle);border:0}.profile-action-card:hover,.profile-script-card:hover,.wallet-package-grid button:hover:not(:disabled),.wallet-channel-row button:hover:not(:disabled),.message-friend-strip button:hover:not(:disabled),.thread-row:hover,.explore-post-actions button:hover:not(:disabled),.profile-social-card:hover{background:var(--site-surface-raised);transform:translateY(-1px)}.profile-tabs,.explore-stream-tabs{border-color:var(--site-line-subtle);background:color-mix(in srgb, var(--site-surface-overlay) 76%, transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.profile-tabs button,.explore-stream-tabs button{color:var(--site-text-muted)}.profile-tabs button.active,.explore-stream-tabs button.active,.message-filter-row button.active,.wallet-package-grid button.active,.wallet-channel-row button.active,.profile-social-tabs button.active,.message-friend-strip button.active,.thread-row.active{background:var(--site-accent-primary-soft);color:var(--site-text-main);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--site-accent-primary) 28%, transparent)}.explore-quick-composer input,.explore-composer textarea,.explore-composer select,.explore-comment-form input,.profile-edit-form input,.profile-edit-form textarea,.profile-edit-form select,.setting-row select{background:var(--site-surface-inset);box-shadow:inset 0 0 0 1px var(--site-line-subtle);border:0}.explore-publish-button,.explore-comment-form button{background:var(--site-accent-primary);color:#fff9f3;border:0}.wallet-package-grid button strong,html[data-theme=light] .wallet-package-grid button span,html[data-theme=light] .wallet-package-grid button strong,html[data-theme=light] .wallet-channel-row button strong,html[data-theme=light] .wallet-section-title strong{color:var(--site-text-main)}html[data-theme=light] .wallet-package-grid button small,html[data-theme=light] .wallet-package-grid button p,html[data-theme=light] .wallet-channel-row button small,html[data-theme=light] .wallet-hero small,html[data-theme=light] .wallet-vip-card span,html[data-theme=light] .wallet-vip-card em,html[data-theme=light] .wallet-rules,html[data-theme=light] .order-row small,html[data-theme=light] .ai-charge-row small{color:var(--site-text-secondary)}html[data-theme=light] .wallet-package-grid button.active,html[data-theme=light] .wallet-channel-row button.active{background:linear-gradient(135deg, #d927791a, #1586750b), var(--site-surface-soft)}html[data-theme=light] .message-article,html[data-theme=light] .message-article p,html[data-theme=light] .message-article-signature,html[data-theme=light] .message-empty-state,html[data-theme=light] .chat-bubble-row p,html[data-theme=light] .thread-row p,html[data-theme=light] .thread-row span,html[data-theme=light] .message-chat-panel header span{color:var(--site-text-secondary)}html[data-theme=light] .message-article-kicker,html[data-theme=light] .message-article p:first-of-type,html[data-theme=light] .message-chat-panel header strong,html[data-theme=light] .thread-row strong{color:var(--site-text-main)}.setting-row{border-bottom-color:var(--site-line-subtle)}.setting-row input[type=checkbox]{background:var(--site-surface-inset);box-shadow:inset 0 0 0 1px var(--site-line-subtle);border:0}.setting-row input[type=checkbox]:checked{background:linear-gradient(135deg, var(--site-accent-primary), var(--site-accent-secondary))}.overlay-backdrop,.modal-backdrop,.account-drawer-backdrop,.profile-social-backdrop{background:radial-gradient(circle at 50% 12%, color-mix(in srgb, var(--site-accent-warm) 12%, transparent), transparent 28rem), color-mix(in srgb, var(--site-bg) 72%, transparent);-webkit-backdrop-filter:blur(14px)saturate(.88);backdrop-filter:blur(14px)saturate(.88)}.overlay-surface,.info-modal,.script-reader-modal,.clue-drawer-modal,.message-thread-modal,.profile-social-dialog{border-radius:var(--site-radius-panel);background:var(--site-surface-overlay);color:var(--site-text-main);box-shadow:var(--site-shadow-panel), inset 0 1px 0 var(--site-line-subtle);border:0}.overlay-header,.overlay-footer,.modal-header,.script-reader-toolbar,.message-chat-panel header{border-color:var(--site-line-subtle);background:color-mix(in srgb, var(--site-surface-overlay) 84%, transparent)}.overlay-header span,.modal-header span,.script-reader-toolbar>span,.script-page-status-row span{color:var(--site-accent-warm)}.overlay-header h2,.modal-header h2,.script-page-content h3,.game-clue-card strong,.player-profile-hero strong{color:var(--site-text-main)}.overlay-content,.script-reading-text,.script-page-content p,.clue-detail-body p,.info-modal p{color:var(--site-text-secondary)}.overlay-close-button,.game-modal .icon-button,.modal-close,.side-close-button,.profile-social-dialog header button{background:var(--site-surface-soft);color:var(--site-text-secondary);box-shadow:inset 0 0 0 1px var(--site-line-subtle);border:0;border-radius:999px}.script-page-list,.script-page-content,.game-clue-card,.clue-detail-meta span,.message-image-grid figure,.reply-suggestion-list button,.player-profile-hero,.player-credit-box,.moderation-box,.search-location-card,.drawer-status-grid div{background:var(--site-surface-soft);color:var(--site-text-secondary);box-shadow:inset 0 0 0 1px var(--site-line-subtle);border-color:#0000}.script-page-list button.active,.reader-mode-toggle button.active,.read-confirm-inline.active,.read-confirm-button.active{background:var(--site-accent-secondary-soft);color:var(--site-accent-secondary)}@media (width<=1120px){body:not(:has(.room-layout)) .app-shell{width:min(100% - 28px,1180px)}.app-shell:has(.scenario-theatre){width:min(100% - 28px,1180px)}.app-shell:has(.script-detail-page){width:min(100% - 28px,1180px)}.app-shell:has(.start-game-page){width:min(100% - 28px,1180px)}.app-shell:has(.waiting-room-page){width:min(100% - 28px,1180px)}.app-shell:has(.builder-page){width:min(100% - 28px,1180px)}.scenario-theatre .popular-grid{grid-template-columns:repeat(auto-fit,minmax(184px,1fr))}.wallet-package-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=820px){body:not(:has(.room-layout)) .app-shell{width:100%;padding:0 12px 48px}body:not(:has(.room-layout)) .top-bar{grid-template-columns:44px minmax(0,1fr) 44px;gap:6px;min-height:54px;margin:0 -12px 14px;padding:7px 8px;overflow:hidden}:is(body:not(:has(.room-layout)) .nav-brand-button,body:not(:has(.room-layout)) .brand-icon,body:not(:has(.room-layout)) .top-avatar-chip){width:40px;min-width:40px;height:40px}body:not(:has(.room-layout)) .nav-brand-button{justify-content:center;padding:0}:is(body:not(:has(.room-layout)) .nav-brand-button>div,body:not(:has(.room-layout)) .top-avatar-chip span){display:none}body:not(:has(.room-layout)) .top-nav-links{justify-content:center;gap:4px;min-width:0;overflow:hidden}body:not(:has(.room-layout)) .top-nav-links button{width:40px;min-width:40px;min-height:40px;padding:0;font-size:0;position:relative}body:not(:has(.room-layout)) .top-nav-links button svg{width:17px;height:17px;margin:0}body:not(:has(.room-layout)) .top-actions{justify-content:flex-end;width:44px;min-width:44px;overflow:visible}body:not(:has(.room-layout)) .top-actions>:not(.top-avatar-chip){display:none}.scenario-theatre{padding-inline:0}.scenario-theatre .catalog-hero.page-command-bar,.catalog-hero,.detail-hero,.start-game-heading,.start-option-panel,.waiting-lobby-panel,.waiting-preview-panel,.settings-panel,.wallet-page,.message-thread-list,.message-chat-panel,.profile-surface,.explore-quick-composer,.explore-composer{border-radius:18px}.scenario-theatre .popular-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.scenario-theatre .popular-title{font-size:.94rem}.scenario-theatre .popular-card-body p{display:none}.detail-hero,.start-options-grid,.waiting-room-layout,.builder-layout,.user-message-page,.wallet-top-grid{grid-template-columns:1fr!important}.settings-panel,.wallet-page,.explore-page-shell,.profile-surface{width:100%}.chat-bubble-list{padding:16px 12px}.overlay-surface,.script-reader-modal,.clue-drawer-modal,.message-thread-modal{border-radius:0;width:100vw;height:100dvh;max-height:100dvh}}@media (width<=420px){.scenario-theatre .popular-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 10px}.scenario-theatre .popular-image-button{border-radius:14px}.scenario-theatre .popular-meta{display:none}.wallet-package-grid,.wallet-channel-row,.profile-action-grid,.profile-script-grid,.explore-composer-controls{grid-template-columns:1fr!important}}
