.game-studio-shell{min-height:100dvh;background:hsl(var(--background));color:hsl(var(--foreground));font-size:13px}.game-preview-dialog :where(p,span,div,label,button),.game-studio-shell :where(p,span,div,li,label,input,textarea,select,button,a){font-family:inherit}.game-studio-shell a,.game-studio-shell button,.game-studio-shell input,.game-studio-shell select,.game-studio-shell textarea{-webkit-tap-highlight-color:transparent}.game-studio-shell a:focus-visible,.game-studio-shell button:focus-visible,.game-studio-shell input:focus-visible,.game-studio-shell select:focus-visible,.game-studio-shell textarea:focus-visible{outline:2px solid hsl(var(--primary));outline-offset:4px}.game-sidebar{width:250px;position:fixed;inset:0 auto 0 0;padding:25px 17px 15px;border-right:1px solid hsl(var(--border));background:hsl(var(--card)/.46);display:flex;flex-direction:column;overflow-y:auto;z-index:30}.game-brand-row{justify-content:space-between}.game-brand,.game-brand-row{display:flex;align-items:center}.game-brand{gap:10px;padding:0 6px}.game-brand-mark{display:grid;place-items:center;width:38px;height:38px;border:1px solid hsl(var(--primary)/.3);border-radius:12px;background:hsl(var(--primary)/.08);color:hsl(var(--primary))}.game-brand strong{display:block;font-size:14px;font-weight:800;letter-spacing:-.5px}.game-brand small{color:hsl(var(--muted-foreground));font-size:9px;letter-spacing:2px}.game-new-project{display:flex;align-items:center;gap:10px;padding:13px 14px;margin:33px 0 16px;border:1px solid hsl(var(--border));border-radius:10px;background:hsl(var(--foreground)/.04);font-weight:600;text-align:left}.game-new-project:hover{border-color:hsl(var(--primary)/.4);background:hsl(var(--primary)/.07)}.game-new-project>span{margin-left:auto;color:hsl(var(--muted-foreground))}.game-nav{display:flex;flex-direction:column;gap:5px}.game-nav-item{display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:9px;color:hsl(var(--muted-foreground));text-align:left;transition:background .2s,color .2s}.game-nav-item:hover{background:hsl(var(--foreground)/.04);color:hsl(var(--foreground))}.game-nav-item.active{background:hsl(var(--primary)/.08);color:hsl(var(--primary));font-weight:600}.game-mini-badge,.game-nav-arrow,.game-nav-count{margin-left:auto}.game-nav-count{font-size:10px;background:hsl(var(--primary)/.12);padding:1px 6px;border-radius:4px}.game-mini-badge{font-size:8px;letter-spacing:.6px;border:1px solid hsl(var(--primary)/.25);padding:2px 4px;border-radius:3px}.game-sidebar-label{color:hsl(var(--muted-foreground));font-size:9px;font-weight:600;letter-spacing:1.5px;display:flex;align-items:center;justify-content:space-between;padding:22px 12px 9px}.game-sidebar-label>span{font-size:8px;opacity:.65}.game-recent{margin-top:8px}.game-recent-empty{padding:22px 10px 18px;color:hsl(var(--muted-foreground));text-align:center}.game-recent-empty svg{margin:0 auto 12px;opacity:.4}.game-recent-empty p{font-size:11px;margin-bottom:5px}.game-recent-empty span{font-size:10px;opacity:.7}.game-recent-item{display:flex;align-items:center;gap:9px;padding:10px 12px;width:100%;color:hsl(var(--muted-foreground));text-align:left;font-size:11px}.game-recent-item>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.game-recent-item.selected,.game-recent-item:hover{color:hsl(var(--primary))}.game-sidebar-bottom{margin-top:auto;padding-top:25px}.game-sidebar-tip{padding:15px;border:1px solid hsl(var(--primary)/.12);border-radius:12px;background:linear-gradient(135deg,hsl(var(--primary)/.07),transparent)}.game-sidebar-tip>svg{color:hsl(var(--primary));margin-bottom:12px}.game-sidebar-tip strong{font-size:11px;font-weight:600}.game-sidebar-tip p{color:hsl(var(--muted-foreground));font-size:10px;line-height:1.8;margin:8px 0 13px}.game-sidebar-tip button{gap:9px;color:hsl(var(--primary))}.game-plan-link,.game-sidebar-tip button{display:flex;align-items:center;font-size:10px}.game-plan-link{justify-content:space-between;padding:15px 9px}.game-plan-link span:last-child{color:hsl(var(--accent));background:hsl(var(--accent)/.1);border-radius:4px;padding:4px 5px;font-size:8px;font-weight:700}.game-account-row{border-top:1px solid hsl(var(--border));padding:14px 2px 0;display:flex;align-items:center;justify-content:space-between}.game-account-row>a{display:flex;align-items:center;gap:9px;font-size:11px}.game-account-row small{display:block;color:hsl(var(--muted-foreground));font-size:8px;margin-top:3px}.game-avatar{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:hsl(var(--primary)/.1);color:hsl(var(--primary));font-weight:700;border:1px solid hsl(var(--primary)/.25)}.game-main{margin-left:250px;min-height:100dvh}.game-topbar{padding:22px 38px;justify-content:space-between;gap:15px;border-bottom:1px solid hsl(var(--border)/.6);font-size:11px}.game-topbar,.game-topbar>div{display:flex;align-items:center}.game-topbar>div{gap:13px}.game-workspace-label{color:hsl(var(--muted-foreground));letter-spacing:1.6px;font-size:8px}.game-topbar-slash{color:hsl(var(--border))}.game-topbar-phase{color:hsl(var(--muted-foreground));font-size:10px}.game-status-dot{width:5px;height:5px;border-radius:100%;background:hsl(var(--accent))}.game-topbar a{display:flex;align-items:center;gap:8px;margin-left:15px}.game-content{max-width:1220px;padding:0 48px;margin:0 auto}.game-hero{padding:38px 0 24px;text-align:center}.game-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:9px;font-weight:600;color:hsl(var(--primary));letter-spacing:2px;margin-bottom:14px}.game-eyebrow>span{width:20px;height:1px;background:hsl(var(--primary)/.6)}.game-hero h1{font-size:clamp(28px,3.2vw,45px);font-weight:700;letter-spacing:-1.8px;line-height:1.22}.game-hero h1>span{color:hsl(var(--primary))}.game-heading-break{display:none}.game-hero>p{color:hsl(var(--muted-foreground));font-size:12px;line-height:1.9;margin-top:12px}.game-composer{max-width:850px;margin:0 auto;border:1px solid hsl(var(--primary)/.22);border-radius:17px;background:hsl(var(--card)/.8);box-shadow:0 5px 45px hsl(var(--primary)/.035);transition:border-color .2s,box-shadow .2s}.game-composer:focus-within{border-color:hsl(var(--primary)/.6);box-shadow:0 5px 45px hsl(var(--primary)/.06)}.game-composer-heading{display:flex;align-items:center;justify-content:space-between;padding:21px 24px 0;color:hsl(var(--muted-foreground));font-size:8px;letter-spacing:1.1px}.game-composer-heading span:first-child{display:flex;align-items:center;gap:7px}.game-composer-heading svg{color:hsl(var(--primary))}.game-composer textarea{resize:vertical;min-height:103px;width:100%;background:transparent;padding:18px 24px 12px;outline:none;font-size:14px;line-height:1.8;color:hsl(var(--foreground))}.game-composer textarea:focus-visible{outline-offset:-4px;border-radius:10px}.game-composer textarea::placeholder{color:hsl(var(--muted-foreground)/.8)}.game-options{display:grid;grid-template-columns:1fr 1fr 1.15fr 1.1fr;gap:12px;padding:5px 24px 20px}.game-options>label{color:hsl(var(--muted-foreground));font-size:8px;letter-spacing:.5px}.game-options select{display:block;background:hsl(var(--background)/.5);color:hsl(var(--foreground));width:100%;font-size:10px;border:1px solid hsl(var(--border));padding:9px;border-radius:7px;margin-top:6px;cursor:pointer}.game-options .game-multiplayer{display:flex;align-items:center;justify-content:space-between;align-self:end;gap:8px;padding:11px 0;position:relative}.game-multiplayer>span:first-child{display:flex;gap:6px;align-items:center;font-size:9px;letter-spacing:0}.game-multiplayer input{width:27px;height:16px;cursor:pointer;position:absolute;right:0;z-index:1;opacity:0}.game-toggle{width:27px;height:16px;border-radius:9px;background:hsl(var(--muted));flex-shrink:0;transition:background .2s}.game-toggle:after{content:"";display:block;width:10px;height:10px;border-radius:50%;background:hsl(var(--muted-foreground));margin:3px;transition:transform .2s}.game-multiplayer input:checked+.game-toggle{background:hsl(var(--primary))}.game-multiplayer input:checked+.game-toggle:after{background:hsl(var(--primary-foreground));transform:translateX(11px)}.game-multiplayer input:focus-visible+.game-toggle{outline:2px solid hsl(var(--primary));outline-offset:3px}.game-composer-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 20px;border-top:1px solid hsl(var(--border));background:hsl(var(--background)/.18);border-radius:0 0 17px 17px}.game-model{display:flex;align-items:center;gap:9px}.game-model-icon{color:hsl(var(--primary));border:1px solid hsl(var(--primary)/.18);background:hsl(var(--primary)/.05);width:30px;height:30px;display:grid;place-items:center;border-radius:8px}.game-model label{color:hsl(var(--muted-foreground));font-size:8px}.game-model select{display:block;margin-top:2px;background:transparent;color:hsl(var(--foreground));font-size:10px;font-weight:600;padding-right:8px;cursor:pointer}.game-studio-shell option{background:hsl(var(--card));color:hsl(var(--foreground))}.game-save-actions{display:flex;align-items:center;gap:12px}.game-export{padding:8px;color:hsl(var(--muted-foreground))}.game-export:disabled{opacity:.35;cursor:not-allowed}.game-create{display:flex;gap:14px;font-size:11px;font-weight:700;height:37px;border-radius:8px}.game-composer-note{display:flex;align-items:center;justify-content:center;gap:6px;color:hsl(var(--muted-foreground));font-size:9px;padding:14px 0 0;line-height:1.8}.game-composer-note svg{flex-shrink:0}.game-notice{min-height:18px;font-size:10px;line-height:1.8;color:hsl(var(--primary));text-align:center;margin:8px 0 24px}.game-delete-draft{display:flex;align-items:center;gap:6px;margin:-12px auto 20px;color:hsl(var(--muted-foreground));font-size:9px}.game-delete-draft:hover{color:hsl(var(--destructive))}.game-library-toolbar{display:flex;justify-content:space-between;gap:20px;align-items:center;border-bottom:1px solid hsl(var(--border))}.game-library-toolbar [role=tablist]{display:flex;gap:23px}.game-library-toolbar [role=tab]{position:relative;display:flex;align-items:center;gap:7px;padding:15px 0 18px;font-size:11px;font-weight:600;color:hsl(var(--muted-foreground))}.game-library-toolbar [role=tab].selected{color:hsl(var(--primary))}.game-library-toolbar [role=tab].selected:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:hsl(var(--primary))}.game-library-toolbar [role=tab]>span{border:1px solid hsl(var(--border));border-radius:4px;padding:1px 5px;font-size:8px}.game-search{display:flex;align-items:center;gap:8px;color:hsl(var(--muted-foreground))}.game-search input{background:transparent;font-size:10px;padding:8px 0;width:160px}.game-library-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:29px 0 23px}.game-library-heading h2{font-size:15px;font-weight:600;letter-spacing:-.4px}.game-library-heading p{margin-top:7px;line-height:1.7}.game-filter select,.game-library-heading p{color:hsl(var(--muted-foreground));font-size:10px}.game-filter select{background:hsl(var(--card)/.5);border:1px solid hsl(var(--border));border-radius:7px;padding:8px 10px;cursor:pointer}.game-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px 22px}.game-concept-card{min-width:0}.game-cover{position:relative;display:block;width:100%;overflow:hidden;border-radius:11px;border:1px solid hsl(var(--border));background:hsl(var(--card))}.game-cover>svg{width:100%;aspect-ratio:720/440;transition:transform .5s ease}.game-cover:hover>svg{transform:scale(1.04)}.game-cover-label{position:absolute;left:12px;top:12px;color:#ddf6ef;background:#0b2025b8;border:1px solid #c8e9e31c;backdrop-filter:blur(8px);padding:5px 7px;border-radius:5px;font-size:8px}.game-cover-action{position:absolute;display:flex;align-items:center;justify-content:space-between;gap:20px;inset:auto 12px 12px;padding:10px 12px;color:#e4f9f2;font-size:10px;background:#0b2025bf;border-radius:7px;opacity:0;transform:translateY(8px);transition:opacity .2s,transform .2s}.game-cover-action svg{transform:rotate(45deg)}.game-cover-caption{font-size:8px;color:hsl(var(--muted-foreground));margin-top:7px}.game-cover:focus-visible .game-cover-action,.game-cover:hover .game-cover-action{opacity:1;transform:translateY(0)}.game-card-body{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 2px 12px}.game-card-body>div{min-width:0}.game-card-body h3{font-size:13px;font-weight:600;letter-spacing:-.2px}.game-card-body h3 button{text-align:left}.game-card-body p{margin-top:5px;color:hsl(var(--muted-foreground));font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.game-use-starter{width:29px;height:29px;flex-shrink:0;display:grid;place-items:center;border-radius:7px;border:1px solid hsl(var(--border));color:hsl(var(--muted-foreground))}.game-use-starter:hover{background:hsl(var(--primary)/.1);border-color:hsl(var(--primary)/.4);color:hsl(var(--primary))}.game-card-meta{display:flex;align-items:center;justify-content:space-between;border-top:1px solid hsl(var(--border)/.6);padding:10px 2px 0;color:hsl(var(--muted-foreground));font-size:8px}.game-card-meta>span:first-child{display:flex;align-items:center;gap:5px}.game-card-meta>span:last-child{opacity:.7}.game-library-empty{padding:50px 20px;border:1px dashed hsl(var(--border));border-radius:12px;text-align:center}.game-library-empty>svg{margin:0 auto 15px;color:hsl(var(--primary)/.5)}.game-library-empty h3{font-weight:600}.game-library-empty p{color:hsl(var(--muted-foreground));font-size:11px;margin:10px 0 16px}.game-library-empty button{display:inline-flex;align-items:center;gap:7px;color:hsl(var(--primary));font-size:11px}.game-footer{display:flex;justify-content:space-between;gap:15px;color:hsl(var(--muted-foreground));font-size:9px;border-top:1px solid hsl(var(--border)/.5);padding:23px 0;margin-top:45px}.game-footer a{display:flex;align-items:center;gap:7px}.game-mobile-close,.game-mobile-menu,.game-nav-scrim{display:none}.game-preview-dialog{max-height:90dvh;overflow-y:auto}.game-preview-art{position:relative}.game-preview-art>svg{width:100%;max-height:320px;object-fit:cover}.game-preview-art>span{position:absolute;bottom:12px;left:18px;color:#ddf6ef;padding:6px 10px;font-size:9px;background:#0b2025c9;border-radius:5px}.game-preview-content{padding:26px}.game-preview-eyebrow{display:flex;align-items:center;gap:6px;color:hsl(var(--primary));font-size:10px;margin-bottom:8px}.game-preview-prompt{line-height:1.9;color:hsl(var(--muted-foreground));font-size:12px;margin:21px 0}.game-preview-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px}.game-preview-bottom>span{display:flex;align-items:center;gap:6px;font-size:9px;color:hsl(var(--muted-foreground))}.game-preview-bottom button{font-size:11px;gap:9px}.game-generate-row{max-width:850px;margin:14px auto 0;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:15px;border:1px solid hsl(var(--primary)/.15);border-radius:10px;background:hsl(var(--primary)/.035)}.game-generate-row strong{font-size:11px}.game-generate-row p{font-size:9px;color:hsl(var(--muted-foreground));margin-top:5px}.game-generate-row button{font-size:11px;gap:8px}.game-cloud-library{margin:20px 0 35px;padding-bottom:25px;border-bottom:1px solid hsl(var(--border))}.game-cloud-library h2{display:flex;align-items:center;gap:8px}.game-cloud-library .game-library-heading{padding-bottom:12px}.game-cloud-message{font-size:11px;color:hsl(var(--primary));line-height:1.8;margin-bottom:12px}.game-cloud-empty{display:flex;align-items:center;gap:12px;padding:20px;border:1px dashed hsl(var(--border));border-radius:10px;color:hsl(var(--muted-foreground));font-size:10px}.game-cloud-empty a{margin-left:auto;gap:7px;white-space:nowrap}.game-cloud-actions,.game-cloud-empty a{color:hsl(var(--primary));display:flex;align-items:center}.game-cloud-actions{gap:13px;font-size:9px;margin-bottom:10px}.game-cloud-actions button{display:flex;align-items:center;gap:5px}.game-cloud-actions button:disabled{opacity:.35}.game-cloud-card .game-card-meta button{display:flex;align-items:center;gap:5px;color:hsl(var(--primary))}.game-cloud-play{position:absolute;inset:0;display:grid;place-items:center;background:#092a3422;color:#effff4}.game-cloud-play svg{width:46px;height:46px;border:1px solid #fff9;padding:13px;border-radius:50%;background:#092a3488}.game-public-link{display:flex;align-items:center;gap:5px;font-size:9px;color:hsl(var(--primary));padding-top:10px}.game-player-dialog{width:96vw;max-height:95dvh;overflow:auto}.game-play-frame{border:1px solid hsl(var(--border));width:100%;height:min(65dvh,650px);min-height:340px;border-radius:10px}@media (max-width:500px){.game-generate-row{align-items:flex-start;flex-direction:column}.game-generate-row button{width:100%}.game-cloud-empty{flex-wrap:wrap}.game-cloud-empty a{margin-left:0}.game-play-frame{height:65dvh}.game-cloud-card .game-card-meta{font-size:8px}}@media (max-width:760px){.game-sidebar:not(.game-sidebar-open){visibility:hidden}}@media (min-width:1600px){.game-hero{padding-top:78px}.game-content{padding:0 65px}}@media (max-width:1150px){.game-sidebar{width:225px;padding-inline:12px}.game-main{margin-left:225px}.game-content{padding-inline:30px}.game-options{grid-template-columns:repeat(3,1fr)}.game-options .game-multiplayer{grid-column:1/-1;justify-content:flex-start;gap:12px;padding:0}.game-multiplayer input{left:120px;right:auto}.game-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.game-hero h1{font-size:34px}}@media (max-width:760px){.game-sidebar{transform:translateX(-100%);width:250px;transition:transform .2s;background:hsl(var(--card))}.game-sidebar-open{transform:translateX(0)}.game-main{margin-left:0}.game-mobile-close,.game-mobile-menu{display:grid;place-items:center}.game-nav-scrim{display:block;position:fixed;inset:0;background:#001916a6;z-index:25}.game-topbar{padding:17px 22px}.game-status-dot,.game-topbar-phase,.game-topbar-slash,.game-workspace-label{display:none}.game-content{padding-inline:22px}.game-hero{padding-top:37px}.game-hero h1{font-size:34px}.game-heading-break{display:block}.game-hero>p{font-size:11px}.game-composer-note{align-items:flex-start;justify-content:flex-start;font-size:8px}.game-search input{width:120px}}@media (max-width:470px){.game-content{padding-inline:16px}.game-hero h1{font-size:29px;letter-spacing:-1.2px}.game-hero{padding-top:31px}.game-eyebrow{font-size:8px}.game-composer-heading{padding:17px 16px 0}.game-composer textarea{padding-inline:16px;font-size:12px;min-height:113px}.game-options{padding-inline:16px;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.game-options .game-multiplayer{grid-column:auto;align-self:end;padding-bottom:9px}.game-multiplayer>span:first-child{font-size:8px;gap:3px}.game-multiplayer input{left:auto;right:0}.game-composer-footer{padding:13px 12px}.game-save-actions{gap:2px}.game-create{padding:0 10px;font-size:10px;gap:8px}.game-model{gap:6px}.game-model-icon{display:none}.game-library-toolbar{flex-wrap:wrap;gap:0}.game-library-toolbar [role=tablist]{width:100%}.game-search{padding:10px 0;width:100%}.game-search input{width:100%}.game-library-heading{align-items:flex-start;flex-direction:column;padding-top:23px}.game-library-heading h2{font-size:14px}.game-filter,.game-filter select{width:100%}.game-card-grid{gap:24px 13px}.game-card-body h3{font-size:11px}.game-card-body p{font-size:8px}.game-card-body{gap:4px}.game-use-starter{width:24px;height:24px}.game-card-meta{flex-wrap:wrap;gap:5px;font-size:7px}.game-cover-label{top:7px;left:7px;font-size:7px;padding:3px 5px}.game-footer{font-size:8px;flex-direction:column}.game-preview-content{padding:21px}.game-preview-bottom{align-items:flex-start;flex-direction:column}}@media (prefers-reduced-motion:reduce){.game-studio-shell *,.game-studio-shell :after,.game-studio-shell :before{transition:none!important;scroll-behavior:auto!important}}