#studio{background:#294359;border:4px solid #102339;padding:12px;flex:1;min-height:0;overflow:auto}.desk-heading{display:flex;justify-content:space-between;gap:12px;font-weight:bold;font-size:14px;color:#ffe59b;margin-bottom:10px}#activity{max-width:1160px;margin:auto}.writing-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:16px}.scene,.writing-sheet,.story-sheet{background:#fff5d5;border:4px solid #132940;padding:16px;color:#17354a;min-width:0;box-shadow:4px 4px #10283b}.scene img{display:block;width:100%;max-height:190px;object-fit:cover;object-position:center 10%;border:3px solid #294f63;image-rendering:pixelated}.scene h2{font-size:24px;margin:10px 0}.scene .story-context{font-size:21px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.blank-preview{display:inline-block;min-width:90px;border-bottom:3px dashed #397a95;background:#e5f1ec;font-weight:bold;padding:0 6px}.writing-sheet h2{font-size:23px;margin:0 0 10px}.writing-sheet p{margin:7px 0}.studio-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.studio-actions button{min-height:42px}.idea-list{list-style:none;padding:0;display:grid;gap:10px;margin:12px 0}.idea-list li{background:#e3efe4;border:2px dashed #638e7e;padding:10px;font-size:21px;user-select:text}.idea-note{color:#496371;font-size:15px}#personal{display:block;width:100%;min-height:145px;font-size:23px;resize:vertical;line-height:1.55;margin:12px 0}#personalLabel{display:block;font-size:22px;font-weight:bold}#writingRule{font-size:15px;color:#435f6d}.word-count{font-size:15px;min-height:25px}.studio-actions .primary{background:#89e3b1}.story-sheet{max-width:940px;margin:auto}.story-sheet h2{font-size:30px;overflow-wrap:anywhere}.story-sheet>p{font-size:22px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere}.edit-list{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.edit-list button{font-size:15px;padding:7px 10px}.story-sheet .review-note{font-size:16px;color:#3c6466}#feedback{overflow-wrap:anywhere}.draft-note{font-size:13px;color:#b8dccd;margin:8px 0}.draft-warning{color:#ffdc89}.story-controls{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}
@media(min-width:900px) and (min-height:480px){.scene,.writing-sheet{padding:12px}.scene img{max-height:170px}.scene h2,.writing-sheet h2{font-size:21px}.scene .story-context{font-size:20px}#personal{font-size:21px;min-height:105px;height:135px;margin:8px 0}.studio-actions button{padding:7px 12px}.idea-list{gap:7px;margin:8px 0}.idea-list li{font-size:19px;padding:7px}.story-sheet>p{font-size:21px}}
@media(max-width:899px){.writing-layout{grid-template-columns:1fr}.alien-page .guide-dock{position:static;transform:none;margin:12px auto}.scene img{max-height:200px}.studio-actions button{font-size:17px}.scene .story-context{font-size:21px}.story-sheet{padding:14px}.story-sheet h2{font-size:27px}#personal{font-size:22px}.edit-list button{min-height:44px}}

.blank-preview{max-width:100%;overflow-wrap:anywhere;vertical-align:bottom}

.writing-ideas h3{font-size:19px;margin:10px 0 6px}.writing-ideas .idea-list{gap:7px;margin:6px 0}.writing-ideas .idea-list li{font-size:18px;padding:7px;line-height:1.4}.writing-ideas .idea-note{font-size:14px;margin:6px 0}.is-writing .scene img{display:none}.is-writing .scene h2{margin-top:0}.is-writing .scene .story-context{font-size:19px;line-height:1.5;margin:8px 0}

.story-preview h3{font-size:19px;margin:8px 0}.story-preview #liveStory{position:relative;max-height:clamp(110px,23vh,180px);overflow:auto;overscroll-behavior:contain;background:#fffdf3;border:2px solid #71948e;padding:9px 12px;scrollbar-gutter:stable}#liveStoryTitle{font-size:18px;margin:0 0 8px;overflow-wrap:anywhere}.preview-line{font-size:18px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 10px}.preview-line:last-child{margin-bottom:0}.preview-line.current-draft{background:#e2efe4;border-left:3px solid #5f9685;padding-left:8px}.is-writing .scene h2{font-size:18px;margin-bottom:5px}@media(min-width:900px) and (max-height:650px){.story-preview #liveStory{max-height:112px}.writing-ideas .idea-list li{font-size:16px;padding:5px}.writing-ideas h3,.story-preview h3{font-size:17px;margin:6px 0}.writing-ideas .idea-note{font-size:13px}}
