.studio-intro{padding:44px 0 35px}.studio-intro .back{margin-bottom:22px}.studio-intro h1{font-size:clamp(42px,5vw,66px);margin:18px 0;line-height:1.1}.studio-intro .lead{max-width:840px;font-size:17px}.studio-info{display:flex;gap:22px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-top:25px}.studio-info span:first-letter{color:var(--accent)}.prompt-workbench{border:1px solid #544739;border-radius:12px;background:#202224;overflow:clip;margin-bottom:60px;box-shadow:0 18px 60px #0002}.workbench-top{display:flex;justify-content:space-between;gap:20px;padding:20px 26px;background:#272522;border-bottom:1px solid #494238;align-items:center}.workbench-top>div{display:flex;align-items:center;gap:16px}.workbench-app{font-family:Libron,Georgia,serif;font-size:24px}.workbench-toolbar{display:grid;grid-template-columns:1fr 220px;gap:18px;padding:22px 26px;border-bottom:1px solid var(--line);background:#242526}.workbench-toolbar p{grid-column:1/-1;font-size:12px;margin:0;color:var(--muted)}.prompt-workbench label{display:grid;gap:7px;font-size:13px;line-height:1.5;margin:14px 0;color:#e9e4dc}.workbench-toolbar label{margin:0}.prompt-workbench input,.prompt-workbench textarea,.prompt-workbench select{width:100%;min-width:0;padding:11px 12px;color:var(--text);background:#171a1c;border:1px solid #4b4b47;border-radius:5px;font:14px/1.55 Figtree,Arial,sans-serif;color-scheme:dark}.prompt-workbench textarea{resize:vertical;min-height:75px}.prompt-workbench input:focus,.prompt-workbench textarea:focus,.prompt-workbench select:focus{outline:2px solid #ce8040;outline-offset:2px}.prompt-workbench select option:disabled{color:#777}.workbench-body{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:start}.prompt-fields{padding:8px 26px 26px;border-right:1px solid var(--line)}.editor-section{padding:23px 0;border-bottom:1px solid var(--line)}.editor-section-title{display:flex;gap:13px;align-items:center;margin:0 0 16px}.editor-section-title>span{font:11px monospace;color:var(--accent)}.editor-section-title h2{font-size:23px;margin:0;letter-spacing:-.4px}.editor-note{color:var(--muted);font-size:12px;line-height:1.7;margin:10px 0 17px}.studio-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px}.character-picker{padding:14px 16px;border-radius:7px;background:#292826}.character-picker label{margin:0 0 12px}.character-add-buttons{display:flex;gap:10px;flex-wrap:wrap}.character-card{padding:16px;border:1px solid #4a433a;border-radius:7px;margin-top:14px;background:#242526}.character-card-header{display:flex;align-items:center;gap:12px}.character-avatar{display:grid;place-items:center;width:32px;height:32px;border:1px solid #835c37;color:var(--accent);background:#32271d;border-radius:50%;font-size:12px;flex-shrink:0}.character-card-header strong{font-size:14px;flex:1}.character-card-header button{padding:4px 8px}.character-card textarea{min-height:62px}.editor-details{padding:18px 0;border-bottom:1px solid var(--line)}.editor-details:last-child{border-bottom:0}.editor-details summary{cursor:pointer;font-size:14px;line-height:1.6}.editor-details summary span{color:var(--muted);font-size:11px;margin-left:8px}.editor-details[open] summary{margin-bottom:15px}#effect-options{display:grid;grid-template-columns:1fr 1fr;gap:7px}.prompt-workbench .effect-option{display:flex;align-items:center;gap:9px;margin:0;font-size:12px;padding:8px 0}.effect-option input{width:16px;height:16px;accent-color:#ff9d45;flex-shrink:0}.prompt-preview{position:sticky;top:20px;padding:28px 25px;background:#1d2022;min-width:0}.preview-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.preview-heading h2{font-size:28px;margin:10px 0 0;line-height:1.2}.preview-heading>span{font:11px monospace;color:var(--muted)}#prompt-output{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.75 Figtree,Arial,sans-serif;background:#131719;border:1px solid #41413d;border-left:2px solid #d98d45;border-radius:6px;padding:21px;max-height:540px;overflow:auto;color:#e6e0d7;margin:20px 0}.preview-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.studio-button,.studio-plain{font:13px/1.4 Figtree,Arial,sans-serif;border-radius:5px;padding:10px 14px;border:1px solid #69503a;cursor:pointer;background:#33271c;color:#f0c393;transition:background .15s}.studio-button:hover{background:#44311f}.studio-button.primary{background:#ff9d45;color:#241c15;border-color:#ff9d45;font-weight:700}.studio-button.primary:hover{background:#ffb067}.studio-plain{background:transparent;color:#cec8be;border-color:#44453f}.studio-plain:hover{background:#30302c}.studio-button:disabled,.studio-plain:disabled{opacity:.45;cursor:default}#studio-status{font-size:12px;color:var(--accent);min-height:20px}.negative-prompt{border-top:1px solid var(--line);padding-top:15px;font-size:12px}.negative-prompt summary{cursor:pointer}.negative-prompt pre{white-space:pre-wrap;font:12px/1.6 Figtree,Arial,sans-serif;color:var(--muted);overflow-wrap:anywhere}.preview-limit{font-size:12px;color:var(--muted);line-height:1.7;border-top:1px solid var(--line);margin-top:22px;padding-top:18px}.studio-product{display:grid;grid-template-columns:1.1fr 1fr;gap:65px;padding:0 0 65px}.studio-product h2{font-size:36px;line-height:1.15;letter-spacing:-.7px;margin:17px 0}.studio-product>div>p{color:var(--muted);font-size:15px}.studio-product .button{margin-top:15px}.studio-install{border:1px solid var(--line);padding:28px;border-radius:8px;background:var(--panel)}.studio-install h3{font-size:25px;line-height:1.2;margin:0 0 18px}.studio-source-link{font-size:13px;color:var(--accent);text-decoration:underline;text-underline-offset:4px}.studio-install .editor-note{margin:18px 0 0}.prompt-studio-page .studio-menu-link[aria-current=page]{color:var(--accent)}@media(max-width:950px){.workbench-body{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.prompt-fields{padding-left:20px;padding-right:20px}.prompt-preview{padding:25px 20px}.studio-product{gap:30px}.studio-pair{gap:10px}.character-add-buttons{gap:8px}.studio-button,.studio-plain{padding:9px 11px}}@media(max-width:800px){.workbench-body{grid-template-columns:1fr}.prompt-fields{border-right:0}.prompt-preview{position:static;border-top:1px solid var(--line)}#prompt-output{max-height:430px}.studio-product{grid-template-columns:1fr}.workbench-toolbar{grid-template-columns:1fr 180px}}@media(max-width:520px){.studio-intro{padding-top:32px}.studio-info{gap:8px;flex-direction:column}.workbench-top{padding:17px;align-items:start}.workbench-top>div{gap:8px;flex-direction:column;align-items:start}.workbench-top .badge{font-size:9px}.workbench-top>button{max-width:120px}.workbench-toolbar{grid-template-columns:1fr;padding:18px}.prompt-fields,.prompt-preview{padding-left:18px;padding-right:18px}.studio-pair{grid-template-columns:1fr;gap:0}.prompt-workbench input,.prompt-workbench select,.prompt-workbench textarea{font-size:16px}.studio-product h2{font-size:31px}.studio-install{padding:23px}.prompt-preview .preview-heading h2{font-size:26px}.character-add-buttons{flex-direction:column;align-items:stretch}}

.chatgpt-handoff{padding:20px;margin-top:22px;border:1px solid #725135;background:#2d241d;border-radius:7px}.chatgpt-handoff h3{font-size:25px;line-height:1.2;margin:12px 0}.chatgpt-handoff p{font-size:13px;color:#d4c6b7;line-height:1.7}.chatgpt-handoff .studio-button{margin:4px 0}.chatgpt-handoff .chatgpt-data-note{font-size:11px;color:#b7aca0;margin:14px 0 12px}.chatgpt-direct-link{font-size:12px;text-decoration:underline;text-underline-offset:3px;color:#f0bb8d}#chatgpt-manual{margin-top:18px}#chatgpt-manual[hidden]{display:none}#chatgpt-instruction{min-height:170px;max-height:300px;resize:vertical;font-size:12px}

.studio-toast{position:fixed;right:max(24px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));z-index:2000;display:flex;align-items:flex-start;gap:14px;width:min(440px,calc(100vw - 40px));padding:20px 18px;background:#30261e;border:1px solid #a56b39;border-radius:10px;color:#f6ede2;box-shadow:0 16px 45px #0006;font-family:Figtree,Arial,sans-serif}
.studio-toast[hidden]{display:none}.studio-toast p{margin:0;font-size:14px;line-height:1.65;flex:1}.toast-icon{display:grid;place-items:center;width:25px;height:25px;flex-shrink:0;border-radius:50%;background:#ff9d45;color:#241b13;font-size:15px;font-weight:700;margin-top:1px}.toast-close{border:0;background:transparent;color:#ddcbb8;font:24px/1 Figtree,Arial,sans-serif;cursor:pointer;padding:2px 4px}.toast-close:hover{color:#fff}.toast-close:focus-visible{outline:2px solid #ff9d45;outline-offset:4px}.studio-toast.is-warning{border-color:#d28b53}.studio-toast.is-visible{animation:toast-enter .24s ease-out both}.studio-toast.is-leaving{animation:toast-leave .18s ease-in both}@keyframes toast-enter{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@keyframes toast-leave{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(8px)}}@media(max-width:520px){.studio-toast{left:20px;right:20px;bottom:max(18px,env(safe-area-inset-bottom));padding:17px 15px;gap:11px}.studio-toast p{font-size:13px}}@media(prefers-reduced-motion:reduce){.studio-toast.is-visible,.studio-toast.is-leaving{animation:none}}

.examples-showcase{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:30px;align-items:center;padding:25px 30px 23px;margin:0 0 35px;border:1px solid #4c443b;border-radius:12px;background:#24221f;overflow:hidden}.examples-copy h2{font-size:33px;line-height:1.15;letter-spacing:-.5px;margin:15px 0}.examples-copy>p{font-size:13px;line-height:1.7;color:var(--muted);max-width:350px;margin:0 0 13px}.examples-copy .examples-note{font-size:11px;opacity:.85;margin-bottom:0}.examples-gallery{min-width:0;border-radius:8px;--image-width:330px;--image-height:185px;--ring-radius:305px}.examples-gallery:focus-visible{outline:2px solid var(--accent);outline-offset:5px}.examples-stage{position:relative;height:275px;perspective:1100px;overflow:hidden;-webkit-mask-image:linear-gradient(to right,transparent,#000 7%,#000 93%,transparent);mask-image:linear-gradient(to right,transparent,#000 7%,#000 93%,transparent)}.examples-ring{position:absolute;left:50%;top:30px;width:var(--image-width);height:calc(var(--image-height) + 33px);margin-left:calc(var(--image-width)*-.5);transform-style:preserve-3d;transform:translateZ(calc(var(--ring-radius)*-1)) rotateY(var(--rotation));transition:transform 1.2s cubic-bezier(.3,.05,.2,1)}.example-slide{position:absolute;inset:0;margin:0;border:1px solid #67503b;background:#171b1d;border-radius:8px;overflow:hidden;backface-visibility:hidden;transform:rotateY(calc(var(--position)*60deg)) translateZ(var(--ring-radius));opacity:.7;transition:opacity 1.2s ease,border-color 1.2s ease;box-shadow:0 12px 28px #0004}.example-slide.is-current{opacity:1;border-color:#b87b45}.example-slide img{display:block;width:100%;height:var(--image-height);object-fit:contain;background:#171b1d}.example-slide figcaption{padding:8px 12px;text-align:center;color:#dfc2a5;font:12px/1.4 Figtree,Arial,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.examples-meta{display:flex;justify-content:space-between;gap:12px;color:#b8a18a;font:10px/1.5 monospace;letter-spacing:.7px;padding:0 20px}.examples-meta span:last-child{color:#eda666}@media(max-width:950px){.examples-showcase{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);padding:23px;gap:20px}.examples-gallery{--image-width:270px;--image-height:152px;--ring-radius:245px}.examples-stage{height:235px}.examples-copy h2{font-size:29px}}@media(max-width:800px){.examples-showcase{grid-template-columns:1fr;gap:13px}.examples-copy>p{max-width:600px}.examples-copy h2 br{display:none}.examples-gallery{--image-width:330px;--image-height:185px;--ring-radius:305px}.examples-stage{height:270px}}@media(max-width:520px){.examples-showcase{padding:21px 16px}.examples-gallery{--image-width:245px;--image-height:138px;--ring-radius:225px}.examples-stage{height:215px}.examples-copy h2{font-size:28px}.examples-meta{padding:0 5px;font-size:9px;letter-spacing:.2px}.examples-ring{top:25px}.example-slide figcaption{font-size:11px}}@media(prefers-reduced-motion:reduce){.examples-ring,.example-slide{transition:none}.example-slide:not(.is-current){visibility:hidden}}

.examples-gallery{cursor:grab;touch-action:pan-y;user-select:none;-webkit-user-select:none}.examples-gallery.is-dragging{cursor:grabbing}.examples-gallery.is-dragging .examples-ring{transition:none}.examples-gallery img{-webkit-user-drag:none;pointer-events:none}

.example-slide{cursor:zoom-in}.examples-gallery.is-dragging .example-slide{cursor:grabbing}.gallery-lightbox{width:min(1100px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:15px;border:1px solid #775436;border-radius:11px;background:#171b1d;color:#eee3d6;box-shadow:0 30px 100px #0008}.gallery-lightbox::backdrop{background:rgba(6,8,10,.88);backdrop-filter:blur(6px)}.gallery-lightbox[open]{animation:lightbox-enter .18s ease-out}.lightbox-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 2px 12px;font:16px/1.5 Figtree,Arial,sans-serif}.lightbox-toolbar button{display:grid;place-items:center;border:1px solid #5a4636;border-radius:50%;width:35px;height:35px;background:#32261c;color:#ffba7c;font:26px/1 Figtree,Arial,sans-serif;cursor:pointer;flex-shrink:0}.lightbox-toolbar button:hover{background:#44301f}#lightbox-image{display:block;width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 110px);object-fit:contain;margin:0 auto;border-radius:4px}@keyframes lightbox-enter{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}@media(max-width:520px){.gallery-lightbox{padding:10px;width:calc(100vw - 20px)}.lightbox-toolbar{font-size:14px;gap:10px}#lightbox-image{max-height:calc(100dvh - 105px)}}@media(prefers-reduced-motion:reduce){.gallery-lightbox[open]{animation:none}}

.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;padding:0;margin:-1px}
.style-picker{position:relative}
.style-trigger{display:flex;align-items:center;gap:12px;width:100%;padding:8px 12px;color:var(--text);background:#171a1c;border:1px solid #4b4b47;border-radius:5px;font:14px/1.55 Figtree,Arial,sans-serif;cursor:pointer;text-align:left}
.style-trigger:hover{border-color:#6b6a63}
.style-trigger:focus-visible{outline:2px solid #ce8040;outline-offset:2px}
.style-trigger img{width:40px;height:40px;object-fit:cover;border-radius:4px;flex-shrink:0;background:#0e1113}
.style-trigger-text{flex:1;min-width:0}
.style-trigger-text strong{display:block;font-size:14px;color:#f0ece4;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.style-trigger-text span{display:block;font-size:11px;color:var(--muted);margin-top:2px}
.style-trigger-caret{color:var(--muted);font-size:11px;flex-shrink:0;transition:transform .15s}
.style-trigger[aria-expanded="true"] .style-trigger-caret{transform:rotate(180deg)}
.style-panel{position:absolute;z-index:50;top:calc(100% + 6px);left:0;right:0;max-height:320px;overflow:auto;background:#1d2022;border:1px solid #4b4b47;border-radius:8px;box-shadow:0 18px 50px #0007;padding:6px}
.style-panel[hidden]{display:none}
.style-group-label{padding:10px 8px 4px;font:11px/1.4 monospace;color:var(--muted);letter-spacing:.06em}
.style-option{display:flex;align-items:center;gap:12px;width:100%;padding:8px;border:0;background:transparent;border-radius:6px;cursor:pointer;text-align:left;color:var(--text);font:14px/1.4 Figtree,Arial,sans-serif}
.style-option:hover,.style-option:focus-visible{background:#2a2d2e}
.style-option.is-selected{background:#2f261c}
.style-option-thumb{width:44px;height:44px;border-radius:4px;flex-shrink:0;background:#0e1113;display:grid;place-items:center;overflow:hidden}
.style-option-thumb img{width:100%;height:100%;object-fit:cover;cursor:zoom-in}
.style-option-thumb img:hover{outline:2px solid #ce8040;outline-offset:-2px}
.style-option-thumb.is-placeholder{color:var(--muted);font-size:10px;text-align:center;line-height:1.3;padding:2px}
.style-option-text{flex:1;min-width:0}
.style-option-text strong{display:block;font-size:13px;font-weight:600}
.style-option-text span{display:block;font-size:11px;color:var(--muted);margin-top:1px}
@media(max-width:520px){.style-panel{max-height:280px}}
