/* =================================================================
   ReadWave — Stylesheet
   Aesthetic: magazine feed, Klein blue + vivid orange, white, bold
   ================================================================= */

:root {
  --klein: #002FA7;
  --klein-deep: #001E6E;
  --klein-soft: #2E4FB8;
  --klein-tint: #E8EDFB;
  --orange: #FF6B35;
  --orange-soft: #FF8A5C;
  --orange-tint: #FFEDE4;
  --ink: #0E1330;
  --ink-soft: #2A2F4A;
  --muted: #5A6488;
  --bg: #FFFFFF;
  --bg-soft: #F4F6FC;
  --line: rgba(14,19,48,.10);

  --cat-fiction: #002FA7;
  --cat-history: #1B9AAA;
  --cat-science: #FF6B35;
  --cat-philosophy: #7A4FE3;
  --cat-poetry: #E91E63;
  --cat-other: #3D5AFE;

  --display: "Space Grotesk", "Inter", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --shadow-card: 0 2px 6px rgba(14,19,48,.06), 0 10px 26px rgba(14,19,48,.08);
  --shadow-card-hover: 0 8px 18px rgba(14,19,48,.10), 0 24px 48px rgba(0,47,167,.16);
  --shadow-panel: -22px 0 60px rgba(14,19,48,.22);
  --radius: 10px;
  --radius-lg: 18px;
  --header-h: 72px;
  --transition: 0.3s cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 15px; line-height: 1.6;
  color: var(--ink); background: var(--bg); min-height: 100vh; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: var(--klein); text-decoration: none; }
a:hover { text-decoration: underline; }
input, select { font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; color: var(--ink); line-height: 1.15; letter-spacing: -.01em; }

/* =================================================================
   MAGNETIC NAV
   ================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: padding var(--transition), box-shadow var(--transition), background var(--transition);
}
.site-header.scrolled { background: rgba(255,255,255,.96); box-shadow: 0 2px 16px rgba(14,19,48,.08); padding: 0; }
.header-inner { max-width: 1440px; margin: 0 auto; padding: 16px 32px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; transition: padding var(--transition); }
.site-header.scrolled .header-inner { padding: 10px 32px; }
.brand-link { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.brand-link:hover { text-decoration: none; }
.brand-mark { display: flex; }
.brand-text { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--klein); display: flex; flex-direction: column; line-height: 1; letter-spacing: -.02em; }
.brand-sub { font-family: var(--sans); font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-top: 4px; }

.tag-nav { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.tag-nav-item {
  background: transparent; border: 1px solid transparent; color: var(--ink-soft);
  font-family: var(--sans); font-weight: 500; font-size: 14px; padding: 8px 16px; border-radius: 999px;
  transition: all var(--transition);
}
.tag-nav-item:hover { background: var(--klein-tint); color: var(--klein); }
.tag-nav-item.active { background: var(--klein); color: #fff; }

.header-tools { display: flex; align-items: center; gap: 10px; }
.header-search { display: flex; align-items: center; gap: 8px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; color: var(--muted); transition: border-color var(--transition); }
.header-search:focus-within { border-color: var(--klein); }
.header-search input { background: transparent; border: 0; outline: 0; color: var(--ink); font-size: 14px; width: 150px; }
.header-search input::placeholder { color: var(--muted); }
.subscribe-btn { background: var(--orange); color: #fff; border: 0; padding: 9px 18px; border-radius: 999px; font-family: var(--sans); font-weight: 600; font-size: 13px; transition: all var(--transition); }
.subscribe-btn:hover { background: var(--orange-soft); transform: translateY(-1px); }
.filter-toggle { display: none; background: var(--klein-tint); border: 0; color: var(--klein); padding: 9px 12px; border-radius: 10px; }

/* =================================================================
   HERO BANNER
   ================================================================= */
