:root{--paper:#f5fbff;--ink:#173c55;--accent:#086caa;--line:#cfE2ec;--muted:#516e80;--blue:#086caa}body{background:#f5fbff;color:#173c55}h1,h2{font-family:"Noto Serif CJK SC","Songti SC",serif}h1{font-size:clamp(28px,4vw,44px);line-height:1.3}.header,.nav,#main,.footer{max-width:1080px;margin:auto}.header{background:transparent;border-bottom:1px solid #cfE2ec}.brand-mark{background:#086caa;border-radius:0}.nav{background:transparent}.nav a{border-radius:0}.button,.chip,.panel,.reader,.feature,.choice,.gate{border-radius:2px;box-shadow:none}.button{background:#086caa;border-color:#086caa}.button.secondary{background:#ffffff;border-color:#cfE2ec;color:#173c55}.panel,.reader{background:#ffffff}.paper-title{padding:20px 0 10px}.paper-doors{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #cfE2ec;margin:20px 0 30px}.paper-doors>a{padding:26px 20px;text-decoration:none;border-bottom:1px solid #cfE2ec;color:inherit}.paper-doors>a:nth-child(even){border-left:1px solid #cfE2ec}.paper-doors span{font-size:13px;color:#516e80}.paper-doors h2{margin:8px 0;font-size:24px}.paper-page-nav{display:flex;gap:16px;align-items:center;justify-content:space-between;margin:10px 0 20px}.paper-sheet[hidden]{display:none!important}.paper-sheet{max-width:760px;margin:auto}.paper-back{margin:0 0 20px}.page-head{margin:10px 0 24px}.page-head h1{margin-bottom:0}.school-question-grid{grid-template-columns:repeat(3,1fr)}.school-question .tag{font-size:11px}.school-question p{display:none}.school-question details{font-size:12px}.school-question{padding:18px}.split:has(#clue-form){display:block;max-width:740px;margin:auto}.collection-nav a span{display:none}.footer>span{font-size:12px}#modal{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;border:0;border-radius:0;background:#f5fbff;padding:24px max(20px,calc((100vw - 760px)/2));box-shadow:none}.dialogtop{position:sticky;top:-24px;background:#f5fbff;padding:12px 0}.paper-sheet .sticky{position:static}textarea{font-size:17px}.school-help{margin:0} .school-paths{display:none}
@media(max-width:650px){.header{padding:16px 20px}.brand small{display:none}.utilities a:first-child{display:none}.nav{gap:0;justify-content:space-between;overflow:auto;padding:0 12px}.nav a{font-size:12px;white-space:nowrap;padding:12px 8px}#main{padding:18px 20px}.paper-doors>a{padding:22px 12px}.paper-doors h2{font-size:21px}.paper-title{padding-top:4px}.paper-title h1{font-size:32px}.school-question-grid{grid-template-columns:1fr 1fr;gap:12px}.school-question h3{font-size:18px}.school-question{padding:12px}.school-search{gap:8px}.page-head h1{font-size:28px}.reader,.panel{padding:20px}.paper-page-nav{font-size:13px}.footer{padding:16px 20px}.footer>span{display:none}}

.school-question .news-source{display:block;font-size:12px}.school-question-grid.news-grid h3{font-size:18px}.news-update{font-size:12px}

.school-question-grid{grid-template-columns:repeat(2,1fr)}

.split:has(#school-form){display:block;max-width:720px;margin:auto}.split:has(#school-form)>aside{display:none}.record{max-width:760px;margin:auto}

body[data-paper-directory=true] #page-listener{display:none!important}
