/* 纪念册杂志内页（刊名 CAMPUS）。尺寸全用 cqw，跟随页宽；配色取主题变量 */
.page.mg { padding: 13cqw 8cqw 9cqw; --serif: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "STSong", Georgia, serif; }
.mg .en { font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif; }
.mg .rh { position: absolute; left: 8cqw; right: 8cqw; top: 5cqw; display: flex; justify-content: space-between; font-size: 2.1cqw; letter-spacing: .14em; color: var(--p-muted); border-bottom: .3cqw solid var(--p-ink); padding-bottom: 1.4cqw; z-index: 3; }
.mg .rh .en { font-weight: 700; color: var(--p-ink); }
.mg .rh.onph, .mg .rh.onph .en { color: #fff; border-color: rgba(255,255,255,.8); }
.mg .kick { font-size: 2.4cqw; letter-spacing: .2em; color: var(--p-accent); font-weight: 700; text-transform: uppercase; margin: 0; }
.mg .hl { font-family: var(--serif); font-size: 10cqw; line-height: 1.12; font-weight: 900; letter-spacing: -.01em; margin-top: 2cqw; color: var(--p-head); }
.mg .hl3 { font-family: var(--serif); font-size: 7cqw; line-height: 1.15; font-weight: 900; margin-top: 1.6cqw; color: var(--p-head); }
.mg .rule { width: 14cqw; height: .8cqw; background: var(--p-accent); margin: 4cqw 0; }
.mg .lead { font-size: 3.3cqw; line-height: 1.75; margin-top: 2.4cqw; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.mg .dc { float: left; font-family: var(--serif); font-size: 15cqw; line-height: .85; font-weight: 900; margin: .8cqw 2cqw 0 0; color: var(--p-accent); }
.mgph { background-size: cover; background-position: center; background-color: var(--p-line); }
.mgph.full { position: absolute; inset: 0; z-index: 0; }
.mgph.hero { height: 50cqw; margin: 0 -8cqw; flex: none; }
.mgph.sq { aspect-ratio: 1; width: 100%; }
.mg .strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; margin-top: 3cqw; }

/* 数字页 */
.mg-stats .hero { margin-top: 5cqw; }
.mg-stats .hero b { display: block; font-size: 30cqw; line-height: .95; font-weight: 900; color: var(--p-accent); letter-spacing: -.03em; }
.mg-stats .hero span { display: block; font-size: 3.4cqw; letter-spacing: .12em; margin-top: 1cqw; }
.mg-stats .g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3cqw; margin-top: 7cqw; border-top: .3cqw solid var(--p-ink); padding-top: 3cqw; }
.mg-stats .g3 b { display: block; font-size: 8.5cqw; line-height: 1; font-weight: 800; }
.mg-stats .g3 small { font-size: 2.8cqw; font-weight: 400; margin-left: .6cqw; }
.mg-stats .g3 span { display: block; font-size: 2.6cqw; color: var(--p-muted); margin-top: 1cqw; }
.mg .pull { margin: 6cqw 0 0; padding: 0 0 0 4cqw; border-left: 1cqw solid var(--p-accent); font-family: var(--serif); font-size: 4.4cqw; line-height: 1.5; font-weight: 700; }
.mg .fact { font-size: 2.8cqw; color: var(--p-muted); margin-top: 2cqw; }

