:root{color:#292925;font-synthesis:none;--surface:#faf9f6;--sidebar:#efeee9;--line:#e3e1da;--muted:#77766e;--accent:#a54d35;--hover:#e8e6e0;--ink:#292925;background:#faf9f6;font-family:Arial,Helvetica,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;background:0 0;border:0}button:disabled{opacity:.35;cursor:default}a{color:inherit}button:focus-visible,a:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}button:hover:not(:disabled){background:var(--hover)}[hidden]{display:none!important}svg{flex-shrink:0;width:20px;height:20px;display:block}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.sidebar{background:var(--sidebar);flex-direction:column;min-width:0;padding:0 12px;display:flex;overflow:hidden}.wordmark{letter-spacing:-.8px;white-space:nowrap;font-size:18px;font-weight:750;text-decoration:none}.wordmark span{color:var(--accent);margin-left:7px;font-size:21px;font-weight:400}.new-chat{text-align:left;border-radius:7px;align-items:center;gap:10px;min-height:40px;margin:3px 0 25px;padding:8px 10px;font-size:14px;display:flex}.new-chat svg{width:18px;height:18px}.chat-history{overscroll-behavior:contain;flex:1;overflow:auto}.history-label{color:var(--muted);margin:0 10px 10px;font-size:12px}.history-empty{color:var(--muted);margin:0 10px;font-size:13px;line-height:1.5}.history-row{border-radius:7px;align-items:center;margin:2px 0;display:flex;position:relative}.history-row:has([aria-current=page]){background:#e2e0d8}.history-item{text-align:left;white-space:nowrap;text-overflow:ellipsis;border-radius:7px;flex:1;min-width:0;padding:11px 32px 11px 10px;font-size:13px;overflow:hidden}.chat-workspace{flex-direction:column;min-width:0;min-height:0;display:flex}.chat-header{justify-content:space-between;align-items:center;gap:12px;height:64px;min-height:64px;padding:0 24px;display:flex}.header-leading{align-items:center;gap:8px;min-width:0;display:flex}.icon-button{width:34px;min-width:34px;height:34px;color:var(--muted);border-radius:6px;justify-content:center;align-items:center;padding:7px;display:inline-flex;position:relative}.model-switch{white-space:nowrap;border-radius:6px;align-items:center;gap:6px;min-height:36px;padding:6px 8px;font-size:16px;font-weight:500;display:flex}.model-switch svg{width:15px;height:15px;color:var(--muted)}.runtime-status{color:var(--muted);white-space:nowrap;margin-left:5px;font-size:11px}.runtime-status[data-state=ready]{color:#507158}.runtime-status[data-state=loading],.runtime-status[data-state=generating]{color:var(--accent)}.chat-view{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.conversation-scroll{overscroll-behavior:contain;scrollbar-gutter:stable;flex:1;padding:12px 28px 0;overflow-y:auto}.chat-transcript{width:100%;max-width:740px;min-height:100%;margin:0 auto;padding:8px 0 32px}.chat-turn{gap:12px;min-width:0;margin:0 0 28px;display:flex}.chat-turn.user{justify-content:flex-end;margin:12px 0 30px}.turn-content{flex:1;min-width:0;max-width:100%}.user .turn-content{flex:initial;background:#eeede8;border-radius:18px;max-width:82%;padding:10px 16px}.chat-writing{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:15px;line-height:1.8}.assistant .chat-writing:empty{display:none}.tiny-avatar{color:var(--accent);text-align:center;width:24px;min-width:24px;height:28px;margin-top:1px;font-size:26px;line-height:28px}.response-actions{align-items:center;gap:2px;margin:7px 0 0 -6px;display:flex}.response-actions .icon-button{width:28px;min-width:28px;height:28px;padding:6px}.response-actions svg{width:16px;height:16px}.chat-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:100%;padding:24px;display:flex}.chat-empty h1{letter-spacing:-1px;margin:0;font-size:28px;font-weight:500;line-height:1.25}.empty-symbol{color:var(--accent);margin-bottom:22px;font-size:42px;line-height:1}.is-empty .chat-transcript{justify-content:center;align-items:center;padding:0;display:flex}.is-empty .conversation-scroll{flex-direction:column;display:flex}.is-empty .chat-empty{flex:1}.is-empty .composer-area{padding-bottom:clamp(40px,20dvh,210px)}.composer-area{padding:0 28px max(12px,env(safe-area-inset-bottom));background:var(--surface);flex-shrink:0}.chat-composer{background:#efeee9;border:1px solid #e3e1d9;border-radius:20px;max-width:740px;margin:0 auto;padding:13px 14px 9px}.chat-composer:focus-within{border-color:#c5c1b6}.chat-composer textarea{resize:none;background:0 0;border:0;outline:0;width:100%;min-height:26px;max-height:160px;padding:0 3px;font-size:15px;line-height:1.6;display:block;overflow-y:auto}.chat-composer textarea::placeholder{color:#8b8980}.composer-controls{justify-content:space-between;align-items:center;gap:12px;margin-top:6px;display:flex}.composer-model{min-height:30px;color:var(--muted);border-radius:5px;align-items:center;gap:7px;padding:4px 5px;font-size:12px;display:flex}.send-button{background:var(--ink);width:32px;height:32px;color:var(--surface);border-radius:50%;flex-shrink:0;place-items:center;display:grid}.send-button:hover:not(:disabled){background:#494940}.send-button:disabled{opacity:.22}.send-button svg{width:18px;height:18px}.chat-status{text-align:center;max-width:740px;min-height:17px;color:var(--muted);overflow-wrap:anywhere;margin:8px auto 0;font-size:11px;line-height:1.5}.thinking{min-height:28px;color:var(--muted);align-items:center;gap:9px;font-size:13px;display:flex}.chat-writing:not(:empty)+.thinking{margin-top:8px}dialog{background:var(--surface);width:calc(100% - 32px);max-width:400px;max-height:calc(100dvh - 40px);color:inherit;border:1px solid var(--line);border-radius:12px;padding:20px;overflow:auto}dialog::backdrop{background:#1d1e1a50}.dialog-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.dialog-heading h2{letter-spacing:-.4px;margin:0;font-size:19px;font-weight:500}.dialog-description{color:var(--muted);margin:8px 0 24px;font-size:13px}label{margin:16px 0 7px;font-size:13px;display:block}select{font:inherit;background:var(--surface);appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2377766e'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;background-size:15px;border:1px solid #d7d4ca;border-radius:6px;width:100%;min-width:0;min-height:38px;padding:9px 34px 9px 10px;font-size:14px}.muted{color:var(--muted);font-size:12px;line-height:1.65}.dialog-actions{gap:8px;margin-top:20px;display:flex}.dialog-actions button{border:1px solid var(--line);border-radius:6px;min-height:36px;padding:8px 12px;font-size:13px}.primary{background:var(--ink);color:var(--surface);border-color:var(--ink)!important}.primary:hover:not(:disabled){background:#494940}.dialog-status{color:var(--muted);overflow-wrap:anywhere;font-size:12px;line-height:1.6}.dialog-status:empty{display:none}progress{width:100%;height:4px;accent-color:var(--accent);margin-top:18px}details{border-top:1px solid var(--line);margin-top:20px;padding-top:12px}summary{cursor:pointer;min-height:28px;color:var(--muted);font-size:12px}.diagnostics{white-space:pre-wrap;overflow-wrap:anywhere;font:11px/1.8 monospace}@media (width>=1600px){.chat-transcript,.chat-composer,.chat-status{max-width:800px}}@media (width<=760px){.chat-header{height:56px;min-height:56px;padding:0 12px}.model-switch{padding:6px 4px;font-size:14px}.header-leading{gap:4px}.runtime-status{margin-left:3px;font-size:10px}.conversation-scroll{scrollbar-gutter:auto;padding:8px 18px 0}.chat-transcript{padding-bottom:16px}.composer-area{padding-inline:14px;padding-bottom:max(10px,env(safe-area-inset-bottom))}.chat-writing{font-size:15px;line-height:1.7}.chat-turn{gap:8px;margin-bottom:24px}.chat-turn.user{margin-bottom:26px}.user .turn-content{max-width:88%;padding:9px 13px}.chat-composer{border-radius:18px;padding:11px 12px 8px}.chat-composer textarea{font-size:16px}.chat-empty h1{font-size:25px}.empty-symbol{margin-bottom:18px;font-size:36px}.is-empty .composer-area{padding-bottom:max(22px,env(safe-area-inset-bottom))}.icon-button{width:36px;min-width:36px;height:36px}.new-chat,.history-item,.model-switch{min-height:40px}.composer-model{min-height:32px}.send-button{width:36px;height:36px}}@media (width<=360px){.chat-header{padding-inline:8px}.runtime-status{font-size:9px}.model-switch{font-size:13px}.header-leading{gap:0}.model-switch svg{width:12px}.conversation-scroll{padding-inline:14px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.brand-mark{width:26px;height:26px;color:var(--accent);flex-shrink:0;display:block}.wordmark{letter-spacing:-.8px;align-items:center;gap:9px;font-size:20px;font-weight:800;display:inline-flex}.tiny-avatar .brand-mark{width:24px;height:24px;margin-top:2px}.reply-issue{color:var(--muted);overflow-wrap:anywhere;margin-top:10px;font-size:12px;line-height:1.6}.reply-issue button{color:var(--accent);min-height:32px;padding:4px 0;font-size:12px;display:block}.runtime-status[data-state=stopping]{color:var(--accent)}.chat-header{z-index:3;background:var(--surface);position:sticky;top:0}.header-actions{flex-shrink:0;align-items:center;gap:4px;display:flex}.wordmark{letter-spacing:-1.1px;color:#2b2924;gap:10px;font-family:Arial Black,Arial,Helvetica,sans-serif;font-weight:900}.brand-mark{color:var(--brand-accent,var(--accent))}.wordmark .brand-mark{width:29px;height:29px}.tiny-avatar .brand-mark{width:24px;height:24px}.empty-symbol .brand-mark{width:46px;height:46px}.starter-prompts{flex-wrap:wrap;justify-content:center;gap:8px;max-width:540px;display:flex}.starter-prompts button{border:1px solid var(--line);background:var(--surface);border-radius:7px;min-height:38px;padding:9px 12px;font-size:13px}.starter-tip{color:var(--muted);max-width:410px;margin:16px 0 0;font-size:12px;line-height:1.6}.chat-empty{max-width:600px;margin:auto}.model-guide{margin-top:12px;font-size:13px;line-height:1.6}.model-guide p{margin:0 0 8px}.guide-limit{color:var(--muted)}.dialog-actions{flex-wrap:wrap}.help-dialog{max-width:660px;max-height:calc(100dvh - 48px);padding:20px 26px}.help-dialog .dialog-heading{background:var(--surface);border-bottom:1px solid var(--line);z-index:2;margin-bottom:16px;padding:8px 0 14px;position:sticky;top:-20px}.help-content{font-size:15px;line-height:1.7}.help-content p{margin:0 0 14px}.help-content section{margin-top:26px}.help-content h3{letter-spacing:-.2px;margin:0 0 12px;font-size:16px;font-weight:600;line-height:1.4}.help-content ol,.help-content ul{margin:0 0 16px;padding-left:22px}.help-content li{margin-bottom:10px;padding-left:3px}.help-content strong{font-weight:600}.guide-list{margin:0}.guide-list>div{border-bottom:1px solid var(--line);padding:14px 0}.guide-list dt{margin-bottom:6px;font-weight:600}.guide-list dd{margin:0}.guide-list dd p{margin:0 0 7px}.guide-list .guide-limit{font-size:14px}.help-content a{text-underline-offset:3px}.help-content details{margin-top:26px}.help-content summary{min-height:36px;font-size:14px;line-height:1.5}.help-credits{color:var(--muted);font-size:13px}.help-credits h3{color:var(--ink)}@media (width<=760px){.starter-prompts{gap:7px}.starter-prompts button{min-height:44px}.starter-tip{max-width:310px;font-size:12px}.chat-empty{padding:20px 8px}.chat-empty h1{font-size:24px}.help-dialog{max-height:calc(100dvh - 28px);padding:16px 20px}.help-dialog .dialog-heading{top:-16px}.help-content{font-size:14px}.help-content h3{font-size:15px}}@media (width<=400px){.chat-header{gap:4px}.model-switch{min-width:0;max-width:144px}.model-switch span{text-overflow:ellipsis;overflow:hidden}.header-actions .icon-button{width:32px;min-width:32px}.header-leading{gap:0}.runtime-status{margin-left:0}.starter-prompts{flex-direction:column;width:100%;max-width:260px}.starter-prompts button{text-align:left}}.app-shell{grid-template:"sidebar content"minmax(0,1fr)"footer footer"/192px minmax(0,1fr);height:100dvh;display:grid;position:relative;overflow:hidden}.app-shell>.sidebar{border-inline-end:1px solid var(--line);grid-area:sidebar;min-height:0}.app-shell>.chat-workspace,.app-shell>.tool-workspace{grid-area:content}.sidebar .wordmark{flex-shrink:0;align-self:start;gap:6px;min-height:52px;padding-inline:8px;font-size:14px}.sidebar .wordmark .brand-mark{width:19px;height:19px}.workspace-nav{border-bottom:1px solid var(--line);flex-shrink:0;padding:0 0 8px;display:grid}.workspace-nav a{min-height:30px;color:var(--muted);white-space:nowrap;align-items:center;padding:0 8px;font-size:11px;font-weight:400;text-decoration:none;display:flex}.workspace-nav a span{position:relative}.workspace-nav a:hover{color:var(--ink)}.workspace-nav a:focus-visible{outline-offset:-3px}.workspace-nav a[aria-current=page]{color:var(--ink)}.workspace-nav a[aria-current=page] span:after{content:"";background:color-mix(in srgb, var(--accent) 55%, transparent);height:1px;position:absolute;inset:auto 0 -4px}.sidebar-conversations{flex-direction:column;flex:1;min-height:0;padding-top:6px;display:flex}.sidebar-conversations .new-chat{flex-shrink:0;margin:0 0 8px}.sidebar-actions{flex-shrink:0;justify-content:space-between;align-items:center;margin-block:auto 4px;display:flex}.sidebar-actions .icon-button,.history-actions .icon-button{width:24px;min-width:24px;height:24px;padding:5px}.sidebar-actions svg,.history-actions svg{width:12px;height:12px}.history-actions{flex-shrink:0;display:flex}.sidebar .history-item{padding-inline:8px 2px;font-size:11px}.app-footer{padding:0 max(16px, env(safe-area-inset-right)) env(safe-area-inset-bottom);border-top:1px solid var(--line);grid-area:footer;justify-content:end;align-items:center;display:flex}.app-footer a{min-height:30px;color:var(--muted);align-items:center;padding-inline:5px;font-size:11px;text-decoration:none;display:inline-flex}.app-footer a:hover{color:var(--ink);text-underline-offset:3px;text-decoration:underline}.tool-workspace{overscroll-behavior:contain;scrollbar-gutter:stable both-edges;min-width:0;min-height:0;overflow:auto}.workspace-content{width:min(100%,1100px);margin:0 auto;padding:clamp(16px,3vw,36px) clamp(12px,3vw,32px) 28px}.workspace-heading{margin-bottom:clamp(14px,2vw,24px)}.workspace-heading h1{letter-spacing:-.025em;margin:0;font-size:clamp(19px,2.5vw,25px);font-weight:500}.workspace-heading a{color:var(--muted);margin-bottom:8px;font-size:11px;display:inline-block}.tool-workspace h3{overflow-wrap:anywhere;margin:0 0 8px;font-size:16px;font-weight:600}.tool-workspace label,#models label{margin:6px 0 3px;font-size:11px}.tool-workspace textarea,.tool-workspace input:not([type=checkbox]){background:var(--surface);border:1px solid var(--line);border-radius:3px;width:100%;min-width:0;min-height:28px;padding:4px 6px;font-size:12px;line-height:1.45;display:block}.tool-workspace textarea{resize:vertical}.tool-workspace .muted{font-size:12px}.tool-workspace .dialog-actions,.chat-creation .dialog-actions,#models .dialog-actions{gap:4px;margin-top:6px}.tool-workspace .dialog-actions button,.chat-creation .dialog-actions button,#models .dialog-actions button,.app-button{border-radius:3px;min-height:26px;padding:3px 6px;font-size:11px}.tool-workspace .dialog-actions button:not(.primary),.chat-creation .dialog-actions button,#models .dialog-actions button:not(.primary){color:var(--muted);border-color:#0000}.tool-workspace select,#models select{border-color:var(--line);text-overflow:ellipsis;background-position:right 4px center;border-radius:3px;min-height:28px;padding:3px 22px 3px 6px;font-size:11px}#models{max-width:440px}#models .dialog-heading{margin-bottom:8px}.model-heading-actions{align-items:center;gap:2px;display:flex}.help-dialog .dialog-heading h2{align-items:center;gap:8px;display:flex}.help-dialog .brand-mark{width:22px;height:22px;color:var(--brand-accent,var(--accent));flex-shrink:0}.help-content .help-lead{font-size:1.15em;font-weight:500;line-height:1.4}.help-model-size,.help-reference{color:var(--muted);font-size:.85em}.loading-mark{vertical-align:middle;flex-shrink:0;place-items:center;display:inline-grid}.loading-mark .brand-mark{width:1em;height:1em}.loading-mark .brand-mark,.tiny-avatar.is-loading .brand-mark{animation:4.8s linear infinite flower-turn}@keyframes flower-turn{to{transform:rotate(1turn)}}.runtime-status .loading-mark{margin-inline-end:4px}.model-load-progress{align-items:center;gap:8px;margin-top:12px;font-size:15px;display:flex}.model-load-progress progress{margin:0}#model-loading:not([hidden])+#model-message{block-size:3.2em;overflow:auto}#models .model-runtime{margin:0 0 10px}#model-select{border:0;min-width:0;margin:0;padding:0;display:grid}#model-select legend{color:var(--muted);margin-bottom:4px;padding:0;font-size:11px}#models .model-option{border-bottom:1px solid var(--line);cursor:pointer;align-items:center;gap:8px;min-height:31px;margin:0;padding:3px 6px;font-size:12px;display:flex}#models .model-option:has(:checked){background:var(--hover)}#models .model-option:has(:focus-visible){outline:2px solid var(--accent);outline-offset:-2px}#models .model-option input{accent-color:var(--accent);margin:0}#models .model-option small{color:var(--muted);margin-inline-start:auto;font-size:10px}.model-processor{justify-content:space-between;align-items:center;gap:8px;margin-top:10px;display:flex}#models .model-processor label{margin:0}#models .model-processor select{width:auto}#download-info{margin:6px 0 0}#model-coverage,#compatibility{margin:3px 0 0}.tool-workspace details,.chat-creation details{margin-top:10px;padding-top:6px}.tool-workspace summary{min-height:25px;padding-block:4px}.image-examples[open]{padding-bottom:4px}.tools-list{grid-template-columns:repeat(auto-fit,minmax(min(175px,100%),1fr));gap:0 16px;max-width:650px;display:grid}.tools-list a{border-bottom:1px solid var(--line);gap:2px;min-height:44px;padding:6px 4px;text-decoration:none;display:grid}.tools-list a:hover{background:var(--hover)}.tools-list strong{font-size:12px;font-weight:500}.tools-list span{color:var(--muted);font-size:12px;line-height:1.5}.app-button{border:1px solid var(--line)}.image-workspace,.poster-workspace{grid-template-columns:minmax(0,1fr) minmax(200px,260px);align-items:start;gap:clamp(14px,3vw,32px);display:grid}.image-preview{min-width:0;position:relative}.image-stage{aspect-ratio:1;background:var(--sidebar);width:100%;max-width:720px;position:relative}.image-stage img{aspect-ratio:1;width:100%;height:100%;display:block}.image-placeholder{color:var(--muted);pointer-events:none;place-items:center;margin:0;display:grid;position:absolute;inset:0}.image-loading{--image-loader-size:clamp(58px, 14vw, 108px);text-align:center;background:color-mix(in srgb, var(--sidebar) 93%, transparent);place-items:center;display:grid;position:absolute;inset:0}.image-loading-orbit{width:var(--image-loader-size);aspect-ratio:1;place-items:center;font-size:clamp(26px,6vw,46px);display:grid;position:relative}.image-loading-orbit:before,.image-loading-orbit:after{content:"";border:1px solid color-mix(in srgb, var(--accent) 30%, transparent);border-radius:50%;position:absolute;inset:0}.image-loading-orbit:after{animation:2.4s ease-out infinite image-ripple}@keyframes image-ripple{0%{opacity:.85;transform:scale(.78)}to{opacity:0;transform:scale(1.2)}}#image-stage-status{max-width:30ch;color:var(--muted);overflow-wrap:anywhere;margin:0 auto;font-size:11px;line-height:1.4;position:absolute;inset-block-start:calc(50% + var(--image-loader-size) / 2 + 8px);inset-inline:8px}@media (prefers-reduced-motion:reduce){.image-loading-orbit:after{display:none}}.image-controls>label:first-child{margin-top:0}.poster-workspace{max-width:860px}.tool-workspace[data-page=poster] .workspace-content{max-width:940px}.poster-stage svg{width:min(100%,465px);height:auto;max-height:65dvh;display:block}#poster-placeholder{background:var(--sidebar);place-items:center;width:min(100%,465px);min-height:220px;margin:0;display:grid}.poster-controls>.dialog-actions:first-of-type{margin-top:0}.poster-controls>p:first-child{margin:0 0 6px}.poem-workspace{max-width:450px}.tool-workspace[data-page=poem] .workspace-content{max-width:514px}.poem-paper{border-block:1px solid var(--line);min-height:125px;padding:12px 0}.poem-paper .app-writing{margin:0;font:1.15rem/1.65 Georgia,serif}.poem-paper .muted{margin-bottom:0}.tool-options>.app-button{margin-top:8px}.option-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.inline-check{align-items:center;gap:4px;display:flex}.tool-consent>p{margin:8px 0 0}.chat-composer{border-radius:8px;align-items:flex-end;gap:6px;max-width:640px;padding:4px 5px 4px 8px;display:flex}.chat-composer textarea{flex:1;min-width:0;min-height:24px;padding:4px 0;font-size:12px;line-height:1.4}.composer-controls{flex-shrink:0;gap:4px;margin:0}.composer-model{inline-size:13em;white-space:nowrap;gap:4px;min-height:24px;padding:2px 4px;font-size:10px}.composer-controls .send-button{width:24px;height:24px}.composer-controls .send-button svg{width:13px;height:13px}.chat-status{max-width:640px;min-height:14px;margin-top:4px;font-size:10px}.chat-writing{font-size:13px;line-height:1.65}.starter-prompts{gap:5px;margin-top:12px}.starter-prompts button{min-height:26px;padding:4px 7px;font-size:11px}.starter-tip{margin-top:9px;font-size:10px}.gallery-items,.arena-models{gap:18px;display:grid}.tool-workspace[data-page=gallery] .workspace-heading{margin-bottom:clamp(14px,2vw,24px)}.tool-workspace[data-page=gallery] .workspace-heading h1{letter-spacing:.035em;font-size:1rem}.tool-workspace[data-page=gallery] .workspace-content{max-width:800px}.gallery-items{grid-template-columns:repeat(auto-fill,minmax(min(140px,100%),152px));align-items:start;gap:14px}.gallery-item,.arena-result{min-width:0}.arena-result{border-top:1px solid var(--line);padding-top:12px}.creation-output{min-width:0}.gallery-item [data-artwork]{aspect-ratio:1;background:var(--sidebar)}.gallery-item [data-artwork=poster]{aspect-ratio:5/6}.gallery-item .creation-output svg,.gallery-item .creation-output img{object-fit:contain;width:100%;height:100%;display:block}.tool-workspace .gallery-item h3{margin:5px 0 2px;font-size:.75rem;font-weight:500;line-height:1.4}.tool-workspace .gallery-item .muted{margin:0;font-size:.6875rem}.gallery-item .app-writing{border-block:1px solid var(--line);margin:0;padding:7px 0;font-size:.8125rem}.tool-workspace .gallery-item .dialog-actions{gap:4px;margin-top:4px}.tool-workspace .gallery-item .dialog-actions button{min-height:24px;padding-inline:4px}#gallery-status{font-size:.8125rem}.app-writing,.app-status{overflow-wrap:anywhere}.app-writing{white-space:pre-wrap;font-size:16px;line-height:1.55}.app-status{color:var(--muted);font-size:12px;line-height:1.55}.app-status:empty{display:none}.app-stop{background:var(--surface);align-items:center;padding:8px 0;position:sticky;bottom:0}.gallery-feedback{align-items:center;gap:6px;display:flex}.chat-creation{border-top:1px solid var(--line);max-width:480px;margin:0 0 14px;padding:16px 0 22px}.chat-creation h2{margin:0 0 10px;font-size:15px;font-weight:600}.chat-creation .creation-output svg{width:min(100%,360px);height:auto}.arena-models{grid-template-columns:repeat(2,minmax(0,1fr))}.arena-ratings{grid-template-columns:repeat(auto-fit,minmax(min(100%,110px),1fr));gap:6px;display:grid}.arena-ratings label{text-transform:capitalize;margin:0 0 12px}.token-pieces,.game-choices{flex-wrap:wrap;gap:6px;padding:0;display:flex}.token-pieces li,.game-choices button{overflow-wrap:anywhere;font-family:monospace;font-size:14px}.token-pieces li{border:1px solid var(--line);padding:7px;list-style:none}.token-ranks{padding-left:22px;font:14px/1.9 monospace}.game-prefix{font-size:clamp(18px,3vw,27px);line-height:1.45}@media (width<=700px){.tool-workspace{scrollbar-gutter:auto}.image-workspace,.poster-workspace{grid-template-columns:minmax(0,1fr);gap:12px}.tool-workspace .dialog-actions button,.tool-workspace select,.tool-workspace input:not([type=checkbox]),.app-button,#models select,#models .dialog-actions button{min-height:40px}.tool-workspace summary{min-height:36px}.tool-workspace .gallery-item .dialog-actions button{min-height:38px}#arena-results{grid-template-columns:minmax(0,1fr)}.chat-header .runtime-status{display:none}.chat-header .model-switch{max-width:min(42vw,170px)}.chat-header .model-switch span{text-overflow:ellipsis;overflow:hidden}}@media (width<=760px){.app-shell{grid-template-columns:96px minmax(0,1fr)}.app-shell>.sidebar{padding:0 5px}.sidebar .wordmark,.workspace-nav a{padding-inline:4px}.workspace-nav a{min-height:44px}.sidebar-conversations .new-chat{gap:4px;padding-inline:4px;font-size:11px}.sidebar-conversations .new-chat svg{width:13px;height:13px}.sidebar .history-label,.sidebar .history-empty{margin-inline:4px;font-size:11px}.sidebar .history-row{flex-direction:column;align-items:stretch}.sidebar .history-item{min-height:26px;padding:4px}.history-actions{justify-content:flex-end}.chat-composer{flex-direction:column;align-items:stretch;gap:2px;padding:4px 5px 4px 6px}.chat-composer textarea{flex:none}#models .model-option{min-height:44px}.workspace-heading h1{font-size:clamp(19px,3vw,24px)}}@media (pointer:coarse){.sidebar-actions .icon-button,.history-actions .icon-button{width:42px;min-width:42px;height:42px}.app-footer a{min-height:44px}.composer-model{min-height:36px}.composer-controls .send-button{width:36px;height:36px}.starter-prompts button{min-height:40px}}@media (width<=420px){.option-pair,.arena-models{grid-template-columns:minmax(0,1fr)}}
