.voyage-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 26px}.voyage-entry{border:1px solid var(--border-active,var(--line));border-radius:13px;background:var(--surface,#fafbf7);padding:19px;text-align:left;color:var(--ink);display:flex;gap:13px;align-items:center;min-height:91px}.voyage-entry:hover{background:var(--soft,#edf0e6);border-color:var(--accent,#48694e)}.voyage-entry b{font-size:14px;font-weight:600;display:block}.voyage-entry small{display:block;color:var(--muted);font-size:11px;line-height:1.7;margin-top:5px}.voyage-symbol{font-size:25px;color:var(--accent,#48694e)}.voyage-stack{display:grid;gap:13px}.voyage-stack .voyage-entry{width:100%;min-height:80px}.voyage-copy{font-size:13px;line-height:1.8;color:var(--muted)}.voyage-label{display:grid;gap:9px;font-size:12px;color:var(--ink);margin:17px 0}.voyage-input{width:100%;padding:13px;border:1px solid var(--border-active,var(--line));border-radius:10px;color:var(--ink);background:var(--surface,#fafbf7);font:inherit;font-size:14px}.voyage-actions{display:flex;gap:9px;flex-wrap:wrap;margin:16px 0}.voyage-status{padding:13px;border:1px solid var(--line);background:var(--soft,#edf0e6);border-radius:10px;font-size:12px;line-height:1.8;white-space:pre-wrap}.voyage-list{list-style:none;margin:15px 0;padding:0;display:grid;gap:12px}.voyage-item{padding:15px;border:1px solid var(--line);border-radius:12px;background:var(--surface,#fafbf7)}.voyage-item strong{font-size:13px}.voyage-item p{font-size:11px;color:var(--muted);line-height:1.7;margin:7px 0}.voyage-item .voyage-actions{margin:10px 0 0}.voyage-check{display:flex;gap:10px;align-items:center;font-size:12px;line-height:1.7;margin:15px 0}.voyage-check input{accent-color:var(--accent,#48694e);width:18px;height:18px}.scene-editor-overlay{position:absolute;inset:0;z-index:2;pointer-events:none}.scene-editor-overlay[hidden]{display:none}.scene .scene-handle{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;touch-action:none;cursor:grab;padding:7px 10px;min-height:38px;border:1px solid #fff;background:#203c35e8;box-shadow:0 3px 14px #10251c44;font-size:11px;white-space:nowrap}.scene .scene-handle:active{cursor:grabbing}.scene .editor-done{position:absolute;right:15px;bottom:70px;z-index:3;background:#f5f6ed;color:#243b30;border:1px solid #f5f6ed;font-weight:600;min-height:40px}.scene.editing .scene-top,.scene.editing .scene-bottom{pointer-events:none;opacity:.25}.voyage-session{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:var(--soft,#edf0e6);border:1px solid var(--line);padding:12px 16px;border-radius:12px;margin-bottom:20px;font-size:12px}.voyage-session[hidden]{display:none}.voyage-session strong{flex:1}.voyage-session button{min-height:36px}.voyage-script{white-space:pre-wrap;border-left:2px solid var(--accent,#48694e);padding:4px 16px;font:16px/1.9 Georgia,serif;color:var(--ink)}.voyage-timer{font:500 48px Manrope,sans-serif;letter-spacing:-2px;text-align:center;margin:18px}.voyage-code{font-family:monospace;font-size:11px;overflow-wrap:anywhere}.voyage-live{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--accent,#48694e);margin-right:6px}.voyage-pill{font-size:10px;padding:5px 8px;border-radius:6px;background:var(--soft,#edf0e6);color:var(--muted)}@media(max-width:650px){.voyage-nav{grid-template-columns:1fr;gap:8px}.voyage-entry{padding:14px 16px;min-height:72px}.voyage-entry b{font-size:13px}.voyage-entry small{font-size:11px}.scene .scene-handle{max-width:110px;font-size:10px;white-space:normal}.voyage-actions button{flex:1}.voyage-timer{font-size:40px}}

.voyage-nav>.voyage-entry{border:1px solid var(--border-active,var(--line));border-radius:12px;background:var(--soft,#edf0e6);box-shadow:none;min-height:102px;position:relative;padding-right:29px}.voyage-nav>.voyage-entry:after{content:'›';position:absolute;right:13px;font-size:23px;color:var(--accent)}.voyage-nav>.voyage-entry .voyage-symbol{display:grid;place-items:center;flex-shrink:0;width:39px;height:39px;border-radius:11px;background:var(--surface);border:1px solid var(--border-active);font-size:23px}.voyage-nav>.voyage-entry:hover{background:var(--active);border-color:var(--accent);box-shadow:0 3px 10px #142d2212}.voyage-stack .voyage-entry{border-left:3px solid var(--accent);min-height:84px}.voyage-stack .voyage-symbol{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;border-radius:10px;background:var(--soft);font-size:23px}.voyage-entry:disabled{opacity:.55;cursor:default}.voyage-entry[aria-pressed=true]{border-color:var(--accent);background:var(--active)}@media(max-width:650px){.voyage-nav>.voyage-entry{min-height:80px}}

.landscape-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:20px 0}.landscape-choice,.object-choice{position:relative;display:flex;flex-direction:column;text-align:left;border:1px solid var(--border-active);background:var(--surface);color:var(--ink);border-radius:13px;overflow:hidden;padding:0 0 15px;cursor:pointer}.landscape-choice:hover,.object-choice:hover{border-color:var(--accent);box-shadow:0 4px 15px #17382918}.landscape-choice[aria-pressed=true]{outline:2px solid var(--accent);outline-offset:2px;background:var(--active)}.landscape-choice strong,.object-choice strong{font-size:14px;margin:13px 15px 4px}.landscape-choice small,.object-choice small{font-size:11px;line-height:1.65;margin:0 15px;color:var(--muted)}.landscape-thumb{display:block;width:100%;height:auto;aspect-ratio:5/3;border-bottom:1px solid var(--line);background:var(--soft)}.landscape-selected{position:absolute;right:8px;top:8px;background:var(--accent);color:var(--accent-ink);padding:6px 9px;border-radius:7px;font-size:10px;font-weight:600}.object-palette{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:20px 0 25px}.object-choice strong{font-size:12px;margin-left:12px}.object-choice small{font-size:10px;margin-left:12px;margin-right:12px}.object-add{margin:12px 12px 0;background:var(--soft);border:1px solid var(--border-active);color:var(--accent);padding:7px 12px;align-self:flex-start;border-radius:7px;font-size:11px;font-weight:600}.scene .customize-scene{position:absolute;bottom:68px;left:18px;z-index:3;background:#f5f6efec;color:#2d4b3c;border:1px solid #ffffffd9;font-weight:600;min-height:40px;box-shadow:0 3px 12px #152a2630}.scene.editing .customize-scene{display:none}.scene .scene-handle[data-object]{background:#f6f0dbf2;color:#3b4d3c;border-color:#fff6d7}.scene .scene-handle[data-object]:before{content:'✥ ';color:#7c8056}.immersive .customize-scene{bottom:195px}.scene-idle .customize-scene{opacity:0;pointer-events:none}@media(max-width:580px){.object-palette{grid-template-columns:repeat(2,minmax(0,1fr))}.landscape-grid{gap:10px}.landscape-choice strong{font-size:12px;margin-left:12px}.landscape-choice small{font-size:10px;margin-left:12px}.scene .customize-scene{left:14px;font-size:10px}.immersive .customize-scene{bottom:190px}}@media(prefers-reduced-motion:reduce){.landscape-choice,.object-choice{transition:none}}

.landscape-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.builder-actions{position:sticky;top:0;z-index:2;padding:10px 0;background:var(--surface);border-bottom:1px solid var(--line);margin-top:5px}.builder-actions button{flex:1}@media(max-width:580px){.landscape-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* The actual illustrated view remains visible throughout scene editing. */
.builder-preview-host[hidden]{display:none!important}.feature-dialog.scene-builder-open{width:min(1320px,calc(100vw - 32px));height:min(820px,92dvh);max-height:92dvh;padding:0;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,1fr);grid-template-rows:auto minmax(0,1fr);gap:0;background:var(--surface);border-radius:18px}.scene-builder-open .feature-head{grid-column:1/-1;grid-row:1;padding:18px 22px;margin:0;border-bottom:1px solid var(--line);background:var(--surface)}.scene-builder-open #feature-body{grid-column:2;grid-row:2;min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px;border-left:1px solid var(--line);scrollbar-gutter:stable}.builder-preview-host{grid-column:1;grid-row:2;min-width:0;min-height:0;overflow-y:auto;padding:22px;background:var(--bg);display:flex;flex-direction:column;align-items:stretch;gap:12px}.builder-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.builder-preview-heading strong{font:600 17px Manrope,sans-serif;color:var(--ink)}.builder-live-label{font-size:10px;font-weight:600;letter-spacing:.3px;border:1px solid var(--border-active);border-radius:20px;padding:6px 10px;color:var(--accent);background:var(--soft);white-space:nowrap}.builder-preview-hint{margin:0;font-size:11px;line-height:1.7}.builder-preview-host .scene{height:auto;aspect-ratio:5/3;min-height:240px;width:100%;margin:0;border-radius:13px;flex-shrink:0}.builder-preview-host .scene canvas{position:absolute;inset:0;width:100%;height:100%}.builder-preview-host>.feature-secondary{align-self:flex-start;font-size:11px;min-height:38px}.builder-preview-host .scene-top{left:12px;right:12px;top:12px;gap:8px}.builder-preview-host .scene-top strong{font-size:17px}.builder-preview-host .scene-top small{font-size:8px;margin-bottom:4px}.builder-preview-host .scene-buttons{gap:4px;flex-wrap:wrap;justify-content:flex-end}.builder-preview-host .scene-buttons button,.builder-preview-host .scene-buttons select{font-size:9px;min-height:30px;padding:5px 7px}.builder-preview-host .scene-bottom{left:12px;right:12px;bottom:12px}.builder-preview-host .scene-bottom p{font-size:9px}.builder-preview-host .scene-note,.builder-preview-host .customize-scene,.builder-preview-host .editor-done{display:none!important}.builder-preview-host .scene .scene-handle{font-size:10px;min-height:34px;padding:5px 8px;max-width:112px;white-space:normal}.scene-builder-open .object-palette{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.scene-builder-open .landscape-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.scene-builder-open .builder-actions{margin-top:0;padding-top:8px}.scene-builder-open .voyage-copy{font-size:12px}.scene-builder-open .voyage-actions button{font-size:11px}.scene-builder-open .voyage-label{font-size:12px}
@media(max-width:780px){.feature-dialog.scene-builder-open{display:flex;flex-direction:column;width:calc(100vw - 12px);height:94dvh;max-height:94dvh;border-radius:14px}.scene-builder-open .feature-head{flex-shrink:0;padding:12px 14px}.scene-builder-open .feature-head h2{font-size:17px}.builder-preview-host{flex-shrink:0;padding:10px 12px;gap:7px;overflow:visible;border-bottom:1px solid var(--line)}.builder-preview-heading strong{font-size:13px}.builder-live-label{font-size:9px;padding:4px 8px}.builder-preview-host .builder-preview-hint{display:none}.builder-preview-host .scene{height:clamp(165px,27dvh,255px);min-height:0;max-height:30dvh;aspect-ratio:auto}.builder-preview-host>.feature-secondary{font-size:10px;min-height:30px;padding:5px 9px}.scene-builder-open #feature-body{min-height:0;flex:1;max-height:none;border-left:0;overflow-y:auto;padding:12px 14px;scrollbar-gutter:auto}.builder-preview-host .scene-top,.builder-preview-host .scene-bottom{display:none}.builder-preview-host .scene .scene-handle{font-size:9px;min-height:30px;padding:4px 7px;max-width:95px}.scene-builder-open .object-choice .landscape-thumb{max-height:100px;object-fit:cover}.scene-builder-open .landscape-choice .landscape-thumb{max-height:110px;object-fit:cover}.scene-builder-open .voyage-copy{font-size:11px}.scene-builder-open .object-palette{margin-top:12px}}
@media(max-height:500px) and (min-width:620px){.feature-dialog.scene-builder-open{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,1fr);grid-template-rows:auto minmax(0,1fr);height:96dvh;max-height:96dvh}.scene-builder-open .feature-head{grid-column:1/-1;padding:8px 14px}.builder-preview-host{grid-column:1;grid-row:2;overflow-y:auto;padding:10px;min-height:0}.builder-preview-host .scene{height:200px;min-height:180px;max-height:none}.scene-builder-open #feature-body{grid-column:2;grid-row:2;border-left:1px solid var(--line)}}
.feature-dialog.scene-builder-open:not([open]){display:none}
