/* The yearbook lives on a real desk; the other three cabinets keep their own materials. */
#my-notebook .archive-year,.bookshelf-grid.archive-year{display:block;border:0;padding:0;background:none;box-shadow:none;border-radius:0;min-height:0}
.archive-year .cabinet-book{max-width:460px;padding:0;margin:0 auto 20px;background:none;border:0;box-shadow:none;isolation:auto}
.archive-year .cabinet-book:before,.archive-year .cabinet-book:after{display:none}
.archive-year .cabinet-book img{width:100%;aspect-ratio:5/7;object-fit:cover;border:0;border-radius:14px;box-shadow:0 9px 24px -15px #4a352d66;background:#e5d7c1}
.archive-year .mini-book span,.archive-year .shelf-book strong{color:#6b604f;font:500 17px/1.6 var(--serif);min-height:0;display:block;margin:16px 0 0}
.archive-year .archive-empty{color:#827562}
.home-archive-tabs button{white-space:nowrap}
.shelf-tabs button{flex:1;min-width:0;padding-left:12px;padding-right:12px}
.year-reader .reader-stage{max-width:430px;margin-top:8px;perspective:none;isolation:isolate;overflow:visible}
.calendar-setting{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:12px;pointer-events:none;user-select:none}
.calendar-face{position:absolute;inset:0;transform-origin:0 0;mix-blend-mode:multiply;pointer-events:none;perspective:1200px;--calendar-unit:.25px}
.year-reader .reader-page{box-shadow:none;background:white;border-radius:0;transform-origin:center top}
.year-reader .reader-page img{background:#fff}
.year-reader .reader-stage.is-dragging .reader-page:not(.turning-sheet){transform:none}
.calendar-cover{position:relative;width:100%;height:100%;background:white;color:#4e5845;font-family:"Times New Roman",Times,serif;text-align:center}
.calendar-cover-year{position:absolute;top:29.76%;left:0;right:0;font-size:calc(var(--calendar-unit)*210);line-height:1;font-weight:400}
.calendar-cover-name{position:absolute;top:50.59%;left:5%;right:5%;font:400 calc(var(--calendar-unit)*50)/1.4 var(--serif);overflow-wrap:anywhere}
.calendar-cover-rule{position:absolute;left:45.83%;right:45.83%;top:60.71%;height:1px;background:#4e58458c}
.year-reader .reader-page.turning-sheet{transform-origin:center top;box-shadow:0 18px 24px #4136221a}
.year-reader .reader-page.turning-sheet.forward{animation:calendar-flip-forward .5s ease-in-out both}
.year-reader .reader-page.turning-sheet.backward{animation:calendar-flip-backward .5s ease-in-out both}
.year-reader .reader-page.turning-sheet:after{background:linear-gradient(180deg,#453a301a,transparent 40%,#fffaf155);animation:reader-paper-shade .5s ease-in-out both}
.year-reader .reader-nav{margin-top:20px}
.year-reader #page-counter{white-space:nowrap;font-variant-numeric:tabular-nums}
.year-position{display:flex;align-items:center;gap:18px;margin:19px 0 12px;min-width:0}
.year-position select{width:94px;flex-shrink:0;border:1px solid #dedfd3;border-radius:9px;background:#f9f7ef;color:#686958;padding:9px 8px;font:16px var(--sans);min-height:42px}
.year-position input{min-width:0;flex:1;accent-color:#7a8465;height:30px}
.year-reader .reader-caption:empty{display:none}
.year-reader .reader-caption{margin-top:12px}
@media(max-width:740px){
 #my-notebook .archive-year,.bookshelf-grid.archive-year{padding:0;gap:0;border:0;display:block}
 .archive-year .cabinet-book{padding:0;margin-bottom:14px}
 .archive-year .cabinet-book img{border-radius:12px}
 .archive-year .mini-book span,.archive-year .shelf-book strong{font-size:15px;margin-top:12px;min-height:0}
 .year-reader .reader-stage{max-width:430px}
 .year-position{gap:12px}
 .home-archive-tabs{gap:4px}.home-archive-tabs button{padding-left:11px;padding-right:11px}
 .home-archive-tabs button span{margin-left:5px}
}
@media(max-width:360px){.home-archive-tabs button{padding-left:7px;padding-right:7px}.home-archive-tabs button span{margin-left:3px}.year-reader #page-counter{font-size:9px}}
@keyframes calendar-flip-forward{0%{transform:rotateX(0);opacity:1}65%{opacity:1}100%{transform:rotateX(112deg);opacity:0}}
@keyframes calendar-flip-backward{0%{transform:rotateX(0);opacity:1}65%{opacity:1}100%{transform:rotateX(-112deg);opacity:0}}
@media(prefers-reduced-motion:reduce){.year-reader .reader-page.turning-sheet,.year-reader .reader-page.turning-sheet:after{animation:none}}
