:root {
    --brand: #E85D75;
    --brand-strong: #D93F63;
    --accent: #F2A65A;
    --ink: #332D34;
    --ink-strong: #2F2530;
    --muted: #756A73;
    --paper: #FFF9F6;
    --panel: #F8EEF0;
    --panel-strong: #F3E1E5;
    --white: #FFFFFF;
    --line: rgba(47, 37, 48, 0.12);
    --line-strong: rgba(47, 37, 48, 0.22);
    --shadow-sm: 0 10px 28px rgba(76, 38, 52, 0.08);
    --shadow-md: 0 20px 52px rgba(76, 38, 52, 0.12);
    --shadow-lg: 0 30px 90px rgba(76, 38, 52, 0.14);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --radius-xl: 42px;
    --content: 1180px;
    --content-narrow: 820px;
    --header-height: 76px;
    --transition: 180ms ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--paper);
    color: var(--ink);
    font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.72;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

a:hover {
    text-decoration-thickness: 2px;
}

button,
input,
select {
    font: inherit;
}

button,
select {
    cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(217, 63, 99, 0.28);
    outline-offset: 3px;
}

::selection {
    background: rgba(232, 93, 117, 0.2);
    color: var(--ink-strong);
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 2000;
    transform: translateY(-180%);
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--ink-strong);
    color: var(--white);
    text-decoration: none;
    transition: transform var(--transition);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: var(--header-height);
    border-bottom: 1px solid rgba(47, 37, 48, 0.08);
    background: rgba(255, 249, 246, 0.94);
    backdrop-filter: blur(16px);
}

.header-shell {
    width: min(calc(100% - 40px), var(--content));
    min-height: var(--header-height);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink-strong);
    text-decoration: none;
    flex: 0 0 auto;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 15px 15px 15px 6px;
    background: var(--brand);
    color: var(--white);
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(232, 93, 117, 0.26);
}

.brand-copy {
    display: grid;
    line-height: 1.15;
}

.brand-copy strong {
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.brand-copy small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.72rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav a {
    position: relative;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 650;
    text-decoration: none;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.site-nav a:hover {
    background: var(--panel);
    color: var(--ink-strong);
    transform: translateY(-1px);
}

.site-nav .nav-link.is-active {
    background: var(--panel-strong);
    color: var(--brand-strong);
}

.nav-search-link {
    margin-left: 6px;
    border: 1px solid var(--line);
    background: var(--white);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
}

.nav-toggle span {
    display: block;
    width: 19px;
    height: 2px;
    margin: 4px auto;
    border-radius: 2px;
    background: var(--ink-strong);
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.site-main {
    overflow: clip;
}

.hero,
.page-hero,
.section,
.not-found-section {
    width: min(calc(100% - 40px), var(--content));
    margin-inline: auto;
}

.hero {
    padding: 54px 0 38px;
}

.hero-grid,
.page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    align-items: center;
    gap: clamp(34px, 6vw, 82px);
}

.hero-copy,
.page-hero-copy {
    max-width: 700px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--brand-strong);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.not-found-card h1 {
    margin: 0;
    color: var(--ink-strong);
    font-size: clamp(2.35rem, 5vw, 5rem);
    line-height: 1.06;
    letter-spacing: -0.045em;
    font-weight: 900;
}

.page-hero h1 {
    font-size: clamp(2.25rem, 4.6vw, 4.3rem);
}

.hero-lead,
.page-hero-copy > p:not(.eyebrow) {
    max-width: 650px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    line-height: 1.9;
}

.hero-actions,
.inline-actions,
.transition-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
}

.button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--brand-strong);
    color: var(--white);
    box-shadow: 0 12px 28px rgba(217, 63, 99, 0.22);
}

.button-primary:hover {
    box-shadow: 0 16px 34px rgba(217, 63, 99, 0.28);
}

.button-secondary {
    background: var(--ink-strong);
    color: var(--white);
    box-shadow: 0 12px 28px rgba(47, 37, 48, 0.16);
}

