/* 蜜桃网：柔和清爽、阅读优先的响应式内容站 */
:root {
  --brand: #D96B8A;
  --brand-soft: #F2B8C6;
  --ink: #2C2530;
  --text: #332F33;
  --muted: #756D73;
  --bg: #FFFDFC;
  --panel: #F8F3F5;
  --accent: #E58A45;
  --line: #eadfe3;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(67, 39, 49, .09);
  --shadow-sm: 0 8px 28px rgba(67, 39, 49, .07);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shell: min(1180px, calc(100vw - 40px));
  --narrow: min(900px, calc(100vw - 40px));
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin:0; background:var(--bg); color:var(--text); font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; line-height:1.72; text-rendering:optimizeLegibility; }
img { display:block; max-width:100%; height:auto; }
a { color:inherit; text-decoration:none; }
button,input { font:inherit; }
button { color:inherit; }
::selection { background:rgba(217,107,138,.22); }
.shell { width:var(--shell); margin-inline:auto; }
.narrow-shell { width:var(--narrow); margin-inline:auto; }
.section-pad { padding:88px 0; }
.compact-top { padding-top:56px; }
.tone-panel { background:var(--panel); border-block:1px solid rgba(217,107,138,.12); }
.skip-link { position:fixed; left:16px; top:10px; z-index:999; transform:translateY(-160%); padding:10px 14px; background:var(--ink); color:white; border-radius:8px; }
.skip-link:focus { transform:none; }
.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; }
:focus-visible { outline:3px solid rgba(229,138,69,.42); outline-offset:3px; }

