:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#fafafa;--surface:#fff;--surface-2:#f8f8f9;--surface-3:#f2f1fb;--surface-elev:#fff;--surface-muted:#f4f5f7;--surface-pill:#f0f1f2;--ink:#09090b;--ink-2:#303741;--muted:#5d6470;--text-muted:#565c66;--text-subtle:#777d86;--soft:#eef0f3;--line:#dedfe3;--line-soft:#ededee;--line-strong:#cfd2d8;--shadow-pop:0 12px 32px #0f11151f;--accent:#d1fe18;--accent-strong:#bdf000;--accent-soft:#f4ffd3;--accent-ring:#d1fe1857;--accent-text:#121900;--accent-soft-text:#3f5300;--accent-soft-line:#d5e4a8;--purple:var(--accent);--purple-strong:var(--accent-strong);--purple-soft:var(--accent-soft);--green:#138a49;--blue:#1e58df;--orange:#ad5515;--success-soft:#e1f8ea;--success-text:#04783a;--info-soft:#e8efff;--info-text:#1f53d4;--warning-soft:#fff0e6;--warning-text:#9d4a11;--error-soft:#fee9e7;--error-text:#b42318}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#151615;--surface:#1d1f1d;--surface-2:#242724;--surface-3:#292c29;--surface-elev:#2a2d2a;--surface-muted:#303430;--surface-pill:#343834;--ink:#f2f2ed;--ink-2:#dadbd5;--muted:#aaafa8;--text-muted:#b8bcb5;--text-subtle:#858a84;--soft:#2c302c;--line:#3b403b;--line-soft:#333733;--line-strong:#505650;--shadow-pop:0 18px 40px #00000070;--accent-soft:#35410c;--accent-ring:#d1fe1842;--accent-soft-text:#d8ff63;--accent-soft-line:#52631d;--green:#86dfa8;--blue:#9ccaf0;--orange:#f1c783;--success-soft:#1e3b2a;--success-text:#86dfa8;--info-soft:#243547;--info-text:#9ccaf0;--warning-soft:#40331e;--warning-text:#f1c783;--error-soft:#422728;--error-text:#ffaaa5}}*{box-sizing:border-box}html{scroll-behavior:smooth}body{color:var(--ink);background:var(--bg);margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button{color:inherit}a{color:inherit;text-underline-offset:.22em;text-decoration-skip-ink:auto;text-decoration:none;text-decoration-thickness:1px;transition:color .16s,text-decoration-color .16s,background-color .16s}a:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:3px}h1,h2,h3,h4,p,dl,pre{margin:0}button,a,input,select,textarea{outline-color:var(--purple)}.site-header{z-index:80;background:var(--surface);position:sticky;top:0}.announcement{background:var(--accent);height:34px;color:var(--accent-text);justify-content:center;align-items:center;gap:5px;font-size:12px;font-weight:800;display:flex}.topbar{z-index:20;border-bottom:1px solid var(--line);background:var(--surface);justify-content:space-between;align-items:center;min-height:56px;padding:0 10px;display:flex;position:relative}.nav-left,.brand,.nav-actions,.account-menu,.nav-search,.credits-button,.user-avatar-button,.detail-actions,.title-line,.learn-more,.detail-tags,.detail-tabs,.sandbox-row,.card-title-row,.image-url-row,.upload-button,.key-input,.switch-line,.run-row,.result-tabs,.next-actions button,.logs-row,.logs-row button,.code-tabs,.code-tabs button,.copy-button,.endpoint-list div,.shelf-heading h2,.mode-pill{align-items:center;display:flex}.nav-left{gap:0;min-width:0;font-size:11px;font-weight:650}.nav-left a{white-space:nowrap}.nav-current{max-width:300px;color:var(--text-muted);text-overflow:ellipsis;font-size:12px;font-weight:750;overflow:hidden}.nav-current:hover{color:var(--ink)}.nav-home{color:var(--ink-2);font-size:12px;font-weight:750}.nav-home:hover{color:var(--ink)}.nav-breadcrumb{align-items:center;gap:12px;min-width:0;margin-left:14px;display:flex}.nav-divider{background:var(--line-strong);flex:none;width:1px;height:18px}.breadcrumb-chevron{color:var(--text-subtle);flex:none}.brand{letter-spacing:0;gap:5px;min-height:32px;font-size:24px;font-weight:750;line-height:1}.brand-mark{background:var(--ink);flex:0 0 27px;width:27px;height:27px;position:relative;-webkit-mask:url(/native/mark.png) 50%/contain no-repeat;mask:url(/native/mark.png) 50%/contain no-repeat}.brand-mark:after{content:"";background:var(--accent);width:4px;height:4px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)rotate(45deg)}.brand-word{line-height:.9;display:block;transform:translateY(-.5px)}.nav-actions{justify-content:flex-end;gap:5px;min-width:0}.logged-out .nav-search,.logged-out .credits-button,.logged-out .nav-square,.logged-out .user-avatar-button,.site-header:not(.logged-out) .logged-out-actions{display:none}.logged-out-actions{align-items:center;gap:5px;display:flex}.logged-out .topbar .nav-button,.logged-out .topbar .language-select,.logged-out .topbar .login-link,.logged-out .topbar .signup-link{white-space:nowrap;justify-content:center;width:72px;min-width:72px;min-height:38px;padding:0 8px;font-size:12px;font-weight:750}.logged-out .topbar .language-select .custom-select{width:100%}.logged-out .topbar .language-select{padding:0}.logged-out .topbar .language-select .custom-select-trigger{justify-content:space-between;min-height:36px;padding:0 8px;font-size:12px;font-weight:750}.nav-button,.nav-square,.account-menu,.credits-button,.language-select,.login-link,.signup-link,.detail-actions button,.detail-actions a,.copy-model,.card-title-row button,.sandbox-row button,.reset-button,.run-button,.next-actions button,.logs-row button,.add-url-button,.upload-button{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:4px;min-height:36px;font-weight:700}.nav-button,.login-link,.signup-link{align-items:center;padding:0 12px;display:inline-flex}.topbar .nav-button{white-space:nowrap;font-size:12px;font-weight:750}.nav-square,.copy-model,.detail-actions-caret{justify-content:center;width:38px;padding:0}.topbar .nav-button,.topbar .nav-square,.topbar .account-menu,.topbar .credits-button,.topbar .language-select{min-height:38px}.topbar .nav-square{width:38px}.account-menu{color:var(--ink);gap:7px;margin-left:14px;padding:0 8px 0 4px}.account-avatar{color:#fff;background:#3a2612;border-radius:2px;place-items:center;width:24px;height:24px;font-size:12px;font-weight:800;display:inline-grid;overflow:hidden}.account-email{text-overflow:ellipsis;white-space:nowrap;max-width:112px;overflow:hidden}.account-plan{border:1px solid var(--line);color:var(--text-muted);border-radius:999px;padding:1px 7px;font-size:10px;font-weight:650}.user-avatar-button{color:#fff;background:#3a2612;border-radius:2px;place-items:center;width:24px;height:24px;font-size:12px;font-weight:800;display:inline-grid;overflow:hidden}.nav-search{border:1px solid var(--line);background:var(--surface);width:min(300px,28vw);min-height:38px;color:var(--text-subtle);border-radius:4px;gap:8px;padding:0 8px}.nav-search input{background:0 0;border:0;outline:0;flex:1;min-width:0;font-size:11px}.nav-search kbd{background:var(--surface-pill);color:var(--text-muted);border-radius:3px;padding:1px 5px;font-family:inherit;font-size:10px;font-weight:750}.credits-button{gap:7px;padding:0 10px;font-size:12px;font-weight:750}.credits-icon{background-image:radial-gradient(#747a83 1px,#0000 1px);background-size:4px 4px;width:12px;height:12px}.language-select{border:1px solid var(--line);background:var(--surface);border-radius:4px;align-items:center;display:inline-flex;position:relative}.language-select:focus-within{border-color:var(--accent-strong);box-shadow:0 0 0 3px var(--accent-ring)}.custom-select{width:100%;position:relative}.custom-select-trigger{border:1px solid var(--line-strong);background:var(--surface);width:100%;min-height:38px;color:var(--ink);cursor:pointer;font:inherit;text-align:left;border-radius:4px;justify-content:space-between;align-items:center;gap:8px;padding:0 10px 0 12px;font-weight:750;display:flex}.custom-select-trigger span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.custom-select-trigger svg,.custom-select-menu button svg{flex:none}.custom-select-trigger[aria-expanded=true] svg{transform:rotate(180deg)}.custom-select-menu{z-index:120;border:1px solid var(--line-strong);background:var(--surface-elev);min-width:100%;max-height:260px;box-shadow:var(--shadow-pop);border-radius:6px;padding:4px;position:absolute;top:calc(100% + 6px);left:0;overflow:auto}.custom-select-menu button{width:100%;color:var(--ink);cursor:pointer;font:inherit;text-align:left;white-space:nowrap;background:0 0;border:0;border-radius:4px;justify-content:space-between;align-items:center;gap:10px;padding:8px 9px;font-weight:650;display:flex}.custom-select-menu button:hover,.custom-select-menu button:focus-visible,.custom-select-menu button.selected{background:var(--surface-muted)}.custom-select-menu button.selected{font-weight:800}.custom-select-menu button.selected svg{color:var(--green)}.language-select .custom-select{width:68px}.language-select .custom-select-trigger{border:0;min-height:36px;padding:0 8px 0 10px;font-size:12px;font-weight:800}.language-select .custom-select-menu{min-width:92px;left:auto;right:0}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.user-avatar-button{cursor:pointer;border:0;width:30px;height:30px;padding:0}.signup-link{border-color:var(--purple);background:var(--purple);color:var(--accent-text)}main{width:100%}.public-picture{display:contents}.explore-section{width:min(1440px,100vw - 64px);margin:0 auto;padding:28px 0 64px}.catalog-search{border:1px solid var(--line);background:var(--surface);border-radius:6px;grid-template-columns:22px 1fr auto;align-items:center;gap:12px;min-height:54px;padding:0 12px;transition:border-color .16s,box-shadow .16s,background .16s;display:grid}.catalog-search:focus-within{border-color:var(--accent-strong);background:var(--surface);box-shadow:0 0 0 3px var(--accent-ring)}.catalog-search:focus-within svg{color:var(--ink)}.catalog-search input{min-width:0;font:inherit;background:0 0;border:0;outline:none}.catalog-search input::selection{background:var(--accent-soft)}.catalog-search a{border-left:1px solid var(--line);padding:10px 12px;font-size:13px;font-weight:700}.chip-browser{grid-template-columns:30px minmax(0,1fr) 30px;align-items:center;gap:6px;margin:12px 0 30px;display:grid}.chip-line{color:var(--muted);scroll-behavior:smooth;scrollbar-width:none;flex-wrap:nowrap;align-items:center;gap:8px;padding:4px 0;font-size:12px;display:flex;overflow-x:auto}.chip-line::-webkit-scrollbar{display:none}.chip-line button{border:1px solid var(--accent-soft-line);background:var(--accent-soft);min-height:22px;color:var(--accent-soft-text);cursor:pointer;border-radius:4px;flex:none;padding:0 7px;font-size:11px}.chip-line button.active{border-color:var(--accent-strong);background:var(--accent);font-weight:800}.chip-scroll-button{border:1px solid var(--line);background:var(--surface);width:30px;height:30px;color:var(--muted);cursor:pointer;border-radius:4px;place-items:center;display:inline-grid}.chip-scroll-button:hover,.chip-scroll-button:focus-visible{border-color:var(--line-strong);color:var(--ink)}.chip-scroll-button:disabled{opacity:.38;cursor:default}.chip-scroll-button:focus-visible{outline:2px solid var(--accent-strong);outline-offset:2px}.model-shelf{margin-top:28px}.shelf-heading{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:16px;display:flex}.shelf-heading h2{gap:6px;font-size:24px}.shelf-heading p{color:var(--muted);margin-top:5px}.model-card-grid,.examples-panel{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px;display:grid}.model-kind-filter{border:1px solid var(--line);background:var(--surface-muted,#f1f2f3);border-radius:5px;flex:none;gap:3px;padding:3px;display:inline-flex}.model-kind-filter button{min-height:34px;color:var(--muted);cursor:pointer;font:inherit;white-space:nowrap;background:0 0;border:0;border-radius:3px;align-items:center;gap:6px;padding:0 10px;font-size:12px;font-weight:750;display:inline-flex}.model-kind-filter button>span{background:var(--surface);min-width:18px;color:var(--text-muted);text-align:center;border-radius:3px;padding:2px 4px;font-size:10px}.model-kind-filter button.active{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px #0f172a1f}.model-kind-filter button:focus-visible{outline:2px solid var(--accent-strong);outline-offset:1px}.model-card{border:1px solid var(--line);background:var(--surface);width:100%;max-width:100%;min-height:100%;color:var(--ink);border-radius:6px;grid-template-rows:auto 1fr;transition:border-color .16s,box-shadow .16s,transform .16s;display:grid;overflow:hidden}.model-card:hover,.model-card:focus-within{border-color:var(--line-strong);box-shadow:var(--shadow-pop);transform:translateY(-2px)}.model-thumb{aspect-ratio:16/9;border-bottom:1px solid var(--line);background:#111827;position:relative;overflow:hidden}.model-thumb:after{content:"";z-index:1;pointer-events:none;background:linear-gradient(#02061759,#0000 42%),linear-gradient(#0000 54%,#02061742);position:absolute;inset:0}.model-thumb img{object-fit:cover;width:100%;height:100%;display:block}.model-thumb-fallback{background:var(--surface-muted);width:100%;height:100%;color:var(--text-muted);align-content:center;place-items:center;gap:8px;display:grid}.model-thumb-fallback span{font-size:11px;font-weight:750}.thumb-badge{z-index:2;background:var(--accent);color:var(--accent-text);text-transform:uppercase;border-radius:4px;padding:3px 7px;font-size:10px;font-weight:800;position:absolute;top:10px;left:10px}.model-card-body{grid-template-rows:auto 1fr auto;gap:10px;min-height:174px;padding:13px 14px 16px;display:grid}.model-card-title-row{justify-content:space-between;align-items:flex-start;gap:10px;min-width:0;display:flex}.model-card-title-row strong{overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-width:0;font-size:14px;line-height:1.4;display:-webkit-box;overflow:hidden}.mode-pill{border:1px solid var(--accent-soft-line);background:var(--accent-soft);width:max-content;color:var(--accent-soft-text);border-radius:3px;flex:none;gap:4px;padding:3px 6px;font-size:11px;font-weight:700}.model-card-body p{color:var(--muted);-webkit-line-clamp:3;-webkit-box-orient:vertical;align-self:start;font-size:12px;line-height:1.55;display:-webkit-box;overflow:hidden}.tag-row{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.tag-row span{background:var(--surface-muted,#f4f4f4);color:var(--text-muted,#555b61);border-radius:3px;flex:none;padding:3px 6px;font-size:10px}.empty-models{border-top:1px solid var(--line);border-bottom:1px solid var(--line);min-height:120px;color:var(--muted);text-align:center;grid-column:1/-1;justify-content:center;align-items:center;gap:10px;padding:28px 16px;display:flex}.empty-models button{border:1px solid var(--line-strong);background:var(--surface);min-height:34px;color:var(--ink);cursor:pointer;border-radius:4px;padding:0 12px;font-weight:700}@media (max-width:760px){.announcement{height:34px;font-size:13px}.topbar{flex-direction:column;align-items:flex-start;gap:10px;padding:10px 14px}.logged-out .topbar{flex-direction:row;align-items:center;gap:6px;min-height:56px;padding:8px 10px}.logged-out .nav-left{flex:none;width:auto;overflow:visible}.logged-out .nav-left>:not(.brand){display:none}.logged-out .nav-actions{flex-wrap:nowrap;justify-content:flex-end;gap:3px;width:auto;margin-left:auto}.logged-out .logged-out-actions{gap:3px}.logged-out .nav-button,.logged-out .login-link,.logged-out .signup-link{white-space:nowrap;padding-left:9px;padding-right:9px}.site-header:not(.logged-out) .topbar{flex-direction:row;align-items:center;gap:6px;min-height:56px;padding:8px 10px}.site-header:not(.logged-out) .nav-left{flex:none;width:auto;overflow:visible}.site-header:not(.logged-out) .nav-left>:not(.brand){display:none}.site-header:not(.logged-out) .nav-actions{flex-wrap:nowrap;justify-content:flex-end;gap:3px;width:auto;min-width:0;margin-left:auto}.site-header:not(.logged-out) .nav-actions>.nav-button{display:none}.site-header:not(.logged-out) .credits-button{text-overflow:ellipsis;white-space:nowrap;max-width:112px;min-height:36px;padding:0 8px;font-size:10px;overflow:hidden}.site-header:not(.logged-out) .language-select .custom-select-trigger{min-height:36px;padding-left:8px;padding-right:7px}.site-header:not(.logged-out) .nav-square{width:36px;min-height:36px}.nav-left{width:100%;overflow-x:auto}.nav-actions{flex-wrap:wrap;justify-content:flex-start;width:100%}.brand{font-size:22px}.brand-mark{flex-basis:25px;width:25px;height:25px}.explore-section,.model-detail-header,.detail-workspace,.api-doc-panel,.examples-panel,.history-header,.history-list{width:auto;padding-left:14px;padding-right:14px}.explore-section{padding-top:20px;padding-bottom:48px}.chip-line{padding-top:3px;padding-bottom:3px}.chip-browser{margin-bottom:24px}.shelf-heading{flex-direction:column;align-items:stretch;gap:14px}.model-kind-filter{grid-template-columns:repeat(4,minmax(0,1fr));width:100%;display:grid}.model-kind-filter button{justify-content:center;gap:4px;padding:0 5px}.model-kind-filter button svg{display:none}.model-card{flex-basis:100%;width:100%}.catalog-search{grid-template-columns:22px 1fr}.catalog-search a{border-left:0;border-top:1px solid var(--line);grid-column:1/-1}.model-card-grid,.generation-card-grid{grid-template-columns:1fr;gap:14px;display:grid}}.site-footer{border-top:1px solid var(--line);background:var(--surface);color:var(--muted)}.site-footer-inner{justify-content:space-between;align-items:center;gap:20px;width:min(1180px,100% - 48px);min-height:72px;margin:0 auto;font-size:13px;display:flex}.site-footer nav{flex-wrap:wrap;gap:10px 20px;display:flex}.site-footer a{color:var(--muted);text-decoration-color:#0000}@media (max-width:640px){.site-footer-inner{flex-direction:column;align-items:flex-start;width:min(100% - 32px,1180px);padding:22px 0}}@media (max-width:480px){.logged-out .nav-actions>.nav-button{display:none}}
.detail-actions,.title-line,.learn-more,.detail-tags,.detail-tabs,.sandbox-row,.card-title-row,.switch-line,.run-row,.result-tabs,.next-actions button,.logs-row,.logs-row button{align-items:center;display:flex}.detail-actions button,.detail-actions a,.copy-model,.card-title-row button,.sandbox-row button,.reset-button,.run-button,.next-actions button,.logs-row button{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:4px;min-height:36px;font-weight:700}.copy-model{justify-content:center;width:38px;padding:0}.model-detail-page{background:var(--bg);min-height:calc(100vh - 96px)}.model-detail-header{border-bottom:1px solid var(--line);background:var(--surface)}.detail-heading-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:36px;width:min(1360px,100% - 64px);min-height:144px;margin:0 auto;padding:24px 0;display:grid}.detail-title-block{align-content:start;display:grid}.title-line{flex-wrap:wrap;gap:14px}.title-line h1{align-items:baseline;max-width:none;font-size:32px;font-weight:800;line-height:1.18;display:inline-flex}.title-line h1 span{color:var(--ink-2);font-weight:400}.copy-model{color:#6b7280;cursor:pointer;background:0 0;border:0;width:18px;min-height:24px}.copy-model:hover{color:var(--ink)}.copy-model.is-copied{color:#16a34a}.title-info{color:var(--text-subtle)}.detail-title-block>p{max-width:820px;margin-top:6px;font-size:16px;line-height:1.5}.learn-more{gap:4px;width:max-content;margin-top:8px;font-size:13px}.detail-tags{flex-wrap:wrap;gap:4px;margin-top:15px}.detail-tags span{border-radius:3px;padding:3px 6px;font-size:10px;font-weight:800;line-height:1.1}.tag-purple{background:var(--accent-soft);color:var(--accent-soft-text)}.tag-blue{background:var(--info-soft);color:var(--info-text)}.tag-orange{background:var(--warning-soft);color:var(--warning-text)}.detail-actions{gap:8px;padding-top:0}.detail-actions button,.detail-actions a{color:var(--ink);align-items:center;gap:8px;padding:0 17px;font-size:14px;display:inline-flex}.detail-actions .detail-actions-caret{padding:0}.model-entry{border:1px solid var(--line);background:var(--surface-2);border-radius:8px;justify-content:space-between;align-items:center;gap:20px;width:min(1360px,100% - 64px);margin:0 auto 16px;padding:16px 18px;display:flex}.model-entry-copy{min-width:0}.model-entry h2{margin:0 0 4px;font-size:15px;line-height:1.4}.model-entry p{max-width:72ch;color:var(--text-muted);margin:0;font-size:13px;line-height:1.6}.model-entry-actions{flex-wrap:wrap;flex-shrink:0;align-items:center;gap:8px;display:flex}.model-entry-actions a{border:1px solid var(--line);background:var(--surface);min-height:40px;color:var(--ink);border-radius:5px;justify-content:center;align-items:center;gap:7px;padding:9px 12px;font-size:13px;font-weight:700;display:inline-flex}.model-entry-actions .model-entry-primary{background:var(--accent);color:var(--accent-text);border-color:var(--accent-strong)}.model-entry-actions a:hover,.detail-actions a:hover{border-color:var(--accent-strong)}.model-entry a:focus-visible,.detail-actions a:focus-visible{outline:2px solid var(--ink);outline-offset:3px}@media (max-width:1100px){.model-entry{flex-direction:column;align-items:flex-start;gap:12px}}@media (max-width:680px){.model-entry{width:100%;padding:14px}.model-entry-actions{grid-template-columns:1fr 1fr;width:100%;display:grid}.model-entry-actions .model-entry-primary{grid-column:1/-1}.model-entry-actions a,.detail-actions a{min-height:44px}.title-line h1{overflow-wrap:anywhere;min-width:0;display:block}.title-line h1 span{white-space:nowrap}}.detail-tabs{gap:0;width:min(1360px,100% - 64px);margin:0 auto;padding:0}.detail-tabs button{cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;min-width:112px;height:48px;font-size:15px;font-weight:700}.detail-tabs button.active{border-bottom-color:var(--purple)}.detail-workspace{width:min(1360px,100% - 64px);margin:0 auto;padding:20px 0 56px}.sandbox-row{justify-content:flex-end;height:44px}.sandbox-row button{background:var(--accent);min-height:36px;color:var(--accent-text);border-color:#12190024;align-self:center;padding:0 17px}.mobile-playground-tabs{display:none}.detail-grid{grid-template-columns:minmax(380px,.92fr) minmax(520px,1.08fr);gap:20px;display:grid}.detail-input-card,.detail-result-card{border:1px solid var(--line);background:var(--surface);border-radius:6px;align-content:start;gap:16px;min-height:680px;padding:20px;display:grid}.card-title-row{border-bottom:1px solid var(--line);justify-content:space-between;gap:16px;min-height:40px;padding-bottom:14px}.card-title-row h2{align-items:center;gap:7px;font-size:16px;display:inline-flex}.card-title-row h2 span{background:var(--surface-muted,#f0f1f3);color:var(--text-muted,#555b63);border-radius:3px;padding:2px 6px;font-size:11px}.card-title-row button{gap:8px;padding:0 13px;font-size:13px;font-weight:650}.field{color:var(--ink);gap:7px;font-size:14px;display:grid}.field>span{color:var(--ink);align-items:center;gap:5px;font-size:13px;font-weight:650;line-height:1.2;display:inline-flex}.field svg{color:var(--text-subtle,#7f8794);flex:none}.field input,.field .custom-select-trigger,.field textarea{border:1px solid var(--line-strong);background:var(--surface);width:100%;color:var(--ink);border-radius:4px}.card-title-row h2 span.is-running{background:var(--accent-soft);color:var(--accent-soft-text)}.card-title-row h2 span.is-ready{background:var(--success-soft);color:var(--success-text)}.card-title-row h2 span.is-error{background:var(--error-soft);color:var(--error-text)}.field input:focus,.field textarea:focus{border-color:var(--accent-strong);box-shadow:0 0 0 3px var(--accent-ring);outline:none}.field input,.field .custom-select-trigger{height:38px;padding:0 12px;font-size:14px}.field .custom-select-menu{width:100%}.route-mode-fixed{border:1px dashed var(--line-strong);background:var(--surface-muted,#7f879414);width:100%;min-height:38px;color:var(--ink);cursor:default;border-radius:4px;align-items:center;padding:0 12px;font-size:14px;display:inline-flex}.field textarea{resize:vertical;min-height:88px;padding:10px 12px;font-size:14px;line-height:1.45}.image-gallery{border:1.5px dashed #0000;border-radius:8px;gap:10px;padding:10px;transition:border-color .15s,background .15s;display:grid}.image-gallery.is-drag-over{border-color:var(--accent-strong);background:var(--accent-soft)}.image-gallery.is-uploading{opacity:.95}.image-gallery-toolbar{grid-template-columns:auto minmax(0,1fr) auto;align-items:stretch;gap:8px;display:grid}.image-gallery-add,.image-gallery-add-url{border:1px solid var(--line);background:var(--surface);height:42px;color:var(--ink);font:inherit;cursor:pointer;white-space:nowrap;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:0 16px;font-size:13px;font-weight:700;display:inline-flex}.image-gallery-add:hover:not(:disabled),.image-gallery-add-url:hover:not(:disabled){border-color:var(--line-strong)}.image-gallery-add:disabled,.image-gallery-add-url:disabled{opacity:.5;cursor:not-allowed}.image-gallery-url-input{border:1px solid var(--line);background:var(--surface-muted,#f7f8fa);width:100%;min-width:0;height:42px;color:var(--ink);font:inherit;border-radius:6px;padding:0 12px;font-size:13px}.image-gallery-url-input::placeholder{color:#98a2b3}.image-gallery-url-input:focus{border-color:var(--accent-strong);background:var(--surface);outline:none}.image-gallery-hint{color:var(--muted);margin:0;font-size:12px;line-height:1.55}.image-gallery-hint strong{color:var(--ink);font-weight:700}.image-gallery-error{color:var(--danger,#d23939);margin:0;font-size:12px}.image-gallery-thumbs{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;display:grid}.image-gallery-thumb{aspect-ratio:1;border:1px solid var(--line);background:#0a0a0a;border-radius:8px;position:relative;overflow:hidden}.image-gallery-thumb img{object-fit:cover;width:100%;height:100%;display:block}.image-gallery-thumb-trash,.image-gallery-thumb-link{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(4px);background:#0f172a8c;border:0;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;transition:background .15s;display:inline-flex;position:absolute}.image-gallery-thumb-trash:hover,.image-gallery-thumb-link:hover{background:#0f172acc}.image-gallery-thumb-trash{top:6px;right:6px}.image-gallery-thumb-link{bottom:6px;right:6px}.image-gallery-thumb-link.is-copied{background:var(--accent-strong);color:var(--accent-text)}.image-gallery-thumb-dims{color:#fff;letter-spacing:.02em;background:#0f172a8c;border-radius:4px;padding:2px 8px;font-size:11px;font-weight:600;position:absolute;bottom:6px;left:6px}.image-gallery-count{color:var(--muted);margin:0;font-size:13px}.switch-line.compact{min-height:26px;font-size:13px}.compact-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.next-actions h3{font-size:16px;font-weight:400}.run-row{border-top:1px solid var(--line);justify-content:flex-start;align-self:end;gap:8px;margin-top:auto;padding-top:14px}.reset-button{padding:0 17px;font-size:13px;font-weight:650}.switch-line{min-height:38px;color:var(--ink-2);cursor:pointer;gap:8px;font-size:13px;font-weight:650}.switch-line input{opacity:0;pointer-events:none;position:absolute}.switch-line span{background:var(--line-strong);border-radius:999px;width:44px;height:24px;position:relative}.switch-line span:after{content:"";background:var(--surface);border-radius:999px;width:18px;height:18px;transition:transform .14s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0000002e}.switch-line input:checked+span{background:var(--purple)}.switch-line input:checked+span:after{transform:translate(20px)}.run-button{border-color:var(--purple);background:var(--purple);width:auto;min-width:112px;height:38px;min-height:38px;color:var(--accent-text);justify-content:center;align-items:center;gap:6px;margin-left:auto;padding:0 14px;font-size:13px;font-weight:700;line-height:1;display:inline-flex}.run-button svg{flex:none;width:15px;height:15px;display:block}.run-button:disabled{cursor:not-allowed;opacity:.92}.balance-pill{border:1px solid var(--line);min-height:38px;color:var(--muted);border-radius:4px;align-items:center;padding:0 12px;font-size:13px;font-weight:650;display:inline-flex}.spin{animation:.8s linear infinite spin}.result-tabs{gap:0}.result-tabs button{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:0;gap:8px;min-height:33px;padding:0 13px;font-weight:700}.result-tabs button:first-child{border-radius:3px 0 0 3px}.result-tabs button:last-child{border-left:0;border-radius:0 3px 3px 0}.result-preview{border:1px solid var(--line);background:var(--surface-muted,#f4f5f6);border-radius:4px;place-items:center;min-height:420px;display:grid;position:relative;overflow:hidden}.result-preview img{object-fit:contain;width:100%;height:100%}.result-preview video{object-fit:contain;background:#05070a;width:100%;height:100%;max-height:436px}.result-state{width:min(420px,100% - 32px);color:var(--text-muted);text-align:center;justify-items:center;gap:9px;display:grid}.result-state strong{color:var(--ink);font-size:15px}.result-state p{max-width:360px;color:var(--muted);font-size:13px;line-height:1.5}.result-error-state>svg{color:var(--error-text)}.result-state-action{border:1px solid var(--line);background:var(--surface);min-height:36px;color:var(--ink);border-radius:4px;justify-content:center;align-items:center;gap:6px;padding:0 12px;font-weight:700;display:none}.generation-progress{background:linear-gradient(90deg, #7f87941a 1px, transparent 1px), linear-gradient(180deg, #7f87941a 1px, transparent 1px), var(--surface-muted);background-size:36px 36px;justify-items:center;gap:18px;width:min(654px,100%);min-height:436px;padding:58px 44px 48px;display:grid}.progress-frame{aspect-ratio:16/10;background:linear-gradient(135deg,#0000 0 42%,#d1fe18e6 43% 49%,#0000 50%),linear-gradient(28deg,#0000 0 58%,#727cff75 59% 65%,#0000 66%),linear-gradient(145deg,#fff,#e7edf3);border:1px solid #cfd7df;border-radius:8px;width:min(330px,72vw);position:relative;overflow:hidden;box-shadow:0 22px 50px #16202c1f}.progress-frame:before{content:"";background:repeating-linear-gradient(90deg,#0000 0 17px,#171f2a12 18px 19px),repeating-linear-gradient(0deg,#0000 0 17px,#171f2a12 18px 19px);border:1px solid #222f3e1f;border-radius:6px;position:absolute;inset:16%}.progress-scan{background:linear-gradient(90deg,#0000 0 34%,#ffffffc7 46%,#0000 58%);animation:1.8s ease-in-out infinite progress-scan;position:absolute;inset:0;transform:translate(-78%)}.progress-tile{opacity:.14;background:#141922;border-radius:4px;animation:1.4s ease-in-out infinite progress-tile;display:block;position:absolute}.progress-play{background:#0f1720c7;border-radius:50%;width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.progress-play:after{content:"";border-top:9px solid #0000;border-bottom:9px solid #0000;border-left:14px solid #fff;position:absolute;top:13px;left:18px}.progress-copy{color:var(--ink);align-items:center;gap:9px;display:flex}.progress-copy strong{font-size:15px}.progress-copy span{color:var(--muted);font-size:13px}.progress-bar{background:var(--surface-muted,#e2e8ef);border-radius:999px;width:min(330px,72vw);height:5px;overflow:hidden}.progress-bar span{border-radius:inherit;background:#d1fe18;width:44%;height:100%;animation:1.4s ease-in-out infinite progress-bar;display:block}.next-actions{justify-items:start;gap:8px;display:grid}.next-actions button{justify-content:center;gap:9px;padding:0 17px}.pricing-note{color:#303741;font-size:14px;line-height:1.5}.logs-row{border-top:1px solid var(--line);justify-content:space-between;min-height:48px;padding-top:3px}.logs-row strong{font-size:16px}.logs-row button{gap:8px;padding:0 13px}.result-json-view{border:1px solid var(--line);background:var(--surface);border-radius:6px;min-width:0;max-width:100%}.result-json-toolbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.result-json-toolbar button{border:1px solid var(--line);background:var(--accent);color:var(--accent-text);cursor:pointer;border-radius:4px;align-items:center;gap:6px;padding:7px 10px;display:inline-flex}.result-json-toolbar button:disabled{opacity:.5;cursor:default}.result-json-view pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:440px;margin:0;padding:16px;font-size:12px;line-height:1.7;overflow:auto}.result-diagnostics-note{color:var(--muted);overflow-wrap:anywhere;margin:0;padding:10px 12px;font-size:12px;line-height:1.6}.logs-row .is-expanded{transform:rotate(180deg)}.result-tabs button.active{box-shadow:inset 0 -2px var(--accent)}@media (max-width:1180px){.detail-grid{grid-template-columns:minmax(0,1fr)}.detail-result-card,.detail-input-card{min-height:auto}}@media (max-width:760px){.model-detail-header,.detail-workspace{width:auto;padding-left:14px;padding-right:14px}.detail-heading-row{grid-template-columns:1fr;gap:18px;width:100%;min-height:auto;padding:20px 0}.detail-tabs{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;padding:0;display:grid;overflow:visible}.detail-tabs button{width:100%;min-width:0}.title-line h1{font-size:28px}.detail-actions{flex-wrap:wrap}.sandbox-row{height:auto;margin:12px 0 16px}.mobile-playground-tabs{border:1px solid var(--line);background:var(--surface-muted,#f1f2f3);border-radius:5px;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;margin-bottom:12px;padding:3px;display:grid}.mobile-playground-tabs button{min-width:0;min-height:40px;color:var(--muted);cursor:pointer;font:inherit;background:0 0;border:0;border-radius:3px;justify-content:center;align-items:center;gap:7px;font-weight:750;display:inline-flex;position:relative}.mobile-playground-tabs button.active{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px #0f172a1f}.mobile-playground-tabs button:focus-visible{outline:2px solid var(--accent-strong);outline-offset:1px}.mobile-result-indicator{background:var(--accent-strong);border-radius:999px;width:6px;height:6px}.mobile-panel-input .detail-result-card,.mobile-panel-result .detail-input-card{display:none}.detail-input-card,.detail-result-card{gap:14px;padding:14px}.compact-grid{grid-template-columns:1fr}.field{font-size:15px}.run-row{z-index:8;background:var(--surface);flex-wrap:wrap;margin-bottom:-14px;margin-left:-14px;margin-right:-14px;padding:12px 14px;position:sticky;bottom:0;box-shadow:0 -8px 20px #0f172a14}.run-button{width:auto;margin-left:auto}.result-preview{min-height:300px}.result-state-action{display:inline-flex}.pricing-note{font-size:14px}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes progress-scan{0%{transform:translate(-78%)}55%,to{transform:translate(78%)}}@keyframes progress-tile{0%,to{opacity:.12;transform:translateY(0)}50%{opacity:.32;transform:translateY(-3px)}}@keyframes progress-bar{0%{transform:translate(-100%)}to{transform:translate(230%)}}
[hidden]{display:none!important}button:disabled{cursor:not-allowed;opacity:.5}.site-footer a{color:var(--muted);text-decoration-line:underline;text-decoration-color:#0000}.site-footer a:is(:hover,:focus-visible){color:var(--ink);-webkit-text-decoration-color:var(--accent-strong);text-decoration-color:var(--accent-strong);background-color:var(--accent-soft)}.model-card-body{grid-template-rows:auto 1fr auto auto;min-height:208px}.native-price-row{border-top:1px solid var(--line-soft);justify-content:space-between;align-items:baseline;gap:10px;min-width:0;padding-top:10px;display:flex}.native-price-label{color:var(--text-subtle);font-size:10px;font-weight:700}.native-price{text-align:right;flex-wrap:wrap;justify-content:flex-end;align-items:baseline;gap:4px;min-width:0;display:flex}.native-price strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:14px}.native-price small{color:var(--text-subtle);font-size:10px}.notice{border:1px solid var(--line);background:var(--warning-soft);color:var(--warning-text);overflow-wrap:anywhere;border-radius:6px;margin-bottom:14px;padding:11px 13px;font-size:12px;line-height:1.6}.notice button{color:inherit;cursor:pointer;background:0 0;border:0;margin-left:12px;padding:0;font-weight:750;text-decoration:underline}.topbar .nav-square{place-items:center;display:inline-grid}.topbar .nav-square,.topbar .login-link,.topbar .signup-link{color:var(--ink)}.topbar .signup-link{color:var(--accent-text)}@media (max-width:760px){.model-kind-filter{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}}.model-detail-page .notice{margin:0 0 12px}.text-link{color:var(--ink-2);text-decoration:underline;-webkit-text-decoration-color:var(--line-strong);text-decoration-color:var(--line-strong);text-underline-offset:3px;align-items:center;gap:5px;display:inline-flex}.text-link:hover{color:var(--ink);-webkit-text-decoration-color:var(--accent-strong);text-decoration-color:var(--accent-strong)}