.button-ghost {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.68);
    color: var(--ink-strong);
}

.button-ghost:hover {
    background: var(--white);
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 0.9rem;
}

.hero-points li {
    position: relative;
    padding-left: 17px;
}

.hero-points li::before {
    content: "";
    position: absolute;
    top: 0.68em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.hero-visual,
.page-hero-media {
    position: relative;
    margin: 0;
    min-height: 460px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--panel-strong);
    box-shadow: var(--shadow-lg);
}

.hero-visual::before,
.page-hero-media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to top, rgba(47, 37, 48, 0.34), rgba(47, 37, 48, 0) 44%);
}

.hero-visual img,
.page-hero-media img {
    width: 100%;
    height: 100%;
    min-height: 460px;
    object-fit: cover;
}

.hero-visual figcaption {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 2;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 16px;
    background: rgba(47, 37, 48, 0.62);
    color: var(--white);
    font-size: 0.88rem;
    backdrop-filter: blur(10px);
}

.section {
    padding: 68px 0;
}

.section-tight {
    padding-top: 44px;
}

.section-topless {
    padding-top: 24px;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 30px;
}

.section-heading h2,
.feature-band h2,
.soft-panel h2,
.desktop-preview h2,
.watch-layout h2,
.content-transition h2 {
    margin: 0;
    color: var(--ink-strong);
    font-size: clamp(1.75rem, 3vw, 3rem);
    line-height: 1.18;
    letter-spacing: -0.035em;
}

.section-heading p:not(.eyebrow),
.heading-note {
    color: var(--muted);
}

.split-heading {
    max-width: none;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}

.split-heading > div {
    max-width: 760px;
}

.heading-note {
    max-width: 360px;
    margin: 0;
    font-size: 0.95rem;
}

.compact-heading {
    max-width: none;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-strong);
    font-weight: 800;
    text-decoration: none;
}

.text-link:hover span {
    transform: translateX(3px);
}

.text-link span {
    transition: transform var(--transition);
}

.content-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.story-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.story-card:hover {
    transform: translateY(-5px);
    border-color: rgba(217, 63, 99, 0.22);
    box-shadow: var(--shadow-md);
}

.story-card > img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: var(--panel);
}

.story-card-body {
    padding: 22px;
}

.story-card h3,
.highlight-card h3,
.guide-card h3,
.desktop-guide-card h3,
.search-result-item h3,
.mini-content-list h3 {
    margin: 13px 0 10px;
    color: var(--ink-strong);
    font-size: 1.2rem;
    line-height: 1.38;
}

.story-card p,
.highlight-card p,
.guide-card p,
.desktop-guide-card p,
.search-result-item p,
.mini-content-list p {
    margin: 0;
    color: var(--muted);
}

.story-card a,
.highlight-card a,
.mini-content-list a {
    display: inline-flex;
    margin-top: 16px;
    color: var(--brand-strong);
    font-weight: 800;
    text-decoration: none;
}

.status-badge,
.mini-label {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--panel-strong);
    color: var(--brand-strong);
    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0.02em;
}

.feature-band {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    align-items: center;
    gap: clamp(36px, 6vw, 84px);
    margin-top: 32px;
    padding: clamp(40px, 6vw, 74px);
    border-radius: var(--radius-xl);
    background: var(--ink-strong);
    color: var(--white);
}

.feature-band .eyebrow {
    color: #FFC78D;
}

.feature-band h2 {
    color: var(--white);
}

.feature-band p:not(.eyebrow) {
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.74);
}

.feature-band .button-primary {
    background: var(--brand);
}

.feature-band .text-link {
    color: #FFD2DA;
}

.feature-band-media {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.22);
}

.feature-band-media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.highlight-card {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: linear-gradient(145deg, var(--white), rgba(248, 238, 240, 0.82));
}

.highlight-card h3 {
    font-size: 1.35rem;
}

