:root {
    --gold: #D9A21B;
    --gold-soft: #F1C96A;
    --ink: #2B261D;
    --text: #302D28;
    --muted: #756F64;
    --paper: #FFFDF7;
    --sand: #F7F1E3;
    --accent: #E9673F;
    --line: #E6DCC5;
    --line-strong: #D9CBAA;
    --white: #FFFFFF;
    --success: #5F7248;
    --shadow: 0 18px 50px rgba(43, 38, 29, .08);
    --shadow-soft: 0 8px 26px rgba(43, 38, 29, .07);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --container: 1180px;
}

* { 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", sans-serif;
    font-size: 16px;
    line-height: 1.75;
    text-rendering: optimizeLegibility;
}
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--gold-soft); color: var(--ink); }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 200; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; transition: top .2s ease; }
.skip-link:focus { top: 14px; }
.eyebrow { margin: 0 0 8px; color: #8A6410; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.23rem); color: #5A5348; max-width: 760px; }
.meta-note { color: var(--muted); font-size: .88rem; }

.site-header { position: sticky; top: 0; z-index: 90; background: rgba(255,253,247,.94); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(217,203,170,.7); }
.header-inner { min-height: 76px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: max-content; }
.brand-logo { width: 40px; height: 40px; object-fit: cover; border-radius: 12px; background: var(--sand); border: 1px solid var(--line); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.brand-copy strong { color: var(--ink); font-size: 1.08rem; letter-spacing: .02em; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: .72rem; }
.primary-nav { justify-self: center; display: flex; align-items: center; gap: 4px; }
.primary-nav a { padding: 9px 11px; border-radius: 10px; color: #5A5348; font-size: .92rem; font-weight: 650; transition: .2s ease; }
.primary-nav a:hover { background: var(--sand); color: var(--ink); }
.primary-nav a[aria-current="page"] { background: #F4E4B8; color: #684B0A; }
.search-trigger { border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); border-radius: 999px; padding: 9px 15px; font-weight: 700; }
.search-trigger:hover { border-color: var(--gold); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 11px; background: var(--white); padding: 10px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

.search-modal[hidden] { display: none !important; }
.search-modal { position: fixed; inset: 0; z-index: 160; display: grid; place-items: start center; padding: 10vh 20px 30px; }
.search-backdrop { position: absolute; inset: 0; background: rgba(43,38,29,.62); }
.search-dialog { position: relative; width: min(720px, 100%); background: var(--paper); border-radius: var(--radius-xl); box-shadow: 0 28px 90px rgba(24,20,15,.28); padding: 28px; }
.search-dialog-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.search-dialog h2 { margin: 0; color: var(--ink); font-size: 1.45rem; }
.icon-button { border: 1px solid var(--line); background: var(--white); color: var(--text); border-radius: 10px; padding: 8px 12px; }
.search-form { margin-top: 24px; }
.search-form label { display: block; margin-bottom: 8px; font-weight: 700; color: var(--ink); }
.search-field-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.search-field-row input { width: 100%; min-height: 46px; border: 1px solid var(--line-strong); border-radius: 12px; padding: 10px 13px; background: var(--white); color: var(--text); outline: none; }
.search-field-row input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217,162,27,.13); }
.search-hint { margin: 12px 0 0; color: var(--muted); font-size: .88rem; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border-radius: 12px; border: 1px solid transparent; font-weight: 760; line-height: 1.25; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--accent); color: var(--white); box-shadow: 0 8px 20px rgba(233,103,63,.2); }
.button.primary:hover { background: #D95E39; }
.button.secondary { background: #F4E4B8; color: #62480D; border-color: #E8D198; }
.button.ghost { background: var(--white); color: var(--ink); border-color: var(--line-strong); }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.text-link { color: #76560C; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #D6B765; }
.text-link:hover { color: var(--accent); }

.breadcrumbs { padding: 22px 0 8px; }
.breadcrumbs ol { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: .86rem; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs li:not(:last-child)::after { content: "/"; color: #B9AD95; }
.breadcrumbs a:hover { color: var(--accent); }

.hero-entry { padding: 46px 0 34px; }
.hero-entry-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr); gap: 38px; align-items: stretch; }
.hero-copy { padding: clamp(16px, 3vw, 42px) 0; }
.hero-copy h1 { margin: 0; max-width: 780px; color: var(--ink); font-size: clamp(2.25rem, 5vw, 4.8rem); line-height: 1.04; letter-spacing: -.045em; }
.hero-copy h1 span { display: block; margin-top: 10px; color: #8A6410; font-size: .48em; letter-spacing: -.02em; }
.hero-copy .lede { margin: 22px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-route-note { margin: 26px 0 0; padding-left: 15px; border-left: 3px solid var(--gold-soft); color: var(--muted); max-width: 720px; }
.hero-visual { position: relative; min-height: 500px; overflow: hidden; border-radius: 34px 34px 12px 34px; background: var(--sand); box-shadow: var(--shadow); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual figcaption { position: absolute; left: 18px; right: 18px; bottom: 18px; background: rgba(255,253,247,.92); border: 1px solid rgba(255,255,255,.8); border-radius: 16px; padding: 14px 16px; color: var(--ink); font-weight: 700; backdrop-filter: blur(10px); }

.section { padding: 70px 0; }
.section.compact { padding: 46px 0; }
.section.sand { background: var(--sand); }
.section.dark { background: var(--ink); color: #F8F1E4; }
.section-head { display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; margin-bottom: 28px; }
.section-head-copy { max-width: 780px; }
.section-head h2 { margin: 0; color: var(--ink); font-size: clamp(1.65rem, 3vw, 2.55rem); line-height: 1.18; letter-spacing: -.025em; }
.section-head p:not(.eyebrow) { margin: 10px 0 0; color: var(--muted); }
.dark .section-head h2 { color: #FFF8E9; }
.dark .section-head p:not(.eyebrow) { color: #CFC5B3; }
.dark .eyebrow { color: var(--gold-soft); }

.route-pair { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.route-main, .route-side { border: 1px solid var(--line); background: var(--white); border-radius: var(--radius-xl); overflow: hidden; }
.route-main { display: grid; grid-template-columns: .95fr 1.05fr; min-height: 320px; }
.route-main img { width: 100%; height: 100%; object-fit: cover; }
.route-copy { padding: 30px; align-self: center; }
.route-copy h3, .route-side h3 { margin: 0 0 10px; color: var(--ink); font-size: 1.55rem; line-height: 1.25; }
.route-copy p, .route-side p { color: var(--muted); }
.route-side { padding: 30px; display: flex; flex-direction: column; justify-content: space-between; background: #FFF9EC; }
.route-side ul { margin: 18px 0 0; padding-left: 20px; color: #5F584D; }

.watch-index { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; }
.watch-index-aside { position: sticky; top: 100px; padding: 22px; border-radius: var(--radius-lg); background: var(--sand); border: 1px solid var(--line); }
.watch-index-aside h3 { margin: 0 0 10px; color: var(--ink); font-size: 1rem; }
.watch-index-aside p { margin: 0; color: var(--muted); font-size: .92rem; }
.category-links { display: grid; gap: 7px; margin-top: 16px; }
.category-links a { padding: 8px 10px; border-radius: 9px; color: #5D564B; font-weight: 700; }
.category-links a:hover, .category-links a[aria-current="page"] { background: #F0D99D; color: #5B410A; }
.index-list { border-top: 1px solid var(--line-strong); }
.index-item { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.index-item h3 { margin: 0; color: var(--ink); font-size: 1.18rem; line-height: 1.35; }
.index-item p { margin: 8px 0 0; color: var(--muted); }
.index-item .index-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pill { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 9px; border-radius: 999px; background: var(--sand); color: #6A6257; font-size: .76rem; font-weight: 700; }
.index-thumb { width: 150px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 15px; background: var(--sand); }

.editorial-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.editorial-lead { padding: 34px; border-radius: var(--radius-xl); background: #FFF9EC; border: 1px solid var(--line); }
.editorial-lead img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 18px; margin-bottom: 24px; }
.editorial-lead h3 { margin: 0; color: var(--ink); font-size: 1.65rem; line-height: 1.24; }
.editorial-lead p { color: var(--muted); }
.editorial-list { display: grid; border-top: 1px solid var(--line); }
.editorial-row { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 42px 1fr; gap: 16px; }
.editorial-row .number { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #F3E1AF; color: #6A4D0B; font-size: .82rem; font-weight: 900; }
.editorial-row h3 { margin: 0; color: var(--ink); font-size: 1.02rem; }
.editorial-row p { margin: 5px 0 0; color: var(--muted); font-size: .92rem; }

.topic-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .7fr); gap: 26px; align-items: center; }
.topic-band-copy { padding: 20px 0; }
.topic-band-copy h2 { margin: 0; font-size: clamp(1.8rem, 3.4vw, 3rem); color: #FFF8E9; line-height: 1.16; }
.topic-band-copy p { color: #D5CBB8; max-width: 760px; }
.topic-band-image { border-radius: 24px; overflow: hidden; min-height: 330px; background: #3B3429; }
.topic-band-image img { width: 100%; height: 100%; object-fit: cover; opacity: .88; }
.topic-links { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 9px; }
.topic-links a { border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.07); color: #FFF8E9; border-radius: 999px; padding: 8px 12px; font-weight: 700; }
.topic-links a:hover { background: rgba(241,201,106,.15); border-color: rgba(241,201,106,.55); }

.app-strip { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 30px; align-items: center; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--white); box-shadow: var(--shadow-soft); }
.app-strip-copy h2 { margin: 0; color: var(--ink); font-size: 1.8rem; }
.app-strip-copy p { margin: 10px 0 0; color: var(--muted); }
.app-strip img { width: 100%; max-height: 220px; object-fit: cover; border-radius: 18px; }

.steps-line { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.step-cell { padding: 26px 22px; border-right: 1px solid var(--line); }
.step-cell:last-child { border-right: 0; }
.step-cell strong { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; align-items: center; justify-content: center; background: #F2DB9F; color: #674A0B; font-size: .82rem; }
.step-cell h3 { margin: 13px 0 6px; color: var(--ink); font-size: 1rem; }
.step-cell p { margin: 0; color: var(--muted); font-size: .9rem; }

.faq-preview { display: grid; grid-template-columns: .7fr 1.3fr; gap: 34px; align-items: start; }
.faq-preview-intro { position: sticky; top: 110px; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; text-align: left; border: 0; background: transparent; padding: 20px 0; color: var(--ink); font-weight: 800; }
.faq-question::after { content: "+"; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: #76560C; font-size: 1.1rem; }
.faq-question[aria-expanded="true"]::after { content: "−"; }
.faq-answer { padding: 0 42px 20px 0; color: var(--muted); }
.faq-answer[hidden] { display: none; }

.page-hero { padding: 42px 0 48px; border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px); gap: 40px; align-items: center; }
.page-hero h1 { margin: 0; color: var(--ink); font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.08; letter-spacing: -.04em; }
.page-hero p.lede { margin: 18px 0 0; }
.page-hero img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 28px; background: var(--sand); box-shadow: var(--shadow-soft); }
.page-intro-note { margin-top: 20px; display: inline-flex; gap: 8px; align-items: center; padding: 9px 12px; border-radius: 999px; background: var(--sand); color: #6A6256; font-size: .83rem; font-weight: 700; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 0 2px; }
.filter-bar a { display: inline-flex; align-items: center; min-height: 38px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: #635B50; font-weight: 700; font-size: .88rem; }
.filter-bar a:hover, .filter-bar a[aria-current="page"] { background: #F4E4B8; color: #62480D; border-color: #E4C879; }
.result-note { color: var(--muted); margin: 12px 0 0; font-size: .88rem; }

.watch-list-page .watch-index { margin-top: 28px; }
.watch-note-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.watch-note { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.watch-note h3 { margin: 0; color: var(--ink); font-size: 1.06rem; }
.watch-note p { margin: 8px 0 0; color: var(--muted); }

.update-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.update-column { border-top: 4px solid var(--gold); padding: 22px 0 0; }
.update-column h2 { margin: 0; color: var(--ink); font-size: 1.25rem; }
.update-column ul { margin: 16px 0 0; padding: 0; list-style: none; }
.update-column li { position: relative; padding: 13px 0 13px 22px; border-bottom: 1px solid var(--line); color: #5F584D; }
.update-column li::before { content: ""; position: absolute; left: 0; top: 24px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.timeline { margin-top: 28px; border-left: 2px solid #E3D4B2; padding-left: 26px; }
.timeline-item { position: relative; padding: 0 0 28px 12px; }
.timeline-item::before { content: ""; position: absolute; left: -34px; top: 8px; width: 12px; height: 12px; border: 3px solid var(--paper); background: var(--gold); border-radius: 50%; box-shadow: 0 0 0 1px #D3BB7C; }
.timeline-item h3 { margin: 0; color: var(--ink); }
.timeline-item p { margin: 6px 0 0; color: var(--muted); }

.topic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.topic-card { min-height: 330px; position: relative; overflow: hidden; border-radius: 24px; background: var(--ink); color: var(--white); }
.topic-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.topic-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(43,38,29,.93), rgba(43,38,29,.18)); }
.topic-card-copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 26px; }
.topic-card h2 { margin: 0; font-size: 1.5rem; line-height: 1.22; }
.topic-card p { margin: 8px 0 14px; color: #E7DFD2; }
.topic-card a { font-weight: 800; color: var(--gold-soft); }

.app-detail-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 34px; align-items: start; }
.app-visual-stack { display: grid; gap: 16px; position: sticky; top: 106px; }
.app-visual-stack img { width: 100%; border-radius: 24px; background: var(--sand); box-shadow: var(--shadow-soft); }
.info-block { padding: 24px 0; border-bottom: 1px solid var(--line); }
.info-block:first-child { padding-top: 0; }
.info-block h2 { margin: 0; color: var(--ink); font-size: 1.45rem; }
.info-block p { margin: 9px 0 0; color: var(--muted); }
.info-block ul { margin: 12px 0 0; padding-left: 20px; color: #5E574D; }
.notice-box { margin-top: 22px; padding: 18px 20px; border-left: 4px solid var(--accent); background: #FFF4EF; color: #654A40; border-radius: 0 14px 14px 0; }

.guide-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 36px; align-items: start; }
.guide-toc { position: sticky; top: 106px; border: 1px solid var(--line); border-radius: 18px; padding: 20px; background: var(--white); }
.guide-toc h2 { margin: 0 0 10px; color: var(--ink); font-size: 1rem; }
.guide-toc a { display: block; padding: 8px 0; color: #645C51; border-bottom: 1px dashed #E1D6C0; font-size: .9rem; }
.guide-toc a:last-child { border-bottom: 0; }
.guide-toc a:hover { color: var(--accent); }
.guide-content { min-width: 0; }
.guide-section { padding: 0 0 34px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.guide-section h2 { margin: 0; color: var(--ink); font-size: 1.55rem; }
.guide-section p { color: #5D564C; }
.guide-highlight { display: grid; grid-template-columns: 1fr 250px; gap: 24px; align-items: center; margin: 26px 0; padding: 24px; background: var(--sand); border-radius: 22px; }
.guide-highlight img { width: 100%; border-radius: 16px; }

.prose-page { max-width: 880px; margin-inline: auto; }
.prose-page h1 { margin: 10px 0 18px; color: var(--ink); font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.1; letter-spacing: -.035em; }
.prose-page h2 { margin: 38px 0 12px; color: var(--ink); font-size: 1.45rem; line-height: 1.3; }
.prose-page p, .prose-page li { color: #5D564D; }
.prose-page img { margin: 26px 0; border-radius: 24px; width: 100%; max-height: 440px; object-fit: cover; background: var(--sand); }
.prose-page ul, .prose-page ol { padding-left: 22px; }
.prose-page .callout { margin: 24px 0; padding: 20px; background: var(--sand); border: 1px solid var(--line); border-radius: 16px; }

.story-article { padding-bottom: 74px; }
.story-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: 40px; align-items: center; padding: 30px 0 46px; }
.story-head h1 { margin: 0; color: var(--ink); font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.08; letter-spacing: -.04em; }
.story-head .lede { margin: 18px 0 0; }
.story-figure { margin: 0; border-radius: 28px; overflow: hidden; min-height: 360px; background: var(--sand); }
.story-figure img { width: 100%; height: 100%; object-fit: cover; }
.story-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 46px; align-items: start; }
.story-body { min-width: 0; }
.prose-section { padding: 0 0 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.prose-section h2 { margin: 0 0 10px; color: var(--ink); font-size: 1.55rem; }
.prose-section p { margin: 0; color: #5B544A; }
.story-aside { position: sticky; top: 106px; padding: 22px; border: 1px solid var(--line); background: var(--sand); border-radius: 20px; }
.story-aside h2 { margin: 0; color: var(--ink); font-size: 1.05rem; }
.check-list { margin: 14px 0 18px; padding: 0; list-style: none; counter-reset: checks; }
.check-list li { position: relative; padding: 11px 0 11px 34px; border-bottom: 1px solid #E2D6BD; color: #5D564B; counter-increment: checks; }
.check-list li::before { content: counter(checks); position: absolute; left: 0; top: 12px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-soft); color: #5D430C; font-size: .74rem; font-weight: 900; }
.related-strip { margin-top: 46px; padding: 28px; border-radius: 22px; background: var(--ink); color: var(--white); display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: center; }
.related-strip h2 { margin: 0; color: #FFF8E9; font-size: 1.45rem; }
.related-links { display: grid; gap: 8px; }
.related-links a { padding: 10px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; color: #F8EBCB; }
.related-links a:hover { border-color: var(--gold-soft); }

.search-page .search-main-form { margin: 24px 0 38px; padding: 22px; border: 1px solid var(--line); background: var(--sand); border-radius: 18px; }
.search-results { border-top: 1px solid var(--line-strong); }
.search-result { padding: 22px 0; border-bottom: 1px solid var(--line); }
.search-result .result-type { display: inline-flex; padding: 3px 8px; border-radius: 999px; background: #F2DFAE; color: #6B4E0B; font-size: .72rem; font-weight: 850; }
.search-result h2 { margin: 8px 0 0; color: var(--ink); font-size: 1.16rem; }
.search-result p { margin: 7px 0 0; color: var(--muted); }
.empty-state { padding: 30px; border-radius: 18px; background: var(--sand); border: 1px solid var(--line); }
.empty-state h2 { margin: 0; color: var(--ink); }
.empty-state p { color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 26px; }
.contact-panel { padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); }
.contact-panel h2 { margin: 0; color: var(--ink); }
.contact-panel p { color: var(--muted); }
.contact-list { margin: 0; padding: 0; list-style: none; }
.contact-list li { padding: 12px 0; border-bottom: 1px solid var(--line); color: #5E574D; }
.contact-list li:last-child { border-bottom: 0; }

.not-found { min-height: 62vh; padding-bottom: 70px; }
.not-found-panel { max-width: 760px; margin: 38px auto 0; padding: 42px; border: 1px solid var(--line); border-radius: 28px; background: var(--white); box-shadow: var(--shadow-soft); text-align: center; }
.status-code { margin: 0; color: var(--gold); font-size: 5rem; line-height: 1; font-weight: 900; letter-spacing: -.06em; }
.not-found-panel h1 { margin: 14px 0 8px; color: var(--ink); font-size: 2rem; }
.not-found-panel p { color: var(--muted); }
.not-found-panel .button-row { justify-content: center; }

.site-footer { margin-top: 0; background: #241F18; color: #D9D0C2; padding: 54px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, .7fr); gap: 34px; }
.site-footer h2 { margin: 0 0 12px; color: #FFF6E4; font-size: 1rem; }
.site-footer p { margin: 0; color: #BFB6A8; font-size: .9rem; }
.site-footer a { display: block; padding: 4px 0; color: #D9D0C2; font-size: .9rem; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-brand { max-width: 430px; }
.footer-home-link { margin-top: 14px; font-weight: 800; }
.footer-bottom { margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.11); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.back-top { border: 1px solid rgba(255,255,255,.2); background: transparent; color: #F5EAD7; border-radius: 999px; padding: 8px 12px; }

@media (max-width: 1100px) {
    .header-inner { grid-template-columns: auto auto 1fr auto; gap: 14px; }
    .menu-toggle { display: block; justify-self: end; }
    .primary-nav { position: absolute; top: 76px; left: 20px; right: 20px; display: none; grid-template-columns: repeat(2, 1fr); gap: 6px; padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
    .primary-nav.is-open { display: grid; }
    .search-trigger { grid-column: 4; }
    .hero-entry-grid { grid-template-columns: 1fr .8fr; }
    .hero-visual { min-height: 430px; }
    .route-pair { grid-template-columns: 1fr; }
    .watch-index { grid-template-columns: 210px 1fr; gap: 24px; }
    .steps-line { grid-template-columns: repeat(2, 1fr); }
    .step-cell:nth-child(2) { border-right: 0; }
    .step-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .footer-grid { grid-template-columns: 1.2fr repeat(2, .8fr); }
    .footer-grid section:last-child { grid-column: 2 / 4; }
}

@media (max-width: 900px) {
    .container { width: min(calc(100% - 30px), var(--container)); }
    .hero-entry { padding-top: 28px; }
    .hero-entry-grid, .page-hero-grid, .story-head, .topic-band, .app-strip, .app-detail-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero-visual { min-height: 390px; max-height: 520px; }
    .route-main { grid-template-columns: 1fr; }
    .route-main img { max-height: 320px; }
    .watch-index, .guide-layout, .story-layout { grid-template-columns: 1fr; }
    .watch-index-aside, .guide-toc, .story-aside, .faq-preview-intro, .app-visual-stack { position: static; }
    .watch-index-aside { display: grid; grid-template-columns: 1fr 2fr; gap: 18px; }
    .category-links { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
    .editorial-columns { grid-template-columns: 1fr; }
    .faq-preview { grid-template-columns: 1fr; }
    .update-columns { grid-template-columns: 1fr; }
    .topic-grid { grid-template-columns: 1fr 1fr; }
    .guide-highlight { grid-template-columns: 1fr 200px; }
    .related-strip { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid .footer-brand, .footer-grid section:last-child { grid-column: auto; }
}

@media (max-width: 680px) {
    body { font-size: 15px; }
    .container { width: min(calc(100% - 24px), var(--container)); }
    .site-header { position: sticky; }
    .header-inner { min-height: 68px; grid-template-columns: 1fr auto auto; }
    .brand-logo { width: 36px; height: 36px; }
    .brand-copy small { display: none; }
    .menu-toggle { grid-column: 2; }
    .search-trigger { grid-column: 3; padding: 8px 10px; font-size: .84rem; }
    .primary-nav { top: 68px; left: 12px; right: 12px; grid-template-columns: 1fr; max-height: calc(100vh - 90px); overflow: auto; }
    .hero-copy h1 { font-size: clamp(2rem, 12vw, 3.15rem); }
    .hero-visual { min-height: 330px; border-radius: 24px 24px 10px 24px; }
    .section { padding: 52px 0; }
    .section.compact { padding: 36px 0; }
    .section-head { display: block; }
    .section-head .button { margin-top: 14px; }
    .watch-index-aside { grid-template-columns: 1fr; }
    .category-links { grid-template-columns: repeat(2, 1fr); }
    .index-item { grid-template-columns: 1fr; }
    .index-thumb { width: 100%; aspect-ratio: 16 / 7; }
    .topic-grid, .watch-note-grid { grid-template-columns: 1fr; }
    .topic-card { min-height: 290px; }
    .steps-line { grid-template-columns: 1fr; }
    .step-cell { border-right: 0; border-bottom: 1px solid var(--line); }
    .step-cell:last-child { border-bottom: 0; }
    .guide-highlight { grid-template-columns: 1fr; }
    .search-field-row { grid-template-columns: 1fr; }
    .search-dialog { padding: 22px; border-radius: 22px; }
    .search-dialog-head { display: block; }
    .icon-button { margin-top: 12px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { align-items: flex-start; flex-direction: column; }
    .not-found-panel { padding: 30px 20px; }
}

@media (max-width: 420px) {
    .brand-copy strong { font-size: .95rem; }
    .search-trigger { font-size: .78rem; padding-inline: 8px; }
    .hero-actions .button, .button-row .button { width: 100%; }
    .category-links { grid-template-columns: 1fr; }
    .page-hero { padding-top: 24px; }
    .page-hero img { border-radius: 20px; }
    .story-figure { min-height: 250px; }
}
