:root {
  --paper: #FFF6D8;
  --white: #FFFFFF;
  --sand: #F3E4B0;
  --ink: #111111;
  --title: #16140F;
  --text: #2A261C;
  --muted: #5C5648;
  --soft: #8A8370;
  --yellow: #F5C518;
  --deep-yellow: #D4A017;
  --teal: #2A6B6B;
  --red: #E85D4C;
  --border: rgba(17,17,17,.12);
  --shadow: 0 14px 34px rgba(17,17,17,.10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font: 16px/1.75 Arial, "Microsoft YaHei", sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
button, input { font: inherit; }
img { max-width: 100%; height: auto; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; }
.ink-bar { height: 22px; background: var(--ink); color: var(--yellow); font-size: 12px; letter-spacing: .02em; }
.bar-inner, .mast-inner, .issue-inner, .footer-inner, .page-wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.bar-inner { height: 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ink-brand { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plain-button { border: 0; background: transparent; color: var(--yellow); min-width: 44px; height: 22px; cursor: pointer; }
.masthead { height: 70px; background: var(--yellow); border-bottom: 1px solid rgba(17,17,17,.28); }
.mast-inner { height: 70px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.brand-link { justify-self: start; min-height: 44px; display: inline-flex; align-items: center; max-width: 320px; }
.brand-link img { max-height: 38px; width: auto; }
.brand-fallback { font-weight: 900; font-size: 24px; letter-spacing: -.02em; color: var(--ink); }
.menu-open, .app-link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); padding: 0 18px; border-radius: 8px; font-weight: 700; }
.menu-open { cursor: pointer; justify-self: center; }
.app-link { justify-self: end; background: var(--ink); color: var(--yellow); }
.issue-bar { height: 42px; background: var(--white); border-bottom: 1px solid var(--border); }
.issue-inner { height: 42px; display: flex; align-items: center; gap: 8px; }
.issue-inner a { min-height: 32px; padding: 4px 12px; display: inline-flex; align-items: center; border-radius: 5px; color: var(--title); }
.issue-inner a:hover, .issue-inner a.is-active { background: var(--yellow); }
.site-main { padding-top: 158px; min-height: 60vh; }
.page-wrap { padding-bottom: 72px; }
.hero-pair { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, .8fr); gap: 24px; align-items: stretch; }
.hero-copy, .section-card, .content-card, .feature-card, .policy-card, .faq-item, .spine-item, .timeline-item, .step-item { background: var(--white); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); }
.hero-media { min-height: 270px; max-height: 320px; border-radius: 14px; overflow: hidden; background: var(--sand); border: 1px solid var(--border); }
.hero-media img, .hero-media .media-placeholder { width: 100%; height: 100%; min-height: 270px; max-height: 320px; object-fit: cover; }
.media-placeholder { background: linear-gradient(135deg, var(--sand), #fff0b6 45%, var(--yellow)); border: 1px solid var(--border); }
.hero-copy { padding: 28px; display: flex; flex-direction: column; justify-content: center; }
.eyebrow { color: var(--teal); font-weight: 800; letter-spacing: .08em; margin: 0 0 8px; }
h1 { margin: 0 0 16px; color: var(--title); font-size: clamp(28px, 3vw, 32px); line-height: 1.25; letter-spacing: -.02em; }
h2 { color: var(--title); line-height: 1.35; }
p { margin: 0 0 14px; }
.button-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.button-row a, .text-link { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 7px; border: 1px solid var(--ink); font-weight: 800; }
.button-row .primary { background: var(--ink); color: var(--yellow); }
.button-row .secondary { background: var(--yellow); color: var(--ink); }
.section { margin-top: 28px; }
.section-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 14px; }
.section-head h2 { margin: 0; font-size: 24px; }
.section-head p { margin: 0; color: var(--muted); max-width: 650px; }
.tag-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tag-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 16px; min-height: 156px; display: flex; flex-direction: column; }
.tag-mark { width: 30px; height: 7px; margin-bottom: 12px; border-radius: 2px; background: var(--yellow); }
.tag-card:nth-child(3n+2) .tag-mark { background: var(--teal); }
.tag-card:nth-child(3n) .tag-mark { background: var(--red); }
.tag-card h3 { margin: 0 0 6px; color: var(--title); font-size: 17px; }
.tag-card p { color: var(--muted); font-size: 14px; }
.tag-card a { margin-top: auto; font-weight: 800; color: var(--teal); }
.split-section { display: grid; grid-template-columns: 360px minmax(0,1fr); gap: 20px; align-items: stretch; }
.section-image { border-radius: 14px; overflow: hidden; min-height: 250px; background: var(--sand); border: 1px solid var(--border); }
.section-image img, .section-image .media-placeholder { width: 100%; height: 100%; min-height: 250px; object-fit: cover; }
.number-list { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.number-row { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--border); }
.number-row:last-child { border-bottom: 0; }
.number-row strong { font-size: 28px; color: var(--ink); }
.number-row a { color: var(--teal); font-weight: 800; }
.cards-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.feature-card { overflow: hidden; }
.feature-card .section-image { border: 0; border-radius: 0; min-height: 170px; box-shadow: none; }
.feature-card .section-image img, .feature-card .section-image .media-placeholder { min-height: 170px; max-height: 220px; }
.card-body { padding: 18px; }
.card-body h3 { margin: 0 0 8px; color: var(--title); font-size: 20px; }
.index-grid-6 { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.index-box { background: var(--white); border: 1px solid var(--border); border-left: 8px solid var(--yellow); border-radius: 10px; padding: 18px; }
.index-box:nth-child(3n+2) { border-left-color: var(--teal); }
.index-box:nth-child(3n) { border-left-color: var(--red); }
.spine-list { display: grid; gap: 10px; }
.spine-item { display: grid; grid-template-columns: 10px 180px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; }
.spine-item::before { content: ""; width: 10px; height: 100%; min-height: 48px; background: var(--yellow); border-radius: 3px; }
.spine-item:nth-child(3n+2)::before { background: var(--teal); }
.spine-item:nth-child(3n)::before { background: var(--red); }
.board-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.board-item { background: var(--yellow); border: 1px solid var(--ink); border-radius: 12px; padding: 16px; min-height: 175px; }
.board-item strong { display: block; font-size: 44px; line-height: 1; margin-bottom: 18px; color: var(--ink); }
.timeline { border-left: 3px solid var(--ink); margin-left: 10px; padding-left: 22px; display: grid; gap: 14px; }
.timeline-item { position: relative; padding: 18px; }
.timeline-item::before { content: ""; position: absolute; left: -31px; top: 24px; width: 14px; height: 14px; background: var(--yellow); border: 2px solid var(--ink); border-radius: 50%; }
.status { display: inline-flex; min-height: 30px; align-items: center; padding: 2px 10px; background: var(--ink); color: var(--yellow); border-radius: 5px; font-size: 13px; font-weight: 800; }
.article-shell { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 30px; box-shadow: var(--shadow); }
.article-shell .lead { font-size: 18px; color: var(--title); }
.article-shell h2 { margin-top: 30px; font-size: 22px; }
.article-shell h3 { color: var(--title); margin-top: 22px; }
.article-shell p { max-width: 900px; }
.article-media { max-width: 520px; margin: 20px 0 24px; border-radius: 14px; overflow: hidden; background: var(--sand); }
.article-media img, .article-media .media-placeholder { width: 100%; max-height: 310px; object-fit: cover; min-height: 220px; }
.long-strip { display: grid; gap: 10px; }
.long-strip article { display: grid; grid-template-columns: 72px 220px 1fr auto; align-items: center; gap: 14px; background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 14px; }
.long-strip strong { font-size: 30px; color: var(--ink); }
.genre-cover { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.genre-cover article { background: var(--white); border: 1px solid var(--border); border-top: 10px solid var(--yellow); border-radius: 12px; padding: 20px; }
.genre-cover article:nth-child(3n+2) { border-top-color: var(--teal); }
.genre-cover article:nth-child(3n) { border-top-color: var(--red); }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.step-item { padding: 20px; }
.step-no { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; background: var(--ink); color: var(--yellow); border-radius: 8px; font-weight: 900; margin-bottom: 10px; }
.policy-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.policy-card { padding: 22px; }
.policy-card h2 { margin-top: 0; }
.faq-list { display: grid; gap: 12px; }
.faq-item { padding: 20px; }
.faq-item h2 { margin: 0 0 8px; font-size: 18px; }
.app-product { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 22px; }
.app-copy { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }
.app-visual { background: var(--sand); border: 1px solid var(--border); border-radius: 16px; padding: 18px; }
.app-visual img, .app-visual .media-placeholder { width: 100%; max-height: 460px; object-fit: contain; min-height: 320px; }
.app-badge { display: flex; align-items: center; gap: 14px; margin: 18px 0; }
.app-badge img { width: 68px; height: 68px; object-fit: cover; border-radius: 14px; }
.site-footer { background: var(--ink); color: var(--yellow); padding: 46px 0 80px; }
.footer-brand { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.footer-brand img { max-height: 38px; width: auto; }
.footer-brand strong { display: block; font-size: 20px; }
.footer-brand span { display: block; color: #E8D9A0; font-size: 12px; }
.footer-groups { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.footer-groups h2 { color: var(--yellow); font-size: 15px; margin: 0 0 10px; }
.footer-groups a { display: block; color: #E8D9A0; padding: 5px 0; }
.footer-groups a:hover { color: #fff; }
.footer-note, .copyright { color: #E8D9A0; font-size: 13px; margin-top: 24px; }
.screen-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(17,17,17,.52); opacity: 0; visibility: hidden; pointer-events: none; transition: .2s ease; }
.screen-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.story-drawer { position: fixed; left: 0; top: 0; bottom: 0; z-index: 100; width: 360px; max-width: 86vw; background: var(--paper); transform: translateX(-102%); visibility: hidden; pointer-events: none; transition: transform .24s ease, visibility .24s; border-right: 1px solid var(--ink); display: flex; flex-direction: column; }
.story-drawer.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; }
.drawer-head { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); background: var(--yellow); }
.drawer-brand { display: flex; align-items: center; gap: 10px; font-weight: 900; }
.drawer-brand img { max-height: 32px; max-width: 150px; }
.drawer-close, .search-close { min-height: 44px; padding: 0 14px; border: 1px solid var(--ink); background: var(--white); color: var(--ink); border-radius: 7px; cursor: pointer; }
.drawer-scroll { overflow-y: auto; padding: 14px 14px 24px; }
.drawer-scroll section { margin-bottom: 20px; }
.drawer-scroll h2 { font-size: 14px; margin: 0 0 8px; padding-bottom: 6px; border-bottom: 2px solid var(--ink); }
.drawer-scroll a { display: grid; gap: 2px; padding: 10px 8px; border-bottom: 1px solid var(--border); }
.drawer-scroll a:hover { background: var(--white); }
.drawer-scroll strong { color: var(--title); }
.drawer-scroll span { color: var(--muted); font-size: 13px; }
.search-layer { position: fixed; z-index: 101; top: 92px; left: 50%; width: min(760px, calc(100% - 32px)); transform: translate(-50%, -16px); background: transparent; opacity: 0; visibility: hidden; pointer-events: none; transition: .18s ease; }
.search-layer.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.search-card { background: var(--paper); border: 1px solid var(--ink); border-radius: 4px; box-shadow: var(--shadow); padding: 18px; }
.search-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 14px; color: var(--title); }
.search-shell { display: grid; grid-template-columns: 1fr auto; border: 2px solid var(--ink); background: var(--white); }
.search-shell input { min-height: 48px; border: 0; padding: 0 14px; background: var(--white); color: var(--ink); min-width: 0; }
.search-shell > span:last-child { display: flex; align-items: center; padding: 0 12px; background: var(--yellow); font-weight: 800; }
.search-presets { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.search-presets a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid var(--border); background: var(--white); border-radius: 6px; }
.search-card p { color: var(--muted); font-size: 13px; margin-bottom: 0; }
.overlay-lock { overflow: hidden; }
.mobile-bottom { display: none; }
@media (max-width: 900px) {
  .tag-grid { grid-template-columns: repeat(2,1fr); }
  .cards-3, .steps { grid-template-columns: 1fr; }
  .board-grid { grid-template-columns: repeat(2,1fr); }
  .split-section, .app-product { grid-template-columns: 1fr; }
  .app-visual { order: -1; }
  .spine-item { grid-template-columns: 10px 150px 1fr; }
  .spine-item a { grid-column: 2 / -1; }
  .long-strip article { grid-template-columns: 60px 160px 1fr; }
  .long-strip article a { grid-column: 2 / -1; }
}
@media (max-width: 720px) {
  body { padding-bottom: calc(50px + env(safe-area-inset-bottom)); }
  .bar-inner, .mast-inner, .issue-inner, .footer-inner, .page-wrap { width: calc(100% - 32px); }
  .ink-brand { max-width: calc(100vw - 92px); }
  .mast-inner { grid-template-columns: minmax(0,1fr) auto auto; gap: 8px; }
  .brand-link { min-width: 0; max-width: 100%; overflow: hidden; }
  .brand-link img { max-width: 130px; }
  .brand-fallback { font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .menu-open, .app-link { padding: 0 10px; min-width: 70px; }
  .issue-bar { display: none; }
  .site-main { padding-top: 116px; }
  .hero-pair { grid-template-columns: 1fr; }
  .hero-media { min-height: 210px; max-height: 280px; }
  .hero-media img, .hero-media .media-placeholder { min-height: 210px; max-height: 280px; }
  .hero-copy { padding: 22px; }
  .tag-grid, .index-grid-6, .genre-cover, .policy-grid { grid-template-columns: 1fr; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .board-grid { grid-template-columns: 1fr; }
  .spine-item { grid-template-columns: 8px 1fr; }
  .spine-item a { grid-column: 2; }
  .long-strip article { grid-template-columns: 54px 1fr; align-items: start; }
  .long-strip article p, .long-strip article a { grid-column: 2; }
  .article-shell { padding: 22px; }
  .footer-groups { grid-template-columns: repeat(2,1fr); }
  .site-footer { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .search-layer { top: 0; left: 0; width: 100%; height: 100dvh; transform: none; background: var(--paper); }
  .search-layer.is-open { transform: none; }
  .search-card { width: 100%; height: 100%; border-radius: 0; border: 0; box-shadow: none; padding: 24px 16px; overflow-y: auto; }
  .mobile-bottom { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; height: calc(50px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--white); border-top: 1px solid var(--ink); display: grid; grid-template-columns: repeat(5,1fr); }
  .mobile-bottom a { display: flex; align-items: center; justify-content: center; min-height: 50px; font-size: 13px; color: var(--title); }
  .mobile-bottom a.is-active { background: var(--yellow); font-weight: 900; }
  .screen-overlay { z-index: 90; }
  .story-drawer { z-index: 100; }
}
@media (max-width: 420px) {
  .menu-open, .app-link { font-size: 13px; min-width: 64px; padding: 0 8px; }
  .brand-link img { max-width: 104px; }
  .footer-groups { grid-template-columns: 1fr 1fr; gap: 14px; }
}