/* 章首 */
.mg-chap .no { font-size: 20cqw; font-weight: 900; line-height: 1; color: var(--p-accent); margin-top: 4cqw; }
.mg-chap .no.big { font-size: 60cqw; line-height: .8; letter-spacing: -.05em; opacity: .9; margin-top: 8cqw; }
.mg-chap .range { font-size: 3cqw; letter-spacing: .14em; color: var(--p-muted); margin-top: 2cqw; }
.mg-chap .stand { font-size: 3.6cqw; line-height: 1.8; margin-top: 6cqw; }
.mg-chap .mini { display: flex; gap: 6cqw; margin-top: 6cqw; font-size: 2.8cqw; color: var(--p-muted); }
.mg-chap .mini b { display: block; font-size: 6.5cqw; color: var(--p-ink); font-weight: 800; }
.mg-chap.hasph { color: #fff; justify-content: flex-start; }
.mg-chap.hasph .shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.2) 55%, rgba(0,0,0,.78) 100%); }
.mg-chap.hasph > * { position: relative; z-index: 2; }
.mg-chap.hasph .rh { position: absolute; }
.mg-chap.hasph .mgph.full { position: absolute; z-index: 0; }
.mg-chap.hasph .no, .mg-chap.hasph .hl.onph, .mg-chap.hasph .range.onph { color: #fff; }
.mg-chap.hasph .no { font-size: 14cqw; text-shadow: 0 .4cqw 2cqw rgba(0,0,0,.3); }
.mg-chap.hasph .hl { font-size: 11cqw; text-shadow: 0 .4cqw 2cqw rgba(0,0,0,.35); }
.mg-chap.hasph .range { color: rgba(255,255,255,.85); }
.mg-chap.hasph .below { margin-top: auto; }
.mg-chap.hasph .stand { margin-top: 0; color: #fff; }
.mg-chap.hasph .dc { color: #fff; }
.mg-chap.hasph .mini, .mg-chap.hasph .mini b { color: #fff; }

/* 记录页 */
.mg-rec .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 4cqw; margin-top: auto; padding-top: 3cqw; border-top: .3cqw solid var(--p-ink); }
.mg .st h3 { font-family: var(--serif); font-size: 3.8cqw; line-height: 1.3; margin-top: 1cqw; }
.mg .st p { font-size: 2.7cqw; line-height: 1.6; margin-top: 1cqw; color: var(--p-muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.mg .st.wp .mgph { margin-bottom: 1.6cqw; }
.mg .st .kick { font-size: 2cqw; }
.mg-rec .hero + .kick { margin-top: 4cqw; }

/* 简讯 / 列表 */
.mg .briefs { display: grid; gap: 4cqw; margin-top: 4cqw; }
.mg .br { display: grid; grid-template-columns: 15cqw 1fr; gap: 3cqw; border-top: .3cqw solid var(--p-line); padding-top: 3cqw; }
.mg .br .d { font-size: 2.4cqw; color: var(--p-accent); font-weight: 700; letter-spacing: .05em; }
.mg .br h3 { font-family: var(--serif); font-size: 4.4cqw; line-height: 1.25; }
.mg .br p { font-size: 2.9cqw; line-height: 1.65; margin-top: 1cqw; color: var(--p-muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }

/* 文字页 / 寄语 */
.mg .tx { font-size: 3.6cqw; line-height: 1.9; white-space: pre-wrap; }
.mg-letter .tx { font-size: 3.5cqw; }
.mg-letter .sign { margin-top: 5cqw; text-align: right; font-family: var(--serif); font-size: 3.6cqw; font-weight: 700; }
.mg-letter .ai { text-align: right; font-size: 2.2cqw; color: var(--p-muted); margin-top: 1.4cqw; }
.mg-chap.hasph .below { display: block; }
.mgph.hero { height: 44cqw; }
.mg .st .mgph.sq { aspect-ratio: 4 / 3; }
.mg .strip .mgph.sq { aspect-ratio: 4 / 3; }
.mg-chap .stand { display: flow-root; }
.mg-chap .mini { clear: both; }
.mg .st .mgph.sq { aspect-ratio: 16 / 9; }
.mg-rec .strip { margin-top: 2.4cqw; }

/* 签名墙 */
.mg-sign .sgs { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw 4cqw; margin-top: 1cqw; }
.mg-sign .sg { border-top: .3cqw solid var(--p-line); padding-top: 1.6cqw; min-width: 0; }
.mg-sign .sg svg { width: 100%; display: block; color: var(--p-ink); transform: rotate(-2deg); }
.mg-sign .sg b { display: block; font-size: 2.8cqw; color: var(--p-accent); letter-spacing: .08em; margin-top: .6cqw; }
.mg-sign .sg p { font-size: 2.5cqw; line-height: 1.5; color: var(--p-muted); margin-top: .6cqw; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
