:root{color:#f6f4ef;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;line-height:1.45;text-rendering:optimizeLegibility;background:#0b0b0c;color-scheme:dark}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;overflow:hidden}body{min-width:320px;margin:0;background:radial-gradient(circle at 50% 24%,rgba(239,23,23,.18),transparent 30%),radial-gradient(circle at 78% 42%,rgba(120,213,255,.08),transparent 22%),linear-gradient(135deg,#0f0f11,#16120f 48%,#080809)}button,input,textarea{font:inherit}button{min-height:40px;border:0;border-radius:12px;padding:0 14px;color:#fff;font-weight:850;background:#ef1717;cursor:pointer;transition:transform .15s ease,background .15s ease,border-color .15s ease,box-shadow .15s ease}button:hover{background:#ff3131;transform:translateY(-1px)}button:active{transform:translateY(0)}button:disabled{opacity:.7;cursor:wait}button:disabled:hover{transform:none}.ghost{border:1px solid rgba(246,244,239,.12);color:#f6f4ef;background:#f6f4ef0f}.ghost:hover{background:#f6f4ef1c}.workspace-shell{display:grid;grid-template-columns:248px minmax(0,1fr);height:100%}.workspace-shell.editor-rail-collapsed{grid-template-columns:76px minmax(0,1fr)}.editor-rail-collapsed .rail{gap:14px;padding:12px}.editor-rail-collapsed .brand{justify-content:center}.editor-rail-collapsed .brand span,.editor-rail-collapsed .user-card div:last-child{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.editor-rail-collapsed .nav-list button{justify-content:center;min-height:42px;padding:0;text-align:center}.editor-rail-collapsed .nav-list button span{display:none}.editor-rail-collapsed .nav-list button:before{content:attr(data-short);font-weight:950}.editor-rail-collapsed .user-card{justify-content:center;padding:8px}.rail{display:flex;flex-direction:column;gap:24px;min-height:0;border-right:1px solid rgba(246,244,239,.08);padding:18px;background:#080809d1;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.brand{display:flex;align-items:center;justify-content:flex-start;gap:11px;width:100%;min-height:42px;padding:0;color:inherit;text-align:left;background:transparent}.brand:hover{background:transparent;transform:none}.brand img{width:38px;height:38px;border-radius:10px;object-fit:cover;box-shadow:0 0 22px #ef171775}.brand span{font-size:1.02rem;font-weight:900}.nav-list{display:grid;gap:6px}.nav-list button{justify-content:flex-start;width:100%;color:#aaa39a;text-align:left;background:transparent}.nav-list button:hover,.nav-list .active{color:#fff;background:#ef171729}.nav-list .locked{color:#746e68}.user-card{position:relative;display:flex;align-items:center;justify-content:flex-start;gap:10px;width:100%;min-width:0;min-height:56px;margin-top:auto;border:1px solid rgba(246,244,239,.1);border-radius:16px;padding:10px;color:inherit;text-align:left;background:#f6f4ef0d}.user-card:hover{background:#f6f4ef17}.guest-card{cursor:default}.guest-card:hover{background:#f6f4ef0d;transform:none}.avatar,.user-card>img{display:grid;flex:0 0 auto;place-items:center;width:34px;height:34px;border-radius:10px}.avatar{color:#fff;font-weight:900;background:#ef1717}.user-card>img{object-fit:cover}.user-card strong,.user-card span{display:block}.user-card div:last-child{min-width:0}.user-card span,.game-card span,.usage-stats span,.idea-card span,.friend-card span,.friend-card p,.auth-slot span{color:#aaa39a}.auth-slot,.auth-slot>div,.auth-slot iframe{background:transparent!important}.auth-slot{display:flex;flex:0 0 268px;align-items:center;justify-content:flex-end;width:268px;min-width:268px;height:48px;min-height:48px;border-radius:999px;padding:2px;overflow:visible;isolation:isolate}.auth-slot>div{display:block;width:260px!important;min-width:260px!important;height:44px!important;min-height:44px!important;line-height:0}.auth-slot iframe{width:260px!important;min-width:260px!important;height:44px!important;min-height:44px!important;border:0!important;border-radius:999px!important}.auth-slot>div{height:44px!important;line-height:0;border-radius:999px;overflow:hidden}.auth-slot iframe{border:0!important;border-radius:999px!important}.user-card span{overflow:hidden;font-size:.8rem;text-overflow:ellipsis;white-space:nowrap}.online-dot{position:absolute;right:9px;top:9px;width:9px;height:9px;border:2px solid #171719;border-radius:50%;background:#37e68c;box-shadow:0 0 12px #37e68ccc}.online-dot.offline{background:#766f68;box-shadow:none}.workspace-main{display:grid;grid-template-rows:auto auto minmax(0,1fr);min-width:0;min-height:0;padding:18px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:58px;min-width:0}.eyebrow{min-width:0;color:#ff6969;font-size:.78rem;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.auth-slot{position:relative;border-radius:999px;padding:4px}.auth-slot.auth-attention{background:#ddef1729;box-shadow:0 0 0 4px #c7ef1738,0 0 34px #efb5177a;animation:auth-nudge .9s ease-in-out 2}@keyframes auth-nudge{0%,to{transform:translateY(0) scale(1)}50%{transform:translateY(-1px) scale(1.015)}}.auth-slot span{max-width:260px;font-size:.86rem;text-align:right}.auth-status{min-width:190px}.notice-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;border:1px solid rgba(255,180,84,.34);border-radius:14px;padding:10px 12px;color:#ffd19b;font-weight:800;background:#ffb4541a}.notice-banner span{min-width:0}.notice-banner button{flex:0 0 auto;width:28px;min-width:28px;height:28px;min-height:28px;padding:0;color:#ffd19b;background:#ffb4541f}.tab-surface{display:grid;min-height:0}.composer-card,.panel-view{min-height:0;border:1px solid rgba(246,244,239,.1);border-radius:22px;background:#121214c7;box-shadow:0 20px 64px #00000057}.composer-card{position:relative;display:grid;align-content:center;gap:24px;padding:clamp(24px,5vw,56px);overflow:hidden}.composer-card:before{content:"";position:absolute;top:10%;right:10%;bottom:10%;left:10%;background:radial-gradient(circle at 45% 40%,rgba(239,23,23,.18),transparent 42%),radial-gradient(circle at 68% 34%,rgba(120,213,255,.12),transparent 28%);filter:blur(12px);pointer-events:none}.composer-card:after{content:"";position:absolute;inset:auto 10% 8%;height:150px;background-image:linear-gradient(rgba(255,105,105,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(255,105,105,.1) 1px,transparent 1px);background-size:30px 30px;opacity:.72;transform:perspective(480px) rotateX(62deg);transform-origin:center bottom;pointer-events:none}.composer-copy,.prompt-box,.home-upgrade{position:relative;z-index:1}.composer-copy{display:grid;justify-items:center;max-width:850px;margin:0 auto;text-align:center}.hero-logo{width:54px;height:54px;margin-bottom:18px;border-radius:14px;object-fit:cover;box-shadow:0 0 32px #ef171785}.composer-copy h1{max-width:900px;margin:0;color:#fffaf4;font-size:clamp(2.35rem,5vw,4.75rem);font-weight:900;line-height:1.05;letter-spacing:-.035em;text-shadow:0 2px 28px rgba(0,0,0,.38);text-wrap:balance}.composer-copy p{max-width:690px;margin:14px 0 0;color:#bbb2aa;font-size:clamp(1rem,1.35vw,1.2rem);font-weight:650;text-wrap:balance}.prompt-box{display:grid;gap:10px;width:100%;max-width:820px;margin:0 auto;border:1px solid rgba(246,244,239,.14);border-radius:22px;padding:12px;background:#080809e0;box-shadow:inset 0 1px #ffffff0a,0 18px 60px #00000038;overflow:visible}.attachment-tray{min-height:34px}.empty-attachments{display:block;padding:6px 4px 2px;color:#8f8880;font-size:.84rem}.file-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;width:100%}.file-chip{display:grid;grid-template-columns:34px minmax(0,1fr) 28px;align-items:center;gap:8px;min-width:0;height:46px;border:1px solid rgba(246,244,239,.1);border-radius:14px;padding:6px;overflow:hidden;color:#cfc8bf;font-size:.82rem;background:#f6f4ef0d}.file-chip img,.file-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;object-fit:cover;background:#ef171729}.file-icon{color:#ff8c8c;font-size:.62rem;font-weight:950}.file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.remove-file-button{display:grid;place-items:center;width:28px;height:28px;min-height:28px;border:1px solid rgba(246,244,239,.1);border-radius:9px;padding:0;color:#f6f4ef;font-size:1.1rem;line-height:1;background:#f6f4ef0f}.remove-file-button:hover{background:#ef17174d}textarea{width:100%;height:136px;min-height:96px;border:0;border-radius:16px;padding:15px;resize:none;color:#fff;background:#f6f4ef0f;box-shadow:inset 0 0 0 1px transparent;outline:none;transition:background .16s ease,box-shadow .16s ease}textarea:focus{background:#f6f4ef14;box-shadow:inset 0 0 0 1px #ff696952}textarea::placeholder{color:#8b837b}.prompt-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.attachment-count{margin-right:auto;color:#8f8880;font-size:.82rem;font-weight:700}.attach-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border:1px solid rgba(246,244,239,.12);border-radius:14px;padding:0 14px;color:#f6f4ef;font-weight:850;background:#f6f4ef0f;cursor:pointer}.attach-button:hover{background:#f6f4ef1c}.attach-button input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}.generate-button{min-width:132px;background:#ef1717;box-shadow:0 0 24px #ef171742}.upgrade-button{position:relative;isolation:isolate;overflow:clip;border:1px solid rgba(246,244,239,.14);color:#f6f4ef;background:#f6f4ef14}.upgrade-button:hover{background:#f6f4ef24}.home-upgrade{position:relative;isolation:isolate;overflow:clip;display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;max-width:820px;margin:0 auto;border:1px solid rgba(246,244,239,.12);border-radius:18px;padding:12px;background:#f6f4ef0d}.home-upgrade strong,.home-upgrade span{display:block}.home-upgrade span{color:#aaa39a;font-size:.88rem}.panel-view{display:grid;grid-template-rows:auto minmax(0,1fr);gap:16px;padding:clamp(16px,3vw,30px);overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#fff;font-weight:900}.panel-heading>span{font-size:clamp(1.4rem,2.3vw,2.2rem)}.game-grid,.explore-grid,.usage-stats{display:grid;gap:12px}.game-grid,.explore-grid{align-content:start;padding-right:4px;overflow:auto}.game-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.explore-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.game-card,.idea-card,.usage-stats div{border:1px solid rgba(246,244,239,.08);border-radius:18px;padding:14px;background:#f6f4ef0a}.game-card,.idea-card{display:grid;gap:12px;min-height:170px}.game-card-button{width:100%;min-height:0;color:inherit;text-align:left}.game-card-button:hover{border-color:#ef17174d;background:#ef171714}.game-card strong,.game-card span,.game-card a,.game-card small,.game-card em,.idea-card strong,.idea-card span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis}.game-card span,.game-card a,.game-card em{white-space:nowrap}.game-card a{color:#ff8c8c;text-decoration:none}.game-card a:hover{color:#fff;text-decoration:underline}.game-card .game-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto}.game-thumb{position:relative;height:clamp(116px,18vw,180px);border-radius:16px;overflow:hidden;background:#121214}.game-thumb:before,.game-thumb:after,.game-thumb span{content:"";position:absolute}.game-thumb.relay{background:linear-gradient(135deg,rgba(255,49,49,.24),transparent 40%),linear-gradient(160deg,#08090c,#142238)}.game-thumb.relay:before{inset:58% -10% auto;height:42%;background-image:linear-gradient(rgba(255,105,105,.32) 1px,transparent 1px),linear-gradient(90deg,rgba(255,105,105,.32) 1px,transparent 1px);background-size:22px 22px;transform:perspective(280px) rotateX(62deg)}.game-thumb.relay:after{left:28%;top:36%;width:42%;height:12%;border-radius:10px;background:#ff3131;box-shadow:0 0 28px #ff3131b8;transform:skew(-20deg)}.game-thumb.relay span{right:22%;top:28%;width:18px;height:18px;border-radius:50%;background:#78d5ff;box-shadow:0 0 18px #78d5ffb3}.game-thumb.skyforge{background:linear-gradient(160deg,rgba(255,165,65,.22),transparent 38%),linear-gradient(180deg,#1c2632,#0d0f12)}.game-thumb.skyforge:before{bottom:16%;left:18%;width:64%;height:34%;background:linear-gradient(145deg,#798da0,#24303b);clip-path:polygon(50% 0,100% 100%,0 100%)}.game-thumb.skyforge:after{left:40%;top:22%;width:22%;height:48%;border-radius:10px;background:#ffb454;box-shadow:0 0 28px #ffb4548a}.game-thumb.skyforge span{left:16%;top:18%;width:26%;height:9%;border-radius:999px;background:#ffffff42}.game-thumb.heist{background:radial-gradient(circle at 72% 28%,rgba(143,106,255,.56),transparent 12%),linear-gradient(145deg,#111020,#050506)}.game-thumb.heist:before{bottom:18%;left:14%;width:72%;height:16%;border-radius:10px;background:#2c3346;transform:skew(-16deg)}.game-thumb.heist:after{left:32%;top:36%;width:36%;height:28%;border-radius:10px;background:#d7dff4;box-shadow:0 0 26px #d7dff466;transform:rotate(-8deg)}.game-thumb.heist span{left:42%;top:45%;width:16%;height:8%;border-radius:999px;background:#ef1717}.game-thumb.party{background:radial-gradient(circle at 24% 28%,rgba(120,213,255,.6),transparent 12%),radial-gradient(circle at 74% 34%,rgba(255,180,84,.48),transparent 13%),linear-gradient(145deg,#18121f,#0a0a0d)}.game-thumb.party:before{bottom:18%;left:16%;width:68%;height:18%;border-radius:10px;background:#3b4252;transform:skew(-12deg)}.game-thumb.party:after{left:22%;top:48%;width:18%;height:24%;border-radius:999px 999px 10px 10px;background:#78d5ff;box-shadow:44px -12px #ffb454,86px 2px #ef1717}.game-thumb.party span{right:18%;top:18%;width:28px;height:28px;border-radius:50%;background:#fff3}.game-card small,.idea-card small{width:max-content;border-radius:999px;padding:4px 7px;color:#ff8c8c;font-weight:900;background:#ef171724}.game-card em{color:#aaa39a;font-size:.82rem;font-style:normal}.empty-state{display:grid;place-content:center;gap:8px;min-height:320px;border:1px dashed rgba(246,244,239,.16);border-radius:18px;color:#aaa39a;text-align:center}.empty-state strong{color:#fff;font-size:1.2rem}.loading-state{display:grid;place-items:center;place-content:center;gap:10px;min-height:320px;border:1px solid rgba(246,244,239,.1);border-radius:18px;color:#aaa39a;text-align:center;background:#f6f4ef09}.loading-state.compact{display:inline-flex;min-height:0;border:0;padding:6px 10px;background:transparent}.loading-state strong{color:#fff}.loading-state span:not(.loading-spinner){font-size:.9rem}.loading-spinner{width:26px;height:26px;border:3px solid rgba(246,244,239,.18);border-top-color:#ef1717;border-radius:999px;animation:spin .78s linear infinite}.loading-state.compact .loading-spinner{width:18px;height:18px;border-width:2px}@keyframes spin{to{transform:rotate(360deg)}}.game-workbench{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);min-height:0;border:1px solid rgba(246,244,239,.1);border-radius:22px;overflow:hidden;background:#121214c7;box-shadow:0 20px 64px #00000057}.prompt-sidepanel{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:14px;min-height:0;border-right:1px solid rgba(246,244,239,.08);padding:16px;background:#08080994}.back-button{justify-self:start}.prompt-sidepanel-title{display:grid;gap:4px}.prompt-sidepanel-title span,.history-item small,.history-item span,.queue-copy p{color:#aaa39a}.prompt-sidepanel-title strong{font-size:1.22rem;line-height:1.15}.history-list{display:grid;align-content:start;gap:10px;min-height:0;padding-right:4px;overflow:auto}.history-item{display:grid;gap:8px;border:1px solid rgba(246,244,239,.08);border-radius:16px;padding:12px;background:#f6f4ef0a}.history-item small{font-weight:900;text-transform:uppercase}.history-item p{margin:0}.history-item span{font-size:.84rem}.side-prompt-form{display:grid;gap:10px}.side-prompt-form textarea{height:96px}.game-stage{position:relative;display:grid;place-items:center;min-height:0;padding:clamp(22px,5vw,60px);overflow:hidden;background:linear-gradient(135deg,rgba(239,23,23,.14),transparent 36%),linear-gradient(160deg,#111113,#09090a)}.game-stage:before{content:"";position:absolute;top:18%;right:18%;bottom:18%;left:18%;border-radius:18px;background-image:linear-gradient(rgba(255,105,105,.16) 1px,transparent 1px),linear-gradient(90deg,rgba(255,105,105,.16) 1px,transparent 1px);background-size:34px 34px;transform:perspective(420px) rotateX(58deg);transform-origin:center bottom}.queue-orbit{position:relative;width:min(52vw,360px);aspect-ratio:1}.queue-orbit:before{content:"";position:absolute;top:24%;right:24%;bottom:24%;left:24%;border:1px solid rgba(246,244,239,.14);border-radius:50%;background:#ef17171a;box-shadow:0 0 70px #ef171747}.queue-orbit span{position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid rgba(255,105,105,.28);border-radius:50%;animation:queue-spin 4.5s linear infinite}.queue-orbit span:nth-child(2){top:10%;right:10%;bottom:10%;left:10%;border-color:#78d5ff3d;animation-direction:reverse;animation-duration:6.2s}.queue-orbit span:nth-child(3){top:20%;right:20%;bottom:20%;left:20%;border-color:#ffb4543d;animation-duration:3.8s}.queue-orbit span:before{content:"";position:absolute;left:50%;top:-5px;width:10px;height:10px;border-radius:50%;background:#ff3131;box-shadow:0 0 18px #ff3131db}.queue-copy{position:relative;z-index:1;display:grid;gap:10px;max-width:520px;text-align:center}.queue-copy small{justify-self:center;border-radius:999px;padding:5px 9px;color:#ff8c8c;font-weight:900;background:#ef171729}.queue-copy h2{margin:0;font-size:clamp(2rem,5vw,4rem);line-height:.98}.queue-copy p{margin:0}.queue-copy a{color:#ff8c8c;font-weight:900;text-decoration:none}.queue-copy a:hover{color:#fff}.usage-layout{display:grid;grid-template-columns:minmax(230px,.7fr) minmax(0,1.3fr);grid-template-rows:auto minmax(0,1fr);gap:12px;min-height:0}.usage-view{overflow:hidden}.subscription-card{display:grid;grid-column:1 / -1;gap:8px;border:1px solid rgba(239,23,23,.24);border-radius:18px;padding:12px;background:#ef171714}.subscription-card span,.subscription-card p,.subscription-card small{color:#aaa39a}.subscription-card strong{display:block;margin-top:2px;font-size:1.45rem}.subscription-card p{max-width:680px;margin:4px 0 0}.usage-meter{height:12px;border-radius:999px;overflow:hidden;background:#f6f4ef14}.usage-meter span{display:block;height:100%;border-radius:inherit;background:#ef1717}.usage-stats{grid-template-columns:repeat(2,minmax(0,1fr));align-content:start}.usage-stats div{min-height:86px}.usage-stats strong{display:block;font-size:clamp(1.45rem,2.4vw,2.2rem);line-height:1}.usage-stats span{display:block;margin-top:10px}.tier-grid{display:grid;grid-column:2;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-height:0;overflow:visible}.tier-card{display:grid;grid-template-rows:auto auto auto;gap:8px;border:1px solid rgba(246,244,239,.08);border-radius:18px;padding:12px;background:#f6f4ef0a}.tier-card.featured{position:relative;isolation:isolate;overflow:clip;border-color:#ef17175c;background:linear-gradient(180deg,#ef17171f,#f6f4ef0a)}.upgrade-button:after,.tier-card.featured:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;pointer-events:none;transform:translate(-120%);animation:upgrade-glimmer 2.6s ease-in-out infinite;background:linear-gradient(105deg,transparent 0%,rgba(255,255,255,.02) 34%,rgba(255,255,255,.22) 48%,rgba(255,255,255,.04) 62%,transparent 100%)}.upgrade-button>*,.tier-card.featured>*{position:relative;z-index:1}@keyframes upgrade-glimmer{0%{transform:translate(-120%)}44%,to{transform:translate(120%)}}.tier-card span,.tier-card p,.tier-card li{color:#aaa39a}.tier-card strong{display:block;margin-top:4px;font-size:1.55rem}.tier-card p{margin:6px 0 0}.tier-card ul{display:grid;gap:4px;margin:0;padding-left:18px}.profile-grid{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);gap:12px}.profile-card{display:grid;align-content:start;gap:14px;border:1px solid rgba(246,244,239,.08);border-radius:18px;padding:16px;background:#f6f4ef0a}.profile-card>img,.profile-avatar{width:72px;height:72px;border-radius:18px}.profile-card>img{object-fit:cover}.profile-avatar{display:grid;place-items:center;color:#fff;font-size:2rem;font-weight:900;background:#ef1717}.profile-card strong,.profile-card span,.profile-card small{display:block}.profile-card span,.profile-card small{color:#aaa39a}.inline-dot{display:inline-block!important;width:8px;height:8px;margin-right:6px;border-radius:50%;background:#37e68c;box-shadow:0 0 10px #37e68cb3}.friend-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-content:start;gap:12px;overflow:auto}.friend-card{display:grid;gap:10px;min-height:190px;border:1px solid rgba(246,244,239,.08);border-radius:18px;padding:14px;background:#f6f4ef0a}.friend-avatar{position:relative;display:grid;place-items:center;width:48px;height:48px;border-radius:14px;color:#fff;font-weight:900;background:#ef171729}.friend-avatar .online-dot{right:-3px;top:-3px}.friend-card strong,.friend-card span,.friend-card small,.friend-card p{display:block}.friend-card small{width:max-content;border-radius:999px;padding:4px 7px;color:#cfc8bf;font-weight:900;background:#f6f4ef14}.friend-card p{margin:0}@keyframes queue-spin{to{transform:rotate(360deg)}}@media (max-width: 1180px){.explore-grid,.friend-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.usage-layout{grid-template-columns:1fr;overflow:auto}.tier-grid{grid-column:auto}}@media (max-width: 860px){html,body,#root{overflow:auto}.workspace-shell{grid-template-columns:1fr;height:auto;min-height:100%}.rail{position:sticky;top:0;z-index:5;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;border-bottom:1px solid rgba(246,244,239,.08);border-right:0}.nav-list{grid-auto-flow:column;overflow-x:auto}.nav-list button{width:auto;white-space:nowrap}.user-card{width:54px;margin-top:0}.user-card div:last-child{display:none}.workspace-main{min-height:calc(100vh - 80px)}.game-grid,.explore-grid,.friend-grid,.profile-grid,.tier-grid,.game-workbench{grid-template-columns:1fr}.prompt-sidepanel{border-bottom:1px solid rgba(246,244,239,.08);border-right:0}}@media (max-width: 560px){.workspace-main,.rail{padding:12px}.topbar{flex-direction:column;align-items:flex-start;min-height:0;margin-bottom:14px}.auth-slot{justify-content:flex-start;width:268px;min-width:268px}.composer-card{padding:18px}.composer-copy h1{font-size:clamp(2.1rem,15vw,3.7rem)}.prompt-actions,.home-upgrade{flex-direction:column;align-items:stretch}.attachment-count{margin-right:0}.prompt-actions button,.prompt-actions label,.home-upgrade button{width:100%}.usage-stats{grid-template-columns:1fr}}.onboarding-card{display:grid;place-content:center;gap:24px;min-height:0;border:1px solid rgba(246,244,239,.1);border-radius:22px;padding:clamp(24px,5vw,56px);overflow:hidden;background:radial-gradient(circle at 50% 24%,rgba(239,23,23,.16),transparent 32%),#121214c7;box-shadow:0 20px 64px #00000057}.onboarding-copy{display:grid;justify-items:center;max-width:680px;text-align:center}.onboarding-copy span{color:#ff6969;font-size:.78rem;font-weight:950;letter-spacing:.14em;text-transform:uppercase}.onboarding-copy h1{margin:8px 0 0;font-size:clamp(2.2rem,5vw,4.2rem);line-height:1}.onboarding-copy p{max-width:560px;margin:14px 0 0;color:#bbb2aa;font-weight:650}.username-form{display:grid;gap:10px;width:min(100%,480px);margin:0 auto;border:1px solid rgba(246,244,239,.12);border-radius:22px;padding:16px;background:#080809d1}.username-form label{color:#f6f4ef;font-weight:900}.username-input-shell{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:4px;border:1px solid rgba(246,244,239,.12);border-radius:16px;padding:0 12px;background:#f6f4ef0f}.username-input-shell span{color:#ff8c8c;font-weight:950}.username-input-shell input{width:100%;height:48px;border:0;color:#fff;background:transparent;outline:none}.username-status{min-height:22px;color:#aaa39a;font-weight:800}.username-status.checking{color:#ffd19b}.username-status.available{color:#7af0ae}.username-status.taken,.username-status.invalid{color:#ff8c8c}.chat-sidepanel{position:relative;z-index:10;overflow:visible!important;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto;gap:12px;min-height:0;border-right:1px solid rgba(246,244,239,.08);padding:16px;background:#0808099e}.chat-panel-header{display:flex;align-items:start;justify-content:space-between;gap:12px}.chat-panel-header div{display:grid;gap:4px;min-width:0}.chat-panel-header span,.chat-thread small,.mini-game-status small,.chat-stage-header small,.chat-bubble time,.chat-bubble small{color:#aaa39a}.chat-panel-header strong{overflow:hidden;font-size:1.14rem;line-height:1.15;text-overflow:ellipsis}.game-title-form{display:flex;align-items:center;gap:6px;min-width:0}.game-title-form input{width:100%;min-width:0;border:1px solid transparent;border-radius:10px;padding:6px 8px;color:#fff;font-size:1.05rem;font-weight:950;background:transparent;outline:none}.game-title-form input:not(:disabled):focus{border-color:#ef17176b;background:#f6f4ef0f}.game-title-form button{min-height:32px;padding:0 10px;font-size:.78rem}.compact-button{width:40px;min-width:40px;font-size:1.3rem}.chat-thread-list{display:grid;align-content:start;gap:8px;min-height:0;padding-right:4px;overflow:auto}.chat-thread{display:grid;gap:5px;width:100%;min-height:68px;border:1px solid rgba(246,244,239,.08);border-radius:16px;padding:12px;color:#f6f4ef;text-align:left;background:#f6f4ef0a}.chat-thread:hover,.chat-thread.active{border-color:#ef171752;background:#ef17171f}.chat-thread span,.chat-thread small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mini-game-status{display:grid;gap:4px;border:1px solid rgba(246,244,239,.08);border-radius:16px;padding:12px;background:#f6f4ef0a}.mini-game-status span{color:#ff8c8c;font-weight:950}.chat-stage{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-height:0;overflow:hidden;background:linear-gradient(135deg,rgba(239,23,23,.11),transparent 34%),linear-gradient(160deg,#111113,#09090a)}.chat-stage-header{display:flex;align-items:start;justify-content:space-between;gap:16px;border-bottom:1px solid rgba(246,244,239,.08);padding:18px;background:#0808096b}.chat-stage-header div{display:grid;gap:5px}.chat-stage-header h2{margin:0;font-size:clamp(1.55rem,2.8vw,2.8rem);line-height:1}.chat-stage-header a{color:#ff8c8c;font-weight:900;text-decoration:none}.chat-stage-header a:hover{color:#fff;text-decoration:underline}.danger-button{border:1px solid rgba(255,140,140,.28);color:#ffb3b3;background:#ef171724}.danger-button:hover{background:#ef171747}.chat-transcript{display:grid;align-content:start;gap:12px;min-height:0;padding:18px;overflow:auto}.chat-bubble{display:grid;gap:8px;max-width:760px;border:1px solid rgba(246,244,239,.09);border-radius:18px;padding:14px;background:#f6f4ef0e;box-shadow:0 12px 32px #00000029}.chat-bubble div{display:flex;align-items:center;justify-content:space-between;gap:12px}.chat-bubble strong{color:#fff}.chat-bubble time{font-size:.78rem}.chat-bubble p{margin:0;color:#f6f4ef}.chat-compose{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;border-top:1px solid rgba(246,244,239,.08);padding:14px;background:#0808099e}.chat-compose textarea{height:64px;min-height:64px}.chat-compose button{align-self:end;min-width:108px}@media (max-width: 920px){.game-workbench{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}.chat-sidepanel{border-bottom:1px solid rgba(246,244,239,.08);border-right:0}.chat-thread-list{display:flex;padding-bottom:4px;overflow-x:auto}.chat-thread{min-width:210px}.chat-compose{grid-template-columns:1fr}}.side-chat-messages{display:grid;align-content:start;grid-auto-rows:max-content;gap:10px;min-height:0;padding-right:4px;overflow:visible!important}.side-chat-bubble{display:grid;grid-auto-rows:max-content;gap:7px;min-height:max-content;border:1px solid rgba(246,244,239,.08);border-radius:15px;padding:11px;background:#f6f4ef0b}.side-chat-bubble div{display:flex;align-items:center;justify-content:space-between;gap:8px}.side-chat-bubble strong{min-width:0;overflow:hidden;color:#fff;font-size:.86rem;text-overflow:ellipsis;white-space:nowrap}.side-chat-bubble time,.side-chat-bubble small{color:#8f8880;font-size:.72rem;white-space:nowrap}.side-chat-bubble p{margin:0;color:#ddd6ce;font-size:.88rem;line-height:1.38}.side-empty-chat{display:grid;place-content:center;gap:6px;height:100%;min-height:140px;border:1px dashed rgba(246,244,239,.14);border-radius:15px;color:#aaa39a;text-align:center}.side-empty-chat strong{color:#fff}.side-chat-compose{display:grid;gap:8px}.side-chat-compose textarea{height:84px;min-height:84px;border-radius:15px}.side-chat-compose button{width:100%}.queue-cancel-button{justify-self:center;margin-top:6px}@media (max-width: 920px){.chat-sidepanel{grid-template-rows:auto auto minmax(180px,1fr) auto auto}}.split-generate{position:relative;display:inline-flex;align-items:stretch}.split-generate .generate-button{border-radius:14px 0 0 14px}.generate-menu-button{min-width:44px;border-left:1px solid rgba(255,255,255,.18);border-radius:0 14px 14px 0;padding:0;background:#ef1717}.create-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:10;display:grid;min-width:190px;border:1px solid rgba(246,244,239,.14);border-radius:16px;padding:10px;background:#0a0a0cf5;box-shadow:0 18px 50px #0000006b}.create-menu button{width:100%}.game-meta-panel{grid-template-rows:auto auto auto minmax(110px,.8fr) minmax(150px,1fr) auto auto}.share-card,.editor-list-card,.friend-search-card{display:grid;gap:8px;border:1px solid rgba(246,244,239,.1);border-radius:16px;padding:12px;background:#f6f4ef0d}.share-card strong,.editor-list-card strong,.friend-search-card label{color:#fff;font-weight:900}.share-card a{overflow:hidden;color:#ff8c8c;font-size:.86rem;font-weight:800;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.share-card a:hover{color:#fff;text-decoration:underline}.share-card span,.editor-list-card small,.friend-search-card small{color:#aaa39a;font-size:.78rem}.mini-user-row{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:9px}.mini-user-row>img,.mini-user-row>span,.friend-result-card>img,.static-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;object-fit:cover;color:#fff;font-weight:900;background:#ef1717}.mini-user-row div{min-width:0}.mini-user-row strong,.mini-user-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.add-editor-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:4px}.add-editor-form input,.friend-search-input input{width:100%;min-width:0;color:#fff;outline:none}.friend-search-input input{border:0;background:transparent}.add-editor-form input{min-height:40px;border:1px solid rgba(246,244,239,.1);border-radius:12px;padding:0 10px;background:#f6f4ef0f}.editor-shell{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;min-height:0;border:1px solid rgba(246,244,239,.1);border-radius:22px;overflow:visible;background:#0a0a0cc7}.editor-toolbar{position:relative;z-index:320;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid rgba(246,244,239,.08);padding:12px}.editor-toolbar>div:first-child,.scene-inspector>div:first-child{display:grid;gap:2px;min-width:0}.editor-toolbar strong,.scene-inspector strong{color:#fff;font-weight:950}.editor-toolbar span,.scene-inspector span,.scene-empty-copy{color:#aaa39a;font-size:.84rem}.editor-actions{position:relative;z-index:330;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.editor-canvas-wrap{position:relative;z-index:1;min-height:0;overflow:hidden}.editor-canvas{width:100%;height:100%;min-height:360px}.editor-canvas canvas{display:block;width:100%;height:100%;cursor:grab}.editor-canvas canvas:active{cursor:grabbing}.editor-hud{position:absolute;bottom:12px;left:12px;right:12px;display:flex;align-items:flex-end;justify-content:space-between;gap:12px;pointer-events:none}.editor-hud>span{border:1px solid rgba(246,244,239,.1);border-radius:999px;padding:8px 10px;color:#e6ded5;font-size:.78rem;font-weight:800;background:#0000007a;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.presence-stack{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;max-width:54%}.presence-pill{display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(246,244,239,.1);border-radius:999px;padding:5px 8px 5px 5px;background:#00000080;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.presence-pill img,.presence-pill>span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;object-fit:cover;color:#fff;font-size:.72rem;font-weight:900;background:#ef1717}.presence-pill small{color:#fff;font-size:.72rem;font-weight:800}.scene-inspector{display:grid;gap:10px;min-height:120px;max-height:220px;border-top:1px solid rgba(246,244,239,.08);padding:12px;overflow:auto;background:#f6f4ef09}.scene-inspector{display:grid;grid-template-rows:auto minmax(0,1fr);gap:10px;min-height:150px;max-height:280px;border-top:1px solid rgba(246,244,239,.08);padding:10px;overflow:hidden;background:#f6f4ef09}.scene-inspector-header{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,280px);align-items:end;gap:10px}.scene-inspector-header>div{display:grid;gap:2px;min-width:0}.scene-filter{display:grid;gap:4px}.scene-filter span{color:#aaa39a;font-size:.72rem;font-weight:900;text-transform:uppercase}.scene-filter input{width:100%;min-width:0;min-height:34px;border:1px solid rgba(246,244,239,.1);border-radius:11px;padding:0 10px;color:#fff;background:#080809ad;outline:none}.scene-empty-copy{margin:0}.scene-object-list{display:grid;align-content:start;gap:4px;min-height:0;padding-right:4px;overflow:auto}.scene-object-list article{display:grid;grid-template-columns:46px minmax(0,1fr) 32px 32px;align-items:center;gap:8px;min-height:34px;border:1px solid rgba(246,244,239,.07);border-radius:10px;padding:4px 6px;background:#0808095c}.scene-object-index{color:#746e68;font-size:.72rem;font-weight:900}.scene-object-main{min-width:0}.scene-object-main strong,.scene-object-main span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scene-object-main strong{color:#fff;font-size:.82rem}.scene-object-main span{color:#aaa39a;font-size:.72rem}.icon-button{display:grid;place-items:center;width:30px;min-width:30px;min-height:30px;padding:0;font-size:.92rem}.friend-search-card{align-content:start}.friend-search-input{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px;min-height:46px;border:1px solid rgba(246,244,239,.12);border-radius:14px;padding:0 12px;background:#080809b3}.friend-search-input span{color:#ff8c8c;font-weight:900}.friend-results{display:grid;gap:8px;max-height:230px;padding-right:4px;overflow:auto}.friend-result-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid rgba(246,244,239,.08);border-radius:16px;padding:10px;background:#f6f4ef0b}.friend-result-card div{min-width:0}.friend-result-card strong,.friend-result-card span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.friend-result-card span{color:#aaa39a}.friends-view{grid-template-rows:auto auto auto minmax(0,1fr)}.friend-card button{margin-top:auto}.friend-avatar img{width:100%;height:100%;border-radius:inherit;object-fit:cover}.compact-button{min-height:32px;border-radius:10px;padding:0 10px}@media (max-width: 1120px){.editor-toolbar,.editor-hud{flex-direction:column;align-items:stretch}.presence-stack{justify-content:flex-start;max-width:100%}}.delete-game-card{display:grid;gap:8px;border:1px solid rgba(255,140,140,.22);border-radius:16px;padding:12px;background:#ef171714}.delete-game-card span{color:#aaa39a;font-size:.8rem;line-height:1.35}.delete-game-card code{overflow:hidden;border-radius:10px;padding:7px 8px;color:#ffd1d1;font-size:.76rem;text-overflow:ellipsis;background:#00000052}.delete-game-card input{width:100%;min-width:0;min-height:38px;border:1px solid rgba(246,244,239,.12);border-radius:12px;padding:0 10px;color:#fff;background:#080809b8;outline:none}.notification-pill{margin-left:10px;min-height:28px;border-radius:999px;padding:0 10px;font-size:.78rem}.request-list{display:grid;gap:10px;padding:12px;border:1px solid rgba(246,244,239,.1);border-radius:18px;background:#ffffff09}.profile-button{cursor:pointer;padding:0}.text-link{border:0;padding:0;color:#aaa39a;background:transparent;text-align:left;cursor:pointer}.text-link:hover{color:#fff}.online-dot.offline,.inline-dot.offline{background:#686868;box-shadow:none}.danger-outline{width:100%;border:1px solid rgba(255,120,120,.34);color:#ffd1d1;background:#ef171714}.danger-outline:hover{border-color:#ff787894;background:#ef171724}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:grid;place-items:center;padding:24px;background:#000000ad;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.modal-card{width:min(460px,100%);display:grid;gap:14px;border:1px solid rgba(246,244,239,.12);border-radius:24px;padding:18px;background:#111115;box-shadow:0 24px 80px #00000073}.modal-card p{margin:0;color:#c8c0b8}.modal-card code{overflow:hidden;border-radius:12px;padding:10px;color:#ffd1d1;font-size:.8rem;text-overflow:ellipsis;background:#0000005c}.modal-card input{width:100%;min-height:42px;border:1px solid rgba(246,244,239,.14);border-radius:14px;padding:0 12px;color:#fff;background:#080809d1;outline:none}.modal-actions{display:flex;justify-content:flex-end;gap:10px}.danger-modal{border-color:#ff787842}.danger-button{border-color:#ff78786b;color:#fff;background:#ef1717}.danger-button:disabled{cursor:not-allowed;opacity:.5}.workspace-main.editor-main{grid-template-rows:auto minmax(0,1fr);height:100dvh;padding:0}.workspace-main.editor-main .topbar{display:none}.workspace-main.editor-main .notice-banner{position:absolute;top:10px;right:10px;left:auto;z-index:40;max-width:min(520px,calc(100% - 20px));margin:0}.workspace-main.editor-main .tab-surface,.workspace-main.editor-main .game-workbench,.workspace-main.editor-main .editor-shell{width:100%;height:100dvh;min-height:0}.workspace-main.editor-main .tab-surface{display:grid;grid-template-rows:minmax(0,1fr);align-items:stretch;overflow:hidden}.workspace-main.editor-main .game-workbench,.workspace-main.editor-main .editor-shell{border:0;border-radius:0;box-shadow:none}.workspace-main.editor-main .editor-canvas{min-height:0}.danger-icon-button{color:#ffd1d1}.mini-user-row{grid-template-columns:34px minmax(0,1fr) auto}.editor-search-input{min-height:40px}.editor-search-results{display:grid;gap:6px;max-height:190px;overflow:auto}.editor-search-result{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:8px;min-height:0;border:1px solid rgba(246,244,239,.08);border-radius:12px;padding:7px;color:inherit;text-align:left;background:#f6f4ef0b}.editor-search-result:hover:not(:disabled){border-color:#ef171752;background:#ef17171f}.editor-search-result>img,.editor-search-result>span{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;object-fit:cover;color:#fff;font-weight:900;background:#ef1717}.editor-search-result div,.editor-search-result strong,.editor-search-result small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.games-heading>div{display:grid;gap:10px}.scope-slider{display:inline-grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;width:min(310px,100%);border:1px solid rgba(246,244,239,.12);border-radius:999px;padding:4px;background:#08080975}.scope-slider button{min-height:34px;border-radius:999px;color:#aaa39a;background:transparent}.scope-slider button.active{color:#fff;background:#ef1717c7}.scope-slider small{margin-left:5px;opacity:.8}.workspace-main.editor-main{position:relative}.chat-sidepanel.game-meta-panel{grid-template-rows:auto auto auto auto minmax(92px,.7fr) minmax(170px,1fr) auto auto;gap:8px;padding:10px}.compact-chat-header{gap:8px}.game-title-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px}.game-title-row .game-title-form{min-width:0}.game-title-row .danger-icon-button{width:36px;min-width:36px}.share-card.compact-card,.editor-list-card.compact-card{gap:6px;border-radius:14px;padding:8px}.share-card.compact-card span{display:none}.share-card.compact-card a{font-size:.78rem}.editor-list-card.compact-card .mini-user-row{grid-template-columns:28px minmax(0,1fr) auto;gap:7px}.editor-list-card.compact-card .mini-user-row>img,.editor-list-card.compact-card .mini-user-row>span{width:28px;height:28px;border-radius:9px}.compact-add-editor-form{gap:6px}.compact-add-editor-form .editor-search-input{min-height:34px}.compact-add-editor-form .friend-search-input input{min-height:0;border:0;padding:0 0 0 5px;background:transparent}.channels-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.channels-header strong{color:#fff;font-size:.92rem}.compact-channel-list{gap:6px}.compact-channel-list .chat-thread{min-height:48px;border-radius:13px;padding:8px}.compact-channel-list .chat-thread span{font-size:.9rem;font-weight:900}.compact-channel-list .chat-thread small{font-size:.72rem}.side-chat-messages{gap:8px}.side-chat-bubble{border-radius:13px;padding:9px}.side-chat-bubble.prompt-message{border-color:#ff950052;background:linear-gradient(180deg,rgba(255,149,0,.1),transparent),#f6f4ef0b}.message-text .mention{color:#f6f4ef;font-weight:950}.message-text .mention-agent{color:#ff9500}.message-badges{display:flex!important;align-items:center;justify-content:flex-start!important;gap:6px;min-height:0}.queue-tag{width:max-content;border-radius:999px;padding:3px 7px;color:#ffcc80;font-size:.68rem;font-weight:950;background:#ff950029}.prompt-section{gap:6px;border-top:1px solid rgba(246,244,239,.08);padding-top:8px}.prompt-section textarea{height:auto;min-height:calc(1.45em + 24px);resize:none;overflow-y:hidden}.typing-indicator{display:flex;align-items:center;gap:7px;min-height:20px;color:#aaa39a}.typing-dots{display:inline-flex;align-items:center;gap:3px}.typing-dots i{width:5px;height:5px;border-radius:999px;background:#aaa39a;animation:typing-dot-bounce .8s infinite ease-in-out}.typing-dots i:nth-child(2){animation-delay:.12s}.typing-dots i:nth-child(3){animation-delay:.24s}@keyframes typing-dot-bounce{0%,80%,to{transform:translateY(0);opacity:.55}40%{transform:translateY(-5px);opacity:1}}@media (max-width: 920px){.chat-sidepanel.game-meta-panel{grid-template-rows:auto auto auto auto minmax(120px,1fr) minmax(180px,1fr) auto}}.game-workbench{grid-template-columns:auto minmax(0,1fr)}.chat-sidepanel.game-meta-panel{width:clamp(300px,24vw,460px);min-width:260px;max-width:min(560px,48vw);resize:horizontal;overflow:auto;grid-template-rows:auto auto auto minmax(92px,.7fr) minmax(190px,1fr) auto}.editor-title-area{display:grid;gap:2px;min-width:min(420px,40vw)}.editor-title-form{display:flex;align-items:center;gap:8px;min-width:0}.editor-title-form input{width:100%;min-width:0;border:1px solid transparent;border-radius:12px;padding:6px 8px;color:#fff;font-size:1.08rem;font-weight:950;background:transparent;outline:none}.editor-title-form input:not(:disabled):focus{border-color:#ef171770;background:#f6f4ef0f}.editor-title-form button{min-height:32px;padding:0 10px;font-size:.78rem}.editor-share-links{display:inline-flex;align-items:center;gap:6px;max-width:min(280px,30vw);border:1px solid rgba(246,244,239,.1);border-radius:999px;padding:4px;background:#f6f4ef0b}.editor-share-links a{overflow:hidden;border-radius:999px;padding:6px 9px;color:#ff8c8c;font-size:.74rem;font-weight:950;line-height:1;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.editor-share-links a:hover{color:#fff;background:#ef17172e}.editor-play-button{min-width:38px;color:#fff}.channel-actions-row{display:flex;justify-content:stretch}.compact-new-channel-button{width:100%;min-height:34px;border-radius:12px;font-size:.78rem;font-weight:950}.message-author-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.message-author{display:inline-flex;align-items:center;min-width:0;gap:7px}.message-author img,.message-avatar{display:grid;place-items:center;width:24px;height:24px;flex:0 0 auto;border-radius:8px;object-fit:cover;color:#fff;font-size:.72rem;font-weight:950;background:#ef1717}.side-chat-bubble .message-author-row time{color:#8f8880;font-size:.68rem;white-space:nowrap}.side-chat-message .message-author,.side-chat-message .message-author strong{color:#a8a19a;font-size:.68rem;font-weight:800}.side-chat-bubble .message-text{color:#f8fafc;font-size:.92rem;line-height:1.45;min-width:0;overflow-wrap:anywhere}.message-time-divider{display:flex;justify-content:center;margin:6px 0}.message-time-divider time{border:1px solid rgba(226,232,240,.09);border-radius:999px;padding:3px 8px;color:#9aa4b2;font-size:.68rem;font-weight:800;background:#0f172a85}.side-chat-bubble.prompt-message{border-color:#ef171757;background:linear-gradient(180deg,rgba(239,23,23,.1),transparent),#f6f4ef0b}.message-text .mention-agent{color:#ef1717}.message-text .mention-self{color:#7af0ae}.queue-tag{color:#ffb3b3;background:#ef171729}.prompt-section{position:relative}.compose-row{display:grid;grid-template-columns:minmax(92px,.32fr) minmax(0,1fr) auto;align-items:stretch;gap:8px}.compose-channel-label{display:grid;align-content:center;gap:3px;border:1px solid rgba(246,244,239,.08);border-radius:13px;padding:8px;background:#f6f4ef0b}.compose-channel-label span{color:#8f8880;font-size:.66rem;font-weight:900;letter-spacing:.05em;text-transform:uppercase}.compose-channel-label strong{overflow:hidden;color:#fff;font-size:.86rem;font-weight:950;text-overflow:ellipsis;white-space:nowrap}.compose-input-wrap{position:relative;min-width:0}.prompt-section .compose-input-wrap textarea{width:100%;height:auto;min-height:calc(1.45em + 24px);max-height:calc(17.4em + 24px);resize:none;overflow-y:hidden}.prompt-section .compose-row>button{align-self:stretch;width:auto;min-width:76px}.mention-dropup{position:absolute;right:0;bottom:calc(100% + 8px);left:0;z-index:30;display:grid;gap:5px;max-height:240px;border:1px solid rgba(246,244,239,.14);border-radius:15px;padding:7px;overflow:auto;background:#0a0a0cfa;box-shadow:0 18px 50px #0000007a}.mention-option{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:8px;width:100%;border:1px solid transparent;border-radius:11px;padding:6px;color:#f6f4ef;text-align:left;background:transparent}.mention-option:hover,.mention-option.active{border-color:#ef171759;background:#ef171729}.mention-option img,.mention-option>span{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;object-fit:cover;color:#fff;font-weight:950;background:#ef1717}.mention-option div,.mention-option strong,.mention-option small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mention-option small{color:#aaa39a;font-size:.72rem}.game-card-tile{position:relative;padding:0}.game-card-open{display:grid;gap:12px;width:100%;height:100%;border:0;padding:16px;color:inherit;text-align:left;text-decoration:none;background:transparent}.game-card-open:hover{color:inherit;text-decoration:none;background:#ef171714}.game-card-delete{position:absolute;top:10px;right:10px;z-index:2;width:36px;min-width:36px;height:36px;min-height:36px;border-radius:12px;color:#ffd1d1;background:#080809b8}.game-card-delete:hover{border-color:#ef17176b;color:#fff;background:#ef17173d}@media (max-width: 920px){.game-workbench{grid-template-columns:1fr}.chat-sidepanel.game-meta-panel{width:auto;max-width:none;resize:none;grid-template-rows:auto auto auto minmax(120px,1fr) minmax(180px,1fr) auto}.editor-toolbar{align-items:stretch}.editor-title-area{min-width:0}.editor-share-links{max-width:none}.compose-row{grid-template-columns:1fr}.prompt-section .compose-row>button{width:100%;min-height:40px}}.active-toggle{border-color:#ef171773;color:#fff;background:#ef17172e}.rail-conversations{position:relative;display:grid;gap:8px;border-top:1px solid rgba(246,244,239,.08);border-bottom:1px solid rgba(246,244,239,.08);padding:10px 0}.rail-conversation-button{position:relative;display:grid;place-items:center;width:100%;min-height:42px;border:1px solid rgba(246,244,239,.1);border-radius:14px;padding:0;color:#f6f4ef;background:#f6f4ef0e}.rail-conversation-button:hover,.rail-conversation-button.active{border-color:#ef17177a;background:#ef17172e}.rail-conversation-button:disabled{opacity:.45}.rail-conversation-initial{display:grid;place-items:center;width:26px;height:26px;border-radius:10px;color:#fff;font-size:.82rem;font-weight:950;background:#ffffff1a}.rail-conversation-create .rail-conversation-initial{background:#ef1717}.rail-conversation-tooltip{position:absolute;top:50%;left:calc(100% + 10px);z-index:80;display:grid;gap:2px;min-width:160px;max-width:240px;border:1px solid rgba(246,244,239,.12);border-radius:13px;padding:9px 10px;color:#fff;text-align:left;pointer-events:none;opacity:0;transform:translate(-6px,-50%);transition:opacity .14s ease,transform .14s ease;background:#0a0a0cfa;box-shadow:0 14px 40px #00000061}.rail-conversation-tooltip strong,.rail-conversation-tooltip small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rail-conversation-tooltip strong{font-size:.84rem;font-weight:950}.rail-conversation-tooltip small{color:#aaa39a;font-size:.72rem;font-weight:800}.rail-conversation-button:hover .rail-conversation-tooltip,.rail-conversation-button:focus-visible .rail-conversation-tooltip{opacity:1;transform:translateY(-50%)}.chat-sidepanel.game-meta-panel{grid-template-rows:auto minmax(0,1fr) auto auto;gap:10px}.side-chat-messages{min-height:0}.side-chat-bubble:hover{border-color:#f6f4ef33;background:#f6f4ef12}.side-chat-compose.prompt-section{padding-top:10px}.compose-row{grid-template-columns:minmax(0,1fr)}.compose-channel-label{display:none}.compose-input-wrap{position:relative}.prompt-section .compose-input-wrap textarea{min-height:calc(1.45em + 24px);max-height:calc(17.4em + 24px);padding:12px 58px 12px 14px;resize:none;overflow-y:hidden}.compose-input-wrap .send-arrow-button{position:absolute;right:12px;top:8px;bottom:auto;display:flex;place-items:center;align-items:center;justify-content:center;width:28px;min-width:28px;height:28px;min-height:28px;border:0;border-radius:50%;padding:0;color:#fff;font-size:.92rem;font-weight:600;line-height:1;transform:none;background:#ef1717;box-shadow:0 10px 24px #ef171752}.compose-input-wrap.is-multiline .send-arrow-button{top:auto;bottom:12px;transform:none}.send-arrow-button:hover:not(:disabled){transform:none;background:#ff2a2a}.compose-input-wrap.is-multiline .send-arrow-button:hover:not(:disabled){transform:none}.send-arrow-button:disabled{color:#ffffff9e;background:#ef17177a;box-shadow:none}.game-workbench{position:relative;align-items:stretch;min-height:100%;grid-template-columns:var(--chat-panel-width, clamp(300px, 24vw, 460px)) minmax(0,1fr);grid-template-rows:minmax(0,1fr)}.game-workbench:not(.is-chat-panel-resizing){transition:grid-template-columns .17s ease}.game-workbench.is-chat-panel-resizing{cursor:ew-resize;-webkit-user-select:none;user-select:none}.game-workbench.is-chat-panel-resizing *{cursor:ew-resize!important}.game-workbench.is-chat-panel-resizing .chat-panel-resize-handle{transition:background .14s ease,box-shadow .14s ease}.chat-sidepanel.game-meta-panel{align-self:stretch;width:auto;height:100%;min-width:0;min-height:0;max-width:none;resize:none;overflow:visible}.game-workbench>.game-stage,.game-workbench>.editor-shell{align-self:stretch;height:100%;min-height:0}.chat-panel-collapsed .chat-sidepanel.game-meta-panel{visibility:hidden;pointer-events:none}.side-chat-messages{position:relative;z-index:8;overflow:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable;box-sizing:border-box;padding-right:14px}.side-chat-messages:has(.side-empty-chat){align-content:stretch;grid-auto-rows:minmax(0,1fr)}.side-chat-messages .side-chat-bubble{position:relative;width:fit-content;min-width:0;max-width:min(92%,860px)}.side-chat-messages .side-chat-bubble:hover{z-index:12}.side-chat-bubble.other-message{justify-self:start}.side-chat-bubble.own-message{justify-self:end;border-color:#5ac9bb3d;background:linear-gradient(180deg,rgba(90,201,187,.08),transparent),#ffffff0a}.side-chat-bubble.own-message .message-author-row,.side-chat-bubble.own-message .message-author{flex-direction:row-reverse}.side-chat-bubble.own-message .message-text{text-align:right}.side-chat-bubble .message-text{overflow-wrap:anywhere}.side-chat-bubble.own-message .message-badges{justify-content:flex-end!important}.chat-panel-resize-handle{position:absolute;top:0;bottom:0;left:var(--chat-panel-width, clamp(300px, 24vw, 460px));z-index:90;width:22px;min-width:22px;min-height:0;border:0;border-radius:0;padding:0;cursor:ew-resize;touch-action:none;transform:translate(-50%);transition:left .17s ease,right .17s ease,opacity .14s ease;background:transparent}.chat-panel-resize-handle:after{content:"";position:absolute;top:0;bottom:0;left:50%;width:22px;opacity:0;transform:translate(-50%);transition:opacity .14s ease;background:linear-gradient(90deg,transparent 0,rgba(239,23,23,.12) 20%,rgba(239,23,23,.88) 50%,rgba(239,23,23,.12) 80%,transparent 100%);box-shadow:0 0 22px #ef17172e}.chat-panel-resize-handle:hover,.chat-panel-resize-handle:focus-visible{background:transparent;transform:translate(-50%)}.chat-panel-collapsed .chat-panel-resize-handle:hover,.chat-panel-collapsed .chat-panel-resize-handle:focus-visible,.chat-panel-collapsed.is-chat-panel-resizing .chat-panel-resize-handle,.chat-panel-expanded .chat-panel-resize-handle:hover,.chat-panel-expanded .chat-panel-resize-handle:focus-visible,.chat-panel-expanded.is-chat-panel-resizing .chat-panel-resize-handle,.game-workbench.is-chat-panel-resizing .chat-panel-resize-handle{background:transparent}.chat-panel-collapsed .chat-panel-resize-handle{left:0;transform:none}.chat-panel-expanded .chat-panel-resize-handle{right:0;left:auto;transform:none}.chat-panel-collapsed .chat-panel-resize-handle:hover:after,.chat-panel-collapsed .chat-panel-resize-handle:focus-visible:after,.chat-panel-expanded .chat-panel-resize-handle:hover:after,.chat-panel-expanded .chat-panel-resize-handle:focus-visible:after,.game-workbench.is-chat-panel-resizing .chat-panel-resize-handle:after{opacity:1}.chat-sidepanel.game-meta-panel{border-right:1px solid rgba(246,244,239,.08);background:linear-gradient(180deg,rgba(246,244,239,.055),transparent 34%),#08080adb;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.editor-list-card.compact-card{border-color:#f6f4ef17;background:#ffffff09}.side-chat-bubble{border-color:#f6f4ef13;background:#ffffff09}.side-chat-bubble.prompt-message{border-color:#ff950047;background:linear-gradient(180deg,rgba(255,149,0,.08),transparent),#ffffff09}.side-chat-bubble.queued-message{isolation:isolate;overflow:clip;border-color:#ef171757;background:linear-gradient(180deg,rgba(239,23,23,.1),transparent),#ffffff09}.side-chat-bubble.queued-message:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:inherit;pointer-events:none;transform:translate(-120%);animation:queued-message-glimmer 2.2s ease-in-out infinite;background:linear-gradient(105deg,transparent 0%,rgba(255,255,255,.02) 34%,rgba(255,195,195,.18) 48%,rgba(255,255,255,.03) 62%,transparent 100%)}@keyframes queued-message-glimmer{0%{transform:translate(-120%)}48%,to{transform:translate(120%)}}.editor-shell{background:radial-gradient(circle at 50% 0%,rgba(239,23,23,.08),transparent 34%),#070709f5}.editor-toolbar{background:#08080ab8;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.editor-canvas-wrap:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;box-shadow:inset 0 0 0 1px #ffffff09}.editor-hud>span,.presence-pill{border-color:#f6f4ef14;background:#0505078f}.mention-tooltip-wrap{position:relative;display:inline-flex;max-width:100%;min-width:0;vertical-align:baseline}.mention-tooltip-wrap .mention{cursor:default;display:inline-block;max-width:min(100%,18ch);overflow:hidden;text-overflow:ellipsis;vertical-align:bottom;white-space:nowrap}.mention-tooltip{position:fixed;z-index:300;display:grid;gap:8px;min-width:190px;border:1px solid rgba(246,244,239,.14);border-radius:15px;padding:9px;pointer-events:none;opacity:0;transform:translate(-50%,calc(-100% + 6px));transition:opacity .14s ease,transform .14s ease;background:#0a0a0cfa;box-shadow:0 18px 48px #0000006b}.mention-tooltip.visible{pointer-events:auto;opacity:1;transform:translate(-50%,-100%)}.mention-tooltip-card{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:9px}.mention-tooltip-card img,.mention-tooltip-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;object-fit:cover;color:#fff;font-size:.78rem;font-weight:950;background:#ef1717}.mention-tooltip-copy{display:grid;gap:1px;min-width:0}.mention-tooltip-copy strong,.mention-tooltip-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mention-tooltip-copy strong{color:#fff;font-size:.86rem;font-weight:950}.mention-tooltip-copy small{color:#aaa39a;font-size:.72rem;font-weight:800}.mention-tooltip a{width:max-content;border-radius:999px;padding:5px 8px;color:#ff8c8c;font-size:.72rem;font-weight:950;text-decoration:none;background:#ef171724}.mention-tooltip a:hover{color:#fff;background:#ef17173d}.message-author .mention-tooltip-wrap .mention{color:#fff}button{border-radius:10px;font-weight:780;background:#d92d20;box-shadow:none}button:hover{background:#b42318}.ghost{border-color:#e2e8f024;color:#e5e7eb;background:#0f172a94}.ghost:hover{background:#1e293bdb}.editor-shell{grid-template-rows:auto minmax(0,1fr) auto;background:#090b10}.editor-toolbar{min-height:58px;padding:8px 12px;border-bottom-color:#e2e8f01a;background:#0a0d12f0}.editor-title-area{min-width:min(520px,44vw)}.editor-title-form input{border-radius:8px;font-size:1rem;letter-spacing:0}.editor-actions{position:relative;align-items:center;gap:7px}.editor-collab-strip{display:inline-flex;align-items:center;padding-right:4px}.editor-presence-circle,.editor-collab-strip small,.editor-invite-button{position:relative;display:grid;place-items:center;width:30px;min-width:30px;height:30px;margin-left:-7px;border:2px solid #090b10;border-radius:50%;color:#fff;font-size:.72rem;font-weight:900;background:#334155}.editor-presence-circle img{width:100%;height:100%;border-radius:inherit;object-fit:cover}.editor-presence-circle:first-child{margin-left:0}.editor-presence-circle:after,.editor-collab-strip small:after,.editor-invite-button:after{content:attr(data-tooltip);position:absolute;top:calc(100% + 8px);left:50%;z-index:160;width:max-content;max-width:190px;border:1px solid rgba(226,232,240,.16);border-radius:8px;padding:5px 8px;color:#f8fafc;font-size:.72rem;font-weight:800;line-height:1.25;pointer-events:none;opacity:0;transform:translate(-50%,-3px);transition:opacity .12s ease,transform .12s ease;background:#08080af5;box-shadow:0 10px 30px #0000005c}.editor-presence-circle:hover:after,.editor-collab-strip small:hover:after,.editor-invite-button:hover:after{opacity:1;transform:translate(-50%)}.editor-invite-wrap{position:relative;display:inline-flex;align-items:center;flex:0 0 30px;width:30px;height:30px}.editor-invite-button{flex:0 0 30px;width:30px;min-width:30px;max-width:30px;height:30px;min-height:30px;max-height:30px;aspect-ratio:1;padding:0;border-radius:50%;box-sizing:border-box;border-color:#16a34a80;line-height:1;background:#16a34a}.editor-invite-button:hover{background:#15803d}.editor-invite-popover{position:absolute;top:calc(100% + 8px);right:0;z-index:1000;display:grid;gap:8px;width:min(310px,82vw);border:1px solid rgba(226,232,240,.14);border-radius:12px;padding:10px;background:#090b10fa;box-shadow:0 18px 46px #00000073}.editor-invite-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.editor-search-results.compact-results{max-height:210px;overflow:auto}.editor-share-links{max-width:none;border-radius:10px;background:#0f172ab8}.editor-share-links a{color:#dbeafe}.editor-play-button,.editor-save-button{background:#2563eb}.editor-play-button:hover,.editor-save-button:hover{background:#1d4ed8}.editor-add-menu-wrap{position:relative}.editor-add-button{display:grid;place-items:center;width:36px;min-width:36px;height:36px;min-height:36px;border-radius:50%;padding:0;font-size:1.3rem;line-height:1;background:#16a34a}.editor-add-button:hover{background:#15803d}.editor-add-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:120;display:grid;gap:4px;width:190px;border:1px solid rgba(226,232,240,.14);border-radius:12px;padding:7px;background:#090b10fa;box-shadow:0 18px 46px #00000073}.editor-add-menu button{display:grid;grid-template-columns:14px minmax(0,1fr);align-items:center;gap:8px;min-height:34px;border:1px solid transparent;padding:0 8px;color:#e5e7eb;text-align:left;background:transparent}.editor-add-menu button:hover{border-color:#94a3b83d;background:#1e293be6}.editor-add-menu button span{width:10px;height:10px;border-radius:50%}.scene-inspector{max-height:180px}.side-chat-message{display:grid;gap:4px;max-width:min(calc(92% - 8px),860px)}.side-chat-message.other-message{justify-self:start}.side-chat-message.own-message{justify-self:end}.side-chat-message.grouped-message{margin-top:-4px}.side-chat-message .side-chat-bubble{width:fit-content;max-width:100%;min-width:0;border-radius:14px;padding:9px 11px}.side-chat-message.own-message .side-chat-bubble{justify-self:end;border-color:#2563eb47;background:linear-gradient(180deg,rgba(37,99,235,.12),transparent),#ffffff0b}.side-chat-message.prompt-message .side-chat-bubble{border-color:#f59e0b4d;background:linear-gradient(180deg,rgba(245,158,11,.08),transparent),#ffffff09}.side-chat-message.queued-message .side-chat-bubble{position:relative;isolation:isolate;overflow:clip;border-color:#ef44445c;background:linear-gradient(180deg,rgba(239,68,68,.1),transparent),#ffffff09}.side-chat-message.queued-message .side-chat-bubble:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:inherit;pointer-events:none;transform:translate(-120%);animation:queued-message-glimmer 2.2s ease-in-out infinite;background:linear-gradient(105deg,transparent 0%,rgba(255,255,255,.02) 34%,rgba(255,195,195,.18) 48%,rgba(255,255,255,.03) 62%,transparent 100%)}.side-chat-message.other-message .side-chat-bubble{justify-self:start}.side-chat-message .message-author-row{padding:0 4px}.side-chat-message.own-message .message-author-row,.side-chat-message.own-message .message-author{flex-direction:row-reverse}.side-chat-message.own-message .message-text{text-align:right}.side-chat-message.sending-message{opacity:.74}.side-chat-message.failed-message .side-chat-bubble{border-color:#ef444473}.message-retry-button{min-height:24px;border-radius:999px;padding:0 8px;color:#fecaca;font-size:.68rem;background:#ef444433}.message-retry-button:hover{background:#ef444457}.game-workbench{height:100%;max-height:100%;overflow:hidden}.chat-sidepanel.game-meta-panel{display:grid;grid-template-rows:minmax(0,1fr) auto;overflow:hidden}.side-chat-compose.prompt-section{min-height:0;padding-bottom:10px}.prompt-section .compose-input-wrap textarea{max-height:min(180px,28vh);overflow-y:auto}.typing-indicator img{width:24px;height:24px;border-radius:8px;object-fit:cover}.editor-shell{position:relative;grid-template-rows:auto minmax(0,1fr)}.editor-hud>span{max-width:min(780px,72vw)}.scene-inspector{position:absolute;top:70px;right:12px;bottom:12px;z-index:240;display:flex;flex-direction:column;width:min(440px,calc(100% - 24px));max-height:none;border:1px solid rgba(226,232,240,.12);border-radius:14px;overflow:hidden;background:#090b10f5;box-shadow:0 24px 80px #0000006b}.scene-object-list{flex:1 1 auto;min-height:90px}.scene-object-list article{cursor:pointer}.scene-object-list article:hover,.scene-object-list article:focus-visible,.scene-object-list article.selected{border-color:#ffd16673;outline:none;background:#ffd16614}.scene-object-editor{display:grid;gap:10px;flex:0 0 auto;max-height:min(48vh,440px);border-top:1px solid rgba(226,232,240,.1);padding-top:10px;overflow:auto}.scene-object-editor-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.scene-object-editor-title div,.scene-object-editor label{display:grid;gap:4px;min-width:0}.scene-object-editor-title span{overflow:hidden;max-width:260px;text-overflow:ellipsis;white-space:nowrap}.scene-object-editor fieldset{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-width:0;border:1px solid rgba(226,232,240,.1);border-radius:10px;padding:8px}.scene-object-editor fieldset:has(.scene-checkbox-row){grid-template-columns:repeat(2,minmax(0,1fr))}.scene-object-editor fieldset:has(textarea){grid-template-columns:minmax(0,1fr)}.scene-object-editor legend,.scene-object-editor label>span{color:#aaa39a;font-size:.7rem;font-weight:900;text-transform:uppercase}.scene-object-editor input,.scene-object-editor select,.scene-object-editor textarea{min-width:0;min-height:32px;border:1px solid rgba(226,232,240,.12);border-radius:9px;padding:0 8px;color:#fff;background:#0f172abd}.scene-object-editor textarea{min-height:86px;padding:8px;resize:vertical}.scene-object-editor input[type=color]{padding:3px}.scene-checkbox-row{display:flex!important;flex-direction:row;align-items:center;gap:8px}.scene-checkbox-row input{min-height:0}.behavior-status-panel{display:grid;gap:6px;border:1px solid rgba(226,232,240,.08);border-radius:9px;padding:8px;background:#0f172a6b}.behavior-status-panel span{color:#f8fafc;font-size:.78rem;font-weight:850}.behavior-status-panel small{color:#aeb7c5;font-size:.72rem;line-height:1.35}.behavior-action-list{display:flex;flex-wrap:wrap;gap:5px}.behavior-action-list span{border:1px solid rgba(125,211,252,.26);border-radius:999px;padding:3px 7px;color:#bae6fd;font-size:.68rem;background:#0ea5e91f}.behavior-status-panel .behavior-warning{color:#facc15}.behavior-status-panel .behavior-error{color:#fb7185}.selected-object-compose{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid rgba(255,209,102,.22);border-radius:10px;padding:6px 8px;color:#f8fafc;font-size:.78rem;background:#ffd16614}.selected-object-compose span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selected-object-compose button{min-height:28px;border:1px solid rgba(255,209,102,.3);border-radius:8px;padding:0 8px;color:#fff7d6;font-size:.74rem;font-weight:900;background:#ffd1661f}.editor-invite-wrap,.editor-invite-button{flex:0 0 30px;inline-size:30px!important;block-size:30px!important;min-inline-size:30px;min-block-size:30px;max-inline-size:30px;max-block-size:30px}.editor-invite-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:grid;place-items:center;padding:0;border-radius:999px;line-height:1}.editor-invite-popover{z-index:2000}.editor-invite-wrap.is-open{flex:1 1 min(330px,42vw);inline-size:min(330px,42vw)!important;min-inline-size:min(260px,42vw);max-inline-size:330px;gap:8px;margin-left:2px;border:1px solid rgba(34,197,94,.24);border-radius:999px;padding:3px;background:#16a34a1a}.editor-invite-wrap.is-open .editor-invite-button{margin-left:0}.editor-invite-wrap.is-open .editor-invite-popover{position:static;display:grid;flex:1 1 auto;width:auto;min-width:0;border:0;border-radius:0;padding:0;background:transparent;box-shadow:none}.editor-invite-wrap.is-open .editor-invite-form{grid-template-columns:minmax(120px,1fr) auto}.editor-invite-wrap.is-open .editor-invite-form button{min-height:30px;border-radius:999px;padding:0 10px}.editor-invite-wrap.is-open .editor-search-results.compact-results{position:absolute;top:calc(100% + 8px);left:38px;right:0;z-index:2000;border:1px solid rgba(226,232,240,.14);border-radius:12px;padding:8px;background:#090b10fa;box-shadow:0 18px 46px #00000073}.play-shell{display:block;min-height:100vh;background:#07070a}.play-shell .rail,.play-shell .topbar{display:none}.play-shell .workspace-main{min-height:100vh;padding:0}.play-viewport,.play-canvas{position:relative;width:100%;min-height:100vh;overflow:hidden;background:#07070a}.play-canvas canvas{display:block;width:100%;height:100%;cursor:crosshair}.play-hud{position:absolute;left:16px;bottom:16px;display:flex;align-items:flex-start;gap:14px;max-width:min(560px,calc(100% - 32px));border:1px solid rgba(226,232,240,.12);border-radius:16px;padding:10px 12px;color:#f8fafc;background:#08080a94;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.play-hud-main{display:inline-flex;flex:0 0 auto;align-items:center;gap:10px;min-height:28px}.play-hud-main strong{font-size:.86rem}.play-hud-main span{color:#b6c2d1;font-size:.76rem;font-weight:850}.play-objective{display:grid;gap:2px;min-width:0}.play-objective-label{color:#93c5fd;font-size:.64rem;font-weight:900;letter-spacing:0;text-transform:uppercase}.play-objective strong{font-size:.9rem;line-height:1.15}.play-objective span:last-child{color:#cbd5e1;font-size:.74rem;font-weight:800;line-height:1.25}.object-mention{display:inline-flex;align-items:center;max-width:min(100%,22ch);min-width:0;min-height:20px;border:1px solid rgba(125,211,252,.34);border-radius:999px;margin:0 2px;padding:0 7px;color:#d9f4ff;font:inherit;font-size:.9em;font-weight:900;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom;white-space:nowrap;background:#0ea5e924}.object-mention:hover{border-color:#7dd3fcbd;background:#0ea5e93d}.object-mention.broken{border-color:#94a3b838;color:#94a3b8;text-decoration:line-through;background:#94a3b81a}@media (max-width: 920px){.rail-conversation-tooltip{display:none}.game-workbench{grid-template-columns:1fr}.chat-panel-resize-handle{display:none}.chat-sidepanel.game-meta-panel{grid-template-rows:auto minmax(150px,1fr) auto auto;visibility:visible;pointer-events:auto}.prompt-section .compose-row>button{width:36px;min-height:36px}}.eyebrow,.composer-copy h1,.scene-object-editor legend,.scene-object-editor label>span,.scene-filter span,.behavior-status-panel span{letter-spacing:0}.scene-inspector{display:flex;flex-direction:column;min-height:0;padding:0}.scene-inspector-header{flex:0 0 auto;border-bottom:1px solid rgba(226,232,240,.1);padding:12px}.scene-empty-copy{padding:12px}.scene-object-list{flex:1 1 auto;min-height:110px;padding:8px 10px;scrollbar-gutter:stable}.scene-object-list article{grid-template-columns:34px minmax(0,1fr) 28px 28px;gap:6px;min-height:42px;border-radius:8px;padding:5px}.scene-object-list article.is-hidden{opacity:.58}.scene-object-list article.is-hidden.selected,.scene-object-list article.is-hidden:hover,.scene-object-list article.is-hidden:focus-visible{opacity:.82}.scene-object-index{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;color:#94a3b8;background:#94a3b814}.scene-object-main strong{display:flex;align-items:center;gap:6px}.scene-object-main strong em{flex:0 0 auto;border:1px solid rgba(148,163,184,.2);border-radius:999px;padding:1px 5px;color:#cbd5e1;font-size:.62rem;font-style:normal;font-weight:900;line-height:1.35;background:#94a3b81a}.scene-object-main span{line-height:1.25}.scene-object-action.icon-button{width:28px;min-width:28px;height:28px;min-height:28px;border-radius:8px;color:#cbd5e1;background:#0f172a94}.scene-object-action.icon-button:hover,.scene-object-action.icon-button:focus-visible{color:#fff;background:#1e293bf2}.scene-object-action.icon-button[aria-pressed=false]{color:#94a3b8;background:#0f172a5c}.scene-object-action.danger-icon-button:hover,.scene-object-action.danger-icon-button:focus-visible{color:#fecaca;background:#b91c1c47}.scene-object-action:disabled{cursor:not-allowed;opacity:.44}.scene-object-action svg{width:15px;height:15px;overflow:visible}.scene-object-action svg path{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9}.scene-object-editor{flex:0 1 min(46vh,420px);min-height:0;padding:10px;scrollbar-gutter:stable}.scene-object-editor-title button{flex:0 0 auto;min-height:32px;border-radius:8px}.canvas-touch-controls{display:none}@media (hover: none),(pointer: coarse),(max-width: 920px){.canvas-touch-controls{position:absolute;right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));left:max(12px,env(safe-area-inset-left));z-index:280;display:grid;grid-template-columns:auto auto;align-items:end;justify-content:space-between;gap:16px;pointer-events:none}.touch-dpad{display:grid;grid-template-columns:repeat(3,42px);grid-template-rows:repeat(3,42px);gap:6px;pointer-events:auto}.touch-forward{grid-column:2;grid-row:1}.touch-left{grid-column:1;grid-row:2}.touch-right{grid-column:3;grid-row:2}.touch-back{grid-column:2;grid-row:3}.touch-vertical-controls{display:grid;align-content:end;gap:8px;pointer-events:auto}.touch-control-button{display:grid;place-items:center;width:42px;min-width:42px;height:42px;min-height:42px;border:1px solid rgba(226,232,240,.18);border-radius:999px;padding:0;color:#f8fafc;font-size:1rem;font-weight:950;line-height:1;touch-action:none;-webkit-user-select:none;user-select:none;background:#080d18ad;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 12px 34px #00000057}.touch-control-button:hover,.touch-control-button:focus-visible,.touch-control-button:active{transform:none;border-color:#60a5fa8c;background:#2563ebad}.touch-vertical-controls .touch-control-button{width:58px;min-width:58px;padding:0 10px;font-size:.74rem}}@media (max-width: 920px){html,body,#root{width:100%;height:100%;overflow:hidden}body{min-width:0}.workspace-shell:not(.play-shell),.workspace-shell.editor-rail-collapsed:not(.play-shell){display:flex;flex-direction:column;grid-template-columns:none;height:100dvh;min-height:0;overflow:hidden}.workspace-main{order:1;flex:1 1 auto;min-height:0;padding:12px;overflow:auto;-webkit-overflow-scrolling:touch}.workspace-main.editor-main{height:auto;padding:0;overflow:hidden}.workspace-main.editor-main .tab-surface,.workspace-main.editor-main .game-workbench,.workspace-main.editor-main .editor-shell{height:100%;min-height:0}.workspace-main:not(.editor-main) .tab-surface{min-height:100%;overflow:visible}.rail,.editor-rail-collapsed .rail{position:relative;top:auto;order:2;z-index:600;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;min-height:calc(62px + env(safe-area-inset-bottom));border-top:1px solid rgba(226,232,240,.12);border-right:0;border-bottom:0;padding:8px max(10px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));background:#070a10f5;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.brand{width:42px;min-height:42px;justify-content:center}.brand span{display:none}.brand img{width:34px;height:34px;border-radius:9px}.nav-list{display:flex;grid-auto-flow:unset;gap:6px;min-width:0;overflow-x:auto;scrollbar-width:none}.nav-list::-webkit-scrollbar{display:none}.nav-list button,.editor-rail-collapsed .nav-list button{display:grid;place-items:center;flex:0 0 42px;width:42px;min-height:42px;border-radius:12px;padding:0;text-align:center}.nav-list button span,.editor-rail-collapsed .nav-list button span{display:none}.nav-list button:before,.editor-rail-collapsed .nav-list button:before{content:attr(data-short);font-weight:950}.user-card,.editor-rail-collapsed .user-card{width:42px;min-width:42px;min-height:42px;margin-top:0;border-radius:12px;padding:4px;justify-content:center}.user-card div:last-child,.editor-rail-collapsed .user-card div:last-child{display:none}.user-card>img,.avatar{width:32px;height:32px;border-radius:9px}.online-dot{top:5px;right:5px}.rail-conversations{grid-column:1 / -1;display:flex;gap:6px;min-width:0;border-top:1px solid rgba(226,232,240,.08);border-bottom:0;padding:8px 0 0;overflow-x:auto;scrollbar-width:none}.rail-conversations::-webkit-scrollbar{display:none}.rail-conversation-button{flex:0 0 42px;width:42px;min-height:38px;border-radius:12px}.topbar{align-items:flex-start;gap:10px;min-height:0;margin-bottom:12px}.eyebrow{display:flex;flex-wrap:wrap;align-items:center;gap:6px;overflow-wrap:anywhere}.auth-slot{max-width:100%;min-width:0}.auth-slot>div,.auth-slot iframe{max-width:100%}.notice-banner{align-items:flex-start;border-radius:12px;font-size:.86rem}.composer-card,.onboarding-card,.panel-view{width:100%;min-height:auto;border-radius:16px;padding:14px;overflow:auto}.composer-card{align-content:start;gap:16px}.composer-card:before,.composer-card:after{opacity:.48}.composer-copy{justify-items:start;text-align:left}.composer-copy h1{max-width:100%;font-size:2rem;line-height:1.08;text-wrap:initial}.composer-copy p{max-width:100%;font-size:.98rem;text-wrap:initial}.prompt-box{max-width:none;border-radius:16px;padding:10px}.file-list{grid-template-columns:1fr}.prompt-box textarea{min-height:150px}.prompt-actions,.home-upgrade{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;gap:8px}.attachment-count,.home-upgrade>div{grid-column:1 / -1}.prompt-actions button,.prompt-actions label,.home-upgrade button,.split-generate{width:100%}.split-generate .generate-button{flex:1 1 auto;min-width:0}.panel-view{grid-template-rows:auto minmax(0,1fr);gap:12px}.panel-heading{flex-wrap:wrap;align-items:center}.panel-heading>span{font-size:1.4rem}.game-grid,.explore-grid,.friend-grid,.profile-grid,.usage-layout,.tier-grid,.usage-stats{grid-template-columns:1fr!important}.game-grid,.explore-grid,.friend-grid{padding-right:0;overflow:visible}.game-card,.idea-card{min-height:auto;border-radius:14px}.game-card-open{padding:12px}.game-thumb{height:138px;border-radius:12px}.game-card .game-meta{display:grid;gap:6px}.usage-view,.usage-layout,.tier-grid{overflow:visible}.usage-stats{gap:8px}.subscription-card,.tier-card,.profile-card,.friend-search-card,.request-list{border-radius:14px}.friend-result-card{grid-template-columns:38px minmax(0,1fr);gap:8px}.friend-result-card>button:not(.friend-avatar):not(.profile-button){grid-column:1 / -1;width:100%}.friend-card{min-height:0}.empty-state,.loading-state{min-height:220px;padding:20px 14px}.modal-backdrop{align-items:end;padding:10px}.modal-card{width:100%;max-height:calc(100dvh - 20px);border-radius:18px;overflow:auto}.modal-actions{display:grid;grid-template-columns:1fr}.modal-actions button{width:100%}.game-workbench{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) minmax(190px,34dvh);height:100%;border:0;border-radius:0;overflow:hidden}.game-workbench>.game-stage,.game-workbench>.editor-shell{grid-column:1;grid-row:1;height:100%;min-height:0}.chat-sidepanel.game-meta-panel{grid-column:1;grid-row:2;width:auto;max-width:none;height:auto;min-height:0;border-top:1px solid rgba(226,232,240,.12);border-right:0;padding:10px;resize:none;grid-template-rows:minmax(0,1fr) auto;visibility:visible;pointer-events:auto}.side-chat-messages{min-height:0;padding-right:4px;overflow:auto!important}.side-chat-message,.side-chat-messages .side-chat-bubble{max-width:100%}.side-chat-compose.prompt-section{padding:8px 0 0}.selected-object-compose{align-items:stretch}.chat-panel-resize-handle{display:none}.editor-shell{grid-template-rows:auto minmax(0,1fr);height:100%;overflow:hidden}.editor-toolbar{align-items:stretch;gap:8px;max-height:34dvh;padding:8px;overflow:auto}.editor-title-area{width:100%;min-width:0}.editor-title-form{gap:6px}.editor-title-form input{font-size:1rem}.editor-actions{justify-content:flex-start;gap:6px}.editor-actions>button,.editor-save-button{min-height:34px;border-radius:9px;padding:0 10px;font-size:.82rem}.editor-share-links{flex:1 1 150px;max-width:none}.editor-add-menu{right:auto;left:0}.editor-invite-wrap.is-open{flex-basis:100%;inline-size:100%!important;min-inline-size:0;max-inline-size:none}.editor-invite-wrap.is-open .editor-search-results.compact-results{left:0}.editor-canvas-wrap{min-height:0}.editor-canvas{height:100%;min-height:0;touch-action:none}.editor-hud{top:10px;right:10px;bottom:auto;left:10px;align-items:flex-start}.editor-hud>span{display:none}.presence-stack{max-width:100%}.presence-pill small{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scene-inspector{top:auto;right:max(8px,env(safe-area-inset-right));bottom:max(8px,env(safe-area-inset-bottom));left:max(8px,env(safe-area-inset-left));width:auto;max-height:min(78dvh,640px);border-radius:18px}.scene-inspector-header{grid-template-columns:1fr;align-items:stretch;gap:8px}.scene-filter input{min-height:38px}.scene-object-list{min-height:120px;padding:8px}.scene-object-list article{grid-template-columns:30px minmax(0,1fr) 30px 30px;min-height:46px}.scene-object-action.icon-button{width:30px;min-width:30px;height:30px;min-height:30px}.scene-object-editor{flex-basis:min(44dvh,360px);max-height:min(44dvh,360px)}.scene-object-editor fieldset{grid-template-columns:repeat(3,minmax(0,1fr))}.scene-object-editor fieldset:has(.scene-checkbox-row),.scene-object-editor fieldset:has(textarea){grid-template-columns:minmax(0,1fr)}.play-shell,.play-shell .workspace-main,.play-viewport,.play-canvas{height:100dvh;min-height:100dvh;overflow:hidden}.play-canvas{touch-action:none}.play-hud{top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));bottom:auto;left:max(12px,env(safe-area-inset-left));max-width:none;display:grid;gap:6px;border-radius:14px}.play-hud-main{justify-content:space-between}}@media (max-width: 560px){.workspace-main,.rail{padding-left:10px;padding-right:10px}.topbar{flex-direction:column}.auth-slot{width:100%;min-width:0}.composer-copy h1{font-size:1.72rem}.prompt-actions,.home-upgrade{grid-template-columns:1fr}.panel-heading{display:grid;grid-template-columns:1fr}.panel-heading button,.games-heading button,.scope-slider{width:100%}.game-workbench{grid-template-rows:minmax(0,1fr) minmax(168px,31dvh)}.editor-toolbar{max-height:38dvh}.editor-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.editor-actions>*,.editor-actions>button,.editor-share-links,.editor-collab-strip{width:100%}.editor-collab-strip{grid-column:1 / -1;overflow-x:auto}.editor-invite-wrap,.editor-invite-button{inline-size:34px!important;block-size:34px!important;min-inline-size:34px;min-block-size:34px}.editor-invite-wrap.is-open{grid-column:1 / -1;inline-size:100%!important}.scene-inspector{max-height:min(84dvh,680px)}.scene-object-editor{flex-basis:min(48dvh,380px);max-height:min(48dvh,380px)}.scene-object-editor fieldset,.scene-object-editor fieldset:has(.scene-checkbox-row),.scene-object-editor fieldset:has(textarea){grid-template-columns:minmax(0,1fr)}.canvas-touch-controls{gap:10px}.touch-dpad{grid-template-columns:repeat(3,38px);grid-template-rows:repeat(3,38px);gap:5px}.touch-control-button{width:38px;min-width:38px;height:38px;min-height:38px}.touch-vertical-controls .touch-control-button{width:54px;min-width:54px}}@media (max-width: 360px){.nav-list button,.editor-rail-collapsed .nav-list button{flex-basis:38px;width:38px}.brand,.user-card,.editor-rail-collapsed .user-card{width:38px;min-width:38px}.scene-object-list article{grid-template-columns:26px minmax(0,1fr) 28px 28px}.scene-object-index{width:26px}}@media (max-width: 920px){.workspace-shell.editor-rail-collapsed:not(.play-shell){display:flex;flex-direction:column;height:100dvh}.editor-rail-collapsed:not(.play-shell) .rail{order:1;grid-template-columns:42px minmax(0,1fr) 42px;min-height:54px;padding:max(6px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) 6px max(10px,env(safe-area-inset-left))}.editor-rail-collapsed:not(.play-shell) .workspace-main.editor-main{order:2;flex:1 1 auto;min-height:0}.editor-rail-collapsed:not(.play-shell) .brand{grid-column:1;display:grid;width:42px;min-height:42px}.editor-rail-collapsed:not(.play-shell) .nav-list{display:none}.editor-rail-collapsed:not(.play-shell) .rail-conversations{grid-column:2;grid-row:1;display:flex;align-items:center;gap:7px;min-width:0;border:0;padding:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.editor-rail-collapsed:not(.play-shell) .rail-conversations::-webkit-scrollbar{display:none}.editor-rail-collapsed:not(.play-shell) .rail-conversation-button{flex:0 0 40px;width:40px;min-height:40px}.editor-rail-collapsed:not(.play-shell) .user-card{grid-column:3;width:42px;min-width:42px;min-height:42px}.editor-main .game-workbench{position:relative;display:block;height:100%}.editor-main .game-workbench>.game-stage,.editor-main .game-workbench>.editor-shell{width:100%;height:100%}.editor-main .chat-sidepanel.game-meta-panel{position:absolute;right:0;bottom:0;left:0;z-index:260;height:clamp(176px,30dvh,62dvh);max-height:62dvh;min-height:156px;border-top:1px solid rgba(226,232,240,.14);border-radius:18px 18px 0 0;resize:vertical;overflow:auto;box-shadow:0 -18px 44px #0000006b}.editor-main .chat-sidepanel.game-meta-panel:before{content:"";justify-self:center;width:52px;height:4px;border-radius:999px;margin:0 auto 6px;background:#94a3b857}.editor-main .side-chat-messages{min-height:0;padding:4px 4px 8px}.editor-main .side-chat-compose.prompt-section{position:sticky;bottom:0;padding:8px 0 0;background:linear-gradient(180deg,transparent,rgba(8,8,10,.94) 18%)}.editor-main .compose-input-wrap{border-radius:18px}.editor-main .editor-toolbar{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;max-height:min(132px,24dvh);padding:8px 10px;overflow:auto}.editor-main .editor-title-area{gap:0}.editor-main .editor-title-form input{min-height:32px;padding:3px 0;font-size:1.04rem}.editor-main .editor-title-area>span{font-size:.74rem;line-height:1.2}.editor-main .editor-actions{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:6px;width:100%;min-width:0;overflow-x:auto;scrollbar-width:none}.editor-main .editor-actions::-webkit-scrollbar{display:none}.editor-main .editor-actions>*,.editor-main .editor-actions>button,.editor-main .editor-share-links,.editor-main .editor-collab-strip{flex:0 0 auto;width:auto}.editor-main .editor-collab-strip{padding-right:2px}.editor-main .editor-presence-circle,.editor-main .editor-collab-strip small,.editor-main .editor-invite-button{width:28px;min-width:28px;height:28px;min-height:28px;font-size:.68rem}.editor-main .editor-invite-wrap,.editor-main .editor-invite-button{inline-size:28px!important;block-size:28px!important;min-inline-size:28px;min-block-size:28px}.editor-main .editor-invite-wrap.is-open{inline-size:min(280px,calc(100vw - 20px))!important;min-inline-size:min(240px,calc(100vw - 20px))}.editor-main .editor-share-links{flex-basis:auto;padding:3px}.editor-main .editor-share-links a{padding:5px 9px}.editor-main .editor-actions>button,.editor-main .editor-save-button{min-height:32px;white-space:nowrap}.editor-main .editor-canvas-wrap .canvas-touch-controls{bottom:calc(clamp(176px,30dvh,62dvh) + 12px)}}@media (max-width: 560px){.editor-main .editor-toolbar{max-height:min(118px,22dvh)}.editor-main .editor-title-form input{font-size:.96rem}.editor-main .editor-actions{display:flex;grid-template-columns:none}.editor-main .chat-sidepanel.game-meta-panel{height:clamp(166px,29dvh,64dvh)}.editor-main .editor-canvas-wrap .canvas-touch-controls{bottom:calc(clamp(166px,29dvh,64dvh) + 10px)}}@media (max-width: 920px){.workspace-shell:not(.play-shell),.workspace-main,.tab-surface,.composer-card,.panel-view,.onboarding-card,.prompt-box{min-width:0;max-width:100%}.workspace-main:not(.editor-main){overflow-x:hidden}.workspace-main:not(.editor-main) .tab-surface{align-content:start;justify-items:stretch;width:100%;overflow-x:hidden}.composer-card,.panel-view,.onboarding-card{align-self:start;justify-self:stretch}.composer-copy,.composer-copy h1,.composer-copy p,.prompt-box,.prompt-box textarea{min-width:0;max-width:100%;overflow-wrap:break-word}.nav-list button,.editor-rail-collapsed .nav-list button{display:grid!important;align-content:center!important;align-items:center!important;justify-content:center!important;justify-items:center!important;line-height:1;text-align:center}.nav-list button:before,.editor-rail-collapsed .nav-list button:before{display:grid;place-items:center;width:100%;height:100%;line-height:1;text-align:center}.editor-rail-collapsed:not(.play-shell) .workspace-main.editor-main{flex:1 1 0;height:auto;min-height:0;overflow:hidden}.workspace-main.editor-main .tab-surface{height:100%;min-height:0;overflow:hidden}.editor-main .game-workbench{--mobile-editor-chat-height: clamp(160px, 28dvh, 260px);position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(280px,1fr) auto;height:100%;min-height:0;overflow:hidden}.editor-main .game-workbench>.game-stage,.editor-main .game-workbench>.editor-shell{grid-column:1;grid-row:1;width:100%;height:100%;min-height:0}.editor-main .editor-shell{display:grid;grid-template-rows:auto minmax(220px,1fr);height:100%;min-height:0;overflow:hidden}.editor-main .editor-toolbar{max-height:112px;min-height:0;padding:7px 10px}.editor-main .editor-canvas-wrap,.editor-main .editor-canvas{min-height:220px;height:100%}.editor-main .chat-sidepanel.game-meta-panel{position:relative;right:auto;bottom:auto;left:auto;grid-column:1;grid-row:2;align-self:end;width:auto;height:var(--mobile-editor-chat-height);min-height:150px;max-height:60dvh;border-right:0;border-radius:18px 18px 0 0;resize:vertical;overflow:auto!important}.editor-main .chat-panel-resize-handle{display:none}.editor-main .editor-canvas-wrap .canvas-touch-controls{bottom:calc(var(--mobile-editor-chat-height) + 12px)}}@media (max-width: 560px){.editor-main .game-workbench{--mobile-editor-chat-height: clamp(150px, 27dvh, 240px);grid-template-rows:minmax(240px,1fr) auto}.editor-main .editor-shell{grid-template-rows:auto minmax(200px,1fr)}.editor-main .editor-toolbar{max-height:104px;padding:6px 8px}.editor-main .editor-title-form input{min-height:28px}.editor-main .editor-actions>button,.editor-main .editor-save-button,.editor-main .editor-share-links a{min-height:30px}.editor-main .editor-canvas-wrap,.editor-main .editor-canvas{min-height:200px}}@media (max-width: 920px){html,body,#root{max-width:100%;overflow-x:hidden}.workspace-shell:not(.play-shell){width:100%;max-width:100dvw;min-width:0}.workspace-main:not(.editor-main){display:block;width:100%;max-width:100%;min-height:0;overflow-x:hidden;overflow-y:auto}.workspace-main:not(.editor-main) .topbar{display:grid;grid-template-columns:minmax(0,1fr);justify-content:flex-start;gap:8px;min-height:0;margin-bottom:10px}.workspace-main:not(.editor-main) .tab-surface{display:block;min-height:0;width:100%;overflow-x:hidden}.workspace-main:not(.editor-main) .composer-card,.workspace-main:not(.editor-main) .panel-view,.workspace-main:not(.editor-main) .onboarding-card{width:100%;inline-size:100%;max-inline-size:100%;margin-inline:0}.workspace-main:not(.editor-main) .composer-card{overflow-x:hidden}.workspace-main:not(.editor-main) .composer-copy,.workspace-main:not(.editor-main) .composer-copy h1,.workspace-main:not(.editor-main) .composer-copy p,.workspace-main:not(.editor-main) .prompt-box,.workspace-main:not(.editor-main) .prompt-box textarea,.workspace-main:not(.editor-main) .home-upgrade{inline-size:100%;max-inline-size:100%;white-space:normal;overflow-wrap:anywhere;text-wrap:wrap}.workspace-main:not(.editor-main) .composer-copy{display:block}.workspace-main:not(.editor-main) .composer-copy h1{display:block;font-size:clamp(1.55rem,6.4vw,1.9rem);letter-spacing:0;overflow-wrap:anywhere}.workspace-main:not(.editor-main) .composer-copy p{font-size:.94rem}}@media (max-width: 560px){.workspace-main:not(.editor-main) .composer-card,.workspace-main:not(.editor-main) .panel-view,.workspace-main:not(.editor-main) .onboarding-card{inline-size:calc(100dvw - 20px);max-inline-size:calc(100dvw - 20px)}.workspace-main:not(.editor-main) .composer-copy,.workspace-main:not(.editor-main) .composer-copy h1,.workspace-main:not(.editor-main) .composer-copy p,.workspace-main:not(.editor-main) .prompt-box,.workspace-main:not(.editor-main) .home-upgrade{width:min(calc(100vw - 72px),320px)!important;max-width:min(calc(100vw - 72px),320px)!important;margin-left:0!important;margin-right:0!important}}.prompt-box.is-menu-open{z-index:40}.split-generate{z-index:2}.split-generate.is-open{z-index:80}.create-menu{z-index:120}.home-upgrade{z-index:1}@media (max-width: 920px){.friend-search-card,.friend-results,.friend-grid{overflow:visible}.friend-results{max-height:none;padding-right:0}.create-menu{top:auto;bottom:calc(100% + 8px)}.editor-main .presence-stack{display:none}.editor-main .game-workbench{position:relative;display:block;height:100%;min-height:0;overflow:hidden}.editor-main .game-workbench>.game-stage,.editor-main .game-workbench>.editor-shell{width:100%;height:100%;min-height:0}.editor-main .chat-sidepanel.game-meta-panel{position:absolute;inset-inline:0;bottom:0;top:auto;z-index:260;display:flex;flex-direction:column;height:var(--mobile-editor-chat-height, clamp(176px, 30dvh, 62dvh));min-height:150px;max-height:min(72dvh,calc(100% - 112px));border-top:1px solid rgba(226,232,240,.14);border-right:0;border-radius:18px 18px 0 0;resize:none;overflow:hidden!important;box-shadow:0 -18px 44px #0000006b}.editor-main .chat-sidepanel.game-meta-panel:before{content:"";flex:0 0 auto;align-self:center;width:54px;height:4px;border-radius:999px;margin:8px 0 2px;background:#94a3b870}.editor-main .side-chat-messages{flex:1 1 auto;min-height:0;padding:4px 4px 8px;overflow-y:auto!important;scrollbar-gutter:auto}.editor-main .side-chat-messages:has(.side-empty-chat){display:grid;align-content:stretch}.editor-main .side-chat-compose.prompt-section{position:sticky;bottom:0;flex:0 0 auto;margin-top:auto;padding:8px 0 0;background:linear-gradient(180deg,transparent,rgba(8,8,10,.96) 18%)}.editor-main .chat-panel-resize-handle{position:absolute;left:50%;bottom:calc(var(--mobile-editor-chat-height, clamp(176px, 30dvh, 62dvh)) - 10px);z-index:300;display:grid;place-items:center;width:96px;min-width:96px;height:22px;min-height:22px;border:0;border-radius:999px;padding:0;cursor:ns-resize;touch-action:none;transform:translate(-50%);background:transparent;box-shadow:none}.editor-main .chat-panel-resize-handle:before{content:"";width:64px;height:5px;border-radius:999px;background:#94a3b894;box-shadow:0 1px 10px #0000006b}.editor-main .chat-panel-resize-handle:hover,.editor-main .chat-panel-resize-handle:focus-visible{background:transparent;transform:translate(-50%)}.game-workbench.is-chat-panel-resizing,.game-workbench.is-chat-panel-resizing *{cursor:ns-resize!important}.editor-main .editor-canvas-wrap .canvas-touch-controls{bottom:calc(var(--mobile-editor-chat-height, clamp(176px, 30dvh, 62dvh)) + 12px)}}@media (max-width: 560px){.workspace-main:not(.editor-main){padding-inline:10px}.workspace-main:not(.editor-main) .composer-card,.workspace-main:not(.editor-main) .panel-view,.workspace-main:not(.editor-main) .onboarding-card{width:100%;inline-size:min(100%,calc(100dvw - 20px));max-inline-size:min(100%,calc(100dvw - 20px));margin-inline:auto}.workspace-main:not(.editor-main) .composer-copy,.workspace-main:not(.editor-main) .composer-copy h1,.workspace-main:not(.editor-main) .composer-copy p,.workspace-main:not(.editor-main) .prompt-box,.workspace-main:not(.editor-main) .home-upgrade{width:100%!important;max-width:100%!important;margin-inline:auto!important}.editor-main .chat-sidepanel.game-meta-panel{height:var(--mobile-editor-chat-height, clamp(166px, 30dvh, 64dvh))}.editor-main .chat-panel-resize-handle{bottom:calc(var(--mobile-editor-chat-height, clamp(166px, 30dvh, 64dvh)) - 10px)}.editor-main .editor-canvas-wrap .canvas-touch-controls{bottom:calc(var(--mobile-editor-chat-height, clamp(166px, 30dvh, 64dvh)) + 10px)}}
