#task-dialog.daily-scene{background:var(--cream)}
#task-dialog.daily-scene::backdrop{background:var(--cream);animation:none}
.daily-scene .editor-shell{inset:0;max-width:none;margin:0;border:0;border-radius:0;box-shadow:none;background:var(--cream)}
.daily-scene .editor-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:18px;padding:12px 24px;border:0;background:transparent;min-height:72px;flex-shrink:0}
.daily-scene .scene-back{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:84px;min-height:44px;padding:8px 12px;background:var(--paper);color:var(--green);border-color:#c4ae8b;align-self:start;margin-top:4px}
.daily-scene .editor-header>div:not(.editor-header-actions){text-align:center;min-width:0}
.daily-scene .editor-header h2{font-size:23px;line-height:1.25}.daily-scene .editor-header h2 small{font-size:14px}
.daily-scene .editor-header-actions{justify-content:flex-end}.daily-scene .editor-header-actions .ui-switch button{min-height:44px}
.daily-garland{position:relative;flex:0 0 112px;width:min(940px,calc(100% - 80px));margin:0 auto 7px;pointer-events:none}
.daily-garland svg{position:absolute;inset:0 0 auto;width:100%;height:62px;overflow:visible}
.daily-garland path{fill:none;stroke:var(--red);stroke-width:2.3;stroke-linecap:round}
.garland-charm{position:absolute;left:var(--charm-x);top:var(--charm-drop);width:62px;height:80px;transform:translateX(-50%) rotate(var(--charm-angle));transform-origin:top center;display:flex;flex-direction:column;align-items:center}
.garland-charm::before{content:'';height:12px;width:1px;background:var(--red);flex:0 0 12px}
.garland-charm img{display:block;max-width:62px;max-height:68px;width:auto;height:auto;object-fit:contain;filter:drop-shadow(0 2px 1px #6b45231a)}
.daily-scene .editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 284px;gap:20px;padding:0 24px 20px;overflow:hidden;min-height:0;flex:1}
.scene-stage{display:grid;grid-template-columns:184px minmax(0,1fr);gap:17px;min-height:0;min-width:0}
.open-keyword-door{display:flex;align-items:center;min-width:0;padding:0 0 0 8px;perspective:900px}
.open-door-panel{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;width:100%;min-height:400px;max-height:90%;padding:30px 15px;background:var(--paper);border:3px solid var(--red);border-radius:18px 6px 7px 17px;transform:rotateY(-18deg);transform-origin:right center;box-shadow:-4px 7px 0 #a9834d12;text-align:center}
.open-door-panel::before{content:'';position:absolute;inset:9px;border:1px solid #c5483e66;border-radius:10px 2px 3px 10px;pointer-events:none}
.open-door-panel .kicker{font-size:10px;margin:0;line-height:1.5}.door-keyword{display:block;color:var(--red);font-size:38px;line-height:1.5;font-weight:800;letter-spacing:.05em;overflow-wrap:anywhere;max-width:100%}
.door-english{font-size:13px;line-height:1.6;color:var(--green);max-width:100%;overflow-wrap:anywhere}
#door-art{display:block;object-fit:contain;max-width:112px;max-height:140px;width:auto;height:auto;margin-top:4px}
.daily-scene .paper-zone{background:var(--paper);border:1px solid #cdb693;border-radius:16px;overflow:hidden;min-height:0}
.daily-scene .paper-caption{padding:12px 18px;color:var(--green)}
.daily-scene .paper-scroll{padding:10px 22px 24px}
.daily-scene .tools-panel{grid-column:2;grid-row:1;min-height:0;overflow:auto;padding:15px;border:1px solid #cdb693;border-radius:14px;background:var(--paper)}
@media(max-width:1100px) and (min-width:651px){.daily-scene .editor-layout{grid-template-columns:minmax(0,1fr) 250px;gap:14px;padding-left:16px;padding-right:16px}.scene-stage{grid-template-columns:130px minmax(0,1fr);gap:12px}.open-door-panel{padding:24px 9px;min-height:330px;gap:12px}.door-keyword{font-size:29px}#door-art{max-width:83px;max-height:110px}.daily-scene .tools-panel{padding:12px}.daily-scene .paper-scroll{padding-left:12px;padding-right:12px}}
@media(max-width:650px){
 .daily-scene .editor-header{grid-template-columns:auto minmax(0,1fr) auto;gap:8px;padding:8px 12px;min-height:68px}
 .daily-scene .scene-back{min-width:73px;padding:8px 9px;font-size:12px;margin-top:4px}
 .daily-scene .editor-header .kicker{font-size:8px;letter-spacing:.03em;line-height:1.4}
 .daily-scene .editor-header h2{font-size:16px;line-height:1.25}.daily-scene .editor-header h2 small{display:block;font-size:10px;margin:3px 0 0}
 .daily-scene .editor-header-actions .ui-switch button{min-width:48px;padding:6px 7px;font-size:10px;min-height:44px}
 .daily-garland{flex-basis:76px;width:calc(100% - 22px);margin-bottom:5px}.daily-garland svg{height:44px}
 .garland-charm{width:34px;height:53px;top:calc(var(--charm-drop) * .62)}.garland-charm::before{height:8px;flex-basis:8px}.garland-charm img{max-width:34px;max-height:45px}
 .daily-scene .editor-layout{display:flex;flex-direction:column;gap:8px;overflow:auto;padding:0 12px 18px;min-height:0}
 .scene-stage{order:3;display:grid;grid-template-columns:70px minmax(0,1fr);gap:9px;min-height:0;min-width:0;flex:none;width:100%;align-items:start}
 .open-keyword-door{padding:12px 0 0;align-self:start;position:sticky;top:8px}.open-door-panel{min-height:210px;max-height:none;padding:19px 6px;gap:12px;border-width:2px;border-radius:12px 4px 4px 12px;transform:rotateY(-12deg)}
 .open-door-panel::before{inset:5px;border-radius:7px 1px 1px 7px}.open-door-panel .kicker{font-size:8px}.door-keyword{font-size:25px;writing-mode:vertical-rl;text-orientation:upright;line-height:1.2;letter-spacing:.1em;max-width:none}.door-english{font-size:8px;line-height:1.4;max-width:48px}#door-art{display:none}
 .daily-scene .paper-zone{overflow:hidden;min-height:0;flex:none;border-radius:10px}.daily-scene .paper-caption{font-size:8px;padding:8px 9px;gap:5px;letter-spacing:0}.daily-scene .paper-scroll{padding:5px 9px 14px;overflow:auto;flex:none;min-height:0}
 .daily-scene .tools-panel{display:contents}
 .daily-scene .tools-panel>.tool-pills{order:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;flex:none}
 .daily-scene .tools-panel>.palette{order:2;flex:none;margin:0 0 2px}
 .daily-scene .tools-panel>.guide-box{order:4;margin:7px 0 0}
 .daily-scene .tools-panel>.more-tools{order:5}.daily-scene .tools-panel>.save-status{order:6;margin:0}.daily-scene .tools-panel>#mark-complete{order:7}.daily-scene .tools-panel>.print-actions{order:8}.daily-scene .tools-panel>.downloads{order:9}.daily-scene .tools-panel>#answer-link{order:10}.daily-scene .tools-panel>#resources{order:11}.daily-scene .tools-panel>.drawing-tip{order:12}
}