.highlight-card a {
    margin-top: auto;
    padding-top: 20px;
}

.soft-panel {
    padding: clamp(34px, 5vw, 64px);
    border: 1px solid rgba(232, 93, 117, 0.12);
    border-radius: var(--radius-xl);
    background: var(--panel);
}

.soft-panel-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
    align-items: center;
    gap: clamp(34px, 6vw, 78px);
}

.soft-panel p:not(.eyebrow) {
    color: var(--muted);
}

.check-list {
    margin: 24px 0 28px;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    margin: 11px 0;
    padding-left: 30px;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    top: 0.04em;
    left: 0;
    width: 21px;
    height: 21px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(217, 63, 99, 0.12);
    color: var(--brand-strong);
    font-size: 0.72rem;
    font-weight: 900;
}

.stacked-media {
    position: relative;
    min-height: 440px;
    margin: 0;
}

.stacked-media img {
    position: absolute;
    width: 70%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border: 8px solid var(--paper);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.stacked-media img:first-child {
    top: 0;
    left: 0;
}

.stacked-media img:last-child {
    right: 0;
    bottom: 0;
}

.desktop-preview {
    display: grid;
    grid-template-columns: minmax(420px, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: clamp(36px, 6vw, 78px);
}

.desktop-preview-media {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--panel);
    box-shadow: var(--shadow-md);
}

.desktop-preview-media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.desktop-preview-copy p:not(.eyebrow) {
    color: var(--muted);
}

.index-strip {
    padding-top: 36px;
    padding-bottom: 92px;
}

.pill-links,
.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill-links a,
.filter-pills a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.pill-links a:hover,
.filter-pills a:hover,
.filter-pills a[aria-current="page"] {
    transform: translateY(-1px);
    border-color: rgba(217, 63, 99, 0.28);
    background: var(--panel-strong);
    color: var(--brand-strong);
}

.page-hero {
    padding: 62px 0 44px;
}

.compact-page-hero {
    padding-bottom: 24px;
}

.compact-page-hero .page-hero-copy {
    max-width: 860px;
}

.breadcrumb {
    margin: 0 0 24px;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 0.86rem;
}

.breadcrumb li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb li:not(:last-child)::after {
    content: "/";
    color: rgba(117, 106, 115, 0.45);
}

.breadcrumb a {
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--brand-strong);
}

.filter-form {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
}

.filter-form label {
    font-weight: 800;
}

.filter-form select {
    min-width: 180px;
    min-height: 44px;
    padding: 8px 38px 8px 13px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: var(--paper);
    color: var(--ink-strong);
}

.filter-form .button {
    min-height: 44px;
}

.result-count {
    margin: 22px 0 18px;
    color: var(--muted);
    font-size: 0.92rem;
}

.catalog-grid {
    display: grid;
    gap: 24px;
}

.catalog-card {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 0;
    scroll-margin-top: calc(var(--header-height) + 24px);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.catalog-card-media {
    margin: 0;
    background: var(--panel);
}

.catalog-card-media img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

.catalog-card-body {
    padding: clamp(25px, 4vw, 42px);
}

.catalog-card-body h2 {
    margin: 14px 0 12px;
    color: var(--ink-strong);
    font-size: clamp(1.45rem, 2.2vw, 2.05rem);
    line-height: 1.25;
}

.catalog-card-body p {
    max-width: 760px;
}

.catalog-card-body p:not(.card-summary) {
    color: var(--muted);
}

.card-summary {
    color: var(--ink);
    font-weight: 650;
}

.card-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 0.82rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.tag-list li {
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--panel);
    color: var(--muted);
    font-size: 0.78rem;
}

.content-transition {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 44px;
    margin-bottom: 54px;
    padding: clamp(34px, 5vw, 60px);
    border-radius: var(--radius-xl);
    background: var(--ink-strong);
    color: var(--white);
}

.content-transition h2 {
    max-width: 720px;
    color: var(--white);
}

.content-transition p:not(.eyebrow) {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.72);
}

