:root {
    --bg: #F6E7A8;
    --bg-deep: #E8D27A;
    --surface: #FFF8DC;
    --surface-soft: #F3E6B0;
    --ink: #3A2E08;
    --text: #4A3C12;
    --muted: #7A6418;
    --faint: #9A8428;
    --gold: #8A6A12;
    --green: #5A7A38;
    --line: rgba(58,46,8,0.16);
    --line-strong: rgba(138,106,18,0.48);
    --shadow: 0 12px 28px rgba(58,46,8,0.08);
    --footer: #2E2408;
    --max: 960px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif; font-size: 15px; line-height: 1.7; overflow-x: hidden; padding-top: 74px; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid rgba(90,122,56,.55); outline-offset: 2px; }
img { max-width: 100%; display: block; }
.site-top { position: relative; z-index: 50; }
.top-strip { position: fixed; top: 0; left: 0; right: 0; height: 20px; background: var(--ink); color: var(--bg); z-index: 60; font-size: 12px; }
.top-strip__inner, .masthead__inner { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.text-action { border: 0; background: transparent; color: var(--bg); min-width: 44px; height: 20px; cursor: pointer; padding: 0 8px; }
.masthead { position: fixed; top: 20px; left: 0; right: 0; height: 54px; background: var(--bg); border-bottom: 1px solid var(--line-strong); z-index: 59; }
.brand-link { display: inline-flex; align-items: center; min-height: 44px; }
.brand-logo { height: 24px; width: auto; object-fit: contain; object-position: center; }
.brand-fallback { font-size: 16px; font-weight: 800; color: var(--ink); }
.masthead__actions { display: flex; align-items: center; gap: 8px; }
.mini-link, .menu-button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; padding: 0 13px; font-size: 14px; }
.mini-link { background: var(--ink); color: var(--bg); }
.menu-button { border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer; }
.quick-grid { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; position: sticky; top: 74px; z-index: 45; display: grid; grid-template-columns: repeat(2, 1fr); background: var(--bg); border-left: 1px solid var(--line-strong); border-top: 1px solid var(--line-strong); }
.quick-grid a { min-height: 36px; display: flex; align-items: center; justify-content: center; color: var(--gold); border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); font-size: 13px; font-weight: 700; }
.quick-grid a.is-current { background: var(--gold); color: var(--bg); }
.site-main { min-height: 60vh; }
.section-pad, .page-hero { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.section-pad { padding: 56px 0; }
.page-hero { padding: 56px 0 30px; }
.page-hero.narrow-center, .page-hero.slim { max-width: 760px; text-align: center; }
.page-hero.compact { padding-bottom: 18px; }
.page-hero h1, .about-banner h1, .home-intro h1 { font-size: 24px; line-height: 1.3; color: var(--ink); margin: 10px 0 14px; }
h2 { font-size: 20px; line-height: 1.35; color: var(--ink); margin: 0 0 12px; }
h3 { font-size: 16px; line-height: 1.45; color: var(--ink); margin: 0 0 10px; }
p { margin: 0 0 16px; }
.eyebrow, .section-heading > p { color: var(--gold); font-size: 13px; font-weight: 800; letter-spacing: .08em; margin-bottom: 4px; }
.section-heading { margin-bottom: 24px; }
.lead-sentence { font-size: 20px; color: var(--gold); font-weight: 800; margin: 12px 0; }
.home-intro { padding-top: 58px; }
.mini-index { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.mini-index a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 700; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.button { min-height: 44px; padding: 0 18px; border-radius: 9px; font-size: 14px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease; }
.button:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.button-primary { background: linear-gradient(135deg,#F6E7A8 0%,#8A6A12 100%); color: var(--ink); border: 1px solid var(--line-strong); }
.button-secondary { background: var(--ink); color: var(--bg); border: 1px solid var(--ink); }
.button-light { background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); }
.image-slot { background: var(--surface-soft); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; min-height: 120px; display: flex; align-items: center; justify-content: center; }
.image-slot img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.vertical-still { max-width: 420px; height: 280px; margin: 0 auto 24px; }
.wide-contained { min-height: 220px; max-height: 360px; margin-bottom: 26px; }
.shelf-head-image, .week-image { min-height: 180px; max-height: 280px; margin-bottom: 22px; }
.icon-slot { width: 48px; min-width: 48px; height: 48px; min-height: 48px; border-radius: 10px; }
.app-portrait { height: 320px; min-height: 220px; }
.banner-slot { height: 200px; min-height: 200px; margin-bottom: 24px; }
.centered-still-block { text-align: center; }
.centered-still-block > p { max-width: 720px; margin-left: auto; margin-right: auto; }
.timeline-block { position: relative; }
.timeline-item { display: grid; grid-template-columns: 28px 1fr; gap: 14px; position: relative; padding-bottom: 32px; }
.timeline-item::before { content: ""; position: absolute; left: 13px; top: 20px; bottom: -4px; width: 1px; background: var(--line-strong); }
.timeline-item:last-child::before { display: none; }
.timeline-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); margin: 9px 0 0 9px; box-shadow: 0 0 0 5px rgba(138,106,18,.14); }
.timeline-body { background: var(--surface); border: 1px solid var(--line); border-radius: 11px; padding: 20px; box-shadow: var(--shadow); }
.timeline-body .image-slot { min-height: 180px; max-height: 300px; margin-bottom: 18px; }
.fold-cards, .fold-layout { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.fold-cards .section-heading, .fold-layout + .section-heading { grid-column: 1 / -1; }
.fold-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 20px; box-shadow: var(--shadow); }
.fold-card::after { content: ""; position: absolute; top: 0; right: 0; border-top: 24px solid var(--bg-deep); border-left: 24px solid transparent; }
.fold-card .image-slot { min-height: 200px; margin-bottom: 18px; }
.fold-card.large { grid-column: 1 / -1; }
.fold-card.soft { background: var(--surface-soft); }
.two-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.two-cards article, .week-grid article, .soft-card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.week-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.week-grid span { display: inline-block; font-weight: 800; color: var(--gold); margin-bottom: 8px; }
.status-list { display: grid; gap: 10px; }
.status-list > div { display: grid; grid-template-columns: 90px 1fr; gap: 16px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold); padding: 16px; border-radius: 8px; }
.status-list b { color: var(--ink); }
.app-strip { background: var(--ink); color: var(--bg); border-radius: 12px; padding: 28px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: center; }
.app-strip h2, .app-strip .app-title-line p { color: var(--bg); }
.app-title-line { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.app-title-line p { margin: 0; font-weight: 800; }
.reading-points, .brand-about { border-top: 1px solid var(--line-strong); }
.home-faq details, .faq-page details { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; margin-bottom: 10px; padding: 14px 16px; }
summary { cursor: pointer; font-weight: 800; color: var(--ink); }
details p { margin-top: 12px; margin-bottom: 0; }
.inline-link { color: var(--gold); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.center-frame { max-width: 760px; }
.center-frame article { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px; margin: 18px 0; }
.single-column { max-width: 820px; }
.single-column article, .policy-page article, .contact-page article, .about-page article { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px; margin-bottom: 16px; }
.week-long { display: grid; gap: 18px; }
.week-row { display: grid; grid-template-columns: 90px 1fr; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.week-row > span { color: var(--gold); font-weight: 900; font-size: 18px; }
.week-row.current { border-color: var(--line-strong); background: var(--surface-soft); }
.status-page { max-width: 860px; }
.status-bar { display: grid; grid-template-columns: 110px 1fr; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--gold); padding: 20px; border-radius: 10px; margin-bottom: 14px; }
.status-bar > b { color: var(--ink); }
.status-bar.verify { border-left-color: var(--green); }
.status-bar.wait { border-left-color: var(--muted); }
.checklist-page { max-width: 840px; }
.checklist-page article { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px; margin-bottom: 16px; }
.check-list { margin: 0 0 14px; padding: 0; list-style: none; display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.check-list li:first-child { border-top: 0; padding-top: 0; }
.method-page { max-width: 860px; display: grid; gap: 16px; }
.method-step { display: grid; grid-template-columns: 64px 1fr; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.method-step > span { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--bg); font-weight: 900; }
.album-list { display: grid; gap: 12px; }
.album-list > article { display: grid; grid-template-columns: 90px 1fr; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.album-list > article > span { color: var(--gold); font-weight: 900; }
.album-list a:not(.button) { color: var(--gold); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.center-card-stack { max-width: 760px; display: grid; gap: 16px; }
.center-info-card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px; text-align: center; }
.center-info-card a:not(.button) { color: var(--gold); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.app-page-strip { margin-top: 24px; margin-bottom: 20px; }
.feature-rows { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.feature-rows article { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.policy-page, .contact-page, .about-page { max-width: 840px; }
.help-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.help-grid article { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.help-grid .wide { grid-column: 1 / -1; }
.faq-page { max-width: 820px; }
.about-banner { padding-top: 48px; text-align: center; }
.about-brand-visual .image-slot { margin-bottom: 18px; }
.site-footer { background: var(--footer); color: var(--bg); border-top: 1px solid rgba(246,231,168,.55); margin-top: 64px; }
.footer-inner { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; padding: 42px 0 78px; }
.footer-brand { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.footer-logo { height: 24px; width: auto; object-fit: contain; }
.footer-logo-link { min-height: 44px; display: inline-flex; align-items: center; }
.footer-brand strong { font-size: 16px; }
.footer-brand span { color: #F3E6B0; font-size: 13px; }
.footer-groups { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; padding: 22px 0; border-top: 1px solid rgba(246,231,168,.22); border-bottom: 1px solid rgba(246,231,168,.22); }
.footer-groups h2 { color: var(--bg); font-size: 14px; margin-bottom: 8px; }
.footer-groups a { display: block; color: var(--bg); opacity: .9; font-size: 13px; padding: 4px 0; }
.footer-note, .copyright { font-size: 13px; color: var(--bg); }
.footer-note { margin-top: 22px; }
.copyright { opacity: .78; margin-bottom: 0; }
.page-overlay { position: fixed; inset: 0; background: rgba(46,36,8,.45); z-index: 80; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .2s ease, visibility .2s ease; }
.page-overlay.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
.bottom-sheet { position: fixed; left: 0; right: 0; bottom: 0; height: 42vh; min-height: 320px; background: var(--surface); color: var(--text); z-index: 90; transform: translateY(105%); visibility: hidden; pointer-events: none; transition: transform .24s ease, visibility .24s ease; border-top: 1px solid var(--line-strong); box-shadow: 0 -18px 40px rgba(46,36,8,.16); overflow-y: auto; }
.bottom-sheet.is-open { transform: translateY(0); visibility: visible; pointer-events: auto; }
.sheet-head, .sheet-columns { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.sheet-head { min-height: 64px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.sheet-brand { display: flex; align-items: center; gap: 10px; font-weight: 900; color: var(--ink); }
.sheet-brand img { height: 24px; width: auto; object-fit: contain; }
.sheet-close, .search-card__head button { min-height: 44px; border: 1px solid var(--line-strong); background: var(--surface-soft); color: var(--ink); border-radius: 8px; cursor: pointer; padding: 0 14px; }
.sheet-columns { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; padding: 18px 0 28px; }
.sheet-columns h2 { font-size: 14px; color: var(--gold); }
.sheet-columns a { display: block; padding: 8px 0; border-top: 1px solid var(--line); }
.sheet-columns a:first-of-type { border-top: 0; }
.sheet-columns b { display: block; color: var(--ink); }
.sheet-columns span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.search-panel { position: fixed; top: 74px; left: 0; right: 0; z-index: 88; visibility: hidden; pointer-events: none; transform: translateY(-16px); opacity: 0; transition: .2s ease; }
.search-panel.is-open { visibility: visible; pointer-events: auto; transform: translateY(0); opacity: 1; }
.search-card { width: min(720px, calc(100% - 32px)); margin: 14px auto 0; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 10px; box-shadow: var(--shadow); padding: 18px; }
.search-card__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 10px; color: var(--ink); }
.search-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.search-presets a { min-height: 44px; padding: 0 14px; display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); background: var(--bg); font-weight: 700; }
.mobile-bottom { display: none; }
@media (max-width: 720px) {
    body { padding-top: 74px; padding-bottom: calc(48px + env(safe-area-inset-bottom)); }
    .top-strip__inner, .masthead__inner, .section-pad, .page-hero, .footer-inner, .sheet-head, .sheet-columns { width: calc(100% - 32px); }
    .quick-grid { display: none; }
    .home-intro { padding-top: 38px; }
    .section-pad { padding: 40px 0; }
    .page-hero { padding: 38px 0 20px; }
    .masthead__actions { gap: 6px; }
    .mini-link, .menu-button { padding: 0 10px; }
    .fold-cards, .fold-layout, .two-cards, .week-grid, .feature-rows, .help-grid { grid-template-columns: 1fr; }
    .fold-card.large, .help-grid .wide { grid-column: auto; }
    .app-strip { grid-template-columns: 1fr; padding: 22px; }
    .app-portrait { height: 300px; }
    .week-row, .status-bar, .album-list > article { grid-template-columns: 1fr; gap: 8px; }
    .check-list li { grid-template-columns: 1fr; gap: 4px; }
    .method-step { grid-template-columns: 1fr; }
    .method-step > span { width: 44px; height: 44px; }
    .footer-groups { grid-template-columns: repeat(2,1fr); }
    .bottom-sheet { height: 42vh; min-height: 320px; }
    .sheet-columns { grid-template-columns: repeat(2,1fr); }
    .search-panel { inset: 0; top: 0; background: var(--ink); padding: 84px 16px 80px; overflow-y: auto; }
    .search-card { width: 100%; margin: 0; background: var(--ink); color: var(--bg); border-color: rgba(246,231,168,.4); box-shadow: none; }
    .search-card__head { color: var(--bg); }
    .search-card__head button { background: var(--bg); }
    .search-presets a { background: transparent; color: var(--bg); border-color: rgba(246,231,168,.45); }
    .mobile-bottom { position: fixed; left: 0; right: 0; bottom: 0; height: calc(48px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--bg); border-top: 1px solid var(--line-strong); display: grid; grid-template-columns: repeat(4,1fr); z-index: 70; }
    .mobile-bottom a { min-height: 48px; display: flex; align-items: center; justify-content: center; color: var(--ink); font-size: 13px; font-weight: 800; }
    .mobile-bottom a.is-current { background: var(--gold); color: var(--bg); }
    .page-overlay { z-index: 80; }
    .bottom-sheet { z-index: 90; }
}
@media (max-width: 420px) {
    .mini-link { font-size: 13px; padding: 0 8px; }
    .menu-button { font-size: 13px; }
    .footer-groups, .sheet-columns { grid-template-columns: 1fr; }
    .bottom-sheet { height: 42vh; }
}

.mini-link:hover, .menu-button:hover, .sheet-close:hover, .search-card__head button:hover, .search-presets a:hover, .quick-grid a:hover { opacity: .88; }
