/* 101 study. A single stationery system: index sheet, editorial title and writing wall. */
#stories.story-classroom{--room-accent:#4b5d45;box-sizing:border-box;display:grid;grid-template-columns:234px minmax(0,1fr);gap:26px;padding:28px max(28px,3.5vw) 24px;background:#f5f2e9;min-height:600px}
#stories.story-classroom::before{opacity:.16;mask-image:linear-gradient(90deg,#000,transparent 35%);background-image:url('assets/reading-room-sketch.jpg')}
#stories.story-classroom>.story-sidebar{align-self:start;padding:27px 23px 24px;background:linear-gradient(105deg,#fffef9ed,#f8f5eadf),url('assets/natural-note-paper.webp');border:1px solid #d6d0bf;border-radius:5px;box-shadow:0 2px 0 #ede8db,0 3px 0 #d9d1bf,2px 10px 22px #49433013;overflow:visible;min-width:0;position:relative}
#stories.story-classroom>.story-sidebar::before{content:'';position:absolute;top:-1px;left:23px;width:40px;height:4px;background:var(--room-accent);box-shadow:0 1px 1px #26312522}
#stories .story-sidebar>.room-eyebrow{font:600 13px/1.5 'Gowun Dodum',sans-serif;letter-spacing:.04em;color:#6a725f;margin:0 0 18px}
#stories.story-classroom #story-classroom-title{font:700 29px/1.4 'Gowun Batang',serif;letter-spacing:-.05em;color:#344330;margin:0}
#stories .room101-introduction{font:400 15px/1.8 'Gowun Dodum',sans-serif;color:#727461;margin:15px 0 0;word-break:keep-all}
#stories .story-sidebar .room-topic-area{margin:26px 0 0;padding-top:22px;border-top:1px solid #d9d4c6}
#stories .daily-period-label{font-size:13px;line-height:1.7;margin:0 0 12px;color:#6f735f}
#stories .daily-controls{display:grid;grid-template-columns:minmax(0,1fr);gap:9px}
#stories .daily-controls input,#stories .daily-controls select{box-sizing:border-box;width:100%;min-width:0;min-height:43px;padding:10px 11px;border:1px solid #c6c8b8;border-radius:3px;background:#fffef9;box-shadow:inset 0 2px 3px #4a4f3510;font:400 14px/1.5 'Gowun Dodum',sans-serif;color:#3f4d37}
#stories .room-topic-area>.small-copy{font:400 13px/1.7 'Gowun Dodum',sans-serif;color:#68705c;margin:13px 0}
#stories .daily-reward-note{margin:0 0 18px;padding:11px 0;border:0;background:none;line-height:1.7;font-size:13px;color:#68705c}
#stories .story-sidebar .paper-submit{min-height:48px;margin:0;border:1px solid #40543a;border-radius:4px;background:linear-gradient(#5e7152,#465c3e);box-shadow:inset 0 1px #ffffff30,0 2px 3px #293d2320;color:#fffdf4;font:600 16px/1.5 'Gowun Dodum',sans-serif}
#stories .story-sidebar .paper-submit:hover{background:linear-gradient(#667b58,#4b6342)}
#stories .legacy-note-button{margin:13px 0 0;font-size:11px;line-height:1.7;color:#7c7c6b}
/* Explicitly replace every legacy inset/grid rule for this room. */
#stories.story-classroom:not(.viewing-archive)>.weekly-wall-area{position:relative;display:flex!important;flex-direction:column;gap:0!important;grid-template-columns:none;grid-template-rows:none!important;box-sizing:border-box;margin:0;padding:0!important;width:100%;min-width:0;min-height:0;background:url('assets/sunlit-continuous-wall.png') center/cover;border-radius:5px;border:1px solid #dfd7c5;box-shadow:inset 0 1px #fff9,0 6px 20px #56482c10;overflow:hidden}
#stories.story-classroom .weekly-wall-area>.room-heading{position:relative;z-index:2;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(280px,.95fr);grid-template-rows:auto;align-items:center;gap:28px;box-sizing:border-box;width:calc(100% - 44px);max-width:none;min-height:0;margin:22px 22px 10px;padding:25px 28px 24px;background:linear-gradient(115deg,#fffef9fa,#f8f5eefa),url('assets/natural-note-paper.webp');border:1px solid #e0d9c7;border-radius:4px;box-shadow:0 2px 0 #ece6d8,0 3px 0 #d9d0bd,0 9px 18px #5b4c2a15;transform:none}
#stories.story-classroom .room-heading>.room-heading-copy{position:static!important;grid-column:1;grid-row:1;display:block!important;width:100%;min-height:0!important;padding:0!important;margin:0;transform:none!important}
#stories.story-classroom .room-heading .room-heading-copy>div:first-child{display:block;min-height:0!important;margin:0;padding:0;transform:none}
#stories.story-classroom .room-heading .topic-dateline{display:flex;flex-direction:row;gap:10px;align-items:baseline;min-height:0;margin:0 0 12px;padding:0;transform:none}
#stories.story-classroom .room-heading .topic-dateline>*{font:500 13px/1.5 'Gowun Dodum',sans-serif!important;letter-spacing:0;color:#777665;margin:0}
#stories.story-classroom:not(.viewing-archive) #story-wall-topic{position:relative;display:block;width:auto;max-width:100%;left:0;margin:0 0 13px!important;padding:0!important;font:700 clamp(28px,2.45vw,38px)/1.45 'Gowun Batang',serif;letter-spacing:-.06em;white-space:normal;word-break:keep-all;overflow-wrap:anywhere;color:#344430;text-align:left;transform:none!important}
#stories #story-wall-topic .graphite-fill,#stories #story-wall-topic::before{display:none!important}
#stories.story-classroom .room-heading .room-heading-copy #weekly-topic-description{font:400 16px/1.7 'Gowun Dodum',sans-serif;margin:0;padding:0;color:#757361;transform:none}
#stories.story-classroom .room-heading>.room-heading-guide{position:static!important;grid-column:2;grid-row:1;display:flex;flex-direction:column;justify-content:center;align-self:stretch;box-sizing:border-box;width:auto!important;min-height:0!important;max-width:none;padding:0 0 0 25px!important;margin:0;border:0!important;border-left:1px solid #ded8c7!important;gap:9px!important;transform:none!important;background:none}
#stories .room-heading-guide>.room-guide-title{font:600 12px/1.5 'Gowun Dodum',sans-serif;letter-spacing:.06em;color:#7e7d68;margin:0 0 2px}
#stories.story-classroom .room-heading .room-heading-guide>p{display:flex;align-items:baseline;gap:9px;position:relative;margin:0!important;padding:0;min-height:0;font:400 15px/1.65 'Gowun Dodum',sans-serif!important;letter-spacing:-.02em;color:#565f4b!important;word-break:keep-all}
#stories .room-heading-guide>p::before{content:'';width:4px;height:4px;flex:0 0 4px;background:#8b967b;border-radius:50%;align-self:flex-start;margin-top:10px;box-shadow:0 1px #fff}
#stories .room-heading-guide>p:last-child::before{background:#ab7659}
/* The wall begins on the same physical margin as the heading sheet. */
#stories.story-classroom:not(.viewing-archive) .weekly-frame{display:block;flex:1;position:relative;inset:auto;box-sizing:border-box;width:auto;margin:0 22px;min-width:0;min-height:0;padding:0!important;container-type:size;container-name:memo-wall;grid-column:auto;grid-row:auto;overflow:hidden}
#stories.story-classroom:not(.viewing-archive) .weekly-frame #room-memo-board{--cols:3;--tile:calc((100cqw - 40px)/3);display:grid;box-sizing:border-box;width:100%;height:100%;min-height:0;max-height:none;padding:10px 0 24px;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:none;grid-auto-rows:calc(var(--tile)/1.2);gap:12px 18px;align-content:start;justify-content:stretch;overflow:auto;scrollbar-gutter:stable;scrollbar-width:thin}
#stories.story-classroom:not(.viewing-archive) .weekly-frame .memo-paper:nth-child(n){grid-column:auto;grid-row:auto;width:var(--tile);max-width:100%;height:calc(var(--tile)/1.2);margin:0;justify-self:center}
#stories.story-classroom .story-wall-footer{position:static;display:flex;flex:none;box-sizing:border-box;margin:0!important;padding:10px 28px 13px!important;width:100%;font-size:11px;line-height:1.5;color:#76715c;border-top:1px solid #b6a98a30;background:#f9f6edb8;grid-column:auto;grid-row:auto}
@media(min-width:1600px){#stories.story-classroom{grid-template-columns:258px minmax(0,1fr);gap:30px}#stories.story-classroom .weekly-wall-area>.room-heading{padding:29px 34px;gap:38px}#stories.story-classroom .room-heading .room-heading-guide>p{font-size:17px!important}#stories.story-classroom:not(.viewing-archive) .weekly-frame #room-memo-board{--cols:4;--tile:calc((100cqw - 60px)/4);grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:721px) and (max-width:1120px){#stories.story-classroom{grid-template-columns:205px minmax(0,1fr);gap:20px;padding-inline:24px}#stories.story-classroom>.story-sidebar{padding:24px 18px}#stories.story-classroom .weekly-wall-area>.room-heading{grid-template-columns:minmax(0,1fr);gap:18px;padding:22px 24px}#stories.story-classroom .room-heading>.room-heading-guide{grid-column:1;grid-row:2;padding:15px 0 0!important;border-left:0!important;border-top:1px solid #ded8c7!important;gap:7px!important}#stories.story-classroom .room-heading-guide>.room-guide-title{display:none}#stories.story-classroom:not(.viewing-archive) .weekly-frame{height:480px;min-height:360px;flex:auto}#stories.story-classroom:not(.viewing-archive) .weekly-frame #room-memo-board{--tile:calc((100cqw - 22px)/2);grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){#stories.story-classroom{display:block;height:auto;min-height:0;padding:20px 16px 28px}#stories.story-classroom>.story-sidebar{padding:20px;box-shadow:0 2px 0 #e9e2d2,0 3px 0 #d8d0be,0 7px 16px #4943300c}#stories .story-sidebar>.room-eyebrow{margin-bottom:9px}#stories.story-classroom #story-classroom-title{font-size:25px;line-height:1.4}#stories #story-classroom-title>span{display:inline}#stories #story-classroom-title>span+span::before{content:' '}#stories .room101-introduction{font-size:14px;margin-top:8px}#stories .room101-introduction br{display:none}#stories .story-sidebar .room-topic-area{margin-top:17px;padding-top:16px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 12px}#stories .daily-period-label{grid-column:1/-1;margin:0}#stories .daily-controls{grid-column:1/-1;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}#stories .room-topic-area>.small-copy{margin:0;font-size:12px;grid-column:1/-1}#stories .daily-reward-note{margin:0;padding:0;font-size:12px;align-self:center}#stories .story-sidebar .paper-submit{min-height:45px;font-size:15px}#stories .legacy-note-button{grid-column:1/-1;font-size:11px;margin:0}#stories.story-classroom:not(.viewing-archive)>.weekly-wall-area{margin-top:20px;padding:0!important}#stories.story-classroom .weekly-wall-area>.room-heading{width:calc(100% - 28px);margin:14px 14px 8px;padding:21px 20px;grid-template-columns:minmax(0,1fr);gap:18px}#stories.story-classroom .room-heading .topic-dateline{margin-bottom:10px}#stories.story-classroom:not(.viewing-archive) #story-wall-topic{font-size:29px;margin-bottom:10px!important}#stories.story-classroom .room-heading .room-heading-copy #weekly-topic-description{font-size:14px}#stories.story-classroom .room-heading>.room-heading-guide{grid-column:1;grid-row:2;padding:14px 0 0!important;border-left:0!important;border-top:1px solid #ded8c7!important;gap:7px!important}#stories .room-heading-guide>.room-guide-title{display:none}#stories.story-classroom .room-heading .room-heading-guide>p{font-size:13px!important;line-height:1.7!important}#stories .room-heading-guide>p::before{margin-top:8px}#stories.story-classroom:not(.viewing-archive) .weekly-frame{flex:none;height:500px;max-height:70svh;min-height:340px;margin:0 10px}#stories.story-classroom:not(.viewing-archive) .weekly-frame #room-memo-board{--tile:calc((100cqw - 20px)/2);grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px}#stories.story-classroom .story-wall-footer{display:block;padding:10px 20px!important;font-size:10px}}
/* One material world: a quiet desk-paper board, not a photographed wall. */
#stories.story-classroom{grid-template-rows:minmax(0,1fr);background:#f5f3ec}
#stories.story-classroom::before{display:none}
#stories.story-classroom>.story-sidebar{box-sizing:border-box;min-height:0;max-height:100%;padding:24px 22px 20px;overflow:auto;scrollbar-width:thin}
#stories .story-sidebar>.room-eyebrow{margin-bottom:12px}
#stories.story-classroom #story-classroom-title{font-size:28px;line-height:1.3}
#stories .room101-introduction{font-size:14px;line-height:1.65;margin-top:12px}
#stories .story-sidebar .room-topic-area{margin-top:20px;padding-top:17px}
#stories .daily-period-label{margin-bottom:9px;font-size:12px}
#stories .daily-controls{margin:0;gap:8px}
#stories .room-topic-area>.small-copy{margin:10px 0;font-size:12px}
#stories .daily-reward-note{padding:0;font-size:12px;line-height:1.6;margin-bottom:14px}
#stories .legacy-note-button{margin-top:10px;font-size:10px;padding-bottom:0}
#stories.story-classroom:not(.viewing-archive)>.weekly-wall-area{min-height:0;background:linear-gradient(145deg,#efeee5e8,#e8e8dfe8),url('assets/natural-note-paper.webp');background-size:auto,500px;border-color:#dedbce;box-shadow:inset 0 1px #fffd,0 5px 16px #4a4a3510}
#stories.story-classroom .weekly-wall-area>.room-heading{margin-top:20px;margin-bottom:16px;padding:22px 25px;background:linear-gradient(110deg,#fffef9f5,#fcfaf2f5),url('assets/natural-note-paper.webp');box-shadow:0 1px 0 #eee9dc,0 2px 0 #d8d2bf,0 6px 13px #5b4c2a12;grid-template-columns:minmax(0,1fr) minmax(280px,1fr);gap:24px}
#stories.story-classroom .room-heading>.room-heading-guide{padding-left:22px!important}
#stories.story-classroom:not(.viewing-archive) .weekly-frame{height:auto;min-height:0;max-height:none;flex:1;margin:0 26px}
#stories.story-classroom:not(.viewing-archive) .weekly-frame #room-memo-board{--tile:calc((100cqw - 42px)/3);padding:5px 2px 26px;gap:25px 18px;grid-auto-rows:calc(var(--tile)/1.12);scrollbar-gutter:stable}
#stories.story-classroom:not(.viewing-archive) .weekly-frame .memo-paper:nth-child(n){width:var(--tile);height:calc(var(--tile)/1.12);aspect-ratio:1.12;isolation:isolate;filter:none;transform:none}
#stories.story-classroom:not(.viewing-archive) .weekly-frame .memo-material{position:absolute;inset:0;display:block;background:linear-gradient(180deg,#ffffff2e 0%,#ffffff00 38%,#fff2 92%),url('assets/natural-note-paper.webp'),var(--paper-tone);background-size:100% 100%,330px 330px,auto;background-position:0 0;background-blend-mode:normal,multiply,normal;mask:none;clip-path:none;border:1px solid #7b705018;border-top-color:#fff8;border-radius:1px 1px 4px 2px;box-shadow:inset 0 10px 13px -12px #8a723565,0 2px 2px #54513714,3px 8px 9px -5px #54513755;z-index:-1}
#stories .memo-material::before{content:'';position:absolute;inset:0;background:linear-gradient(175deg,transparent 82%,#fff3 97%,#ffffff60 100%);border-radius:inherit;pointer-events:none}
#stories .memo-material::after{content:'';position:absolute;bottom:-1px;right:-1px;width:16px;height:14px;background:linear-gradient(135deg,transparent 45%,#fff8 48%,#fff2 72%,#67624722);clip-path:polygon(100% 0,100% 100%,0 100%);border-radius:0 0 4px 0;pointer-events:none}
#stories .memo-paper:nth-child(3n+2) .memo-material{border-radius:2px 0 3px 5px;box-shadow:inset 0 10px 13px -12px #8a723565,0 2px 2px #54513714,-2px 8px 10px -5px #54513750}
#stories.story-classroom .memo-paper .memo-writing-area{left:12%;top:15%;width:76%;height:70%;display:grid;grid-template-rows:minmax(0,1fr) auto;container-type:inline-size;gap:10px}
#stories.story-classroom .weekly-frame .memo-paper .memo-writing-area .memo-message{font:300 clamp(16px,12cqw,23px)/1.65 SnackMemo,'Gowun Batang',serif;text-align:left;text-align-last:left;max-height:5em;color:#424838}
#stories.story-classroom .weekly-frame .memo-paper .memo-writing-area .memo-time{font:400 9px/1.4 'Gowun Dodum',sans-serif;color:#7b7b67;white-space:normal;text-align:left}
#stories.story-classroom .memo-paper .blank-writing-area{display:flex;align-items:center;justify-content:center;gap:12px}
#stories .blank-writing-area .memo-add-mark{font-size:29px;color:#8a9279}
#stories .blank-writing-area .memo-write-invite{font:400 13px/1.5 'Gowun Dodum',sans-serif;color:#82896f}
#stories .memo-paper:hover .memo-material{box-shadow:inset 0 1px #fff8,0 3px 3px #54513718,3px 11px 12px -5px #54513760}
#stories.story-classroom .story-wall-footer{background:#f4f2e8cf;color:#7b7c67;border-color:#d8d8c9}
@media(min-width:1600px){#stories.story-classroom:not(.viewing-archive) .weekly-frame #room-memo-board{--tile:calc((100cqw - 64px)/4);grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:721px) and (max-width:1120px){#stories.story-classroom{height:auto;grid-template-rows:auto}#stories.story-classroom>.story-sidebar{max-height:none}#stories.story-classroom .weekly-wall-area>.room-heading{grid-template-columns:minmax(0,1fr)}#stories.story-classroom:not(.viewing-archive) .weekly-frame{height:460px;flex:none}#stories.story-classroom:not(.viewing-archive) .weekly-frame #room-memo-board{--tile:calc((100cqw - 24px)/2);grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){#stories.story-classroom>.story-sidebar{max-height:none;padding:21px 20px}#stories.story-classroom #story-classroom-title{font-size:25px}#stories .story-sidebar>.room-eyebrow{margin-bottom:8px}#stories .room101-introduction{margin-top:8px}#stories .story-sidebar .room-topic-area{margin-top:16px;padding-top:14px}#stories .daily-controls{margin:0}#stories .room-topic-area>.small-copy{margin:0}#stories .daily-reward-note{margin:0}#stories.story-classroom .weekly-wall-area>.room-heading{grid-template-columns:minmax(0,1fr);margin:14px 14px 16px;padding:22px 20px;gap:16px}#stories.story-classroom .room-heading>.room-heading-guide{padding:14px 0 0!important}#stories.story-classroom:not(.viewing-archive) .weekly-frame{flex:none;height:500px;max-height:70svh;min-height:340px;margin:0 18px}#stories.story-classroom:not(.viewing-archive) .weekly-frame #room-memo-board{--tile:calc((100cqw - 24px)/2);grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 16px;padding-top:3px}#stories.story-classroom .weekly-frame .memo-paper .memo-writing-area .memo-message{font-size:16px;line-height:1.55}.memo-ai-example .memo-time{font-size:8px!important}}
/* Compact, tactile notes: enough of the collection is visible at a glance. */
@media(min-width:1121px){#stories.story-classroom:not(.viewing-archive) .weekly-frame #room-memo-board{--tile:calc((100cqw - 70px)/4);grid-template-columns:repeat(4,minmax(0,1fr));gap:23px 20px;padding:7px 4px 24px}}
@media(min-width:1600px){#stories.story-classroom:not(.viewing-archive) .weekly-frame #room-memo-board{--tile:calc((100cqw - 94px)/5);grid-template-columns:repeat(5,minmax(0,1fr))}}
#stories.story-classroom:not(.viewing-archive) .weekly-frame .memo-paper:nth-child(4n+1){transform:rotate(-.6deg)!important}
#stories.story-classroom:not(.viewing-archive) .weekly-frame .memo-paper:nth-child(4n+2){transform:rotate(.65deg)!important}
#stories.story-classroom:not(.viewing-archive) .weekly-frame .memo-paper:nth-child(4n+3){transform:rotate(-.2deg)!important}
#stories.story-classroom .weekly-frame .memo-paper .memo-writing-area .memo-message{font:400 clamp(16px,13cqw,21px)/1.45 'Gaegu',SnackMemo,serif;max-height:5.8em;word-break:keep-all;overflow-wrap:anywhere}
#stories.story-classroom:not(.viewing-archive) .weekly-frame .memo-material{background-image:linear-gradient(180deg,#f5ebc018 0%,#6658240b 11%,#fff2 12%,transparent 14%,transparent 80%,#fff3 100%),url('assets/natural-note-paper.webp');border-bottom-color:#6f65402a;box-shadow:inset 0 1px #fff8,0 1px 1px #54513715,2px 7px 7px -4px #54513760}
#stories .memo-material::after{width:24px;height:20px;background:linear-gradient(135deg,transparent 35%,#fff8 47%,#fff4 61%,#67624716 100%);border-radius:0 0 5px 0}
#stories.story-classroom .memo-paper .memo-writing-area{top:17%;height:67%;gap:7px}
@media(max-width:720px){#stories.story-classroom .weekly-frame .memo-paper .memo-writing-area .memo-message{font-size:17px;line-height:1.4}}
#stories.story-classroom .weekly-frame .memo-paper .memo-writing-area .memo-message{font-size:clamp(19px,14cqw,23px)}
@media(max-width:720px){#stories.story-classroom .weekly-frame .memo-paper .memo-writing-area .memo-message{font-size:18px}}
#stories.story-classroom:not(.viewing-archive) .weekly-frame .memo-material{inset:0!important;left:0!important;top:0!important;width:100%!important;height:100%!important;box-sizing:border-box;transform:none!important;translate:none!important;scale:none!important}
/* Pair the two heading sheets on one horizontal datum. */
#stories.story-classroom{--room-heading-height:190px}
#stories.story-classroom>.story-sidebar{display:flex;flex-direction:column;box-sizing:border-box;background:none;border:0;box-shadow:none;border-radius:0;padding:20px 0 0;overflow:auto}
#stories.story-classroom>.story-sidebar::before{display:none}
#stories .room101-menu-heading{position:relative;box-sizing:border-box;flex:none;height:var(--room-heading-height);padding:19px 22px;background:linear-gradient(110deg,#fffef9f5,#fcfaf2f5),url('assets/natural-note-paper.webp');border:1px solid #e0d9c7;border-radius:4px;box-shadow:0 1px 0 #eee9dc,0 2px 0 #d8d2bf,0 6px 13px #5b4c2a12}
#stories .room101-menu-heading::before{content:'';position:absolute;left:22px;top:-1px;width:36px;height:4px;background:#4b5d45;border-bottom:1px solid #ffffff30}
#stories .room101-menu-heading .room-eyebrow{font:500 12px/1.5 'Gowun Dodum',sans-serif;color:#727665;margin:0 0 10px}
#stories.story-classroom .room101-menu-heading #story-classroom-title{font-size:26px;line-height:1.3}
#stories .room101-menu-heading .room101-introduction{font-size:13px;line-height:1.65;margin:10px 0 0;color:#727461}
#stories.story-classroom .weekly-wall-area>.room-heading{height:var(--room-heading-height);min-height:var(--room-heading-height);margin-top:20px;margin-bottom:22px;align-items:center}
#stories .story-sidebar .room-topic-area{box-sizing:border-box;margin:22px 0 0;padding:18px 20px;background:linear-gradient(110deg,#fffef9e8,#f8f5eae8),url('assets/natural-note-paper.webp');border:1px solid #ded8c8;border-radius:4px;box-shadow:0 2px 0 #e9e3d6,0 3px 0 #d8d0bc,0 6px 13px #5b4c2a0d}
#stories .daily-period-label{margin-bottom:8px}
#stories .daily-controls input,#stories .daily-controls select{min-height:39px;padding:8px 10px}
#stories .room-topic-area>.small-copy{margin:8px 0}
#stories .daily-reward-note{margin-bottom:12px}
#stories .legacy-note-button{font-size:10px;margin-top:8px;line-height:1.5}
#stories.story-classroom .room-heading .room-heading-guide>p{line-height:1.7!important}
/* The adhesive edge stays down; the lower edge lifts slightly from the board. */
#stories.story-classroom:not(.viewing-archive) .weekly-frame .memo-material{border-bottom-left-radius:6px 3px;border-bottom-right-radius:7px 4px;box-shadow:inset 0 1px #ffffffa6,inset 0 9px 10px -11px #76613e70,0 1px 1px #4e482c22,1px 5px 5px -3px #4f482a3d,3px 12px 10px -6px #4f482a65}
#stories.story-classroom:not(.viewing-archive) .memo-paper:nth-child(3n+2) .memo-material{box-shadow:inset 0 1px #ffffffa6,inset 0 9px 10px -11px #76613e70,0 1px 1px #4e482c22,-1px 5px 5px -3px #4f482a3d,-3px 12px 10px -6px #4f482a60}
#stories .memo-material::after{width:28px;height:23px;background:linear-gradient(135deg,transparent 37%,#fff9 46%,#fff5 59%,#85764b1a 100%);filter:drop-shadow(-1px -1px 1px #75633710)}
#stories .memo-material::before{background:linear-gradient(177deg,transparent 73%,#ffffff10 86%,#ffffff50 98%,#ffffff65 100%)}
@media(min-width:721px) and (max-width:1120px){#stories.story-classroom{--room-heading-height:285px}#stories.story-classroom .weekly-wall-area>.room-heading{align-content:center}#stories.story-classroom .room101-menu-heading{display:flex;flex-direction:column;justify-content:center}#stories .story-sidebar .room-topic-area{margin-top:22px}}
@media(max-width:720px){#stories.story-classroom>.story-sidebar{padding:0;max-height:none;overflow:visible}#stories .room101-menu-heading{height:auto;min-height:0;padding:20px}#stories.story-classroom .room101-menu-heading #story-classroom-title{font-size:25px}#stories .room101-menu-heading .room101-introduction br{display:none}#stories .story-sidebar .room-topic-area{margin-top:16px;padding:16px 18px}#stories.story-classroom .weekly-wall-area>.room-heading{height:auto;min-height:0;margin-top:14px;margin-bottom:18px}}
@media(min-width:721px){#stories.story-classroom>.story-sidebar{padding-top:21px}}

/* The reward uses the shared currency mark, alongside the participation heading. */
#stories .room-guide-heading-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 14px;margin:0 0 4px}
#stories .room-guide-heading-row>.room-guide-title{display:block;font:600 13px/1.5 'Gowun Dodum',sans-serif;color:#69745c;letter-spacing:.03em;margin:0}
#stories .room-participation-reward{display:inline-flex;align-items:baseline;gap:10px;padding:6px 10px;border:1px solid #c3ccb6;border-radius:4px;background:#edf1e4;box-shadow:inset 0 1px #fff9,0 1px 2px #4b5d4510;color:#405438;font:600 13px/1.4 'Gowun Dodum',sans-serif;white-space:nowrap}
#stories .room-participation-reward>.sp-amount{font-size:18px}
#stories .room-reward-condition{display:block;margin:1px 0 0;padding-left:13px;font:400 12px/1.5 'Gowun Dodum',sans-serif;color:#747a68}
#stories .room-topic-area>.daily-reward-note[hidden]{display:none!important}
@media(max-width:720px){#stories .room-guide-heading-row{margin-bottom:2px;gap:8px}#stories .room-guide-heading-row>.room-guide-title{display:block}#stories .room-participation-reward{font-size:12px;padding:5px 9px}#stories .room-participation-reward>.sp-amount{font-size:17px}#stories .room-reward-condition{font-size:11px}}

/* A quiet parenthetical reward, with no extra badge or condition line. */
#stories .room-guide-heading-row{justify-content:flex-start;gap:8px;margin-bottom:3px}
#stories .room-participation-reward{gap:4px;padding:3px 6px;border:0;border-radius:3px;background:#edf0e5;box-shadow:none;font:400 12px/1.5 'Gowun Dodum',sans-serif;color:#59694b}
#stories .room-participation-reward>.sp-amount{font-size:13px;gap:.3em}
#stories .room-participation-reward>span:last-child{margin-left:-2px}
@media(max-width:720px){#stories .room-participation-reward{font-size:11px;padding:3px 5px}#stories .room-participation-reward>.sp-amount{font-size:12px}}
