.timetable-scroll{overflow:auto;border:1px solid #c8cbae;border-radius:11px}.school-timetable{width:100%;border-collapse:collapse;text-align:center;font-size:13px;color:#4a6145;table-layout:fixed}.school-timetable caption{padding:14px;background:#e8e9d6;font-family:'Gowun Batang',serif;font-size:18px}.school-timetable th,.school-timetable td{border:1px solid #d5d8c2;padding:13px 3px;white-space:nowrap}.school-timetable th{background:#e5e9d3;font-weight:500}.school-timetable tr>*:last-child{background:#efe3c8}.school-timetable thead th{font-weight:600}.school-timetable td{background:#faf7e9}
.scene-activity-dialog{margin:80px 24px 24px auto;width:min(470px,calc(100vw - 40px));max-height:calc(100dvh - 105px)}.scene-activity-dialog::backdrop{background:#182b1e22;backdrop-filter:none}
.ember-stage{position:relative;height:235px;border:8px solid #a27b5d;background:repeating-linear-gradient(0deg,#aa805d 0 28px,#d2b797 29px 31px);border-radius:12px;overflow:hidden}.ember-mouth{position:absolute;left:22px;top:25px;width:60%;height:165px;border:10px solid #77614b;border-radius:50px 50px 5px 5px;background:radial-gradient(ellipse at bottom,#8d3d1f,#302e26 65%);box-shadow:inset 0 0 26px #1118}.ember-coals{position:absolute;bottom:0;left:8%;color:#e87a3b;font-size:23px;letter-spacing:3px;text-shadow:0 0 12px #f0914e}.ember-flame{position:absolute;bottom:10px;left:26%;width:36px;height:90px;border-radius:50% 50% 32% 32%;background:linear-gradient(#ffe398,#ed8537 50%,#bc4c24);transform-origin:bottom;transform:scaleY(.25);opacity:.65}.ember-flame:nth-child(2){left:46%;height:110px;width:29px}.ember-flame:nth-child(3){left:65%;height:76px;width:25px}.newspaper-sheet{position:absolute;right:12px;top:65px;width:115px;height:120px;border:1px solid #c3b896;background:#ece1bf;box-shadow:0 3px 8px #332b2044;transform:rotate(8deg);padding:10px;text-align:center;color:#7c735c}.newspaper-sheet b{display:block;font:17px 'Gowun Batang',serif;border-bottom:2px solid #aaa080;padding-bottom:5px}.newspaper-sheet span{display:block;font-size:8px;margin:6px 0}.newspaper-sheet i{display:block;height:10px;margin:5px 0;background:repeating-linear-gradient(0deg,#978e73 0 1px,transparent 1px 4px)}.feeding .newspaper-sheet{animation:paper-feed 1.7s ease-in forwards}.feeding .ember-flame{animation:ember-rise 6.5s ease-out both}.feeding .ember-flame:nth-child(2){animation-delay:.15s}.feeding .ember-flame:nth-child(3){animation-delay:.3s}@keyframes paper-feed{to{transform:translate(-155px,38px) rotate(-25deg) scale(.18);opacity:0;filter:sepia(1) brightness(.45)}}@keyframes ember-rise{0%,100%{transform:scaleY(.25);opacity:.65}35%,55%{transform:scaleY(1);opacity:1}70%{transform:scaleY(.65);opacity:.9}}
.water-memory{position:relative;overflow:hidden;height:190px;border:7px solid #a5aea0;border-radius:11px;background:linear-gradient(#dce8d4 0 58%,#aab9ac 58% 65%,#8ca4a2 65%);display:grid;place-items:center;color:#496b58;font-family:'Gowun Batang',serif;font-size:18px}.water-memory span{transform:translateY(-35px)}.water-memory i{opacity:0;position:absolute;left:48%;top:65%;width:13px;height:22px;border-radius:60% 60% 60% 5%;background:#e0f7ed;transform:rotate(-45deg)}.water-memory i:nth-child(3){left:42%;animation-delay:.25s}.water-memory i:nth-child(4){left:54%;animation-delay:.5s}.water-memory.drinking i{animation:school-water-drop .8s 4}@keyframes school-water-drop{0%{opacity:0;translate:0 -38px}25%{opacity:.85}100%{opacity:0;translate:0 50px}}
.stationery-shelf{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;padding:16px;border:8px solid #95764f;border-radius:10px;background:#c4b187}.stationery-shelf button{display:flex;flex-direction:column;align-items:center;gap:10px;border:1px solid #c9caaa;border-radius:8px;background:#eee4c8;padding:20px 10px;color:#536747}.stationery-shelf button:hover{background:#e4ddba}.stationery-shelf button span{font:46px serif;color:#a98242}.stationery-shelf button b{font-size:12px}
@media(max-width:600px){.school-timetable{font-size:11px}.school-timetable th,.school-timetable td{padding:12px 1px}.scene-activity-dialog{margin:auto 12px 14px;width:calc(100vw - 24px);max-height:62dvh;padding:18px}.ember-stage{height:200px}.ember-mouth{width:57%;height:135px;left:10px;top:20px}.newspaper-sheet{right:6px;top:45px;width:92px;height:110px;padding:8px}.newspaper-sheet b{font-size:14px}.water-memory{height:150px;font-size:15px}.stationery-shelf{gap:8px;padding:10px}.stationery-shelf button{padding:14px 8px}}
@media(prefers-reduced-motion:reduce){.feeding .newspaper-sheet,.feeding .ember-flame,.water-memory.drinking i{animation:none}.feeding .ember-flame{transform:scaleY(.8)}.feeding .newspaper-sheet{opacity:.3}}

dialog a{color:#466d4d;text-decoration-color:#91a17b;text-underline-offset:3px}dialog a:hover{color:#284e36}
