:root {
  --bg: #F7F0D8; --bg-deep: #EDE3BE; --paper: #FFFFFF; --surface: #F0E6C4;
  --ink: #3A2E10; --body: #4A3C18; --muted: #7A6A32; --soft: #9A8850;
  --bean: #E0B83A; --bean-light: #F0D060; --bean-dark: #B89220;
  --leaf: #6A8A3A; --cream: #FFF8E8; --edge: rgba(224,184,58,.22);
  --strong-edge: rgba(224,184,58,.50); --shadow: 0 12px 28px rgba(58,46,16,.08);
  --width: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--body); font: 15px/1.7 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif; overflow-x: clip; }
body.panel-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button,input { font: inherit; }
button { cursor: pointer; }
img,svg { max-width: 100%; }
img { display: block; }
h1,h2,h3,p,figure { margin-top: 0; }
h1,h2,h3 { color: var(--ink); letter-spacing: .015em; }
h1 { font-size: 24px; line-height: 1.3; }
h2 { font-size: 20px; line-height: 1.4; }
h3 { font-size: 16px; line-height: 1.4; }
p { margin-bottom: 15px; }
a:focus-visible,button:focus-visible,input:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; }
.site-width { width: min(var(--width), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 200; left: 10px; top: -100px; background: var(--bean-light); color: var(--ink); padding: 12px 16px; border-radius: 8px; }
.skip-link:focus { top: 10px; }
.top-shell { position: fixed; inset: 0 0 auto; z-index: 50; width: 100%; background: var(--paper); box-shadow: 0 1px 0 var(--edge); }
.bean-line { height: 22px; width: 100%; color: var(--cream); background: var(--ink); font-size: 12px; line-height: 22px; }
.bean-line-inner { height: 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bean-line-inner > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.text-search-button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 5px; flex: 0 0 auto; height: 44px; padding: 0 7px; margin-block: -11px; border: 0; color: var(--cream); background: transparent; font-size: 12px; z-index: 2; }
.text-search-button svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.text-search-button:hover { color: var(--bean-light); }
.bean-header { background: var(--paper); border-bottom: 1px solid var(--edge); width: 100%; }
.header-row { height: 60px; display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; column-gap: 12px; }
.header-brand { justify-self: start; max-width: 100%; min-width: 0; display: flex; align-items: center; min-height: 44px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); white-space: nowrap; max-width: 100%; }
.brand-logo { width: auto; max-width: min(156px,100%); height: 28px; object-fit: contain; object-position: left center; }
.brand-name { font-size: 16px; font-weight: 800; line-height: 1.3; }
.pod-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; min-width: 96px; border-radius: 999px; border: 1px solid var(--strong-edge); color: var(--ink); background: var(--cream); padding: 0 15px; font-size: 14px; font-weight: 700; }
.pod-toggle:hover { background: var(--bean-light); }
.hamburger { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.header-app { display: inline-flex; align-items: center; gap: 4px; justify-self: end; justify-content: center; padding-inline: 14px; min-height: 44px; border-radius: 999px; background: linear-gradient(135deg,#F0D060 0%,#E0B83A 55%,#B89220 100%); color: var(--ink); font-size: 14px; font-weight: 750; white-space: nowrap; box-shadow: 0 4px 14px rgba(184,146,32,.14); }
.header-app:hover { filter: brightness(.96); }
.header-app svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; width: 16px; height: 16px; }
.scene-tabs { height: 40px; background: var(--cream); border-bottom: 1px solid var(--edge); }
.tab-row { display: flex; justify-content: center; align-items: center; height: 100%; gap: 15px; }
.scene-tabs a { min-width: 94px; display: inline-flex; align-items: center; justify-content: center; height: 44px; font-size: 13px; border-radius: 9px; padding: 0 20px; }
.scene-tabs a:hover { background: var(--surface); }
.scene-tabs a.is-current { background: var(--bean); color: var(--ink); font-weight: 700; }
.page-main { padding: 146px 0 62px; min-height: 65vh; }
.section-stack { display: grid; gap: 30px; }
.section-stack > section { min-width: 0; }
.overline, .eyebrow { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .10em; margin-bottom: 10px; }
.eyebrow .dot { display: inline-block; width: 6px; height: 6px; margin-right: 5px; background: var(--leaf); border-radius: 100%; vertical-align: middle; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 15px; margin-bottom: 16px; }
.section-heading h2 { margin-bottom: 3px; }
.section-heading p { color: var(--muted); font-size: 13px; margin: 0; }
.inline-link { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 44px; font-size: 14px; font-weight: 700; white-space: nowrap; color: var(--ink); }
.inline-link::after { content: '→'; font-size: 17px; }
.inline-link:hover { color: var(--bean-dark); }
.panel { background: var(--paper); border: 1px solid var(--edge); border-radius: 13px; box-shadow: var(--shadow); }
.cover-panel { background: var(--paper); overflow: hidden; border: 1px solid var(--edge); border-radius: 13px; box-shadow: var(--shadow); }
.media-slot { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; width: 100%; background: var(--cream); border: 1px solid var(--edge); border-radius: 10px; }
.media-slot .slot-image { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.media-slot .slot-ornament { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.slot-ornament::before, .slot-ornament::after { content: ''; position: absolute; border: 1px solid rgba(184,146,32,.13); transform: rotate(-12deg); border-radius: 18px; }
.slot-ornament::before { width: min(40%,210px); aspect-ratio: 1; background: rgba(240,208,96,.10); }
.slot-ornament::after { width: min(29%,152px); aspect-ratio: 1; background: rgba(106,138,58,.045); transform: rotate(11deg); }
.media-slot:has(.slot-image) .slot-ornament { display: none; }
.cover-slot { height: 260px; border: 0; border-radius: 0; }
.cover-copy { padding: 24px 30px 28px; }
.cover-copy .cover-brand { color: var(--muted); font-size: 13px; font-weight: 750; letter-spacing: .05em; margin-bottom: 7px; }
.cover-copy h1 { max-width: 690px; margin-bottom: 12px; }
.cover-copy p { max-width: 760px; margin-bottom: 19px; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 19px; border-radius: 9px; line-height: 1; font-size: 14px; font-weight: 750; border: 1px solid transparent; white-space: nowrap; }
.btn-primary { background: linear-gradient(135deg,#F0D060 0%,#E0B83A 55%,#B89220 100%); color: var(--ink); }
.btn-outline { background: var(--paper); border-color: var(--strong-edge); color: var(--ink); }
.btn:hover { box-shadow: 0 6px 17px rgba(58,46,16,.10); transform: translateY(-1px); }
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.topic-card { background: var(--paper); padding: 12px 12px 17px; border: 1px solid var(--edge); border-radius: 12px; min-width: 0; box-shadow: var(--shadow); }
.topic-card .media-slot { height: 180px; }
.topic-card .card-content { padding: 15px 6px 0; }
.topic-card h3 { margin-bottom: 8px; }
.topic-card p { margin-bottom: 6px; font-size: 14px; }
.topic-card .inline-link { margin-top: 4px; }
.feature-block { background: var(--paper); border-radius: 13px; overflow: hidden; border: 1px solid var(--edge); box-shadow: var(--shadow); }
.feature-body { padding: 22px 25px 27px; }
.feature-body p { max-width: 950px; }
.feature-body h2 { margin-bottom: 9px; }
.feature-media { height: 200px; border: 0; border-radius: 0; }
.issue-navigation { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin: 20px 0; }
.issue-navigation a { display: flex; flex-direction: column; gap: 7px; background: var(--cream); border: 1px solid var(--edge); border-radius: 10px; padding: 12px 14px; min-height: 84px; }
.issue-navigation a:hover { background: var(--surface); }
.issue-navigation .number { color: var(--bean-dark); font-size: 20px; font-weight: 800; }
.issue-navigation strong { font-size: 14px; color: var(--ink); }
.book-shelf { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.shelf-item { position: relative; background: var(--cream); border: 1px solid var(--edge); border-left: 4px solid var(--bean); border-radius: 8px; padding: 15px 17px; min-height: 118px; }
.shelf-item h3 { margin-bottom: 6px; }
.shelf-item p { color: var(--muted); font-size: 14px; margin-bottom: 4px; }
.shelf-item a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.rack-wrapper { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.6fr); gap: 22px; padding: 17px; }
.rack-wrapper .media-slot { min-height: 245px; }
.rack-caption { padding: 11px 0; }
.rack-caption > p { margin-bottom: 14px; }
.rank-block { display: grid; grid-template-columns: minmax(0,1fr) 1.5fr; gap: 18px; padding: 17px; }
.rank-block .media-slot { min-height: 230px; }
.editor-list { list-style: none; margin: 0; padding: 0; }
.editor-list li { display: flex; align-items: baseline; gap: 15px; padding: 12px 0; border-bottom: 1px dashed var(--strong-edge); }
.editor-list li:last-child { border-bottom: 0; }
.editor-list .item-count { min-width: 34px; font-size: 21px; font-weight: 800; color: var(--bean-dark); font-variant-numeric: tabular-nums; }
.editor-list strong { display: block; color: var(--ink); font-size: 15px; }
.editor-list small { display: block; color: var(--muted); font-size: 13px; }
.timeline-block { display: grid; grid-template-columns: minmax(0,1fr) 1.6fr; gap: 18px; padding: 17px; }
.timeline-block .media-slot { min-height: 210px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 17px; border-left: 2px solid var(--strong-edge); }
.timeline li { position: relative; padding: 0 0 19px 18px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; left: -23px; top: 6px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--bean-dark); background: var(--cream); }
.timeline strong { color: var(--ink); }
.timeline p { font-size: 14px; color: var(--muted); margin: 3px 0 0; }
.status { display: inline-block; font-size: 12px; font-weight: 700; border: 1px solid var(--strong-edge); background: var(--cream); border-radius: 99px; padding: 1px 9px; margin-left: 8px; color: var(--ink); }
.note-panel { padding: 22px; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 22px; }
.note-panel .media-slot { height: 205px; }
.note-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; }
.note-item { background: var(--cream); border: 1px solid var(--edge); padding: 13px; border-radius: 9px; }
.note-item h3 { margin-bottom: 5px; }
.note-item p { font-size: 13px; margin: 0; }
.reading-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.pair-card { padding: 23px 24px 21px; min-width: 0; display: flex; flex-direction: column; }
.pair-card .eyebrow { margin-bottom: 9px; }
.pair-card h3 { font-size: 18px; margin-bottom: 12px; }
.pair-card > p:not(.eyebrow) { margin-bottom: 18px; }
.pair-links { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: auto; }
.pair-links a { display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; min-height: 44px; border-radius: 9px; color: var(--ink); border: 1px solid var(--strong-edge); background: var(--cream); font-size: 13px; font-weight: 750; }
.pair-links a:hover { background: var(--bean-light); }
.app-section { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 24px; padding: 23px; }
.app-section .app-visual { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.app-section .app-portrait { width: 100%; max-width: 360px; height: 348px; }
.app-icon-badge { display: flex; gap: 10px; align-items: center; justify-content: center; }
.app-icon-slot { width: 48px; height: 48px; border-radius: 11px; }
.app-icon-badge strong { font-size: 14px; color: var(--ink); }
.legal-box, .about-box { padding: 23px 27px; }
.legal-box p:last-child,.about-box p:last-child { margin-bottom: 0; }
.faq-home { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.faq-home article { border: 1px solid var(--edge); border-radius: 10px; padding: 17px 18px; background: var(--paper); }
.faq-home h3 { margin-bottom: 6px; }
.faq-home p { margin: 0; font-size: 14px; }
.home-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.main-footer { background: var(--ink); color: var(--bg); border-top: 4px solid var(--bean); font-size: 13px; }
.footer-inner { padding: 34px 0 30px; }
.footer-brandline { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid rgba(240,208,96,.20); }
.footer-home { display: inline-flex; align-items: center; min-height: 44px; }
.footer-brandline .brand-lockup { color: var(--bg); }
.footer-brandline .brand-name { color: var(--bg); }
.footer-brandline .brand-logo { height: 28px; }
.brand-english { color: var(--bean-light); font-size: 12px; letter-spacing: .13em; }
.footer-columns { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; margin-top: 25px; }
.footer-columns nav { display: flex; align-items: flex-start; flex-direction: column; gap: 6px; }
.footer-columns h2 { color: var(--bean-light); font-size: 14px; margin-bottom: 4px; }
.footer-columns a { display: inline-flex; align-items: center; min-height: 44px; color: var(--bg); }
.footer-columns a:hover { color: var(--bean-light); }
.footer-disclaimer { margin: 24px 0 10px; border-top: 1px solid rgba(240,208,96,.20); padding-top: 16px; max-width: 880px; }
.footer-copy { margin: 0; color: #D6C69A; font-size: 12px; }
.screen-mask { position: fixed; inset: 0; z-index: 90; background: rgba(38,29,8,.60); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .22s, visibility .22s; }
.screen-mask.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.pod-drawer { position: fixed; top: 0; bottom: 0; left: 0; z-index: 111; width: min(400px,86vw); background: var(--paper); box-shadow: 15px 0 44px rgba(20,14,4,.18); visibility: hidden; pointer-events: none; transform: translateX(-105%); transition: transform .25s ease, visibility .25s; display: flex; flex-direction: column; }
.pod-drawer.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; }
.drawer-head { min-height: 74px; padding: 14px 19px; border-bottom: 1px solid var(--edge); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.drawer-brand { min-width: 0; display: inline-flex; align-items: center; min-height: 44px; }
.close-square { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid var(--edge); border-radius: 9px; background: var(--cream); color: var(--ink); }
.close-square:hover { background: var(--bean-light); }
.close-square svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.drawer-scroll { overflow-y: auto; overscroll-behavior: contain; padding: 15px 16px 28px; }
.drawer-section + .drawer-section { margin-top: 21px; }
.drawer-section h2 { color: var(--muted); font-size: 13px; padding: 0 5px 6px; margin-bottom: 10px; border-bottom: 1px solid var(--edge); }
.drawer-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.drawer-link { border: 1px solid var(--edge); border-radius: 10px; background: var(--cream); padding: 10px 11px; min-height: 96px; display: flex; flex-direction: column; gap: 3px; }
.drawer-link:hover { border-color: var(--strong-edge); background: var(--surface); }
.drawer-link strong { color: var(--ink); font-size: 14px; }
.drawer-link small { color: var(--muted); font-size: 12px; line-height: 1.45; }
.search-panel { position: fixed; z-index: 112; top: 82px; left: 50%; width: min(630px,calc(100% - 32px)); max-height: min(78vh,770px); overflow-y: auto; transform: translate(-50%,-16px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s, transform .2s, visibility .2s; background: var(--paper); color: var(--body); box-shadow: 0 20px 70px rgba(38,29,8,.28); border-radius: 0 0 14px 14px; padding: 22px 24px 25px; }
.search-panel.is-open { opacity: 1; transform: translate(-50%,0); visibility: visible; pointer-events: auto; }
.search-panel-top { display: flex; align-items: center; justify-content: space-between; }
.search-panel-top .overline { margin: 0; }
.search-panel h2 { margin: 12px 0 14px; }
.search-label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 7px; }
.search-panel input { display: block; width: 100%; border: 1px solid var(--strong-edge); border-radius: 9px; padding: 11px 15px; min-height: 48px; background: var(--cream); color: var(--ink); }
.search-suggestions { margin-top: 18px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.search-suggestions a { display: flex; justify-content: space-between; align-items: center; gap: 7px; padding: 11px 13px; min-height: 49px; border: 1px solid var(--edge); border-radius: 8px; font-weight: 700; }
.search-suggestions a span { color: var(--muted); font-weight: 400; font-size: 12px; }
.search-suggestions a:hover { background: var(--cream); }
.search-suggestions a[hidden] { display: none !important; }
.search-empty { padding: 15px 0; color: var(--muted); }
.mobile-bottom { display: none; }
/* 内页：以阅读优先，不把正文封入固定高度滚动区 */
.inner-hero { border: 1px solid var(--edge); background: var(--paper); border-radius: 13px; overflow: hidden; box-shadow: var(--shadow); }
.inner-head { padding: 27px 30px 25px; }
.inner-head .eyebrow { margin-bottom: 12px; }
.inner-head h1 { margin-bottom: 11px; }
.inner-head .intro { max-width: 860px; color: var(--body); margin: 0; }
.inner-media { height: 200px; border-radius: 0; border-inline: 0; border-top: 0; }
.page-content { padding-top: 25px; }
.reading-notice { display: flex; align-items: flex-start; gap: 12px; background: var(--surface); border: 1px solid var(--strong-edge); border-radius: 11px; padding: 15px 18px; margin-bottom: 23px; font-size: 14px; }
.reading-notice .notice-mark { width: 26px; height: 26px; border-radius: 50%; background: var(--bean-light); flex: 0 0 auto; display: grid; place-items: center; color: var(--ink); font-weight: 800; }
.reading-notice p { margin: 0; }
.essay-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.essay-card { background: var(--paper); border: 1px solid var(--edge); border-radius: 12px; padding: 21px 22px; min-width: 0; box-shadow: 0 6px 18px rgba(58,46,16,.035); }
.essay-card h2 { margin-bottom: 12px; }
.essay-card p { margin-bottom: 0; }
.essay-card p + p { margin-top: 11px; }
.essay-index { display: inline-flex; align-items: center; justify-content: center; background: var(--cream); border: 1px solid var(--edge); color: var(--bean-dark); font-weight: 800; font-size: 13px; padding: 3px 8px; margin-bottom: 11px; border-radius: 5px; }
.essay-card.wide { grid-column: 1/-1; }
.essay-card.wide h2 { max-width: 860px; }
.essay-card.wide p { max-width: 990px; }
.inner-variant-line .essay-grid { grid-template-columns: 1fr; }
.inner-variant-line .essay-card { border-left: 4px solid var(--bean); }
.inner-variant-timeline .essay-grid { grid-template-columns: 1fr; gap: 0; border-left: 2px solid var(--strong-edge); margin-left: 15px; }
.inner-variant-timeline .essay-card { position: relative; margin: 0 0 14px 20px; }
.inner-variant-timeline .essay-card::before { content: ''; position: absolute; width: 12px; height: 12px; border-radius: 50%; left: -27px; top: 29px; background: var(--bean); border: 2px solid var(--paper); box-shadow: 0 0 0 1px var(--bean-dark); }
.inner-variant-notes .essay-card:nth-child(3n) { background: var(--cream); }
.inner-variant-shelf .essay-card { border-left: 5px solid var(--bean); background: linear-gradient(90deg, var(--cream) 0%,var(--paper) 55%); }
.inner-variant-numbers .essay-index { font-size: 21px; border: 0; padding: 0; background: transparent; }
.inner-variant-terms .essay-grid { grid-template-columns: 1fr; }
.inner-variant-terms .essay-card { border-radius: 7px; border-left: 3px solid var(--leaf); }
.inner-variant-guide .essay-card { background: var(--cream); }
.inner-variant-guide .essay-card:nth-child(2n) { background: var(--paper); }
.bottom-note { margin: 23px 0 0; padding: 24px 26px; border-radius: 12px; background: var(--cream); border: 1px solid var(--edge); }
.bottom-note h2 { margin-bottom: 9px; }
.bottom-note p:last-child { margin-bottom: 0; }
.related-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 17px; }
.related-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid var(--strong-edge); border-radius: 9px; background: var(--paper); padding: 0 14px; font-size: 13px; font-weight: 750; }
.related-nav a:hover { background: var(--bean-light); }
.faq-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.faq-item { background: var(--paper); border: 1px solid var(--edge); border-radius: 12px; padding: 21px 23px; }
.faq-item h2 { margin-bottom: 11px; font-size: 16px; }
.faq-item p { margin: 0; }
.contact-method { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.contact-method article { border: 1px solid var(--edge); border-radius: 11px; padding: 17px 19px; background: var(--paper); }
.contact-method h2 { font-size: 16px; }
.contact-method p { margin-bottom: 0; }
@media (max-width: 850px) {
  .site-width { width: calc(100% - 32px); }
  .topic-grid { gap: 12px; }
  .rank-block,.timeline-block,.rack-wrapper { grid-template-columns: minmax(0,1fr); }
  .rank-block .media-slot,.timeline-block .media-slot,.rack-wrapper .media-slot { height: 190px; min-height: 0; }
  .app-section { grid-template-columns: 1.2fr 1fr; }
}
@media (max-width: 640px) {
  .scene-tabs { display: none; }
  .page-main { padding-top: 103px; padding-bottom: 38px; }
  .site-width { width: calc(100% - 32px); }
  .header-row { column-gap: 4px; }
  .header-brand { overflow: hidden; }
  .header-brand .brand-logo { height: 28px; max-width: min(106px,100%); }
  .header-brand .brand-name { font-size: 16px; }
  .pod-toggle { min-width: 73px; padding: 0 10px; gap: 5px; }
  .pod-toggle .hamburger { width: 19px; }
  .header-app { padding: 0 9px; font-size: 12px; min-width: 77px; }
  .header-app svg { width: 12px; height: 12px; }
  .section-stack { gap: 25px; }
  .cover-copy { padding: 19px 18px 22px; }
  .cover-slot { height: 260px; }
  .topic-grid, .issue-navigation, .note-grid, .book-shelf, .faq-home, .essay-grid, .faq-list, .contact-method { grid-template-columns: 1fr; }
  .topic-card .media-slot { height: 180px; }
  .feature-body { padding: 18px; }
  .issue-navigation { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .issue-navigation a { min-height: 75px; }
  .rank-block,.timeline-block,.rack-wrapper { padding: 13px; }
  .reading-pair { grid-template-columns: 1fr; }
  .pair-card { padding: 19px; }
  .note-panel,.app-section { grid-template-columns: 1fr; padding: 19px; }
  .note-panel .media-slot { height: 205px; }
  .note-grid { gap: 8px; }
  .app-section .app-portrait { height: 340px; }
  .section-heading { align-items: start; }
  .footer-inner { padding-bottom: calc(94px + env(safe-area-inset-bottom)); }
  .footer-columns { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
  .mobile-bottom { position: fixed; z-index: 60; inset: auto 0 0; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); height: calc(48px + env(safe-area-inset-bottom)); padding: 0 7px env(safe-area-inset-bottom); border-top: 1px solid var(--strong-edge); background: var(--paper); box-shadow: 0 -3px 14px rgba(58,46,16,.06); }
  .mobile-bottom a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; min-height: 44px; min-width: 0; border-radius: 8px; font-size: 11px; line-height: 1.25; white-space: nowrap; }
  .mobile-bottom a.is-current { background: var(--bean); color: var(--ink); font-weight: 800; }
  .bottom-glyph { font-size: 17px; height: 21px; line-height: 21px; }
  .inner-head { padding: 23px 20px; }
  .inner-media { height: 178px; }
  .essay-card,.faq-item { padding: 18px; }
  .search-panel { inset: 0; width: 100%; height: 100dvh; max-height: none; border-radius: 0; transform: translateY(-10px); background: var(--ink); color: var(--cream); padding: max(25px, env(safe-area-inset-top)) 18px 32px; }
  .search-panel.is-open { transform: translateY(0); }
  .search-panel h2, .search-panel .overline, .search-label { color: var(--cream); }
  .search-panel .close-square { background: rgba(255,248,232,.12); color: var(--cream); border-color: rgba(255,248,232,.4); }
  .search-panel input { background: var(--cream); color: var(--ink); }
  .search-suggestions { grid-template-columns: 1fr; }
  .search-suggestions a { color: var(--cream); border-color: rgba(255,248,232,.25); }
  .search-suggestions a span { color: #E5D6AC; }
  .search-suggestions a:hover { background: rgba(255,248,232,.1); }
  .search-empty { color: #E5D6AC; }
  .pod-drawer { width: min(400px,86vw); }
  .drawer-grid { grid-template-columns: 1fr; }
  .drawer-link { min-height: 76px; }
}
@media (max-width: 355px) {
 .bean-line { font-size: 11px; }
 .bean-line .site-width { gap: 5px; }
 .header-row { gap: 2px; }
 .pod-toggle { min-width: 69px; padding: 0 7px; }
 .header-app { min-width: 75px; padding: 0 7px; }
 .brand-name { letter-spacing: -.05em; }
 .section-heading { flex-wrap: wrap; }
 .cover-copy { padding: 18px 15px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
