:root{color-scheme:dark;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#f3e1c9;background:#080504;font-synthesis:none}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,select,input{font:inherit}button,select{color:inherit}button,a,select,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid #ffc277;outline-offset:5px}#fire{display:block;position:fixed;inset:0;width:100%;height:100%;touch-action:none}header{position:fixed;top:0;left:0;right:0;padding:36px 44px;display:flex;align-items:center;justify-content:space-between;pointer-events:none;z-index:3}header>*{pointer-events:auto}.wordmark{font-family:Georgia,"Times New Roman",serif;font-size:44px;letter-spacing:-2.5px;color:#f3dec1;text-decoration:none;line-height:1}.wordmark span{display:block;font-family:ui-sans-serif,sans-serif;font-size:10px;letter-spacing:3px;margin-top:13px;color:#b39372;line-height:1.5}.top-actions{display:flex;gap:22px;align-items:center}.text-button{border:0;background:none;font-size:14px;letter-spacing:.4px;padding:12px 0}.text-button span{color:#a98765;margin-left:5px}.icon-button{width:40px;height:40px;display:grid;place-items:center;border:1px solid #dbb18726;border-radius:50%;background:#1b110963;font-size:24px;flex-shrink:0}.icon-button svg{width:19px;height:19px}.icon-button:hover{border-color:#dbb18775;background:#48271788}main{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);width:min(850px,calc(100% - 64px));z-index:4;pointer-events:none}.scene-caption{text-align:center;margin-bottom:24px;text-shadow:0 2px 20px #000;pointer-events:none;transition:opacity 1s}.eyebrow{font-size:10px;letter-spacing:2.8px;color:#bd976c}.scene-caption h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(23px,2.2vw,32px);font-weight:400;letter-spacing:-.5px;line-height:1.2;margin:9px 0 8px}.scene-caption p{font-size:13px;color:#b79c80;margin:0;line-height:1.5}.control-bar{pointer-events:auto;border:1px solid #c98d4633;box-shadow:0 12px 60px #0007,inset 0 1px #ffc48c0a;background:#170f0bbf;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);border-radius:14px;display:flex;gap:24px;align-items:center;padding:18px 22px}.control-group{min-width:0}.control-group>label{font-size:10px;letter-spacing:1.7px;color:#bd9770;display:flex;justify-content:space-between;gap:14px;margin-bottom:8px;white-space:nowrap}.control-group output{font-size:11px;text-transform:none;letter-spacing:0;color:#e0bc93}.select-row{display:flex;gap:14px;align-items:center}select{background:transparent;border:0;border-radius:0;cursor:pointer;font-size:14px;padding:3px 22px 3px 0;max-width:100%;outline-offset:2px}select option{background:#1c130d;color:#f0d9bc}.summon{padding:9px 12px;border-radius:7px;background:#442b17;border:1px solid #b27b424d;font-size:12px;white-space:nowrap}.summon span{margin-left:7px;color:#ffc374}.summon:hover{background:#674120}.heat-group{flex:1;min-width:120px;border-left:1px solid #d3944e24;padding-left:24px}.palette-group{border-left:1px solid #d3944e24;padding-left:24px}input[type=range]{-webkit-appearance:none;appearance:none;width:100%;height:32px;display:block;margin:0;background:transparent;accent-color:#e6ac68;cursor:pointer;touch-action:none;pointer-events:auto}input[type=range]::-webkit-slider-runnable-track{height:4px;background:linear-gradient(to right,#e6ac68 0 var(--range-progress,50%),#674a31 var(--range-progress,50%) 100%);border-radius:4px}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:20px;height:20px;margin-top:-8px;border:2px solid #ffe0b2;border-radius:50%;background:#df9b53;box-shadow:0 2px 8px #0008;cursor:grab}input[type=range]::-moz-range-track{height:4px;background:#674a31;border-radius:4px}input[type=range]::-moz-range-progress{height:4px;background:#e6ac68;border-radius:4px}input[type=range]::-moz-range-thumb{width:16px;height:16px;border:2px solid #ffe0b2;border-radius:50%;background:#df9b53;box-shadow:0 2px 8px #0008;cursor:grab}input[type=range]:active::-webkit-slider-thumb{cursor:grabbing;background:#ffd29b}input[type=range]:active::-moz-range-thumb{cursor:grabbing;background:#ffd29b}input[type=checkbox]{width:18px;height:18px;accent-color:#e6ac68}.footnote{display:flex;justify-content:space-between;padding:13px 3px 0;font-size:12px;color:#977b60;pointer-events:auto}.footnote button{border:0;background:none;font-size:12px;color:#b49779;padding:0}.settings{position:absolute;right:0;bottom:122px;width:330px;max-height:calc(100vh - 210px);max-height:calc(100dvh - 210px);overflow-y:auto;overscroll-behavior:contain;padding:22px;border:1px solid #b078413f;background:#170f0df5;backdrop-filter:blur(25px);border-radius:14px;box-shadow:0 15px 60px #0008;pointer-events:auto}.settings-heading{display:flex;justify-content:space-between;align-items:center;font-family:Georgia,serif;font-size:22px;margin-bottom:20px}.settings .icon-button{width:29px;height:29px;font-size:20px}.settings>label{display:flex;justify-content:space-between;align-items:center;margin-top:23px;font-size:13px;color:#d1b695}.settings label output{font-size:12px;color:#a88b70}.settings .toggle-row{font-size:14px}.settings p{font-size:13px;color:#a88b70;line-height:1.6;margin:22px 0}.keys{display:flex;flex-wrap:wrap;gap:10px;font-size:10px;color:#a88b70}kbd{font-family:inherit;font-size:10px;border:1px solid #7254395e;border-radius:3px;padding:3px 5px;margin-right:2px}.restore{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#160d09a3;color:#d8b390;border:1px solid #bc844532;border-radius:30px;padding:10px 18px;opacity:.35;transition:opacity .3s;font-size:12px;z-index:6}.restore:hover,.restore:focus-visible{opacity:1}.restore span{margin-left:12px;color:#a87f58}.chrome{transition:opacity .5s}.immersed .chrome{opacity:0;visibility:hidden}.immersed .chrome *{pointer-events:none}#notice{position:fixed;top:125px;left:50%;transform:translateX(-50%);font-size:13px;color:#eed4b5;border-radius:30px;background:#29180ee6;padding:10px 20px;opacity:0;transition:opacity .3s;z-index:8;pointer-events:none}#notice.visible{opacity:1}#error{position:fixed;inset:0;z-index:20;background:#100905;padding:20vh 10vw;color:#e8c8a5}#error h1{font:40px Georgia,serif}#error p{max-width:500px;line-height:1.7}#error button{background:#513018;border:1px solid #906038;border-radius:6px;padding:10px 20px}body.paused .eyebrow{color:#dcb884}[hidden]{display:none!important}@media(min-width:1500px){main{bottom:32px}.scene-caption{margin-bottom:30px}}@media(max-width:740px){header{padding:24px}.wordmark{font-size:37px}.wordmark span{font-size:9px;letter-spacing:2.2px}.top-actions{gap:14px}main{bottom:18px;width:calc(100% - 28px)}.control-bar{gap:14px;padding:15px;flex-wrap:wrap}.control-group:first-child{flex:1;min-width:210px}.select-row{justify-content:space-between}.heat-group{display:block;order:3;flex:1 0 100%;border:0;padding:0}.palette-group{padding-left:14px;border:0;max-width:135px}.palette-group select{font-size:13px}.control-bar>.icon-button{width:33px;height:33px}.scene-caption{margin-bottom:20px}.scene-caption p{font-size:12px}.settings{bottom:120px;max-width:calc(100vw - 28px)}.footnote{font-size:11px}}@media(max-width:480px){.control-bar{column-gap:10px;row-gap:16px}.control-group:first-child{flex-basis:100%}.palette-group{padding:0;max-width:none;flex:1;display:flex;align-items:center;gap:14px}.palette-group>label{margin:0}.scene-caption{margin-bottom:16px}.scene-caption h1{font-size:25px}.settings{bottom:166px}.top-actions{gap:10px}.text-button{font-size:12px}header{padding:23px 22px}}@media(max-height:650px) and (min-width:700px){header{padding:20px 30px}.wordmark{font-size:32px}.wordmark span{font-size:8px;margin-top:8px}main{bottom:12px}.scene-caption{margin-bottom:13px}.scene-caption h1{font-size:22px}.scene-caption p{display:none}.control-bar{padding:12px 18px}.footnote{padding-top:8px}}

@media(prefers-reduced-motion:reduce){.chrome,.scene-caption,.restore,#notice{transition:none}}

.settings>select{display:block;width:100%;margin-top:10px;padding:9px 28px 9px 10px;border:1px solid #b078413f;border-radius:6px;background:#21150e;font-size:14px}.settings>label{gap:14px}.settings input[type=checkbox]{flex-shrink:0}.watching{cursor:none}.watching .chrome{opacity:0;visibility:hidden;transition:opacity 1.4s ease,visibility 0s 1.4s}.watching .chrome *{pointer-events:none}
@media(prefers-reduced-motion:reduce){.watching .chrome{transition:none}}
.prompt-panel{position:absolute;right:0;bottom:122px;width:min(430px,100%);max-height:calc(100vh - 190px);max-height:calc(100dvh - 190px);overflow-y:auto;overscroll-behavior:contain;padding:23px;border:1px solid #b0784159;border-radius:14px;background:#170f0df7;box-shadow:0 15px 60px #0008;pointer-events:auto}.prompt-panel .settings-heading{gap:16px;font-size:23px;line-height:1.2;margin-bottom:19px}.prompt-panel .icon-button{width:32px;height:32px}.prompt-label{display:block;font-size:14px;margin-bottom:9px;color:#d1b695}#vision-prompt{display:block;width:100%;resize:vertical;min-height:90px;max-height:180px;border:1px solid #a873424f;border-radius:8px;background:#0e0906;color:#f3e1c9;padding:12px;font:16px/1.5 ui-sans-serif,sans-serif}#vision-prompt::placeholder{color:#8c725b}.prompt-panel p{font-size:13px;line-height:1.5;color:#bca084}.prompt-examples{display:flex;flex-wrap:wrap;gap:7px}.prompt-examples button{border:1px solid #b27b4240;border-radius:18px;background:#29190e;color:#d7b591;font-size:12px;line-height:1.4;padding:7px 10px;text-align:left}.prompt-examples button:hover{background:#442b17}.prompt-feedback{min-height:1.5em;margin:14px 0}.prompt-feedback.error{color:#ffc29b}.prompt-panel .summon{width:100%;font-size:14px;padding:12px}.footnote{gap:14px;align-items:center}#prompt-toggle{color:#dbb687;white-space:nowrap}.prompt-panel .summon:disabled{opacity:.6;cursor:wait}@media(max-width:740px){.prompt-panel{bottom:120px}}@media(max-width:480px){.prompt-panel{bottom:166px;max-height:calc(100vh - 205px);max-height:calc(100dvh - 205px);padding:19px}.footnote{flex-wrap:wrap;row-gap:9px}.footnote #interaction-hint{flex:1 0 100%}#prompt-toggle{font-size:13px}}

#vision-prompt:focus-visible{outline:2px solid #ffc277;outline-offset:4px}

/* Local fire lettering: keep the message readable and the controls within reach. */
.prompt-label{display:flex;align-items:baseline;justify-content:space-between;gap:16px}
#text-count{font-size:13px;color:#bca084;font-variant-numeric:tabular-nums}
.prompt-examples button{font-size:14px}
#prompt-toggle{font-size:14px;padding:5px 0}
.scene-caption h1{overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#scene{max-width:260px;text-overflow:ellipsis}
@media(max-width:480px){#scene{max-width:calc(100vw - 160px)}.prompt-panel{position:fixed;inset:auto 0 0;width:100%;max-height:calc(100dvh - 36px);padding:20px}.prompt-panel .settings-heading{font-size:22px}}
