:root {
    --brand: #E85D75;
    --brand-deep: #D93F63;
    --warm: #F2A65A;
    --ink: #2F2530;
    --text: #332D34;
    --muted: #756A73;
    --paper: #FFF9F6;
    --soft: #F8EEF0;
    --line: #EADDE1;
    --white: #FFFFFF;
    --shadow: 0 18px 48px rgba(70, 42, 51, .10);
    --shadow-soft: 0 10px 28px rgba(70, 42, 51, .08);
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 11px;
    --max: 1180px;
    --focus: 3px solid #2F2530;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    background: var(--paper);
    color: var(--text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
:focus-visible { outline: var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.skip-link {
    position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 10px 14px; border-radius: 10px;
    background: var(--ink); color: #fff; transform: translateY(-140%); transition: transform .18s ease;
}
.skip-link:focus { transform: translateY(0); }
.scroll-marker { position: absolute; width: 1px; height: 1px; top: 0; left: 0; pointer-events: none; }
.site-header {
    position: sticky; top: 0; z-index: 100; border-bottom: 1px solid transparent;
    background: rgba(255, 249, 246, .93); backdrop-filter: blur(16px); transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px rgba(70, 42, 51, .06); }
.header-shell {
    width: min(calc(100% - 40px), var(--max)); min-height: 76px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 30px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 182px; }
.brand img { width: 46px; height: 46px; object-fit: contain; border-radius: 14px; background: var(--soft); }
.brand-copy { display: grid; line-height: 1.25; }
.brand-copy strong { font-size: 1.05rem; color: var(--ink); letter-spacing: .03em; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: .76rem; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a { position: relative; padding: 10px 14px; border-radius: 12px; color: #554A52; font-size: .94rem; text-decoration: none; transition: background .18s ease, color .18s ease; }
.site-nav a:hover { background: var(--soft); color: var(--ink); }
.site-nav a[aria-current="page"] { background: #F3D8DE; color: #9E2949; font-weight: 700; }
.menu-toggle { display: none; width: 46px; height: 42px; padding: 9px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 4px 0; border-radius: 999px; background: var(--ink); }
.page-shell, .section, .hero-shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.hero { padding: 52px 0 36px; }
.hero-shell { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(340px, .98fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.hero-copy { padding: 28px 0; }
.eyebrow { margin: 0 0 12px; color: var(--brand-deep); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; color: var(--ink); line-height: 1.2; letter-spacing: -.025em; }
h1 { margin-bottom: 20px; font-size: clamp(2.35rem, 6vw, 4.6rem); }
h2 { margin-bottom: 16px; font-size: clamp(1.75rem, 3.8vw, 2.8rem); }
h3 { margin-bottom: 10px; font-size: 1.16rem; }
p { margin-top: 0; }
.hero-lead { max-width: 680px; margin-bottom: 28px; color: #5F535B; font-size: clamp(1.05rem, 2vw, 1.24rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 11px 20px; border: 1px solid transparent; border-radius: 999px; font-weight: 760; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--brand-deep); color: #fff; box-shadow: 0 10px 24px rgba(217, 63, 99, .22); }
.button-primary:hover { background: #BF3152; }
.button-secondary { border-color: #DABFC6; background: rgba(255,255,255,.72); color: var(--ink); }
.button-secondary:hover { background: #fff; box-shadow: var(--shadow-soft); }
.hero-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 34px 0 0; padding: 0; list-style: none; }
.hero-points li { padding: 15px 16px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,.68); }
.hero-points strong, .hero-points span { display: block; }
.hero-points strong { color: var(--ink); font-size: .92rem; }
.hero-points span { margin-top: 5px; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.hero-visual { position: relative; margin: 0; padding: 16px; border: 1px solid #EEDDE2; border-radius: var(--radius-xl); background: linear-gradient(145deg, #F7E0E5, #FFF5EC); box-shadow: var(--shadow); }
.hero-visual::before { content: ""; position: absolute; width: 120px; height: 120px; right: -20px; top: -22px; border-radius: 50%; background: rgba(242,166,90,.20); filter: blur(2px); }
.hero-visual img { width: 100%; aspect-ratio: 1.24; object-fit: cover; border-radius: 24px; background: #F2E7E9; }
.hero-visual figcaption { padding: 12px 6px 2px; color: var(--muted); font-size: .8rem; }
.section { padding: 74px 0; }
.section-heading { max-width: 760px; margin-bottom: 30px; }
.section-heading > p:last-child { color: var(--muted); }
.split-heading { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr); gap: 30px; align-items: end; }
.split-heading > p { margin-bottom: 4px; }
.content-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.content-grid-wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.content-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.82); box-shadow: 0 8px 22px rgba(70,42,51,.045); }
.card-media { position: relative; display: block; overflow: hidden; background: var(--soft); text-decoration: none; }
.card-media img { width: 100%; aspect-ratio: 1.45; object-fit: cover; transition: transform .35s ease; }
.content-card:hover .card-media img { transform: scale(1.025); }
.status-chip { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; min-height: 28px; padding: 4px 9px; border-radius: 999px; background: rgba(47,37,48,.88); color: #fff; font-size: .72rem; font-weight: 800; }
.large-chip { position: static; margin-bottom: 16px; background: var(--brand-deep); }
.card-body { padding: 20px; }
.card-body .eyebrow { margin-bottom: 6px; font-size: .7rem; }
.card-body h3 a { text-decoration: none; }
.card-body p { color: var(--muted); font-size: .92rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0 18px; padding: 0; list-style: none; }
.tag-list li { padding: 5px 9px; border-radius: 999px; background: var(--soft); color: #725D66; font-size: .74rem; }
.large-tags li { padding: 7px 11px; font-size: .82rem; }
.text-link { display: inline-flex; align-items: center; color: #B42D51; font-weight: 720; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.strong-link { font-size: 1rem; }
.section-cta { margin-top: 24px; }
.web-watch-band { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: 60px; align-items: center; padding: 60px; border-radius: var(--radius-xl); background: var(--ink); color: #F9EFF2; }
.web-watch-band h2, .web-watch-band h3 { color: #fff; }
.web-watch-band .eyebrow { color: #F7B7C6; }
.web-watch-band > .watch-copy > p { color: #E1D7DC; }
.watch-media { margin: 0; }
.watch-media img { width: 100%; border-radius: 24px; aspect-ratio: 1.2; object-fit: cover; background: #493B49; }
.feature-list.compact { display: grid; gap: 12px; margin: 28px 0; }
.feature-list.compact article { padding: 16px 18px; border-left: 2px solid #F2A65A; background: rgba(255,255,255,.06); border-radius: 0 12px 12px 0; }
.feature-list.compact h3 { margin-bottom: 4px; font-size: 1rem; }
.feature-list.compact p { margin-bottom: 0; color: #D9CBD1; font-size: .88rem; }
.section-updates { padding-top: 92px; }
.update-list { border-top: 1px solid var(--line); }
.update-row { display: grid; grid-template-columns: 120px 240px 1fr; gap: 30px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--line); }
.update-row h3 { margin: 0; }
.update-row p { margin: 0; color: var(--muted); }
.update-kicker { display: inline-flex; width: max-content; padding: 5px 9px; border-radius: 999px; background: #F4DBE1; color: #A82D4D; font-size: .75rem; font-weight: 800; }
.desktop-teaser { display: grid; grid-template-columns: minmax(320px,.95fr) minmax(0,1.05fr); gap: 60px; align-items: center; }
.desktop-image img { width: 100%; aspect-ratio: 1.32; object-fit: cover; border-radius: var(--radius-xl); background: var(--soft); box-shadow: var(--shadow-soft); }
.check-list { display: grid; gap: 8px; margin: 24px 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--brand-deep); font-weight: 900; }
.related-strip { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; margin-bottom: 70px; padding: 40px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: linear-gradient(135deg, #FFFDFC, #F8EEF0); }
.related-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.related-links a { display: grid; align-content: center; min-height: 150px; padding: 24px; border: 1px solid #E8D5DA; border-radius: 20px; background: #fff; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.related-links a:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.related-links strong { color: var(--ink); }
.related-links span { margin-top: 8px; color: var(--muted); font-size: .88rem; }
.breadcrumbs { width: min(100%, var(--max)); margin: 22px auto 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .82rem; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: #B5A6AC; }
.breadcrumbs a { text-decoration: none; }
.page-hero { display: grid; grid-template-columns: 1fr .85fr; gap: 54px; align-items: center; padding: 50px 0 34px; }
.page-hero h1, .page-title-block h1, .topic-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.page-hero p, .page-title-block p, .topic-hero p { color: var(--muted); font-size: 1.03rem; }
.page-hero figure { margin: 0; }
.page-hero figure img { width: 100%; aspect-ratio: 1.48; object-fit: cover; border-radius: var(--radius-xl); background: var(--soft); }
.compact-hero { padding-bottom: 14px; }
.narrow-section { padding-top: 52px; }
.scenario-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.scenario-card { padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.scenario-card p { color: var(--muted); }
.scenario-card ul { margin: 16px 0 0; padding-left: 20px; color: #5D535A; }
.scenario-card li + li { margin-top: 7px; }
.filter-section { padding-top: 54px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; }
.filter-button { min-height: 40px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; }
.filter-button:hover { border-color: #D8B7C0; }
.filter-button.is-active { border-color: var(--brand-deep); background: var(--brand-deep); color: #fff; }
.two-column-copy { display: grid; grid-template-columns: 1fr 380px; gap: 54px; align-items: start; }
.tip-panel { padding: 26px; border-radius: 22px; background: var(--soft); }
.tip-panel ol { margin: 14px 0 0; padding-left: 22px; }
.tip-panel li + li { margin-top: 8px; }
.soft-section { width: min(calc(100% - 40px), var(--max)); margin-bottom: 60px; padding-inline: 34px; border-radius: var(--radius-xl); background: #F7E9EC; }
.next-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.next-card { min-height: 150px; padding: 22px; border-radius: 20px; background: #fff; text-decoration: none; }
.next-card strong, .next-card span { display: block; }
.next-card span { margin-top: 10px; color: var(--muted); font-size: .9rem; }
.page-title-block { max-width: 860px; padding: 62px 0 18px; }
.library-grid-section { padding-top: 42px; }
.editorial-section { padding-top: 50px; }
.editorial-list { border-top: 1px solid var(--line); }
.editorial-list article { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.editorial-index { color: var(--brand); font-size: .82rem; font-weight: 850; letter-spacing: .08em; }
.editorial-list h3 { margin-bottom: 5px; }
.editorial-list p { margin-bottom: 0; color: var(--muted); }
.visual-note { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.visual-note figure { margin: 0; }
.visual-note img { width: 100%; aspect-ratio: 1.4; object-fit: cover; border-radius: 28px; background: var(--soft); }
.desktop-hero { padding-top: 54px; }
.desktop-tip-section { padding-top: 52px; }
.desktop-tip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.desktop-tip-grid article { min-height: 190px; padding: 23px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.desktop-tip-grid p { margin-bottom: 0; color: var(--muted); }
.desktop-flow { display: grid; grid-template-columns: 1fr .8fr; gap: 56px; align-items: center; }
.desktop-flow figure { margin: 0; }
.desktop-flow figure img { width: 100%; aspect-ratio: 1.05; object-fit: cover; border-radius: var(--radius-xl); background: var(--soft); }
.step-list { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.step-list li { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 15px 0; border-top: 1px solid var(--line); }
.step-list strong { color: var(--brand-deep); }
.keyboard-section { padding-top: 36px; padding-bottom: 86px; }
.keyboard-card { padding: 38px; border-radius: var(--radius-xl); background: var(--ink); color: #EFE4E8; }
.keyboard-card h2 { color: #fff; }
.keyboard-card .eyebrow { color: #F5BBC7; }
.key-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.key-row span { padding: 9px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: rgba(255,255,255,.05); }
kbd { min-width: 32px; padding: 3px 7px; border: 1px solid rgba(255,255,255,.32); border-bottom-width: 2px; border-radius: 7px; background: rgba(0,0,0,.18); color: #fff; font: inherit; font-size: .78rem; font-weight: 800; }
.faq-title { padding-bottom: 34px; }
.faq-section { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 44px; align-items: start; padding-top: 20px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h2 { margin: 0; font-size: 1.08rem; }
.faq-item button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; border: 0; background: transparent; text-align: left; cursor: pointer; }
.faq-item button span { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: var(--soft); transition: transform .18s ease; }
.faq-item button[aria-expanded="true"] span { transform: rotate(45deg); }
.faq-answer { padding: 0 50px 22px 0; color: var(--muted); }
.faq-aside { position: sticky; top: 104px; padding: 18px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.faq-aside img { width: 100%; aspect-ratio: 1.2; object-fit: cover; border-radius: 17px; background: var(--soft); }
.faq-aside h2 { margin: 20px 4px 12px; font-size: 1.15rem; }
.faq-aside a { display: block; padding: 10px 4px; border-top: 1px solid var(--line); text-decoration: none; }
.topic-hero { display: grid; grid-template-columns: 1fr .86fr; gap: 56px; align-items: center; padding: 54px 0 36px; }
.topic-hero figure { margin: 0; }
.topic-hero figure img { width: 100%; aspect-ratio: 1.36; object-fit: cover; border-radius: var(--radius-xl); background: var(--soft); }
.topic-detail-section { padding-top: 44px; }
.topic-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.topic-detail-grid article { padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.topic-detail-grid article > span { display: inline-block; margin-bottom: 28px; color: var(--brand); font-size: .78rem; font-weight: 900; letter-spacing: .1em; }
.topic-detail-grid p { margin-bottom: 0; color: var(--muted); }
.topic-next { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; margin-bottom: 64px; padding: 36px; border-radius: var(--radius-xl); background: var(--soft); }
.not-found { max-width: 760px; margin: 0 auto; padding: 110px 0 130px; text-align: center; }
.not-found .hero-actions { justify-content: center; }
.site-footer { margin-top: 18px; background: var(--ink); color: #E8DDE1; }
.footer-shell { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 46px 0 30px; }
.footer-primary { display: grid; grid-template-columns: 220px 1fr; gap: 30px; align-items: start; padding-bottom: 28px; }
.footer-brand { color: #fff; font-size: 1.25rem; font-weight: 820; text-decoration: none; }
.footer-primary p { max-width: 660px; margin: 0; color: #CFC1C7; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-links a { color: #F5ECEF; text-decoration: none; }
.footer-note { margin: 20px 0 0; color: #AFA0A7; font-size: .78rem; }
.reveal-ready { opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .45s ease; }
.reveal-ready.is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 1080px) {
    .content-grid { grid-template-columns: repeat(2, 1fr); }
    .content-grid-wide { grid-template-columns: repeat(2, 1fr); }
    .hero-shell { grid-template-columns: 1fr .88fr; gap: 38px; }
    .hero-points { grid-template-columns: 1fr; }
    .web-watch-band { padding: 44px; gap: 36px; }
    .update-row { grid-template-columns: 100px 200px 1fr; gap: 20px; }
    .desktop-tip-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .hero-shell, .page-hero, .topic-hero, .desktop-teaser, .desktop-flow, .visual-note { grid-template-columns: 1fr; }
    .hero-visual { max-width: 720px; }
    .web-watch-band { grid-template-columns: 1fr; }
    .watch-media { order: -1; }
    .split-heading { grid-template-columns: 1fr; gap: 4px; }
    .update-row { grid-template-columns: 90px 1fr; }
    .update-row p { grid-column: 2; }
    .related-strip { grid-template-columns: 1fr; }
    .two-column-copy { grid-template-columns: 1fr; }
    .faq-section { grid-template-columns: 1fr; }
    .faq-aside { position: static; }
    .topic-next { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
    .header-shell { min-height: 68px; }
    .menu-toggle { display: block; }
    .site-nav { position: fixed; inset: 68px 0 auto 0; display: none; max-height: calc(100vh - 68px); overflow: auto; padding: 14px 20px 24px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow-soft); }
    .site-nav.is-open { display: grid; }
    .site-nav a { padding: 13px 14px; }
    body.menu-open { overflow: hidden; }
    .hero { padding-top: 30px; }
    .section { padding-top: 58px; padding-bottom: 58px; }
    .page-title-block { padding-top: 44px; }
    .page-hero, .topic-hero { padding-top: 40px; }
}
@media (max-width: 700px) {
    .page-shell, .section, .hero-shell, .header-shell, .footer-shell { width: min(calc(100% - 28px), var(--max)); }
    h1 { font-size: clamp(2rem, 11vw, 3rem); }
    h2 { font-size: clamp(1.55rem, 8vw, 2.25rem); }
    .hero-lead { font-size: 1rem; }
    .content-grid, .content-grid-wide, .scenario-grid, .desktop-tip-grid, .topic-detail-grid, .next-grid, .related-links { grid-template-columns: 1fr; }
    .web-watch-band, .soft-section { width: min(calc(100% - 28px), var(--max)); padding: 28px; }
    .related-strip { width: min(calc(100% - 28px), var(--max)); padding: 28px; }
    .update-row { grid-template-columns: 1fr; gap: 9px; }
    .update-row p { grid-column: auto; }
    .hero-actions { display: grid; }
    .button { width: 100%; }
    .footer-primary { grid-template-columns: 1fr; gap: 12px; }
    .topic-next { padding: 26px; }
    .faq-answer { padding-right: 0; }
    .step-list li { grid-template-columns: 74px 1fr; }
}
@media (max-width: 420px) {
    .brand-copy small { display: none; }
    .brand { min-width: 0; }
    .hero { padding-top: 20px; }
    .card-body, .scenario-card, .desktop-tip-grid article, .topic-detail-grid article { padding: 20px; }
    .web-watch-band, .related-strip, .soft-section { padding: 22px; border-radius: 24px; }
    .keyboard-card { padding: 26px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
    .reveal-ready { opacity: 1; transform: none; }
}
@media print {
    .site-header, .site-footer, .menu-toggle, .hero-actions, .filter-bar { display: none !important; }
    body { background: #fff; color: #000; }
    .section, .page-shell { width: 100%; padding: 20px 0; }
    a { text-decoration: none; }
}

/* Home-specific reading rhythm */
.page-home .section-content { padding-top: 58px; }
.page-home .content-card:nth-child(2n) { transform: translateY(14px); }
.page-home .web-watch-band { margin-top: 18px; }
.page-home .related-strip h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
.page-watch .compact-hero > div { max-width: 720px; }
.page-watch .filter-section .content-card[hidden] { display: none; }
.page-library .page-title-block { max-width: 920px; }
.page-library .editorial-list article:nth-child(odd) .editorial-index { color: var(--warm); }
.page-desktop .desktop-hero figure img { aspect-ratio: 1.33; }
.page-desktop .desktop-tip-grid article:nth-child(2),
.page-desktop .desktop-tip-grid article:nth-child(5) { background: #FFF5ED; }
.page-faq .faq-title { max-width: 760px; }
.topic-serial .topic-hero figure { background: #F7E8EA; }
.topic-finished .topic-hero figure { background: #F8EFEA; }
.topic-vertical .topic-hero figure { background: #F4E9EC; }
.topic-ai .topic-hero figure { background: #FAEEE8; }
.topic-anime .topic-hero figure { background: #F6ECEF; }
.topic-comic .topic-hero figure { background: #FFF1E8; }
@supports (text-wrap: balance) {
    h1, h2 { text-wrap: balance; }
}
@supports (text-wrap: pretty) {
    p { text-wrap: pretty; }
}

@media (min-width: 1200px) {
    .page-home .hero-copy { padding-right: 18px; }
    .content-grid-wide .content-card .card-body { min-height: 252px; display: flex; flex-direction: column; }
    .content-grid-wide .content-card .text-link { margin-top: auto; }
    .topic-detail-grid article { min-height: 220px; }
}
@media (min-width: 821px) {
    .site-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 99px; background: var(--brand); transform: scaleX(0); transform-origin: center; transition: transform .18s ease; }
    .site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
}
@media (min-width: 701px) and (max-width: 900px) {
    .page-hero figure, .topic-hero figure, .desktop-flow figure { max-width: 720px; }
    .desktop-teaser .desktop-image { max-width: 760px; }
}
@media (hover: hover) {
    .next-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-2px); }
    .content-card:hover { border-color: #DFC6CD; box-shadow: var(--shadow-soft); }
}
@media (hover: none) {
    .button:hover, .related-links a:hover, .content-card:hover .card-media img { transform: none; }
}

/* Detailed browsing guides */
.browse-guide-section { padding-top: 48px; }
.browse-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.browse-guide-card { display: flex; min-height: 330px; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.86); }
.browse-guide-card:nth-child(4n+2) { background: #FFF5EF; }
.browse-guide-card:nth-child(4n+3) { background: #FAF0F2; }
.guide-label { display: inline-flex; width: max-content; margin-bottom: 18px; padding: 5px 9px; border-radius: 999px; background: #F2DDE2; color: #A42C4B; font-size: .72rem; font-weight: 800; }
.browse-guide-card h3 { font-size: 1.12rem; }
.browse-guide-card > p { color: var(--muted); font-size: .91rem; }
.browse-guide-card ul { display: grid; gap: 6px; margin: 12px 0 18px; padding-left: 20px; font-size: .86rem; }
.browse-guide-card .guide-fit { margin-top: auto; margin-bottom: 0; padding-top: 15px; border-top: 1px solid rgba(117,106,115,.18); color: #655A61; }
.browse-guide-card .guide-fit strong { color: var(--ink); }

/* Watch scenario checklists */
.watch-checklist-section { padding-top: 52px; }
.watch-checklist-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.watch-check-card { padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.watch-check-card:nth-child(odd) { box-shadow: 0 8px 24px rgba(70,42,51,.035); }
.watch-check-card p { color: var(--muted); }
.watch-check-card ol { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: watch-step; }
.watch-check-card li { position: relative; padding: 10px 0 10px 38px; border-top: 1px solid var(--line); counter-increment: watch-step; font-size: .88rem; }
.watch-check-card li::before { content: counter(watch-step); position: absolute; left: 0; top: 10px; display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: var(--soft); color: var(--brand-deep); font-size: .72rem; font-weight: 850; }

/* Responsive comparison table */
.compare-section { padding-top: 34px; }
.compare-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.compare-table { width: 100%; min-width: 760px; border-collapse: collapse; text-align: left; }
.compare-table th, .compare-table td { padding: 18px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table thead th { background: var(--soft); color: var(--ink); font-size: .84rem; }
.compare-table tbody th { width: 150px; color: var(--ink); font-size: .9rem; }
.compare-table tbody td { color: var(--muted); font-size: .9rem; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:hover { background: #FFFCFA; }

/* Additional reading and interaction refinements */
.content-card, .scenario-card, .watch-check-card, .browse-guide-card, .desktop-tip-grid article, .topic-detail-grid article { contain: layout paint; }
.card-body h3, .browse-guide-card h3, .watch-check-card h3 { overflow-wrap: anywhere; }
.page-library .browse-guide-section + .visual-note { padding-top: 62px; }
.page-watch .watch-checklist-section + .two-column-copy { padding-top: 62px; }
.page-desktop .compare-section + .keyboard-section { padding-top: 54px; }
@media (max-width: 1080px) {
    .browse-guide-grid, .watch-checklist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .browse-guide-grid, .watch-checklist-grid { grid-template-columns: 1fr; }
    .browse-guide-card { min-height: 0; }
    .compare-table-wrap { margin-right: -14px; padding-right: 14px; border-right: 0; border-radius: 20px 0 0 20px; }
}
@media (prefers-contrast: more) {
    :root { --line: #B8A7AD; --muted: #5A4D54; }
    .button-secondary, .content-card, .scenario-card, .browse-guide-card, .watch-check-card { border-width: 2px; }
}

/* Long FAQ readability and large-screen spacing */
.faq-list .faq-item:nth-child(3n+2) { background: linear-gradient(90deg, rgba(248,238,240,.42), rgba(248,238,240,0)); }
.faq-list .faq-item button { padding-left: 10px; padding-right: 10px; }
.faq-list .faq-answer { padding-left: 10px; }
@media (min-width: 1180px) {
    .faq-section { grid-template-columns: minmax(0, 1fr) 350px; gap: 56px; }
    .faq-item button { min-height: 72px; }
    .browse-guide-grid { gap: 18px; }
    .watch-checklist-grid { gap: 18px; }
}
@media (max-width: 520px) {
    .faq-item h2 { font-size: 1rem; }
    .faq-item button { gap: 12px; }
    .faq-item button span { flex: 0 0 28px; width: 28px; height: 28px; }
    .faq-answer { font-size: .92rem; }
}

/* Fine-grained accessibility and narrow-screen behavior */
@media (max-width: 380px) {
    .header-shell, .page-shell, .section, .hero-shell, .footer-shell { width: min(calc(100% - 22px), var(--max)); }
    .brand img { width: 42px; height: 42px; }
    .menu-toggle { width: 42px; height: 40px; }
    .hero-points li, .tag-list li { overflow-wrap: anywhere; }
    .footer-links { display: grid; grid-template-columns: 1fr 1fr; }
    .key-row { display: grid; }
}
@media (min-width: 1400px) {
    .hero-shell { gap: 92px; }
    .section-heading { margin-bottom: 34px; }
    .content-grid { gap: 20px; }
    .content-grid-wide { gap: 20px; }
    .web-watch-band { padding: 68px; }
}
@media (orientation: landscape) and (max-height: 560px) and (max-width: 920px) {
    .site-nav { max-height: calc(100vh - 68px); }
    .site-nav a { padding-top: 10px; padding-bottom: 10px; }
    .page-hero, .topic-hero { padding-top: 28px; }
}
@media (forced-colors: active) {
    .button, .filter-button, .content-card, .scenario-card, .watch-check-card, .browse-guide-card { border: 1px solid CanvasText; }
    .status-chip, .guide-label { border: 1px solid CanvasText; }
    .site-nav a[aria-current="page"] { outline: 2px solid CanvasText; }
}
