/* Accepted desktop readability layout. Touch and mobile layouts retain their original styles. */
@media(min-width:961px) and (hover:hover) and (pointer:fine){
 html:root{--rb-content:2400px}
 html:root body.reborn{font-size:18px;line-height:1.65}
 html:root .rb-shell{width:calc(100% - 64px);grid-template-columns:260px minmax(0,1fr)}
 html:root .rb-main{padding:32px clamp(24px,2vw,48px)}
 html:root .rb-topbar{padding:24px clamp(24px,2vw,48px)}
 html:root .rb-topbar h1{font-size:30px}
 html:root .rb-sidebar{padding-inline:18px}
 html:root body.reborn .rb-nav .rb-nav-link{font-size:16px;line-height:1.5;padding-block:13px!important}
 html:root .ux-nav-group h2{font-size:16px}
 html:root .ux-nav-badge{font-size:12px}
 html:root body.reborn :is(button,input,select,textarea){font-size:16px;line-height:1.45}
 html:root .rb-tools>button{font-size:16px;min-height:46px}
 html:root .rb-tools #sobSyncToggle .sob-cloud-icon{font-size:26px!important}
 html:root .rb-panel-heading{font-size:16px}
 html:root .rb-welcome p{font-size:18px;max-width:65ch}
 html:root .ux-context p{font-size:18px;max-width:75ch}
 html:root :is(.ux-help,.ux-feedback){font-size:18px}
 html:root .rb-panel{padding:28px}
 html:root body.reborn.lesson-cover-layout .rb-classroom-workspace{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:28px}
 html:root body.reborn.lesson-cover-layout .rb-classroom-workspace .rb-lesson.has-cover-format.lessonHasWallpaper{max-width:660px;min-height:760px;aspect-ratio:auto;justify-self:center;padding:26px}
 html:root body.reborn.lesson-cover-layout .rb-lesson.has-cover-format .controls{width:min(100%,490px);gap:10px}
 html:root body.reborn.lesson-cover-layout .rb-lesson.has-cover-format .controls>:is(.lessonActionBlock,.lessonTypeRow){grid-template-columns:minmax(0,1fr) 130px;gap:10px}
 html:root body.reborn.lesson-cover-layout .rb-lesson.has-cover-format #game{font-size:26px;min-height:56px}
 html:root body.reborn.lesson-cover-layout .rb-lesson.has-cover-format :is(#startTimerBtn,#finishTimerBtn,#lessonType){height:auto;min-height:46px;font-size:16px!important;padding:10px}
 html:root body.reborn.lesson-cover-layout .rb-lesson.has-cover-format .lessonSettingsExtras :is(.streberCompact,.streberCompactRow,.streberOption,.streberRulesToggle){height:auto;min-height:46px}
 html:root .recordPickCopy>strong{font-size:18px}
 html:root .recordPickCopy>span{font-size:16px}
 html:root .recordPickCopy>small{font-size:14px}
 html:root .recordsQuote{font-size:18px;line-height:1.65;max-width:70ch}
 html:root .recordsBaklHeading h2{max-width:none}
 html:root body.reborn button.recordPick{min-height:126px;padding:16px;gap:18px}
 html:root .recordPickCover{width:66px;height:92px;flex-basis:66px}
 html:root .recordsFootnote{font-size:14px!important}
 html:root .recordsSummary{font-size:16px}
 html:root .recordLabel{font-size:16px}
 html:root body.reborn :is(#backlogList,#basementList){grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:12px}
 html:root body.reborn :is(#backlogBox,#basementBoard) :is(#backlogList,#basementList)>.compactGameCard{height:auto;min-height:0;grid-template-columns:56px minmax(0,1fr);grid-template-rows:auto auto auto;padding:12px;gap:4px 12px}
 html:root body.reborn :is(#backlogBox,#basementBoard) .compactGameCard .compactGameCover{width:56px;height:80px}
 html:root body.reborn :is(#backlogBox,#basementBoard) .compactGameCard .backlogItemMeta{max-height:none;overflow:visible;font-size:16px!important}
 html:root body.reborn :is(#backlogBox,#basementBoard) .compactGameCard .backlogItemName{font-size:18px}
 html:root body.reborn :is(#backlogBox,#basementBoard) .compactGameCard .compactCardFoot{height:auto;min-height:44px;flex-wrap:wrap}
 html:root body.reborn :is(#backlogBox,#basementBoard) .compactGameCard .compactCardFoot :is(.playGameBtn,.restoreBtn){width:auto;min-width:90px;padding:7px 10px;font-size:16px}
 html:root body.reborn :is(#backlogBox,#basementBoard) .compactGameCard .compactDetailsToggle{font-size:16px}
 html:root :is(.studySubject,.lessonPlanCard){min-height:220px!important}
 html:root :is(.studySubjectCopy,.studySubjectDescription){font-size:18px}
 html:root #honorBoardPanel>p{font-size:18px!important;max-width:70ch}
 html:root #friendsGateText{font-size:18px!important}
 html:root :is(#reportCard,#monthPanel){line-height:1.65}
 html:root :is(.privacyContent,.privacyPanel){max-width:80ch}
 html:root .rb-footer{font-size:14px;padding-bottom:90px}
 html:root .rb-footer .privacyLink{font-size:16px}
 /* Fixed-size game boards and cards retain their geometry; surrounding copy grows. */
 html:root :is(.story-board,.archive-grid) :is(button,span){line-height:1.3}
}
@media(min-width:961px) and (hover:hover) and (pointer:fine) and (max-width:1400px){
 html:root .rb-shell{width:calc(100% - 32px);grid-template-columns:230px minmax(0,1fr)}
 html:root body.reborn.lesson-cover-layout .rb-classroom-workspace{grid-template-columns:minmax(0,1fr)}
 html:root body.reborn.lesson-cover-layout .rb-classroom-workspace .rb-lesson.has-cover-format.lessonHasWallpaper{max-width:620px;width:100%}
}
@media(min-width:961px) and (hover:hover) and (pointer:fine) and (max-width:1150px){html:root .rb-shell{width:100%;grid-template-columns:220px minmax(0,1fr)}html:root .rb-main{padding:24px}}