.hero-banner { position: relative; height: 64vh; min-height: 460px; max-height: 640px; overflow: hidden; }
.hero-banner-inner { position: absolute; inset: 0; }
.hb-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: saturate(1.05); transform: scale(1.04); }
.hb-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0,31,110,.92) 0%, rgba(0,47,167,.78) 38%, rgba(0,47,167,.18) 78%, rgba(255,107,53,.32) 100%); }
.hb-content { position: absolute; inset: 0; max-width: 1440px; margin: 0 auto; padding: 0 32px; display: flex; flex-direction: column; justify-content: center; gap: 14px; color: #fff; max-width: 760px; }
.hb-content { left: 0; right: 0; }
.hb-kicker { font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--orange-soft); margin: 0; }
.hb-title { font-size: clamp(36px, 5vw, 64px); margin: 0; color: #fff; font-weight: 700; line-height: 1.02; }
.hb-author { font-size: 19px; margin: 0; color: rgba(255,255,255,.88); font-weight: 500; }
.hb-sell { font-size: 16px; line-height: 1.6; margin: 0; max-width: 560px; color: rgba(255,255,255,.82); }
.hb-actions { display: flex; align-items: center; gap: 18px; margin-top: 8px; flex-wrap: wrap; }
.hb-cta { background: var(--orange); color: #fff; border: 0; padding: 13px 26px; border-radius: 999px; font-family: var(--sans); font-weight: 600; font-size: 15px; transition: all var(--transition); }
.hb-cta:hover { background: #fff; color: var(--klein); transform: translateY(-2px); }
.hb-meta { font-size: 13px; color: rgba(255,255,255,.8); font-weight: 500; }
.hero-scroll-hint { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-scroll-hint span { width: 22px; height: 34px; border: 2px solid rgba(255,255,255,.6); border-radius: 12px; position: relative; }
.hero-scroll-hint span::after { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 3px; height: 7px; background: rgba(255,255,255,.8); border-radius: 2px; }

/* =================================================================
   CATEGORY RAIL
   ================================================================= */
.cat-rail-wrap { border-bottom: 1px solid var(--line); background: var(--bg); }
.cat-rail { max-width: 1440px; margin: 0 auto; padding: 22px 32px; display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; }
.cat-rail::-webkit-scrollbar { display: none; }
.cat-pill { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 8px; background: transparent; border: 0; padding: 4px; min-width: 78px; transition: transform var(--transition); }
.cat-pill:hover { transform: translateY(-3px); }
.cat-pill-circle { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--display); font-weight: 700; font-size: 22px; box-shadow: 0 6px 16px rgba(14,19,48,.14); }
.cat-pill-name { font-size: 12px; font-weight: 500; color: var(--ink-soft); text-align: center; line-height: 1.2; max-width: 84px; }

/* =================================================================
   DEEP REVIEW
   ================================================================= */
.deep-review { max-width: 1440px; margin: 0 auto; padding: 48px 32px; display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: center; background: var(--klein-tint); border-radius: 0; }
.dr-cover { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); aspect-ratio: 2/3; background: var(--klein-tint); }
.dr-img, .dr-img.ph { width: 100%; height: 100%; object-fit: cover; }
.dr-img.ph { display: flex; align-items: center; justify-content: center; background: var(--klein); color: #fff; font-family: var(--display); font-weight: 700; font-size: 60px; }
.dr-body { max-width: 620px; }
.dr-kicker { font-weight: 600; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin: 0 0 12px; }
.dr-body h2 { font-size: 38px; margin: 0 0 8px; }
.dr-author { font-size: 17px; color: var(--muted); margin: 0 0 16px; font-weight: 500; }
.dr-text { font-size: 17px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 18px; }
.dr-link { background: var(--klein); color: #fff; border: 0; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 14px; transition: all var(--transition); }
.dr-link:hover { background: var(--klein-deep); transform: translateY(-1px); }

/* =================================================================
   LAYOUT (asymmetric 2-col)
   ================================================================= */
.layout { max-width: 1440px; margin: 0 auto; padding: 36px 32px; display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
.main-col { min-width: 0; }

.filter-bar { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px 16px; box-shadow: var(--shadow-card); margin-bottom: 18px; }
.filter-inner { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: flex-end; }
.filter-group { display: flex; flex-direction: column; gap: 5px; }
.filter-search { flex: 1 1 220px; min-width: 200px; }
.filter-category, .filter-discover, .filter-sort { min-width: 140px; }
.filter-label { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.search-wrap { position: relative; display: flex; align-items: center; }
.search-wrap .search-icon { position: absolute; left: 12px; color: var(--muted); pointer-events: none; }
.search-wrap input, .select-wrap select { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); color: var(--ink); font-size: 14px; outline: 0; transition: border-color var(--transition), box-shadow var(--transition); }
.search-wrap input { padding-left: 34px; background: var(--bg); }
.search-wrap input:focus, .select-wrap select:focus { border-color: var(--klein); box-shadow: 0 0 0 3px rgba(0,47,167,.14); background: #fff; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 30px; cursor: pointer; }
.select-chevron { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: var(--klein); pointer-events: none; }
.range-wrap { position: relative; width: 180px; padding-top: 6px; }
.range-track { position: absolute; top: 12px; left: 0; right: 0; height: 3px; background: var(--line); border-radius: 2px; }
.range-track span { position: absolute; top: 0; height: 3px; background: var(--klein); border-radius: 2px; }
.range-wrap input[type="range"] { position: relative; width: 100%; -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none; height: 18px; margin: 0; }
.range-wrap input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--orange); pointer-events: auto; cursor: pointer; margin-top: -7px; box-shadow: 0 1px 4px rgba(255,107,53,.5); }
.range-wrap input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--orange); border: 0; pointer-events: auto; cursor: pointer; }
.range-vals { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 2px; }
.reset-btn { align-self: flex-end; background: transparent; border: 1px solid var(--line); color: var(--ink-soft); padding: 10px 16px; border-radius: var(--radius); font-size: 13px; font-weight: 500; transition: all var(--transition); }
.reset-btn:hover { border-color: var(--klein); color: var(--klein); background: var(--klein-tint); }

.results-meta { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 4px 14px; margin-bottom: 8px; }
.results-count { margin: 0; font-family: var(--display); font-size: 16px; color: var(--klein); font-weight: 700; }
.results-hint { margin: 0; font-size: 13px; color: var(--muted); font-weight: 500; }

/* =================================================================
   MASONRY GRID + CARDS
   ================================================================= */
.grid.masonry { column-count: 3; column-gap: 18px; }
.card {
  break-inside: avoid; display: inline-block; width: 100%; margin: 0 0 18px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; cursor: pointer; box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  animation: cardIn .45s both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); border-color: var(--klein-soft); }

.card-thumb { position: relative; aspect-ratio: 2/3; background: var(--bg-soft); overflow: hidden; }
.card-thumb-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 46px; color: #fff; background: linear-gradient(135deg, var(--klein), var(--klein-soft)); }
.card-thumb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s ease; }
.card-thumb-img.loaded { opacity: 1; }
.card-ribbon { position: absolute; top: 12px; left: 0; background: var(--orange); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px 5px 10px; border-radius: 0 999px 999px 0; }
.card-medal { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; color: var(--orange); filter: drop-shadow(0 2px 3px rgba(255,107,53,.4)); }
.card-medal svg { width: 100%; height: 100%; }