.site-header { position:sticky; top:0; z-index:60; background:rgba(255,253,252,.94); border-bottom:1px solid rgba(44,37,48,.08); backdrop-filter:blur(16px); }
.header-inner { min-height:76px; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:24px; }
.brand { display:flex; align-items:center; gap:11px; min-width:max-content; }
.brand img { width:44px; height:44px; border-radius:14px; object-fit:cover; box-shadow:0 6px 16px rgba(217,107,138,.18); }
.brand-copy { display:grid; line-height:1.12; gap:4px; }
.brand-copy strong { color:var(--ink); font-size:18px; letter-spacing:.04em; }
.brand-copy small { color:var(--muted); font-size:11px; }
.primary-nav { display:flex; justify-content:center; align-items:center; gap:5px; }
.primary-nav a { padding:9px 12px; border-radius:999px; color:#51484f; font-size:14px; transition:background .2s var(--ease),color .2s var(--ease); }
.primary-nav a:hover,.primary-nav a[aria-current="page"] { color:var(--brand); background:rgba(217,107,138,.08); }
.header-search { display:flex; align-items:center; gap:7px; }
.header-search input { width:190px; border:1px solid var(--line); background:white; padding:9px 12px; border-radius:999px; color:var(--text); }
.header-search input::placeholder { color:#a0969c; }
.header-search button { border:0; background:var(--ink); color:white; padding:9px 13px; border-radius:999px; cursor:pointer; }
.nav-toggle { display:none; border:0; background:transparent; padding:8px; cursor:pointer; }
.nav-toggle span { display:block; width:20px; height:2px; background:var(--ink); margin:4px 0; border-radius:2px; }
.nav-toggle b { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }

.eyebrow { margin:0 0 10px; color:var(--brand); font-size:13px; font-weight:750; letter-spacing:.12em; text-transform:uppercase; }
h1,h2,h3 { color:var(--ink); line-height:1.22; margin-top:0; letter-spacing:-.02em; }
h1 { font-size:clamp(38px,5vw,64px); margin-bottom:22px; }
h2 { font-size:clamp(26px,3vw,40px); margin-bottom:16px; }
h3 { font-size:20px; margin-bottom:10px; }
p { margin-top:0; }
.lead { font-size:18px; color:#5f565c; max-width:760px; }
.section-intro { color:var(--muted); max-width:650px; }
.section-heading { margin-bottom:34px; max-width:820px; }
.section-heading p:not(.eyebrow) { color:var(--muted); margin-bottom:0; }
.split-heading { max-width:none; display:grid; grid-template-columns:minmax(0,1.1fr) minmax(280px,.75fr); gap:48px; align-items:end; }
.split-heading>p { margin:0 0 8px; }
.wide-heading { max-width:850px; }

.btn { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:10px 18px; border-radius:999px; border:1px solid transparent; font-weight:700; transition:transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); }
.btn:hover { transform:translateY(-2px); }
.btn-primary { background:var(--brand); color:white; box-shadow:0 10px 24px rgba(217,107,138,.22); }
.btn-primary:hover { box-shadow:0 14px 30px rgba(217,107,138,.28); }
.btn-secondary { background:white; border-color:var(--line); color:var(--ink); }
.btn-secondary:hover { border-color:rgba(217,107,138,.42); }
.text-link { color:var(--brand); font-weight:700; text-underline-offset:3px; }
.text-link:hover { text-decoration:underline; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin-top:28px; }

.home-hero { padding-top:64px; overflow:hidden; }
.hero-grid { display:grid; grid-template-columns:minmax(0,1.02fr) minmax(360px,.98fr); gap:54px; align-items:center; }
.hero-copy { padding:24px 0; }
.hero-copy .lead { max-width:680px; }
.hero-media { position:relative; }
.hero-media:before { content:""; position:absolute; width:76%; aspect-ratio:1; background:rgba(242,184,198,.34); border-radius:50%; right:-12%; top:-11%; filter:blur(1px); }
.hero-media img { position:relative; width:100%; min-height:540px; object-fit:cover; border-radius:36px 36px 80px 36px; box-shadow:var(--shadow); }
.hero-note { position:absolute; left:-40px; bottom:34px; max-width:330px; padding:18px 20px; background:rgba(255,255,255,.96); border:1px solid rgba(217,107,138,.16); border-radius:18px; box-shadow:var(--shadow-sm); display:grid; gap:5px; }
.hero-note strong { color:var(--ink); }
.hero-note span { color:var(--muted); font-size:13px; line-height:1.55; }
.hero-facts { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:36px 0 0; }
.hero-facts div { border-top:1px solid var(--line); padding-top:14px; }
.hero-facts dt { color:var(--muted); font-size:12px; }
.hero-facts dd { margin:4px 0 0; font-weight:700; color:var(--ink); font-size:14px; }

.path-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.path-card { background:white; border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; box-shadow:0 4px 18px rgba(67,39,49,.035); transition:transform .2s var(--ease),box-shadow .2s var(--ease); }
.path-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-sm); }
.path-card img { width:100%; aspect-ratio:16/9; object-fit:cover; }
.path-card>div { padding:22px; }
.path-card h3 { font-size:24px; }
.path-card p { color:var(--muted); min-height:76px; }

