/* 禁漫天堂：深夜数字漫画索引。所有版式、封面文字和交互均为原生实现。 */
:root {
  color-scheme: dark;
  --primary: #9365DC;
  --primary-soft: #C3A5E8;
  --dark: #15121D;
  --bg: #1B1724;
  --surface: #282231;
  --text: #F2EDF5;
  --muted: #B5AABB;
  --accent: #F3A16F;
  --border: rgba(206,188,227,.17);
  --border-strong: rgba(206,188,227,.32);
  --wrap: 1240px;
  --header-height: 78px;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', 'Hiragino Sans GB', sans-serif; font-size: 15px; line-height: 1.75; text-rendering: optimizeLegibility; }
::selection { color: #fff; background: #65429a; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { color: #dec9ff; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
p { margin: 0 0 1em; }
h1,h2,h3 { margin: 0; line-height: 1.35; letter-spacing: .015em; }
h1 { font-size: clamp(2.05rem, 4.4vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.3vw, 2.1rem); font-weight: 740; }
h3 { font-size: 1.1rem; }
.wrap { width: min(calc(100% - 64px), var(--wrap)); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -90px; z-index: 101; padding: 12px 18px; background: var(--accent); color: var(--dark); }
.skip-link:focus { top: 10px; }
#main-content { height: 0; }
.site-header { position: relative; z-index: 10; background: var(--dark); border-bottom: 1px solid var(--border); }
.header-top { min-height: var(--header-height); display: flex; align-items: center; gap: 24px; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 4px; object-fit: contain; }
.brand strong { display: block; font-size: 20px; font-weight: 850; line-height: 1.2; letter-spacing: .09em; }
.brand small { display: block; font-size: 10px; color: var(--muted); letter-spacing: .05em; line-height: 1.6; margin-top: 3px; }
.header-note { color: var(--muted); font-size: 12px; letter-spacing: .12em; }
.primary-nav { display: flex; align-items: center; gap: 31px; border-top: 1px solid var(--border); min-height: 47px; }
.primary-nav a { position: relative; display: inline-flex; align-items: center; padding: 8px 0 10px; font-size: 13px; font-weight: 650; color: #d8cddf; transition: color .18s ease; }
.primary-nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--primary); transition: right .18s ease; }
.primary-nav a:hover { color: white; }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { right: 0; }
.nav-toggle { display: none; color: #fff; background: #272034; border: 1px solid var(--border-strong); border-radius: 3px; padding: 6px 12px; font-weight: 600; }
.main-content { padding-bottom: 70px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(310px, .85fr); border-bottom: 1px solid var(--border-strong); padding: 57px 0 60px; gap: clamp(32px, 6vw, 100px); }
.hero-intro { max-width: 740px; }
.eyebrow { margin: 0 0 16px; display: flex; align-items: center; gap: 10px; color: var(--primary-soft); letter-spacing: .15em; font-size: 12px; font-weight: 760; }
.accent-dot { display: inline-block; width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); }
.hero h1 { line-height: 1.19; margin-bottom: 25px; }
.hero h1 span { display: block; font-size: .68em; font-weight: 700; color: var(--primary-soft); margin-top: 10px; }
.lead { max-width: 680px; color: #d4cadc; font-size: 15.5px; line-height: 1.95; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 27px; }
.button { min-height: 44px; padding: 10px 19px; background: var(--primary); border: 1px solid #b48deb; color: #fff; border-radius: 2px; display: inline-flex; align-items: center; justify-content: center; gap: 19px; font-weight: 760; font-size: 13px; letter-spacing: .02em; transition: background .2s, transform .2s; }
.button:hover { background: #8051c8; color: #fff; transform: translateY(-2px); }
.subtle-link, .text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--primary-soft); font-weight: 710; font-size: 13px; }
.subtle-link:hover, .text-link:hover { color: white; }
.brand-alias { margin-top: 29px; padding-top: 15px; border-top: 1px solid var(--border); color: #a89cb1; font-size: 12px; line-height: 1.85; }
.hero-spotlight { position: relative; background: linear-gradient(120deg, #2a2138, #231d2e); padding: 20px 25px 12px; border: 1px solid rgba(172,141,218,.22); align-self: start; min-height: 322px; }
.hero-spotlight:before, .hero-spotlight:after { content: ''; position: absolute; width: 24px; height: 24px; pointer-events: none; }
.hero-spotlight:before { left: -1px; top: -1px; border-left: 2px solid var(--primary); border-top: 2px solid var(--primary); }
.hero-spotlight:after { right: -1px; bottom: -1px; border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary); }
.corner-label { display: block; margin-bottom: 13px; color: var(--primary-soft); font-size: 11px; font-weight: 700; letter-spacing: .15em; }
.hero-spotlight a { min-height: 79px; display: flex; gap: 15px; align-items: center; border-top: 1px solid var(--border); }
.hero-spotlight a > b { font-size: 27px; color: var(--primary-soft); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.hero-spotlight a > span:nth-child(2) { font-weight: 730; font-size: 14px; flex: 1; }
.hero-spotlight a small { display: block; font-size: 11px; font-weight: 450; margin-top: 3px; color: var(--muted); }
.hero-spotlight a > span:last-child { color: var(--accent); }
.section-line { padding-top: 47px; margin-top: 0; padding-bottom: 49px; border-bottom: 1px solid var(--border); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading p:last-child { max-width: 800px; margin-top: 9px; margin-bottom: 0; color: var(--muted); font-size: 13.5px; }
.section-heading > a { flex: 0 0 auto; margin-bottom: 5px; }
.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 25px 17px; }
.work-card { min-width: 0; display: grid; grid-template-columns: 1fr; align-content: start; }
.cover { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 15px; isolation: isolate; aspect-ratio: 4 / 5.15; padding: 15px; background: linear-gradient(150deg, #5c3c85 0%, #24203e 75%); border: 1px solid rgba(209,187,240,.17); border-radius: 2px; }
.cover::before { content: ''; position: absolute; inset: 15% -27% auto 18%; width: 105%; height: 77%; transform: rotate(-29deg); z-index: -1; background: repeating-linear-gradient(0deg, transparent, transparent 11px, rgba(255,255,255,.06) 12px, rgba(255,255,255,.06) 13px); }
.cover::after { content: ''; position: absolute; border: 1px solid rgba(255,255,255,.13); width: 55%; aspect-ratio: 1; border-radius: 50%; right: -21%; top: 16%; z-index: -1; box-shadow: 0 0 0 28px rgba(255,255,255,.028),0 0 0 66px rgba(255,255,255,.019); }
.cover-1 { background: linear-gradient(135deg, #254858, #1b293a 84%); }
.cover-2 { background: linear-gradient(140deg, #754d35, #302532 85%); }
.cover-3 { background: linear-gradient(135deg, #5b3346, #2d203a 90%); }
.cover-4 { background: linear-gradient(150deg, #3d5a46, #222e35 84%); }
.cover-5 { background: linear-gradient(135deg, #444575, #202337 85%); }
.cover-num { position: relative; color: #e1d5e9; font-size: 10px; font-weight: 750; letter-spacing: .13em; }
.cover-title { position: relative; max-width: 95%; color: #fff; font-weight: 850; font-size: clamp(20px, 2.2vw, 35px); line-height: 1.35; letter-spacing: .08em; overflow-wrap: anywhere; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.cover-bottom { position: relative; font-size: 11px; font-weight: 650; color: #ede6fa; border-top: 1px solid rgba(255,255,255,.22); padding-top: 9px; }
.work-card .cover { transition: transform .25s, border-color .25s; }
.work-card:hover .cover { transform: translateY(-3px); border-color: rgba(224,197,251,.68); }
.work-card-copy { min-width: 0; padding: 13px 3px 0; }
.tagline { display: block; color: var(--primary-soft); font-size: 11px; letter-spacing: .035em; }
.work-card-copy h3 { font-size: 17px; margin: 4px 0 9px; line-height: 1.45; }
.work-card-copy h3 a:hover { color: var(--primary-soft); }
.work-card-copy p { color: #c6bbcf; font-size: 12.2px; line-height: 1.8; min-height: 4.8em; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.author { display: block; margin-top: 8px; color: #a99ab2; font-size: 11.5px; border-top: 1px solid var(--border); padding-top: 7px; }
.update-strip { display: grid; grid-template-columns: minmax(220px,.65fr) minmax(0,1fr); gap: 44px; background: linear-gradient(120deg, #251c35, #201a2c); margin-top: 14px; border-left: 3px solid var(--primary); padding: 27px 34px 25px; }
.update-strip h2 { max-width: 335px; font-size: clamp(1.4rem, 2vw,1.95rem); }
.update-strip p { font-size: 13px; color: #d4c9da; line-height: 2; }
.update-strip a { margin-top: 4px; }
.region-panels { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.region-panels article { border: 1px solid var(--border); background: #231d2b; padding: 25px 29px 24px; min-width: 0; }
.region-panels article:hover { border-color: rgba(175,144,223,.5); }
.panel-index { display: inline-block; padding: 4px 10px; margin-bottom: 12px; color: var(--accent); background: rgba(243,161,111,.08); font-size: 11px; }
.region-panels h3 { margin-bottom: 12px; font-size: 19px; }
.region-panels p { color: #c7bacd; font-size: 13.2px; line-height: 1.98; }
.region-panels a { display: inline-block; margin-top: 7px; color: var(--primary-soft); font-weight: 750; font-size: 12px; }
.genre-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.genre-links a { display: flex; justify-content: space-between; align-items: center; min-height: 66px; padding: 12px 17px; font-size: 15px; font-weight: 740; background: #282130; border: 1px solid var(--border); transition: background .2s, border-color .2s; }
.genre-links a span { color: var(--primary-soft); }
.genre-links a:hover { background: #32283f; border-color: var(--primary); }
.final-section { border-bottom: 0; padding-bottom: 0; }
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; }
.access-grid > div { border-top: 2px solid var(--border-strong); padding-top: 16px; }
.access-grid h3 { font-size: 17px; margin-bottom: 10px; }
.access-grid p { color: #c8bfd0; font-size: 13px; line-height: 1.95; }
.access-grid a { font-size: 12px; font-weight: 700; color: var(--primary-soft); }
.site-footer { background: var(--dark); border-top: 1px solid var(--border-strong); }
.footer-grid { display: flex; justify-content: space-between; gap: 50px; padding-top: 44px; padding-bottom: 38px; }
.footer-grid > div { max-width: 530px; }
.footer-brand { font-weight: 850; letter-spacing: .06em; font-size: 20px; }
.footer-grid p { color: var(--muted); font-size: 12px; margin-top: 12px; line-height: 1.9; }
.footer-grid nav { display: flex; gap: 25px; align-items: start; flex-wrap: wrap; }
.footer-grid nav a { font-size: 12px; font-weight: 690; color: #c5b7d0; }
.footer-bottom { border-top: 1px solid var(--border); display: flex; gap: 24px; justify-content: space-between; padding-top: 17px; padding-bottom: 22px; font-size: 11px; color: #998ca2; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; font-size: 12px; color: #b9acbf; padding: 24px 0 5px; }
.breadcrumbs a { color: var(--primary-soft); }
.breadcrumbs span[aria-hidden] { color: #71617f; }
.page-head { border-bottom: 1px solid var(--border); padding: 40px 0 30px; }
.page-head h1 { font-size: clamp(2rem,3.3vw,3.15rem); letter-spacing: .035em; }
.page-head > p:last-child { color: #cfc4d6; margin-top: 16px; margin-bottom: 0; max-width: 750px; font-size: 14px; line-height: 2; }
.catalog-page .page-head { padding-top: 35px; }
.filter-form { margin: 25px 0 34px; background: #241e2e; border: 1px solid var(--border); padding: 20px 23px 22px; }
.filter-form > label { display: block; font-size: 12px; color: var(--primary-soft); font-weight: 780; margin-bottom: 11px; }
.filter-row { display: flex; gap: 9px; flex-wrap: wrap; align-items: stretch; }
.filter-row input, .filter-row select { background: #17131e; color: var(--text); border: 1px solid #51435e; border-radius: 2px; height: 44px; padding: 8px 11px; min-width: 0; }
.filter-row input { flex: 1 1 220px; }
.filter-row select { flex: 0 1 160px; }
.filter-row .button { flex: 0 0 auto; }
.filter-row .reset-link { padding: 8px; align-self: center; color: var(--primary-soft); font-size: 12px; }
.filter-row input::placeholder { color: #a599ae; }
.result-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 23px; }
.result-heading h2 { font-size: 21px; }
.result-heading small { color: var(--primary-soft); font-size: 12px; font-weight: 500; margin-left: 9px; }
.result-heading > span { color: #aaa0b2; font-size: 11px; }
.catalog-grid { row-gap: 31px; }
.no-results { padding: 60px 28px; border: 1px dashed var(--border-strong); text-align: center; background: #241d2d; }
.no-results h2 { font-size: 24px; margin-bottom: 10px; }
.no-results p { color: var(--muted); font-size: 14px; }
.no-results a { color: var(--primary-soft); font-weight: 700; }
.catalog-bottom { margin-top: 56px; border-left: 3px solid var(--primary); padding: 14px 20px; background: #231d2e; }
.catalog-bottom h2 { font-size: 20px; margin-bottom: 8px; }
.catalog-bottom p { font-size: 13px; color: #cabfd0; margin-bottom: 0; line-height: 2; }
.work-page .breadcrumbs { padding-bottom: 32px; }
.work-hero { display: grid; grid-template-columns: minmax(220px,.6fr) minmax(0,1.4fr); align-items: stretch; gap: clamp(25px,5vw,70px); border-bottom: 1px solid var(--border-strong); padding-bottom: 45px; }
.work-cover-big { max-width: 365px; width: 100%; min-height: 380px; }
.work-cover-big .cover-title { font-size: clamp(30px,3.4vw,48px); }
.work-header { align-self: center; padding: 10px 0; }
.work-header h1 { margin-bottom: 10px; }
.work-alias { font-size: 12px; color: #cab4e5; }
.work-meta { margin: 27px 0 25px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px 20px; }
.work-meta div { padding: 11px 0; border-top: 1px solid var(--border); }
.work-meta dt { color: #aa9ab2; font-size: 11px; margin-bottom: 6px; }
.work-meta dd { margin: 0; font-size: 13px; font-weight: 650; line-height: 1.6; }
.work-premise { color: #d6cbdd; font-size: 15px; line-height: 2.05; max-width: 780px; }
.work-header .button { margin-top: 13px; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 250px; gap: clamp(28px,6vw,90px); margin-top: 38px; }
.detail-main section { border-bottom: 1px solid var(--border); padding: 0 0 33px; margin-bottom: 34px; }
.detail-main section:last-child { border-bottom: 0; }
.detail-main .eyebrow { margin-bottom: 9px; }
.detail-main h2 { font-size: clamp(1.3rem,2vw,1.75rem); margin-bottom: 19px; }
.detail-main p:not(.eyebrow) { color: #d0c4d8; font-size: 14px; line-height: 2.15; margin-bottom: 15px; }
.aside-box { padding: 22px 20px; background: #262032; border: 1px solid var(--border); margin-bottom: 20px; }
.aside-box h2 { font-size: 17px; margin-bottom: 16px; }
.aside-box p { font-size: 12.5px; color: #baafc4; line-height: 1.95; }
.aside-box > a { font-size: 12px; display: block; color: var(--primary-soft); font-weight: 700; margin-top: 13px; }
.pill-links { display: flex; flex-wrap: wrap; gap: 7px; }
.pill-links a { padding: 6px 9px; border: 1px solid #55456a; background: #33263e; color: #dbc1f2; font-size: 11px; }
.pill-links + p { margin-top: 18px; }
.related { margin-top: 5px; padding-top: 35px; border-top: 1px solid var(--border); border-bottom: 0; }
.guide-layout { display: grid; grid-template-columns: minmax(0,1fr) 245px; gap: clamp(28px,6vw,95px); padding-top: 40px; }
.guide-layout article section { border-left: 2px solid var(--border-strong); padding: 3px 0 15px 25px; margin: 0 0 31px; }
.guide-layout article section:hover { border-left-color: var(--primary); }
.guide-layout h2 { font-size: 23px; margin-bottom: 18px; }
.guide-layout article p { color: #d0c4d8; font-size: 14px; line-height: 2.15; margin-bottom: 17px; }
.guide-layout article a { color: var(--primary-soft); text-decoration: underline; text-underline-offset: 4px; }
.guide-aside a { color: var(--primary-soft); font-size: 12px; }
.error-page { padding-top: 90px; padding-bottom: 120px; text-align: center; }
.error-page .eyebrow { justify-content: center; }
.error-page h1 { font-size: clamp(1.8rem, 3.5vw, 3rem); margin-bottom: 16px; }
.error-page p:not(.eyebrow) { max-width: 620px; margin-inline: auto; color: var(--muted); }
.error-page .button { margin-top: 20px; }
@media (min-width: 1400px) {
  .hero { padding-top: 70px; padding-bottom: 70px; }
  .section-line { padding-top: 58px; padding-bottom: 58px; }
  .work-grid { gap: 30px 20px; }
  .cover { padding: 18px; }
  .work-card-copy { padding-top: 16px; }
}
@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr); gap: 24px; }
  .hero-spotlight { padding-inline: 19px; }
  .work-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .work-meta { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .detail-layout, .guide-layout { gap: 35px; }
}
@media (max-width: 760px) {
  :root { --header-height: 67px; }
  .wrap { width: min(calc(100% - 36px), var(--wrap)); }
  .header-note { display: none; }
  .brand strong { font-size: 17px; }
  .brand small { font-size: 9px; }
  .nav-toggle { display: inline-flex; gap: 8px; align-items: center; }
  .primary-nav { display: flex; flex-wrap: wrap; overflow: hidden; padding-block: 0; gap: 0 18px; max-height: 0; min-height: 0; border-top: 0; transition: max-height .2s ease, padding .2s ease; }
  .primary-nav.is-open { max-height: 240px; padding-block: 9px 12px; border-top: 1px solid var(--border); }
  .primary-nav a { padding-block: 9px; width: calc(50% - 9px); font-size: 13px; }
  .hero { grid-template-columns: 1fr; padding: 40px 0 39px; gap: 28px; }
  .hero-spotlight { min-height: auto; }
  .hero-spotlight a { min-height: 69px; }
  .hero h1 { font-size: clamp(34px,7vw,50px); }
  .section-line { padding-top: 35px; padding-bottom: 37px; }
  .section-heading { align-items: start; }
  .work-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 12px; }
  .cover-title { font-size: clamp(20px,4.5vw,31px); }
  .update-strip { grid-template-columns: 1fr; gap: 15px; padding: 23px; }
  .region-panels { grid-template-columns: 1fr; gap: 12px; }
  .genre-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .access-grid { gap: 22px; }
  .filter-form { padding: 17px; }
  .work-hero { grid-template-columns: minmax(0,.6fr) minmax(0,1fr); gap: 24px; }
  .work-cover-big { min-height: auto; }
  .work-cover-big .cover-title { font-size: clamp(23px,5vw,35px); }
  .work-meta { gap: 5px 12px; margin-block: 15px; }
  .work-header h1 { font-size: 30px; }
  .work-premise { font-size: 13px; }
  .detail-layout, .guide-layout { grid-template-columns: 1fr; gap: 15px; }
  .detail-aside, .guide-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .footer-grid { display: block; }
  .footer-grid nav { margin-top: 25px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}
@media (max-width: 540px) {
  .wrap { width: min(calc(100% - 28px), var(--wrap)); }
  .header-top { gap: 10px; }
  .brand img { width: 32px; height: 32px; flex-basis: 32px; }
  .brand { gap: 8px; }
  .hero { padding-top: 32px; }
  .hero h1 { font-size: 32px; }
  .hero h1 span { font-size: .67em; }
  .lead { font-size: 13.5px; }
  .hero-actions { gap: 13px; }
  .brand-alias { font-size: 11px; }
  .section-heading { flex-wrap: wrap; gap: 14px; }
  .section-heading > a { margin: 0; }
  .work-grid { gap: 20px 10px; }
  .work-card-copy { padding: 10px 1px 0; }
  .work-card-copy h3 { font-size: 14px; line-height: 1.45; margin-bottom: 6px; }
  .work-card-copy p { font-size: 11.5px; line-height: 1.7; }
  .tagline, .author { font-size: 10.5px; }
  .cover { padding: 10px; aspect-ratio: 4 / 5.4; }
  .cover-title { font-size: clamp(18px,5vw,26px); }
  .cover-bottom, .cover-num { font-size: 9px; }
  .genre-links a { padding: 9px 11px; min-height: 52px; font-size: 12px; }
  .access-grid { grid-template-columns: 1fr; }
  .region-panels article { padding: 19px; }
  .region-panels h3 { font-size: 17px; }
  .page-head { padding-top: 28px; }
  .page-head > p:last-child { font-size: 13px; }
  .filter-row input { flex-basis: 100%; }
  .filter-row select { flex: 1 1 40%; }
  .filter-row .button { flex: 1 1 auto; }
  .filter-row .reset-link { flex: 0 0 auto; }
  .result-heading { display: block; }
  .result-heading > span { display: block; margin-top: 7px; }
  .work-hero { grid-template-columns: 1fr; padding-bottom: 24px; }
  .work-cover-big { width: min(100%, 310px); min-height: 280px; aspect-ratio: 4 / 4.15; }
  .work-header { padding: 0; }
  .work-header h1 { font-size: 33px; }
  .work-meta { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .work-premise { font-size: 14px; }
  .detail-aside, .guide-aside { grid-template-columns: 1fr; }
  .guide-layout article section { padding-left: 18px; }
  .guide-layout h2 { font-size: 21px; }
  .footer-grid nav { gap: 12px 20px; }
}
@media (max-width: 350px) {
  .brand strong { font-size: 15px; }
  .brand small { font-size: 8px; }
  .nav-toggle { padding: 5px 8px; }
  .nav-toggle span { display: none; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card { grid-template-columns: minmax(100px,.7fr) minmax(0,1fr); gap: 10px; }
  .work-card-copy { padding: 0; }
  .work-card-copy h3 { font-size: 14px; }
  .work-card-copy p { -webkit-line-clamp: 4; line-clamp: 4; }
  .genre-links { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  :root { color-scheme: light; --bg: #fff; --text: #111; --muted: #333; }
  body { background: white; color: black; }
  .site-header, .site-footer, .hero-actions, .filter-form, .button, .nav-toggle { display: none !important; }
  .wrap { width: 100%; }
  a { color: black; }
  .work-card-copy p, .detail-main p:not(.eyebrow) { color: black; }
  .cover { border: 1px solid #888; print-color-adjust: exact; }
  .section-line, .detail-main section { break-inside: avoid; }
}