.content-transition .eyebrow {
    color: #FFC78D;
}

.content-transition .button-ghost {
    border-color: rgba(255, 255, 255, 0.28);
    background: transparent;
    color: var(--white);
}

.watch-hero .page-hero-media,
.desktop-hero .page-hero-media {
    min-height: 430px;
}

.watch-hero .page-hero-media img,
.desktop-hero .page-hero-media img {
    min-height: 430px;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.guide-card {
    position: relative;
    min-height: 330px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
}

.step-number {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--brand);
    color: var(--white);
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(232, 93, 117, 0.24);
}

.guide-card ul {
    margin: 20px 0 0;
    padding: 0 0 0 20px;
    color: var(--muted);
}

.guide-card li + li {
    margin-top: 8px;
}

.watch-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
    gap: 30px;
}

.watch-layout-main {
    padding: clamp(28px, 4vw, 46px);
    border-radius: var(--radius-lg);
    background: var(--panel);
}

.watch-layout-main > p:not(.eyebrow),
.watch-layout-aside dd {
    color: var(--muted);
}

.mini-content-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
}

.mini-content-list article {
    padding: 20px;
    border: 1px solid rgba(47, 37, 48, 0.08);
    border-radius: 18px;
    background: var(--white);
}

.mini-content-list h3 {
    font-size: 1.04rem;
}

.watch-layout-aside {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
}

.watch-layout-aside h2 {
    font-size: 1.4rem;
}

.detail-list {
    margin: 22px 0 0;
}

.detail-list > div {
    padding: 16px 0;
    border-top: 1px solid var(--line);
}

.detail-list dt {
    color: var(--brand-strong);
    font-weight: 850;
}

.detail-list dd {
    margin: 5px 0 0;
    font-size: 0.9rem;
}

.faq-section {
    max-width: 960px;
    padding-bottom: 96px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-list details {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    overflow: clip;
}

.faq-list summary {
    position: relative;
    padding: 20px 56px 20px 22px;
    cursor: pointer;
    color: var(--ink-strong);
    font-weight: 800;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 22px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--panel);
    color: var(--brand-strong);
    font-size: 1.1rem;
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-answer {
    padding: 0 22px 22px;
    color: var(--muted);
}

.faq-answer p {
    margin: 0;
}

.desktop-guide-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.desktop-guide-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
}

.desktop-guide-card h3 {
    font-size: 1.28rem;
}

.desktop-comparison {
    padding-top: 36px;
}

.comparison-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
}

.comparison-table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.comparison-table thead th {
    background: var(--panel);
    color: var(--ink-strong);
    font-size: 0.9rem;
}

.comparison-table tbody th {
    width: 150px;
    color: var(--brand-strong);
    font-size: 0.9rem;
}

.comparison-table tbody td {
    color: var(--muted);
}

.comparison-table tr:last-child th,
.comparison-table tr:last-child td {
    border-bottom: 0;
}

.reverse-on-wide {
    grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1fr);
}

.single-media {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.single-media img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
}

.search-hero {
    padding-bottom: 10px;
}