.two-col-focus { display:grid; grid-template-columns:minmax(0,1fr) minmax(360px,.78fr); gap:64px; align-items:center; }
.feature-visual img { width:100%; height:620px; object-fit:cover; border-radius:30px 30px 90px 30px; box-shadow:var(--shadow-sm); }
.mini-list { margin:28px 0; display:grid; gap:8px; }
.mini-row { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:13px 14px; background:white; border:1px solid rgba(44,37,48,.06); border-radius:13px; }
.mini-row:hover { border-color:rgba(217,107,138,.3); }
.mini-row>span:first-child { display:grid; }
.mini-row strong { font-size:15px; }
.mini-row small { color:var(--muted); margin-top:2px; }
.badge { display:inline-flex; align-items:center; width:max-content; padding:4px 9px; border-radius:999px; background:#efeaec; color:#655b62; font-size:12px; font-weight:700; }
.badge-hot { background:rgba(217,107,138,.12); color:#b34d6c; }
.badge-warm { background:rgba(229,138,69,.12); color:#b5682b; }

.novel-strip { display:grid; grid-template-columns:repeat(2,1fr); border:1px solid var(--line); border-radius:var(--radius-xl); overflow:hidden; background:white; }
.novel-strip article { padding:28px; min-height:250px; }
.novel-strip article:nth-child(odd) { border-right:1px solid var(--line); }
.novel-strip article:nth-child(-n+2) { border-bottom:1px solid var(--line); }
.novel-strip p { color:var(--muted); }
.meta-line { display:flex; flex-wrap:wrap; gap:9px; align-items:center; color:var(--muted); font-size:12px; margin:0 0 9px; }
.meta-line span+span:before { content:"·"; margin-right:9px; color:#c0b5bb; }
.meta-line .badge:before { content:none; }

.video-preview { background:linear-gradient(180deg,var(--bg) 0%,#fff8f5 100%); }
.video-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.video-card { background:white; border:1px solid var(--line); border-radius:18px; overflow:hidden; }
.thumb { position:relative; overflow:hidden; background:#e9e0e4; }
.thumb img { width:100%; aspect-ratio:16/9; object-fit:cover; transition:transform .4s var(--ease); }
.video-card:hover .thumb img,.video-feature:hover .thumb img { transform:scale(1.025); }
.thumb>span { position:absolute; right:9px; bottom:9px; padding:4px 8px; border-radius:7px; background:rgba(44,37,48,.82); color:white; font-size:11px; }
.video-card>div:last-child { padding:17px; }
.video-card small,.video-feature small { color:var(--brand); font-weight:750; }
.video-card h3 { margin:5px 0 8px; }
.video-card p { color:var(--muted); font-size:13px; line-height:1.6; margin-bottom:0; }
.center-action { display:flex; align-items:center; justify-content:center; gap:22px; margin-top:30px; }

.updates-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.updates-grid article { border-top:3px solid var(--brand-soft); padding:24px 6px 8px; }
.updates-grid h3 { margin-top:14px; }
.updates-grid p { color:var(--muted); }

.reading-guide-grid { display:grid; grid-template-columns:minmax(300px,.8fr) minmax(0,1fr); gap:58px; align-items:center; }
.guide-image img { width:100%; border-radius:26px 76px 26px 26px; min-height:480px; object-fit:cover; }
.accordion { border-top:1px solid var(--line); }
.accordion-item { border-bottom:1px solid var(--line); }
.accordion-item h3 { margin:0; }
.accordion-item button { width:100%; border:0; background:transparent; display:flex; align-items:center; justify-content:space-between; gap:20px; text-align:left; padding:18px 0; font-weight:750; cursor:pointer; }
.accordion-item button span { color:var(--brand); font-size:22px; font-weight:400; transition:transform .2s var(--ease); }
.accordion-item button[aria-expanded="true"] span { transform:rotate(45deg); }
.accordion-panel { padding:0 30px 18px 0; color:var(--muted); }
.accordion-panel p { margin:0; }

.faq-wrap { max-width:1000px; }
.faq-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.faq-grid article { padding:22px; border:1px solid var(--line); border-radius:16px; background:white; }
.faq-grid h3 { font-size:17px; }
.faq-grid p { color:var(--muted); margin-bottom:0; }

.page-hero { padding:76px 0 46px; }
.page-hero-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(360px,.78fr); gap:58px; align-items:center; }
.page-hero-grid>img { width:100%; height:480px; object-fit:cover; border-radius:28px 28px 76px 28px; box-shadow:var(--shadow-sm); }
.page-hero .lead { max-width:720px; }
.slim-hero { padding-bottom:24px; text-align:left; }
.slim-hero .lead { max-width:800px; }
.page-hero-web { background:linear-gradient(180deg,#fff7f9,var(--bg)); }
.manga-hero { background:linear-gradient(180deg,#fff8fa,var(--bg)); }
.video-hero { background:linear-gradient(180deg,#fff9f5,var(--bg)); }
.media-hero { background:linear-gradient(180deg,#faf6f8,var(--bg)); }
.search-hero { background:linear-gradient(180deg,#fff8fa,var(--bg)); }

.web-feature-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.web-feature-grid article { min-height:260px; padding:28px; border-radius:var(--radius-lg); border:1px solid var(--line); background:white; position:relative; overflow:hidden; }
.web-feature-grid article:nth-child(2),.web-feature-grid article:nth-child(3) { background:#fff9f7; }
.web-feature-grid h2 { font-size:27px; max-width:560px; }
.web-feature-grid p { color:var(--muted); }
.step-no { display:block; color:rgba(217,107,138,.28); font-weight:800; font-size:40px; line-height:1; margin-bottom:28px; }
.route-map { display:grid; grid-template-columns:.8fr 1.2fr; gap:60px; align-items:start; }
.route-lines { display:grid; gap:10px; }
.route-lines a { display:grid; grid-template-columns:180px 1fr; align-items:center; gap:18px; padding:20px; border:1px solid rgba(44,37,48,.08); background:white; border-radius:15px; }
.route-lines a:hover { border-color:rgba(217,107,138,.3); transform:translateX(4px); }
.route-lines strong { color:var(--ink); }
.route-lines span { color:var(--muted); font-size:14px; }
.split-content { display:grid; grid-template-columns:repeat(2,1fr); gap:56px; align-items:center; }
.split-content>img,.split-content>div>img { border-radius:26px; width:100%; max-height:520px; object-fit:cover; }
.large-search { margin-top:24px; }
.large-search label { display:block; font-weight:700; margin-bottom:9px; }
.large-search>div { display:flex; gap:10px; }
.large-search input { min-width:0; flex:1; border:1px solid var(--line); border-radius:999px; padding:12px 16px; background:white; }

.filter-pills { display:flex; flex-wrap:wrap; gap:8px; margin-top:28px; }
.filter-pills button { border:1px solid var(--line); background:white; padding:8px 13px; border-radius:999px; cursor:pointer; }
.filter-pills button:hover,.filter-pills button.is-active { background:var(--ink); color:white; border-color:var(--ink); }
.novel-index { display:grid; gap:16px; }
.novel-entry { border:1px solid var(--line); background:white; border-radius:18px; padding:26px; }
.novel-entry[hidden] { display:none; }
.novel-entry-head { display:flex; justify-content:space-between; gap:28px; align-items:start; }
.novel-entry h2 { font-size:29px; margin-bottom:10px; }
.novel-summary { font-size:16px; }
.novel-focus { color:var(--muted); border-left:3px solid var(--brand-soft); padding-left:14px; }
.chapter-row { display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; }
.chapter-row span { background:var(--panel); color:#5e545b; border-radius:9px; padding:7px 10px; font-size:12px; }

.manga-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.manga-card { border:1px solid var(--line); background:white; border-radius:18px; overflow:hidden; }
.manga-card[hidden] { display:none; }
.manga-card>img { width:100%; aspect-ratio:3/4; object-fit:cover; }
.manga-card>div { padding:18px; }
.manga-card h3 { font-size:21px; }
.manga-card p:last-child { color:var(--muted); font-size:13px; line-height:1.65; margin-bottom:0; }
.manga-reading-band { display:grid; grid-template-columns:minmax(360px,.9fr) 1.1fr; gap:56px; align-items:center; }
.manga-reading-band img { width:100%; height:480px; object-fit:cover; border-radius:28px 70px 28px 28px; }
.inline-links { display:flex; flex-wrap:wrap; gap:16px; margin-top:22px; }
.inline-links a { color:var(--brand); font-weight:700; text-decoration:underline; text-decoration-color:rgba(217,107,138,.25); text-underline-offset:4px; }

.video-library { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.video-feature { border:1px solid var(--line); background:white; border-radius:18px; overflow:hidden; }
.video-feature.is-featured { grid-column:span 2; grid-row:span 2; }
.video-feature.is-featured .thumb img { aspect-ratio:16/9; }
.video-feature>div:last-child { padding:20px; }
.video-feature h2 { font-size:24px; margin:5px 0 9px; }
.video-feature.is-featured h2 { font-size:32px; }
.video-feature p { color:var(--muted); margin-bottom:0; }
.media-bridge { display:grid; grid-template-columns:1fr .8fr; gap:56px; align-items:center; }
.media-bridge img { width:100%; height:420px; object-fit:cover; border-radius:28px 70px 28px 28px; }

.media-topic-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.media-topic-grid article { background:white; border:1px solid var(--line); border-radius:18px; padding:28px; }
.media-topic-grid h2 { font-size:28px; }
.media-topic-grid p { color:var(--muted); }
.media-topic-grid ul { margin:20px 0 0; padding:16px 0 0 20px; border-top:1px solid var(--line); }
.media-topic-grid li { margin:7px 0; }

.search-results { min-height:380px; }
.results-heading { display:flex; justify-content:space-between; align-items:end; border-bottom:1px solid var(--line); margin-bottom:12px; }
.results-heading h2 { margin-bottom:12px; }
.results-heading span { color:var(--muted); margin-bottom:15px; }
.search-result { padding:22px 0; border-bottom:1px solid var(--line); }
.search-result h3 { margin:10px 0 5px; }
.search-result h3 a:hover { color:var(--brand); }
.search-result p { color:var(--muted); margin:0; }
.empty-state { text-align:center; padding:30px 0; max-width:720px; margin:auto; }
.empty-state img { width:min(560px,100%); margin:0 auto 24px; border-radius:24px; }
.empty-state p { color:var(--muted); }
.error-page { min-height:62vh; display:grid; place-items:center; text-align:center; }
.error-code { margin:0; color:rgba(217,107,138,.22); font-size:clamp(90px,18vw,190px); line-height:.8; font-weight:900; letter-spacing:-.08em; }
.error-page h1 { margin-top:-6px; }
.error-page .hero-actions { justify-content:center; }

.site-footer { border-top:1px solid var(--line); background:#2f2930; color:#d9cfd4; padding:58px 0 26px; }
.footer-grid { display:grid; grid-template-columns:1.5fr repeat(3,1fr); gap:42px; }
.footer-grid>div { display:grid; align-content:start; gap:8px; }
.footer-brand { font-size:25px; font-weight:800; color:white; }
.footer-grid h2 { font-size:14px; color:white; margin:0 0 7px; }
.footer-grid p { color:#bdb1b7; font-size:13px; max-width:330px; }
.footer-grid a { color:#d9cfd4; font-size:13px; }
.footer-grid a:hover { color:white; }
.footer-bottom { margin-top:38px; padding-top:18px; border-top:1px solid rgba(255,255,255,.1); display:flex; justify-content:space-between; gap:20px; color:#9f9399; font-size:12px; }

/* Tablet layout keeps high-information reading pages legible without forcing desktop density. */
@media (max-width: 1080px) {
  .header-inner { grid-template-columns:auto auto 1fr; }
  .nav-toggle { display:block; justify-self:end; grid-column:2; }
  .primary-nav { position:absolute; left:20px; right:20px; top:68px; display:none; padding:12px; background:rgba(255,253,252,.99); border:1px solid var(--line); border-radius:18px; box-shadow:var(--shadow-sm); flex-wrap:wrap; justify-content:flex-start; }
  .primary-nav.is-open { display:flex; }
  .header-search { justify-self:end; }
  .hero-grid,.page-hero-grid { gap:38px; }
  .hero-note { left:18px; }
  .video-grid { grid-template-columns:repeat(2,1fr); }
  .manga-grid { grid-template-columns:repeat(3,1fr); }
  .footer-grid { grid-template-columns:1.5fr 1fr 1fr; }
  .footer-grid>div:last-child { grid-column:2 / 4; }
}

@media (max-width: 820px) {
  :root { --shell:min(100% - 30px,760px); --narrow:min(100% - 30px,760px); }
  .section-pad { padding:66px 0; }
  .header-inner { grid-template-columns:1fr auto; gap:10px; }
  .brand { grid-column:1; }
  .nav-toggle { grid-column:2; }
  .header-search { grid-column:1 / 3; width:100%; padding-bottom:10px; }
  .header-search input { flex:1; width:auto; }
  .primary-nav { top:116px; }
  .hero-grid,.page-hero-grid,.two-col-focus,.reading-guide-grid,.route-map,.split-content,.manga-reading-band,.media-bridge { grid-template-columns:1fr; }
  .home-hero { padding-top:38px; }
  .hero-media img { min-height:380px; }
  .feature-visual img,.guide-image img,.manga-reading-band img,.media-bridge img { height:auto; min-height:0; max-height:520px; }
  .split-heading { grid-template-columns:1fr; gap:10px; }
  .path-grid,.updates-grid { grid-template-columns:1fr; }
  .novel-strip { grid-template-columns:1fr; }
  .novel-strip article:nth-child(odd) { border-right:0; }
  .novel-strip article { border-bottom:1px solid var(--line); }
  .novel-strip article:last-child { border-bottom:0; }
  .web-feature-grid,.faq-grid,.media-topic-grid { grid-template-columns:1fr; }
  .route-lines a { grid-template-columns:1fr; gap:3px; }
  .reverse-mobile>img { order:-1; }
  .manga-grid { grid-template-columns:repeat(2,1fr); }
  .video-library { grid-template-columns:repeat(2,1fr); }
  .video-feature.is-featured { grid-column:span 2; grid-row:auto; }
  .footer-grid { grid-template-columns:repeat(2,1fr); }
  .footer-grid>div:last-child { grid-column:auto; }
}

@media (max-width: 560px) {
  :root { --shell:calc(100% - 24px); --narrow:calc(100% - 24px); --radius-xl:22px; }
  body { font-size:15px; }
  h1 { font-size:36px; }
  h2 { font-size:27px; }
  .section-pad { padding:52px 0; }
  .page-hero { padding:48px 0 26px; }
  .brand-copy small { display:none; }
  .primary-nav { left:12px; right:12px; }
  .primary-nav a { flex:1 0 calc(33.333% - 8px); text-align:center; }
  .hero-actions { align-items:stretch; }
  .hero-actions .btn { flex:1 1 100%; }
  .hero-media img { min-height:330px; border-radius:24px 24px 60px 24px; }
  .hero-note { position:relative; left:auto; bottom:auto; margin:-22px 14px 0; max-width:none; }
  .hero-facts { grid-template-columns:1fr; gap:10px; }
  .path-card p { min-height:0; }
  .video-grid,.manga-grid,.video-library { grid-template-columns:1fr; }
  .video-feature.is-featured { grid-column:auto; }
  .manga-card { display:grid; grid-template-columns:120px 1fr; }
  .manga-card>img { height:100%; min-height:190px; aspect-ratio:auto; }
  .novel-entry { padding:20px; }
  .novel-entry-head { display:block; }
  .novel-entry-head>.badge { margin-bottom:10px; }
  .chapter-row { gap:6px; }
  .large-search>div { display:grid; }
  .large-search input { width:100%; }
  .center-action { flex-direction:column; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-bottom { display:grid; }
}

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

@media print {
  .site-header,.site-footer,.hero-actions,.filter-pills,.header-search,.nav-toggle { display:none!important; }
  body { background:white; color:black; }
  .section-pad,.page-hero { padding:24px 0; }
  .tone-panel { background:white; }
  a { text-decoration:none; }
}


/* Content-state refinements: these rules improve pending-image resilience, long labels and dense reading cards. */
img.resource-pending { min-height:160px; background:linear-gradient(135deg,#f6eef1,#fbf7f8); color:transparent; }
.manga-card img.resource-pending,.video-card img.resource-pending,.video-feature img.resource-pending { object-fit:contain; }
.novel-entry:hover,.media-topic-grid article:hover,.web-feature-grid article:hover { border-color:rgba(217,107,138,.28); box-shadow:0 10px 28px rgba(67,39,49,.055); }
.novel-entry,.media-topic-grid article,.web-feature-grid article { transition:border-color .2s var(--ease), box-shadow .2s var(--ease); }
.chapter-row span { border:1px solid transparent; }
.chapter-row span:hover { border-color:rgba(217,107,138,.18); background:#fff8fa; }
.route-lines a,.inline-links a,.text-link { transition:color .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease); }
.search-result .badge { vertical-align:middle; }
.search-result h3 a { text-decoration-thickness:1px; text-underline-offset:4px; }
.search-result h3 a:focus-visible { text-decoration:underline; }
.video-feature.is-featured>div:last-child { padding:26px; }
.video-feature.is-featured p { max-width:680px; }
.media-topic-grid li::marker { color:var(--brand); }
.footer-grid a:focus-visible { color:white; }
.primary-nav a:focus-visible { color:var(--brand); }
@media (hover:none) {
  .path-card:hover,.btn:hover,.route-lines a:hover { transform:none; }
}
@media (max-width:560px) {
  .manga-card .meta-line { display:grid; justify-items:start; }
  .manga-card .meta-line span+span:before { content:none; }
  .media-topic-grid article,.web-feature-grid article { padding:22px; }
  .route-lines a { padding:16px; }
}

/* Detailed form, keyboard and dense-content states used across real pages. */
input[type="search"], input[name="q"] { appearance:none; outline:none; transition:border-color .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease); }
input[type="search"]:hover, input[name="q"]:hover { border-color:#d8c7cf; }
input[type="search"]:focus, input[name="q"]:focus { border-color:rgba(217,107,138,.72); box-shadow:0 0 0 4px rgba(217,107,138,.09); background:#fff; }
.header-search button,.filter-pills button,.accordion-item button { -webkit-tap-highlight-color:transparent; }
.header-search button:active,.filter-pills button:active,.btn:active { transform:translateY(1px); }
.mini-row strong,.route-lines strong,.chapter-row span,.badge { overflow-wrap:anywhere; }
.novel-summary,.novel-focus,.media-topic-grid p,.video-feature p,.manga-card p { text-wrap:pretty; }
.path-card h3,.novel-entry h2,.media-topic-grid h2,.video-feature h2 { text-wrap:balance; }
@supports (content-visibility:auto) {
  .novel-entry,.manga-card,.video-feature,.media-topic-grid article { content-visibility:auto; contain-intrinsic-size:1px 360px; }
}
@media (min-width:1081px) {
  .primary-nav a { position:relative; }
  .primary-nav a[aria-current="page"]::after { content:""; position:absolute; left:50%; bottom:3px; width:16px; height:2px; border-radius:2px; background:var(--brand); transform:translateX(-50%); }
  .header-search input:focus { width:230px; }
}
@media (max-width:820px) {
  .chapter-row { max-height:94px; overflow:auto; scrollbar-width:thin; }
  .route-lines span { line-height:1.55; }
  .page-hero-grid>img { height:min(56vw,440px); }
}
@media (max-width:420px) {
  .header-search button { padding-inline:12px; }
  .header-search input { font-size:14px; }
  .primary-nav a { flex-basis:calc(50% - 8px); }
  .manga-card { grid-template-columns:104px 1fr; }
  .manga-card>div { padding:14px; }
  .manga-card h3 { font-size:18px; }
  .novel-entry h2 { font-size:25px; }
  .chapter-row span { padding:6px 8px; }
  .footer-grid { gap:28px; }
}
