:root{color-scheme:light;--ink:#495054;--muted:#707a7e;--line:#bccad0;--paper:#e3e8ea;--accent:#495054}
html,body{background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif}body *,body *::before,body *::after{font-style:normal!important}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible,input:focus-visible,[role=tabpanel]:focus-visible{outline:2px solid #707a7e;outline-offset:3px}button{transition:background .18s,color .18s}button:hover{filter:brightness(.96)}
.studio-header{position:fixed;z-index:3;top:30px;left:40px;right:40px;display:flex;align-items:center;justify-content:space-between;font-size:14px;letter-spacing:.12em}.back-link{color:var(--muted);text-decoration:none;letter-spacing:.02em;font-size:14px}.back-link:hover{color:var(--ink)}.edition{display:flex;align-items:center;gap:14px;color:var(--muted)}.rule{width:32px;height:1px;background:#bccad0}.live-status{display:flex;gap:8px;align-items:center;font-size:14px}.live-status i{width:5px;height:5px;background:#707a7e;border-radius:50%;box-shadow:0 0 0 3px #707a7e12}.live-status.paused i{background:#707a7e}
.settings-workspace{position:fixed;z-index:4;right:36px;top:100px;bottom:110px;width:475px;display:grid;grid-template-columns:126px minmax(0,1fr);gap:16px;align-items:start}.section-rail{height:100%;overflow-y:auto;scrollbar-width:thin;padding-top:15px}.rail-label{display:block;font-size:14px;letter-spacing:.18em;color:var(--muted);margin:0 0 21px 11px}#section-tabs{display:flex;flex-direction:column;gap:3px}#section-tabs button{display:flex;gap:10px;align-items:center;text-align:left;border:1px solid transparent;background:transparent;padding:10px 9px;color:#707a7e;border-radius:3px;font-size:14px;white-space:nowrap}#section-tabs button span{font-size:14px;color:#9ba8ae;font-variant-numeric:tabular-nums}#section-tabs button[aria-selected=true]{background:#e3e8ea;border-color:#bccad0;color:#495054}#section-tabs button[aria-selected=true] span{color:#495054}
.card-stack{position:relative;isolation:isolate;display:flex;flex-direction:column;height:100%;min-height:0;background:#e3e8eaf2;border:1px solid #e3e8ea;border-radius:5px;box-shadow:0 10px 40px #49505408;backdrop-filter:blur(18px)}.card-stack::before,.card-stack::after{content:'';position:absolute;z-index:-1;inset:0;top:12px;bottom:-9px;left:7px;right:7px;background:#e3e8ea;border:1px solid #e3e8ea;border-radius:5px;pointer-events:none}.card-stack::after{top:0;bottom:0;left:0;right:0;background:#e3e8ea;border:0}.section-heading{display:flex;align-items:center;justify-content:space-between;padding:22px 22px 18px;border-bottom:1px solid #e3e8ea}.eyebrow{font-size:14px;letter-spacing:.18em;color:#9ba8ae}.section-heading h1{font-weight:500;font-size:22px;letter-spacing:-.03em;line-height:1.3;margin-top:7px}.card-pagination{display:flex;align-items:center;justify-content:space-between;gap:6px;border-top:1px solid #e3e8ea;padding:10px 15px;flex-shrink:0}.card-pagination button{border:0;background:transparent;color:#707a7e;width:28px;height:28px;font-size:17px}#section-caption{font-size:14px;color:var(--muted);text-align:center}
#pane-container{position:relative;inset:auto;width:100%;max-width:none;min-height:0;flex:1;overflow-y:auto;scrollbar-width:thin;border-radius:0;box-shadow:none;padding:4px 17px 16px;--tp-base-background-color:transparent;--tp-base-font-family:Arial,Helvetica,sans-serif;--tp-base-shadow-color:transparent;--tp-base-font-size:14px;--tp-container-background-color:transparent;--tp-container-foreground-color:#495054;--tp-button-background-color:#e3e8ea;--tp-button-foreground-color:#495054;--tp-input-background-color:#e3e8ea;--tp-input-foreground-color:#495054;--tp-label-foreground-color:#495054;--tp-monitor-background-color:#e3e8ea;--tp-monitor-foreground-color:#495054;--tp-groove-foreground-color:#e3e8ea;--tp-container-unit-size:28px}#pane-container .tp-rotv{min-height:0}#pane-container .tp-rotv>.tp-rotv_b,#pane-container [role=tabpanel]>.tp-fldv_b{display:none}#pane-container [role=tabpanel][hidden]{display:none!important}#pane-container .tp-rotv_c,#pane-container [role=tabpanel]>.tp-fldv_c{border-left:0;margin-left:0;padding-left:0}#pane-container .tp-lblv{padding:17px 4px 16px}#pane-container .tp-lblv:not(:first-child){border-top:1px solid #e3e8ea}#pane-container .tp-lblv_l{color:#495054;font-size:14px;letter-spacing:.04em;font-weight:500;padding-bottom:5px}#pane-container .tp-desc{color:#9ba8ae;font-size:14px;line-height:1.5;padding-bottom:12px}#pane-container .tp-lblv_v{width:100%}#pane-container .tp-txtv_i{font-family:Arial,sans-serif;font-size:14px}#pane-container .tp-sldv{background:transparent}#pane-container .tp-btnv{padding-top:6px;padding-bottom:6px}
.studio-footer{position:fixed;z-index:3;bottom:28px;left:40px;right:40px;display:flex;justify-content:space-between;align-items:center}.interaction-note{display:flex;gap:12px;font-size:14px;color:#495054;line-height:1.6}.pointer-symbol{font-size:23px}.interaction-note small{display:block;font-size:14px;color:#9ba8ae}.footer-actions{display:flex;align-items:center;gap:3px}.footer-actions button{border:0;background:transparent;color:var(--ink);padding:12px 10px;font-size:14px}.footer-actions .export-button{border:1px solid #9ba8ae;border-radius:3px;padding:12px 16px;margin-left:6px}.hint,.fps-toggle,.fps-meter,.footer-credit,.wiz-reopen-btn{display:none!important}#studio-status{position:fixed;bottom:79px;right:40px;z-index:6;font-size:14px;color:var(--ink);background:#e3e8ea}#studio-status:empty{display:none}
@media(max-width:1000px){.edition{display:none}.settings-workspace{width:430px;right:24px;grid-template-columns:110px minmax(0,1fr);gap:10px;top:85px}.studio-header{left:24px;right:24px}.studio-footer{left:24px;right:24px}.interaction-note{display:none}.footer-actions{margin-left:auto}}
@media(max-width:650px){html,body{overflow:auto;height:auto;min-height:100%}.studio-header{position:absolute;top:24px;left:18px;right:18px}.back-link{font-size:14px}.live-status{font-size:14px}.settings-workspace{position:relative;right:auto;top:auto;bottom:auto;width:auto;margin:330px 14px 30px;grid-template-columns:100px minmax(0,1fr);gap:8px;height:560px}.section-rail{padding-top:12px}#section-tabs{gap:0}#section-tabs button{padding:10px 5px;font-size:14px;gap:6px}.rail-label{margin-left:5px}.section-heading{padding:17px 15px 15px}.section-heading h1{font-size:20px}#pane-container{padding:2px 10px 10px}.studio-footer{position:relative;bottom:auto;left:auto;right:auto;margin:25px 12px}.footer-actions{display:flex;flex-wrap:wrap;justify-content:center;margin:0;width:100%}.footer-actions button{font-size:14px;padding:11px 8px}#studio-status{bottom:8px;left:15px;right:15px;text-align:center;padding:8px}.card-pagination{padding:8px}.card-pagination button{min-width:24px}#section-caption{font-size:14px}.text-block{max-width:80vw}.wiz-modal{padding:26px 22px}}
@media(prefers-reduced-motion:reduce){button{transition:none}}
.wiz-overlay{backdrop-filter:blur(8px);background:#49505435}.wiz-modal{background:#e3e8ea;border-color:#bccad0;color:#495054;box-shadow:0 24px 100px #49505424}.wiz-title{font:32px Georgia,serif;color:var(--ink)}.wiz-why,.wiz-tip,.wiz-flip-prompt{color:#707a7e}.wiz-primary-btn{background:var(--accent);color:white}.wiz-secondary-btn,.wiz-copy-btn,.wiz-chip{color:#707a7e;border-color:#bccad0}.wiz-prompt,.wiz-identity-card,.wiz-text-input{background:#e3e8ea;color:var(--ink);border-color:#bccad0}.wiz-dropzone{border-color:#bccad0;color:#707a7e}.text-block{max-width:35vw}.reduced-motion-notice{background:#e3e8ea;color:var(--ink);border-color:var(--line)}
#section-tabs button{padding-top:8px;padding-bottom:8px}#pane-container .tp-sldv_k::after{border-radius:50%;border:1px solid #707a7e;background:#e3e8ea;width:10px;height:10px;right:-5px}#pane-container .tp-sldv_k::before{background:#9ba8ae;height:1px}#pane-container .tp-sldv_t::before{background:#e3e8ea;height:1px}#pane-container .tp-txtv_i{background:transparent;border-bottom:1px solid #e3e8ea;border-radius:0}#pane-container .tp-txtv_k{opacity:.35}
/* One shared card contains navigation and the active section. */
.settings-workspace{isolation:isolate;gap:0;grid-template-columns:140px minmax(0,1fr);background:#e3e8ea;border:1px solid #e3e8ea;border-radius:6px;box-shadow:0 10px 40px #4950540d}
.settings-workspace::before{content:'';position:absolute;z-index:-1;inset:8px 7px -9px;background:#e3e8ea;border:1px solid #e3e8ea;border-radius:6px;pointer-events:none}
.section-rail{padding:25px 9px 12px;background:#e3e8ea;border-right:1px solid #e3e8ea;border-radius:6px 0 0 6px;min-height:0}
.rail-label{margin:0 0 22px 9px;color:#707a7e}
.card-stack{border:0;border-radius:0 6px 6px 0;box-shadow:none;background:#e3e8ea;backdrop-filter:none}
.card-stack::before,.card-stack::after{display:none}
#section-tabs button{min-height:32px;padding:8px 7px;gap:8px;border-radius:4px}
#section-tabs button[aria-selected=true]{background:#495054;border-color:#495054;color:#fff;font-weight:600;box-shadow:0 2px 5px #49505412}
#section-tabs button[aria-selected=true] span{color:#e3e8ea}

@media(max-width:1000px){.settings-workspace{grid-template-columns:125px minmax(0,1fr);gap:0}}
@media(max-width:650px){.settings-workspace{grid-template-columns:108px minmax(0,1fr);gap:0}.section-rail{padding:19px 5px 10px}.rail-label{margin-left:6px}#section-tabs button{padding:8px 5px;gap:5px}.section-heading{padding:17px 12px 15px}}
/* Readable type across controls, including generated pane and upload dialogs. */
body{font-size:14px}body :where(button,input,select,textarea,small,legend,label,p,span,div,a){font-size:max(14px,1em)}
#pane-container{--tp-base-font-size:14px;--tp-container-unit-size:34px}
#pane-container .tp-desc{font-size:14px;color:#707a7e;line-height:1.5}
#pane-container .tp-lblv_l{font-size:14px;font-weight:500}
#pane-container input,#pane-container select,#pane-container button,#pane-container .tp-btnv_t,#pane-container .tp-fldv_t{font-size:14px}
.settings-workspace{width:580px;grid-template-columns:174px minmax(0,1fr)}
.section-heading h1{margin-top:0;font-size:24px}.section-heading{min-height:80px}
#section-tabs button{min-height:36px;white-space:normal;line-height:1.3}#section-tabs button span{flex-shrink:0}
.rail-label{letter-spacing:.12em}.section-rail{padding-top:25px}.card-pagination{min-height:56px}
.studio-footer{gap:20px}.footer-actions{flex-wrap:wrap;justify-content:flex-end}.interaction-note{flex-shrink:0}
.wiz-modal,.wiz-modal input,.wiz-modal button,.wiz-prompt,.wiz-tip,.wiz-chip,.toast{font-size:14px}
@media(max-width:1000px){.settings-workspace{width:540px;grid-template-columns:164px minmax(0,1fr)}}
@media(max-width:650px){.settings-workspace{width:auto;grid-template-columns:138px minmax(0,1fr);height:620px;margin-left:10px;margin-right:10px}.section-heading{align-items:flex-start;flex-direction:column;justify-content:center;gap:10px}.section-heading h1{font-size:22px}#section-tabs button{min-height:37px;gap:6px}.section-rail{padding-left:4px;padding-right:4px}.rail-label{margin-bottom:16px}.studio-header{gap:15px;align-items:flex-start}.live-status{line-height:1.5;max-width:130px}.live-status i{flex-shrink:0;margin-top:7px}.footer-actions{justify-content:center}#section-caption{line-height:1.4}.card-pagination{padding:8px 4px}.card-pagination button{width:22px;min-width:22px}#pane-container .tp-lblv{padding-left:0;padding-right:0}}
#section-tabs{gap:1px}#section-tabs button{min-height:32px;padding-top:6px;padding-bottom:6px}
.customize-panel{padding:18px 4px 8px;color:#495054;line-height:1.5}.customize-panel[hidden]{display:none!important}.customize-intro{margin-bottom:10px}.customize-help{color:#707a7e;margin-bottom:22px}.bird-editor{border-top:1px solid #e3e8ea;padding-top:18px;margin-bottom:20px}.bird-editor-heading{display:flex;gap:10px;align-items:center;margin-bottom:16px}.bird-editor-heading input{width:100%;min-width:0;border:1px solid #bccad0;border-radius:3px;background:#e3e8ea;color:#495054;padding:9px;font:inherit}.bird-editor-heading button{border:0;background:transparent;color:#707a7e;padding:6px}.bird-upload-slot{margin-bottom:18px}.bird-upload-slot h3,.customize-sky h2{font-size:14px;font-weight:500;display:flex;justify-content:space-between;gap:8px;margin-bottom:9px}.bird-upload-slot h3 span,.customize-sky h2 span{font-weight:400;color:#707a7e}.customize-panel .wiz-dropzone{padding:14px 10px;margin:0;border-color:#bccad0;background:#e3e8ea;color:#495054;font-size:14px}.customize-panel .wiz-preview:empty,.customize-panel .wiz-controls:empty{display:none}.customize-panel .wiz-preview{margin-top:10px;text-align:center}.customize-panel .wiz-thumb{max-width:100%;max-height:110px}.customize-panel .wiz-controls{margin-top:10px}.customize-panel .wiz-btn-row{flex-wrap:wrap}.customize-panel button{font-size:14px}.add-bird{width:100%;padding:11px;background:transparent;border:1px solid #bccad0;border-radius:3px;color:#495054}.customize-sky{border-top:1px solid #e3e8ea;margin-top:22px;padding-top:20px}.sky-upload{display:block;color:#495054}.sky-upload input{display:block;width:100%;margin-top:10px;font-size:14px}.sky-upload input::file-selector-button{padding:9px 10px;border:1px solid #bccad0;border-radius:3px;background:#e3e8ea;color:#495054;font-size:14px;margin-right:8px}.sky-filename{overflow-wrap:anywhere;color:#707a7e;margin-top:10px}.apply-customize{background:#495054;color:white;border:0;border-radius:3px;width:100%;padding:13px;margin-top:16px}.customize-feedback{margin-top:15px;color:#495054}.customize-feedback:empty{display:none}
.customize-help{margin-bottom:16px}.customize-help summary{cursor:pointer;color:#495054}.customize-help p{margin-top:8px}.bird-poses{display:grid;grid-template-columns:1fr 1fr;gap:12px}.bird-upload-slot{min-width:0;margin-bottom:0}.bird-upload-slot:first-child{grid-column:1/-1}.bird-upload-slot:not(:first-child) h3{flex-direction:column;gap:0}.bird-upload-slot:not(:first-child) .wiz-dropzone{min-height:72px;display:flex;align-items:center;justify-content:center}.customize-panel .wiz-controls button{padding:7px 9px}.apply-customize{position:sticky;bottom:0;box-shadow:0 -8px 18px #e3e8ea}
@media(max-width:650px){.bird-poses{grid-template-columns:1fr}.bird-upload-slot:not(:first-child) h3{flex-direction:row;flex-wrap:wrap}.bird-upload-slot:not(:first-child) .wiz-dropzone{min-height:0}.bird-editor-heading{flex-wrap:wrap}}
.apply-customize{position:static;box-shadow:none}
/* Tonal surfaces derived from the canvas's warm gray (#e3e8ea). */
:root{--paper:#e3e8ea;--ink:#495054;--muted:#495054;--line:#bccad0;--accent:#495054}
.settings-workspace,.card-stack{background:#e3e8ea;border-color:#bccad0}
.settings-workspace::before{background:#e3e8ea;border-color:#bccad0}
.section-rail{background:#e3e8ea;border-color:#bccad0}
.section-heading{border-color:#bccad0}
#section-tabs button{color:#495054}
#section-tabs button[aria-selected=true]{background:#495054;border-color:#495054;color:#fff}
#section-tabs button[aria-selected=true] span{color:#e3e8ea}
#pane-container{--tp-button-background-color:#bccad0;--tp-button-foreground-color:#495054;--tp-input-background-color:#e3e8ea;--tp-input-foreground-color:#495054;--tp-container-foreground-color:#495054;--tp-label-foreground-color:#495054;--tp-monitor-background-color:#e3e8ea;--tp-monitor-foreground-color:#495054;--tp-groove-foreground-color:#bccad0}
#pane-container .tp-lblv:not(:first-child){border-color:#bccad0}
#pane-container .tp-txtv_i{border-color:#bccad0}
#pane-container .tp-sldv_k::after{background:#e3e8ea;border-color:#707a7e}
.customize-panel .wiz-dropzone,.bird-editor-heading input{background:#e3e8ea;border-color:#bccad0}
.apply-customize{background:#495054}.customize-sky,.bird-editor{border-color:#bccad0}
.wiz-modal{background:#e3e8ea}.wiz-primary-btn{background:#495054;color:#fff}

.bird-upload-slot h3,.bird-upload-slot:not(:first-child) h3{flex-direction:row;justify-content:flex-start;gap:4px}
.bird-upload-slot h3 .required-mark{color:#b33b32;font-weight:600}
/* White content surface beside the warm-gray navigation rail. */
.card-stack{background:#fff}

.bird-poses{grid-template-columns:minmax(0,1fr);gap:18px}
.customize-panel .wiz-dropzone,.bird-upload-slot:not(:first-child) .wiz-dropzone{display:block;width:100%;min-height:0;padding:14px 10px;text-align:center;line-height:1.5;font-family:inherit;border-width:1px;border-style:dashed;border-radius:8px}
.customize-panel .wiz-dropzone.drag{background:#bccad0;border-color:#707a7e}

/* Cool monochrome palette supplied by the user. */
:root{--paper:#e3e8ea;--ink:#495054;--muted:#707a7e;--line:#bccad0;--accent:#495054}
.card-stack{background:#fff}.section-rail{background:#e3e8ea}.settings-workspace::before{background:#bccad0}
#section-tabs button,#section-tabs button span,.rail-label{color:#495054}
#section-tabs button[aria-selected=true]{background:#495054;border-color:#495054;color:#fff}
#section-tabs button[aria-selected=true] span{color:#fff}
.customize-panel .wiz-dropzone,.bird-editor-heading input{background:#e3e8ea;border-color:#9ba8ae;color:#495054}
.customize-help,.sky-filename,#pane-container .tp-desc{color:#495054}
.bird-upload-slot h3 .required-mark{color:#b33b32}
.settings-workspace::before{display:none}
/* Sliders pair a clean track with a compact, directly editable value. */
#pane-container .clean-slider{align-items:center;gap:14px;padding-top:4px}
#pane-container .clean-slider .tp-sldtxtv_s{flex:1;min-width:0}
#pane-container .clean-slider .tp-sldv_t{margin:0 9px;height:42px}
#pane-container .clean-slider .tp-sldv_t::before{height:5px;border-radius:8px;background:#e3e8ea}
#pane-container .clean-slider .tp-sldv_k::before{height:5px;border-radius:8px;background:#495054}
#pane-container .clean-slider .tp-sldv_k::after{width:18px;height:18px;right:-9px;border:0;border-radius:50%;background:#495054;box-shadow:0 1px 3px #49505425}
#pane-container .clean-slider .tp-sldtxtv_t{flex:0 0 72px;margin:0}
#pane-container .clean-slider .tp-txtv_i{height:42px;line-height:42px;padding:0 7px;text-align:center;color:#495054;background:#f1f3f4;border:1px solid transparent;border-radius:12px;font-size:16px;font-variant-numeric:tabular-nums;box-shadow:none}
#pane-container .clean-slider .tp-txtv_i:hover{background:#e3e8ea}
#pane-container .clean-slider .tp-txtv_i:focus{outline:2px solid #9ba8ae;outline-offset:2px;background:#fff}
#pane-container .clean-slider .tp-txtv_k{display:none}
@media(max-width:650px){#pane-container .clean-slider{gap:8px}#pane-container .clean-slider .tp-sldtxtv_t{flex-basis:62px}}
/* Clear control hierarchy: label, supporting hint, then input. */
#pane-container .tp-lblv_l{font-size:16px;font-weight:700;line-height:1.3;letter-spacing:0;padding-bottom:2px}
#pane-container .tp-desc{font-size:14px;font-weight:400;line-height:1.4;color:#707a7e;padding-top:0;padding-bottom:10px}
#pane-container .clean-slider .tp-txtv_i{font-size:12px;font-weight:400}
#pane-container .tp-desc{padding-bottom:2px}
#pane-container .clean-slider{padding-top:0}
/* Compact, left-aligned settings controls. */
#pane-container .tp-lblv{padding:14px 4px}
#pane-container .tp-lblv_l{font-size:14px;font-weight:700;line-height:1.3;text-align:left;padding:0 0 2px; margin:0}
#pane-container .tp-desc{font-size:12px;font-weight:400;line-height:1.35;text-align:left;padding:0;margin:0}
#pane-container .clean-slider{padding-top:0;gap:12px;margin-top:0}
#pane-container .clean-slider .tp-sldv_t{margin:0;height:28px}
#pane-container .clean-slider .tp-sldv_t::before,#pane-container .clean-slider .tp-sldv_k::before{height:3px;border-radius:3px}
#pane-container .clean-slider .tp-sldv_k::after{width:12px;height:12px;right:-6px;box-shadow:none}
#pane-container .clean-slider .tp-sldtxtv_t{flex:0 0 56px}
#pane-container .clean-slider .tp-txtv_i{height:28px;line-height:28px;border-radius:7px;font-size:12px;padding:0 8px;text-align:left}
#pane-container .tp-lblv:not(:first-child){border-top:0}
/* Boolean settings use compact switches aligned with numeric input edges. */
#pane-container .tp-ckbv{display:flex;justify-content:flex-end;padding-top:4px}
#pane-container .tp-ckbv_l{width:42px;height:24px}
#pane-container .tp-ckbv_i{width:42px;height:24px;margin:0;z-index:2;cursor:pointer}
#pane-container .tp-ckbv_w{width:42px;height:24px;border-radius:999px;background:#bccad0;transition:background .15s}
#pane-container .tp-ckbv_w svg{display:none}
#pane-container .tp-ckbv_w::after{content:'';position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #49505425;transition:transform .15s}
#pane-container .tp-ckbv_i:checked+.tp-ckbv_w{background:#495054}
#pane-container .tp-ckbv_i:checked+.tp-ckbv_w::after{transform:translateX(18px)}
#pane-container .tp-ckbv_i:focus-visible+.tp-ckbv_w{outline:2px solid #9ba8ae;outline-offset:3px}
#pane-container .tp-ckbv_i:disabled{cursor:default}
@media(prefers-reduced-motion:reduce){#pane-container .tp-ckbv_w,#pane-container .tp-ckbv_w::after{transition:none}}
#pane-container .hint-below-control .tp-desc{padding-top:4px;padding-bottom:0}
/* Hints follow labels and stop before the right-hand value column. */
#pane-container .hint-aligned-control .tp-desc{width:calc(100% - 68px);padding:0;margin:0}
#pane-container .switch-control{position:relative;min-height:52px}
#pane-container .switch-control .tp-lblv_l{padding-right:68px}
#pane-container .switch-control .tp-lblv_v{position:absolute;top:14px;right:4px;width:56px}
#pane-container .switch-control .tp-ckbv{padding-top:0}

/* Inset the heading rule to the same edges as the settings. */
.section-heading{position:relative;min-height:0;padding-bottom:10px;border-bottom:0;flex-shrink:0}
.section-heading::after{content:'';position:absolute;bottom:0;left:21px;right:21px;height:1px;background:#bccad0}
@media(max-width:650px){.section-heading{padding-bottom:10px;min-height:0}.section-heading::after{left:14px;right:14px}}
/* Bird identities are always visible, with the same controls as other settings. */
#pane-container .bird-mix>.tp-fldv_b{display:none}
#pane-container .bird-mix>.tp-fldv_c{border-left:0;margin-left:0;padding-left:0}
#pane-container .bird-mix{margin-top:0}
#pane-container .bird-mix[data-count="0"]{display:none}
#pane-container .bird-mix:not([data-count="0"]):not([data-count="1"])::before{content:'Bird mix';display:block;padding:16px 4px 0;font-size:14px;font-weight:700;color:#495054}
#pane-container .tp-lstv[hidden]{display:none}
.mode-stepper{padding-top:5px}
#pane-container .mode-stepper input[type=range]{appearance:none;display:block;width:calc(100% - 12px);height:28px;margin:0 6px;background:transparent;cursor:pointer}
.mode-stepper input::-webkit-slider-runnable-track{height:3px;border-radius:3px;background:linear-gradient(to right,#495054 var(--progress),#e3e8ea var(--progress))}
.mode-stepper input::-webkit-slider-thumb{appearance:none;width:12px;height:12px;margin-top:-4.5px;background:#495054;border:0;border-radius:50%}
.mode-stepper input::-moz-range-track{height:3px;background:#e3e8ea;border-radius:3px}
.mode-stepper input::-moz-range-progress{height:3px;background:#495054}
.mode-stepper input::-moz-range-thumb{width:12px;height:12px;background:#495054;border:0;border-radius:50%}
.mode-steps{display:flex;justify-content:space-between;gap:3px}
#pane-container .mode-steps button{font-size:12px;line-height:1.4;padding:4px 2px;background:transparent;color:#707a7e;border:0;border-radius:3px;white-space:nowrap}
#pane-container .mode-steps button[aria-pressed=true]{color:#495054;font-weight:700}
.mode-stepper{position:relative}
.mode-track-marks{position:absolute;left:12px;right:12px;top:14px;height:10px;display:flex;justify-content:space-between;pointer-events:none}
.mode-track-marks span{display:block;width:2px;height:10px;border-radius:1px;background:#9ba8ae}
#pane-container .mode-stepper input[type=range]{position:relative;z-index:1}
.mode-steps{position:relative;height:25px;margin:0 12px;display:block}
#pane-container .mode-steps button{position:absolute;top:0;transform:translateX(-50%)}
.mode-steps button:nth-child(1){left:0}.mode-steps button:nth-child(2){left:25%}.mode-steps button:nth-child(3){left:50%}.mode-steps button:nth-child(4){left:75%}.mode-steps button:nth-child(5){left:100%}
#pane-container .mode-steps button:first-child{transform:none;margin-left:-12px}
#pane-container .mode-steps button:last-child{transform:translateX(-100%);margin-left:12px}
.mode-track-marks{z-index:2}
.bird-name-field{display:flex;flex-direction:column;gap:6px;flex:1;min-width:0;text-align:left}
.bird-name-field>span{font-size:14px;font-weight:700;color:#495054}
.bird-editor-heading{align-items:flex-end}
.mode-track-marks{z-index:0}
.mode-track-marks span{background:#e3e8ea}
/* Match the divider-to-first-label gap to the gap between settings. */
#pane-container{padding-top:10px}
/* Customize shares the 32px setting rhythm of the other panels. */
.customize-panel{padding:22px 4px 14px}
.bird-editor{border:0;padding:0;margin:0 0 32px}
.bird-editor-heading{margin:0 0 32px}
.bird-name-field{gap:2px}
.bird-name-field>span,.bird-upload-slot h3,.customize-sky h2{font-size:14px;font-weight:700;line-height:1.3}
.bird-name-field input{font-size:14px}
.bird-poses{gap:32px}
.bird-upload-slot h3,.customize-sky h2{margin:0 0 2px}
.customize-sky{border:0;padding:0;margin-top:32px}
.customize-panel .sky-filename{font-size:12px;line-height:1.35;margin-top:4px}
.customize-panel .apply-customize{margin-top:32px}
/* Keep the studio chrome within the open canvas beside the controls. */
.settings-workspace{top:36px}
.studio-header{right:calc(580px + 60px);top:36px;gap:24px;align-items:flex-start}
.back-link{letter-spacing:.08em;white-space:nowrap}
.edition{display:block;text-align:right;font-size:14px;line-height:1.4}
.footer-actions{margin-left:auto}
@media(max-width:1000px){.settings-workspace{top:24px}.studio-header{right:calc(540px + 48px);top:24px;flex-direction:column;gap:12px}.edition{text-align:left}}
@media(max-width:650px){.settings-workspace{top:auto}.studio-header{right:18px;top:24px;flex-direction:row;gap:16px}.back-link,.edition{font-size:14px;white-space:normal}.edition{text-align:right}}
.studio-header{justify-content:flex-start;align-items:center;flex-direction:row;gap:8px;letter-spacing:0}
.studio-header .back-link,.studio-header .edition{font-size:14px;letter-spacing:0;text-align:left;white-space:nowrap}
@media(max-width:1000px){.studio-header{right:auto;flex-wrap:wrap;max-width:calc(100vw - 600px)}}
@media(max-width:650px){.studio-header{max-width:none;right:18px;gap:6px}}
@font-face{font-family:'Studio Oldschool Grotesk';src:url('/murmuration-studio/assets/OldschoolGroteskVarTrial.ttf') format('truetype');font-weight:100 900;font-style:normal;font-display:swap}
.studio-header,.studio-header .back-link,.studio-header .edition{font-family:'Studio Oldschool Grotesk',ui-sans-serif,system-ui,sans-serif;font-weight:400}
.studio-header,.studio-header .back-link,.studio-header .edition{font-size:clamp(.9375rem,.3vw + .85rem,1.25rem);font-weight:400;line-height:1.65;letter-spacing:normal;color:#30414a}
/* Use the main site's px-4 / sm:px-6 / md:px-10 and 15px vertical inset. */
:root{--studio-edge:16px}
@media(min-width:640px){:root{--studio-edge:24px}}
@media(min-width:768px){:root{--studio-edge:40px}}
.studio-header{position:fixed;top:15px;left:var(--studio-edge);right:auto;max-width:none;align-items:center;flex-wrap:nowrap;gap:8px}
.settings-workspace{top:15px;right:var(--studio-edge)}
.studio-footer{left:var(--studio-edge);right:var(--studio-edge);bottom:15px}
@media(min-width:651px) and (max-width:1100px){.studio-header{align-items:flex-start;flex-direction:column;gap:0}.studio-header>span[aria-hidden]{display:none}}
@media(max-width:650px){.studio-header{position:absolute;right:var(--studio-edge);flex-direction:row;gap:6px}.settings-workspace{top:auto;right:auto;margin-left:var(--studio-edge);margin-right:var(--studio-edge)}.studio-footer{left:auto;right:auto;bottom:auto;margin:25px var(--studio-edge) 15px}}
.studio-header .back-link:hover{color:#30414a;opacity:.7}
/* Keep the full-height settings and its actions in one panel. */
.settings-workspace{top:15px;right:15px;bottom:15px;grid-template-rows:minmax(0,1fr) auto}
.settings-workspace .section-rail{border-bottom-left-radius:0}
.settings-workspace .card-stack{border-bottom-right-radius:0}
.settings-workspace .studio-footer{position:static;grid-column:1/-1;margin:0;padding:12px 18px;min-width:0;background:#fff;border-top:1px solid #bccad0;border-radius:0 0 6px 6px;display:block}
.settings-workspace .footer-actions{width:100%;margin:0;display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.settings-workspace .footer-actions button{font-size:14px;padding:10px 8px}
.settings-workspace .footer-actions .export-button{margin-left:auto;padding:10px 14px}
#studio-status{bottom:82px;right:34px;max-width:530px}
@media(max-width:650px){.settings-workspace{top:auto;right:auto;bottom:auto;height:700px;margin-left:15px;margin-right:15px}.settings-workspace .studio-footer{padding:10px 12px}.settings-workspace .footer-actions{gap:6px}.settings-workspace .footer-actions button{flex:1 1 calc(50% - 6px);font-size:14px}.settings-workspace .footer-actions .export-button{margin-left:0}}
.settings-workspace{width:500px;grid-template-columns:160px minmax(0,1fr)}
@media(max-width:1000px){.settings-workspace{width:480px;grid-template-columns:154px minmax(0,1fr)}}
@media(max-width:650px){.settings-workspace{width:auto;grid-template-columns:138px minmax(0,1fr)}}
.settings-workspace .studio-footer{padding:6px 18px}
.settings-workspace .footer-actions button,.settings-workspace .footer-actions .export-button{padding:6px 8px;border:0;background:transparent;border-radius:0;line-height:20px}
@media(max-width:650px){.settings-workspace .studio-footer{padding:6px 12px}}
.settings-workspace .section-rail{background:#fff;border-right:0}
/* Give navigation more breathing room without widening its selected state. */
.settings-workspace{column-gap:16px}
.settings-workspace .section-rail{padding-right:17px}
@media(max-width:650px){.settings-workspace{column-gap:10px}.settings-workspace .section-rail{padding-right:9px}}
.settings-workspace{background:#fff}
.settings-workspace .section-rail{border-right:1px solid #bccad0}
.section-heading::after{display:none}
.section-heading::after{display:block}
.customize-panel .wiz-thumb{display:block;width:100%;height:auto;max-width:none;max-height:none;object-fit:contain}
.customize-panel .wiz-preview{width:100%;margin:12px 0}
.upload-slider-label{display:block;font-size:14px;font-weight:700;line-height:1.3;margin:0 0 2px;color:#495054}
.upload-slider-row{display:flex;align-items:center;gap:12px;margin:0 0 12px}
.customize-panel .upload-slider-row .wiz-slider{appearance:none;flex:1;min-width:0;width:auto;height:28px;margin:0;background:transparent;cursor:pointer}
.upload-slider-row .wiz-slider::-webkit-slider-runnable-track{height:3px;border-radius:3px;background:linear-gradient(to right,#495054 var(--progress),#e3e8ea var(--progress))}
.upload-slider-row .wiz-slider::-webkit-slider-thumb{appearance:none;width:12px;height:12px;margin-top:-4.5px;border:0;border-radius:50%;background:#495054}
.upload-slider-row .wiz-slider::-moz-range-track{height:3px;border-radius:3px;background:#e3e8ea}
.upload-slider-row .wiz-slider::-moz-range-progress{height:3px;background:#495054}
.upload-slider-row .wiz-slider::-moz-range-thumb{width:12px;height:12px;border:0;border-radius:50%;background:#495054}
.upload-slider-value{appearance:textfield;box-sizing:border-box;flex:0 0 56px;width:56px;height:28px;padding:0 8px;border:1px solid transparent;border-radius:7px;background:#f1f3f4;color:#495054;font-size:12px;font-variant-numeric:tabular-nums}
.upload-slider-value::-webkit-inner-spin-button,.upload-slider-value::-webkit-outer-spin-button{appearance:none;margin:0}
.upload-slider-value:focus{outline:2px solid #9ba8ae;outline-offset:2px;background:#fff}