.search-form {
    max-width: 720px;
    display: flex;
    gap: 10px;
    margin-top: 28px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.search-form input {
    min-width: 0;
    flex: 1;
    border: 0;
    background: transparent;
    color: var(--ink-strong);
    padding: 10px 12px;
    outline: none;
}

.search-form input::placeholder {
    color: #A397A0;
}

.search-results {
    min-height: 440px;
    padding-bottom: 94px;
}

.search-result-list {
    display: grid;
    gap: 14px;
}

.search-result-item {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
}

.search-result-item h3 {
    margin-top: 10px;
}

.search-result-item h3 a {
    color: var(--ink-strong);
    text-decoration: none;
}

.search-result-item h3 a:hover {
    color: var(--brand-strong);
}

.empty-state {
    max-width: 760px;
    margin: 30px auto 0;
    padding: clamp(36px, 6vw, 72px);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--white);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.empty-state h2 {
    margin: 0;
    color: var(--ink-strong);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.empty-state p {
    color: var(--muted);
}

.centered-pills {
    justify-content: center;
    margin-top: 24px;
}

.not-found-section {
    min-height: calc(100vh - var(--header-height) - 240px);
    display: grid;
    place-items: center;
    padding: 70px 0 100px;
}

.not-found-card {
    width: min(100%, 720px);
    padding: clamp(40px, 7vw, 82px);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--white);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.error-code {
    display: block;
    margin-bottom: 8px;
    color: var(--brand);
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -0.08em;
}

.not-found-card h1 {
    font-size: clamp(2rem, 5vw, 3.3rem);
}

.not-found-card p {
    color: var(--muted);
}

.centered-actions {
    justify-content: center;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: var(--white);
}

.footer-shell {
    width: min(calc(100% - 40px), var(--content));
    margin: 0 auto;
    padding: 46px 0 30px;
}

.footer-primary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.footer-brand {
    margin: 0;
    color: var(--ink-strong);
    font-size: 1.25rem;
    font-weight: 900;
}

.footer-note {
    max-width: 470px;
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 18px;
}

.footer-nav a {
    color: var(--muted);
    font-size: 0.9rem;
    text-decoration: none;
}

.footer-nav a:hover {
    color: var(--brand-strong);
}

.footer-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 20px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: #998E96;
    font-size: 0.78rem;
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 800;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--brand-strong);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Medium desktop */
@media (max-width: 1100px) {
    :root {
        --content: 980px;
    }

    .content-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-grid,
    .page-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
        gap: 44px;
    }

    .feature-band {
        grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
    }

    .mini-content-list {
        grid-template-columns: 1fr;
    }
}

/* Tablet and compact desktop */
@media (max-width: 900px) {
    :root {
        --header-height: 68px;
    }

    .header-shell,
    .hero,
    .page-hero,
    .section,
    .not-found-section,
    .footer-shell {
        width: min(calc(100% - 30px), var(--content));
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: fixed;
        top: calc(var(--header-height) + 1px);
        right: 0;
        bottom: 0;
        width: min(380px, 88vw);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 22px;
        border-left: 1px solid var(--line);
        background: var(--paper);
        box-shadow: -20px 20px 50px rgba(47, 37, 48, 0.12);
        transform: translateX(105%);
        visibility: hidden;
        transition: transform 220ms ease, visibility 220ms ease;
    }

    .site-nav::before {
        content: "网站导航";
        margin-bottom: 8px;
        color: var(--muted);
        font-size: 0.75rem;
        font-weight: 800;
        letter-spacing: 0.12em;
    }

    .site-nav.is-open {
        transform: translateX(0);
        visibility: visible;
    }

    .site-nav a {
        padding: 13px 15px;
        border-radius: 14px;
    }

    .nav-search-link {
        margin: 10px 0 0;
        text-align: center;
    }

    .hero-grid,
    .page-hero-grid,
    .feature-band,
    .soft-panel-grid,
    .desktop-preview,
    .reverse-on-wide {
        grid-template-columns: 1fr;
    }

    .hero-copy,
    .page-hero-copy {
        max-width: none;
    }

    .hero-visual,
    .page-hero-media {
        min-height: 380px;
    }

    .hero-visual img,
    .page-hero-media img,
    .watch-hero .page-hero-media img,
    .desktop-hero .page-hero-media img {
        min-height: 380px;
    }

    .feature-band {
        gap: 34px;
    }

    .feature-band-media {
        order: -1;
    }

    .highlight-grid,
    .guide-grid {
        grid-template-columns: 1fr 1fr;
    }

    .highlight-card:last-child,
    .guide-card:last-child {
        grid-column: 1 / -1;
    }

    .stacked-media {
        max-width: 640px;
        min-height: 520px;
        margin-inline: auto;
    }

    .desktop-preview-media {
        order: 2;
    }

    .catalog-card {
        grid-template-columns: 240px minmax(0, 1fr);
    }

    .watch-layout {
        grid-template-columns: 1fr;
    }

    .watch-layout-aside {
        position: static;
    }

    .mini-content-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .content-transition {
        align-items: flex-start;
        flex-direction: column;
    }

    .transition-actions {
        margin-top: 0;
    }
}