.card-body { padding: 14px 16px 10px; display: flex; flex-direction: column; gap: 6px; }
.card-title { margin: 0; font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.22; }
.card-sub { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin: 0; font-weight: 500; }
.card-sub .author { color: var(--ink-soft); }
.card-sub .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--orange); }
.card-sub .year { font-variant-numeric: tabular-nums; }
.card-desc { margin: 4px 0 0; font-size: 13px; color: var(--muted); line-height: 1.55; }
.card-meta { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-top: 1px solid var(--line); }
.card-meta-text { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); font-weight: 500; }
.cat-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.card-meta-text .sep { color: var(--orange); }
.card-links { display: flex; gap: 4px; }
.card-link { color: var(--klein); display: flex; padding: 4px; border-radius: 6px; transition: background var(--transition); }
.card-link:hover { background: var(--klein-tint); }
.card-link svg { width: 15px; height: 15px; }
.card-link.disabled { color: var(--muted); opacity: .4; }

/* size variants for staggered waterfall */
.card.size-xl .card-thumb, .card.size-lg .card-thumb { aspect-ratio: 4/5; }
.card.size-md .card-thumb { aspect-ratio: 3/4; }
.card.size-sm .card-thumb { aspect-ratio: 2/3; }
.card.size-sm .card-desc { display: none; }
.card.size-md .card-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card.size-xl .card-title, .card.size-lg .card-title { font-size: 20px; }
.card.size-xl .card-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.sentinel { height: 1px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-ornament { font-size: 40px; color: var(--orange); font-family: var(--display); margin-bottom: 8px; }

/* =================================================================
   RIGHT SIDEBAR
   ================================================================= */
.side-right { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 90px; max-height: calc(100vh - 110px); overflow-y: auto; padding-right: 2px; }
.side-right::-webkit-scrollbar { width: 6px; }
.side-right::-webkit-scrollbar-thumb { background: var(--klein-tint); border-radius: 3px; }
.side-block { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow-card); }
.side-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.side-head h4 { margin: 0; font-size: 15px; color: var(--ink); }
.side-head span { font-size: 10px; font-weight: 700; letter-spacing: .14em; background: var(--orange); color: #fff; padding: 3px 8px; border-radius: 999px; }

.hot-chart { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.hot-chart li { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 8px 6px; border-radius: var(--radius); cursor: pointer; transition: background var(--transition); }
.hot-chart li:hover { background: var(--klein-tint); }
.hc-rank { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--orange); text-align: center; }
.hc-meta { min-width: 0; }
.hc-title { margin: 0; font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-author { margin: 0; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-heat { font-size: 11px; color: var(--orange); font-weight: 600; }

.new-express { display: flex; flex-direction: column; gap: 12px; }
.ne-item { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; cursor: pointer; padding: 4px; border-radius: var(--radius); transition: background var(--transition); }
.ne-item:hover { background: var(--klein-tint); }
.ne-cover { width: 40px; height: 54px; border-radius: 4px; overflow: hidden; box-shadow: 0 2px 6px rgba(14,19,48,.12); }
.ne-img, .ne-img.ph { width: 40px; height: 54px; object-fit: cover; }
.ne-img.ph { display: flex; align-items: center; justify-content: center; background: var(--klein-soft); color: #fff; font-family: var(--display); font-weight: 700; font-size: 16px; }
.ne-meta { min-width: 0; }
.ne-title { margin: 0; font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ne-sub { margin: 0; font-size: 11px; color: var(--muted); }

.author-block .ai-name { margin: 0 0 2px; font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--klein); }
.author-block .ai-on { margin: 0 0 10px; font-size: 13px; color: var(--muted); font-style: italic; }
.author-block .ai-bio { margin: 0 0 12px; font-size: 13px; line-height: 1.55; color: var(--ink-soft); }
.ai-link { background: var(--klein-tint); color: var(--klein); border: 0; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 12px; transition: all var(--transition); }
.ai-link:hover { background: var(--klein); color: #fff; }

.topic-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.topic-list li { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px; border-radius: var(--radius); background: var(--bg-soft); }
.t-tag { font-size: 13px; font-weight: 600; color: var(--klein); }
.t-count { font-size: 11px; color: var(--muted); font-weight: 600; }

/* =================================================================
   COLLECTIONS + READER WALL
   ================================================================= */
.bands { padding: 50px 0; background: var(--bg-soft); }
.bands-inner { max-width: 1440px; margin: 0 auto; padding: 0 32px; }
.bands-head { margin-bottom: 26px; }
.bands-eyebrow { font-weight: 600; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin: 0 0 6px; }
.bands-head h2 { margin: 0; font-size: 34px; }

.collections-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 290px; gap: 22px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.collections-rail::-webkit-scrollbar { height: 6px; }
.collections-rail::-webkit-scrollbar-thumb { background: var(--klein-soft); border-radius: 3px; }
.collection { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); scroll-snap-align: start; transition: transform var(--transition); }
.collection:hover { transform: translateY(-4px); }
.coll-collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 1/1; }
.coll-cover { overflow: hidden; }
.coll-img, .coll-img.ph { width: 100%; height: 100%; object-fit: cover; }
.coll-img.ph { display: flex; align-items: center; justify-content: center; background: var(--klein); color: #fff; font-family: var(--display); font-weight: 700; font-size: 28px; }
.coll-body { padding: 16px; }
.coll-kicker { font-weight: 600; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin: 0 0 6px; }
.coll-body h3 { margin: 0 0 6px; font-size: 17px; }
.coll-body span { font-size: 12px; color: var(--muted); font-weight: 500; }

.reader-wall-sec { padding: 50px 0; }
.reader-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.shelfie { margin: 0; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; box-shadow: var(--shadow-card); transition: all var(--transition); }
.shelfie:hover { transform: translateY(-4px) rotate(-1deg); border-color: var(--orange); }
.shelfie-cover { aspect-ratio: 1/1; overflow: hidden; background: var(--bg-soft); }
.shelfie-img, .shelfie-img.ph { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.shelfie:hover .shelfie-img { transform: scale(1.05); }
.shelfie-img.ph { display: flex; align-items: center; justify-content: center; background: var(--klein-soft); color: #fff; font-family: var(--display); font-weight: 700; font-size: 32px; }
.shelfie figcaption { padding: 12px 14px; }
.shelfie figcaption p { margin: 0 0 4px; font-size: 13px; color: var(--ink-soft); line-height: 1.5; font-style: italic; }
.shelfie figcaption span { font-size: 11px; color: var(--muted); }

/* =================================================================
   ACTIVITY
   ================================================================= */
.activity { padding: 30px 0 60px; }
.activity-inner { max-width: 1440px; margin: 0 auto; padding: 0 32px; }
.activity-card { background: linear-gradient(110deg, var(--klein) 0%, var(--klein-deep) 60%, var(--klein-soft) 100%); border-radius: var(--radius-lg); padding: 40px; color: #fff; position: relative; overflow: hidden; }
.activity-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,107,53,.25); }
.act-eyebrow { font-weight: 600; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--orange-soft); margin: 0 0 10px; position: relative; }
.activity-card h3 { color: #fff; font-size: 28px; margin: 0 0 10px; position: relative; max-width: 560px; }
.activity-card p { font-size: 16px; color: rgba(255,255,255,.85); margin: 0 0 20px; max-width: 540px; position: relative; }
.activity-card .subscribe-btn { position: relative; }

/* =================================================================
   FOOTER
   ================================================================= */
.site-footer { background: var(--ink); color: rgba(255,255,255,.85); padding: 40px 32px; }
.footer-inner { max-width: 1440px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.footer-left { max-width: 480px; }
.footer-brand { font-family: var(--display); font-weight: 700; font-size: 22px; color: #fff; }
.footer-left p { margin: 8px 0 0; font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.6; }
.footer-right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.footer-right a { color: rgba(255,255,255,.85); font-size: 14px; font-weight: 500; }
.footer-right a:hover { color: var(--orange); text-decoration: none; }
.socials { display: flex; gap: 8px; }
.socials a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.socials a:hover { background: var(--orange); color: #fff; }

/* =================================================================
   DETAIL PANEL
   ================================================================= */
.panel-overlay { position: fixed; inset: 0; background: rgba(14,19,48,.5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); z-index: 90; opacity: 0; transition: opacity .35s ease; }
.panel-overlay.show { opacity: 1; }
.detail-panel { position: fixed; top: 0; right: 0; height: 100vh; width: min(620px, 100vw); z-index: 100; background: var(--bg); box-shadow: var(--shadow-panel); transform: translateX(100%); transition: transform .38s cubic-bezier(.22,.61,.36,1); display: flex; flex-direction: column; }
.detail-panel.open { transform: translateX(0); }
.panel-close { position: absolute; top: 16px; right: 16px; z-index: 5; background: var(--bg-soft); border: 0; color: var(--ink); width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.panel-close:hover { background: var(--klein); color: #fff; }
.panel-drag { display: none; }
.panel-scroll { flex: 1; overflow-y: auto; }
.panel-content { padding: 36px 38px 28px; }
.panel-hero { display: grid; grid-template-columns: 130px 1fr; gap: 22px; align-items: start; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.panel-thumb { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.panel-thumb img { width: 130px; height: 185px; object-fit: cover; }
.panel-hero-text { display: flex; flex-direction: column; gap: 6px; }
.panel-eyebrow { font-weight: 600; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); margin: 0; }
#panel-title { margin: 0; font-size: 30px; color: var(--ink); }
.panel-author { margin: 0; font-size: 17px; color: var(--muted); font-weight: 500; }
.panel-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.panel-tag { font-size: 11px; font-weight: 600; color: var(--klein); background: var(--klein-tint); padding: 4px 10px; border-radius: 999px; }
.panel-section { margin-bottom: 22px; }
.panel-section h4 { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.panel-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.panel-meta-item { display: flex; flex-direction: column; gap: 2px; }
.panel-meta-item .k { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.panel-meta-item .v { font-size: 14px; color: var(--ink); }
.panel-desc { font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
.panel-desc h2 { font-size: 18px; color: var(--klein); margin: 18px 0 8px; }
.panel-desc p { margin: 0 0 12px; }
.panel-discover { font-size: 15px; color: var(--ink-soft); margin: 0; font-style: italic; }
.panel-award { display: flex; gap: 10px; align-items: flex-start; background: var(--orange-tint); border-radius: var(--radius); padding: 12px 14px; }
.panel-award .medal-ico { color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.panel-award span { font-size: 14px; color: var(--ink-soft); }
.panel-author-bio { font-size: 14px; line-height: 1.65; color: var(--ink-soft); margin: 0; }
.panel-ext-link { display: inline-flex; align-items: center; gap: 8px; background: var(--klein); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 14px; transition: all var(--transition); }
.panel-ext-link:hover { background: var(--klein-deep); color: #fff; text-decoration: none; transform: translateY(-1px); }
.panel-ext-link.disabled { background: var(--bg-soft); color: var(--muted); pointer-events: none; }
.panel-nav { display: flex; gap: 10px; padding: 14px 38px; border-top: 1px solid var(--line); background: var(--bg-soft); }
.panel-nav-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--bg); border: 1px solid var(--line); color: var(--klein); padding: 11px; border-radius: var(--radius); font-weight: 600; font-size: 14px; transition: all var(--transition); }
.panel-nav-btn:hover:not(:disabled) { background: var(--klein); color: #fff; border-color: var(--klein); }
.panel-nav-btn:disabled { opacity: .4; cursor: not-allowed; }

/* =================================================================
   MOBILE FILTER SHEET
   ================================================================= */
.sheet-overlay { position: fixed; inset: 0; background: rgba(14,19,48,.5); z-index: 110; opacity: 0; transition: opacity .3s ease; }
.sheet-overlay.show { opacity: 1; }
.filter-sheet { position: fixed; bottom: 0; left: 0; right: 0; z-index: 120; background: var(--bg); border-radius: 20px 20px 0 0; transform: translateY(100%); transition: transform .35s cubic-bezier(.22,.61,.36,1); max-height: 88vh; display: flex; flex-direction: column; }
.filter-sheet.open { transform: translateY(0); }
.sheet-handle { width: 44px; height: 4px; background: var(--klein-soft); border-radius: 2px; margin: 10px auto 0; opacity: .4; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.sheet-head h3 { margin: 0; font-size: 18px; }
.sheet-close { background: transparent; border: 0; color: var(--ink); padding: 4px; }
.sheet-body { flex: 1; overflow-y: auto; padding: 18px 22px; display: flex; flex-direction: column; gap: 18px; }
.sheet-foot { display: flex; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--line); }
.apply-btn { flex: 1; background: var(--klein); color: #fff; border: 0; padding: 12px; border-radius: var(--radius); font-weight: 600; font-size: 14px; }
.sheet-foot .reset-btn { flex: 0 0 auto; }

/* =================================================================
   GENERIC PAGE
   ================================================================= */
.page-main { max-width: 760px; margin: 0 auto; padding: 56px 32px 80px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--klein); font-size: 14px; font-weight: 500; margin-bottom: 28px; }
.back-link:hover { color: var(--orange); text-decoration: none; }
.page-eyebrow { font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); margin: 0 0 8px; }
.page-title { font-size: 44px; margin: 0 0 16px; }
.page-lede { font-size: 19px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 36px; font-weight: 300; }
.page-section { margin-bottom: 30px; }
.page-section h2 { font-size: 22px; margin: 0 0 12px; color: var(--klein); }
.page-section p { font-size: 15px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 12px; }
.page-section ul { padding-left: 22px; color: var(--ink-soft); }
.page-section li { margin-bottom: 8px; line-height: 1.65; }
.contact-card { background: var(--klein-tint); border-radius: var(--radius); padding: 20px 24px; margin-top: 12px; }
.contact-card .label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 12px; font-weight: 600; }
.contact-card .label:first-child { margin-top: 0; }
.contact-card .value { font-size: 16px; color: var(--ink); }

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 1180px) {
  .grid.masonry { column-count: 2; }
  .layout { grid-template-columns: 1fr 280px; }
  .reader-wall { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .header-inner { grid-template-columns: auto auto; gap: 14px; }
  .tag-nav { display: none; }
  .filter-toggle { display: flex; margin-left: auto; }
  .header-search, .subscribe-btn { display: none; }
  .deep-review { grid-template-columns: 1fr; padding: 32px 24px; gap: 24px; }
  .dr-cover { max-width: 220px; margin: 0 auto; }
  .layout { grid-template-columns: 1fr; padding: 24px 20px; }
  .side-right { position: static; max-height: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .reader-wall { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; }
}
@media (max-width: 720px) {
  .grid.masonry { column-count: 1; }
  .hero-banner { height: 70vh; min-height: 420px; }
  .hb-content { padding: 0 22px; }
  .hb-title { font-size: 34px; }
  /* 移动端隐藏侧边栏，筛选功能通过筛选面板访问 */
  .side-right { display: none; }
  .activity-card { padding: 28px 22px; }
  .activity-card h3 { font-size: 22px; }
  .panel-content { padding: 28px 22px; }
  .panel-hero { grid-template-columns: 1fr; }
  .panel-meta-grid { grid-template-columns: 1fr; }
  .detail-panel { width: 100vw; }
  .reader-wall { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* =================================================================
   IMMERSIVE DETAIL VIEW (全屏沉浸式长图文详情)
   —— 固定全屏覆盖层，从底部滑入；顶部保留磁性导航栏
   —— 杂志式排版：克莱因蓝 + 橙色撞色、视差横幅、金句抽拉条、瀑布热评
   ================================================================= */
.detail-view {
  position: fixed;
  top: var(--header-h);          /* 位于磁性导航栏之下，导航栏保持可见 */
  left: 0; right: 0; bottom: 0;
  z-index: 45;
  background: var(--bg);
  overflow-y: auto;
  overflow-x: hidden;
  transform: translateY(100%);   /* 初始位于视口下方 */
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
  -webkit-overflow-scrolling: touch;
}
.detail-view.open { transform: translateY(0); }
body.detail-open { overflow: hidden; } /* 锁定背景列表滚动 */
.detail-view[hidden] { display: none; }

/* 返回按钮：固定在左上角，紧贴导航栏下方（默认隐藏，随 body.detail-open 显现） */
.detail-back {
  position: fixed;
  top: calc(var(--header-h) + 14px);
  left: 22px;
  z-index: 46;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  color: var(--klein);
  font-family: var(--sans); font-weight: 600; font-size: 13px;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(14,19,48,.14);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}
body.detail-open .detail-back { opacity: 1; visibility: visible; transform: translateY(0); }
.detail-back:hover { background: var(--klein); color: #fff; border-color: var(--klein); transform: translateX(-2px); }

.detail-content { min-width: 0; }

/* 通用：章节眉标 + 大标题 */
.dv-section-kicker { font-weight: 600; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin: 0 0 8px; }
.dv-section-title { font-family: var(--display); font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 26px; color: var(--ink); letter-spacing: -.01em; }

/* ----- 1. 主题横幅：封面 + 大气渐变 + 视差 ----- */
.dv-banner { position: relative; min-height: 70vh; padding: 120px 32px 64px; overflow: hidden; display: flex; align-items: center; }
.dv-banner-bg { position: absolute; inset: -10% 0 auto 0; height: 120%; background-size: cover; background-position: center; transform: scale(1.06); will-change: transform; }
.dv-banner-bg.dv-banner-solid { background: linear-gradient(135deg, var(--klein) 0%, var(--klein-deep) 60%, var(--orange) 130%); }
.dv-banner-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(0,31,110,.92) 0%, rgba(0,47,167,.78) 40%, rgba(0,47,167,.35) 72%, rgba(255,107,53,.45) 100%); }
.dv-banner-inner { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: 220px 1fr; gap: 44px; align-items: center; color: #fff; }
.dv-banner-cover { border-radius: 14px; overflow: hidden; box-shadow: 0 22px 54px rgba(0,0,0,.45); aspect-ratio: 2/3; will-change: transform; }
.dv-cover-img, .dv-cover-img.ph { width: 100%; height: 100%; object-fit: cover; }
.dv-cover-img.ph { display: flex; align-items: center; justify-content: center; background: var(--klein-soft); color: #fff; font-family: var(--display); font-weight: 700; font-size: 70px; }
.dv-kicker { font-weight: 600; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--orange-soft); margin: 0 0 14px; }
.dv-title { font-family: var(--display); font-weight: 700; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.02; margin: 0 0 16px; color: #fff; letter-spacing: -.02em; }
.dv-slogan { font-size: clamp(18px, 2vw, 24px); line-height: 1.4; margin: 0 0 18px; color: rgba(255,255,255,.92); font-weight: 300; max-width: 620px; }
.dv-banner-author { font-size: 17px; color: rgba(255,255,255,.82); font-weight: 500; margin: 0; }

/* ----- 2. 核心信息条：深色底，分类 / 评分 / 热度撞色 ----- */
.dv-infobar { background: var(--ink); color: #fff; }
.dv-infobar-inner { max-width: 1180px; margin: 0 auto; padding: 22px 32px; display: flex; flex-wrap: wrap; gap: 18px 38px; align-items: center; }
.dv-ib-item { display: flex; flex-direction: column; gap: 4px; }
.dv-ib-k { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-soft); font-weight: 600; }
.dv-ib-v { font-size: 15px; font-weight: 600; color: #fff; }
.dv-stars em { font-style: normal; color: var(--orange-soft); margin-left: 6px; font-size: 13px; }
.dv-ib-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.dv-cat-tag { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; }
.dv-cat-tag:first-child { background: var(--orange); }
.dv-buzz-tag { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--orange-soft); color: var(--orange-soft); }

/* ----- 3. 两栏描述：左正文 / 右书目信息 ----- */
.dv-two-col { max-width: 1180px; margin: 0 auto; padding: 64px 32px; display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.dv-col-main { min-width: 0; }
.dv-ch-h { font-family: var(--display); font-size: 22px; color: var(--klein); margin: 28px 0 10px; }
.dv-ch-h:first-child { margin-top: 0; }
.dv-ch-p { font-size: 16px; line-height: 1.75; color: var(--ink-soft); margin: 0 0 14px; }
.dv-col-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 90px; }
.dv-side-card { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 22px; border: 1px solid var(--line); }
.dv-side-kicker { font-weight: 600; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); margin: 0 0 14px; }
.dv-meta-list { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.dv-meta-row { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.dv-meta-row:last-child { border-bottom: 0; padding-bottom: 0; }
.dv-meta-row dt { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0; }
.dv-meta-row dd { font-size: 13px; color: var(--ink); margin: 0; text-align: right; max-width: 60%; }
.dv-award { margin-top: 16px; background: var(--orange-tint); border-radius: var(--radius); padding: 12px 14px; display: flex; gap: 10px; align-items: flex-start; }
.dv-award .dv-medal { color: var(--orange); font-size: 18px; flex-shrink: 0; line-height: 1.4; }
.dv-award span:last-child { font-size: 12px; color: var(--ink-soft); line-height: 1.5; }
.dv-author-bio { font-size: 14px; line-height: 1.65; color: var(--ink-soft); margin: 0; }

/* ----- 4. 编辑深度书评：浅蓝底长文 ----- */
.dv-review { background: var(--klein-tint); padding: 72px 32px; }
.dv-review-inner { max-width: 820px; margin: 0 auto; }
.dv-review .dv-section-title { color: var(--klein-deep); }
.dv-review-text { font-size: 19px; line-height: 1.75; color: var(--ink-soft); font-weight: 300; margin: 0; }
.dv-review-by { margin-top: 22px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--klein); font-weight: 600; }

/* ----- 5. 章节摘录：交错饱和色块 ----- */
.dv-excerpts { padding: 72px 32px; }
.dv-excerpts-inner { max-width: 1180px; margin: 0 auto; }
.dv-exc-list { display: flex; flex-direction: column; gap: 22px; }
.dv-exc { display: grid; grid-template-columns: 88px 1fr; gap: 28px; align-items: start; padding: 28px 30px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); transition: transform var(--transition); }
.dv-exc:hover { transform: translateX(4px); }
.dv-exc.alt { background: var(--klein); border-color: var(--klein); }
.dv-exc.alt .dv-exc-num { color: var(--orange-soft); }
.dv-exc.alt .dv-exc-h { color: #fff; }
.dv-exc.alt .dv-exc-p { color: rgba(255,255,255,.86); }
.dv-exc-num { font-family: var(--display); font-weight: 700; font-size: 48px; color: var(--klein-tint); line-height: 1; }
.dv-exc-body { min-width: 0; }
.dv-exc-h { font-family: var(--display); font-size: 22px; margin: 0 0 10px; color: var(--ink); }
.dv-exc-p { font-size: 15px; line-height: 1.7; color: var(--ink-soft); margin: 0; }

/* ----- 6. 金句抽拉条：横向滑动，蓝 / 橙撞色 ----- */
.dv-quotes { padding: 72px 32px; background: var(--bg-soft); }
.dv-quotes-inner { max-width: 1180px; margin: 0 auto; }
.dv-quote-track { display: flex; gap: 18px; overflow-x: auto; padding: 6px 4px 16px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.dv-quote-track::-webkit-scrollbar { display: none; }
.dv-quote-tab { flex: 0 0 360px; padding: 34px 30px; border-radius: var(--radius-lg); scroll-snap-align: start; box-shadow: var(--shadow-card); color: #fff; }
.dv-quote-tab.blue { background: var(--klein); }
.dv-quote-tab.orange { background: var(--orange); }
.dv-quote-mark { font-family: var(--display); font-size: 64px; line-height: .6; opacity: .55; display: block; margin-bottom: 8px; }
.dv-quote-tab p { font-family: var(--display); font-size: 20px; line-height: 1.4; margin: 0; font-weight: 500; }

/* ----- 7. 同系列推荐：横向滚动卡片 ----- */
.dv-related { padding: 72px 32px; }
.dv-related-inner { max-width: 1180px; margin: 0 auto; }
.dv-related-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 200px; gap: 18px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.dv-related-rail::-webkit-scrollbar { height: 6px; }
.dv-related-rail::-webkit-scrollbar-thumb { background: var(--klein-soft); border-radius: 3px; }
.dv-rel-card { scroll-snap-align: start; cursor: pointer; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); transition: transform var(--transition), box-shadow var(--transition); }
.dv-rel-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.dv-rel-cover { aspect-ratio: 2/3; overflow: hidden; background: var(--bg-soft); }
.dv-rel-img, .dv-rel-img.ph { width: 100%; height: 100%; object-fit: cover; }
.dv-rel-img.ph { display: flex; align-items: center; justify-content: center; background: var(--klein); color: #fff; font-family: var(--display); font-weight: 700; font-size: 36px; }
.dv-rel-body { padding: 12px 14px; }
.dv-rel-body h3 { margin: 0 0 4px; font-size: 14px; color: var(--ink); line-height: 1.25; }
.dv-rel-body p { margin: 0; font-size: 12px; color: var(--muted); }

/* ----- 8. 读者热评瀑布：深色底 masonry ----- */
.dv-reviews { padding: 72px 32px; background: var(--ink); }
.dv-reviews .dv-section-kicker { color: var(--orange-soft); }
.dv-reviews .dv-section-title { color: #fff; }
.dv-reviews-inner { max-width: 1180px; margin: 0 auto; }
.dv-review-wall { column-count: 3; column-gap: 18px; }
.dv-review-card { break-inside: avoid; margin: 0 0 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 22px; }
.dv-review-card blockquote { margin: 0 0 14px; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.9); font-style: italic; }
.dv-review-card figcaption { display: flex; justify-content: space-between; align-items: center; }
.dv-rv-name { font-size: 12px; font-weight: 600; color: var(--orange-soft); letter-spacing: .04em; }
.dv-rv-stars { font-size: 12px; color: var(--orange); letter-spacing: .04em; }

.dv-end-pad { height: 120px; } /* 底部留白，避免浮动操作栏遮挡末尾内容 */

/* ----- 底部浮动操作栏：模糊背景，随 body.detail-open 滑入 ----- */
.detail-action-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 47; display: flex; gap: 10px; padding: 12px 22px; background: rgba(255,255,255,.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); transform: translateY(120%); transition: transform .45s cubic-bezier(.22,.61,.36,1) .12s; }
body.detail-open .detail-action-bar { transform: translateY(0); }
.da-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 999px; padding: 12px 18px; font-family: var(--sans); font-weight: 600; font-size: 14px; cursor: pointer; transition: all var(--transition); text-decoration: none; white-space: nowrap; }
.da-favorite { background: var(--bg-soft); color: var(--ink); border: 1px solid var(--line); }
.da-favorite:hover, .da-favorite.active { background: var(--orange-tint); color: var(--orange); border-color: var(--orange); }
.da-share { background: var(--bg-soft); color: var(--ink); border: 1px solid var(--line); }
.da-share:hover { background: var(--klein-tint); color: var(--klein); border-color: var(--klein); }
.da-buy { flex: 1; background: var(--klein); color: #fff; }
.da-buy:hover { background: var(--klein-deep); color: #fff; text-decoration: none; transform: translateY(-1px); }
.da-buy.disabled { background: var(--bg-soft); color: var(--muted); pointer-events: none; border: 1px solid var(--line); }

/* ----- 沉浸式详情响应式 ----- */
@media (max-width: 980px) {
  .dv-banner { min-height: auto; padding: 100px 22px 48px; }
  .dv-banner-inner { grid-template-columns: 1fr; gap: 24px; }
  .dv-banner-cover { max-width: 180px; }
  .dv-two-col { grid-template-columns: 1fr; gap: 32px; padding: 48px 22px; }
  .dv-col-side { position: static; }
  .dv-review, .dv-excerpts, .dv-quotes, .dv-related, .dv-reviews { padding: 48px 22px; }
  .dv-review-wall { column-count: 2; }
  .dv-exc { grid-template-columns: 64px 1fr; gap: 18px; padding: 22px; }
  .dv-exc-num { font-size: 38px; }
  .dv-quote-tab { flex: 0 0 80vw; }
}
@media (max-width: 720px) {
  .detail-back { top: calc(var(--header-h) + 10px); left: 14px; font-size: 12px; padding: 8px 12px 8px 10px; }
  .dv-title { font-size: 34px; }
  .dv-review-wall { column-count: 1; }
  .dv-infobar-inner { gap: 14px 22px; padding: 18px 22px; }
  .detail-action-bar { padding: 10px 14px; }
  .da-buy { font-size: 13px; padding: 11px 14px; }
  .da-btn { padding: 11px 14px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .detail-view, .detail-action-bar { transition-duration: .001ms !important; }
  .dv-banner-bg, .dv-banner-cover { transform: none !important; }
}
