.arts { --accent:#764b3f; --dark:#221e21; --tint:#f0e1d7; --highlight:#f6d1a8; }
.books { --accent:#355a4c; --dark:#162c26; --tint:#e2e9dd; --highlight:#e8e7bc; }
.fashion { --accent:#715352; --dark:#291f24; --tint:#eee2df; --highlight:#eed9d0; }
.food { --accent:#725a2e; --dark:#282719; --tint:#eee7d5; --highlight:#f1dfab; }
.play { --accent:#48568a; --dark:#1b243b; --tint:#e2e5f3; --highlight:#dbe1ff; }
.category-mode main { padding-bottom:0; }
.category-mode .category-content { padding-block:clamp(3rem,7vw,6.5rem); background:linear-gradient(180deg,var(--paper),var(--tint)); }
.category-mode .category-hero { position:relative; isolation:isolate; background:radial-gradient(ellipse at 85% 20%,color-mix(in srgb,var(--accent),white 10%),transparent 65%),linear-gradient(125deg,#0c151a,var(--dark)); color:#fff; padding-block:clamp(4rem,9vw,8rem); overflow:hidden; }
.category-mode .category-hero::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#081014e8 0%,#081014b8 55%,#08101468); }
.category-mode .category-hero .eyebrow { color:var(--highlight); }
.category-mode .category-hero .lede { color:#fff; max-width:52ch; }
.category-mode .category-hero h1 { max-width:15ch; font-size:clamp(2.9rem,7vw,6.5rem); margin-block:1rem 1.5rem; }
.category-mode .category-hero a { color:#fff; }
.category-mode .category-hero :focus-visible { outline-color:var(--highlight); }
.category-home .masthead { position:absolute; inset:0 0 auto; z-index:3; border:0; }
.category-home .masthead a { color:#fff; }
.category-home .masthead a:focus-visible { outline-color:var(--highlight); }
.category-home .category-hero { min-height:100svh; display:grid; align-items:end; padding-top:9rem; padding-bottom:8rem; }
.category-home .category-hero::before { background:linear-gradient(90deg,#081014ee 0%,#081014c8 55%,#081014aa); }
.category-mode .category-background { position:absolute; inset:0; z-index:-2; margin:0; }
.category-background img { display:block; width:100%; height:100%; object-fit:cover; object-position:65% center; }
.category-home .category-hero::after { content:""; position:absolute; z-index:-1; inset:auto 0 0; height:9rem; background:linear-gradient(transparent,var(--paper)); }
.category-mode .category-hero-inner { position:relative; }
.category-kicker { margin-block:1.2rem 1.8rem; max-width:58ch; font-size:1rem; color:var(--muted); }
.category-hero .category-kicker { color:#f2f0ea; }
.category-action { display:inline-flex; align-items:center; min-height:2.85rem; padding:.7rem 1.2rem; border:1px solid currentColor; border-radius:99px; font-size:1rem; font-weight:700; text-decoration:none; transition:background .18s ease,color .18s ease; }
.category-action:hover { background:#fff; color:var(--dark) !important; }
.category-action:active { background:var(--highlight); color:var(--dark) !important; }
.category-action:active { transition-duration:0ms; }
.category-actions { display:flex; flex-wrap:wrap; gap:.75rem; margin-top:1.8rem; }
.category-topic-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr)); gap:1.2rem; margin-top:2rem; }
.category-topic { background:var(--white); border:1px solid var(--line); border-radius:.65rem; padding:clamp(1.4rem,2.3vw,2rem); }
.category-topic h2 { font-size:clamp(1.8rem,3vw,2.5rem); }
.category-topic p { margin-top:1rem; color:var(--muted); }
.category-topic .category-topic-status { color:var(--ink); font-size:.94rem; }
.category-topic a { display:inline-flex; align-items:center; min-height:2.75rem; font-weight:700; }
.category-guide { display:grid; grid-template-columns:minmax(0,.75fr) minmax(0,1.5fr); gap:clamp(2rem,6vw,6rem); padding-block:3rem; border-block:1px solid var(--line); }
.category-guide h2 { max-width:12ch; }
.category-guide-points { display:grid; gap:1.8rem; }
.category-guide-points h3 { margin-bottom:.5rem; }
.category-guide-points p { color:var(--muted); }
.category-section-head { margin-bottom:1.8rem; max-width:65ch; }
.category-section-head p { margin-top:1rem; }
.category-status { padding:1.25rem 1.5rem; border-left:3px solid var(--accent); background:color-mix(in srgb,var(--tint),white 45%); margin-block:2rem; }
.category-status p+p { margin-top:.5rem; }
.category-related { margin-top:4rem; }
.category-filter { display:flex; align-items:end; flex-wrap:wrap; gap:1rem; margin-block:1.5rem; }
.category-filter label { display:block; font-weight:700; margin-bottom:.4rem; }
.category-filter input { width:min(100%,28rem); font:inherit; color:var(--ink); border:1px solid var(--panel-line); border-radius:.4rem; background:var(--white); padding:.75rem .9rem; min-height:2.85rem; }
.category-filter-field { flex:1 1 22rem; }
.category-filter-status { min-height:1.6rem; font-size:1rem; margin-bottom:1rem; }
.category-empty { padding:2rem; border:1px solid var(--line); border-radius:.5rem; background:var(--white); }
.category-editorial-note { max-width:60ch; margin-block:3rem 0; padding-top:1.5rem; border-top:1px solid var(--line); }
.category-editorial-note p { margin-block:.8rem; }
.category-mode .review-card[hidden],.category-topic[hidden] { display:none; }
.category-mode .category-breadcrumbs { display:flex; flex-wrap:wrap; gap:.6rem 1.2rem; margin-bottom:2rem; font-size:1rem; }
.category-mode .category-hero .category-breadcrumbs a { text-decoration-color:#ffffff8c; }
.category-mode .category-policy { padding-block:3rem 5rem; }
.category-mode .category-policy .prose { margin-top:2rem; }
.category-mode .category-policy .prose p { max-width:65ch; }
.category-mode .footer-links { gap:.6rem 1.3rem; }
@media(max-width:600px) {
 .category-mode .category-hero h1 { font-size:clamp(2.75rem,12vw,4rem); }
 .category-home .category-hero { padding-top:9.5rem; padding-bottom:7rem; min-height:100svh; }
 .category-guide { grid-template-columns:minmax(0,1fr); }
 .category-guide h2 { max-width:none; }
 .category-mode .bar nav { gap:.3rem 1rem; }
 .category-mode .wrap { width:min(100% - 2rem,73rem); }
 .category-mode .category-breadcrumbs { margin-bottom:1.5rem; }
 .category-mode .category-hero { padding-block:3rem; }
 .category-home .category-hero { padding-block:10rem 7rem; }
 .category-action { justify-content:center; }
}
@media(prefers-reduced-motion:reduce) { .category-action { transition:none; } }
@supports (animation-timeline:view()) and (animation-range:exit 0% exit 85%) {
 @media(prefers-reduced-motion:no-preference) {
  .category-background img { animation:image-exit linear both; animation-timeline:view(block); animation-range:exit 0% exit 85%; }
 }
}
