.scene-selector{display:grid;gap:8px;max-width:40rem;margin:28px 0}.scene-selector select{min-height:44px;font:inherit;padding:9px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:8px}.scene-correction{background:#f5eedb;padding:18px;border-radius:12px;line-height:1.8;color:#554723}.scene-command-list{margin:22px 0}.scene-command-list article{display:grid;grid-template-columns:130px 1fr;gap:20px;padding:18px 0;border-bottom:1px solid var(--line)}.scene-command-list article>span{font-size:.8125rem;color:var(--muted)}.scene-command-list h3{margin:0 0 8px;font-size:1rem}.scene-command-list p{margin:4px 0;font-size:.9375rem;overflow-wrap:anywhere}.scene-command-list small{font-size:.75rem;color:var(--muted)}.scene-analysis>section{margin-top:36px}.scene-analysis details{overflow-wrap:anywhere}.scene-story{margin:24px 0}.scene-story blockquote{margin:14px 0;padding:18px;background:#fff;border-radius:12px}.scene-story blockquote p{margin:8px 0}.scene-story cite{font-size:.75rem;color:var(--muted);font-style:normal}.scene-variant-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.scene-variant-grid figure{margin:0;min-width:0}.scene-variant-grid img{display:block;width:100%;aspect-ratio:1;object-fit:contain;background:#e9eee5}.scene-variant-grid figcaption{font-size:.8125rem;line-height:1.8;overflow-wrap:anywhere;margin-top:10px}.scene-art-pending{aspect-ratio:1;display:grid;place-content:center;background:#e9eee5;text-align:center;font-size:.8125rem;line-height:1.7}.extended-growth{margin-top:36px;padding-top:24px;border-top:1px solid var(--line)}.extended-growth svg{display:block;width:100%;max-width:700px;margin:24px 0}.extended-growth svg text{font-family:var(--font);font-size:13px;fill:var(--muted)}.extended-growth label{display:grid;gap:10px;max-width:700px}.extended-growth input{width:100%;min-height:44px;accent-color:#18564c}.extended-growth output{display:block;margin:14px 0;line-height:1.8;font-variant-numeric:tabular-nums}.game-script-scene>.game-scene-photo,.game-map-scene>.game-scene-photo{transform:translate(var(--scene-pan-x,0),var(--scene-pan-y,0)) scale(var(--scene-zoom,1))}.game-variant-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:14px 0}.game-variant-options .game-button{padding:5px;min-width:0;display:flex;flex-direction:column;gap:8px}.game-variant-options .game-scene-photo{position:static;aspect-ratio:1;height:auto;z-index:auto;transform:none}.game-variant-options [aria-pressed=true]{outline:3px solid #18564c;outline-offset:-3px}.game-variant-options span{font-size:.75rem}.game-preview-pending{display:grid;place-content:center;min-height:80px;font-size:.6875rem!important;background:#edf0e5;line-height:1.6}.game-script-content>div{width:100%}.game-map-camera{display:flex;gap:5px;flex-wrap:wrap;margin:10px 0}.game-map-camera .game-button{font-size:.75rem;flex:1;padding:5px 8px;white-space:nowrap}.game-decor-view{background:var(--surface);padding:20px;border-radius:14px;min-height:600px}.game-decor-view h2{font-size:1.5rem}.game-decor-view article{padding:16px 0;border-bottom:1px solid var(--line)}.game-decor-view h3{font-size:1rem}.game-decor-view p{font-size:.875rem;line-height:1.8}.game-decor-view>.game-button{margin-top:24px;width:100%}@media(max-width:600px){.scene-command-list article{grid-template-columns:1fr;gap:8px}.scene-variant-grid{gap:8px}.game-variant-options{gap:4px}.game-variant-options span{font-size:.6875rem}}

.game-script-content>div>.game-scene-photo{position:static;width:100%;height:auto;max-height:260px;object-fit:contain;transform:none;z-index:auto;margin:12px 0}.game-decor-view article>.game-scene-photo{position:static;width:100%;max-width:260px;height:auto;aspect-ratio:1;object-fit:contain;z-index:auto;background:#edf0e5}.scene-story-image{margin:20px 0}.scene-story-image img{display:block;width:100%;max-width:600px;height:auto}.scene-story-image figcaption{font-size:.8125rem;color:var(--muted);margin-top:8px}

.game-decor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.game-decor-grid article{min-width:0;padding:16px 0;display:flex;flex-direction:column;align-items:stretch;gap:8px}.game-decor-grid article>.game-scene-photo,.game-decor-main-preview>.game-scene-photo{position:static;width:100%;height:auto;aspect-ratio:1;object-fit:contain;z-index:auto;background:#edf0e5;transform:none}.game-decor-grid article>a{font-size:.75rem;line-height:1.6;margin-top:8px}.game-decor-grid .game-preview-pending{aspect-ratio:1;padding:10px;overflow-wrap:anywhere}.game-decor-main-preview{display:grid;place-items:center;min-height:260px;background:#edf0e5;border-radius:12px;overflow:hidden}.game-decor-main-preview img{max-width:320px}.game-decor-editor .game-preview-pending{max-height:170px;overflow:auto;padding:8px;font-size:.75rem}.game-decor-editor .game-preview-pending small{display:block;line-height:1.7;margin-top:8px}.game-decor-editor .game-decor-boundary{font-size:.8125rem;color:var(--muted);line-height:1.8;margin:20px 0}@media(max-width:440px){.game-decor-grid{grid-template-columns:1fr}.game-decor-editor{padding:14px}.game-decor-editor .game-variant-options .game-preview-pending{font-size:.625rem}}

.game-map-scene{touch-action:pan-y pinch-zoom;cursor:grab}.game-map-scene.camera-dragging{cursor:grabbing}.game-map-scene:focus-visible{outline:3px solid #1271ae;outline-offset:3px}.game-map-scene button,.game-map-scene a{cursor:pointer}

.game-map-scene.camera-dragging>.game-scene-photo{transition:none}.skin-lab{padding:18px;background:var(--surface);border-radius:12px}.skin-lab label{display:grid;gap:8px;margin:18px 0}.skin-lab select{max-width:100%;min-height:44px;font:inherit}.skin-lab p{line-height:1.8;overflow-wrap:anywhere}.skin-slot-table{overflow:auto;margin:22px 0}.skin-slot-table table{width:100%;font-size:.8125rem;border-collapse:collapse}.skin-slot-table th,.skin-slot-table td{padding:10px 8px;text-align:left;border-bottom:1px solid var(--line)}.skin-lab details{overflow-wrap:anywhere}.tutorial-play{margin:0 0 30px;padding:20px 0;border-bottom:1px solid var(--line)}.tutorial-play h2{font-size:1.125rem}.tutorial-play p{font-size:.875rem;line-height:1.8}.tutorial-play label{display:grid;gap:8px}.tutorial-play select{max-width:100%;min-height:44px;font:inherit}.tutorial-play textarea{width:100%;min-height:180px;resize:vertical;font:13px/1.7 var(--mono);padding:10px}.tutorial-play-status{padding:14px;background:#e9f2ed;color:#194b42;border-radius:12px;line-height:1.8}.tutorial-play-status small{font-size:.75rem}.tutorial-play .button{white-space:normal}.game-research-tools .tutorial-play h2{margin-top:0}
