:root {
    --paper: #fff8f5;
    --paper-deep: #f4e5df;
    --card: #ffffff;
    --soft: #faece7;
    --ink: #351518;
    --text: #512a2d;
    --muted: #7f5659;
    --red: #c61f31;
    --red-bright: #e14c5a;
    --red-dark: #87131f;
    --gold: #c49a42;
    --line: rgba(198,31,49,.16);
    --shadow: 0 14px 34px rgba(53,21,24,.09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif; font-size: 15px; line-height: 1.75; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button,input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; object-fit: contain; object-position: center; }
.shell { width: min(960px, calc(100% - 32px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 999; background: #fff; color: var(--red-dark); padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.top-stack { position: fixed; inset: 0 0 auto; z-index: 80; }
.top-note { height: 20px; background: var(--red-dark); color: #fff; font-size: 12px; }
.top-note-inner { height: 20px; display: flex; align-items: center; justify-content: space-between; }
.top-note button { border: 0; background: transparent; color: #fff; min-height: 20px; padding: 0 3px; }
.brand-bar { height: 58px; background: rgba(255,248,245,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(9px); }
.brand-bar-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.brand-home { display: flex; align-items: center; gap: 9px; min-width: 0; }
.brand-logo-slot { width: 42px; height: 28px; display: grid; place-items: center; }
.brand-logo { width: 100%; height: 24px; object-fit: contain; }
.brand-logo-slot strong { color: var(--red); font-size: 20px; }
.brand-copy { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.brand-copy strong { color: var(--red-dark); font-size: 17px; }
.brand-copy small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-actions { display: flex; align-items: center; gap: 8px; }
.app-entry,.menu-button,.plain-button { min-height: 44px; border-radius: 11px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); }
.app-entry { background: linear-gradient(135deg,var(--red-bright),var(--red) 54%,var(--red-dark)); color: #fff; box-shadow: 0 6px 16px rgba(198,31,49,.18); }
.menu-button,.plain-button { background: #fff; color: var(--red-dark); }
.quick-nav { height: 46px; background: #f8e5e1; border-bottom: 1px solid var(--line); }
.quick-nav-inner { height: 100%; display: flex; align-items: center; gap: 12px; }
.quick-link { min-height: 36px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; color: var(--red-dark); border: 1px solid rgba(198,31,49,.22); background: rgba(255,255,255,.72); }
.quick-link.is-current { color: #fff; border-color: var(--red-dark); background: linear-gradient(135deg,var(--red-bright),var(--red),var(--red-dark)); box-shadow: 0 6px 16px rgba(198,31,49,.18); }
.site-main { padding-top: 148px; padding-bottom: 64px; }
.breadcrumb { margin: 2px 0 18px; font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--red-dark); }
.hero-new { position: relative; padding: 34px 30px 30px; background: #fff; border: 1px solid var(--line); border-radius: 26px 26px 26px 9px; box-shadow: var(--shadow); overflow: hidden; }
.hero-new::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; border: 28px solid rgba(198,31,49,.08); right: -48px; top: -62px; }
.hero-new .hero-label { margin: 0 0 8px; color: var(--red); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
h1,h2,h3 { color: var(--ink); margin-top: 0; }
h1 { font-size: clamp(26px,5vw,34px); line-height: 1.3; margin-bottom: 14px; }
h2 { font-size: 21px; line-height: 1.4; margin-bottom: 12px; }
h3 { font-size: 16px; line-height: 1.5; margin-bottom: 8px; }
p { margin-top: 0; }
.hero-lead { max-width: 760px; margin-bottom: 20px; color: var(--text); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-primary,.btn-secondary { min-height: 42px; padding: 0 16px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; transition: filter .18s ease, box-shadow .18s ease, transform .18s ease; }
.btn-primary { color: #fff; background: linear-gradient(135deg,var(--red-bright),var(--red) 52%,var(--red-dark)); box-shadow: 0 6px 16px rgba(198,31,49,.18); }
.btn-secondary { color: var(--red-dark); background: #fff; border: 1px solid var(--line); }
.btn-primary:hover,.quick-link.is-current:hover,.mobile-bottom .is-current:hover { filter: brightness(1.05); box-shadow: 0 0 0 3px rgba(225,76,90,.22),0 10px 24px rgba(135,19,31,.22); }
.btn-primary:active,.quick-link.is-current:active,.mobile-bottom .is-current:active { filter: brightness(1.08); box-shadow: 0 0 0 4px rgba(196,154,66,.36),0 0 22px rgba(225,76,90,.42); }
a:focus-visible,button:focus-visible,input:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 2px; }
.category-strip { margin: 20px 0 30px; display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.category-strip a { min-height: 74px; padding: 14px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.category-strip strong { color: var(--ink); }
.category-strip span { font-size: 12px; color: var(--muted); }
.section { margin-top: 34px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.section-head p { margin: 0; color: var(--muted); font-size: 13px; }
.feature-panel { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: center; padding: 22px; background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.media-slot { min-height: 160px; background: #f8ebe6; border: 1px dashed rgba(198,31,49,.24); border-radius: 16px; display: grid; place-items: center; overflow: hidden; }
.media-slot img { width: 100%; height: 100%; object-fit: contain; }
.media-round { width: 240px; height: 176px; border-radius: 90px 28px 90px 28px; }
.media-160 { height: 160px; }
.media-168 { height: 168px; }
.feature-panel .media-slot:empty::after,.content-card .media-slot:empty::after,.app-shot:empty::after,.banner-slot:empty::after { content: "91"; font-weight: 900; color: rgba(198,31,49,.18); font-size: 42px; }
.content-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; }
.content-card { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.content-card.soft { background: var(--soft); }
.content-card.accent { background: var(--red-dark); color: #f9e8e5; }
.content-card.accent h2,.content-card.accent h3,.content-card.accent strong { color: #fff; }
.content-card.accent .btn-secondary { background: #fff; }
.meta-label { display: inline-flex; margin-bottom: 10px; padding: 4px 9px; border-radius: 999px; background: rgba(196,154,66,.15); color: #73550d; font-size: 12px; font-weight: 700; }
.topic-list { display: grid; gap: 9px; }
.topic-list a { min-height: 48px; padding: 10px 12px; border-radius: 11px; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border: 1px solid var(--line); }
.topic-list a span:last-child { color: var(--red); font-size: 13px; }
.status-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.status-item { padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.status-item strong { display: block; color: var(--red-dark); margin-bottom: 5px; }
.app-feature { display: grid; grid-template-columns: 240px 1fr; gap: 28px; padding: 24px; border-radius: 24px 8px 24px 8px; background: linear-gradient(135deg,#f7e1dc,#fff 55%); border: 1px solid var(--line); }
.app-shot { width: 240px; height: 320px; border-radius: 28px; background: #fff; border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; }
.app-shot img { width: 100%; height: 100%; object-fit: contain; }
.app-icon-slot { width: 58px; height: 58px; margin: -34px 0 0 16px; position: relative; background: #fff; border-radius: 16px; border: 1px solid var(--line); padding: 5px; box-shadow: var(--shadow); }
.app-icon-slot img { width: 48px; height: 48px; }
.info-band { padding: 22px; border-left: 5px solid var(--red); background: #fff; border-radius: 0 15px 15px 0; box-shadow: var(--shadow); }
.brand-block { padding: 28px; background: var(--ink); color: #f8e7e3; border-radius: 20px; }
.brand-block h2,.brand-block h3 { color: #fff; }
.brand-block a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.page-hero { display: grid; grid-template-columns: 1fr 250px; gap: 22px; align-items: center; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.page-hero.no-image { grid-template-columns: 1fr; }
.page-hero .media-slot { width: 100%; height: 168px; }
.page-kicker { color: var(--red); font-size: 13px; font-weight: 800; margin-bottom: 6px; }
.page-intro { color: var(--text); margin-bottom: 0; }
.article-stack { display: grid; gap: 16px; margin-top: 24px; }
.article-section { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.article-section:nth-child(even) { background: #fffaf8; }
.article-section p:last-child { margin-bottom: 0; }
.split-article { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.long-read { margin-top: 24px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.long-read h2:not(:first-child) { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.quote-note { margin: 16px 0; padding: 14px 16px; background: var(--soft); border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; }
.schedule-board { margin-top: 24px; display: grid; gap: 12px; }
.schedule-card { padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; display: grid; grid-template-columns: 118px 1fr; gap: 16px; }
.schedule-card .state { align-self: start; min-height: 36px; border-radius: 999px; background: var(--soft); color: var(--red-dark); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.theme-directory { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-top: 24px; }
.theme-card { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.theme-card:nth-child(3n) { background: var(--soft); }
.service-steps { margin-top: 24px; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.service-step { padding: 18px; border: 1px solid var(--line); background: #fff; border-radius: 15px; }
.service-step b { color: var(--red); display: block; margin-bottom: 6px; }
.policy-list { margin-top: 24px; display: grid; gap: 14px; }
.policy-item { padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq-list { margin-top: 24px; display: grid; gap: 10px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 0 16px; }
summary { min-height: 50px; display: flex; align-items: center; font-weight: 800; color: var(--ink); cursor: pointer; }
details p { padding: 0 0 16px; margin: 0; }
.banner-slot { width: 100%; height: 200px; background: #f8ebe6; border: 1px dashed rgba(198,31,49,.24); border-radius: 18px; overflow: hidden; display: grid; place-items: center; margin-bottom: 18px; }
.banner-slot img { width: 100%; height: 100%; object-fit: contain; }
.site-footer { background: var(--ink); color: #f6e5e2; border-top: 2px solid var(--red); font-size: 13px; }
.footer-main { display: grid; grid-template-columns: 1.45fr repeat(3,1fr); gap: 24px; padding: 32px 0 24px; }
.footer-brandline { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.footer-logo,.drawer-logo { width: auto; height: 24px; }
.footer-links h2 { font-size: 14px; color: #fff; margin-bottom: 8px; }
.footer-links a { display: block; color: #f6e5e2; padding: 3px 0; }
.footer-notice { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0 72px; display: flex; justify-content: space-between; gap: 18px; }
.footer-notice p { margin: 0; }
.overlay { position: fixed; inset: 0; z-index: 89; background: rgba(35,10,14,.46); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s ease,visibility .18s ease; }
.overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.menu-drawer { position: fixed; z-index: 90; right: 14px; top: 88px; width: min(420px,40vw); max-height: 70vh; background: #fffaf8; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 60px rgba(53,21,24,.26); transform: translateX(calc(100% + 30px)); visibility: hidden; pointer-events: none; transition: transform .22s ease,visibility .22s ease; overflow: hidden; }
.menu-drawer.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; }
.drawer-head { min-height: 66px; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.drawer-brand { display: flex; align-items: center; gap: 7px; }
.drawer-brand small { color: var(--muted); }
.drawer-body { overflow: auto; max-height: calc(70vh - 66px); padding: 12px 14px 18px; }
.drawer-body section + section { margin-top: 18px; }
.drawer-body h2 { font-size: 14px; color: var(--red-dark); margin: 0 0 8px; }
.drawer-body a { display: block; padding: 10px 11px; border-radius: 11px; }
.drawer-body a:hover { background: var(--soft); }
.drawer-body span { display: block; color: var(--ink); font-weight: 800; }
.drawer-body small { color: var(--muted); }
.search-panel { position: fixed; z-index: 91; left: 50%; top: 86px; width: min(680px,calc(100% - 32px)); transform: translate(-50%,-14px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s ease,transform .18s ease,visibility .18s ease; }
.search-panel.is-open { transform: translate(-50%,0); opacity: 1; visibility: visible; pointer-events: auto; }
.search-card { background: #fffaf8; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 22px 50px rgba(53,21,24,.22); padding: 18px; }
.search-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.search-card label { display: block; margin-bottom: 7px; color: var(--muted); }
.search-card input { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink); padding: 0 13px; }
.search-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.search-links a { padding: 8px 11px; border-radius: 999px; background: var(--soft); color: var(--red-dark); }
.mobile-bottom { display: none; }
body.modal-open { overflow: hidden; }

@media (max-width: 760px) {
    .shell { width: calc(100% - 32px); }
    .quick-nav { display: none; }
    .site-main { padding-top: 96px; padding-bottom: 86px; }
    .brand-copy small { display: none; }
    .brand-actions { gap: 5px; }
    .app-entry,.menu-button { padding: 0 11px; }
    .hero-new { padding: 24px 19px; border-radius: 20px 20px 20px 8px; }
    .category-strip { grid-template-columns: repeat(2,1fr); }
    .feature-panel,.page-hero,.app-feature { grid-template-columns: 1fr; }
    .feature-panel .media-round { width: 100%; }
    .page-hero .media-slot { order: -1; }
    .content-grid,.split-article,.theme-directory { grid-template-columns: 1fr; }
    .status-row,.service-steps { grid-template-columns: 1fr; }
    .app-shot { width: 100%; max-width: 280px; margin-inline: auto; }
    .app-icon-slot { margin-left: max(16px,calc(50% - 122px)); }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .footer-identity { grid-column: 1 / -1; }
    .footer-notice { flex-direction: column; padding-bottom: 76px; }
    .menu-drawer { width: 86%; right: 7%; top: 72px; max-height: 78vh; }
    .drawer-body { max-height: calc(78vh - 66px); }
    .search-panel { inset: 0; width: 100%; transform: translateY(-10px); background: var(--red-dark); padding: 78px 16px 16px; }
    .search-panel.is-open { transform: translateY(0); }
    .search-card { background: transparent; box-shadow: none; border: 0; padding: 0; color: #fff; }
    .search-card label,.search-head strong { color: #fff; }
    .search-card .plain-button { background: #fff; }
    .search-links a { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.2); }
    .mobile-bottom { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; min-height: calc(50px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(4,1fr); background: rgba(255,248,245,.98); border-top: 1px solid var(--line); }
    .mobile-bottom a { min-height: 50px; display: grid; place-items: center; color: var(--red-dark); }
    .mobile-bottom .is-current { background: linear-gradient(135deg,var(--red-bright),var(--red),var(--red-dark)); color: #fff; box-shadow: 0 -4px 16px rgba(198,31,49,.18); }
    .schedule-card { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .top-note-inner { width: calc(100% - 24px); }
    .shell { width: calc(100% - 32px); }
    .footer-main { grid-template-columns: 1fr; }
    .footer-identity { grid-column: auto; }
    .category-strip { gap: 8px; }
    .category-strip a { min-height: 68px; padding: 12px; }
}

.spaced { margin-top: 14px; }
