.tv-workspace-mobile-tabs{display:none}.tv-workspace-back{color:var(--primary);text-underline-offset:3px;margin-bottom:16px;font-size:12px;text-decoration:underline;display:inline-flex}.tv-workbench-embedded .tv-studio-availability span,.tv-workbench-embedded .tv-studio-availability a,.tv-workbench-embedded .tv-studio-availability button,.tv-workbench-embedded .tv-studio-empty a,.tv-workbench-embedded .tv-save-draft,.tv-workbench-embedded .tv-new-game,.tv-workbench-embedded .tv-studio-progress,.tv-workbench-embedded .tv-studio-progress button{color:var(--foreground)}.tv-workbench-embedded .tv-studio-availability a{text-decoration:underline;display:block}.tv-workbench-embedded .tv-version-history h2,.tv-workbench-embedded .tv-version-history small{color:var(--muted-foreground)}.tv-version-stage{width:100%;min-width:0}.tv-version-actions{color:var(--muted-foreground);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;font-size:12px;display:flex}.tv-version-actions button,.tv-publication-link a,.tv-publication-link button{color:var(--foreground);align-items:center;gap:6px;font-size:12px;display:inline-flex}.tv-preview-actions{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.tv-preview-actions button{min-height:28px}.tv-preview-actions button[aria-pressed=true]{color:#fff;background:#ffffff20;border-radius:5px;padding:4px}.tv-preview-viewport{background:#0c1015;padding:0}.tv-game-preview[data-device=mobile] .tv-preview-viewport iframe{max-width:390px;margin-inline:auto}.tv-game-preview:fullscreen{background:#101915;border:0;border-radius:0;overflow:auto}.tv-game-preview:fullscreen iframe{height:calc(100dvh - 110px)}.tv-preview-status{color:#cdd7ca;background:#1c2521;border-bottom:1px solid #ffffff18;padding:10px 16px;font-size:12px}.tv-preview-status[data-state=error],.tv-preview-status[data-state=timeout]{color:#ffc6b8;background:#392722}.tv-preview-probe{visibility:hidden;pointer-events:none;width:800px;height:600px;position:fixed;top:0;left:-2000px}.tv-task-id{overflow-wrap:anywhere;width:100%;font-size:10px;display:block}.tv-quick-edits{flex-wrap:wrap;gap:6px;margin-top:12px;display:flex}.tv-quick-edits button{border:1px solid var(--border);color:var(--muted-foreground);text-align:left;border-radius:7px;padding:6px 9px;font-size:11px}.tv-quick-edits button:hover{background:var(--muted);color:var(--foreground)}.tv-runtime-error{border:1px solid var(--destructive);border-radius:10px;margin-top:14px;padding:14px;font-size:13px}.tv-runtime-error button,.tv-studio-error button{margin-top:8px;text-decoration:underline;display:inline-block}.tv-workspace-details{border:1px solid var(--border);color:var(--foreground);border-radius:10px;margin-top:14px;padding:14px 16px;font-size:13px}.tv-workspace-details summary{cursor:pointer;align-items:center;gap:8px;display:flex}.tv-workspace-details p{color:var(--muted-foreground);margin-block:14px;line-height:1.6}.tv-workspace-details code{overflow-wrap:anywhere}.tv-workspace-details pre{white-space:pre-wrap;max-height:380px;margin-top:14px;font-size:11px;overflow:auto}.tv-workspace-details li{margin-block:10px}.tv-workspace-details li input{accent-color:var(--primary)}.tv-workspace-primary{background:var(--primary);color:var(--primary-foreground);border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:10px 15px;font-size:13px;font-weight:600;display:inline-flex}.tv-workspace-primary:disabled{opacity:.45;cursor:not-allowed}.tv-publication form{gap:12px;margin-block:18px;display:grid}.tv-publication form>label{gap:6px;font-size:12px;display:grid}.tv-publication form input:not([type=checkbox]):not([type=hidden]),.tv-publication form textarea{border:1px solid var(--border);background:var(--background);width:100%;min-height:44px;color:var(--foreground);border-radius:8px;padding:10px 12px}.tv-publication form textarea{resize:vertical;min-height:85px}.tv-publication form>.tv-checkbox{cursor:pointer;align-items:flex-start;gap:10px;min-height:44px;padding:10px 0;line-height:1.6;display:flex}.tv-checkbox [data-slot=checkbox]{width:18px;height:18px;margin-top:1px}.tv-publication form :is(input,textarea):focus-visible{outline:2px solid var(--ring);outline-offset:3px}.tv-publication form textarea{caret-color:var(--primary)}.tv-publication-link{border-top:1px solid var(--border);margin-top:14px;padding-top:14px}.tv-publication-link p{margin-block:8px}.tv-publication-link small{margin-bottom:12px;display:block}.tv-publication-link a,.tv-publication-link button{text-underline-offset:3px;margin-right:15px;padding-block:5px;text-decoration:underline}.tv-library{height:100%;color:var(--foreground);background:var(--background);padding:clamp(20px,4vw,48px);overflow:auto}.tv-library>header{justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px;display:flex}.tv-library h1{letter-spacing:-.8px;font-size:30px;font-weight:650}.tv-library header p{color:var(--muted-foreground);margin-top:10px;font-size:14px;line-height:1.6}.tv-library .tv-library-eyebrow{text-transform:uppercase;letter-spacing:.14em;margin:0 0 7px;font-size:10px}.tv-library-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px;display:flex}.tv-library-filters{flex-wrap:wrap;gap:8px;display:flex}.tv-library-filters button{border:1px solid var(--border);color:var(--muted-foreground);background:var(--card);border-radius:999px;padding:6px 13px;font-size:13px;font-weight:600}.tv-library-filters button[aria-pressed=true]{color:var(--primary-foreground);background:var(--primary);border-color:#0000}.tv-library-search{border:1px solid var(--border);background:var(--background);border-radius:8px;width:min(100%,300px);padding:9px 12px;font-size:13px}.tv-library-note{color:var(--muted-foreground);margin:-8px 0 18px;font-size:12px}.tv-project-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;display:grid}.tv-game-card{border:1px solid var(--border);background:var(--card);border-radius:14px;flex-direction:column;transition:border-color .15s;display:flex;position:relative;overflow:hidden}.tv-game-card:hover,.tv-game-card:focus-within{border-color:color-mix(in oklab, var(--primary) 55%, var(--border))}.tv-game-card[data-local]{border-style:dashed}.tv-game-card-cover{aspect-ratio:16/9;background:radial-gradient(circle at 30% 20%, color-mix(in oklab, var(--primary) 26%, transparent), transparent 60%), var(--muted);place-items:center;display:grid;position:relative;overflow:hidden}.tv-game-card-cover[data-platform=roblox]{background:repeating-linear-gradient(45deg, transparent 0 18px, color-mix(in oklab, var(--foreground) 5%, transparent) 18px 36px), radial-gradient(circle at 70% 25%, color-mix(in oklab, var(--primary) 22%, transparent), transparent 60%), var(--muted)}.tv-game-card-cover>img{object-fit:cover;width:100%;height:100%}.tv-game-card-cover>.tv-game-card-mark{object-fit:contain;opacity:.9;width:46px;height:auto}.tv-game-card-status{color:var(--foreground);background:color-mix(in oklab, var(--background) 82%, transparent);border-radius:6px;padding:3px 8px;font-size:11px;font-weight:700;position:absolute;top:10px;left:10px}.tv-game-card-status[data-tone=ready]{color:var(--primary-foreground);background:var(--primary)}.tv-game-card-status[data-tone=busy]{color:#3a2a00;background:#ffd36b}.tv-game-card-status[data-tone=failed]{color:#fff;background:var(--destructive)}.tv-game-card-status[data-tone=shared]{color:#06263f;background:#9ad0ff}.tv-game-card-body{gap:8px;padding:16px 18px 18px;display:grid}.tv-game-card-body h2{overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-weight:600;display:-webkit-box;overflow:hidden}.tv-game-card-body h2 a:after{content:"";position:absolute;inset:0}.tv-game-card-body h2 a:focus-visible{outline:none}.tv-game-card:has(h2 a:focus-visible){outline:2px solid var(--primary);outline-offset:2px}.tv-game-card-body p{color:var(--muted-foreground);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;line-height:1.6;display:-webkit-box;overflow:hidden}.tv-game-card-meta{color:var(--muted-foreground);flex-wrap:wrap;justify-content:space-between;gap:4px 12px;font-size:11px;display:flex}.tv-game-card-menu{z-index:1;width:30px;height:30px;color:var(--foreground);background:color-mix(in oklab, var(--background) 82%, transparent);border-radius:8px;place-items:center;display:grid;position:absolute;top:8px;right:8px}.tv-game-card-menu:hover,.tv-game-card-menu[data-popup-open]{background:var(--background)}.tv-library>.tv-library-filters{margin-bottom:22px}.tv-template-library>.tv-library-filters{margin-bottom:14px}.tv-template-note{margin:0 0 22px}.tv-template-actions{flex-wrap:wrap;align-items:center;gap:8px 16px;margin-top:6px;font-size:13px;display:flex}.tv-template-actions>:not(.tv-workspace-primary){text-underline-offset:3px;text-decoration:underline}.tv-game-card-body>svg{color:var(--primary)}.tv-asset-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:16px;display:grid}.tv-asset-cover{aspect-ratio:1;color:var(--muted-foreground);background:var(--muted);place-items:center;display:grid;position:relative;overflow:hidden}.tv-asset-cover[data-transparent]{background:repeating-conic-gradient(color-mix(in oklab, var(--foreground) 8%, transparent) 0 25%, transparent 0 50%) 0 0 / 18px 18px, var(--muted)}.tv-asset-cover>img{object-fit:cover;width:100%;height:100%}.tv-asset-cover[data-transparent]>img{object-fit:contain}.tv-script-preview{--rs-line:#ffffff17;--tv-accent:#d3ff7e;color:#f4f3ed;margin-top:0}.tv-library-empty{text-align:center;border:1px dashed var(--border);border-radius:14px;padding:45px 20px}.tv-library-empty>svg{color:var(--muted-foreground);margin:auto auto 18px}.tv-library-empty h2{font-size:20px;font-weight:600}.tv-library-empty p{color:var(--muted-foreground);max-width:420px;margin:12px auto 22px;font-size:13px}.tv-library-empty a,.tv-library-empty button{align-items:center;gap:7px;font-size:13px;text-decoration:underline;display:inline-flex}.tv-library-pagination{justify-content:flex-end;gap:20px;margin-top:20px;font-size:12px;display:flex}.tv-library-pagination button:disabled{opacity:.4}.tv-template-library .tv-example-card{background:var(--card);border-color:var(--border)}.tv-template-library .tv-example-copy p,.tv-template-library .tv-example-meta{color:var(--muted-foreground)}.tv-template-library .tv-example-actions button{color:var(--foreground)}.tv-play{min-height:100svh;color:var(--foreground);background:var(--background)}.tv-play-bar{top:env(safe-area-inset-top,0px);z-index:5;border-bottom:1px solid var(--border);background:color-mix(in oklab, var(--background) 92%, transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);align-items:center;gap:18px;padding:10px clamp(14px,3vw,28px);display:flex;position:sticky}.tv-play-title{flex:1;align-items:baseline;gap:10px;min-width:0;display:flex}.tv-play-title h1{white-space:nowrap;text-overflow:ellipsis;font-size:17px;font-weight:700;overflow:hidden}.tv-play-title span{color:var(--muted-foreground);flex:none;font-size:12px}.tv-play-create{text-underline-offset:3px;flex:none;margin-left:auto;font-size:13px;font-weight:600;text-decoration:underline}.tv-play>.tv-game-preview{max-width:1280px;margin:16px auto 0;padding-inline:clamp(12px,3vw,28px)}.tv-play>.tv-game-preview iframe{height:min(76svh,760px)}.tv-play-details{grid-template-columns:minmax(0,1fr) minmax(260px,340px);gap:24px;max-width:1280px;margin:24px auto 0;padding:0 clamp(12px,3vw,28px) 48px;display:grid}.tv-play-details h2{margin:18px 0 6px;font-size:15px;font-weight:700}.tv-play-details p{max-width:68ch;color:var(--muted-foreground);font-size:14px;line-height:1.65}.tv-play-device{background:var(--muted);border-radius:999px;align-items:center;gap:6px;margin-top:12px;padding:4px 10px;font-size:12px;display:inline-flex}.tv-play-device[data-mobile=true]{color:var(--primary-foreground);background:var(--primary)}.tv-play-cta{border:1px solid var(--border);background:var(--card);border-radius:14px;align-self:start;gap:10px;padding:18px;display:grid}.tv-play-cta h2{margin:0}.tv-play-cta .tv-workspace-primary{justify-self:start}.tv-play-state{text-align:center;justify-items:center;gap:18px;padding:18svh 20px;display:grid}.tv-play-state h1{font-size:22px;font-weight:650}@media (width>=1001px){.tv-workbench-embedded{overflow:hidden}.tv-workbench-embedded .tv-studio-grid{height:100%;min-height:0}.tv-workbench-embedded .tv-studio-form,.tv-workbench-embedded .tv-studio-stage{overflow-y:auto}.tv-workbench-embedded .tv-studio-stage .tv-game-preview iframe{height:calc(100svh - 255px);min-height:400px}}@media (width<=1100px){.tv-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=1000px){.tv-workspace-mobile-tabs{border-bottom:1px solid var(--border);z-index:5;background:var(--background);gap:6px;padding:8px 16px;display:flex;position:sticky;top:0}.tv-workspace-mobile-tabs button{color:var(--muted-foreground);border-radius:7px;flex:1;padding:10px;font-size:13px}.tv-workspace-mobile-tabs button[aria-pressed=true]{color:var(--foreground);background:var(--muted)}.tv-workbench-embedded[data-panel=conversation] .tv-studio-stage{visibility:hidden;pointer-events:none;width:100vw;position:absolute;left:-20000px}.tv-workbench-embedded[data-panel=preview] .tv-studio-form{display:none}.tv-workbench-embedded .tv-studio-grid{min-height:0}.tv-workbench-embedded .tv-studio-stage{padding:18px 14px 30px}.tv-workbench-embedded .tv-studio-form{padding:22px 18px}.tv-workbench-embedded .tv-studio-form h1{font-size:25px}.tv-workbench-embedded .tv-studio-stage .tv-game-preview iframe{height:60svh;min-height:390px}}@media (width<=600px){.tv-library>header{flex-direction:column;align-items:flex-start}.tv-project-grid{grid-template-columns:1fr}.tv-library h1{font-size:27px}.tv-library-search{width:100%}.tv-preview-toolbar{flex-wrap:wrap;gap:8px}.tv-preview-actions{justify-content:space-between;width:100%}.tv-play-title span,.tv-play-create{display:none}.tv-play-details{grid-template-columns:1fr}}.tv-game-brief{margin:0 0 20px}.tv-game-brief label{gap:6px;margin-top:12px;font-size:12px;display:grid}.tv-game-brief input{border:1px solid var(--border);background:var(--background);border-radius:6px;width:100%;padding:8px}.tv-template-source{color:var(--muted-foreground);margin-bottom:14px;font-size:12px}.tv-workbench-embedded{flex-direction:column;display:flex;overflow:hidden}.tv-workbench-embedded .tv-studio-grid{grid-template-columns:clamp(340px, var(--tv-conversation-width,400px), calc(100% - 360px)) 0 minmax(0, 1fr);flex:1;grid-template-rows:minmax(0,1fr);height:auto;min-height:0}.tv-workbench-embedded .tv-studio-form{border-right:0;flex-direction:column;min-height:0;padding:0;display:flex;overflow:hidden}.tv-workspace-divider{z-index:10;cursor:col-resize;touch-action:none;width:12px;margin-left:-6px;position:relative}.tuvimo-site .tv-workspace-divider:focus-visible{outline:none}.tv-workspace-divider:after{inset-block:0;background:var(--border);content:"";width:1px;position:absolute;left:5px}.tv-workspace-divider:hover:after,.tv-workspace-divider:focus-visible:after,[data-resizing]>.tv-workspace-divider:after{background:var(--primary);width:2px}.tv-studio-grid[data-resizing]{cursor:col-resize;-webkit-user-select:none;user-select:none}.tv-studio-grid[data-resizing] iframe{pointer-events:none}.tv-conversation-scroll{scrollbar-width:thin;scrollbar-color:var(--border) transparent;flex-direction:column;flex:1;min-height:0;padding:24px 20px;display:flex;overflow-y:auto}.tv-conversation-empty{text-align:center;margin:auto 0;padding-block:24px}.tuvimo-site.tv-workbench-embedded .tv-studio-form .tv-conversation-empty h1{letter-spacing:-.02em;text-wrap:balance;margin:0 0 10px;font-family:inherit;font-size:21px;font-weight:600;line-height:1.4}.tv-conversation-empty p,.tv-conversation-result>p{color:var(--muted-foreground);font-size:14px;line-height:1.65}.tv-conversation-request{background:var(--muted);color:var(--foreground);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:12px;padding:12px 14px;font-size:14px;line-height:1.6}.tv-conversation-result>.tv-conversation-request{color:var(--foreground);margin-bottom:20px}.tv-conversation-history{color:var(--muted-foreground);margin-top:24px;font-size:12px}.tv-conversation-history>summary{cursor:pointer}.tv-conversation-history .tv-version-history{margin-top:12px}.tv-conversation-compose{flex-shrink:0;max-height:65%;padding:12px 16px 16px;overflow-y:auto}.tv-conversation-compose .tv-native-composer,.tv-conversation-compose .tv-native-composer textarea{border-radius:16px}.tv-conversation-compose .tv-composer-cost{color:var(--muted-foreground);margin:8px 4px 0;font-size:11px;line-height:1.5}.tv-workbench-embedded .tv-conversation-compose .tv-studio-error{color:var(--destructive);flex-wrap:wrap;margin:0 4px 12px}.tv-conversation-compose .tv-studio-error button{text-underline-offset:3px;text-decoration:underline}.tv-credit-notice{border:1px solid color-mix(in srgb, var(--primary) 18%, var(--border));background:var(--card);color:var(--foreground);border-radius:14px;margin-bottom:12px;container:credit-notice/inline-size}.tv-credit-notice-layout{align-items:center;gap:16px;padding:14px;display:flex}.tv-credit-notice-body{flex:1;align-items:flex-start;gap:10px;min-width:0;display:flex}.tv-credit-notice-icon{background:var(--primary);width:34px;height:34px;color:var(--primary-foreground);border-radius:10px;flex-shrink:0;place-items:center;display:grid}.tv-credit-notice-copy{overflow-wrap:anywhere;min-width:0}.tv-credit-notice-copy p{margin:0}.tv-credit-notice-title{font-size:13px;font-weight:600;line-height:1.5}.tv-credit-notice-copy .tv-credit-notice-detail{font-variant-numeric:tabular-nums;margin-top:3px;font-size:12px;line-height:1.6}.tv-credit-notice-copy .tv-credit-notice-hint{color:var(--muted-foreground);margin-top:3px;font-size:12px;line-height:1.5}.tv-credit-notice-action{background:var(--primary);min-height:44px;color:var(--primary-foreground);cursor:pointer;border:0;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;gap:8px;padding:10px 14px;font-size:12px;font-weight:600;line-height:1.5;display:inline-flex}.tv-credit-notice-action:hover{background:color-mix(in srgb, var(--primary) 88%, white)}.tv-credit-notice-action:focus-visible{outline:2px solid var(--foreground);outline-offset:3px}@container credit-notice (width<=420px){.tv-credit-notice-layout{flex-direction:column;align-items:stretch;gap:12px}}.tv-brief-options label{gap:6px;margin-top:8px;font-size:12px;display:grid}.tv-brief-options input{border:1px solid var(--border);background:var(--background);width:100%;color:var(--foreground);border-radius:6px;padding:8px}.tv-workbench-embedded .tv-studio-stage{min-height:0;overflow-y:auto}.tv-workbench-embedded .tv-studio-empty{background:0 0;padding:24px}.tv-workbench-embedded .tv-studio-empty>svg{color:var(--muted-foreground);margin-bottom:12px}.tv-workbench-embedded .tv-studio-empty p{font-size:13px}@media (width<=1000px){.tv-workspace-divider{display:none}.tv-workbench-embedded .tv-studio-grid{grid-template-columns:minmax(0,1fr)}.tv-workspace-mobile-tabs{flex-shrink:0}.tv-conversation-compose{padding-bottom:max(16px, env(safe-area-inset-bottom))}}.tuvimo-site.tv-workbench-embedded{height:100%;min-height:0}