/* Large phones and small tablets */
@media (max-width: 700px) {
    .hero,
    .page-hero {
        padding-top: 38px;
    }

    .section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .section-heading {
        margin-bottom: 24px;
    }

    .split-heading {
        display: block;
    }

    .split-heading .text-link,
    .heading-note {
        display: inline-flex;
        margin-top: 16px;
    }

    .content-rail,
    .highlight-grid,
    .guide-grid,
    .desktop-guide-grid,
    .mini-content-list {
        grid-template-columns: 1fr;
    }

    .highlight-card:last-child,
    .guide-card:last-child {
        grid-column: auto;
    }

    .feature-band,
    .soft-panel {
        padding: 30px;
        border-radius: 28px;
    }

    .stacked-media {
        min-height: 440px;
    }

    .catalog-card {
        grid-template-columns: 1fr;
    }

    .catalog-card-media img {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .filter-form {
        align-items: stretch;
        flex-direction: column;
    }

    .filter-form select {
        width: 100%;
    }

    .search-form {
        align-items: stretch;
        flex-direction: column;
        padding: 10px;
    }

    .footer-primary {
        flex-direction: column;
    }

    .footer-nav {
        justify-content: flex-start;
    }
}

/* Phones */
@media (max-width: 520px) {
    :root {
        --radius-xl: 28px;
    }

    body {
        font-size: 15.5px;
    }

    .header-shell,
    .hero,
    .page-hero,
    .section,
    .not-found-section,
    .footer-shell {
        width: min(calc(100% - 24px), var(--content));
    }

    .brand-copy small {
        display: none;
    }

    .hero h1,
    .page-hero h1 {
        letter-spacing: -0.035em;
    }

    .hero-actions,
    .inline-actions,
    .transition-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .button,
    .inline-actions .button,
    .transition-actions .button {
        width: 100%;
    }

    .hero-visual,
    .page-hero-media,
    .watch-hero .page-hero-media,
    .desktop-hero .page-hero-media {
        min-height: 320px;
        border-radius: 24px;
    }

    .hero-visual img,
    .page-hero-media img,
    .watch-hero .page-hero-media img,
    .desktop-hero .page-hero-media img {
        min-height: 320px;
    }

    .hero-points {
        display: grid;
    }

    .story-card-body,
    .highlight-card,
    .guide-card,
    .desktop-guide-card,
    .search-result-item {
        padding: 20px;
    }

    .feature-band,
    .soft-panel,
    .content-transition {
        width: calc(100% - 24px);
        padding: 24px;
        border-radius: 24px;
    }

    .stacked-media {
        min-height: 360px;
    }

    .stacked-media img {
        width: 72%;
        border-width: 5px;
        border-radius: 20px;
    }

    .catalog-card {
        border-radius: 22px;
    }

    .catalog-card-body {
        padding: 22px;
    }

    .filter-pills,
    .pill-links {
        gap: 8px;
    }

    .filter-pills a,
    .pill-links a {
        font-size: 0.84rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 15px 16px;
    }

    .faq-list summary {
        padding-left: 18px;
        padding-right: 52px;
    }

    .faq-answer {
        padding-right: 18px;
        padding-left: 18px;
    }

    .footer-meta {
        display: grid;
    }

    .back-to-top {
        right: 14px;
        bottom: 14px;
        width: 42px;
        height: 42px;
    }
}

/* Very narrow devices */
@media (max-width: 380px) {
    .header-shell,
    .hero,
    .page-hero,
    .section,
    .not-found-section,
    .footer-shell {
        width: min(calc(100% - 18px), var(--content));
    }

    .brand-mark {
        width: 38px;
        height: 38px;
        border-radius: 13px 13px 13px 5px;
    }

    .nav-toggle {
        width: 40px;
        height: 40px;
    }

    .feature-band,
    .soft-panel,
    .content-transition {
        width: calc(100% - 18px);
        padding: 20px;
    }

    .hero-visual,
    .page-hero-media,
    .watch-hero .page-hero-media,
    .desktop-hero .page-hero-media {
        min-height: 280px;
    }

    .hero-visual img,
    .page-hero-media img,
    .watch-hero .page-hero-media img,
    .desktop-hero .page-hero-media img {
        min-height: 280px;
    }

    .story-card h3,
    .highlight-card h3,
    .guide-card h3,
    .desktop-guide-card h3 {
        font-size: 1.08rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media print {
    .site-header,
    .site-footer,
    .back-to-top,
    .hero-actions,
    .inline-actions,
    .transition-actions,
    .filter-form,
    .filter-pills {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
        font-size: 12pt;
    }

    .hero,
    .page-hero,
    .section,
    .not-found-section {
        width: 100%;
        padding: 18pt 0;
    }

    .hero-grid,
    .page-hero-grid,
    .feature-band,
    .soft-panel-grid,
    .desktop-preview,
    .watch-layout,
    .catalog-card {
        display: block;
    }

    .hero-visual,
    .page-hero-media,
    .feature-band-media,
    .stacked-media,
    .desktop-preview-media,
    .single-media,
    .catalog-card-media {
        display: none;
    }

    .feature-band,
    .soft-panel,
    .content-transition,
    .catalog-card,
    .story-card,
    .guide-card,
    .highlight-card,
    .desktop-guide-card {
        border: 1px solid #bbb;
        background: #fff;
        color: #000;
        box-shadow: none;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}

/* Progressive enhancement and resilience states */
.site-header.is-compact {
    box-shadow: 0 8px 26px rgba(47, 37, 48, 0.07);
}

.site-header.is-compact .header-shell {
    min-height: 64px;
}

.site-header.is-compact .brand-mark {
    transform: scale(0.94);
}

.header-shell,
.brand-mark {
    transition: min-height var(--transition), transform var(--transition), box-shadow var(--transition);
}

img.is-loaded {
    opacity: 1;
}

img.is-missing {
    min-height: 180px;
    opacity: 0;
}

.story-card:has(img.is-missing) > img,
.catalog-card-media:has(img.is-missing),
.hero-visual:has(img.is-missing),
.page-hero-media:has(img.is-missing),
.feature-band-media:has(img.is-missing),
.desktop-preview-media:has(img.is-missing),
.single-media:has(img.is-missing) {
    background:
        radial-gradient(circle at 24% 20%, rgba(232, 93, 117, 0.18), transparent 32%),
        linear-gradient(135deg, var(--panel), var(--panel-strong));
}

.hero-visual:has(img.is-missing)::after,
.page-hero-media:has(img.is-missing)::after {
    content: "红果漫剧";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(47, 37, 48, 0.44);
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: 0.08em;
}

.js-ready .story-card,
.js-ready .highlight-card,
.js-ready .guide-card,
.js-ready .desktop-guide-card,
.js-ready .catalog-card {
    will-change: transform;
}

.catalog-card:target {
    border-color: rgba(217, 63, 99, 0.48);
    box-shadow: 0 0 0 4px rgba(217, 63, 99, 0.08), var(--shadow-md);
}

.catalog-card:target .catalog-card-body h2 {
    color: var(--brand-strong);
}

.filter-form button:active,
.button:active,
.nav-toggle:active,
.back-to-top:active {
    transform: translateY(0) scale(0.98);
}

.search-form:focus-within,
.filter-form:focus-within {
    border-color: rgba(217, 63, 99, 0.32);
    box-shadow: 0 0 0 4px rgba(217, 63, 99, 0.07), var(--shadow-sm);
}

.search-form input[type="search"]::-webkit-search-cancel-button {
    cursor: pointer;
}

.filter-form select:hover {
    border-color: rgba(217, 63, 99, 0.35);
}

.comparison-table tbody tr:hover td,
.comparison-table tbody tr:hover th {
    background: rgba(248, 238, 240, 0.48);
}

.faq-list details[open] {
    border-color: rgba(217, 63, 99, 0.22);
    box-shadow: 0 10px 28px rgba(76, 38, 52, 0.06);
}

.faq-list details[open] summary {
    color: var(--brand-strong);
}

.catalog-card,
.story-card,
.highlight-card,
.guide-card,
.desktop-guide-card,
.search-result-item,
.faq-list details {
    contain: layout paint;
}

.hero-copy,
.page-hero-copy,
.section-heading,
.catalog-card-body,
.watch-layout-main,
.watch-layout-aside {
    overflow-wrap: anywhere;
}

@supports (text-wrap: balance) {
    .hero h1,
    .page-hero h1,
    .section-heading h2,
    .feature-band h2,
    .soft-panel h2,
    .desktop-preview h2,
    .content-transition h2 {
        text-wrap: balance;
    }
}

@supports (text-wrap: pretty) {
    .hero-lead,
    .page-hero-copy > p:not(.eyebrow),
    .story-card p,
    .catalog-card-body p,
    .guide-card p,
    .desktop-guide-card p,
    .faq-answer p {
        text-wrap: pretty;
    }
}

@supports not (backdrop-filter: blur(1px)) {
    .site-header {
        background: rgba(255, 249, 246, 0.99);
    }

    .hero-visual figcaption {
        background: rgba(47, 37, 48, 0.9);
    }
}

@supports not selector(:has(*)) {
    img.is-missing {
        display: none;
    }
}

@media (hover: hover) and (pointer: fine) {
    .catalog-card:hover {
        border-color: rgba(217, 63, 99, 0.2);
        box-shadow: var(--shadow-md);
    }

    .catalog-card:hover .catalog-card-media img {
        transform: scale(1.015);
    }

    .catalog-card-media img {
        transition: transform 260ms ease;
    }

    .pill-links a:hover,
    .filter-pills a:hover {
        box-shadow: 0 8px 20px rgba(76, 38, 52, 0.07);
    }

    .footer-nav a:hover,
    .breadcrumb a:hover {
        text-decoration: underline;
    }
}

@media (pointer: coarse) {
    .button,
    .site-nav a,
    .pill-links a,
    .filter-pills a,
    .faq-list summary {
        min-height: 46px;
    }

    .filter-form select,
    .search-form input {
        min-height: 48px;
    }
}

@media (prefers-contrast: more) {
    :root {
        --line: rgba(47, 37, 48, 0.28);
        --line-strong: rgba(47, 37, 48, 0.5);
        --muted: #5E535C;
    }

    .button-primary,
    .button-secondary,
    .brand-mark {
        box-shadow: none;
    }

    .status-badge,
    .mini-label,
    .pill-links a,
    .filter-pills a {
        border: 1px solid currentColor;
    }

    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    select:focus-visible,
    summary:focus-visible {
        outline-width: 4px;
        outline-color: var(--brand-strong);
    }
}

@media (orientation: landscape) and (max-height: 520px) and (max-width: 900px) {
    .site-nav {
        overflow-y: auto;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .site-nav a {
        min-height: 38px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .hero,
    .page-hero {
        padding-top: 28px;
    }
}

@media (min-width: 1280px) {
    .home-hero {
        padding-top: 68px;
    }

    .content-rail {
        gap: 24px;
    }

    .catalog-card-body {
        padding-right: 52px;
    }

    .watch-layout {
        gap: 40px;
    }
}

@media (min-width: 1500px) {
    :root {
        --content: 1240px;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
    }

    .hero-visual {
        min-height: 500px;
    }

    .hero-visual img {
        min-height: 500px;
    }
}
