
:root{
  --bg:#f7f2ea;--paper:#fffdf9;--ink:#201713;--muted:#746b63;--line:#e2d9cd;
  --brand:#47291f;--brand2:#7c4937;--accent:#e2b363;--accent2:#ca6e50;--green:#2f6b57;
  --shadow:0 18px 45px rgba(58,41,31,.12);--r:24px;--max:1280px
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:"DM Sans",system-ui,sans-serif}
a{text-decoration:none;color:inherit}button,input{font:inherit}.wrap{width:min(calc(100% - 34px),var(--max));margin:auto}.topline{height:5px;background:linear-gradient(90deg,var(--brand),var(--accent),var(--accent2))}
.site-header{position:sticky;top:0;z-index:50;background:rgba(247,242,234,.9);backdrop-filter:blur(16px);border-bottom:1px solid rgba(71,41,31,.08)}
.nav{height:76px;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;gap:11px;white-space:nowrap}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:var(--brand);color:#fff;font-family:"Playfair Display";font-size:21px;font-weight:800}.brand strong{font-family:"Playfair Display";font-size:27px}.brand strong span{color:var(--accent2)}
nav{display:flex;gap:20px;flex:1}nav a{font-weight:800;font-size:13px;color:#514840}.search{display:flex;align-items:center;gap:9px;background:var(--paper);border:1px solid var(--line);border-radius:999px;padding:10px 15px;min-width:280px}.search input{border:0;background:transparent;outline:0;width:100%}
.hero{padding:46px 0 24px;display:grid;grid-template-columns:1.45fr .75fr;gap:22px}.hero-feature{min-height:510px;border-radius:30px;overflow:hidden;position:relative;background:#2a1b16;box-shadow:var(--shadow)}.hero-feature.loading{animation:pulse 1.3s infinite alternate}.hero-backdrop{position:absolute;inset:0;background-size:cover;background-position:center;filter:blur(18px) saturate(.8);transform:scale(1.08);opacity:.28}.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(31,20,16,.98) 0%,rgba(31,20,16,.9) 48%,rgba(31,20,16,.55) 100%)}.hero-content{position:relative;z-index:2;display:grid;grid-template-columns:235px 1fr;gap:30px;height:100%;padding:38px;color:#fff;align-items:center}
.cover-img{width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:15px;box-shadow:0 24px 45px rgba(0,0,0,.3);background:#5b3b30}.kicker{text-transform:uppercase;letter-spacing:.16em;font-size:11px;font-weight:900;color:var(--accent2)}.hero .kicker{color:var(--accent)}h1,h2,h3{font-family:"Playfair Display",Georgia,serif;margin:0}.hero h1{font-size:clamp(38px,4vw,62px);line-height:1.02;margin:11px 0 10px}.subtitle{color:#d9cec7;margin-bottom:13px}.hero-summary{font-size:16px;line-height:1.7;color:#e9dfd8;max-width:690px}.badges,.store-signals,.retailer-actions{display:flex;gap:9px;flex-wrap:wrap}.badges{margin:16px 0}.badge{border-radius:999px;padding:8px 11px;font-size:11px;font-weight:900;background:#fff;color:#2d201a}.badge.gold{background:var(--accent);color:#2a1c14}.badge.green{background:#d5ecdf;color:#184d3a}.badge.choice{background:#d6eee5;color:#1f5b48}.store-signals{margin:10px 0 18px;color:#fff}.signal{padding:7px 10px;border:1px solid rgba(255,255,255,.22);border-radius:10px;font-size:12px}.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.btn{border:0;border-radius:999px;padding:12px 17px;font-weight:900;cursor:pointer}.btn.primary{background:var(--accent);color:#28190f}.btn.ghost{background:transparent;color:white;border:1px solid rgba(255,255,255,.35)}
.hot-list{background:var(--paper);border:1px solid var(--line);border-radius:30px;padding:24px}.section-mini h2{font-size:31px;margin-top:5px}.hot-item{display:grid;grid-template-columns:32px 64px 1fr;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line);cursor:pointer}.hot-item:last-child{border:0}.rank-num{font-family:"Playfair Display";font-size:24px;color:var(--accent2)}.hot-thumb{width:64px;aspect-ratio:2/3;object-fit:cover;border-radius:8px}.hot-item h4{margin:0 0 4px;font-size:13px;line-height:1.25}.micro{font-size:11px;color:var(--muted);line-height:1.35}.amazon{color:#b56a10;font-weight:900}
.trust-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:20px;overflow:hidden;margin-top:8px}.trust-strip div{background:var(--paper);padding:18px 22px}.trust-strip strong{display:block;font-size:13px;margin-bottom:4px}.trust-strip span{color:var(--muted);font-size:12px}
.section{padding:46px 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}.section-head h2,.split-head h2{font-size:39px}.section-head p{color:var(--muted);margin:7px 0 0}.chips{display:flex;gap:8px;flex-wrap:wrap}.chip{border:1px solid var(--line);background:var(--paper);border-radius:999px;padding:8px 12px;font-size:12px;font-weight:800;cursor:pointer}.chip.active{background:var(--brand);color:#fff;border-color:var(--brand)}
.book-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.book-card{background:var(--paper);border:1px solid var(--line);border-radius:21px;padding:14px;position:relative;transition:.25s;cursor:pointer}.book-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.book-card .cover-img{box-shadow:0 15px 25px rgba(46,32,25,.16)}.card-body{padding:14px 3px 3px}.store-row{font-size:12px;color:#b16c13;font-weight:900}.card-body h3{font-family:"DM Sans";font-size:17px;line-height:1.3;margin:7px 0 4px}.byline{font-size:12px;color:var(--muted)}.blurb{font-size:12px;color:#665e56;line-height:1.5;margin:10px 0 0}
.byline{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:12px;color:var(--muted)}
.byline-prefix{color:#8b7b6d;font-weight:700;letter-spacing:.01em}
.author-badge{display:inline-flex;align-items:center;min-height:26px;padding:4px 10px;border-radius:8px;background:var(--brand);border:1px solid var(--brand);color:#fff !important;font-size:11px;font-weight:800;line-height:1.1;text-decoration:none;box-shadow:0 4px 10px rgba(91,58,42,.16);transition:transform .16s ease,box-shadow .16s ease,background .16s ease,border-color .16s ease,color .16s ease}
.author-badge:hover,.author-badge:focus-visible{background:var(--brand2);border-color:var(--brand2);color:#fff !important;transform:translateY(-1px);box-shadow:0 8px 16px rgba(91,58,42,.22);outline:none;text-decoration:none}
.corner-badge{position:absolute;z-index:2;top:25px;left:25px;background:#fff;border-radius:999px;padding:7px 10px;font-size:10px;font-weight:900}
.dark-section{background:#251813;color:white}.section-head.light p{color:#bfb0a8}.editor-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.editor-card{display:grid;grid-template-columns:120px 1fr;gap:17px;background:#33231d;border:1px solid rgba(255,255,255,.08);border-radius:22px;padding:16px;cursor:pointer}.editor-card .cover-img{width:120px}.editor-card h3{font-family:"DM Sans";font-size:17px;margin:6px 0}.editor-card p{font-size:12px;color:#c7bcb6;line-height:1.5}.split-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:17px}.split-head a{font-weight:900;color:var(--brand)}.top-gap{margin-top:42px}.book-row{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.mini-card{cursor:pointer}.mini-card .cover-img{border-radius:12px}.mini-card h3{font-family:"DM Sans";font-size:14px;line-height:1.3;margin:9px 0 3px}.mini-card .micro{font-size:11px}
footer{background:#1e1511;color:white;padding:40px 0;margin-top:35px}.footer-grid{display:grid;grid-template-columns:1.5fr .6fr .6fr;gap:30px}.inverse strong{color:white}.footer-grid p,.footer-grid a{display:block;color:#bfb4ac;font-size:12px;line-height:1.9}.footer-grid>div>strong{display:block;margin-bottom:8px}
.modal{display:none;position:fixed;inset:0;background:rgba(20,13,10,.72);z-index:100;padding:22px;align-items:center;justify-content:center}.modal.open{display:flex}.modal-card{width:min(1030px,100%);max-height:92vh;overflow:auto;background:var(--paper);border-radius:27px;padding:28px;position:relative}.close{position:absolute;right:18px;top:18px;border:0;background:#eee5da;width:38px;height:38px;border-radius:50%;font-size:22px;cursor:pointer}.detail{display:grid;grid-template-columns:270px 1fr;gap:30px}.detail h2{font-size:43px;line-height:1.06;margin:8px 0}.detail-meta{color:var(--muted);margin-bottom:14px}.review-copy{line-height:1.82;color:#4f4842}.review-highlight{background:#fff0cd;border-left:4px solid var(--accent);padding:13px 15px;border-radius:0 12px 12px 0;margin:16px 0}.retailer-actions{margin-top:18px}.retailer-actions a{border:1px solid var(--line);background:white;border-radius:12px;padding:11px 14px;font-weight:900;font-size:13px}.retailer-actions a:hover{border-color:var(--brand);color:var(--brand)}.store-table{display:grid;gap:8px;margin:16px 0}.store-line{display:flex;justify-content:space-between;gap:16px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#fff}.store-line span{font-size:12px}.loading{opacity:.65}@keyframes pulse{from{opacity:.45}to{opacity:.8}}
@media(max-width:1050px){nav{display:none}.hero{grid-template-columns:1fr}.book-grid{grid-template-columns:repeat(3,1fr)}.book-row{grid-template-columns:repeat(4,1fr)}.editor-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.search{display:none}.hero-content{grid-template-columns:135px 1fr;padding:22px}.hero h1{font-size:34px}.trust-strip{grid-template-columns:1fr}.book-grid{grid-template-columns:1fr 1fr}.book-row{grid-template-columns:repeat(2,1fr)}.editor-grid{grid-template-columns:1fr}.section-head{align-items:start;flex-direction:column}.detail{grid-template-columns:1fr}.detail>.cover-img{max-width:220px;margin:auto}.footer-grid{grid-template-columns:1fr}}


/* =========================
   GoodReview V3 conversion UX
   ========================= */
.buy-panel{
  margin-top:16px;
  display:grid;
  gap:10px;
}
.buy-panel-title{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  margin-bottom:2px;
}
.buy-panel-title strong{
  font-size:13px;letter-spacing:.02em;
}
.buy-panel-title span{
  color:var(--muted);font-size:10px;
}
.buy-card{
  position:relative;
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
  align-items:center;
  border:1px solid var(--line);
  background:#fff;
  border-radius:14px;
  padding:11px 12px;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
  overflow:hidden;
}
.buy-card:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 24px rgba(58,41,31,.12);
  border-color:#c9a16a;
  background:#fffdf7;
}
.buy-card.primary{
  border-color:#d8a74f;
  background:linear-gradient(180deg,#fffaf0,#fff);
  box-shadow:0 10px 24px rgba(205,150,66,.12);
}
.buy-card.best-price{
  border-color:#9dc9b6;
}
.buy-main{
  min-width:0;
  display:flex;
  gap:10px;
  align-items:center;
}
.store-icon{
  width:38px;height:38px;border-radius:10px;
  display:grid;place-items:center;
  font-weight:900;font-size:12px;
  flex:0 0 auto;
  background:#f1ebe3;color:#3d2a21;
}
.store-icon.amazon{background:#fff2d6;color:#9c5b00}
.store-icon.ingram{background:#e5f1f6;color:#17627f}
.store-icon.kobo{background:#e7f7f2;color:#147b61}
.store-icon.apple{background:#ececec;color:#111}
.buy-copy{min-width:0}
.buy-store{
  display:flex;align-items:center;gap:7px;flex-wrap:wrap;
  font-size:12px;font-weight:900;
}
.buy-meta{
  margin-top:3px;color:var(--muted);font-size:10px;line-height:1.4;
}
.buy-badges{display:flex;gap:5px;flex-wrap:wrap;margin-top:5px}
.buy-pill{
  display:inline-flex;align-items:center;
  border-radius:999px;padding:4px 7px;
  font-size:9px;font-weight:900;
  background:#f3eee7;color:#5a4a40;
}
.buy-pill.hot{background:#fff0c9;color:#84540d}
.buy-pill.best{background:#daf0e5;color:#185f46}
.buy-price{
  text-align:right;min-width:82px;
}
.buy-price strong{
  display:block;font-size:15px;color:#2a1d17;
}
.buy-price small{
  display:block;color:var(--muted);font-size:9px;margin-top:2px;
}
.buy-cta{
  display:inline-flex;align-items:center;justify-content:center;
  margin-top:7px;
  border-radius:999px;
  padding:7px 10px;
  background:var(--brand);color:#fff;
  font-size:10px;font-weight:900;
  transition:background .18s ease, transform .18s ease;
}
.buy-card:hover .buy-cta{background:#6a3a2c;transform:translateX(1px)}
.purchase-note{
  margin-top:8px;
  font-size:9px;color:#8b8178;line-height:1.45;
}
.detail-left{
  align-self:start;
  position:sticky;
  top:0;
}
.detail-left .cover-img{
  box-shadow:0 18px 36px rgba(46,32,25,.18);
}
.detail-content{min-width:0}
.quick-tags{
  display:flex;gap:7px;flex-wrap:wrap;
  margin:12px 0 4px;
}
.quick-tag{
  padding:7px 9px;border-radius:999px;
  border:1px solid var(--line);background:#fff;
  font-size:10px;font-weight:800;color:#5a5149;
}
.market-proof{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin:14px 0;
}
.proof-box{
  border:1px solid var(--line);background:#fff;
  border-radius:12px;padding:10px 11px;
}
.proof-box strong{display:block;font-size:13px}
.proof-box span{display:block;color:var(--muted);font-size:9px;margin-top:2px;line-height:1.35}
.modal-card{
  width:min(1080px,100%);
}
.detail{
  grid-template-columns:285px 1fr;
}
.mobile-buy-anchor{display:none}
@media(max-width:760px){
  .detail-left{position:static}
  .detail{grid-template-columns:1fr}
  .buy-panel{max-width:520px;margin:16px auto 0}
  .detail-left .cover-img{max-width:220px;margin:auto}
  .market-proof{grid-template-columns:1fr}
}


/* =========================
   GoodReview V4
   Book-first hero + compact retailer CTA panel
   ========================= */

/* HERO: lighter, smaller, book-first */
.hero{
  grid-template-columns:1.35fr .65fr;
  gap:18px;
  padding-top:34px;
}
.hero-feature{
  min-height:450px;
  background:
    radial-gradient(circle at 18% 18%, rgba(226,179,99,.24), transparent 28%),
    linear-gradient(135deg,#fffdf9 0%,#f4eadf 100%);
  border:1px solid var(--line);
  box-shadow:0 16px 40px rgba(58,41,31,.10);
}
.hero-backdrop{display:none}
.hero-overlay{display:none}
.hero-content{
  color:var(--ink);
  grid-template-columns:255px 1fr;
  gap:34px;
  padding:34px;
}
.hero-content .cover-img{
  width:255px;
  max-width:100%;
  border-radius:18px;
  box-shadow:0 26px 48px rgba(58,41,31,.20);
  transform:rotate(-1deg);
  transition:transform .25s ease, box-shadow .25s ease;
}
.hero-content .cover-img:hover{
  transform:rotate(0deg) translateY(-3px);
  box-shadow:0 30px 54px rgba(58,41,31,.25);
}
.hero .kicker{color:var(--accent2)}
.hero h1{
  color:var(--ink);
  font-size:clamp(35px,3.15vw,54px);
  line-height:1.01;
  margin:9px 0 9px;
  max-width:760px;
}
.hero .subtitle{color:#6b625a;margin-bottom:10px}
.hero .badges{margin:12px 0 9px}
.hero .store-signals{color:var(--ink);margin:8px 0 14px}
.hero .signal{
  border:1px solid var(--line);
  background:rgba(255,255,255,.78);
  color:#4a4039;
}
.hero-summary{
  color:#5a5049;
  font-size:15px;
  line-height:1.62;
  max-width:650px;
  margin:12px 0 0;
}
.hero .btn.ghost{
  background:#fff;
  color:var(--brand);
  border:1px solid #cdbeb0;
}
.hero .btn.ghost:hover{
  border-color:var(--brand);
}
.hero-actions{margin-top:16px}
.hot-list{
  padding:22px;
  box-shadow:0 12px 32px rgba(58,41,31,.06);
}
.hot-item{padding:11px 0}
.hot-thumb{width:58px}
.rank-num{font-size:21px}

/* MODAL: cleaner and shorter */
.modal-card{
  width:min(1060px,100%);
  padding:24px;
}
.detail{
  grid-template-columns:270px 1fr;
  gap:28px;
}
.detail-left{
  position:sticky;
  top:0;
}
.detail-left .cover-img{
  max-height:420px;
  object-fit:cover;
}
.detail h2{
  font-size:40px;
  line-height:1.04;
  margin:7px 0 7px;
}
.detail-meta{margin-bottom:8px}
.detail-content .badges{margin:8px 0}
.market-proof{
  grid-template-columns:repeat(3,1fr);
  gap:7px;
  margin:10px 0 10px;
}
.proof-box{
  padding:8px 10px;
  border-radius:10px;
}
.proof-box strong{font-size:12px}
.proof-box span{font-size:8px}
.quick-tags{margin:8px 0 4px}
.quick-tag{padding:5px 8px;font-size:9px}
.review-highlight{
  margin:10px 0 14px;
  padding:11px 13px;
}
.review-copy{font-size:14px;line-height:1.7}

/* One compact retailer box under cover */
.buy-panel{
  margin-top:12px;
  border:1px solid var(--line);
  background:#fff;
  border-radius:16px;
  padding:10px;
  gap:0;
}
.buy-panel-title{
  padding:2px 2px 8px;
  margin:0;
  border-bottom:1px solid #eee5da;
}
.buy-panel-title strong{font-size:12px}
.buy-panel-title span{font-size:9px}
.buy-card{
  border:0;
  border-bottom:1px solid #eee5da;
  border-radius:0;
  padding:9px 2px;
  background:transparent;
  box-shadow:none;
  grid-template-columns:1fr auto;
}
.buy-card:last-of-type{border-bottom:0}
.buy-card.primary,
.buy-card.best-price{
  border-color:#eee5da;
  background:transparent;
  box-shadow:none;
}
.buy-card:hover{
  transform:none;
  box-shadow:none;
  background:#fffaf3;
  border-color:#eee5da;
}
.buy-main{gap:9px}
.store-icon{
  width:34px;height:34px;border-radius:9px;
  font-size:11px;
}
.buy-copy{display:flex;flex-direction:column;justify-content:center}
.buy-store{font-size:11px}
.buy-meta{font-size:9px;margin-top:2px}
.buy-badges{display:none}
.buy-price{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:auto;
}
.buy-price strong{font-size:11px;white-space:nowrap}
.buy-price small{display:none}
.buy-cta{
  margin-top:0;
  padding:7px 9px;
  font-size:9px;
  white-space:nowrap;
}
.purchase-note{
  font-size:8px;
  margin:7px 2px 1px;
  color:#9a8f86;
}

/* store icon colors */
.store-icon.amazon{
  background:#fff0cf;color:#b56800;
  box-shadow:inset 0 0 0 1px #f1d39a;
}
.store-icon.ingram{
  background:#dff0f8;color:#18769a;
  box-shadow:inset 0 0 0 1px #bdddea;
}
.store-icon.kobo{
  background:#dff5ee;color:#138164;
  box-shadow:inset 0 0 0 1px #bfe5d9;
}
.store-icon.apple{
  background:#eeeeee;color:#111;
  box-shadow:inset 0 0 0 1px #d7d7d7;
}

/* subtle conversion cue */
.buy-panel-title::before{
  content:"";
  display:inline-block;
  width:7px;height:7px;border-radius:50%;
  background:#5ba77f;
  margin-right:6px;
  box-shadow:0 0 0 3px rgba(91,167,127,.12);
}

@media(max-width:1050px){
  .hero{grid-template-columns:1fr}
  .hero-content{grid-template-columns:220px 1fr}
}
@media(max-width:760px){
  .hero-content{
    grid-template-columns:125px 1fr;
    gap:18px;
    padding:20px;
  }
  .hero-content .cover-img{width:125px}
  .hero h1{font-size:30px}
  .detail-left{position:static}
  .buy-panel{max-width:520px;margin:12px auto 0}
}
@media(max-width:520px){
  .hero-content{grid-template-columns:1fr}
  .hero-content .cover-img{width:175px;margin:auto}
  .hero h1{font-size:31px}
  .buy-card{grid-template-columns:1fr auto}
  .buy-price strong{display:none}
}


/* =========================
   V5 updates: remove trust strip, add date clarity
   ========================= */
.hero{padding-bottom:8px}
.section#latest{padding-top:16px}
.meta-line{
  color:#8c7b6f;
  font-size:12px;
  margin:0 0 10px;
}
.badge small{
  display:block;
  font-size:10px;
  font-weight:600;
  opacity:.8;
  margin-top:2px;
}
.hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.hero-jump{
  color:#8b5d3f;
  font-size:13px;
  font-weight:700;
}
.hero-jump:hover{color:var(--brand)}
.time-meta{
  font-size:11px;
  color:#94867a;
  margin:6px 0 6px;
}
.meta-date{color:#94867a}
.detail-timeline{
  font-size:12px;
  color:#8f8176;
  margin:-2px 0 10px;
}
.purchase-note{line-height:1.4}
@media(max-width:760px){
  .detail-timeline,.meta-line,.time-meta{font-size:11px}
}


/* =========================
   V6 updates: real local store icons
   ========================= */
.store-icon{
  width:42px;
  height:42px;
  border-radius:12px;
  display:grid;
  place-items:center;
  padding:0;
  overflow:hidden;
  background:#fff;
}
.store-icon img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
.buy-main{gap:10px; align-items:center;}
.buy-store{font-size:12px; font-weight:800;}
.buy-meta{font-size:9px; line-height:1.35;}
.buy-price{gap:10px;}
.buy-cta{
  background:#4e2f26;
  color:#fff;
  border:1px solid #4e2f26;
}
.buy-card:hover .buy-cta{background:#3e241d;border-color:#3e241d;}
.buy-panel-title span{font-size:9px; letter-spacing:.04em; text-transform:uppercase;}
.purchase-note{padding-top:4px;}


/* =========================
   V7 updates: shorter hero + latest review date ribbons
   ========================= */
.hero{
  padding-top:22px;
  padding-bottom:4px;
  align-items:start;
}
.hero-feature{
  min-height:385px;
}
.hero-content{
  grid-template-columns:220px 1fr;
  gap:28px;
  padding:26px 28px;
  align-items:center;
}
.hero-content .cover-img{
  width:220px;
}
.hero h1{
  font-size:clamp(32px,2.85vw,50px);
  line-height:1.02;
  margin:8px 0 8px;
}
.hero .badges{margin:10px 0 8px}
.hero .store-signals{margin:7px 0 10px}
.hero-summary{
  margin:8px 0 0;
  line-height:1.55;
}
.hero-actions{margin-top:14px}
.hot-list{
  padding:18px 20px;
}
.hot-item{
  padding:9px 0;
}
.section#latest{
  padding-top:6px;
}
.section-head{margin-bottom:14px}

.book-card.with-ribbon{
  overflow:hidden;
}
.review-ribbon{
  position:absolute;
  top:18px;
  right:-44px;
  z-index:3;
  min-width:180px;
  text-align:center;
  background:linear-gradient(180deg,#f2c45f 0%, #e4ad3f 100%);
  color:#4b2e07;
  font-size:10px;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
  padding:7px 12px;
  box-shadow:0 8px 18px rgba(176,122,19,.22);
  transform:rotate(34deg);
  border:1px solid rgba(144,101,16,.18);
}
.book-card.with-ribbon .corner-badge{
  top:54px;
}
.book-card.with-ribbon .cover-img{
  margin-top:8px;
}
@media(max-width:1050px){
  .hero-feature{min-height:360px}
}
@media(max-width:760px){
  .hero{padding-top:16px}
  .hero-feature{min-height:unset}
  .hero-content{
    grid-template-columns:125px 1fr;
    gap:16px;
    padding:18px;
  }
  .hero-content .cover-img{width:125px}
  .hero h1{font-size:30px}
  .review-ribbon{
    min-width:150px;
    right:-44px;
    top:16px;
    font-size:9px;
    padding:6px 10px;
  }
  .book-card.with-ribbon .corner-badge{top:46px}
}
@media(max-width:520px){
  .hero-content{grid-template-columns:1fr}
  .hero-content .cover-img{width:168px;margin:auto}
  .review-ribbon{
    min-width:142px;
    right:-46px;
    top:12px;
  }
}


/* =========================
   V8 updates: magazine ribbon + polished hover motion
   ========================= */
.book-card{
  transition:transform .28s cubic-bezier(.2,.75,.25,1), box-shadow .28s ease, border-color .28s ease;
  will-change:transform;
}
.book-card::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:21px;
  pointer-events:none;
  background:linear-gradient(135deg,rgba(255,255,255,.0) 35%,rgba(255,255,255,.28) 50%,rgba(255,255,255,0) 65%);
  transform:translateX(-120%);
  transition:transform .65s ease;
}
.book-card:hover{
  transform:translateY(-7px) scale(1.012);
  box-shadow:0 22px 48px rgba(58,41,31,.16);
  border-color:#d7c7b7;
}
.book-card:hover::after{
  transform:translateX(120%);
}
.book-card .cover-img{
  transition:transform .34s cubic-bezier(.2,.75,.25,1), filter .34s ease, box-shadow .34s ease;
}
.book-card:hover .cover-img{
  transform:scale(1.025);
  filter:saturate(1.04) contrast(1.015);
  box-shadow:0 20px 34px rgba(46,32,25,.22);
}
.book-card .card-body h3{
  transition:color .22s ease;
}
.book-card:hover .card-body h3{
  color:#6b3c2c;
}

/* Premium editorial ribbon */
.book-card.with-ribbon{
  overflow:hidden;
}
.review-ribbon{
  position:absolute;
  top:24px;
  right:-50px;
  z-index:4;
  width:205px;
  text-align:center;
  background:linear-gradient(180deg,#f6d16f 0%,#e9b84f 55%,#dca53a 100%);
  color:#4d3209;
  font-size:10px;
  line-height:1.1;
  font-weight:900;
  letter-spacing:.075em;
  text-transform:uppercase;
  padding:8px 12px 7px;
  transform:rotate(35deg);
  border-top:1px solid rgba(255,255,255,.48);
  border-bottom:1px solid rgba(128,84,11,.18);
  box-shadow:0 8px 18px rgba(166,110,14,.22);
  text-shadow:0 1px 0 rgba(255,255,255,.28);
  transition:transform .28s ease, filter .28s ease, box-shadow .28s ease;
}
.review-ribbon::before,
.review-ribbon::after{
  content:"";
  position:absolute;
  top:100%;
  border-style:solid;
  border-width:5px 5px 0 0;
  border-color:#b78022 transparent transparent transparent;
  opacity:.75;
}
.review-ribbon::before{left:0}
.review-ribbon::after{right:0;transform:scaleX(-1)}
.book-card:hover .review-ribbon{
  transform:rotate(35deg) translateY(-2px) scale(1.025);
  filter:brightness(1.04) saturate(1.04);
  box-shadow:0 10px 22px rgba(166,110,14,.30);
}

/* latest cards get a subtle warm edge when hovered */
#latestGrid .book-card:hover{
  border-color:#d8b56e;
}
#latestGrid .book-card:hover .store-row{
  color:#9f5b05;
}
#latestGrid .book-card:hover .time-meta{
  color:#7c6758;
}

/* editorial / mini cards motion */
.editor-card,
.mini-card,
.hot-item{
  transition:transform .24s cubic-bezier(.2,.75,.25,1), background .24s ease, box-shadow .24s ease;
}
.editor-card:hover{
  transform:translateY(-4px);
  background:#3a2821;
  box-shadow:0 16px 32px rgba(0,0,0,.16);
}
.editor-card .cover-img,
.mini-card .cover-img,
.hot-thumb{
  transition:transform .26s ease, box-shadow .26s ease;
}
.editor-card:hover .cover-img,
.mini-card:hover .cover-img{
  transform:scale(1.025);
}
.mini-card:hover{
  transform:translateY(-4px);
}
.hot-item:hover{
  transform:translateX(4px);
  background:#fffaf4;
}
.hot-item:hover .hot-thumb{
  transform:scale(1.04);
}

/* CTA micro-interactions */
.btn,
.buy-cta{
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 20px rgba(58,41,31,.10);
}
.buy-card:hover .buy-cta{
  transform:translateX(2px);
  box-shadow:0 6px 14px rgba(78,47,38,.16);
}

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

@media(max-width:760px){
  .review-ribbon{
    width:178px;
    right:-48px;
    top:19px;
    font-size:9px;
    padding:7px 10px 6px;
  }
  .book-card:hover{
    transform:translateY(-4px);
  }
}


/* =========================
   V9 updates: compact hot list + full-bleed latest covers
   ========================= */
.hero{
  align-items:start;
}
.hot-list{
  padding:16px 18px;
  align-self:start;
}
.section-mini h2{
  font-size:25px;
  line-height:1.05;
}
.hot-item{
  grid-template-columns:28px 52px 1fr;
  gap:10px;
  padding:8px 0;
}
.rank-num{font-size:17px}
.hot-thumb{width:52px;border-radius:7px}
.hot-item h4{font-size:12px;line-height:1.22;margin:0 0 3px}
.hot-item .micro{font-size:10px;line-height:1.25}

#latestGrid .book-card{
  padding:0 0 14px;
  overflow:hidden;
}
#latestGrid .book-card .cover-img{
  display:block;
  width:100%;
  margin:0;
  border-radius:20px 20px 0 0;
  aspect-ratio: 0.78 / 1;
  object-fit:cover;
}
#latestGrid .book-card .card-body{
  padding:12px 16px 4px;
}
#latestGrid .book-card.with-ribbon .corner-badge{
  top:16px;
  left:16px;
}
#latestGrid .book-card.with-ribbon .review-ribbon{
  top:18px;
  right:-52px;
}
#latestGrid .book-card.with-ribbon .cover-img{
  margin-top:0;
}
#latestGrid .book-card .store-row,
#latestGrid .book-card .byline,
#latestGrid .book-card .time-meta,
#latestGrid .book-card .micro,
#latestGrid .book-card .blurb{
  padding-left:0;
  padding-right:0;
}

@media(max-width:1050px){
  .hot-list{padding:16px}
  .section-mini h2{font-size:24px}
}
@media(max-width:760px){
  .hot-list{padding:15px}
  .hot-item{grid-template-columns:26px 48px 1fr;gap:9px;padding:7px 0}
  .hot-thumb{width:48px}
  #latestGrid .book-card .cover-img{border-radius:18px 18px 0 0}
  #latestGrid .book-card .card-body{padding:11px 13px 4px}
  #latestGrid .book-card.with-ribbon .review-ribbon{top:16px;right:-48px}
}


/* =========================
   V10: matched hero / hot-list height + final homepage polish
   ========================= */
@media(min-width:1051px){
  .hero{
    align-items:stretch;
    grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);
    gap:18px;
    padding-top:20px;
    padding-bottom:2px;
  }
  .hero-feature,
  .hot-list{
    height:420px;
    min-height:420px;
    max-height:420px;
    box-sizing:border-box;
  }
  .hero-feature{
    display:block;
  }
  .hero-content{
    height:100%;
    grid-template-columns:205px minmax(0,1fr);
    gap:24px;
    padding:22px 26px;
    align-items:center;
  }
  .hero-content .cover-img{
    width:205px;
    max-height:330px;
    object-fit:cover;
  }
  .hero h1{
    font-size:clamp(31px,2.55vw,46px);
    line-height:1.00;
    margin:6px 0 6px;
  }
  .hero .subtitle{margin-bottom:7px}
  .meta-line{margin-bottom:7px;font-size:11px}
  .hero .badges{margin:7px 0 6px;gap:7px}
  .hero .badge{padding:6px 9px;font-size:10px}
  .hero .badge small{font-size:8px}
  .hero .store-signals{margin:5px 0 7px;gap:7px}
  .hero .signal{padding:6px 9px;font-size:11px}
  .hero-summary{
    margin:6px 0 0;
    font-size:14px;
    line-height:1.45;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .hero-actions{margin-top:10px;gap:9px}
  .hero .btn{padding:10px 15px}
  .hero-jump{font-size:12px}

  .hot-list{
    display:flex;
    flex-direction:column;
    padding:16px 18px 12px;
    align-self:stretch;
    overflow:hidden;
  }
  .hot-list .section-mini{
    flex:0 0 auto;
    margin-bottom:4px;
  }
  .hot-list .section-mini .kicker{font-size:9px}
  .hot-list .section-mini h2{
    font-size:25px;
    line-height:1;
    margin-top:4px;
  }
  #hotList{
    flex:1 1 auto;
    min-height:0;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
  }
  .hot-item{
    flex:1 1 0;
    min-height:0;
    grid-template-columns:24px 48px minmax(0,1fr);
    gap:9px;
    padding:6px 0;
    align-items:center;
  }
  .hot-thumb{width:48px;max-height:68px}
  .rank-num{font-size:16px}
  .hot-item h4{
    font-size:11px;
    line-height:1.18;
    margin:0 0 2px;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .hot-item .micro{font-size:9px;line-height:1.18}

  .section#latest{padding-top:4px}
}

/* Latest Reviews: full-bleed visual card + less duplicated copy */
#latestGrid .book-card{
  display:flex;
  flex-direction:column;
}
#latestGrid .book-card .cover-img{
  aspect-ratio:0.78 / 1;
}
#latestGrid .book-card .card-body{
  flex:1 1 auto;
  padding:11px 15px 4px;
}
#latestGrid .book-card .time-meta{
  margin:5px 0 4px;
  font-size:10px;
}
#latestGrid .book-card .blurb{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:3em;
}
#latestGrid .review-ribbon{
  width:176px;
  right:-48px;
  top:17px;
  padding:7px 10px 6px;
  font-size:9px;
  letter-spacing:.06em;
}

@media(max-width:1050px){
  .hero{
    align-items:start;
  }
  .hero-feature,
  .hot-list{
    max-height:none;
  }
}


/* =========================
   V11 cleanup: All Books directly after Editor's Picks
   ========================= */
#all.section{
  padding-top:42px;
}
#all .section-head{
  margin-bottom:18px;
}
#allGrid{
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:16px;
}
#allGrid .book-card{
  border-radius:18px;
}
#allGrid .book-card .card-body{
  padding-top:12px;
}
#allGrid .card-body h3{
  font-size:15px;
  line-height:1.28;
}
#allGrid .blurb{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
/* Latest Reviews remains a larger 4-column editorial grid */
#latestGrid{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
@media(max-width:1180px){
  #allGrid{grid-template-columns:repeat(4,minmax(0,1fr));}
}
@media(max-width:900px){
  #allGrid{grid-template-columns:repeat(3,minmax(0,1fr));}
  #latestGrid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:600px){
  #allGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
  #latestGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
}


/* =========================
   GoodReview V13
   Hover states + refined footer
   ========================= */

.site-header nav a{
  padding:10px 12px;
  border-radius:999px;
  transition:background .18s ease,color .18s ease, transform .18s ease;
}
.site-header nav a:hover,
.site-header nav a:focus-visible{
  background:var(--brand);
  color:#fff;
  transform:translateY(-1px);
  outline:none;
}

#genreChips .chip,
.section .chips .chip{
  transition:background .18s ease,color .18s ease,border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
#genreChips .chip:hover,
#genreChips .chip:focus-visible,
.section .chips .chip:hover,
.section .chips .chip:focus-visible{
  background:var(--brand);
  color:#fff;
  border-color:var(--brand);
  box-shadow:0 10px 22px rgba(71,41,31,.12);
  transform:translateY(-1px);
  outline:none;
}

.site-footer{
  background:#1e1511;
  color:#fff;
  padding:34px 0 18px;
  margin-top:38px;
}
.footer-grid-pro{
  display:grid;
  grid-template-columns:1.45fr .7fr .8fr;
  gap:28px;
  align-items:start;
}
.footer-brand-block p{
  max-width:420px;
  margin:12px 0 0;
  color:#c5b7af;
  font-size:13px;
  line-height:1.7;
}
.footer-links-group strong{
  display:block;
  margin:4px 0 10px;
  font-size:13px;
  color:#fff;
}
.footer-links-group a,
.footer-note{
  display:block;
  color:#c8bbb2;
  font-size:12px;
  line-height:1.95;
}
.footer-links-group a{
  transition:color .18s ease, transform .18s ease;
}
.footer-links-group a:hover,
.footer-links-group a:focus-visible{
  color:#fff;
  transform:translateX(2px);
  outline:none;
}
.footer-brand-block{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.footer-social{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:18px;
  flex-wrap:wrap;
}
.social-btn{
  width:42px;
  height:42px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.05);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#f6eee8;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
  transition:background .18s ease,border-color .18s ease,transform .18s ease, box-shadow .18s ease;
}
.social-btn svg{
  width:18px;
  height:18px;
  display:block;
  flex:none;
}
.social-facebook svg{width:17px;height:17px; transform:translateX(.5px)}
.social-instagram svg{width:18px;height:18px}
.social-email svg{width:18px;height:18px; transform:translateY(.25px)}
.social-btn:hover,
.social-btn:focus-visible{
  background:var(--brand2);
  border-color:rgba(255,255,255,.24);
  transform:translateY(-2px);
  box-shadow:0 8px 18px rgba(0,0,0,.18);
  outline:none;
}
.footer-bottom{
  margin-top:20px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  color:#a9968b;
  font-size:11px;
}
.footer-bottom-note{text-align:right}

@media (max-width:980px){
  .footer-grid-pro{grid-template-columns:1fr 1fr}
  .footer-brand-block{grid-column:1/-1}
}
@media (max-width:760px){
  .site-header nav{gap:8px; overflow-x:auto; padding-bottom:4px}
  .site-header nav a{padding:9px 11px; white-space:nowrap}
  .footer-grid-pro{grid-template-columns:1fr; gap:20px}
  .footer-bottom{flex-direction:column; align-items:flex-start}
}

/* =========================
   GoodReview V15 SEO static pages
   ========================= */
.static-card-link,.static-editor-link{color:inherit;text-decoration:none;display:block}
.static-editor-link{display:grid;grid-template-columns:120px 1fr;gap:17px;align-items:start}
.hot-item{color:inherit;text-decoration:none}
.hero h1 a{color:inherit}
.seo-search{min-width:auto}.seo-search a{font-size:12px;font-weight:800;color:var(--brand)}
.seo-breadcrumb{display:flex;gap:8px;align-items:center;padding:24px 0 0;font-size:12px;color:var(--muted)}
.seo-breadcrumb a{color:var(--brand);font-weight:800}
.seo-book-page{display:grid;grid-template-columns:290px minmax(0,1fr);gap:48px;padding:28px 0 54px;align-items:start}
.seo-book-cover{position:sticky;top:96px}.seo-book-cover>img{display:block;width:100%;height:auto;aspect-ratio:2/3;object-fit:cover;border-radius:18px;box-shadow:var(--shadow)}
.seo-buy-panel{margin-top:14px;background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:14px}.seo-buy-panel>strong{display:block;margin-bottom:9px}
.seo-store{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--line)}.seo-store:first-of-type{border-top:0}.seo-store span:first-child{display:grid;gap:2px}.seo-store small{color:var(--muted);font-size:10px}.seo-store-price{font-size:11px;font-weight:900;color:var(--brand);white-space:nowrap}
.seo-book-copy h1,.seo-list-hero h1{font-size:clamp(38px,5vw,64px);line-height:1.02;margin:8px 0 10px}.seo-subtitle{font-size:18px;color:var(--muted);margin:0 0 8px}.seo-byline{font-size:15px;margin:0 0 8px}.seo-byline a,.seo-genres a{font-weight:800;color:var(--brand)}.seo-genres{font-size:12px;color:var(--muted);margin:0 0 12px}.seo-dates{font-size:11px;color:var(--muted)}
.seo-review-copy,.seo-summary{margin-top:26px;max-width:780px}.seo-review-copy h2,.seo-summary h2,.seo-related h2,.seo-list-section h2{font-size:30px}.seo-review-copy p,.seo-summary p{font-family:Georgia,serif;font-size:17px;line-height:1.85;color:#40352f}
.seo-related{padding:10px 0 56px}.seo-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:18px}.seo-grid-card{background:var(--paper);border:1px solid var(--line);border-radius:18px;overflow:hidden;transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease,background .24s ease}.seo-grid-card>.cover-link{display:block;overflow:hidden;line-height:0;background:#eee4da}.seo-grid-card img{width:100%;aspect-ratio:2/3;object-fit:cover;display:block;transition:transform .28s ease,filter .28s ease}.seo-grid-card>div{padding:13px}.seo-grid-card h3{font-family:"DM Sans";font-size:15px;line-height:1.3;margin:6px 0 4px;transition:color .18s ease}.seo-grid-card p{margin:0 0 5px;font-size:12px;color:var(--muted)}.seo-grid-card small{font-size:10px;color:#a15e10}.seo-grid-card:hover,.seo-grid-card:focus-within{transform:translateY(-4px);border-color:#ccb8aa;background:#fff;box-shadow:0 16px 32px rgba(68,45,33,.11)}.seo-grid-card:hover img,.seo-grid-card:focus-within img{transform:translateY(-2px) scale(1.02)}.seo-grid-card:hover h3,.seo-grid-card:focus-within h3{color:var(--brand)}
.seo-list-hero{padding:56px 0 20px}.seo-list-hero p{color:var(--muted);max-width:720px}.seo-list-section{padding:0 0 58px}.seo-404{min-height:70vh;display:grid;place-content:center;text-align:center}.seo-404 h1{font-size:48px;margin:8px 0 20px}
@media(max-width:900px){.seo-book-page{grid-template-columns:220px minmax(0,1fr);gap:28px}.seo-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.seo-book-page{grid-template-columns:1fr}.seo-book-cover{position:static;max-width:260px;margin:auto}.seo-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.seo-book-copy h1,.seo-list-hero h1{font-size:38px}}
.detail-full-link{margin:8px 0 2px}.detail-full-link a{font-size:12px;font-weight:900;color:var(--brand)}
.book-card h3 a,.byline a,.hot-item h4 a,.editor-card h3 a{color:inherit;text-decoration:none}


/* =========================
   V16: more breathing room for hero CTA + lower Latest Reviews
   ========================= */
@media(min-width:1051px){
  .hero{
    padding-bottom:10px;
  }
  .hero-feature,
  .hot-list{
    height:438px;
    min-height:438px;
    max-height:438px;
  }
  .hero-content{
    padding:24px 26px 30px;
  }
  .hero-actions{
    margin-top:16px;
    padding-bottom:8px;
    gap:12px;
  }
  .section#latest{
    padding-top:28px;
  }
  #latest .section-head{
    margin-bottom:16px;
  }
}
#latest .section-head h2{
  margin-top:0;
}
@media(max-width:1050px){
  #latest .section-head{
    margin-bottom:16px;
  }
}


/* =========================
   V17: SEO detail pages are the primary book interaction
   ========================= */
.hero-cover-link{display:block}
.hero h1 a{color:inherit;text-decoration:none}
.cover-link{display:block}
.book-card[role="link"]:focus-visible{outline:3px solid rgba(71,41,31,.24);outline-offset:3px}
.hot-item{color:inherit;text-decoration:none}
.editor-card{color:inherit;text-decoration:none}


/* =========================
   V17.2: professional smart back navigation on book detail pages
   ========================= */
.seo-detail-nav{
  padding-top:22px;
  padding-bottom:12px;
  display:flex;
  align-items:center;
  gap:18px;
  min-width:0;
}
.seo-back-btn{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height:40px;
  padding:6px 14px 6px 7px;
  border:1px solid rgba(71,41,31,.16);
  border-radius:999px;
  background:var(--paper);
  color:var(--brand);
  font-size:12px;
  font-weight:800;
  box-shadow:0 6px 18px rgba(58,41,31,.06);
  transition:background .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.seo-back-icon{
  width:28px;
  height:28px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--brand);
  color:#fff;
  transition:background .18s ease,transform .18s ease;
}
.seo-back-icon svg{width:16px;height:16px;display:block}
.seo-back-btn:hover,
.seo-back-btn:focus-visible{
  background:var(--brand);
  color:#fff;
  border-color:var(--brand);
  box-shadow:0 10px 24px rgba(58,41,31,.14);
  transform:translateY(-1px);
  outline:none;
}
.seo-back-btn:hover .seo-back-icon,
.seo-back-btn:focus-visible .seo-back-icon{
  background:rgba(255,255,255,.15);
  transform:translateX(-1px);
}
.seo-detail-nav .seo-breadcrumb{
  padding:0;
  margin:0;
  min-width:0;
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-size:11px;
  white-space:nowrap;
  overflow:hidden;
}
.seo-detail-nav .seo-breadcrumb a{
  color:var(--brand);
  font-weight:800;
}
.seo-detail-nav .seo-breadcrumb span:last-child{
  overflow:hidden;
  text-overflow:ellipsis;
}
@media(max-width:700px){
  .seo-detail-nav{
    padding-top:16px;
    padding-bottom:10px;
    align-items:flex-start;
    flex-direction:column;
    gap:9px;
  }
  .seo-back-btn{min-height:38px}
  .seo-detail-nav .seo-breadcrumb{
    width:100%;
    font-size:10px;
  }
}


/* =========================
   V17.3: semantic book-card links (title / author / genre / series)
   ========================= */
.book-card{cursor:default}
.book-card:hover{transform:translateY(-3px)}
.cover-link,.editor-cover-link{display:block;color:inherit;text-decoration:none}
.card-title-link,.card-author-link,.card-genre-link,.card-series-link,.editor-card h3 a,.editor-byline a{color:inherit;text-decoration:none}
.card-title-link:hover,.card-title-link:focus-visible,.editor-card h3 a:hover,.editor-card h3 a:focus-visible{
  color:var(--brand2);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;outline:none
}
.card-author-link,.editor-byline a{font-weight:700;color:#5f5047}
.card-author-link:hover,.card-author-link:focus-visible,.editor-byline a:hover,.editor-byline a:focus-visible{
  color:var(--brand);text-decoration:underline;text-underline-offset:3px;outline:none
}
.card-taxonomy{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}
.card-genre-link,.card-series-link{
  display:inline-flex;align-items:center;min-height:22px;border:1px solid #e5dbcf;border-radius:999px;padding:3px 7px;
  background:#faf6f0;color:#6d5d52;font-size:9px;font-weight:800;line-height:1.2;
  transition:background .16s ease,color .16s ease,border-color .16s ease,transform .16s ease
}
.card-series-link{background:#f2e7da;color:var(--brand)}
.card-genre-link:hover,.card-genre-link:focus-visible,.card-series-link:hover,.card-series-link:focus-visible{
  background:var(--brand);border-color:var(--brand);color:#fff;transform:translateY(-1px);outline:none
}
.editor-card{cursor:default}
.editor-cover-link{width:120px}
.editor-byline{margin:2px 0 0;color:#bfb0a8;font-size:11px}
.editor-card .card-taxonomy{margin-top:7px}
.editor-card .card-genre-link,.editor-card .card-series-link{border-color:rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:#d9cbc3}
.editor-card .card-genre-link:hover,.editor-card .card-genre-link:focus-visible,.editor-card .card-series-link:hover,.editor-card .card-series-link:focus-visible{background:#fff;border-color:#fff;color:var(--brand)}
.seo-grid-card .seo-card-author{margin:0 0 6px;font-size:12px;color:var(--muted)}
.seo-grid-card .seo-card-author a{font-weight:700;color:var(--brand)}
.seo-grid-card .card-taxonomy{margin:7px 0 4px}
.seo-series-line{margin:0 0 8px;color:var(--muted);font-size:12px}
.seo-series-line a{font-weight:800;color:var(--brand)}
@media(max-width:600px){.card-taxonomy{gap:4px}.card-genre-link,.card-series-link{font-size:8px;padding:3px 6px}}

/* =========================
   V17.4: semantic links in hero + Hot on Amazon
   ========================= */
.editor-pick-link{display:inline-block}
.editor-pick-link:hover,.editor-pick-link:focus-visible{text-decoration:underline;text-underline-offset:3px;outline:none}
.corner-badge{color:var(--ink);text-decoration:none;transition:background .16s ease,color .16s ease,transform .16s ease}
a.corner-badge:hover,a.corner-badge:focus-visible{background:var(--brand);color:#fff;transform:translateY(-1px);outline:none}
.seo-book-copy .badges a.badge{text-decoration:none}
.seo-book-copy .badges a.badge:hover,.seo-book-copy .badges a.badge:focus-visible{transform:translateY(-1px);box-shadow:0 7px 16px rgba(58,41,31,.10);outline:none}
@media(min-width:1051px){
/* =========================
   V17.5: listing pages use homepage-sized 5-up cards
   ========================= */
.seo-list-section .seo-card-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:16px;
  align-items:start;
}
.seo-list-section .seo-grid-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 10px 26px rgba(50,34,27,.06);
}
.seo-list-section .seo-grid-card img{
  width:100%;
  aspect-ratio:2/3;
  object-fit:cover;
  display:block;
}
.seo-list-section .seo-grid-card > div{
  padding:12px 12px 14px;
}
.seo-list-section .seo-grid-card h3{
  font-family:"DM Sans";
  font-size:15px;
  line-height:1.35;
  margin:6px 0 4px;
}
.seo-list-section .seo-grid-card .store-row{
  font-size:12px;
  color:#b16c13;
  font-weight:900;
}
.seo-list-section .seo-grid-card .seo-card-author{
  margin:0 0 6px;
  font-size:12px;
}
.seo-list-section .seo-grid-card .card-taxonomy{
  margin:7px 0 6px;
}
.seo-list-section .seo-grid-card small{
  display:block;
  margin-top:3px;
}
@media (max-width:1280px){
  .seo-list-section .seo-card-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
}
@media (max-width:980px){
  .seo-list-section .seo-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media (max-width:700px){
  .seo-list-section .seo-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:480px){
  .seo-list-section .seo-card-grid{grid-template-columns:1fr;}
}

/* =========================
   V17.6: hard-lock listing cover ratio to homepage card proportions
   ========================= */
.seo-list-section .seo-card-grid{
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:16px;
  align-items:start;
}
.seo-list-section .seo-grid-card{
  width:100%;
  min-width:0;
  align-self:start;
}
.seo-list-section .seo-grid-card > .cover-link{
  display:block;
  width:100%;
  aspect-ratio:2 / 3;
  overflow:hidden;
  line-height:0;
  background:#eadfd3;
}
.seo-list-section .seo-grid-card > .cover-link > img{
  display:block;
  width:100% !important;
  height:100% !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  object-fit:cover !important;
  object-position:center !important;
}
.seo-list-section{
  padding-top:4px;
}
.seo-list-hero{
  padding-bottom:16px;
}
@media (max-width:1280px){
  .seo-list-section .seo-card-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
}
@media (max-width:980px){
  .seo-list-section .seo-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media (max-width:700px){
  .seo-list-section .seo-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:480px){
  .seo-list-section .seo-card-grid{grid-template-columns:1fr;}
}


/* V17.8: restore Hero + Hot list to pre-semantic-link behavior (V17.3 baseline). */
.hot-item{cursor:pointer;color:inherit;text-decoration:none}
.hero h1 a{color:inherit;text-decoration:none}

/* V17.9 — mapped-data cleanup, list navigation and sort */
.section-title-link{color:inherit;text-decoration:none}.section-title-link:hover{text-decoration:underline;text-underline-offset:5px}
.home-all-tools,.list-toolbar{display:flex;align-items:center;gap:10px;justify-content:flex-end}.view-all-link{font-size:12px;font-weight:900;color:var(--brand);white-space:nowrap}
.home-sort,.list-toolbar label{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:800;color:var(--muted);white-space:nowrap}.home-sort select,.list-sort{border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:999px;padding:8px 30px 8px 11px;font:inherit;outline:none;cursor:pointer}
.seo-list-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.seo-list-title-row>div:first-child{min-width:0}.seo-list-title-row h1{margin-bottom:8px}.seo-store-categories{font-size:11px;color:var(--muted);margin:2px 0 12px}.seo-store-categories b{color:#675b52}
.seo-related .seo-card-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;align-items:start}.seo-related .seo-grid-card>.cover-link{display:block;width:100%;aspect-ratio:2/3;overflow:hidden;line-height:0;background:#eee4da}.seo-related .seo-grid-card>.cover-link>img{display:block;width:100%!important;height:100%!important;max-height:none!important;aspect-ratio:auto!important;object-fit:cover!important}.seo-related .seo-grid-card>div{padding:11px 12px 13px}
@media(max-width:1280px){.seo-related .seo-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:980px){.seo-related .seo-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.seo-related .seo-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.seo-list-title-row{align-items:flex-start;flex-direction:column}.list-toolbar{justify-content:flex-start}.home-all-tools{width:100%;justify-content:space-between}}@media(max-width:480px){.seo-related .seo-card-grid{grid-template-columns:1fr}.home-all-tools{align-items:flex-start;flex-direction:column}}

/* =========================
   V17.10: retailer icons + clean Amazon category mapping
   ========================= */
.seo-buy-panel{padding:14px 14px 10px}
.seo-store{
  min-height:64px;
  padding:10px 0;
  text-decoration:none;
  transition:background .16s ease,transform .16s ease;
}
.seo-store:hover,.seo-store:focus-visible{
  background:#fffaf4;
  transform:translateX(2px);
  outline:none;
}
.seo-store-main{display:flex!important;grid-template-columns:none!important;align-items:center;gap:10px;min-width:0}
.seo-store-icon{
  width:36px;height:36px;min-width:36px;
  border:1px solid var(--line);border-radius:10px;
  display:grid;place-items:center;background:#fff;
  overflow:hidden;
}
.seo-store-icon img{display:block;width:24px;height:24px;object-fit:contain}
.seo-store-copy{display:grid;gap:2px;min-width:0}
.seo-store-copy strong{font-size:13px;color:var(--ink)}
.seo-store-copy small{font-size:9px;line-height:1.3;color:var(--muted)}
.seo-store-price{display:grid!important;justify-items:end;gap:2px;text-align:right}
.seo-store-price strong{font-size:11px;color:var(--brand)}
.seo-store-price small{font-size:8px;color:var(--muted);font-weight:700}
.seo-store-amazon .seo-store-icon{background:#fff8ed}
.seo-store-ingram .seo-store-icon{background:#f2f8ff}
.seo-store-kobo .seo-store-icon{background:#fff4f2}
.seo-store-apple .seo-store-icon{background:#fff8f3}
.proof-link{text-decoration:none;color:inherit;transition:border-color .16s ease,transform .16s ease,box-shadow .16s ease}
.proof-link:hover,.proof-link:focus-visible{border-color:#c8b8aa;transform:translateY(-1px);box-shadow:0 7px 16px rgba(58,41,31,.07);outline:none}
.seo-rank-link a,.rank-category-link{color:#a15e10;text-decoration:none;font-weight:800}
.seo-rank-link a:hover,.seo-rank-link a:focus-visible,.rank-category-link:hover,.rank-category-link:focus-visible{text-decoration:underline;text-underline-offset:2px;outline:none}
.light-link{color:#fff!important}
@media(max-width:700px){
  .seo-store{min-height:58px}.seo-store-icon{width:34px;height:34px;min-width:34px}.seo-store-icon img{width:22px;height:22px}
}


/* V17.11 mapped-data refinement */
.hero-book-identity{font-size:11px;font-weight:700;color:#675b52;margin:2px 0 5px;line-height:1.35}
@media(min-width:1051px){.hero-book-identity{font-size:10px;margin:1px 0 4px}}
.list-toolbar{flex-wrap:wrap}.list-toolbar label{display:flex;align-items:center;gap:7px}.list-filter{border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:999px;padding:8px 30px 8px 11px;font:inherit;outline:none;cursor:pointer}.home-all-tools{flex-wrap:wrap}.home-all-tools .home-sort{display:flex;align-items:center;gap:7px}
@media(max-width:900px){.home-all-tools{justify-content:flex-start}}

/* =========================
   V17.12: library counters beside search
   ========================= */
.site-header .nav{gap:16px}
.site-header nav{gap:14px}
.site-header .search{min-width:230px}
.library-stats{
  display:flex;
  align-items:center;
  gap:7px;
  flex:0 0 auto;
}
.library-stat{
  width:61px;
  height:52px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(255,253,249,.92);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:1px;
  color:var(--brand);
  text-decoration:none;
  box-shadow:0 6px 16px rgba(58,41,31,.045);
  transition:transform .16s ease,background .16s ease,color .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.library-stat strong{
  font-size:17px;
  line-height:1;
  font-weight:900;
  font-variant-numeric:tabular-nums;
}
.library-stat span{
  max-width:54px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:7.4px;
  line-height:1.1;
  text-transform:uppercase;
  letter-spacing:.045em;
  font-weight:800;
  color:#8a766b;
}
.library-stat:hover,.library-stat:focus-visible{
  background:var(--brand);
  border-color:var(--brand);
  color:#fff;
  transform:translateY(-2px);
  box-shadow:0 10px 22px rgba(58,41,31,.14);
  outline:none;
}
.library-stat:hover span,.library-stat:focus-visible span{color:#eadfd8}
.empty-collection{
  border:1px dashed var(--line);
  border-radius:18px;
  padding:28px;
  color:var(--muted);
  background:rgba(255,255,255,.35);
  text-align:center;
  font-size:13px;
}
@media(max-width:1320px){
  .site-header .search{min-width:190px}
  .library-stat{width:53px;height:48px;border-radius:12px}
  .library-stat strong{font-size:15px}
  .library-stat span{font-size:6.8px;max-width:47px}
}
@media(max-width:1160px){
  .library-stats{display:none}
}


/* =========================
   V17.13: JSON-driven Hero + Hot rotation
   ========================= */
.hero-feature .hero-content{
  transition:opacity .42s ease,transform .42s cubic-bezier(.22,.61,.36,1),filter .42s ease;
  will-change:opacity,transform;
}
.hero-feature.hero-swap-out .hero-content{opacity:0;transform:translateX(-12px) scale(.996);filter:blur(1px)}
.hero-feature.hero-swap-in .hero-content{opacity:0;transform:translateX(12px) scale(.996);filter:blur(1px)}
.hot-list #hotList{transition:opacity .38s ease,transform .38s cubic-bezier(.22,.61,.36,1);will-change:opacity,transform}
.hot-list.hot-swap-out #hotList{opacity:0;transform:translateY(-7px)}
.hot-list.hot-swap-in #hotList{opacity:0;transform:translateY(7px)}
@media(prefers-reduced-motion:reduce){
  .hero-feature .hero-content,.hot-list #hotList{transition:none!important}
}

/* =========================
   V17.22: GoodReview.uk brand + Reward campaign modal
   ========================= */
.brand-domain{
  font-family:"DM Sans",system-ui,sans-serif;
  font-style:normal;
  font-size:.48em;
  font-weight:900;
  letter-spacing:.01em;
  color:#7c4937;
  margin-left:2px;
  vertical-align:.14em;
}
.inverse .brand-domain{color:#c89a84}
.reward-nav-btn{
  appearance:none;border:1px solid #d6b38d;background:linear-gradient(180deg,#fff9ec,#f9ead2);color:var(--brand);
  height:42px;padding:0 12px;border-radius:14px;display:inline-flex;align-items:center;gap:7px;white-space:nowrap;
  font-size:11px;font-weight:900;cursor:pointer;box-shadow:0 7px 18px rgba(91,54,35,.07);
  transition:transform .16s ease,box-shadow .16s ease,background .16s ease,border-color .16s ease;
}
.reward-nav-btn:hover,.reward-nav-btn:focus-visible{transform:translateY(-1px);background:#5b3528;color:#fff;border-color:#5b3528;box-shadow:0 10px 22px rgba(71,41,31,.15);outline:none}
.reward-nav-icon{width:24px;height:24px;border-radius:8px;background:#e2b363;color:#4b2c20;display:grid;place-items:center;line-height:1}.reward-nav-icon svg{width:15px;height:15px;display:block}
.reward-nav-btn:hover .reward-nav-icon,.reward-nav-btn:focus-visible .reward-nav-icon{background:#f0c879}
.reward-nav-count{min-width:20px;height:20px;border-radius:999px;background:#7c4937;color:#fff;display:grid;place-items:center;padding:0 5px;font-size:9px;font-variant-numeric:tabular-nums}
.reward-nav-btn:hover .reward-nav-count{background:#fff;color:#5b3528}
.reward-modal[hidden]{display:none!important}
.reward-modal{position:fixed;inset:0;z-index:300;display:grid;place-items:center;padding:24px;opacity:0;transition:opacity .18s ease}
.reward-modal.is-open{opacity:1}
.reward-backdrop{position:absolute;inset:0;background:rgba(27,18,14,.72);backdrop-filter:blur(8px)}
.reward-dialog{position:relative;z-index:1;width:min(920px,100%);max-height:min(92vh,940px);overflow:auto;background:#fffdf9;border:1px solid rgba(255,255,255,.55);border-radius:28px;box-shadow:0 34px 90px rgba(26,16,11,.30);padding:30px;outline:none;transform:translateY(12px) scale(.992);transition:transform .22s cubic-bezier(.22,.61,.36,1)}
.reward-modal.is-open .reward-dialog{transform:translateY(0) scale(1)}
.reward-close{position:sticky;float:right;top:0;z-index:4;width:38px;height:38px;border-radius:50%;border:1px solid var(--line);background:#fff;color:#5d4034;font-size:24px;line-height:1;cursor:pointer;box-shadow:0 6px 16px rgba(58,41,31,.08)}
.reward-header{padding:4px 54px 20px 2px;border-bottom:1px solid var(--line)}
.reward-eyebrow{display:block;color:var(--accent2);font-size:10px;font-weight:900;letter-spacing:.18em;margin-bottom:8px}
.reward-header h2{font-family:"Playfair Display",Georgia,serif;font-size:clamp(34px,5vw,54px);line-height:1.02;margin:0 0 10px;color:#251812}
.reward-header p{max-width:720px;margin:0;color:#76665c;font-size:14px;line-height:1.65}
.reward-deadline{display:inline-flex;align-items:center;gap:7px;margin-top:14px;padding:7px 10px;border-radius:999px;background:#f5ece1;color:#6d4b3d;font-size:10px;font-weight:900}
.reward-deadline-dot{width:7px;height:7px;border-radius:50%;background:#cb6e50;box-shadow:0 0 0 4px rgba(203,110,80,.12)}
.reward-feature{display:grid;grid-template-columns:230px minmax(0,1fr);gap:26px;padding:24px 0 18px;align-items:start}
.reward-image-wrap{background:linear-gradient(145deg,#f6e6c8,#f7d9c9);border-radius:22px;padding:14px;box-shadow:0 16px 36px rgba(80,52,39,.10)}
.reward-image-wrap img{display:block;width:100%;aspect-ratio:2/3;object-fit:contain;border-radius:13px;background:#fff}
.reward-rules{min-width:0}.reward-rules h3,.reward-list-head h3{font-family:"Playfair Display",Georgia,serif;font-size:24px;margin:15px 0 10px;color:#2a1a14}
.reward-prize{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap;padding:14px 16px;border-radius:16px;background:#4b2c20;color:#fff}
.reward-prize span{width:100%;font-size:8px;font-weight:900;letter-spacing:.16em;color:#efc989}.reward-prize strong{font-family:"Playfair Display",Georgia,serif;font-size:30px}.reward-prize small{font-size:10px;color:#ddcfc8}
.reward-rules ol{list-style:none;margin:0;padding:0;display:grid;gap:10px}.reward-rules li{display:grid;grid-template-columns:30px 1fr;gap:10px;align-items:start}.reward-rules li>span{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:#f1e2cf;color:#6d3e2f;font-size:11px;font-weight:900}.reward-rules li strong{display:block;font-size:12px;margin:1px 0 2px}.reward-rules li p{margin:0;color:#74675f;font-size:11px;line-height:1.55}
.reward-telegram{color:#8b4a32;text-decoration:underline;text-underline-offset:2px;font-weight:900}.reward-telegram-placeholder{text-decoration:none}
.reward-message{border:1px solid #eadac8;background:#fff7ec;border-radius:18px;padding:16px 18px;margin:4px 0 22px}.reward-message>strong{display:block;font-family:"Playfair Display",Georgia,serif;font-size:18px;margin-bottom:5px}.reward-message p{margin:0;color:#665951;font-size:12px;line-height:1.7}
.reward-list-section{border-top:1px solid var(--line);padding-top:20px}.reward-list-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:12px}.reward-list-head span{font-size:8px;color:var(--accent2);font-weight:900;letter-spacing:.16em}.reward-list-head h3{margin:3px 0 0}.reward-list-count{font-size:10px;color:#846f63;font-weight:800;white-space:nowrap}
.reward-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:16px;background:#fff}.reward-table{width:100%;border-collapse:collapse;table-layout:fixed}.reward-table .reward-c1{width:46px}.reward-table .reward-c2{width:auto}.reward-table .reward-c3{width:150px}.reward-table .reward-c4{width:92px}.reward-table th{padding:10px 12px;background:#f6efe7;color:#8d7467;text-align:left;font-size:8px;text-transform:uppercase;letter-spacing:.08em}.reward-table td{padding:12px;border-top:1px solid #eee4da;font-size:11px;vertical-align:middle}.reward-table th:last-child,.reward-table td:last-child{text-align:center}.reward-col-num{color:#c2684d;font-weight:900;font-variant-numeric:tabular-nums}.reward-book-title{font-weight:900;color:#2d1d17;display:block;line-height:1.35}.reward-table td small{display:block;margin-top:2px;color:#8a7a70}.reward-page-link{font-weight:800;color:#7c4937}.reward-col-qty{font-size:13px!important;font-weight:900}.reward-empty-row td{text-align:center!important;color:#796b63;padding:24px!important}
.reward-fineprint{margin-top:15px;padding-top:13px;border-top:1px solid var(--line);font-size:9px;line-height:1.55;color:#93837a}
.reward-modal-open{overflow:hidden}
@media(max-width:1320px){.reward-nav-btn{padding:0 10px}.reward-nav-label{display:none}.reward-nav-btn{width:42px;justify-content:center}.reward-nav-count{position:absolute;transform:translate(15px,-15px);min-width:17px;height:17px;font-size:8px}}
@media(max-width:760px){.reward-nav-btn{margin-left:auto}.reward-modal{padding:10px}.reward-dialog{padding:20px;border-radius:22px}.reward-feature{grid-template-columns:130px 1fr;gap:15px}.reward-image-wrap{padding:8px}.reward-header{padding-right:38px}.reward-table .reward-c3{width:112px}.reward-table .reward-c4{width:74px}}
@media(max-width:560px){.reward-feature{grid-template-columns:1fr}.reward-image-wrap{width:170px;margin:auto}.reward-list-head{align-items:flex-start;flex-direction:column;gap:4px}.reward-table{min-width:620px}.reward-dialog{max-height:96vh}.reward-rules li p,.reward-message p{font-size:11px}}
@media(prefers-reduced-motion:reduce){.reward-modal,.reward-dialog,.reward-nav-btn{transition:none!important}}

/* =========================
   V17.23: Editor's Picks contained card treatment
   Keep the dark editorial area inside the same page shell as Hero/Hot,
   instead of painting the brown background edge-to-edge.
   ========================= */
.dark-section{
  background:transparent;
  color:#fff;
  padding:32px 0 22px;
}
.dark-section > .wrap.section{
  background:#251813;
  border:1px solid rgba(76,47,37,.12);
  border-radius:30px;
  padding:32px;
  overflow:hidden;
  box-shadow:var(--shadow);
}
@media(max-width:760px){
  .dark-section{padding:22px 0 14px}
  .dark-section > .wrap.section{
    border-radius:24px;
    padding:24px 18px;
  }
}


/* =========================
   V17.24: Reward fix + premium Editor's Picks collection detail
   ========================= */
.editors-collection{padding:30px 0 56px}
.editors-collection-panel{
  background:linear-gradient(145deg,#251813,#31201a);
  border:1px solid rgba(76,47,37,.16);
  border-radius:30px;
  padding:30px;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.editors-collection .seo-list-hero{padding:0 0 24px;margin:0;border-bottom:1px solid rgba(255,255,255,.10)}
.editors-collection-head{display:flex;align-items:flex-end;justify-content:space-between;gap:28px}
.editors-collection-copy{min-width:0;max-width:760px}
.editors-collection .kicker{color:#df765b}
.editors-collection h1{color:#fff;font-size:clamp(36px,4.2vw,56px);line-height:1;margin:7px 0 10px}
.editors-collection .editors-collection-copy>p{color:#cbbcb4;max-width:680px;font-size:14px;line-height:1.65;margin:0}
.editors-collection-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.editors-collection-meta span{display:inline-flex;align-items:center;min-height:28px;padding:6px 10px;border:1px solid rgba(255,255,255,.12);border-radius:999px;background:rgba(255,255,255,.06);color:#e9ddd6;font-size:9px;font-weight:800;letter-spacing:.02em}
.editors-collection .list-toolbar{flex:0 0 auto}
.editors-collection .list-toolbar label{color:#d9cbc3}
.editors-collection .list-sort,.editors-collection .list-filter{background:#fffdf9;border-color:rgba(255,255,255,.18);color:#2d1d17}
.editors-collection-list{padding:22px 0 0}
.editors-collection-list .seo-card-grid{margin-top:0}
.editors-collection-list .seo-grid-card{border-color:rgba(255,255,255,.08);box-shadow:0 14px 30px rgba(0,0,0,.14)}
.editors-empty{margin-top:0;background:rgba(255,255,255,.06);border:1px dashed rgba(255,255,255,.18);border-radius:18px;padding:28px;color:#d8c8bf;text-align:center}
@media(max-width:900px){
  .editors-collection-head{align-items:flex-start;flex-direction:column;gap:18px}
  .editors-collection .list-toolbar{justify-content:flex-start}
}
@media(max-width:700px){
  .editors-collection{padding:20px 0 40px}
  .editors-collection-panel{padding:22px 16px;border-radius:24px}
  .editors-collection h1{font-size:38px}
  .editors-collection-meta{gap:6px}
}


/* =========================
   GoodReview V17.25 — Editor market proof + bestseller ribbon
   ========================= */
.editor-card{
  position:relative;
  overflow:hidden;
}
.editor-card-copy{min-width:0;padding-right:2px}
.editor-market-signals{
  display:grid;
  gap:4px;
  margin-top:8px;
}
.editor-rating{
  color:#f0c277;
  font-size:10px;
  font-weight:800;
  line-height:1.3;
}
.editor-rank{
  color:#e29a46;
  font-size:10px;
  font-weight:900;
  line-height:1.3;
  width:fit-content;
}
.editor-rank:hover,.editor-rank:focus-visible{
  color:#ffd28d;
  text-decoration:underline;
  text-underline-offset:2px;
  outline:none;
}
.editor-bestseller-ribbon{
  position:absolute;
  top:12px;
  right:-36px;
  z-index:5;
  width:132px;
  padding:6px 0 5px;
  transform:rotate(42deg);
  transform-origin:center;
  background:linear-gradient(180deg,#f3c871,#dca149);
  color:#3a2419;
  border:1px solid rgba(255,255,255,.38);
  box-shadow:0 5px 15px rgba(0,0,0,.22);
  text-align:center;
  font-size:8px;
  font-weight:900;
  letter-spacing:.13em;
  line-height:1;
}
.editor-bestseller-ribbon:hover,.editor-bestseller-ribbon:focus-visible{
  background:linear-gradient(180deg,#ffd98f,#e8ad52);
  outline:none;
}
@media(max-width:760px){
  .editor-bestseller-ribbon{top:11px;right:-38px}
}

.seo-grid-card{position:relative;overflow:hidden}
.seo-bestseller-ribbon{
  position:absolute;top:16px;right:-42px;z-index:6;width:142px;padding:6px 0 5px;
  transform:rotate(42deg);background:linear-gradient(180deg,#f3c871,#dca149);
  color:#3a2419;border:1px solid rgba(255,255,255,.42);box-shadow:0 5px 15px rgba(56,31,18,.18);
  text-align:center;font-size:8px;font-weight:900;letter-spacing:.13em;line-height:1;
}
.seo-bestseller-ribbon:hover,.seo-bestseller-ribbon:focus-visible{background:linear-gradient(180deg,#ffd98f,#e8ad52);outline:none}

/* =========================
   GoodReview V17.26 — global catalog marks + dynamic genre rail
   ========================= */
.book-card,.seo-grid-card{position:relative;overflow:hidden}
.global-bestseller-ribbon{
  position:absolute;top:13px;right:-40px;z-index:8;width:150px;padding:8px 0 7px;
  transform:rotate(42deg);transform-origin:center;
  background:linear-gradient(180deg,#f5cf7f,#dfa54c);color:#3a2419;
  border:1px solid rgba(255,255,255,.48);box-shadow:0 6px 16px rgba(66,38,22,.22);
  text-align:center;font-size:8px;font-weight:900;letter-spacing:.13em;line-height:1;
}
.global-bestseller-ribbon:hover,.global-bestseller-ribbon:focus-visible{
  background:linear-gradient(180deg,#ffdfa0,#eab35a);outline:none;
}
.global-editor-badge{
  position:absolute;top:24px;left:24px;z-index:9;
  display:inline-flex;align-items:center;min-height:25px;padding:6px 9px;
  border:1px solid rgba(69,105,86,.16);border-radius:999px;
  background:#dcefe5;color:#245c47;box-shadow:0 5px 14px rgba(38,57,48,.12);
  font-size:8px;font-weight:900;letter-spacing:.055em;line-height:1;white-space:nowrap;
}
.global-editor-badge:hover,.global-editor-badge:focus-visible{background:#cce7d8;color:#174b39;outline:none}
.seo-grid-card .global-editor-badge{top:20px;left:20px}
.seo-grid-card .global-bestseller-ribbon{top:12px;right:-40px}
.seo-book-cover{position:sticky}
.seo-book-cover .global-editor-badge{top:14px;left:14px}
.seo-book-cover .global-bestseller-ribbon{top:12px;right:-34px;width:152px}
.global-goodreads-choice-ribbon{
  position:absolute;top:42px;right:-40px;z-index:8;width:150px;padding:8px 0 7px;
  transform:rotate(42deg);transform-origin:center;
  background:linear-gradient(180deg,#90cdb8,#5ea88d);color:#173c31;
  border:1px solid rgba(255,255,255,.48);box-shadow:0 6px 16px rgba(28,78,60,.20);
  text-align:center;font-size:7px;font-weight:900;letter-spacing:.12em;line-height:1;
}
.global-goodreads-choice-ribbon:hover,.global-goodreads-choice-ribbon:focus-visible{
  background:linear-gradient(180deg,#a5dbc7,#6db79b);outline:none;
}
.seo-grid-card .global-goodreads-choice-ribbon{top:41px;right:-40px}
.book-card.is-goodreads-choice:not(.is-bestseller) .global-goodreads-choice-ribbon{top:15px}
.seo-grid-card.is-goodreads-choice:not(.is-bestseller) .global-goodreads-choice-ribbon{top:14px}
.seo-book-cover .global-goodreads-choice-ribbon{top:42px;right:-34px;width:152px}
.seo-book-cover.is-goodreads-choice:not(.is-bestseller) .global-goodreads-choice-ribbon{top:16px}
.editor-goodreads-choice-ribbon{
  position:absolute;
  top:45px;
  right:-38px;
  z-index:5;
  width:132px;
  padding:6px 0 5px;
  transform:rotate(42deg);
  transform-origin:center;
  background:linear-gradient(180deg,#8fc9b5,#5ea68b);
  color:#153b2f;
  border:1px solid rgba(255,255,255,.38);
  box-shadow:0 5px 15px rgba(0,0,0,.18);
  text-align:center;
  font-size:7px;
  font-weight:900;
  letter-spacing:.12em;
  line-height:1;
}
.editor-goodreads-choice-ribbon:hover,.editor-goodreads-choice-ribbon:focus-visible{
  background:linear-gradient(180deg,#a8dbc9,#6cb599);
  outline:none;
}
.inline-statuses{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:7px 0 5px}
.inline-status{display:inline-flex;align-items:center;min-height:22px;padding:5px 8px;border-radius:999px;font-size:8px;font-weight:900;letter-spacing:.035em;line-height:1}
.inline-status-best{background:#f2c66f;color:#3b2619}
.inline-status-choice{background:#d6eee5;color:#1f5b48}
.inline-status-pick{background:#d8eee2;color:#245c47}
.hot-item .inline-statuses{margin:4px 0 0;gap:4px}
.hot-item .inline-status{min-height:18px;padding:4px 6px;font-size:7px}

.genre-rail-section{padding:5px 0 20px}
.genre-rail-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:0 0 10px}
.genre-rail-head>div{display:flex;align-items:baseline;gap:10px;min-width:0}
.genre-rail-head .kicker{font-size:9px}
.genre-rail-head strong{font-family:"Playfair Display",Georgia,serif;font-size:20px;white-space:nowrap}
.genre-rail-head>a{font-size:10px;font-weight:900;color:var(--brand);white-space:nowrap}
.genre-rail{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;
  padding:2px 0 2px;
}
.genre-rail-card{
  min-width:0;display:flex;align-items:center;justify-content:space-between;gap:12px;
  min-height:64px;padding:12px 13px;border:1px solid var(--line);border-radius:15px;
  background:linear-gradient(145deg,#fffdfa,#f4ebe2);box-shadow:0 7px 18px rgba(68,45,33,.06);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease;
}
.genre-rail-title{
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  min-height:2.5em;font-size:12px;font-weight:900;line-height:1.25;
  color:#2f211b;word-break:break-word;text-wrap:balance;
}
.genre-rail-arrow{
  flex:0 0 auto;display:grid;place-items:center;width:28px;height:28px;border-radius:999px;
  background:#4b2d23;color:#fff;box-shadow:0 6px 14px rgba(68,45,33,.14);
}
.genre-rail-arrow>svg{width:14px;height:14px;transition:transform .18s ease}
.genre-rail-card:hover,.genre-rail-card:focus-visible{transform:translateY(-2px);border-color:#cfae91;background:#fff;box-shadow:0 10px 24px rgba(68,45,33,.11);outline:none}
.genre-rail-card:hover .genre-rail-arrow>svg,.genre-rail-card:focus-visible .genre-rail-arrow>svg{transform:translateX(2px)}
@media(max-width:760px){.search{display:none}.hero-content{grid-template-columns:135px 1fr;padding:22px}.hero h1{font-size:34px}.trust-strip{grid-template-columns:1fr}.book-grid{grid-template-columns:1fr 1fr}.book-row{grid-template-columns:repeat(2,1fr)}.editor-grid{grid-template-columns:1fr}.section-head{align-items:start;flex-direction:column}.detail{grid-template-columns:1fr}.detail>.cover-img{max-width:220px;margin:auto}.footer-grid{grid-template-columns:1fr}}


/* =========================
   GoodReview V3 conversion UX
   ========================= */
.buy-panel{
  margin-top:16px;
  display:grid;
  gap:10px;
}
.buy-panel-title{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  margin-bottom:2px;
}
.buy-panel-title strong{
  font-size:13px;letter-spacing:.02em;
}
.buy-panel-title span{
  color:var(--muted);font-size:10px;
}
.buy-card{
  position:relative;
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
  align-items:center;
  border:1px solid var(--line);
  background:#fff;
  border-radius:14px;
  padding:11px 12px;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
  overflow:hidden;
}
.buy-card:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 24px rgba(58,41,31,.12);
  border-color:#c9a16a;
  background:#fffdf7;
}
.buy-card.primary{
  border-color:#d8a74f;
  background:linear-gradient(180deg,#fffaf0,#fff);
  box-shadow:0 10px 24px rgba(205,150,66,.12);
}
.buy-card.best-price{
  border-color:#9dc9b6;
}
.buy-main{
  min-width:0;
  display:flex;
  gap:10px;
  align-items:center;
}
.store-icon{
  width:38px;height:38px;border-radius:10px;
  display:grid;place-items:center;
  font-weight:900;font-size:12px;
  flex:0 0 auto;
  background:#f1ebe3;color:#3d2a21;
}
.store-icon.amazon{background:#fff2d6;color:#9c5b00}
.store-icon.ingram{background:#e5f1f6;color:#17627f}
.store-icon.kobo{background:#e7f7f2;color:#147b61}
.store-icon.apple{background:#ececec;color:#111}
.buy-copy{min-width:0}
.buy-store{
  display:flex;align-items:center;gap:7px;flex-wrap:wrap;
  font-size:12px;font-weight:900;
}
.buy-meta{
  margin-top:3px;color:var(--muted);font-size:10px;line-height:1.4;
}
.buy-badges{display:flex;gap:5px;flex-wrap:wrap;margin-top:5px}
.buy-pill{
  display:inline-flex;align-items:center;
  border-radius:999px;padding:4px 7px;
  font-size:9px;font-weight:900;
  background:#f3eee7;color:#5a4a40;
}
.buy-pill.hot{background:#fff0c9;color:#84540d}
.buy-pill.best{background:#daf0e5;color:#185f46}
.buy-price{
  text-align:right;min-width:82px;
}
.buy-price strong{
  display:block;font-size:15px;color:#2a1d17;
}
.buy-price small{
  display:block;color:var(--muted);font-size:9px;margin-top:2px;
}
.buy-cta{
  display:inline-flex;align-items:center;justify-content:center;
  margin-top:7px;
  border-radius:999px;
  padding:7px 10px;
  background:var(--brand);color:#fff;
  font-size:10px;font-weight:900;
  transition:background .18s ease, transform .18s ease;
}
.buy-card:hover .buy-cta{background:#6a3a2c;transform:translateX(1px)}
.purchase-note{
  margin-top:8px;
  font-size:9px;color:#8b8178;line-height:1.45;
}
.detail-left{
  align-self:start;
  position:sticky;
  top:0;
}
.detail-left .cover-img{
  box-shadow:0 18px 36px rgba(46,32,25,.18);
}
.detail-content{min-width:0}
.quick-tags{
  display:flex;gap:7px;flex-wrap:wrap;
  margin:12px 0 4px;
}
.quick-tag{
  padding:7px 9px;border-radius:999px;
  border:1px solid var(--line);background:#fff;
  font-size:10px;font-weight:800;color:#5a5149;
}
.market-proof{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin:14px 0;
}
.proof-box{
  border:1px solid var(--line);background:#fff;
  border-radius:12px;padding:10px 11px;
}
.proof-box strong{display:block;font-size:13px}
.proof-box span{display:block;color:var(--muted);font-size:9px;margin-top:2px;line-height:1.35}
.modal-card{
  width:min(1080px,100%);
}
.detail{
  grid-template-columns:285px 1fr;
}
.mobile-buy-anchor{display:none}
@media(max-width:760px){
  .detail-left{position:static}
  .detail{grid-template-columns:1fr}
  .buy-panel{max-width:520px;margin:16px auto 0}
  .detail-left .cover-img{max-width:220px;margin:auto}
  .market-proof{grid-template-columns:1fr}
}


/* =========================
   GoodReview V4
   Book-first hero + compact retailer CTA panel
   ========================= */

/* HERO: lighter, smaller, book-first */
.hero{
  grid-template-columns:1.35fr .65fr;
  gap:18px;
  padding-top:34px;
}
.hero-feature{
  min-height:450px;
  background:
    radial-gradient(circle at 18% 18%, rgba(226,179,99,.24), transparent 28%),
    linear-gradient(135deg,#fffdf9 0%,#f4eadf 100%);
  border:1px solid var(--line);
  box-shadow:0 16px 40px rgba(58,41,31,.10);
}
.hero-backdrop{display:none}
.hero-overlay{display:none}
.hero-content{
  color:var(--ink);
  grid-template-columns:255px 1fr;
  gap:34px;
  padding:34px;
}
.hero-content .cover-img{
  width:255px;
  max-width:100%;
  border-radius:18px;
  box-shadow:0 26px 48px rgba(58,41,31,.20);
  transform:rotate(-1deg);
  transition:transform .25s ease, box-shadow .25s ease;
}
.hero-content .cover-img:hover{
  transform:rotate(0deg) translateY(-3px);
  box-shadow:0 30px 54px rgba(58,41,31,.25);
}
.hero .kicker{color:var(--accent2)}
.hero h1{
  color:var(--ink);
  font-size:clamp(35px,3.15vw,54px);
  line-height:1.01;
  margin:9px 0 9px;
  max-width:760px;
}
.hero .subtitle{color:#6b625a;margin-bottom:10px}
.hero .badges{margin:12px 0 9px}
.hero .store-signals{color:var(--ink);margin:8px 0 14px}
.hero .signal{
  border:1px solid var(--line);
  background:rgba(255,255,255,.78);
  color:#4a4039;
}
.hero-summary{
  color:#5a5049;
  font-size:15px;
  line-height:1.62;
  max-width:650px;
  margin:12px 0 0;
}
.hero .btn.ghost{
  background:#fff;
  color:var(--brand);
  border:1px solid #cdbeb0;
}
.hero .btn.ghost:hover{
  border-color:var(--brand);
}
.hero-actions{margin-top:16px}
.hot-list{
  padding:22px;
  box-shadow:0 12px 32px rgba(58,41,31,.06);
}
.hot-item{padding:11px 0}
.hot-thumb{width:58px}
.rank-num{font-size:21px}

/* MODAL: cleaner and shorter */
.modal-card{
  width:min(1060px,100%);
  padding:24px;
}
.detail{
  grid-template-columns:270px 1fr;
  gap:28px;
}
.detail-left{
  position:sticky;
  top:0;
}
.detail-left .cover-img{
  max-height:420px;
  object-fit:cover;
}
.detail h2{
  font-size:40px;
  line-height:1.04;
  margin:7px 0 7px;
}
.detail-meta{margin-bottom:8px}
.detail-content .badges{margin:8px 0}
.market-proof{
  grid-template-columns:repeat(3,1fr);
  gap:7px;
  margin:10px 0 10px;
}
.proof-box{
  padding:8px 10px;
  border-radius:10px;
}
.proof-box strong{font-size:12px}
.proof-box span{font-size:8px}
.quick-tags{margin:8px 0 4px}
.quick-tag{padding:5px 8px;font-size:9px}
.review-highlight{
  margin:10px 0 14px;
  padding:11px 13px;
}
.review-copy{font-size:14px;line-height:1.7}

/* One compact retailer box under cover */
.buy-panel{
  margin-top:12px;
  border:1px solid var(--line);
  background:#fff;
  border-radius:16px;
  padding:10px;
  gap:0;
}
.buy-panel-title{
  padding:2px 2px 8px;
  margin:0;
  border-bottom:1px solid #eee5da;
}
.buy-panel-title strong{font-size:12px}
.buy-panel-title span{font-size:9px}
.buy-card{
  border:0;
  border-bottom:1px solid #eee5da;
  border-radius:0;
  padding:9px 2px;
  background:transparent;
  box-shadow:none;
  grid-template-columns:1fr auto;
}
.buy-card:last-of-type{border-bottom:0}
.buy-card.primary,
.buy-card.best-price{
  border-color:#eee5da;
  background:transparent;
  box-shadow:none;
}
.buy-card:hover{
  transform:none;
  box-shadow:none;
  background:#fffaf3;
  border-color:#eee5da;
}
.buy-main{gap:9px}
.store-icon{
  width:34px;height:34px;border-radius:9px;
  font-size:11px;
}
.buy-copy{display:flex;flex-direction:column;justify-content:center}
.buy-store{font-size:11px}
.buy-meta{font-size:9px;margin-top:2px}
.buy-badges{display:none}
.buy-price{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:auto;
}
.buy-price strong{font-size:11px;white-space:nowrap}
.buy-price small{display:none}
.buy-cta{
  margin-top:0;
  padding:7px 9px;
  font-size:9px;
  white-space:nowrap;
}
.purchase-note{
  font-size:8px;
  margin:7px 2px 1px;
  color:#9a8f86;
}

/* store icon colors */
.store-icon.amazon{
  background:#fff0cf;color:#b56800;
  box-shadow:inset 0 0 0 1px #f1d39a;
}
.store-icon.ingram{
  background:#dff0f8;color:#18769a;
  box-shadow:inset 0 0 0 1px #bdddea;
}
.store-icon.kobo{
  background:#dff5ee;color:#138164;
  box-shadow:inset 0 0 0 1px #bfe5d9;
}
.store-icon.apple{
  background:#eeeeee;color:#111;
  box-shadow:inset 0 0 0 1px #d7d7d7;
}

/* subtle conversion cue */
.buy-panel-title::before{
  content:"";
  display:inline-block;
  width:7px;height:7px;border-radius:50%;
  background:#5ba77f;
  margin-right:6px;
  box-shadow:0 0 0 3px rgba(91,167,127,.12);
}

@media(max-width:1050px){
  .hero{grid-template-columns:1fr}
  .hero-content{grid-template-columns:220px 1fr}
}
@media(max-width:760px){
  .hero-content{
    grid-template-columns:125px 1fr;
    gap:18px;
    padding:20px;
  }
  .hero-content .cover-img{width:125px}
  .hero h1{font-size:30px}
  .detail-left{position:static}
  .buy-panel{max-width:520px;margin:12px auto 0}
}
@media(max-width:520px){
  .hero-content{grid-template-columns:1fr}
  .hero-content .cover-img{width:175px;margin:auto}
  .hero h1{font-size:31px}
  .buy-card{grid-template-columns:1fr auto}
  .buy-price strong{display:none}
}


/* =========================
   V5 updates: remove trust strip, add date clarity
   ========================= */
.hero{padding-bottom:8px}
.section#latest{padding-top:16px}
.meta-line{
  color:#8c7b6f;
  font-size:12px;
  margin:0 0 10px;
}
.badge small{
  display:block;
  font-size:10px;
  font-weight:600;
  opacity:.8;
  margin-top:2px;
}
.hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.hero-jump{
  color:#8b5d3f;
  font-size:13px;
  font-weight:700;
}
.hero-jump:hover{color:var(--brand)}
.time-meta{
  font-size:11px;
  color:#94867a;
  margin:6px 0 6px;
}
.meta-date{color:#94867a}
.detail-timeline{
  font-size:12px;
  color:#8f8176;
  margin:-2px 0 10px;
}
.purchase-note{line-height:1.4}
@media(max-width:760px){
  .detail-timeline,.meta-line,.time-meta{font-size:11px}
}


/* =========================
   V6 updates: real local store icons
   ========================= */
.store-icon{
  width:42px;
  height:42px;
  border-radius:12px;
  display:grid;
  place-items:center;
  padding:0;
  overflow:hidden;
  background:#fff;
}
.store-icon img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
.buy-main{gap:10px; align-items:center;}
.buy-store{font-size:12px; font-weight:800;}
.buy-meta{font-size:9px; line-height:1.35;}
.buy-price{gap:10px;}
.buy-cta{
  background:#4e2f26;
  color:#fff;
  border:1px solid #4e2f26;
}
.buy-card:hover .buy-cta{background:#3e241d;border-color:#3e241d;}
.buy-panel-title span{font-size:9px; letter-spacing:.04em; text-transform:uppercase;}
.purchase-note{padding-top:4px;}


/* =========================
   V7 updates: shorter hero + latest review date ribbons
   ========================= */
.hero{
  padding-top:22px;
  padding-bottom:4px;
  align-items:start;
}
.hero-feature{
  min-height:385px;
}
.hero-content{
  grid-template-columns:220px 1fr;
  gap:28px;
  padding:26px 28px;
  align-items:center;
}
.hero-content .cover-img{
  width:220px;
}
.hero h1{
  font-size:clamp(32px,2.85vw,50px);
  line-height:1.02;
  margin:8px 0 8px;
}
.hero .badges{margin:10px 0 8px}
.hero .store-signals{margin:7px 0 10px}
.hero-summary{
  margin:8px 0 0;
  line-height:1.55;
}
.hero-actions{margin-top:14px}
.hot-list{
  padding:18px 20px;
}
.hot-item{
  padding:9px 0;
}
.section#latest{
  padding-top:6px;
}
.section-head{margin-bottom:14px}

.book-card.with-ribbon{
  overflow:hidden;
}
.review-ribbon{
  position:absolute;
  top:18px;
  right:-44px;
  z-index:3;
  min-width:180px;
  text-align:center;
  background:linear-gradient(180deg,#f2c45f 0%, #e4ad3f 100%);
  color:#4b2e07;
  font-size:10px;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
  padding:7px 12px;
  box-shadow:0 8px 18px rgba(176,122,19,.22);
  transform:rotate(34deg);
  border:1px solid rgba(144,101,16,.18);
}
.book-card.with-ribbon .corner-badge{
  top:54px;
}
.book-card.with-ribbon .cover-img{
  margin-top:8px;
}
@media(max-width:1050px){
  .hero-feature{min-height:360px}
}
@media(max-width:760px){
  .hero{padding-top:16px}
  .hero-feature{min-height:unset}
  .hero-content{
    grid-template-columns:125px 1fr;
    gap:16px;
    padding:18px;
  }
  .hero-content .cover-img{width:125px}
  .hero h1{font-size:30px}
  .review-ribbon{
    min-width:150px;
    right:-44px;
    top:16px;
    font-size:9px;
    padding:6px 10px;
  }
  .book-card.with-ribbon .corner-badge{top:46px}
}
@media(max-width:520px){
  .hero-content{grid-template-columns:1fr}
  .hero-content .cover-img{width:168px;margin:auto}
  .review-ribbon{
    min-width:142px;
    right:-46px;
    top:12px;
  }
}


/* =========================
   V8 updates: magazine ribbon + polished hover motion
   ========================= */
.book-card{
  transition:transform .28s cubic-bezier(.2,.75,.25,1), box-shadow .28s ease, border-color .28s ease;
  will-change:transform;
}
.book-card::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:21px;
  pointer-events:none;
  background:linear-gradient(135deg,rgba(255,255,255,.0) 35%,rgba(255,255,255,.28) 50%,rgba(255,255,255,0) 65%);
  transform:translateX(-120%);
  transition:transform .65s ease;
}
.book-card:hover{
  transform:translateY(-7px) scale(1.012);
  box-shadow:0 22px 48px rgba(58,41,31,.16);
  border-color:#d7c7b7;
}
.book-card:hover::after{
  transform:translateX(120%);
}
.book-card .cover-img{
  transition:transform .34s cubic-bezier(.2,.75,.25,1), filter .34s ease, box-shadow .34s ease;
}
.book-card:hover .cover-img{
  transform:scale(1.025);
  filter:saturate(1.04) contrast(1.015);
  box-shadow:0 20px 34px rgba(46,32,25,.22);
}
.book-card .card-body h3{
  transition:color .22s ease;
}
.book-card:hover .card-body h3{
  color:#6b3c2c;
}

/* Premium editorial ribbon */
.book-card.with-ribbon{
  overflow:hidden;
}
.review-ribbon{
  position:absolute;
  top:24px;
  right:-50px;
  z-index:4;
  width:205px;
  text-align:center;
  background:linear-gradient(180deg,#f6d16f 0%,#e9b84f 55%,#dca53a 100%);
  color:#4d3209;
  font-size:10px;
  line-height:1.1;
  font-weight:900;
  letter-spacing:.075em;
  text-transform:uppercase;
  padding:8px 12px 7px;
  transform:rotate(35deg);
  border-top:1px solid rgba(255,255,255,.48);
  border-bottom:1px solid rgba(128,84,11,.18);
  box-shadow:0 8px 18px rgba(166,110,14,.22);
  text-shadow:0 1px 0 rgba(255,255,255,.28);
  transition:transform .28s ease, filter .28s ease, box-shadow .28s ease;
}
.review-ribbon::before,
.review-ribbon::after{
  content:"";
  position:absolute;
  top:100%;
  border-style:solid;
  border-width:5px 5px 0 0;
  border-color:#b78022 transparent transparent transparent;
  opacity:.75;
}
.review-ribbon::before{left:0}
.review-ribbon::after{right:0;transform:scaleX(-1)}
.book-card:hover .review-ribbon{
  transform:rotate(35deg) translateY(-2px) scale(1.025);
  filter:brightness(1.04) saturate(1.04);
  box-shadow:0 10px 22px rgba(166,110,14,.30);
}

/* latest cards get a subtle warm edge when hovered */
#latestGrid .book-card:hover{
  border-color:#d8b56e;
}
#latestGrid .book-card:hover .store-row{
  color:#9f5b05;
}
#latestGrid .book-card:hover .time-meta{
  color:#7c6758;
}

/* editorial / mini cards motion */
.editor-card,
.mini-card,
.hot-item{
  transition:transform .24s cubic-bezier(.2,.75,.25,1), background .24s ease, box-shadow .24s ease;
}
.editor-card:hover{
  transform:translateY(-4px);
  background:#3a2821;
  box-shadow:0 16px 32px rgba(0,0,0,.16);
}
.editor-card .cover-img,
.mini-card .cover-img,
.hot-thumb{
  transition:transform .26s ease, box-shadow .26s ease;
}
.editor-card:hover .cover-img,
.mini-card:hover .cover-img{
  transform:scale(1.025);
}
.mini-card:hover{
  transform:translateY(-4px);
}
.hot-item:hover{
  transform:translateX(4px);
  background:#fffaf4;
}
.hot-item:hover .hot-thumb{
  transform:scale(1.04);
}

/* CTA micro-interactions */
.btn,
.buy-cta{
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 20px rgba(58,41,31,.10);
}
.buy-card:hover .buy-cta{
  transform:translateX(2px);
  box-shadow:0 6px 14px rgba(78,47,38,.16);
}

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

@media(max-width:760px){
  .review-ribbon{
    width:178px;
    right:-48px;
    top:19px;
    font-size:9px;
    padding:7px 10px 6px;
  }
  .book-card:hover{
    transform:translateY(-4px);
  }
}


/* =========================
   V9 updates: compact hot list + full-bleed latest covers
   ========================= */
.hero{
  align-items:start;
}
.hot-list{
  padding:16px 18px;
  align-self:start;
}
.section-mini h2{
  font-size:25px;
  line-height:1.05;
}
.hot-item{
  grid-template-columns:28px 52px 1fr;
  gap:10px;
  padding:8px 0;
}
.rank-num{font-size:17px}
.hot-thumb{width:52px;border-radius:7px}
.hot-item h4{font-size:12px;line-height:1.22;margin:0 0 3px}
.hot-item .micro{font-size:10px;line-height:1.25}

#latestGrid .book-card{
  padding:0 0 14px;
  overflow:hidden;
}
#latestGrid .book-card .cover-img{
  display:block;
  width:100%;
  margin:0;
  border-radius:20px 20px 0 0;
  aspect-ratio: 0.78 / 1;
  object-fit:cover;
}
#latestGrid .book-card .card-body{
  padding:12px 16px 4px;
}
#latestGrid .book-card.with-ribbon .corner-badge{
  top:16px;
  left:16px;
}
#latestGrid .book-card.with-ribbon .review-ribbon{
  top:18px;
  right:-52px;
}
#latestGrid .book-card.with-ribbon .cover-img{
  margin-top:0;
}
#latestGrid .book-card .store-row,
#latestGrid .book-card .byline,
#latestGrid .book-card .time-meta,
#latestGrid .book-card .micro,
#latestGrid .book-card .blurb{
  padding-left:0;
  padding-right:0;
}

@media(max-width:1050px){
  .hot-list{padding:16px}
  .section-mini h2{font-size:24px}
}
@media(max-width:760px){
  .hot-list{padding:15px}
  .hot-item{grid-template-columns:26px 48px 1fr;gap:9px;padding:7px 0}
  .hot-thumb{width:48px}
  #latestGrid .book-card .cover-img{border-radius:18px 18px 0 0}
  #latestGrid .book-card .card-body{padding:11px 13px 4px}
  #latestGrid .book-card.with-ribbon .review-ribbon{top:16px;right:-48px}
}


/* =========================
   V10: matched hero / hot-list height + final homepage polish
   ========================= */
@media(min-width:1051px){
  .hero{
    align-items:stretch;
    grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);
    gap:18px;
    padding-top:20px;
    padding-bottom:2px;
  }
  .hero-feature,
  .hot-list{
    height:420px;
    min-height:420px;
    max-height:420px;
    box-sizing:border-box;
  }
  .hero-feature{
    display:block;
  }
  .hero-content{
    height:100%;
    grid-template-columns:205px minmax(0,1fr);
    gap:24px;
    padding:22px 26px;
    align-items:center;
  }
  .hero-content .cover-img{
    width:205px;
    max-height:330px;
    object-fit:cover;
  }
  .hero h1{
    font-size:clamp(31px,2.55vw,46px);
    line-height:1.00;
    margin:6px 0 6px;
  }
  .hero .subtitle{margin-bottom:7px}
  .meta-line{margin-bottom:7px;font-size:11px}
  .hero .badges{margin:7px 0 6px;gap:7px}
  .hero .badge{padding:6px 9px;font-size:10px}
  .hero .badge small{font-size:8px}
  .hero .store-signals{margin:5px 0 7px;gap:7px}
  .hero .signal{padding:6px 9px;font-size:11px}
  .hero-summary{
    margin:6px 0 0;
    font-size:14px;
    line-height:1.45;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .hero-actions{margin-top:10px;gap:9px}
  .hero .btn{padding:10px 15px}
  .hero-jump{font-size:12px}

  .hot-list{
    display:flex;
    flex-direction:column;
    padding:16px 18px 12px;
    align-self:stretch;
    overflow:hidden;
  }
  .hot-list .section-mini{
    flex:0 0 auto;
    margin-bottom:4px;
  }
  .hot-list .section-mini .kicker{font-size:9px}
  .hot-list .section-mini h2{
    font-size:25px;
    line-height:1;
    margin-top:4px;
  }
  #hotList{
    flex:1 1 auto;
    min-height:0;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
  }
  .hot-item{
    flex:1 1 0;
    min-height:0;
    grid-template-columns:24px 48px minmax(0,1fr);
    gap:9px;
    padding:6px 0;
    align-items:center;
  }
  .hot-thumb{width:48px;max-height:68px}
  .rank-num{font-size:16px}
  .hot-item h4{
    font-size:11px;
    line-height:1.18;
    margin:0 0 2px;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .hot-item .micro{font-size:9px;line-height:1.18}

  .section#latest{padding-top:4px}
}

/* Latest Reviews: full-bleed visual card + less duplicated copy */
#latestGrid .book-card{
  display:flex;
  flex-direction:column;
}
#latestGrid .book-card .cover-img{
  aspect-ratio:0.78 / 1;
}
#latestGrid .book-card .card-body{
  flex:1 1 auto;
  padding:11px 15px 4px;
}
#latestGrid .book-card .time-meta{
  margin:5px 0 4px;
  font-size:10px;
}
#latestGrid .book-card .blurb{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:3em;
}
#latestGrid .review-ribbon{
  width:176px;
  right:-48px;
  top:17px;
  padding:7px 10px 6px;
  font-size:9px;
  letter-spacing:.06em;
}

@media(max-width:1050px){
  .hero{
    align-items:start;
  }
  .hero-feature,
  .hot-list{
    max-height:none;
  }
}


/* =========================
   V11 cleanup: All Books directly after Editor's Picks
   ========================= */
#all.section{
  padding-top:42px;
}
#all .section-head{
  margin-bottom:18px;
}
#allGrid{
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:16px;
}
#allGrid .book-card{
  border-radius:18px;
}
#allGrid .book-card .card-body{
  padding-top:12px;
}
#allGrid .card-body h3{
  font-size:15px;
  line-height:1.28;
}
#allGrid .blurb{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
/* Latest Reviews remains a larger 4-column editorial grid */
#latestGrid{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
@media(max-width:1180px){
  #allGrid{grid-template-columns:repeat(4,minmax(0,1fr));}
}
@media(max-width:900px){
  #allGrid{grid-template-columns:repeat(3,minmax(0,1fr));}
  #latestGrid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:600px){
  #allGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
  #latestGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
}


/* =========================
   GoodReview V13
   Hover states + refined footer
   ========================= */

.site-header nav a{
  padding:10px 12px;
  border-radius:999px;
  transition:background .18s ease,color .18s ease, transform .18s ease;
}
.site-header nav a:hover,
.site-header nav a:focus-visible{
  background:var(--brand);
  color:#fff;
  transform:translateY(-1px);
  outline:none;
}

#genreChips .chip,
.section .chips .chip{
  transition:background .18s ease,color .18s ease,border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
#genreChips .chip:hover,
#genreChips .chip:focus-visible,
.section .chips .chip:hover,
.section .chips .chip:focus-visible{
  background:var(--brand);
  color:#fff;
  border-color:var(--brand);
  box-shadow:0 10px 22px rgba(71,41,31,.12);
  transform:translateY(-1px);
  outline:none;
}

.site-footer{
  background:#1e1511;
  color:#fff;
  padding:34px 0 18px;
  margin-top:38px;
}
.footer-grid-pro{
  display:grid;
  grid-template-columns:1.45fr .7fr .8fr;
  gap:28px;
  align-items:start;
}
.footer-brand-block p{
  max-width:420px;
  margin:12px 0 0;
  color:#c5b7af;
  font-size:13px;
  line-height:1.7;
}
.footer-links-group strong{
  display:block;
  margin:4px 0 10px;
  font-size:13px;
  color:#fff;
}
.footer-links-group a,
.footer-note{
  display:block;
  color:#c8bbb2;
  font-size:12px;
  line-height:1.95;
}
.footer-links-group a{
  transition:color .18s ease, transform .18s ease;
}
.footer-links-group a:hover,
.footer-links-group a:focus-visible{
  color:#fff;
  transform:translateX(2px);
  outline:none;
}
.footer-brand-block{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.footer-social{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:18px;
  flex-wrap:wrap;
}
.social-btn{
  width:42px;
  height:42px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.05);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#f6eee8;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
  transition:background .18s ease,border-color .18s ease,transform .18s ease, box-shadow .18s ease;
}
.social-btn svg{
  width:18px;
  height:18px;
  display:block;
  flex:none;
}
.social-facebook svg{width:17px;height:17px; transform:translateX(.5px)}
.social-instagram svg{width:18px;height:18px}
.social-email svg{width:18px;height:18px; transform:translateY(.25px)}
.social-btn:hover,
.social-btn:focus-visible{
  background:var(--brand2);
  border-color:rgba(255,255,255,.24);
  transform:translateY(-2px);
  box-shadow:0 8px 18px rgba(0,0,0,.18);
  outline:none;
}
.footer-bottom{
  margin-top:20px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  color:#a9968b;
  font-size:11px;
}
.footer-bottom-note{text-align:right}

@media (max-width:980px){
  .footer-grid-pro{grid-template-columns:1fr 1fr}
  .footer-brand-block{grid-column:1/-1}
}
@media (max-width:760px){
  .site-header nav{gap:8px; overflow-x:auto; padding-bottom:4px}
  .site-header nav a{padding:9px 11px; white-space:nowrap}
  .footer-grid-pro{grid-template-columns:1fr; gap:20px}
  .footer-bottom{flex-direction:column; align-items:flex-start}
}

/* =========================
   GoodReview V15 SEO static pages
   ========================= */
.static-card-link,.static-editor-link{color:inherit;text-decoration:none;display:block}
.static-editor-link{display:grid;grid-template-columns:120px 1fr;gap:17px;align-items:start}
.hot-item{color:inherit;text-decoration:none}
.hero h1 a{color:inherit}
.seo-search{min-width:auto}.seo-search a{font-size:12px;font-weight:800;color:var(--brand)}
.seo-breadcrumb{display:flex;gap:8px;align-items:center;padding:24px 0 0;font-size:12px;color:var(--muted)}
.seo-breadcrumb a{color:var(--brand);font-weight:800}
.seo-book-page{display:grid;grid-template-columns:290px minmax(0,1fr);gap:48px;padding:28px 0 54px;align-items:start}
.seo-book-cover{position:sticky;top:96px}.seo-book-cover>img{display:block;width:100%;height:auto;aspect-ratio:2/3;object-fit:cover;border-radius:18px;box-shadow:var(--shadow)}
.seo-buy-panel{margin-top:14px;background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:14px}.seo-buy-panel>strong{display:block;margin-bottom:9px}
.seo-store{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--line)}.seo-store:first-of-type{border-top:0}.seo-store span:first-child{display:grid;gap:2px}.seo-store small{color:var(--muted);font-size:10px}.seo-store-price{font-size:11px;font-weight:900;color:var(--brand);white-space:nowrap}
.seo-book-copy h1,.seo-list-hero h1{font-size:clamp(38px,5vw,64px);line-height:1.02;margin:8px 0 10px}.seo-subtitle{font-size:18px;color:var(--muted);margin:0 0 8px}.seo-byline{font-size:15px;margin:0 0 8px}.seo-byline a,.seo-genres a{font-weight:800;color:var(--brand)}.seo-genres{font-size:12px;color:var(--muted);margin:0 0 12px}.seo-dates{font-size:11px;color:var(--muted)}
.seo-review-copy,.seo-summary{margin-top:26px;max-width:780px}.seo-review-copy h2,.seo-summary h2,.seo-related h2,.seo-list-section h2{font-size:30px}.seo-review-copy p,.seo-summary p{font-family:Georgia,serif;font-size:17px;line-height:1.85;color:#40352f}
.seo-related{padding:10px 0 56px}.seo-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:18px}.seo-grid-card{background:var(--paper);border:1px solid var(--line);border-radius:18px;overflow:hidden;transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease,background .24s ease}.seo-grid-card>.cover-link{display:block;overflow:hidden;line-height:0;background:#eee4da}.seo-grid-card img{width:100%;aspect-ratio:2/3;object-fit:cover;display:block;transition:transform .28s ease,filter .28s ease}.seo-grid-card>div{padding:13px}.seo-grid-card h3{font-family:"DM Sans";font-size:15px;line-height:1.3;margin:6px 0 4px;transition:color .18s ease}.seo-grid-card p{margin:0 0 5px;font-size:12px;color:var(--muted)}.seo-grid-card small{font-size:10px;color:#a15e10}.seo-grid-card:hover,.seo-grid-card:focus-within{transform:translateY(-4px);border-color:#ccb8aa;background:#fff;box-shadow:0 16px 32px rgba(68,45,33,.11)}.seo-grid-card:hover img,.seo-grid-card:focus-within img{transform:translateY(-2px) scale(1.02)}.seo-grid-card:hover h3,.seo-grid-card:focus-within h3{color:var(--brand)}
.seo-list-hero{padding:56px 0 20px}.seo-list-hero p{color:var(--muted);max-width:720px}.seo-list-section{padding:0 0 58px}.seo-404{min-height:70vh;display:grid;place-content:center;text-align:center}.seo-404 h1{font-size:48px;margin:8px 0 20px}
@media(max-width:900px){.seo-book-page{grid-template-columns:220px minmax(0,1fr);gap:28px}.seo-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.seo-book-page{grid-template-columns:1fr}.seo-book-cover{position:static;max-width:260px;margin:auto}.seo-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.seo-book-copy h1,.seo-list-hero h1{font-size:38px}}
.detail-full-link{margin:8px 0 2px}.detail-full-link a{font-size:12px;font-weight:900;color:var(--brand)}
.book-card h3 a,.byline a,.hot-item h4 a,.editor-card h3 a{color:inherit;text-decoration:none}


/* =========================
   V16: more breathing room for hero CTA + lower Latest Reviews
   ========================= */
@media(min-width:1051px){
  .hero{
    padding-bottom:10px;
  }
  .hero-feature,
  .hot-list{
    height:438px;
    min-height:438px;
    max-height:438px;
  }
  .hero-content{
    padding:24px 26px 30px;
  }
  .hero-actions{
    margin-top:16px;
    padding-bottom:8px;
    gap:12px;
  }
  .section#latest{
    padding-top:28px;
  }
  #latest .section-head{
    margin-bottom:16px;
  }
}
#latest .section-head h2{
  margin-top:0;
}
@media(max-width:1050px){
  #latest .section-head{
    margin-bottom:16px;
  }
}


/* =========================
   V17: SEO detail pages are the primary book interaction
   ========================= */
.hero-cover-link{display:block}
.hero h1 a{color:inherit;text-decoration:none}
.cover-link{display:block}
.book-card[role="link"]:focus-visible{outline:3px solid rgba(71,41,31,.24);outline-offset:3px}
.hot-item{color:inherit;text-decoration:none}
.editor-card{color:inherit;text-decoration:none}


/* =========================
   V17.2: professional smart back navigation on book detail pages
   ========================= */
.seo-detail-nav{
  padding-top:22px;
  padding-bottom:12px;
  display:flex;
  align-items:center;
  gap:18px;
  min-width:0;
}
.seo-back-btn{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height:40px;
  padding:6px 14px 6px 7px;
  border:1px solid rgba(71,41,31,.16);
  border-radius:999px;
  background:var(--paper);
  color:var(--brand);
  font-size:12px;
  font-weight:800;
  box-shadow:0 6px 18px rgba(58,41,31,.06);
  transition:background .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.seo-back-icon{
  width:28px;
  height:28px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--brand);
  color:#fff;
  transition:background .18s ease,transform .18s ease;
}
.seo-back-icon svg{width:16px;height:16px;display:block}
.seo-back-btn:hover,
.seo-back-btn:focus-visible{
  background:var(--brand);
  color:#fff;
  border-color:var(--brand);
  box-shadow:0 10px 24px rgba(58,41,31,.14);
  transform:translateY(-1px);
  outline:none;
}
.seo-back-btn:hover .seo-back-icon,
.seo-back-btn:focus-visible .seo-back-icon{
  background:rgba(255,255,255,.15);
  transform:translateX(-1px);
}
.seo-detail-nav .seo-breadcrumb{
  padding:0;
  margin:0;
  min-width:0;
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-size:11px;
  white-space:nowrap;
  overflow:hidden;
}
.seo-detail-nav .seo-breadcrumb a{
  color:var(--brand);
  font-weight:800;
}
.seo-detail-nav .seo-breadcrumb span:last-child{
  overflow:hidden;
  text-overflow:ellipsis;
}
@media(max-width:700px){
  .seo-detail-nav{
    padding-top:16px;
    padding-bottom:10px;
    align-items:flex-start;
    flex-direction:column;
    gap:9px;
  }
  .seo-back-btn{min-height:38px}
  .seo-detail-nav .seo-breadcrumb{
    width:100%;
    font-size:10px;
  }
}


/* =========================
   V17.3: semantic book-card links (title / author / genre / series)
   ========================= */
.book-card{cursor:default}
.book-card:hover{transform:translateY(-3px)}
.cover-link,.editor-cover-link{display:block;color:inherit;text-decoration:none}
.card-title-link,.card-author-link,.card-genre-link,.card-series-link,.editor-card h3 a,.editor-byline a{color:inherit;text-decoration:none}
.card-title-link:hover,.card-title-link:focus-visible,.editor-card h3 a:hover,.editor-card h3 a:focus-visible{
  color:var(--brand2);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;outline:none
}
.card-author-link,.editor-byline a{font-weight:700;color:#5f5047}
.card-author-link:hover,.card-author-link:focus-visible,.editor-byline a:hover,.editor-byline a:focus-visible{
  color:var(--brand);text-decoration:underline;text-underline-offset:3px;outline:none
}
.card-taxonomy{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}
.card-genre-link,.card-series-link{
  display:inline-flex;align-items:center;min-height:22px;border:1px solid #e5dbcf;border-radius:999px;padding:3px 7px;
  background:#faf6f0;color:#6d5d52;font-size:9px;font-weight:800;line-height:1.2;
  transition:background .16s ease,color .16s ease,border-color .16s ease,transform .16s ease
}
.card-series-link{background:#f2e7da;color:var(--brand)}
.card-genre-link:hover,.card-genre-link:focus-visible,.card-series-link:hover,.card-series-link:focus-visible{
  background:var(--brand);border-color:var(--brand);color:#fff;transform:translateY(-1px);outline:none
}
.editor-card{cursor:default}
.editor-cover-link{width:120px}
.editor-byline{margin:2px 0 0;color:#bfb0a8;font-size:11px}
.editor-card .card-taxonomy{margin-top:7px}
.editor-card .card-genre-link,.editor-card .card-series-link{border-color:rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:#d9cbc3}
.editor-card .card-genre-link:hover,.editor-card .card-genre-link:focus-visible,.editor-card .card-series-link:hover,.editor-card .card-series-link:focus-visible{background:#fff;border-color:#fff;color:var(--brand)}
.seo-grid-card .seo-card-author{margin:0 0 6px;font-size:12px;color:var(--muted)}
.seo-grid-card .seo-card-author a{font-weight:700;color:var(--brand)}
.seo-grid-card .card-taxonomy{margin:7px 0 4px}
.seo-series-line{margin:0 0 8px;color:var(--muted);font-size:12px}
.seo-series-line a{font-weight:800;color:var(--brand)}
@media(max-width:600px){.card-taxonomy{gap:4px}.card-genre-link,.card-series-link{font-size:8px;padding:3px 6px}}

/* =========================
   V17.4: semantic links in hero + Hot on Amazon
   ========================= */
.editor-pick-link{display:inline-block}
.editor-pick-link:hover,.editor-pick-link:focus-visible{text-decoration:underline;text-underline-offset:3px;outline:none}
.corner-badge{color:var(--ink);text-decoration:none;transition:background .16s ease,color .16s ease,transform .16s ease}
a.corner-badge:hover,a.corner-badge:focus-visible{background:var(--brand);color:#fff;transform:translateY(-1px);outline:none}
.seo-book-copy .badges a.badge{text-decoration:none}
.seo-book-copy .badges a.badge:hover,.seo-book-copy .badges a.badge:focus-visible{transform:translateY(-1px);box-shadow:0 7px 16px rgba(58,41,31,.10);outline:none}
@media(min-width:1051px){
/* =========================
   V17.5: listing pages use homepage-sized 5-up cards
   ========================= */
.seo-list-section .seo-card-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:16px;
  align-items:start;
}
.seo-list-section .seo-grid-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 10px 26px rgba(50,34,27,.06);
}
.seo-list-section .seo-grid-card img{
  width:100%;
  aspect-ratio:2/3;
  object-fit:cover;
  display:block;
}
.seo-list-section .seo-grid-card > div{
  padding:12px 12px 14px;
}
.seo-list-section .seo-grid-card h3{
  font-family:"DM Sans";
  font-size:15px;
  line-height:1.35;
  margin:6px 0 4px;
}
.seo-list-section .seo-grid-card .store-row{
  font-size:12px;
  color:#b16c13;
  font-weight:900;
}
.seo-list-section .seo-grid-card .seo-card-author{
  margin:0 0 6px;
  font-size:12px;
}
.seo-list-section .seo-grid-card .card-taxonomy{
  margin:7px 0 6px;
}
.seo-list-section .seo-grid-card small{
  display:block;
  margin-top:3px;
}
@media (max-width:1280px){
  .seo-list-section .seo-card-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
}
@media (max-width:980px){
  .seo-list-section .seo-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media (max-width:700px){
  .seo-list-section .seo-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:480px){
  .seo-list-section .seo-card-grid{grid-template-columns:1fr;}
}

/* =========================
   V17.6: hard-lock listing cover ratio to homepage card proportions
   ========================= */
.seo-list-section .seo-card-grid{
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:16px;
  align-items:start;
}
.seo-list-section .seo-grid-card{
  width:100%;
  min-width:0;
  align-self:start;
}
.seo-list-section .seo-grid-card > .cover-link{
  display:block;
  width:100%;
  aspect-ratio:2 / 3;
  overflow:hidden;
  line-height:0;
  background:#eadfd3;
}
.seo-list-section .seo-grid-card > .cover-link > img{
  display:block;
  width:100% !important;
  height:100% !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  object-fit:cover !important;
  object-position:center !important;
}
.seo-list-section{
  padding-top:4px;
}
.seo-list-hero{
  padding-bottom:16px;
}
@media (max-width:1280px){
  .seo-list-section .seo-card-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
}
@media (max-width:980px){
  .seo-list-section .seo-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media (max-width:700px){
  .seo-list-section .seo-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:480px){
  .seo-list-section .seo-card-grid{grid-template-columns:1fr;}
}


/* V17.8: restore Hero + Hot list to pre-semantic-link behavior (V17.3 baseline). */
.hot-item{cursor:pointer;color:inherit;text-decoration:none}
.hero h1 a{color:inherit;text-decoration:none}

/* V17.9 — mapped-data cleanup, list navigation and sort */
.section-title-link{color:inherit;text-decoration:none}.section-title-link:hover{text-decoration:underline;text-underline-offset:5px}
.home-all-tools,.list-toolbar{display:flex;align-items:center;gap:10px;justify-content:flex-end}.view-all-link{font-size:12px;font-weight:900;color:var(--brand);white-space:nowrap}
.home-sort,.list-toolbar label{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:800;color:var(--muted);white-space:nowrap}.home-sort select,.list-sort{border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:999px;padding:8px 30px 8px 11px;font:inherit;outline:none;cursor:pointer}
.seo-list-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.seo-list-title-row>div:first-child{min-width:0}.seo-list-title-row h1{margin-bottom:8px}.seo-store-categories{font-size:11px;color:var(--muted);margin:2px 0 12px}.seo-store-categories b{color:#675b52}
.seo-related .seo-card-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;align-items:start}.seo-related .seo-grid-card>.cover-link{display:block;width:100%;aspect-ratio:2/3;overflow:hidden;line-height:0;background:#eee4da}.seo-related .seo-grid-card>.cover-link>img{display:block;width:100%!important;height:100%!important;max-height:none!important;aspect-ratio:auto!important;object-fit:cover!important}.seo-related .seo-grid-card>div{padding:11px 12px 13px}
@media(max-width:1280px){.seo-related .seo-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:980px){.seo-related .seo-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.seo-related .seo-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.seo-list-title-row{align-items:flex-start;flex-direction:column}.list-toolbar{justify-content:flex-start}.home-all-tools{width:100%;justify-content:space-between}}@media(max-width:480px){.seo-related .seo-card-grid{grid-template-columns:1fr}.home-all-tools{align-items:flex-start;flex-direction:column}}

/* =========================
   V17.10: retailer icons + clean Amazon category mapping
   ========================= */
.seo-buy-panel{padding:14px 14px 10px}
.seo-store{
  min-height:64px;
  padding:10px 0;
  text-decoration:none;
  transition:background .16s ease,transform .16s ease;
}
.seo-store:hover,.seo-store:focus-visible{
  background:#fffaf4;
  transform:translateX(2px);
  outline:none;
}
.seo-store-main{display:flex!important;grid-template-columns:none!important;align-items:center;gap:10px;min-width:0}
.seo-store-icon{
  width:36px;height:36px;min-width:36px;
  border:1px solid var(--line);border-radius:10px;
  display:grid;place-items:center;background:#fff;
  overflow:hidden;
}
.seo-store-icon img{display:block;width:24px;height:24px;object-fit:contain}
.seo-store-copy{display:grid;gap:2px;min-width:0}
.seo-store-copy strong{font-size:13px;color:var(--ink)}
.seo-store-copy small{font-size:9px;line-height:1.3;color:var(--muted)}
.seo-store-price{display:grid!important;justify-items:end;gap:2px;text-align:right}
.seo-store-price strong{font-size:11px;color:var(--brand)}
.seo-store-price small{font-size:8px;color:var(--muted);font-weight:700}
.seo-store-amazon .seo-store-icon{background:#fff8ed}
.seo-store-ingram .seo-store-icon{background:#f2f8ff}
.seo-store-kobo .seo-store-icon{background:#fff4f2}
.seo-store-apple .seo-store-icon{background:#fff8f3}
.proof-link{text-decoration:none;color:inherit;transition:border-color .16s ease,transform .16s ease,box-shadow .16s ease}
.proof-link:hover,.proof-link:focus-visible{border-color:#c8b8aa;transform:translateY(-1px);box-shadow:0 7px 16px rgba(58,41,31,.07);outline:none}
.seo-rank-link a,.rank-category-link{color:#a15e10;text-decoration:none;font-weight:800}
.seo-rank-link a:hover,.seo-rank-link a:focus-visible,.rank-category-link:hover,.rank-category-link:focus-visible{text-decoration:underline;text-underline-offset:2px;outline:none}
.light-link{color:#fff!important}
@media(max-width:700px){
  .seo-store{min-height:58px}.seo-store-icon{width:34px;height:34px;min-width:34px}.seo-store-icon img{width:22px;height:22px}
}


/* V17.11 mapped-data refinement */
.hero-book-identity{font-size:11px;font-weight:700;color:#675b52;margin:2px 0 5px;line-height:1.35}
@media(min-width:1051px){.hero-book-identity{font-size:10px;margin:1px 0 4px}}
.list-toolbar{flex-wrap:wrap}.list-toolbar label{display:flex;align-items:center;gap:7px}.list-filter{border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:999px;padding:8px 30px 8px 11px;font:inherit;outline:none;cursor:pointer}.home-all-tools{flex-wrap:wrap}.home-all-tools .home-sort{display:flex;align-items:center;gap:7px}
@media(max-width:900px){.home-all-tools{justify-content:flex-start}}

/* =========================
   V17.12: library counters beside search
   ========================= */
.site-header .nav{gap:16px}
.site-header nav{gap:14px}
.site-header .search{min-width:230px}
.library-stats{
  display:flex;
  align-items:center;
  gap:7px;
  flex:0 0 auto;
}
.library-stat{
  width:61px;
  height:52px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(255,253,249,.92);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:1px;
  color:var(--brand);
  text-decoration:none;
  box-shadow:0 6px 16px rgba(58,41,31,.045);
  transition:transform .16s ease,background .16s ease,color .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.library-stat strong{
  font-size:17px;
  line-height:1;
  font-weight:900;
  font-variant-numeric:tabular-nums;
}
.library-stat span{
  max-width:54px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:7.4px;
  line-height:1.1;
  text-transform:uppercase;
  letter-spacing:.045em;
  font-weight:800;
  color:#8a766b;
}
.library-stat:hover,.library-stat:focus-visible{
  background:var(--brand);
  border-color:var(--brand);
  color:#fff;
  transform:translateY(-2px);
  box-shadow:0 10px 22px rgba(58,41,31,.14);
  outline:none;
}
.library-stat:hover span,.library-stat:focus-visible span{color:#eadfd8}
.empty-collection{
  border:1px dashed var(--line);
  border-radius:18px;
  padding:28px;
  color:var(--muted);
  background:rgba(255,255,255,.35);
  text-align:center;
  font-size:13px;
}
@media(max-width:1320px){
  .site-header .search{min-width:190px}
  .library-stat{width:53px;height:48px;border-radius:12px}
  .library-stat strong{font-size:15px}
  .library-stat span{font-size:6.8px;max-width:47px}
}
@media(max-width:1160px){
  .library-stats{display:none}
}


/* =========================
   V17.13: JSON-driven Hero + Hot rotation
   ========================= */
.hero-feature .hero-content{
  transition:opacity .42s ease,transform .42s cubic-bezier(.22,.61,.36,1),filter .42s ease;
  will-change:opacity,transform;
}
.hero-feature.hero-swap-out .hero-content{opacity:0;transform:translateX(-12px) scale(.996);filter:blur(1px)}
.hero-feature.hero-swap-in .hero-content{opacity:0;transform:translateX(12px) scale(.996);filter:blur(1px)}
.hot-list #hotList{transition:opacity .38s ease,transform .38s cubic-bezier(.22,.61,.36,1);will-change:opacity,transform}
.hot-list.hot-swap-out #hotList{opacity:0;transform:translateY(-7px)}
.hot-list.hot-swap-in #hotList{opacity:0;transform:translateY(7px)}
@media(prefers-reduced-motion:reduce){
  .hero-feature .hero-content,.hot-list #hotList{transition:none!important}
}

/* =========================
   V17.22: GoodReview.uk brand + Reward campaign modal
   ========================= */
.brand-domain{
  font-family:"DM Sans",system-ui,sans-serif;
  font-style:normal;
  font-size:.48em;
  font-weight:900;
  letter-spacing:.01em;
  color:#7c4937;
  margin-left:2px;
  vertical-align:.14em;
}
.inverse .brand-domain{color:#c89a84}
.reward-nav-btn{
  appearance:none;border:1px solid #d6b38d;background:linear-gradient(180deg,#fff9ec,#f9ead2);color:var(--brand);
  height:42px;padding:0 12px;border-radius:14px;display:inline-flex;align-items:center;gap:7px;white-space:nowrap;
  font-size:11px;font-weight:900;cursor:pointer;box-shadow:0 7px 18px rgba(91,54,35,.07);
  transition:transform .16s ease,box-shadow .16s ease,background .16s ease,border-color .16s ease;
}
.reward-nav-btn:hover,.reward-nav-btn:focus-visible{transform:translateY(-1px);background:#5b3528;color:#fff;border-color:#5b3528;box-shadow:0 10px 22px rgba(71,41,31,.15);outline:none}
.reward-nav-icon{width:24px;height:24px;border-radius:8px;background:#e2b363;color:#4b2c20;display:grid;place-items:center;line-height:1}.reward-nav-icon svg{width:15px;height:15px;display:block}
.reward-nav-btn:hover .reward-nav-icon,.reward-nav-btn:focus-visible .reward-nav-icon{background:#f0c879}
.reward-nav-count{min-width:20px;height:20px;border-radius:999px;background:#7c4937;color:#fff;display:grid;place-items:center;padding:0 5px;font-size:9px;font-variant-numeric:tabular-nums}
.reward-nav-btn:hover .reward-nav-count{background:#fff;color:#5b3528}
.reward-modal[hidden]{display:none!important}
.reward-modal{position:fixed;inset:0;z-index:300;display:grid;place-items:center;padding:24px;opacity:0;transition:opacity .18s ease}
.reward-modal.is-open{opacity:1}
.reward-backdrop{position:absolute;inset:0;background:rgba(27,18,14,.72);backdrop-filter:blur(8px)}
.reward-dialog{position:relative;z-index:1;width:min(920px,100%);max-height:min(92vh,940px);overflow:auto;background:#fffdf9;border:1px solid rgba(255,255,255,.55);border-radius:28px;box-shadow:0 34px 90px rgba(26,16,11,.30);padding:30px;outline:none;transform:translateY(12px) scale(.992);transition:transform .22s cubic-bezier(.22,.61,.36,1)}
.reward-modal.is-open .reward-dialog{transform:translateY(0) scale(1)}
.reward-close{position:sticky;float:right;top:0;z-index:4;width:38px;height:38px;border-radius:50%;border:1px solid var(--line);background:#fff;color:#5d4034;font-size:24px;line-height:1;cursor:pointer;box-shadow:0 6px 16px rgba(58,41,31,.08)}
.reward-header{padding:4px 54px 20px 2px;border-bottom:1px solid var(--line)}
.reward-eyebrow{display:block;color:var(--accent2);font-size:10px;font-weight:900;letter-spacing:.18em;margin-bottom:8px}
.reward-header h2{font-family:"Playfair Display",Georgia,serif;font-size:clamp(34px,5vw,54px);line-height:1.02;margin:0 0 10px;color:#251812}
.reward-header p{max-width:720px;margin:0;color:#76665c;font-size:14px;line-height:1.65}
.reward-deadline{display:inline-flex;align-items:center;gap:7px;margin-top:14px;padding:7px 10px;border-radius:999px;background:#f5ece1;color:#6d4b3d;font-size:10px;font-weight:900}
.reward-deadline-dot{width:7px;height:7px;border-radius:50%;background:#cb6e50;box-shadow:0 0 0 4px rgba(203,110,80,.12)}
.reward-feature{display:grid;grid-template-columns:230px minmax(0,1fr);gap:26px;padding:24px 0 18px;align-items:start}
.reward-image-wrap{background:linear-gradient(145deg,#f6e6c8,#f7d9c9);border-radius:22px;padding:14px;box-shadow:0 16px 36px rgba(80,52,39,.10)}
.reward-image-wrap img{display:block;width:100%;aspect-ratio:2/3;object-fit:contain;border-radius:13px;background:#fff}
.reward-rules{min-width:0}.reward-rules h3,.reward-list-head h3{font-family:"Playfair Display",Georgia,serif;font-size:24px;margin:15px 0 10px;color:#2a1a14}
.reward-prize{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap;padding:14px 16px;border-radius:16px;background:#4b2c20;color:#fff}
.reward-prize span{width:100%;font-size:8px;font-weight:900;letter-spacing:.16em;color:#efc989}.reward-prize strong{font-family:"Playfair Display",Georgia,serif;font-size:30px}.reward-prize small{font-size:10px;color:#ddcfc8}
.reward-rules ol{list-style:none;margin:0;padding:0;display:grid;gap:10px}.reward-rules li{display:grid;grid-template-columns:30px 1fr;gap:10px;align-items:start}.reward-rules li>span{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:#f1e2cf;color:#6d3e2f;font-size:11px;font-weight:900}.reward-rules li strong{display:block;font-size:12px;margin:1px 0 2px}.reward-rules li p{margin:0;color:#74675f;font-size:11px;line-height:1.55}
.reward-telegram{color:#8b4a32;text-decoration:underline;text-underline-offset:2px;font-weight:900}.reward-telegram-placeholder{text-decoration:none}
.reward-message{border:1px solid #eadac8;background:#fff7ec;border-radius:18px;padding:16px 18px;margin:4px 0 22px}.reward-message>strong{display:block;font-family:"Playfair Display",Georgia,serif;font-size:18px;margin-bottom:5px}.reward-message p{margin:0;color:#665951;font-size:12px;line-height:1.7}
.reward-list-section{border-top:1px solid var(--line);padding-top:20px}.reward-list-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:12px}.reward-list-head span{font-size:8px;color:var(--accent2);font-weight:900;letter-spacing:.16em}.reward-list-head h3{margin:3px 0 0}.reward-list-count{font-size:10px;color:#846f63;font-weight:800;white-space:nowrap}
.reward-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:16px;background:#fff}.reward-table{width:100%;border-collapse:collapse;table-layout:fixed}.reward-table .reward-c1{width:46px}.reward-table .reward-c2{width:auto}.reward-table .reward-c3{width:150px}.reward-table .reward-c4{width:92px}.reward-table th{padding:10px 12px;background:#f6efe7;color:#8d7467;text-align:left;font-size:8px;text-transform:uppercase;letter-spacing:.08em}.reward-table td{padding:12px;border-top:1px solid #eee4da;font-size:11px;vertical-align:middle}.reward-table th:last-child,.reward-table td:last-child{text-align:center}.reward-col-num{color:#c2684d;font-weight:900;font-variant-numeric:tabular-nums}.reward-book-title{font-weight:900;color:#2d1d17;display:block;line-height:1.35}.reward-table td small{display:block;margin-top:2px;color:#8a7a70}.reward-page-link{font-weight:800;color:#7c4937}.reward-col-qty{font-size:13px!important;font-weight:900}.reward-empty-row td{text-align:center!important;color:#796b63;padding:24px!important}
.reward-fineprint{margin-top:15px;padding-top:13px;border-top:1px solid var(--line);font-size:9px;line-height:1.55;color:#93837a}
.reward-modal-open{overflow:hidden}
@media(max-width:1320px){.reward-nav-btn{padding:0 10px}.reward-nav-label{display:none}.reward-nav-btn{width:42px;justify-content:center}.reward-nav-count{position:absolute;transform:translate(15px,-15px);min-width:17px;height:17px;font-size:8px}}
@media(max-width:760px){.reward-nav-btn{margin-left:auto}.reward-modal{padding:10px}.reward-dialog{padding:20px;border-radius:22px}.reward-feature{grid-template-columns:130px 1fr;gap:15px}.reward-image-wrap{padding:8px}.reward-header{padding-right:38px}.reward-table .reward-c3{width:112px}.reward-table .reward-c4{width:74px}}
@media(max-width:560px){.reward-feature{grid-template-columns:1fr}.reward-image-wrap{width:170px;margin:auto}.reward-list-head{align-items:flex-start;flex-direction:column;gap:4px}.reward-table{min-width:620px}.reward-dialog{max-height:96vh}.reward-rules li p,.reward-message p{font-size:11px}}
@media(prefers-reduced-motion:reduce){.reward-modal,.reward-dialog,.reward-nav-btn{transition:none!important}}

/* =========================
   V17.23: Editor's Picks contained card treatment
   Keep the dark editorial area inside the same page shell as Hero/Hot,
   instead of painting the brown background edge-to-edge.
   ========================= */
.dark-section{
  background:transparent;
  color:#fff;
  padding:32px 0 22px;
}
.dark-section > .wrap.section{
  background:#251813;
  border:1px solid rgba(76,47,37,.12);
  border-radius:30px;
  padding:32px;
  overflow:hidden;
  box-shadow:var(--shadow);
}
@media(max-width:760px){
  .dark-section{padding:22px 0 14px}
  .dark-section > .wrap.section{
    border-radius:24px;
    padding:24px 18px;
  }
}


/* =========================
   V17.24: Reward fix + premium Editor's Picks collection detail
   ========================= */
.editors-collection{padding:30px 0 56px}
.editors-collection-panel{
  background:linear-gradient(145deg,#251813,#31201a);
  border:1px solid rgba(76,47,37,.16);
  border-radius:30px;
  padding:30px;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.editors-collection .seo-list-hero{padding:0 0 24px;margin:0;border-bottom:1px solid rgba(255,255,255,.10)}
.editors-collection-head{display:flex;align-items:flex-end;justify-content:space-between;gap:28px}
.editors-collection-copy{min-width:0;max-width:760px}
.editors-collection .kicker{color:#df765b}
.editors-collection h1{color:#fff;font-size:clamp(36px,4.2vw,56px);line-height:1;margin:7px 0 10px}
.editors-collection .editors-collection-copy>p{color:#cbbcb4;max-width:680px;font-size:14px;line-height:1.65;margin:0}
.editors-collection-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.editors-collection-meta span{display:inline-flex;align-items:center;min-height:28px;padding:6px 10px;border:1px solid rgba(255,255,255,.12);border-radius:999px;background:rgba(255,255,255,.06);color:#e9ddd6;font-size:9px;font-weight:800;letter-spacing:.02em}
.editors-collection .list-toolbar{flex:0 0 auto}
.editors-collection .list-toolbar label{color:#d9cbc3}
.editors-collection .list-sort,.editors-collection .list-filter{background:#fffdf9;border-color:rgba(255,255,255,.18);color:#2d1d17}
.editors-collection-list{padding:22px 0 0}
.editors-collection-list .seo-card-grid{margin-top:0}
.editors-collection-list .seo-grid-card{border-color:rgba(255,255,255,.08);box-shadow:0 14px 30px rgba(0,0,0,.14)}
.editors-empty{margin-top:0;background:rgba(255,255,255,.06);border:1px dashed rgba(255,255,255,.18);border-radius:18px;padding:28px;color:#d8c8bf;text-align:center}
@media(max-width:900px){
  .editors-collection-head{align-items:flex-start;flex-direction:column;gap:18px}
  .editors-collection .list-toolbar{justify-content:flex-start}
}
@media(max-width:700px){
  .editors-collection{padding:20px 0 40px}
  .editors-collection-panel{padding:22px 16px;border-radius:24px}
  .editors-collection h1{font-size:38px}
  .editors-collection-meta{gap:6px}
}


/* =========================
   GoodReview V17.25 — Editor market proof + bestseller ribbon
   ========================= */
.editor-card{
  position:relative;
  overflow:hidden;
}
.editor-card-copy{min-width:0;padding-right:2px}
.editor-market-signals{
  display:grid;
  gap:4px;
  margin-top:8px;
}
.editor-rating{
  color:#f0c277;
  font-size:10px;
  font-weight:800;
  line-height:1.3;
}
.editor-rank{
  color:#e29a46;
  font-size:10px;
  font-weight:900;
  line-height:1.3;
  width:fit-content;
}
.editor-rank:hover,.editor-rank:focus-visible{
  color:#ffd28d;
  text-decoration:underline;
  text-underline-offset:2px;
  outline:none;
}
.editor-bestseller-ribbon{
  position:absolute;
  top:12px;
  right:-36px;
  z-index:5;
  width:132px;
  padding:6px 0 5px;
  transform:rotate(42deg);
  transform-origin:center;
  background:linear-gradient(180deg,#f3c871,#dca149);
  color:#3a2419;
  border:1px solid rgba(255,255,255,.38);
  box-shadow:0 5px 15px rgba(0,0,0,.22);
  text-align:center;
  font-size:8px;
  font-weight:900;
  letter-spacing:.13em;
  line-height:1;
}
.editor-bestseller-ribbon:hover,.editor-bestseller-ribbon:focus-visible{
  background:linear-gradient(180deg,#ffd98f,#e8ad52);
  outline:none;
}
@media(max-width:760px){
  .editor-bestseller-ribbon{top:11px;right:-38px}
}

.seo-grid-card{position:relative;overflow:hidden}
.seo-bestseller-ribbon{
  position:absolute;top:16px;right:-42px;z-index:6;width:142px;padding:6px 0 5px;
  transform:rotate(42deg);background:linear-gradient(180deg,#f3c871,#dca149);
  color:#3a2419;border:1px solid rgba(255,255,255,.42);box-shadow:0 5px 15px rgba(56,31,18,.18);
  text-align:center;font-size:8px;font-weight:900;letter-spacing:.13em;line-height:1;
}
.seo-bestseller-ribbon:hover,.seo-bestseller-ribbon:focus-visible{background:linear-gradient(180deg,#ffd98f,#e8ad52);outline:none}

/* =========================
   GoodReview V17.26 — global catalog marks + dynamic genre rail
   ========================= */
.book-card,.seo-grid-card{position:relative;overflow:hidden}
.global-bestseller-ribbon{
  position:absolute;top:13px;right:-40px;z-index:8;width:150px;padding:8px 0 7px;
  transform:rotate(42deg);transform-origin:center;
  background:linear-gradient(180deg,#f5cf7f,#dfa54c);color:#3a2419;
  border:1px solid rgba(255,255,255,.48);box-shadow:0 6px 16px rgba(66,38,22,.22);
  text-align:center;font-size:8px;font-weight:900;letter-spacing:.13em;line-height:1;
}
.global-bestseller-ribbon:hover,.global-bestseller-ribbon:focus-visible{
  background:linear-gradient(180deg,#ffdfa0,#eab35a);outline:none;
}
.global-editor-badge{
  position:absolute;top:24px;left:24px;z-index:9;
  display:inline-flex;align-items:center;min-height:25px;padding:6px 9px;
  border:1px solid rgba(69,105,86,.16);border-radius:999px;
  background:#dcefe5;color:#245c47;box-shadow:0 5px 14px rgba(38,57,48,.12);
  font-size:8px;font-weight:900;letter-spacing:.055em;line-height:1;white-space:nowrap;
}
.global-editor-badge:hover,.global-editor-badge:focus-visible{background:#cce7d8;color:#174b39;outline:none}
.seo-grid-card .global-editor-badge{top:20px;left:20px}
.seo-grid-card .global-bestseller-ribbon{top:12px;right:-40px}
.seo-book-cover{position:sticky}
.seo-book-cover .global-editor-badge{top:14px;left:14px}
.seo-book-cover .global-bestseller-ribbon{top:12px;right:-34px;width:152px}

.inline-statuses{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:7px 0 5px}
.inline-status{display:inline-flex;align-items:center;min-height:22px;padding:5px 8px;border-radius:999px;font-size:8px;font-weight:900;letter-spacing:.035em;line-height:1}
.inline-status-best{background:#f2c66f;color:#3b2619}
.inline-status-choice{background:#d6eee5;color:#1f5b48}
.inline-status-pick{background:#d8eee2;color:#245c47}
.hot-item .inline-statuses{margin:4px 0 0;gap:4px}
.hot-item .inline-status{min-height:18px;padding:4px 6px;font-size:7px}

.genre-rail-section{padding:0 0 8px}
.genre-rail-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 7px}
.genre-rail-head>div{display:flex;align-items:baseline;gap:8px;min-width:0}
.genre-rail-head .kicker{font-size:7.5px;letter-spacing:.2em}
.genre-rail-head strong{font-family:"Playfair Display",Georgia,serif;font-size:17px;white-space:nowrap}
.genre-rail-head>a{font-size:9.5px;font-weight:900;color:var(--brand);white-space:nowrap}
.genre-rail{display:flex;flex-wrap:wrap;gap:7px;padding:0}
.genre-rail-card{
  flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;
  min-height:32px;max-width:100%;padding:6px 10px 6px 12px;
  border:1px solid #5b3528;border-radius:999px;background:#5b3528;color:#fff;
  box-shadow:0 3px 8px rgba(68,45,33,.08);
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease,color .16s ease;
}
.genre-rail-title{
  display:block;min-height:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  max-width:220px;font-size:10.5px;font-weight:850;line-height:1;color:inherit;
}
.genre-rail-arrow{
  flex:0 0 auto;display:grid;place-items:center;width:17px;height:17px;border-radius:50%;
  background:transparent;color:inherit;box-shadow:none;
}
.genre-rail-arrow>svg{width:10px;height:10px;transition:transform .16s ease}
.genre-rail-card:hover,.genre-rail-card:focus-visible{
  transform:translateY(-1px);border-color:#b99078;background:#fff;color:var(--brand);
  box-shadow:0 7px 16px rgba(68,45,33,.08);outline:none
}
.genre-rail-card:hover .genre-rail-arrow>svg,.genre-rail-card:focus-visible .genre-rail-arrow>svg{transform:translateX(2px)}

@media(max-width:760px){
  .global-editor-badge{top:18px;left:18px;font-size:7px;padding:5px 7px}
  .global-bestseller-ribbon{top:10px;right:-43px;width:145px;font-size:7px}
  .global-goodreads-choice-ribbon{top:37px;right:-43px;width:145px;font-size:6px}
  .book-card.is-goodreads-choice:not(.is-bestseller) .global-goodreads-choice-ribbon{top:12px}
  .seo-grid-card.is-goodreads-choice:not(.is-bestseller) .global-goodreads-choice-ribbon{top:12px}
  .seo-book-cover.is-goodreads-choice:not(.is-bestseller) .global-goodreads-choice-ribbon{top:12px}
  .editor-goodreads-choice-ribbon{top:40px;right:-39px}
  .genre-rail-section{padding:0 0 8px}
  .genre-rail-head{align-items:flex-end;margin-bottom:6px}
  .genre-rail-head>div{display:block}.genre-rail-head strong{display:block;margin-top:2px;font-size:16px}
  .genre-rail{gap:6px}
  .genre-rail-card{min-height:30px;padding:5px 8px 5px 10px}
  .genre-rail-title{max-width:170px;font-size:10px}
  .genre-rail-arrow{width:15px;height:15px}
}

/* =========================
   GoodReview V17.27 — wider desktop header
   ========================= */
@media(min-width:1380px){
  .site-header .wrap.nav{
    width:min(calc(100% - 28px),1600px);
    gap:22px;
  }
  .site-header nav{gap:22px;min-width:0}
  .site-header nav a{white-space:nowrap}
  .site-header .search{
    width:330px;
    min-width:330px;
  }
  .site-header .library-stats{margin-left:auto}
}


/* =========================
   GoodReview V17.30 — Editor's Picks 3-card rotation
   ========================= */
#editorGrid{transition:opacity .38s ease,transform .38s cubic-bezier(.22,.61,.36,1);will-change:opacity,transform}
#editorGrid.editor-swap-out{opacity:0;transform:translateY(-7px)}
#editorGrid.editor-swap-in{opacity:0;transform:translateY(7px)}
@media(prefers-reduced-motion:reduce){#editorGrid{transition:none!important}}

/* =========================
   V17.33 — GoodReview Rewards V1
   ========================= */
.reward-nav-label{font-size:10px;white-space:nowrap}
.reward-nav-count{min-width:30px;padding:0 6px;font-size:7px;letter-spacing:.08em}
.reward-v1-dialog{width:min(1040px,100%)}
.reward-v1-header{padding-bottom:18px}
.reward-v1-chips{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:13px}
.reward-v1-live{display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;background:#eee5dc;color:#7b6c62;font-size:9px;font-weight:900;letter-spacing:.08em}
.reward-v1-live.is-live{background:#e4f3e9;color:#21684d}
.reward-v1-hero{display:grid;grid-template-columns:minmax(320px,.95fr) minmax(0,1fr);gap:18px;padding:20px 0 16px;align-items:stretch}
.reward-v1-kicker{font-size:8px;font-weight:900;letter-spacing:.16em;color:#c96f55}
#rewardHeroCardWrap{min-width:0}
.reward-v1-hero-card{min-height:176px;border-radius:22px;padding:19px 20px;border:1px solid #e3d3c5;background:#fffaf4;box-shadow:0 14px 34px rgba(58,36,26,.08)}
.reward-v1-hero-promo{background:linear-gradient(155deg,#fffaf4,#f6ece1)}
.reward-v1-hero-board{background:linear-gradient(155deg,#fffdfa,#f8f0e6)}
.reward-v1-hero-top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.reward-v1-hero-top h3{font-family:"Playfair Display",Georgia,serif;font-size:30px;line-height:1.02;margin:6px 0 8px;color:#2c1a14}
.reward-v1-hero-top p{margin:0;color:#7a6a61;font-size:11px;line-height:1.65;max-width:38ch}
.reward-v1-hero-pill{display:inline-flex;align-items:center;justify-content:center;padding:7px 11px;border-radius:999px;background:#efe6dc;color:#6f584c;font-size:9px;font-weight:900;letter-spacing:.08em;white-space:nowrap}
.reward-v1-hero-pill.is-live{background:#e4f3e9;color:#21684d}
.reward-v1-hero-pill.is-ended{background:#f4ece7;color:#7e6257}
.reward-v1-promo-body{display:grid;grid-template-columns:178px minmax(0,1fr);gap:14px;align-items:center;margin-top:18px}
.reward-v1-kobo-visual{display:grid;place-items:center;gap:8px;padding:16px;border-radius:18px;background:linear-gradient(145deg,#4a2b21,#684437);color:#fff;box-shadow:0 16px 34px rgba(58,36,26,.16)}
.reward-v1-kobo-visual img{width:72px;height:72px;display:block;border-radius:18px;box-shadow:0 10px 18px rgba(0,0,0,.16)}
.reward-v1-kobo-visual strong{display:block;font-family:"Playfair Display",Georgia,serif;font-size:30px;line-height:1;margin:4px 0 2px;text-align:center}
.reward-v1-kobo-visual small{display:block;font-size:11px;color:#e9d8cf;text-align:center}
.reward-v1-promo-copy{display:grid;gap:10px}
.reward-v1-promo-line{border:1px solid #eadbce;background:#fff;border-radius:14px;padding:12px 13px;font-size:11px;line-height:1.55;color:#5e4a42}
.reward-v1-hero-board-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.reward-v1-hero-board-meta span{border:1px solid #ebddd0;background:#fff;border-radius:999px;padding:6px 9px;font-size:9px;font-weight:800;color:#75655c}
.reward-v1-hero-list{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:8px}
.reward-v1-hero-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;border:1px solid #eadbce;background:#fff;border-radius:14px}
.reward-v1-hero-row.is-top{background:#fff9ef}
.reward-v1-hero-rank{font-family:Georgia,serif;color:#b35f45;font-weight:800}
.reward-v1-hero-row strong{font-size:11px;min-width:0}
.reward-v1-hero-verified{font-size:10px;font-weight:800;color:#6d594f;white-space:nowrap}
.reward-v1-hero-empty{margin-top:14px;padding:12px 13px;border-radius:14px;background:#fff;border:1px solid #eadbce;color:#7e6f65;font-size:10px;line-height:1.6}
.reward-v1-rules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;align-items:stretch}
.reward-v1-rules>div{display:grid;grid-template-columns:30px 1fr;gap:9px;border:1px solid var(--line);border-radius:16px;background:#fffaf4;padding:13px}
.reward-v1-rules b{width:30px;height:30px;border-radius:10px;background:#f0dfca;color:#6b3c2e;display:grid;place-items:center;font-size:11px}.reward-v1-rules span{display:grid;gap:3px}.reward-v1-rules strong{font-size:11px}.reward-v1-rules small{font-size:9px;line-height:1.5;color:#7d6e64}
.reward-v1-join,.reward-v1-member{border:1px solid #e8d9ca;border-radius:18px;background:#fff8ef;padding:16px 17px;margin:4px 0 16px}
.reward-v1-join{display:grid;grid-template-columns:minmax(230px,1fr) minmax(320px,1.25fr);gap:16px;align-items:center}.reward-v1-join h3,.reward-v1-member h3,.reward-v1-liveboard h3{font-family:"Playfair Display",Georgia,serif;font-size:22px;margin:3px 0 4px;color:#2b1b15}.reward-v1-join p{margin:0;color:#786960;font-size:10px;line-height:1.55}
#rewardJoinForm{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.reward-v1-join input,.reward-v1-link-row input{width:100%;min-width:0;border:1px solid #d9c9bb;background:#fff;border-radius:12px;padding:11px 12px;font:inherit;font-size:12px;outline:none}.reward-v1-join input:focus,.reward-v1-link-row input:focus{border-color:#8b5b48;box-shadow:0 0 0 3px rgba(91,53,40,.08)}
#rewardJoinForm button,.reward-v1-link-row button{border:0;border-radius:12px;padding:11px 14px;background:#4b2d23;color:#fff;font-size:10px;font-weight:900;cursor:pointer;white-space:nowrap}#rewardJoinForm button:hover,.reward-v1-link-row button:hover{background:#6a4436}#rewardJoinForm button:disabled{opacity:.65;cursor:wait}
.reward-v1-form-msg{grid-column:1/-1;font-size:10px;min-height:14px}.reward-v1-form-msg.is-ok{color:#24704f}.reward-v1-form-msg.is-error{color:#a64e39}
.reward-v1-member-top{display:flex;justify-content:space-between;align-items:end;gap:16px}.reward-v1-my-rank{text-align:right}.reward-v1-my-rank span{display:block;font-size:9px;color:#86746a;font-weight:800}.reward-v1-my-rank strong{font-size:26px;color:#4b2d23}.reward-v1-link-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:11px 0}.reward-v1-personal-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.reward-v1-personal-stats>div{background:#fff;border:1px solid #eadfd4;border-radius:12px;padding:10px}.reward-v1-personal-stats span{display:block;font-size:8px;color:#8b796e;font-weight:800}.reward-v1-personal-stats strong{display:block;font-size:18px;margin-top:3px}
.reward-v1-liveboard{border-top:1px solid var(--line);padding-top:18px}.reward-v1-board-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:11px}.reward-v1-board-head h3{margin-bottom:0}.reward-v1-board-meta{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.reward-v1-board-meta span{border:1px solid var(--line);border-radius:999px;padding:6px 9px;background:#fff;font-size:9px;font-weight:800;color:#75655c}
.reward-v1-table{min-width:760px}.reward-v1-table th:nth-child(1){width:62px}.reward-v1-table th:nth-child(2){width:150px}.reward-v1-table th:nth-child(3),.reward-v1-table th:nth-child(4),.reward-v1-table th:nth-child(5){width:105px}.reward-v1-table td{font-size:10px}.reward-v1-table .reward-v1-num{text-align:right;font-variant-numeric:tabular-nums}.reward-v1-rank{font-family:Georgia,serif;color:#b35f45;font-weight:800}.reward-v1-table tr.reward-v1-top td{background:#fffaf0}.reward-v1-status{display:inline-flex;border-radius:999px;padding:4px 7px;background:#f0e8df;color:#7e6d63;font-size:8px;font-weight:900;white-space:nowrap}.reward-v1-status.is-ready{background:#e6f3e9;color:#246c4f}.reward-v1-empty{text-align:center;color:#8b7b71;padding:15px}.reward-v1-note{margin-top:10px;padding:10px 12px;border-radius:12px;background:#f7f1ea;color:#807067;font-size:9px;line-height:1.55}
@media(max-width:900px){.reward-v1-hero{grid-template-columns:1fr}.reward-v1-rules{grid-template-columns:1fr 1fr 1fr}.reward-v1-join{grid-template-columns:1fr}.reward-v1-personal-stats{grid-template-columns:1fr 1fr}.reward-v1-promo-body{grid-template-columns:1fr}}
@media(max-width:620px){.reward-v1-rules{grid-template-columns:1fr}.reward-v1-board-head{align-items:flex-start;flex-direction:column}.reward-v1-board-meta{justify-content:flex-start}.reward-v1-personal-stats{grid-template-columns:1fr 1fr}#rewardJoinForm{grid-template-columns:1fr}.reward-v1-link-row{grid-template-columns:1fr}.reward-v1-member-top{align-items:flex-start}.reward-v1-dialog{padding:18px}.reward-v1-hero-top{flex-direction:column;align-items:flex-start}.reward-v1-hero-top h3{font-size:26px}.reward-v1-hero-row{grid-template-columns:34px minmax(0,1fr);}.reward-v1-hero-verified{grid-column:2;justify-self:start}}


/* =========================
   V17.35 — homepage reward hero + Kobo visual
   ========================= */
.reward-home-section{padding:18px 0 4px}
.reward-home-card{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px;align-items:stretch;border:1px solid #e4d6c8;border-radius:28px;background:linear-gradient(160deg,#fffdf9,#f8efe6);box-shadow:0 16px 34px rgba(58,36,26,.07);padding:18px}
.reward-home-visual{display:flex;align-items:center;justify-content:center;border-radius:22px;background:linear-gradient(145deg,#4a2b21,#684437);box-shadow:0 16px 30px rgba(58,36,26,.16);padding:16px}
.reward-home-visual img{display:block;width:min(100%,164px);height:auto;max-height:250px;object-fit:contain;border-radius:16px;box-shadow:0 14px 24px rgba(0,0,0,.2)}
.reward-home-content{min-width:0;display:grid;gap:14px}
.reward-home-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.reward-home-eyebrow{font-size:9px;font-weight:900;letter-spacing:.18em;color:#c96f55}
.reward-home-head h2{font-family:"Playfair Display",Georgia,serif;font-size:44px;line-height:1.02;margin:6px 0 8px;color:#2b1914}
.reward-home-head p{margin:0;color:#7a6a61;font-size:13px;line-height:1.65;max-width:58ch}
.reward-home-pills{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.reward-home-pill{display:inline-flex;align-items:center;padding:7px 11px;border-radius:999px;background:#efe6dc;color:#6f584c;font-size:9px;font-weight:900;letter-spacing:.08em;white-space:nowrap}
.reward-home-pill.is-live{background:#e4f3e9;color:#21684d}.reward-home-pill.is-ended{background:#f4ece7;color:#7e6257}
.reward-home-copy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.reward-home-copy-grid>div,.reward-home-liveboard{border:1px solid #eadbce;background:#fff;border-radius:18px;padding:14px 15px}
.reward-home-copy-grid strong,.reward-home-liveboard-head strong{display:block;font-size:12px;color:#3b261f}
.reward-home-copy-grid p{margin:5px 0 0;color:#6d5b51;font-size:11px;line-height:1.6}
.reward-home-liveboard-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.reward-home-liveboard-head span{font-size:10px;color:#7c6a61;font-weight:800}
.reward-home-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.reward-home-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;border:1px solid #eadbce;background:#fff;border-radius:14px}
.reward-home-row.is-top{background:#fff9ef}.reward-home-rank{font-family:Georgia,serif;color:#b35f45;font-weight:800}.reward-home-row strong{font-size:11px}.reward-home-verified{font-size:10px;font-weight:800;color:#6d594f;white-space:nowrap}.reward-home-empty{padding:10px 12px;border-radius:14px;background:#fff;color:#7e6f65;font-size:10px;line-height:1.6}
.reward-home-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.reward-home-btn{border:0;border-radius:999px;padding:12px 18px;background:#4b2d23;color:#fff;font-size:11px;font-weight:900;cursor:pointer;box-shadow:0 12px 22px rgba(71,41,31,.16)}
.reward-home-btn:hover,.reward-home-btn:focus-visible{background:#6a4436;outline:none}
.reward-home-date{font-size:10px;color:#7d6c62;font-weight:800}
.reward-v1-hero-live-card{display:grid;grid-template-columns:minmax(200px,240px) minmax(0,1fr);gap:16px;align-items:stretch}
.reward-v1-live-prize{display:grid;gap:12px}.reward-v1-live-visual{display:grid;place-items:center;min-height:210px;border-radius:18px;background:linear-gradient(145deg,#4a2b21,#684437);padding:14px;box-shadow:0 16px 34px rgba(58,36,26,.14)}
.reward-v1-live-visual img{display:block;width:min(100%,132px);height:auto;max-height:190px;object-fit:contain;border-radius:14px;box-shadow:0 12px 20px rgba(0,0,0,.18)}
.reward-v1-live-prize-copy h3{font-family:"Playfair Display",Georgia,serif;font-size:28px;line-height:1.02;margin:6px 0 8px;color:#2c1a14}
.reward-v1-live-prize-copy p{margin:0;color:#7a6a61;font-size:11px;line-height:1.6}
.reward-v1-live-leaders{min-width:0}
@media(max-width:980px){.reward-home-card{grid-template-columns:1fr}.reward-home-head{flex-direction:column}.reward-home-pills{justify-content:flex-start}.reward-home-head h2{font-size:36px}.reward-v1-hero-live-card{grid-template-columns:1fr}.reward-v1-live-visual{min-height:180px}.reward-home-visual img{max-height:220px}}
@media(max-width:700px){.reward-home-copy-grid{grid-template-columns:1fr}.reward-home-head h2{font-size:30px}.reward-home-row{grid-template-columns:34px minmax(0,1fr)}.reward-home-verified{grid-column:2;justify-self:start}.reward-home-actions{align-items:flex-start;flex-direction:column}.reward-v1-live-prize-copy h3{font-size:24px}}


/* =========================
   V17.36 — reward hero integrated into homepage hero and simplified modal
   ========================= */
#reward-home-section{display:none!important}
.reward-v1-rules-only{padding:10px 0 18px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.reward-v1-rules-only>div{min-height:124px}
.reward-v1-hero{display:none!important}
.reward-v1-kobo-visual,.reward-v1-live-visual,.reward-home-visual{background:#fff!important;box-shadow:none!important;border:1px solid #eadbce}
.hero-feature.reward-feature-active{min-height:510px;background:linear-gradient(180deg,#fffdf9,#f7efe6);box-shadow:var(--shadow)}
.hero-feature.reward-feature-active .reward-feature-content{position:relative;z-index:2;display:grid;grid-template-columns:235px 1fr;gap:30px;height:100%;padding:38px;align-items:center;color:#2b1b15}
.reward-feature-visual{display:flex;align-items:center;justify-content:center;height:100%;border-radius:26px;background:#fff;border:1px solid #eadbce;box-shadow:0 18px 34px rgba(58,36,26,.08);padding:20px}
.reward-feature-card{display:block;width:min(100%,175px);height:auto;max-height:330px;object-fit:contain;border-radius:14px;box-shadow:0 12px 24px rgba(0,0,0,.08)}
.reward-feature-copy h1{font-family:"Playfair Display",Georgia,serif;font-size:60px;line-height:.96;letter-spacing:-.02em;margin:10px 0 14px;color:#2b1914}
.reward-feature-summary{margin:0 0 16px;color:#6f6057;font-size:13px;line-height:1.75;max-width:64ch}
.reward-feature-pills{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.reward-home-liveboard{border:1px solid #eadbce;background:#fff;border-radius:18px;padding:14px 15px;margin-bottom:16px}
.reward-home-copy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px}
.reward-home-copy-grid>div{border:1px solid #eadbce;background:#fff;border-radius:18px;padding:14px 15px}
.reward-home-pill{display:inline-flex;align-items:center;padding:7px 11px;border-radius:999px;background:#efe6dc;color:#6f584c;font-size:9px;font-weight:900;letter-spacing:.08em;white-space:nowrap}
.reward-home-pill.is-live{background:#e4f3e9;color:#21684d}.reward-home-pill.is-ended{background:#f4ece7;color:#7e6257}
.reward-home-liveboard-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.reward-home-liveboard-head strong{font-size:12px;color:#3b261f}.reward-home-liveboard-head span{font-size:10px;color:#7c6a61;font-weight:800}
.reward-home-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}.reward-home-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;border:1px solid #eadbce;background:#fff;border-radius:14px}.reward-home-row.is-top{background:#fff9ef}.reward-home-rank{font-family:Georgia,serif;color:#b35f45;font-weight:800}.reward-home-row strong{font-size:11px}.reward-home-verified{font-size:10px;font-weight:800;color:#6d594f;white-space:nowrap}.reward-home-empty{padding:10px 12px;border-radius:14px;background:#fff;color:#7e6f65;font-size:10px;line-height:1.6}
.reward-v1-dialog .reward-v1-chips{margin-bottom:8px}
@media(max-width:1100px){.hero-feature.reward-feature-active .reward-feature-content{grid-template-columns:200px 1fr;gap:24px;padding:30px}.reward-feature-copy h1{font-size:48px}}
@media(max-width:760px){.hero-feature.reward-feature-active{min-height:unset}.hero-feature.reward-feature-active .reward-feature-content{grid-template-columns:1fr;gap:18px;padding:22px}.reward-feature-visual{height:auto;min-height:230px}.reward-feature-copy h1{font-size:36px}.reward-home-copy-grid{grid-template-columns:1fr}.reward-home-row{grid-template-columns:34px minmax(0,1fr)}.reward-home-verified{grid-column:2;justify-self:start}.reward-v1-rules-only{grid-template-columns:1fr}}


/* =========================
   V17.37 — reward hero polish, modal visual, remembered member, hot-list stretch
   ========================= */
.hero{align-items:stretch}
.hero-feature.reward-feature-active{min-height:510px}
.hero-feature.reward-feature-active .reward-feature-content{height:100%}
.reward-feature-copy h1{margin-bottom:10px}
.reward-feature-summary{max-width:58ch}
.reward-feature-visual{background:#fff;border:1px solid #eadbce;min-height:100%}
.reward-feature-card{max-height:310px}
.reward-feature-copy .hero-actions{align-items:center}
.reward-feature-copy .hero-actions .hero-jump{margin-left:0}
.hot-list{display:flex;flex-direction:column;height:100%;min-height:510px}
.hot-list #hotList{display:flex;flex-direction:column;flex:1}
.hot-item{flex:1;align-items:center}
.reward-v1-header-grid{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:18px;align-items:start}
.reward-v1-header-visual{display:flex;align-items:flex-start;justify-content:flex-end}
.reward-v1-header-visual img{display:block;width:150px;height:auto;max-height:220px;object-fit:contain;border-radius:14px;background:#fff;border:1px solid #eadbce;box-shadow:0 10px 20px rgba(58,36,26,.06);padding:8px}
.reward-v1-header-copy{min-width:0}
.reward-v1-header-copy p{max-width:66ch}
.reward-v1-member[hidden]{display:none!important}
.reward-v1-member{margin-top:18px}
.reward-v1-rules-only{padding-top:6px}
@media(max-width:1100px){.reward-v1-header-grid{grid-template-columns:minmax(0,1fr) 140px}.reward-v1-header-visual img{width:124px;max-height:190px}}
@media(max-width:760px){.hot-list{min-height:unset}.reward-v1-header-grid{grid-template-columns:1fr}.reward-v1-header-visual{justify-content:flex-start}.reward-v1-header-visual img{width:112px;max-height:170px}.hero-feature.reward-feature-active{min-height:unset}}


/* =========================
   V17.38 — exact hero/hot alignment + reward recovery runtime fix polish
   ========================= */
@media(min-width:1051px){
  .hero{align-items:stretch}
  .hero-feature.reward-feature-active,
  .hot-list{
    height:510px!important;
    min-height:510px!important;
    max-height:510px!important;
  }
  .hot-list{padding:22px 24px 20px;overflow:hidden}
  .hot-list .section-mini{flex:0 0 auto;margin-bottom:4px}
  .hot-list #hotList{display:flex;flex-direction:column;flex:1;min-height:0}
  .hot-list .hot-item{flex:1 1 0;min-height:0;padding:8px 0;align-items:center}
  .hot-list .hot-thumb{width:58px;max-height:82px}
  .hot-list .rank-num{font-size:20px}
  .hot-list .hot-item h4{font-size:12px;line-height:1.18;margin-bottom:2px}
  .hot-list .hot-item .micro{font-size:9px;line-height:1.15}
}
.reward-v1-header-grid{align-items:center}
.reward-v1-header-visual{align-self:center}
.reward-v1-header-visual img{background:#fff!important}
.reward-v1-join[hidden]{display:none!important}


/* =========================
   V17.41 — homepage local genre filter
   ========================= */
.all-books-head{margin-bottom:12px}
.all-genre-chips{margin:0 0 18px;gap:8px}
.all-genre-chips .chip{appearance:none;font-family:inherit;color:var(--ink)}
.all-genre-chips .chip.active{color:#fff}
@media(max-width:760px){.all-books-head{align-items:flex-start}.all-genre-chips{margin-bottom:14px}}


/* V17.43 — Hot on Amazon anti-overlap */
@media(min-width:981px){
  .hero{grid-template-columns:minmax(0,1.42fr) minmax(360px,.78fr)}
  .hot-list{padding:24px 26px 22px;overflow:hidden}
  .hot-list #hotList{display:flex;flex-direction:column;gap:0;min-height:0}
  .hot-list .hot-item{display:grid;grid-template-columns:36px 72px minmax(0,1fr);gap:14px;align-items:start;padding:12px 0;min-height:0}
  .hot-list .hot-item>div:last-child{min-width:0;padding-top:1px}
  .hot-list .rank-num{font-size:22px;line-height:1;padding-top:16px}
  .hot-list .hot-thumb{width:72px;max-height:96px;aspect-ratio:2/3;object-fit:cover;border-radius:8px;flex:0 0 auto}
  .hot-list .hot-item h4{margin:0 0 4px;font-size:13px;line-height:1.22;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}
  .hot-list .hot-item .micro{display:block;font-size:10px;line-height:1.22;overflow:hidden;text-overflow:ellipsis}
  .hot-list .hot-item .micro.amazon{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal}
}


/* =========================
   V17.44 — book hero height parity + tighter hot list + single-row all-book filters
   ========================= */
.hero{align-items:stretch}
.hero-feature,
.hot-list{height:510px;min-height:510px}
.hero-feature:not(.reward-feature-active){background:linear-gradient(180deg,#fffdf9,#f7efe6)}
.hero-feature:not(.reward-feature-active) .hero-content{height:100%;align-items:center;padding:38px}
.hero-feature:not(.reward-feature-active) .cover-img{width:205px;max-height:310px;object-fit:cover;border-radius:20px}
.hot-list{padding:22px 24px 20px;overflow:hidden}
.hot-list .section-mini{flex:0 0 auto;margin-bottom:2px}
.hot-list #hotList{display:flex;flex-direction:column;flex:1;min-height:0;gap:0}
.hot-list .hot-item{display:grid;grid-template-columns:34px 62px minmax(0,1fr);gap:12px;align-items:center;flex:1 1 0;min-height:0;padding:9px 0}
.hot-list .hot-item>div:last-child{min-width:0}
.hot-list .rank-num{font-size:21px;line-height:1;padding-top:8px;align-self:start}
.hot-list .hot-thumb{width:62px;max-height:84px;aspect-ratio:2/3;object-fit:cover;border-radius:8px}
.hot-list .hot-item h4{margin:0 0 3px;font-size:12px;line-height:1.18;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}
.hot-list .hot-item .micro{display:block;font-size:9px;line-height:1.16;overflow:hidden;text-overflow:ellipsis}
.hot-list .hot-item .micro.amazon{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal}
.hot-list .inline-statuses{margin-top:4px;gap:4px;flex-wrap:wrap}
.hot-list .inline-status{padding:4px 6px;font-size:7px;min-height:18px}
.all-books-head{row-gap:12px}
.all-genre-chips{display:flex;flex-wrap:nowrap;align-items:center;gap:7px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none;white-space:nowrap;margin:0 0 18px;padding-bottom:2px}
.all-genre-chips::-webkit-scrollbar{display:none}
.all-genre-chips .chip{flex:0 0 auto;font-size:11px;padding:8px 14px;line-height:1.1;max-width:none}
.all-books-head .home-all-tools{flex:0 0 auto;flex-wrap:nowrap;margin-left:auto}
@media(max-width:1280px){
  .hero-feature:not(.reward-feature-active) .cover-img{width:192px;max-height:294px}
  .all-genre-chips .chip{font-size:10px;padding:8px 12px}
}
@media(max-width:980px){
  .hero-feature,.hot-list{height:auto;min-height:unset}
  .hero-feature:not(.reward-feature-active) .hero-content{padding:30px}
  .hero-feature:not(.reward-feature-active) .cover-img{width:180px;max-height:280px}
  .hot-list{height:auto;min-height:unset}
  .all-books-head .home-all-tools{flex-wrap:wrap}
}
@media(max-width:760px){
  .hot-list{padding:18px}
  .hot-list .hot-item{grid-template-columns:28px 54px minmax(0,1fr);gap:10px;padding:8px 0}
  .hot-list .rank-num{font-size:18px;padding-top:6px}
  .hot-list .hot-thumb{width:54px;max-height:76px}
  .hot-list .hot-item h4{font-size:12px}
  .hot-list .hot-item .micro{font-size:9px}
  .all-genre-chips{margin-bottom:14px}
  .all-genre-chips .chip{font-size:10px;padding:8px 12px}
}


/* =========================
   V17.45 — stable review dates + ribbon alignment
   ========================= */
.seo-book-cover .global-bestseller-ribbon,.seo-book-cover .global-goodreads-choice-ribbon{letter-spacing:.11em;text-indent:.08em}
.editor-card .editor-bestseller-ribbon,.editor-card .editor-goodreads-choice-ribbon{letter-spacing:.11em}


/* =========================
   V17.46 — editorial closing + robust detail ribbon alignment
   ========================= */
.editorial-review-footer{margin:28px 0 4px;max-width:780px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(180deg,#fffdf9,#fbf4ec);padding:18px 20px;box-shadow:0 12px 28px rgba(58,41,31,.055)}
.editorial-mini-label{display:block;margin-bottom:7px;font-size:8px;font-weight:900;letter-spacing:.16em;text-transform:uppercase;color:var(--accent2)}
.editorial-verdict p{margin:0!important;font-family:Georgia,serif!important;font-size:16px!important;line-height:1.68!important;color:#3e312b!important}
.editorial-best-for{margin-top:15px;padding-top:14px;border-top:1px solid var(--line)}
.editorial-best-for>div{display:flex;flex-wrap:wrap;gap:7px}
.editorial-best-for>div span{display:inline-flex;align-items:center;min-height:27px;padding:6px 10px;border:1px solid #e7d7c8;border-radius:999px;background:#fff;color:#5b4439;font-size:9px;font-weight:800;line-height:1}
.editorial-signature{display:flex;align-items:center;gap:11px;margin-top:16px;padding-top:15px;border-top:1px solid var(--line)}
.editorial-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#4d2e24;color:#fff;font-family:Georgia,serif;font-size:18px;font-weight:800;box-shadow:0 6px 14px rgba(68,39,30,.14)}
.editorial-signature strong{display:block;font-size:11px;color:#3e2a21}
.editorial-signature small{display:block;margin-top:3px;color:var(--muted);font-size:9px;line-height:1.35}
.seo-summary{margin-top:34px!important;padding-top:4px}
.seo-book-cover .global-bestseller-ribbon{top:15px!important;right:-25px!important;width:130px!important;padding:7px 0 6px!important;transform:rotate(42deg)!important}
.seo-book-cover .global-goodreads-choice-ribbon{top:43px!important;right:-25px!important;width:132px!important;padding:7px 0 6px!important;transform:rotate(42deg)!important}
.seo-book-cover.is-goodreads-choice:not(.is-bestseller) .global-goodreads-choice-ribbon{top:15px!important}
@media(max-width:700px){.editorial-review-footer{padding:16px}.editorial-verdict p{font-size:15px!important}.seo-book-cover .global-bestseller-ribbon{right:-23px!important}.seo-book-cover .global-goodreads-choice-ribbon{right:-23px!important}}


/* =========================
   V17.47 — premium detail editorial polish + refined catalog ribbons
   ========================= */
/* Bestseller ribbons: quieter champagne treatment, less marketplace-like. */
.global-bestseller-ribbon{
  top:13px;right:-37px;width:138px;padding:6px 0 5px;
  transform:rotate(40deg);transform-origin:center;
  background:linear-gradient(180deg,#f4dfb5 0%,#e3bf7d 100%);
  color:#4c3525;border-color:rgba(116,78,42,.12);
  box-shadow:0 4px 10px rgba(70,44,27,.13);
  font-size:7px;letter-spacing:.15em;font-weight:900;
}
.global-bestseller-ribbon:hover,.global-bestseller-ribbon:focus-visible{
  background:linear-gradient(180deg,#f8e8c8 0%,#e8c98d 100%);
  box-shadow:0 5px 12px rgba(70,44,27,.16);
}
.seo-grid-card .global-bestseller-ribbon{top:11px;right:-37px;width:138px}
.seo-book-cover .global-bestseller-ribbon{
  top:10px!important;right:-20px!important;width:118px!important;padding:6px 0 5px!important;
  transform:rotate(40deg)!important;font-size:6.5px!important;letter-spacing:.14em!important;
  background:linear-gradient(180deg,#f4dfb5,#e3bf7d)!important;
  box-shadow:0 4px 10px rgba(70,44,27,.13)!important;
}
.editor-bestseller-ribbon{
  top:11px!important;right:-34px!important;width:126px!important;padding:6px 0 5px!important;
  transform:rotate(40deg)!important;background:linear-gradient(180deg,#f4dfb5,#e3bf7d)!important;
  color:#4c3525!important;box-shadow:0 4px 10px rgba(70,44,27,.13)!important;
  font-size:7px!important;letter-spacing:.14em!important;
}
/* Keep Goodreads Choice visually parallel, not louder than the cover. */
.global-goodreads-choice-ribbon{
  background:linear-gradient(180deg,#dceee6,#afd2c3);color:#244c3e;
  box-shadow:0 4px 10px rgba(34,74,58,.12);font-size:6.5px;letter-spacing:.13em;
}
.seo-book-cover .global-goodreads-choice-ribbon{
  top:37px!important;right:-20px!important;width:120px!important;padding:6px 0 5px!important;
  transform:rotate(40deg)!important;box-shadow:0 4px 10px rgba(34,74,58,.12)!important;
}
.seo-book-cover.is-goodreads-choice:not(.is-bestseller) .global-goodreads-choice-ribbon{top:10px!important}

/* Detail-page editorial hierarchy. */
.seo-book-copy>.kicker{font-size:9px;letter-spacing:.19em;color:#c96f55}
.seo-dates{margin:12px 0 0;font-size:10px;color:#8c786d;letter-spacing:.01em}
.review-highlight{
  margin:15px 0 29px;max-width:800px;padding:15px 18px 16px;
  border:1px solid #ead9bc;border-left:3px solid #ddb05e;border-radius:0 14px 14px 0;
  background:linear-gradient(90deg,#fff8eb,#fffaf3);
  box-shadow:none;
}
.review-highlight-label,.section-mini-label{
  display:block;margin:0 0 7px;font-family:Arial,sans-serif;font-size:8px;line-height:1;
  font-weight:900;letter-spacing:.16em;text-transform:uppercase;color:#bd684f;
}
.review-highlight p{
  margin:0!important;max-width:72ch;font-family:Georgia,serif;font-size:15.5px!important;
  line-height:1.56!important;color:#3f3029!important;
}
.seo-review-copy{margin-top:0!important;max-width:760px}
.seo-review-heading{margin:0 0 20px}
.seo-review-heading .section-mini-label{margin-bottom:7px}
.seo-review-copy h2{font-size:34px!important;line-height:1.08;margin:0}
.seo-review-copy>p{
  max-width:68ch;margin:0 0 19px!important;font-size:16.5px!important;line-height:1.78!important;
  color:#3e332d!important;
}
.seo-review-copy>p:last-of-type{margin-bottom:0!important}

/* Editorial close: a quiet conclusion, not a second hero card. */
.editorial-review-footer{
  position:relative;margin:31px 0 5px;max-width:760px;padding:20px 21px 18px;
  border:1px solid #e6d8cb;border-radius:18px;background:#fffdfa;
  box-shadow:0 10px 24px rgba(58,41,31,.045);
}
.editorial-review-footer:before{
  content:"";position:absolute;left:20px;right:20px;top:0;height:2px;border-radius:2px;
  background:linear-gradient(90deg,#ddb05e 0 22%,transparent 22% 100%);opacity:.8;
}
.editorial-mini-label{margin-bottom:8px;font-size:7.5px;letter-spacing:.17em;color:#bd684f}
.editorial-verdict p{font-size:15.5px!important;line-height:1.66!important;color:#3c302a!important}
.editorial-best-for{margin-top:16px;padding-top:14px}
.editorial-best-for>div{gap:6px}
.editorial-best-for>div span{
  min-height:25px;padding:6px 9px;border-color:#e9ddd2;background:#fffdfb;
  color:#5b463c;font-size:8.5px;font-weight:800;
}
.editorial-signature{margin-top:15px;padding-top:14px;gap:10px}
.editorial-avatar{width:33px;height:33px;border-radius:10px;font-size:16px;box-shadow:none}
.editorial-signature strong{font-size:10.5px}
.editorial-signature small{font-size:8.5px;color:#8b776c}

/* Summary is supporting catalog context, intentionally quieter than the review. */
.seo-summary{
  max-width:760px!important;margin-top:38px!important;padding-top:27px!important;
  border-top:1px solid #e6d8cb;
}
.seo-summary .section-mini-label{margin-bottom:7px}
.seo-summary h2{font-size:29px!important;line-height:1.1;margin:0 0 15px}
.seo-summary p{
  max-width:70ch;font-size:15.5px!important;line-height:1.76!important;color:#5a4b43!important;
}
@media(max-width:700px){
  .review-highlight{margin-bottom:24px;padding:14px 15px}
  .review-highlight p{font-size:15px!important}
  .seo-review-copy h2{font-size:30px!important}
  .seo-review-copy>p{font-size:16px!important;line-height:1.72!important}
  .editorial-review-footer{padding:17px 16px}
  .seo-summary{margin-top:30px!important;padding-top:23px!important}
  .seo-book-cover .global-bestseller-ribbon{right:-18px!important}
  .seo-book-cover .global-goodreads-choice-ribbon{right:-18px!important}
}


/* =========================
   V17.48 — editorial precision + compact summary + finer ribbons
   ========================= */
/* One more refinement pass: shorter, finer catalog ribbons. */
.global-bestseller-ribbon{
  width:130px!important;right:-34px!important;top:11px!important;padding:5px 0 4px!important;
  transform:rotate(38deg)!important;font-size:6.5px!important;letter-spacing:.145em!important;
  background:linear-gradient(180deg,#f3e3c2,#dfbf83)!important;
  box-shadow:0 3px 8px rgba(70,44,27,.11)!important;
}
.seo-grid-card .global-bestseller-ribbon{width:130px!important;right:-34px!important;top:10px!important}
.seo-book-cover .global-bestseller-ribbon{
  width:108px!important;right:-12px!important;top:9px!important;padding:5px 0 4px!important;
  font-size:6px!important;transform:rotate(38deg)!important;
}
.editor-bestseller-ribbon{
  width:118px!important;right:-29px!important;top:10px!important;padding:5px 0 4px!important;
  font-size:6.5px!important;transform:rotate(38deg)!important;
}
.global-goodreads-choice-ribbon{transform:rotate(38deg)!important}
.seo-book-cover .global-goodreads-choice-ribbon{width:110px!important;right:-12px!important;font-size:5.8px!important}

/* Long publisher/catalog summaries stay secondary to the editorial review. */
.seo-summary-text{position:relative;max-width:70ch}
.seo-summary.is-collapsible .seo-summary-text{overflow:hidden;transition:max-height .32s ease}
.seo-summary.is-collapsible.is-collapsed .seo-summary-text{max-height:330px}
.seo-summary.is-collapsible.is-expanded .seo-summary-text{max-height:2000px}
.seo-summary.is-collapsible.is-collapsed .seo-summary-text:after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:92px;pointer-events:none;
  background:linear-gradient(180deg,rgba(248,243,235,0),#f8f3eb 78%);
}
.seo-summary-toggle{
  margin-top:12px;border:1px solid #dfcfc0;background:#fffdf9;color:#55382e;border-radius:999px;
  padding:8px 13px;font:800 10px/1 "DM Sans",Arial,sans-serif;cursor:pointer;
}
.seo-summary-toggle:hover,.seo-summary-toggle:focus-visible{background:#57362c;color:#fff;outline:none}
@media(max-width:700px){
  .seo-summary.is-collapsible.is-collapsed .seo-summary-text{max-height:285px}
  .seo-book-cover .global-bestseller-ribbon{right:-10px!important}
}


/* =========================
   V17.50 — final editorial micro-polish
   ========================= */
/* Pull the conclusion closer to the review and make it read like editorial copy,
   not a second UI card. */
.editorial-review-footer{
  margin:18px 0 3px!important;
  max-width:760px!important;
  padding:17px 19px 16px!important;
  border:1px solid #eadfd5!important;
  border-radius:15px!important;
  background:rgba(255,253,250,.72)!important;
  box-shadow:0 5px 14px rgba(58,41,31,.025)!important;
}
.editorial-review-footer:before{
  left:18px!important;right:auto!important;top:-1px!important;width:84px!important;height:2px!important;
  background:#d9ad62!important;opacity:.62!important;
}
.editorial-verdict p{font-size:15.5px!important;line-height:1.64!important}
.editorial-best-for{margin-top:14px!important;padding-top:12px!important}
.editorial-signature{margin-top:13px!important;padding-top:12px!important}

/* Summary remains supporting context and follows the editorial close a little sooner. */
.seo-summary{
  margin-top:29px!important;
  padding-top:22px!important;
}
@media(max-width:700px){
  .editorial-review-footer{margin-top:16px!important;padding:15px!important}
  .seo-summary{margin-top:24px!important;padding-top:20px!important}
}


/* V17.51 — homepage hero title span + editorial insight */
.hero-feature:not(.reward-feature-active){min-height:510px}
.hero-feature:not(.reward-feature-active) .hero-content.hero-content-expanded{
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  grid-template-rows:auto 1fr;
  gap:18px 26px;
  align-items:start;
  padding:36px 38px;
}
.hero-feature:not(.reward-feature-active) .hero-heading-row{
  grid-column:1 / -1;
  display:block;
  margin-bottom:2px;
}
.hero-feature:not(.reward-feature-active) .hero-heading-row .kicker{display:block;margin-bottom:10px}
.hero-feature:not(.reward-feature-active) .hero-heading-row h1{
  margin:0;
  max-width:14ch;
  font-size:clamp(42px,4.8vw,66px);
  line-height:.98;
  letter-spacing:-.03em;
}
.hero-feature:not(.reward-feature-active) .hero-cover-link{grid-column:1;grid-row:2;align-self:center}
.hero-feature:not(.reward-feature-active) .hero-content .cover-img{
  width:100%;
  max-width:220px;
  max-height:318px;
  object-fit:cover;
  border-radius:20px;
}
.hero-feature:not(.reward-feature-active) .hero-main-copy{grid-column:2;grid-row:2;align-self:center}
.hero-feature:not(.reward-feature-active) .hero-main-copy .subtitle{font-size:14px;margin-bottom:8px;color:#6a6159}
.hero-feature:not(.reward-feature-active) .hero-main-copy .meta-line{margin-top:2px}
.hero-insight{
  margin-top:10px;
  padding:14px 16px 15px;
  border:1px solid #ecdccf;
  background:#fffdf9;
  border-radius:18px;
  box-shadow:0 10px 24px rgba(58,36,26,.04);
}
.hero-insight-label{
  display:block;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:10px;
  font-weight:900;
  color:#c26f52;
  margin-bottom:7px;
}
.hero-insight p{margin:0;font-size:15px;line-height:1.55;color:#43342d;max-width:54ch}
.hero-feature:not(.reward-feature-active) .hero-actions{margin-top:14px}
@media(max-width:1050px){
  .hero-feature:not(.reward-feature-active) .hero-content.hero-content-expanded{grid-template-columns:190px minmax(0,1fr);gap:16px 22px;padding:30px}
  .hero-feature:not(.reward-feature-active) .hero-content .cover-img{max-width:190px;max-height:286px}
  .hero-feature:not(.reward-feature-active) .hero-heading-row h1{font-size:clamp(38px,5vw,56px)}
}
@media(max-width:760px){
  .hero-feature:not(.reward-feature-active) .hero-content.hero-content-expanded{grid-template-columns:1fr;grid-template-rows:auto auto auto;gap:16px;padding:24px}
  .hero-feature:not(.reward-feature-active) .hero-heading-row{grid-column:1}
  .hero-feature:not(.reward-feature-active) .hero-cover-link,.hero-feature:not(.reward-feature-active) .hero-main-copy{grid-column:1;grid-row:auto}
  .hero-feature:not(.reward-feature-active) .hero-content .cover-img{max-width:170px;margin:auto}
  .hero-feature:not(.reward-feature-active) .hero-heading-row h1{max-width:none;font-size:34px}
  .hero-insight p{max-width:none;font-size:14px}
}


/* V17.52 — homepage hero premium polish */
.hero-feature:not(.reward-feature-active){min-height:530px}
.hero-feature:not(.reward-feature-active) .hero-content.hero-content-expanded{
  grid-template-columns:224px minmax(0,1fr);
  gap:16px 28px;
  padding:34px 38px 30px;
}
.hero-feature:not(.reward-feature-active) .hero-heading-row{margin-bottom:0}
.hero-feature:not(.reward-feature-active) .hero-heading-row .kicker{margin-bottom:8px}
.hero-feature:not(.reward-feature-active) .hero-heading-row h1{
  max-width:11.2ch;
  font-size:clamp(40px,4.4vw,60px);
  line-height:.94;
  letter-spacing:-.035em;
}
.hero-deck{
  margin:12px 0 0;
  max-width:58ch;
  font-size:18px;
  line-height:1.5;
  color:#6c5a50;
}
.hero-feature:not(.reward-feature-active) .hero-cover-link{align-self:start}
.hero-feature:not(.reward-feature-active) .hero-content .cover-img{
  max-width:224px;
  max-height:324px;
  box-shadow:0 24px 44px rgba(57,35,24,.10);
}
.hero-feature:not(.reward-feature-active) .hero-main-copy{
  align-self:start;
  display:flex;
  flex-direction:column;
  gap:8px;
  padding-top:2px;
}
.hero-feature:not(.reward-feature-active) .hero-main-copy .subtitle{font-size:15px;line-height:1.45;margin-bottom:4px}
.hero-feature:not(.reward-feature-active) .hero-main-copy .hero-book-identity{margin-top:2px}
.hero-feature:not(.reward-feature-active) .hero-main-copy .store-signals{margin-top:2px}
.hero-insight{margin-top:8px;padding:15px 18px 16px;border-radius:20px;background:linear-gradient(180deg,#fffefa 0%,#fdf7f1 100%)}
.hero-insight p{font-size:16px;line-height:1.58;max-width:50ch}
.hero-feature:not(.reward-feature-active) .hero-actions{margin-top:12px}
@media(max-width:1050px){
  .hero-feature:not(.reward-feature-active){min-height:500px}
  .hero-feature:not(.reward-feature-active) .hero-content.hero-content-expanded{grid-template-columns:196px minmax(0,1fr);gap:16px 22px;padding:30px 32px 28px}
  .hero-feature:not(.reward-feature-active) .hero-heading-row h1{max-width:11.6ch;font-size:clamp(36px,5vw,52px)}
  .hero-deck{font-size:16px;max-width:52ch}
  .hero-feature:not(.reward-feature-active) .hero-content .cover-img{max-width:196px;max-height:292px}
}
@media(max-width:760px){
  .hero-feature:not(.reward-feature-active){min-height:unset}
  .hero-feature:not(.reward-feature-active) .hero-content.hero-content-expanded{padding:24px}
  .hero-feature:not(.reward-feature-active) .hero-heading-row h1{max-width:none;font-size:34px;line-height:.98}
  .hero-deck{font-size:15px;max-width:none}
  .hero-feature:not(.reward-feature-active) .hero-content .cover-img{max-width:176px;max-height:262px}
  .hero-insight p{font-size:14px;max-width:none}
}


/* V17.53 — homepage hero title-fit polish */
.hero-feature:not(.reward-feature-active) .hero-content.hero-content-expanded{padding:32px 38px 28px;row-gap:14px}
.hero-feature:not(.reward-feature-active) .hero-heading-row{display:block;padding-right:8px}
.hero-feature:not(.reward-feature-active) .hero-heading-row .kicker{margin-bottom:10px}
.hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title{
  max-width:none;
  margin:0;
  line-height:.92;
  letter-spacing:-.042em;
}
.hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title a{display:block}
.hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step0{font-size:clamp(50px,5.25vw,72px);white-space:nowrap}
.hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step1{font-size:clamp(46px,4.85vw,64px);white-space:nowrap}
.hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step2{font-size:clamp(40px,4.35vw,56px);white-space:nowrap}
.hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step3{font-size:clamp(34px,3.8vw,48px);white-space:nowrap}
.hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--wrap{white-space:normal;max-width:16ch;text-wrap:balance}
.hero-feature:not(.reward-feature-active) .hero-main-copy{padding-top:0;gap:9px}
.hero-deck{margin:2px 0 2px;max-width:31ch;font-size:17px;line-height:1.52;color:#715f54}
.hero-feature:not(.reward-feature-active) .hero-content .cover-img{max-width:218px;max-height:318px}
.hero-insight{margin-top:6px;padding:14px 18px 15px;border-radius:18px}
.hero-insight p{max-width:48ch;font-size:15px;line-height:1.56}
.hero-feature:not(.reward-feature-active) .hero-actions{margin-top:10px}
@media(max-width:1180px){
  .hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step0{font-size:clamp(46px,4.9vw,66px)}
  .hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step1{font-size:clamp(42px,4.45vw,58px)}
  .hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step2{font-size:clamp(38px,4.05vw,50px)}
  .hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step3{font-size:clamp(33px,3.6vw,44px)}
}
@media(max-width:1050px){
  .hero-feature:not(.reward-feature-active) .hero-content.hero-content-expanded{padding:28px 32px 26px}
  .hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step0,
  .hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step1,
  .hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step2,
  .hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step3{white-space:normal;max-width:12.5ch;text-wrap:balance}
  .hero-deck{max-width:28ch;font-size:16px}
}
@media(max-width:760px){
  .hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step0,
  .hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step1,
  .hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step2,
  .hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step3{font-size:34px;white-space:normal;max-width:none;line-height:.98}
  .hero-deck{max-width:none;font-size:15px}
}


/* V17.54 — hero badge priority + long-title polish */
.hero-feature:not(.reward-feature-active) .hero-content.hero-content-expanded{padding:34px 36px 28px;grid-template-columns:240px minmax(0,1fr);column-gap:30px;align-items:start}
.hero-feature:not(.reward-feature-active) .hero-heading-row{grid-column:1 / -1;padding-right:0}
.hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title{max-width:15.6ch;letter-spacing:-.046em;text-wrap:balance}
.hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step0{font-size:clamp(48px,5.1vw,68px)}
.hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step1{font-size:clamp(42px,4.55vw,58px)}
.hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step2{font-size:clamp(36px,4vw,48px)}
.hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step3{font-size:clamp(31px,3.45vw,42px);line-height:.96}
.hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--wrap{max-width:14.2ch;white-space:normal}
.hero-feature:not(.reward-feature-active) .hero-content .cover-img{max-width:222px;max-height:320px;border-radius:26px}
.hero-feature:not(.reward-feature-active) .hero-main-copy{gap:10px;padding-top:1px}
.hero-deck{margin:0 0 4px;max-width:20ch;font-size:17px;line-height:1.58;color:#6f5c51}
.hero-feature:not(.reward-feature-active) .hero-main-copy .inline-statuses{margin-top:2px}
.hero-feature:not(.reward-feature-active) .hero-main-copy .meta-line{margin-top:0}
.hero-feature:not(.reward-feature-active) .hero-main-copy .store-signals{margin-top:1px}
.hero-insight{margin-top:8px}
.hero-feature:not(.reward-feature-active) .hero-actions{margin-top:12px}
@media(max-width:1180px){
  .hero-feature:not(.reward-feature-active) .hero-content.hero-content-expanded{padding:30px 32px 26px;grid-template-columns:216px minmax(0,1fr);column-gap:24px}
  .hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title{max-width:14.2ch}
  .hero-deck{max-width:18.5ch;font-size:16px}
}
@media(max-width:1050px){
  .hero-feature:not(.reward-feature-active) .hero-content.hero-content-expanded{grid-template-columns:190px minmax(0,1fr);column-gap:20px}
  .hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title{max-width:12.6ch}
  .hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step0{font-size:clamp(42px,4.5vw,58px)}
  .hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step1{font-size:clamp(38px,4.1vw,50px)}
  .hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step2{font-size:clamp(34px,3.75vw,44px)}
  .hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step3{font-size:clamp(30px,3.2vw,38px)}
  .hero-deck{max-width:none;font-size:15px}
}
@media(max-width:760px){
  .hero-feature:not(.reward-feature-active) .hero-content.hero-content-expanded{padding:24px 24px 22px;grid-template-columns:1fr}
  .hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title,
  .hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--wrap{max-width:none}
  .hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step0,
  .hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step1,
  .hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step2,
  .hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step3{font-size:34px;white-space:normal;line-height:.98}
}


/* V17.55 — full-width deck + safer long-title / badge polish */
@media(min-width:1051px){
  .hero-feature:not(.reward-feature-active),
  .hot-list{height:540px;min-height:540px}
}
.hero-feature:not(.reward-feature-active) .hero-main-copy{min-width:0}
.hero-deck{
  width:100%;
  max-width:none;
  margin:0 0 5px;
  font-size:16px;
  line-height:1.55;
  color:#6f5c51;
  text-wrap:pretty;
  word-break:normal;
  overflow-wrap:normal;
  hyphens:none;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
}
.hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--wrap{
  max-width:15.2ch;
  white-space:normal;
  text-wrap:balance;
}
.hero-feature:not(.reward-feature-active) .hero-main-copy .inline-statuses{
  gap:6px;
  flex-wrap:nowrap;
}
.hero-feature:not(.reward-feature-active) .hero-main-copy .inline-status{
  white-space:nowrap;
}
.hero-insight{
  width:100%;
  max-width:none;
}
.hero-insight p{
  max-width:none;
  text-wrap:pretty;
}
@media(max-width:1180px) and (min-width:1051px){
  .hero-feature:not(.reward-feature-active),
  .hot-list{height:530px;min-height:530px}
  .hero-deck{font-size:15px;line-height:1.5}
}
@media(max-width:1050px){
  .hero-deck{width:100%;max-width:none;font-size:15px;-webkit-line-clamp:3}
  .hero-feature:not(.reward-feature-active) .hero-main-copy .inline-statuses{flex-wrap:wrap}
}


/* V17.56 — long-title scale tuning + 2-line standfirst */
.hero-deck{
  width:100%;
  max-width:39ch;
  margin:0 0 6px;
  font-size:15px;
  line-height:1.48;
  color:#6f5c51;
  text-wrap:pretty;
  word-break:normal;
  overflow-wrap:normal;
  hyphens:none;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  line-clamp:2;
  overflow:hidden;
}
.hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title{
  max-width:none;
  width:100%;
  white-space:nowrap;
  letter-spacing:-.046em;
  text-wrap:nowrap;
}
.hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title a{
  display:block;
  white-space:inherit;
}
.hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step0{font-size:clamp(46px,4.9vw,66px)}
.hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step1{font-size:clamp(40px,4.15vw,54px)}
.hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step2{font-size:clamp(35px,3.55vw,45px)}
.hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step3{font-size:clamp(30px,2.95vw,38px);line-height:.97}
.hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step4{font-size:clamp(24px,2.35vw,30px);line-height:1;letter-spacing:-.05em}
.hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--ultra-long{letter-spacing:-.055em}
.hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--wrap{
  max-width:none;
  white-space:nowrap;
  text-wrap:nowrap;
}
@media(max-width:1240px) and (min-width:1051px){
  .hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step0{font-size:clamp(42px,4.45vw,58px)}
  .hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step1{font-size:clamp(37px,3.85vw,49px)}
  .hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step2{font-size:clamp(33px,3.3vw,42px)}
  .hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step3{font-size:clamp(28px,2.7vw,35px)}
  .hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step4{font-size:clamp(22px,2.1vw,27px)}
  .hero-deck{max-width:42ch}
}
@media(max-width:1050px){
  .hero-deck{max-width:none;-webkit-line-clamp:2;line-clamp:2}
}
@media(max-width:760px){
  .hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title,
  .hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--wrap{
    max-width:none;
    white-space:normal;
    text-wrap:balance;
  }
  .hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step0,
  .hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step1,
  .hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step2,
  .hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step3,
  .hero-feature:not(.reward-feature-active) .hero-heading-row .hero-title--step4{font-size:34px;line-height:.98}
  .hero-deck{font-size:15px}
}

/* V17.57 — force single-line hero titles for long books + tighter 2-line standfirst */
.hero-feature:not(.reward-feature-active) .hero-content.hero-content-expanded{
  grid-template-columns:236px minmax(0,1fr);
  gap:16px 30px;
}
.hero-feature:not(.reward-feature-active) .hero-main-copy{
  align-self:start;
  padding-top:2px;
}
.hero-feature:not(.reward-feature-active) .hero-main-copy .hero-book-identity{
  margin-top:2px;
}
.hero-feature:not(.reward-feature-active) .hero-main-copy .inline-statuses{
  gap:6px;
  flex-wrap:wrap;
}
.hero-feature:not(.reward-feature-active) .hero-main-copy .meta-line{
  margin-top:8px;
}
@media(max-width:1240px) and (min-width:1051px){
  .hero-feature:not(.reward-feature-active) .hero-content.hero-content-expanded{
    grid-template-columns:220px minmax(0,1fr);
    gap:16px 24px;
  }
}


/* V17.58 — Hot on Amazon stretch + deep homepage row polish */
@media(min-width:1051px){
  .hero{
    align-items:stretch;
  }
  .hero-feature:not(.reward-feature-active),
  .hero-feature.reward-feature-active{
    min-height:540px;
  }
  .hot-list{
    height:auto !important;
    min-height:540px;
    align-self:stretch;
    display:flex;
    flex-direction:column;
    padding:24px 26px 23px;
  }
  .hot-list .section-mini{
    flex:0 0 auto;
    margin-bottom:5px;
  }
  .hot-list #hotList{
    display:flex;
    flex-direction:column;
    flex:1 1 auto;
    min-height:0;
  }
  .hot-list .hot-item{
    flex:1 1 0;
    min-height:0;
    padding:10px 0;
    align-items:center;
  }
  .hot-list .hot-item:first-child{
    padding-top:7px;
  }
  .hot-list .hot-item:last-child{
    padding-bottom:7px;
  }
  .hot-list .hot-thumb{
    width:60px;
    max-height:86px;
  }
  .hot-list .rank-num{
    align-self:center;
  }
  .hot-list .hot-item>div:last-child{
    align-self:center;
  }
}
@media(min-width:1181px){
  .hot-list{
    min-height:546px;
  }
}


/* V17.59 — Premium reward gift micro-interaction */
@keyframes rewardGiftIdleWiggle{
  0%,66%,100%{transform:translateY(0) rotate(0deg);box-shadow:0 0 0 rgba(226,179,99,0)}
  69%{transform:translateY(-1px) rotate(-3deg);box-shadow:0 0 0 rgba(226,179,99,0)}
  72%{transform:translateY(0) rotate(2.6deg);box-shadow:0 0 0 3px rgba(226,179,99,.07)}
  75%{transform:translateY(-1px) rotate(-2deg);box-shadow:0 0 0 5px rgba(226,179,99,.04)}
  78%{transform:translateY(0) rotate(1.2deg);box-shadow:0 0 0 3px rgba(226,179,99,.03)}
  81%{transform:translateY(0) rotate(-.6deg);box-shadow:0 0 0 rgba(226,179,99,0)}
  84%{transform:translateY(0) rotate(0deg);box-shadow:0 0 0 rgba(226,179,99,0)}
}
@keyframes rewardGiftHoverWiggle{
  0%{transform:translateY(0) rotate(0deg)}
  24%{transform:translateY(-1px) rotate(-4deg)}
  48%{transform:translateY(0) rotate(3deg)}
  70%{transform:translateY(-1px) rotate(-1.5deg)}
  100%{transform:translateY(0) rotate(0deg)}
}
.reward-nav-icon{
  transform-origin:50% 78%;
  will-change:transform;
  animation:rewardGiftIdleWiggle 6.4s cubic-bezier(.4,0,.2,1) infinite;
}
.reward-nav-icon svg{transform-origin:50% 72%}
.reward-nav-btn:hover .reward-nav-icon,
.reward-nav-btn:focus-visible .reward-nav-icon{
  animation:rewardGiftHoverWiggle .62s cubic-bezier(.36,.07,.19,.97) 1 both;
}
@media(prefers-reduced-motion:reduce){
  .reward-nav-icon,
  .reward-nav-btn:hover .reward-nav-icon,
  .reward-nav-btn:focus-visible .reward-nav-icon{animation:none!important;transform:none!important}
}


/* =========================================================
   V17.60 — Header utility rail polish
   Reward + Search + Counters stay together at the far right.
   ========================================================= */
@media(min-width:761px){
  .site-header .wrap.nav{
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    align-items:center;
    column-gap:18px;
  }
  .site-header .brand{grid-column:1;min-width:max-content}
  .site-header nav{
    grid-column:2;
    min-width:0;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:clamp(11px,1.15vw,20px);
    overflow:hidden;
  }
  .site-header nav a{
    flex:0 0 auto;
    white-space:nowrap;
    font-size:12px;
  }
  /* All Books already exists as a library counter on the far right. */
  .site-header nav>a[href="/books/"]{display:none}
  .site-header .header-tools{
    grid-column:3;
    justify-self:end;
    min-width:0;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:8px;
    margin-left:auto;
  }
  .site-header .header-tools .reward-nav-btn{
    flex:0 0 auto;
    margin:0;
  }
  .site-header .header-tools .search{
    flex:0 1 clamp(230px,18vw,315px);
    width:clamp(230px,18vw,315px);
    min-width:0;
    margin:0;
  }
  .site-header .header-tools .library-stats{
    flex:0 0 auto;
    margin-left:2px;
    gap:6px;
  }
}
@media(min-width:1380px){
  .site-header .wrap.nav{
    width:min(calc(100% - 28px),1660px);
    gap:0;
    column-gap:18px;
  }
  .site-header nav{gap:clamp(12px,1vw,19px)}
  .site-header .header-tools .search{
    width:clamp(245px,18vw,320px);
    flex-basis:clamp(245px,18vw,320px);
    min-width:0;
  }
}
@media(max-width:1510px) and (min-width:1161px){
  .site-header .wrap.nav{column-gap:13px}
  .site-header nav{gap:10px}
  .site-header nav a{font-size:11px}
  .site-header .header-tools{gap:6px}
  .site-header .header-tools .search{
    width:clamp(205px,15vw,250px);
    flex-basis:clamp(205px,15vw,250px);
  }
  .site-header .library-stat{width:50px}
}
@media(max-width:1320px) and (min-width:1161px){
  .site-header .reward-nav-label{display:none}
  .site-header .reward-nav-btn{width:42px;padding:0 9px;justify-content:center}
}
@media(max-width:1160px) and (min-width:761px){
  .site-header .wrap.nav{
    grid-template-columns:auto minmax(0,1fr) auto;
    column-gap:12px;
  }
  .site-header nav{gap:9px;overflow:hidden;padding:0}
  .site-header nav a{font-size:11px;padding:8px 5px}
  .site-header .header-tools{gap:6px}
  .site-header .header-tools .search{
    width:clamp(180px,22vw,230px);
    flex-basis:clamp(180px,22vw,230px);
  }
  .site-header .library-stats{display:none}
  .site-header .reward-nav-label{display:none}
  .site-header .reward-nav-btn{width:42px;padding:0 9px;justify-content:center}
}
@media(max-width:760px){
  .site-header .header-tools{margin-left:auto;display:flex;align-items:center;gap:6px}
  .site-header .header-tools .search,.site-header .header-tools .library-stats{display:none}
  .site-header .header-tools .reward-nav-btn{margin-left:0}
}

/* V17.61 — global editorial page transitions */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: gr-page-out 140ms cubic-bezier(.4,0,.6,1) both;
}
::view-transition-new(root) {
  animation: gr-page-in 240ms cubic-bezier(.2,.75,.2,1) both;
}

@keyframes gr-page-out {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(.994); }
}
@keyframes gr-page-in {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}

html.pt-enabled main,
html.pt-enabled .site-footer {
  opacity: 0;
  transform: translateY(9px);
  transition:
    opacity 240ms cubic-bezier(.2,.75,.2,1),
    transform 240ms cubic-bezier(.2,.75,.2,1);
  will-change: opacity, transform;
}
html.pt-enabled.pt-ready main,
html.pt-enabled.pt-ready .site-footer {
  opacity: 1;
  transform: translateY(0);
}
html.pt-enabled.pt-leaving main,
html.pt-enabled.pt-leaving .site-footer {
  opacity: 0;
  transform: scale(.994);
  transition-duration: 140ms;
  transition-timing-function: cubic-bezier(.4,0,.6,1);
  pointer-events: none;
}

/* Header remains visually anchored while content changes underneath it. */
html.pt-enabled .site-header {
  view-transition-name: goodreview-header;
}
html.pt-enabled .topline {
  view-transition-name: goodreview-topline;
}

html.pt-enabled.pt-anchor-pulse main {
  opacity: .965;
  transform: translateY(2px);
  transition-duration: 90ms;
}

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root),
  ::view-transition-new(root) { animation-duration: 1ms; }
  html.pt-enabled main,
  html.pt-enabled .site-footer,
  html.pt-enabled.pt-ready main,
  html.pt-enabled.pt-ready .site-footer,
  html.pt-enabled.pt-leaving main,
  html.pt-enabled.pt-leaving .site-footer,
  html.pt-enabled.pt-anchor-pulse main {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* V17.62 — review partner sharing + Reward quality acquisition */
.review-share-kit{position:relative;margin:26px 0 0;max-width:760px;padding:18px 19px 16px;border:1px solid #e7d9cd;border-radius:20px;background:linear-gradient(145deg,#fffdf9 0%,#fbf4ec 100%);box-shadow:0 10px 28px rgba(61,39,29,.045)}
.review-share-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.review-share-head h3{font-family:"Playfair Display",Georgia,serif;font-size:24px;line-height:1.08;margin:5px 0 6px;color:#3e281f}.review-share-head p{max-width:590px;margin:0;color:#75665d;font-size:12px;line-height:1.6}.review-share-reward{flex:0 0 auto;display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;background:#e8f3e9;color:#2b6d50;font-size:8px;font-weight:900;letter-spacing:.05em;white-space:nowrap}
.review-share-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:14px}.review-share-actions a,.review-share-actions button,.review-partner-actions button{appearance:none;border:1px solid #dfd0c3;background:#fff;color:#51382e;border-radius:999px;padding:8px 11px;font:800 9px/1 "DM Sans",sans-serif;letter-spacing:.02em;text-decoration:none;cursor:pointer;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,background .16s ease}.review-share-actions a:hover,.review-share-actions button:hover,.review-partner-actions button:hover{transform:translateY(-1px);border-color:#bfa797;box-shadow:0 6px 14px rgba(65,42,31,.08)}.review-share-actions .review-share-primary{background:#4a2b21;color:#fff;border-color:#4a2b21}
.review-partner-share{margin-top:13px;padding-top:12px;border-top:1px solid #eaded4}.review-partner-share summary{width:max-content;max-width:100%;cursor:pointer;color:#8f5947;font-size:10px;font-weight:900;letter-spacing:.02em}.review-partner-body{padding-top:10px}.review-partner-body p{margin:0 0 9px;color:#75665d;font-size:11px;line-height:1.55}.review-partner-body small{display:block;margin-top:8px;color:#998a81;font-size:9px;line-height:1.5}.review-partner-actions{display:flex;gap:7px;flex-wrap:wrap}
.review-share-toast{position:absolute;right:16px;bottom:14px;pointer-events:none;opacity:0;transform:translateY(4px);padding:7px 9px;border-radius:9px;background:#3f2a21;color:#fff;font-size:9px;font-weight:800;box-shadow:0 8px 20px rgba(48,30,23,.16);transition:opacity .16s ease,transform .16s ease}.review-share-toast.is-visible{opacity:1;transform:none}
.reward-quality-factor{display:block;margin-top:2px;color:#99887e;font-size:7px;font-weight:800}
.reward-v1-personal-stats{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:700px){.review-share-kit{padding:16px}.review-share-head{display:block}.review-share-reward{margin-top:9px}.review-share-toast{position:static;display:inline-block;margin-top:9px;transform:none}.review-share-toast:not(.is-visible){display:none}.reward-v1-personal-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V17.62 table width polish for Quality column */
.reward-v1-table{min-width:860px}

/* V17.63 — trust-first sticky Rewards/share rail on editorial book pages */
@media(min-width:1181px){
  .seo-book-page.has-reward-rail{
    grid-template-columns:270px minmax(0,1fr) 316px;
    gap:34px;
  }
  .review-reward-rail{
    position:sticky;
    top:var(--reward-rail-top,96px);
    align-self:start;
    min-width:0;
    z-index:6;
  }
}
.review-reward-card{
  position:relative;
  width:100%;
  max-width:none;
  margin:0;
  padding:16px;
  border:1px solid #e5d5c8;
  border-radius:23px;
  background:linear-gradient(155deg,#fffdfa 0%,#fbf1e6 100%);
  box-shadow:0 18px 42px rgba(61,39,29,.09);
  opacity:0;
  transform:translate3d(18px,var(--reward-scroll-shift,0px),0);
  transition:opacity .35s ease,transform .38s cubic-bezier(.22,.7,.2,1),box-shadow .22s ease;
  overflow:hidden;
}
.review-reward-card.is-ready{opacity:1;transform:translate3d(0,var(--reward-scroll-shift,0px),0)}
.review-reward-card:hover{box-shadow:0 22px 48px rgba(61,39,29,.12)}
.review-reward-prize{display:grid;grid-template-columns:70px minmax(0,1fr);gap:13px;align-items:center;padding:0 0 13px;border-bottom:1px solid #eadcd1}
.review-reward-gift{display:grid;place-items:center;height:84px;border-radius:15px;background:linear-gradient(145deg,#f8e5ca,#f5d6ae);box-shadow:inset 0 0 0 1px rgba(122,72,46,.07)}
.review-reward-gift img{display:block;max-width:52px;max-height:72px;width:auto;height:auto;filter:drop-shadow(0 7px 8px rgba(64,38,25,.16));transition:transform .25s ease}
.review-reward-card:hover .review-reward-gift img{transform:translateY(-2px) rotate(-1deg)}
.review-reward-prize-copy{min-width:0}.review-reward-prize-copy .section-mini-label{display:block;margin-bottom:5px;color:#cc7256;font-size:8px;letter-spacing:.17em;font-weight:900;text-transform:uppercase}
.review-reward-prize-copy>strong{display:block;font-family:"Playfair Display",Georgia,serif;font-size:17px;line-height:1.18;color:#2d1d17}
.review-reward-prize-copy>small{display:block;margin-top:5px;color:#7c6c62;font-size:9px;line-height:1.35}
.review-reward-intro{padding:13px 0 10px}.review-reward-intro h3{font-size:22px;line-height:1.08;margin:0 0 6px;color:#2d1d17}.review-reward-intro p{margin:0;color:#716158;font-size:11px;line-height:1.55}
.review-reward-how{display:grid;gap:7px;margin:4px 0 11px}.review-reward-how>div{display:grid;grid-template-columns:23px 1fr;gap:8px;align-items:start}.review-reward-how b{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#f1d29c;color:#5c3829;font-size:10px}.review-reward-how strong{display:block;font-size:10px;color:#4e372e}.review-reward-how small{display:block;margin-top:1px;color:#8b7a70;font-size:8.5px;line-height:1.4}
.review-reward-open,.review-reward-details{width:100%;border:0;border-radius:999px;padding:9px 12px;background:#5a3327;color:#fff;font-size:10px;font-weight:900;cursor:pointer;transition:transform .18s ease,background .18s ease}.review-reward-open:hover,.review-reward-details:hover{transform:translateY(-1px);background:#47291f}
.review-reward-member{padding-top:2px}.review-reward-member-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:9px}.review-reward-member-head>div span{display:block;color:#9a7767;text-transform:uppercase;letter-spacing:.09em;font-size:7.5px;font-weight:900}.review-reward-member-head>div strong{display:block;margin-top:2px;font-size:11px;color:#4b2f25}.review-reward-live-pill{flex:0 0 auto;padding:5px 7px;border-radius:999px;background:#dceee4;color:#285f4d;font-size:7px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.review-reward-stats{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:9px}.review-reward-stats>div{padding:9px 10px;border:1px solid #eadccf;background:rgba(255,255,255,.64);border-radius:12px}.review-reward-stats span{display:block;color:#8a776d;font-size:8px}.review-reward-stats strong{display:block;margin-top:2px;color:#2d1d17;font-family:"Playfair Display",Georgia,serif;font-size:19px}
.review-reward-progress{padding:10px;border-radius:13px;background:#fffaf4;border:1px solid #eadccf}.review-reward-progress-head{display:flex;justify-content:space-between;gap:8px;align-items:center}.review-reward-progress-head span{font-size:8px;color:#89756b}.review-reward-progress-head strong{font-size:9px;color:#503127}.review-reward-progress-track{height:6px;margin:7px 0 6px;border-radius:999px;background:#eaded4;overflow:hidden}.review-reward-progress-track i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#d69b4a,#c96f55);transition:width .7s cubic-bezier(.22,.7,.2,1)}.review-reward-progress small{display:block;color:#8a776d;font-size:8px;line-height:1.4}
.review-reward-email{margin-top:9px;padding:8px 10px;border:1px solid #eadccf;border-radius:12px;background:rgba(255,255,255,.66)}.review-reward-email span{display:block;color:#8a776d;font-size:8px}.review-reward-email strong{display:block;margin-top:2px;font-size:10px;color:#402a22;overflow-wrap:anywhere}.review-reward-delivery{margin:8px 1px;color:#7a685e;font-size:8.5px;line-height:1.48}.review-reward-details{background:transparent;color:#5a3327;border:1px solid #d9c1b1}
.review-reward-details:hover{background:#fff;color:#47291f}
.review-share-divider{height:1px;background:#e5d7cb;margin:13px -1px 11px}.review-share-compact-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.review-share-compact-head>strong{font-size:10px;color:#4a3027}.review-share-reward{padding:4px 6px;border-radius:999px;background:#dceee4;color:#2d6753;font-size:7px;font-weight:900;white-space:nowrap}
.review-share-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.review-share-actions a,.review-share-actions button{border:1px solid #dfcfc2;background:#fffdf9;color:#51352b;border-radius:999px;padding:6px 8px;font-size:8px;font-weight:800;cursor:pointer;transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease}.review-share-actions a:hover,.review-share-actions button:hover{transform:translateY(-1px);border-color:#bd9279;background:#fff;box-shadow:0 6px 14px rgba(65,42,31,.08)}
.review-share-actions .review-share-primary{background:#5a3327;color:#fff;border-color:#5a3327}.review-share-actions .review-share-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border-radius:999px;text-decoration:none;line-height:1;flex:0 0 28px}.review-share-actions .review-share-icon svg{width:14px;height:14px;display:block}.review-share-actions .review-share-icon span{display:block;font:900 11px/1 "DM Sans",sans-serif;letter-spacing:-.02em}.review-share-actions .review-share-icon::after{content:attr(data-share-tooltip);position:absolute;left:50%;bottom:calc(100% + 7px);transform:translate(-50%,4px);padding:5px 7px;border-radius:8px;background:#4f3127;color:#fff;font:700 10px/1 "DM Sans",sans-serif;white-space:nowrap;opacity:0;pointer-events:none;box-shadow:0 10px 24px rgba(38,19,12,.18);transition:opacity .16s ease,transform .16s ease}.review-share-actions .review-share-icon::before{content:'';position:absolute;left:50%;bottom:calc(100% + 1px);transform:translateX(-50%);border:5px solid transparent;border-top-color:#4f3127;opacity:0;transition:opacity .16s ease}.review-share-actions .review-share-icon:hover::after,.review-share-actions .review-share-icon:hover::before,.review-share-actions .review-share-icon:focus-visible::after,.review-share-actions .review-share-icon:focus-visible::before{opacity:1}.review-share-actions .review-share-icon:hover::after,.review-share-actions .review-share-icon:focus-visible::after{transform:translate(-50%,0)}.review-share-actions [data-share-copy]{padding:6px 10px;font-size:8px}.review-share-actions .review-share-icon-facebook{color:#1877f2}.review-share-actions .review-share-icon-reddit{color:#ff4500}.review-share-actions .review-share-icon-instagram{color:#c13584}.review-share-actions .review-share-icon-tiktok{color:#111}.review-share-actions .review-share-icon-email{color:#6b4b3d}.review-partner-share{margin-top:10px;padding-top:9px;border-top:1px solid #eaded4}.review-partner-share summary{cursor:pointer;color:#8f5947;font-size:8px;font-weight:900;letter-spacing:.01em}.review-partner-body{padding-top:8px}.review-partner-body p{margin:0 0 8px;color:#75665d;font-size:8.5px;line-height:1.5}.review-partner-body small{display:block;margin-top:7px;color:#998a81;font-size:7.5px;line-height:1.45}.review-partner-actions{display:flex;gap:5px;flex-wrap:wrap}.review-partner-actions button{border:1px solid #dfcfc2;background:#fff;border-radius:999px;padding:6px 8px;font-size:8px;font-weight:800;color:#51352b;cursor:pointer}
.review-share-toast{position:absolute;left:16px;right:16px;bottom:13px;z-index:3;padding:7px 10px;border-radius:10px;background:#34231d;color:#fff;text-align:center;font-size:8px;font-weight:800;opacity:0;pointer-events:none;transform:translateY(6px);transition:.18s}.review-share-toast.is-visible{opacity:1;transform:translateY(0)}
.review-reward-card.reward-is-paused [data-reward-guest-rule]{opacity:.65}
@media(max-width:1180px){
  .seo-book-page.has-reward-rail{grid-template-columns:240px minmax(0,1fr);gap:30px}
  .review-reward-rail{grid-column:2;position:static;max-width:720px;margin-top:-20px}
  .review-reward-card{opacity:1;transform:none}
  .review-reward-prize{grid-template-columns:60px minmax(0,1fr)}
  .review-reward-gift{height:72px}
}
@media(max-width:700px){
  .seo-book-page.has-reward-rail{grid-template-columns:1fr}
  .review-reward-rail{grid-column:1;max-width:none;margin-top:-24px}
  .review-reward-card{padding:15px;border-radius:19px}
  .review-reward-prize{grid-template-columns:58px minmax(0,1fr)}
  .review-reward-intro h3{font-size:20px}
  .review-reward-stats{grid-template-columns:1fr 1fr}
}
@media(prefers-reduced-motion:reduce){.review-reward-card,.review-reward-gift img,.review-reward-progress-track i{transition:none!important}.review-reward-card{opacity:1;transform:none!important}}


/* V17.64 — floating Reward rail uses the empty right viewport edge; detail width stays untouched */
.seo-book-page{
  grid-template-columns:290px minmax(0,1fr);
  gap:48px;
}
.review-reward-rail.review-reward-floating{
  z-index:18;
}
@media(min-width:1520px){
  .review-reward-rail.review-reward-floating{
    position:fixed;
    top:var(--reward-rail-top,94px);
    right:18px;
    width:300px;
    max-width:calc(100vw - 36px);
    margin:0;
    transition:top .34s cubic-bezier(.22,.7,.2,1),opacity .24s ease,transform .34s cubic-bezier(.22,.7,.2,1);
    will-change:top,opacity,transform;
  }
  .review-reward-rail.review-reward-floating.is-footer-near{
    opacity:0;
    transform:translateY(-12px);
    pointer-events:none;
  }
  .review-reward-rail.review-reward-floating .review-reward-card{
    width:100%;
  }
  .review-reward-gift{
    height:88px;
  }
  .review-reward-gift img{
    max-width:58px;
    max-height:78px;
  }
}
@media(min-width:1880px){
  .review-reward-rail.review-reward-floating{
    right:max(22px,calc((100vw - 1840px)/2 + 18px));
  }
}
@media(max-width:1519px){
  .review-reward-rail.review-reward-floating{
    position:static;
    width:min(780px,calc(100% - 34px));
    max-width:780px;
    margin:-20px auto 42px;
  }
  .review-reward-rail.review-reward-floating .review-reward-card{
    opacity:1;
    transform:none;
  }
}
@media(max-width:900px){
  .seo-book-page{
    grid-template-columns:220px minmax(0,1fr);
    gap:28px;
  }
  .review-reward-rail.review-reward-floating{
    width:min(720px,calc(100% - 34px));
  }
}
@media(max-width:700px){
  .seo-book-page{grid-template-columns:1fr}
  .review-reward-rail.review-reward-floating{
    width:calc(100% - 34px);
    max-width:none;
    margin:-22px auto 34px;
  }
}
@media(prefers-reduced-motion:reduce){
  .review-reward-rail.review-reward-floating{transition:none!important}
}


/* V17.65 — unified Reward campaign: menu-controlled slide, hero/member state, paused-registration tracking */
.reward-nav-btn[aria-expanded="true"]{
  background:#5b3528;
  color:#fff;
  border-color:#5b3528;
  box-shadow:0 10px 24px rgba(71,41,31,.16);
}
.reward-nav-btn[aria-expanded="true"] .reward-nav-icon{background:#f0c879;color:#4b2c20}
.reward-nav-btn[aria-expanded="true"] .reward-nav-count{background:#fff;color:#5b3528}

/* Reward rails are drawers now: hidden by default and never consume article width. */
.review-reward-rail,
.review-reward-rail.review-reward-floating,
.reward-global-rail{
  position:fixed!important;
  z-index:80!important;
  right:18px!important;
  top:var(--reward-rail-top,96px)!important;
  width:300px!important;
  max-width:calc(100vw - 36px)!important;
  margin:0!important;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translate3d(calc(100% + 30px),0,0)!important;
  transition:transform .34s cubic-bezier(.22,.7,.2,1),opacity .24s ease,visibility 0s linear .34s,top .34s cubic-bezier(.22,.7,.2,1)!important;
  will-change:transform,opacity,top;
}
.review-reward-rail.is-open,
.review-reward-rail.review-reward-floating.is-open,
.reward-global-rail.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translate3d(0,0,0)!important;
  transition-delay:0s!important;
}
.review-reward-rail.is-footer-near.is-open{opacity:.08;pointer-events:none}
.review-reward-rail .review-reward-card{max-height:calc(100vh - 118px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.review-reward-rail .review-reward-card.is-ready{opacity:1;transform:none}

.reward-global-card{padding-top:16px}
.reward-slide-close{position:absolute;right:10px;top:9px;z-index:4;width:28px;height:28px;border:1px solid #dfcfc2;border-radius:50%;background:rgba(255,253,249,.94);color:#684638;font:700 18px/1 sans-serif;cursor:pointer;display:grid;place-items:center}
.reward-slide-close:hover{background:#fff;transform:translateY(-1px)}
.reward-global-card .review-reward-prize{padding-right:28px}
.reward-slide-guest,.reward-slide-member{padding-top:13px}
.reward-slide-guest h3{font-family:"Playfair Display",Georgia,serif;font-size:22px;line-height:1.08;margin:0 0 6px;color:#2d1d17}
.reward-slide-guest>p{margin:0 0 11px;color:#716158;font-size:10px;line-height:1.55}
.reward-slide-rule{display:grid;grid-template-columns:22px 1fr;gap:8px;align-items:center;margin:7px 0;color:#5c463d;font-size:9px;font-weight:700}
.reward-slide-rule b{width:21px;height:21px;border-radius:50%;display:grid;place-items:center;background:#f0d19c;color:#5b382b;font-size:9px}
.reward-slide-primary,.reward-slide-actions button{appearance:none;border:0;border-radius:999px;background:#5a3327;color:#fff;padding:9px 11px;font-size:9px;font-weight:900;cursor:pointer}
.reward-slide-primary{width:100%;margin-top:8px}
.reward-slide-primary:hover,.reward-slide-actions button:hover{background:#47291f;transform:translateY(-1px)}
.reward-slide-id{display:flex;align-items:end;justify-content:space-between;gap:8px;margin-bottom:9px}
.reward-slide-id span,.reward-slide-email span{display:block;color:#9a7767;text-transform:uppercase;letter-spacing:.08em;font-size:7px;font-weight:900}
.reward-slide-id strong{font-size:11px;color:#4b2f25}
.reward-slide-stats{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.reward-slide-stats>div{padding:9px 10px;border:1px solid #eadccf;background:rgba(255,255,255,.66);border-radius:12px}
.reward-slide-stats span{display:block;color:#8a776d;font-size:8px}.reward-slide-stats strong{display:block;margin-top:2px;font:700 19px/1.1 "Playfair Display",Georgia,serif;color:#2d1d17}
.reward-slide-progress{margin-top:8px;padding:9px 10px;border:1px solid #eadccf;border-radius:12px;background:#fffaf4}
.reward-slide-progress>div{display:flex;justify-content:space-between;gap:8px}.reward-slide-progress span{font-size:8px;color:#89756b}.reward-slide-progress b{font-size:8px;color:#503127}
.reward-slide-progress>i{display:block;height:6px;margin:7px 0 6px;border-radius:999px;background:#eaded4;overflow:hidden}.reward-slide-progress>i em{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#d69b4a,#c96f55);transition:width .6s ease}
.reward-slide-progress small{display:block;color:#8a776d;font-size:8px;line-height:1.4}
.reward-slide-email{margin-top:8px;padding:8px 10px;border:1px solid #eadccf;border-radius:12px;background:rgba(255,255,255,.66)}.reward-slide-email strong{display:block;margin-top:2px;font-size:9px;color:#402a22;overflow-wrap:anywhere}
.reward-slide-trust{margin:8px 1px;color:#78665d;font-size:8px;line-height:1.48}
.reward-slide-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.reward-slide-actions button:last-child{background:#fff;color:#5a3327;border:1px solid #d9c1b1}.reward-slide-actions button:last-child:hover{background:#fff}

.reward-home-member-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:11px 0 2px}
.reward-home-member-grid>div{min-width:0;padding:10px 11px;border:1px solid rgba(118,73,52,.13);border-radius:14px;background:rgba(255,255,255,.64)}
.reward-home-member-grid span{display:block;color:#8d7468;font-size:8px;text-transform:uppercase;letter-spacing:.05em;font-weight:800}.reward-home-member-grid strong{display:block;margin-top:2px;font:700 20px/1.1 "Playfair Display",Georgia,serif;color:#2d1d17}.reward-home-member-grid small{display:block;margin-top:3px;color:#8d7b70;font-size:7.5px;line-height:1.35}.reward-home-member-grid .reward-home-email{font-family:"DM Sans",sans-serif;font-size:11px;overflow-wrap:anywhere}
.hero-feature.reward-feature-active.is-reward-focus{animation:rewardHeroFocus .85s ease}
@keyframes rewardHeroFocus{0%,100%{box-shadow:0 18px 50px rgba(56,35,26,.08)}45%{box-shadow:0 20px 58px rgba(179,113,63,.24)}}

@media(max-width:1519px){
  .review-reward-rail,.review-reward-rail.review-reward-floating,.reward-global-rail{right:14px!important;top:88px!important;width:min(310px,calc(100vw - 28px))!important}
  .seo-book-page{grid-template-columns:290px minmax(0,1fr);gap:48px}
}
@media(max-width:1100px){
  .reward-home-member-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .seo-book-page{grid-template-columns:220px minmax(0,1fr);gap:28px}
}
@media(max-width:700px){
  .seo-book-page{grid-template-columns:1fr}
  .review-reward-rail,.review-reward-rail.review-reward-floating,.reward-global-rail{left:12px!important;right:12px!important;top:auto!important;bottom:12px!important;width:auto!important;max-width:none!important;transform:translate3d(0,calc(100% + 28px),0)!important}
  .review-reward-rail.is-open,.review-reward-rail.review-reward-floating.is-open,.reward-global-rail.is-open{transform:translate3d(0,0,0)!important}
  .review-reward-rail .review-reward-card{max-height:min(76vh,680px)}
  .reward-home-member-grid{grid-template-columns:1fr 1fr}
}
@media(prefers-reduced-motion:reduce){
  .review-reward-rail,.review-reward-rail.review-reward-floating,.reward-global-rail{transition:none!important}
  .hero-feature.reward-feature-active.is-reward-focus{animation:none!important}
}

/* V17.66 — Reward lifecycle states + true document-following edge rail */
.reward-lifecycle-banner,.review-reward-life-banner{margin:0 0 10px;padding:11px 12px;border-radius:14px;border:1px solid #ead4a9;background:#fff8e8;color:#573b2e}
.reward-lifecycle-banner>span,.review-reward-life-banner>span{display:block;margin-bottom:4px;color:#9a6826;font-size:7px;font-weight:900;letter-spacing:.13em}
.reward-lifecycle-banner>strong,.review-reward-life-banner>strong{display:block;font:700 15px/1.25 "Playfair Display",Georgia,serif;color:#342119}
.reward-lifecycle-banner>p,.review-reward-life-banner>p{margin:5px 0 0;font-size:8.5px;line-height:1.5;color:#725d52}
.reward-lifecycle-banner.is-qualified,.review-reward-life-banner.is-qualified{border-color:#e7c986;background:linear-gradient(135deg,#fff8e8,#fffdf8)}
.reward-lifecycle-banner.is-sent,.review-reward-life-banner.is-sent{border-color:#bfe0cc;background:linear-gradient(135deg,#eef8f1,#fffdf9)}
.reward-lifecycle-banner.is-sent>span,.review-reward-life-banner.is-sent>span{color:#287151}
.reward-restart-box,.review-reward-restart{margin-top:10px;padding-top:9px;border-top:1px solid rgba(79,55,42,.12)}
.reward-restart-box>strong,.review-reward-restart>b{display:block;font-size:10px;color:#402b22}
.reward-restart-box>p,.review-reward-restart>small{display:block;margin:4px 0 7px;color:#78665c;font-size:8px;line-height:1.45}
.review-reward-restart button{appearance:none;border:0;border-radius:999px;background:#553126;color:#fff;padding:8px 10px;font-size:8px;font-weight:900;cursor:pointer}
.review-reward-lifecycle[hidden]{display:none!important}
.review-share-kit.reward-state-sent .review-reward-stats,.review-share-kit.reward-state-sent .review-reward-progress,.review-share-kit.reward-state-sent .review-reward-delivery,.review-share-kit.reward-state-sent .review-reward-details{display:none!important}
.review-share-kit.reward-state-sent .review-reward-email{margin-top:8px}
.review-share-kit.reward-state-sent .review-share-reward{background:#eef3ef;color:#607268}

@media(min-width:1520px){
  .review-reward-rail,.review-reward-rail.review-reward-floating,.reward-global-rail{
    position:absolute!important;
    top:var(--reward-rail-doc-top,92px)!important;
    transition:transform .34s cubic-bezier(.22,.7,.2,1),opacity .24s ease,visibility 0s linear .34s,top .18s cubic-bezier(.22,.7,.2,1)!important;
    will-change:transform,opacity,top;
  }
  .review-reward-rail.is-open,.review-reward-rail.review-reward-floating.is-open,.reward-global-rail.is-open{transition-delay:0s!important}
  .review-reward-rail.is-footer-stopped .review-reward-card{box-shadow:0 16px 40px rgba(61,38,28,.09)}
}
@media(prefers-reduced-motion:reduce){
  .review-reward-rail,.review-reward-rail.review-reward-floating,.reward-global-rail{transition:none!important}
}


/* V17.67 — ongoing Reward hero + compact homepage drawer + detail auto-open */
.reward-feature-copy .reward-member-title{
  margin:8px 0 12px;
  font-size:clamp(44px,4.55vw,60px);
  line-height:.93;
  letter-spacing:-.035em;
}
.reward-feature-copy .reward-member-title>span{display:block;white-space:nowrap}
.reward-feature-copy .reward-member-title>span+span{margin-top:2px}
.reward-home-member-grid{
  grid-template-columns:minmax(118px,.82fr) minmax(118px,.82fr) minmax(108px,.72fr) minmax(205px,1.64fr);
  align-items:stretch;
}
.reward-home-member-grid .reward-home-stat-email{padding-left:14px;padding-right:14px}
.reward-home-member-grid .reward-home-stat-email .reward-home-email{
  font-size:12px;
  line-height:1.25;
  white-space:normal;
  overflow-wrap:anywhere;
}
.reward-home-member-grid .reward-home-stat-verified strong,
.reward-home-member-grid .reward-home-stat-rank strong{font-size:18px;white-space:nowrap}
.reward-global-rail.is-home-compact{width:264px!important}
.reward-global-rail.is-home-compact .review-reward-card{padding-left:14px;padding-right:14px}
.reward-global-rail.is-home-compact .review-reward-gift{width:58px;min-width:58px}
.reward-global-rail.is-home-compact .review-reward-prize-copy strong{font-size:16px;line-height:1.05}
.reward-global-rail.is-home-compact .reward-slide-stats strong{font-size:17px}
.reward-global-rail.is-home-compact .reward-slide-actions{grid-template-columns:1fr}
@media(max-width:1100px){
  .reward-home-member-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .reward-home-member-grid .reward-home-stat-email{grid-column:1 / -1}
  .reward-feature-copy .reward-member-title>span{white-space:normal}
}
@media(max-width:700px){
  .reward-global-rail.is-home-compact{width:auto!important}
}


/* V17.68 — social/share polish + crisp Reward rail + compact hero controls */
.review-reward-card,
.reward-global-card{
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
.review-reward-detail-close{display:grid!important}
.review-reward-floating .review-reward-prize{padding-right:28px}

/* Small labels were visually too soft at 8px; raise reading sizes without enlarging the card. */
.review-reward-intro p{font-size:11.5px;line-height:1.52}
.review-reward-how strong{font-size:10.5px}
.review-reward-how small{font-size:9.25px;line-height:1.42}
.review-reward-member-head>div span,.reward-slide-id span,.reward-slide-email span{font-size:8px}
.review-reward-stats span,.reward-slide-stats span{font-size:8.75px}
.review-reward-progress-head span,.reward-slide-progress span,.reward-slide-progress b{font-size:8.75px}
.review-reward-progress small,.reward-slide-progress small{font-size:8.75px;line-height:1.42}
.review-reward-delivery,.reward-slide-trust{font-size:9.25px;line-height:1.5}
.review-share-compact-head>strong{font-size:10.5px}
.review-partner-share summary{font-size:8.75px}

/* Keep action pills compact even though explanatory text is more readable. */
.review-share-actions a,.review-share-actions button,
.review-partner-actions button{padding:5px 7px;font-size:7.75px}
.reward-slide-primary,.reward-slide-actions button{padding:8px 10px;font-size:8.5px}
.review-reward-open,.review-reward-details{padding:8px 10px;font-size:9px}

/* Avoid GPU translate on desktop drawers: it can soften text on Windows/Firefox at fractional DPI. */
@media(min-width:701px){
  .review-reward-rail,
  .review-reward-rail.review-reward-floating,
  .reward-global-rail{
    right:-340px!important;
    transform:none!important;
    will-change:right,opacity,top!important;
    transition:right .32s cubic-bezier(.22,.7,.2,1),opacity .22s ease,visibility 0s linear .32s,top .20s cubic-bezier(.22,.7,.2,1)!important;
  }
  .review-reward-rail.is-open,
  .review-reward-rail.review-reward-floating.is-open,
  .reward-global-rail.is-open{
    right:16px!important;
    transform:none!important;
    transition-delay:0s!important;
  }
  .review-reward-card,
  .review-reward-card.is-ready{transform:none!important}
}

/* Reward hero: give email the most width and reduce CTA footprint. */
.reward-home-member-grid{
  grid-template-columns:minmax(92px,.66fr) minmax(92px,.66fr) minmax(82px,.58fr) minmax(190px,1.72fr);
  gap:7px;
}
.reward-home-member-grid>div{padding:9px 9px}
.reward-home-member-grid .reward-home-stat-email{padding-left:11px;padding-right:11px}
.reward-home-member-grid .reward-home-stat-email .reward-home-email{
  min-width:0;
  max-width:100%;
  font-size:10px;
  line-height:1.22;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.hero-feature.reward-feature-active .hero-actions{gap:9px;margin-top:13px}
.hero-feature.reward-feature-active .hero-actions .btn{
  min-height:0;
  padding:9px 15px;
  font-size:14px;
}
@media(max-width:1100px){
  .reward-home-member-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .reward-home-member-grid .reward-home-stat-email{grid-column:1 / -1}
}


/* V17.69 — compact global rails; detail rail keeps the fuller reading-page size */
@media(min-width:701px){
  .reward-global-rail{
    width:270px!important;
    max-width:calc(100vw - 28px)!important;
  }
  .reward-global-rail .reward-global-card{padding:14px}
  .reward-global-rail .review-reward-prize{grid-template-columns:58px minmax(0,1fr);gap:10px}
  .reward-global-rail .review-reward-gift{height:70px}
  .reward-global-rail .review-reward-gift img{max-width:44px;max-height:61px}
  .reward-global-rail .review-reward-prize-copy>strong{font-size:15px}
  .reward-global-rail .reward-slide-guest h3{font-size:19px}
  .reward-global-rail .reward-slide-stats strong{font-size:17px}
  .reward-global-rail .reward-slide-primary,
  .reward-global-rail .reward-slide-actions button{padding:8px 9px;font-size:8.5px}
}
@media(max-width:1519px) and (min-width:701px){
  .reward-global-rail{width:min(270px,calc(100vw - 28px))!important}
}


/* V17.72 — reward rail auto-fit: expand naturally, move upward, scroll only as fallback */
@media(min-width:701px){
  .review-reward-rail .review-reward-card,
  .reward-global-rail .review-reward-card{
    max-height:none;
    overflow:visible;
    overscroll-behavior:auto;
  }
  .review-reward-rail.is-viewport-clamped .review-reward-card,
  .reward-global-rail.is-viewport-clamped .review-reward-card{
    max-height:var(--reward-card-max-height,calc(100vh - 106px));
    overflow-y:auto;
    overscroll-behavior:contain;
    scrollbar-width:thin;
  }
}
@media(max-width:1519px) and (min-width:701px){
  .review-reward-rail,
  .review-reward-rail.review-reward-floating,
  .reward-global-rail{
    top:var(--reward-rail-top,88px)!important;
  }
}


/* V17.73 — true all-viewport Reward rail fitting + footer stop */
.review-reward-rail.is-footer-stopped,
.review-reward-rail.review-reward-floating.is-footer-stopped,
.reward-global-rail.is-footer-stopped{
  position:absolute!important;
  top:var(--reward-rail-doc-top,78px)!important;
  bottom:auto!important;
}
@media(max-width:700px){
  .review-reward-rail,
  .review-reward-rail.review-reward-floating,
  .reward-global-rail{
    left:auto!important;
    right:-340px!important;
    top:var(--reward-rail-top,70px)!important;
    bottom:auto!important;
    width:min(300px,calc(100vw - 16px))!important;
    max-width:calc(100vw - 16px)!important;
    transform:none!important;
    transition:right .30s cubic-bezier(.22,.7,.2,1),opacity .20s ease,visibility 0s linear .30s,top .20s cubic-bezier(.22,.7,.2,1)!important;
  }
  .review-reward-rail.is-open,
  .review-reward-rail.review-reward-floating.is-open,
  .reward-global-rail.is-open{
    right:8px!important;
    transform:none!important;
    transition-delay:0s!important;
  }
  .review-reward-rail .review-reward-card,
  .reward-global-rail .review-reward-card{
    max-height:none!important;
    overflow:visible!important;
  }
  .review-reward-rail.is-viewport-clamped .review-reward-card,
  .reward-global-rail.is-viewport-clamped .review-reward-card{
    max-height:var(--reward-card-max-height,calc(100vh - 78px))!important;
    overflow-y:auto!important;
    overscroll-behavior:contain;
  }
  .review-reward-rail.is-footer-stopped,
  .review-reward-rail.review-reward-floating.is-footer-stopped,
  .reward-global-rail.is-footer-stopped{
    right:8px!important;
  }
}


/* V17.75 — professional editorial footer + stable discovery navigation */
.footer-grid-editorial{grid-template-columns:minmax(0,2.5fr) minmax(210px,.8fr);gap:72px;align-items:start}
.footer-grid-editorial .footer-brand-block{max-width:780px}
.footer-grid-editorial .footer-brand-block>p{max-width:72ch;line-height:1.72}
.footer-source-note{margin-top:12px!important;font-size:11px!important;line-height:1.55!important;opacity:.68}
.footer-discover-links{justify-self:end;min-width:210px}
.footer-discover-links a{white-space:nowrap}
@media(max-width:860px){.footer-grid-editorial{grid-template-columns:1fr;gap:30px}.footer-discover-links{justify-self:start;min-width:0}}


/* V17.76 — Reward clarity: visits, not purchases or downstream sign-ups */
.review-reward-easy{margin:8px 0 0;padding:8px 10px;border-radius:11px;background:#fff4df;border:1px solid #efd6ad;color:#663f2f;font-size:9px!important;line-height:1.45!important;font-weight:800}
.reward-fineprint strong{color:#4d3025}

/* V17.78 — balance the two Reward hero explainer cards */
.hero-feature.reward-feature-active .reward-home-copy-grid{align-items:stretch}
.hero-feature.reward-feature-active .reward-home-copy-grid>div{
  min-height:118px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}
.hero-feature.reward-feature-active .reward-home-copy-grid>div>strong{line-height:1.25}
.hero-feature.reward-feature-active .reward-home-copy-grid>div>p{
  margin-top:7px;
  line-height:1.55;
}
@media(max-width:760px){
  .hero-feature.reward-feature-active .reward-home-copy-grid>div{min-height:0}
}

/* V17.82 — hard 2-line lock for homepage hero deck / standfirst.
   Keep the existing clamp, but add an explicit two-line max-height so
   Firefox/other engines cannot render a third visual line during rotation. */
.hero-feature:not(.reward-feature-active) .hero-main-copy > .hero-deck{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  line-clamp:2!important;
  line-height:1.48!important;
  max-height:2.96em!important;
  overflow:hidden!important;
}
@media(max-width:760px){
  .hero-feature:not(.reward-feature-active) .hero-main-copy > .hero-deck{
    -webkit-line-clamp:2!important;
    line-clamp:2!important;
    max-height:2.96em!important;
  }
}


/* V17.86 — tighter author badge padding */
.byline{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.author-badge{min-height:22px;padding:2px 7px;border-radius:7px;font-size:10px;line-height:1.05;box-shadow:0 3px 8px rgba(91,58,42,.14)}


/* V17.87 — extra-compact author badge + Published label */
.byline{gap:3px;row-gap:3px}
.byline-prefix{font-size:11px;line-height:1}
.author-badge{min-height:18px;padding:1px 5px;border-radius:6px;font-size:9px;line-height:1;letter-spacing:0;box-shadow:0 2px 6px rgba(91,58,42,.12)}
.time-meta{white-space:nowrap}


/* V17.88 — author badge light by default; dark on hover */
.author-badge{background:var(--brand2);border-color:var(--brand2);color:#fff !important}
.author-badge:hover,.author-badge:focus-visible{background:var(--brand);border-color:var(--brand);color:#fff !important}

/* V17.89 — one canonical catalog card across all static branch pages.
   Branch cards now mirror the homepage card hierarchy and stretch uniformly
   within each row so mixed title/taxonomy lengths no longer create ragged cards. */
.seo-list-section .seo-card-grid,
.seo-related .seo-card-grid{
  align-items:stretch!important;
}
.seo-list-section .seo-grid-card.unified-book-card,
.seo-related .seo-grid-card.unified-book-card{
  align-self:stretch!important;
  height:100%!important;
  padding:14px!important;
  border-radius:21px!important;
  overflow:hidden!important;
  background:var(--paper)!important;
  display:flex!important;
  flex-direction:column!important;
  box-shadow:0 10px 26px rgba(50,34,27,.06)!important;
}
.seo-list-section .seo-grid-card.unified-book-card>.cover-link,
.seo-related .seo-grid-card.unified-book-card>.cover-link{
  display:block!important;
  width:100%!important;
  aspect-ratio:auto!important;
  overflow:visible!important;
  line-height:0!important;
  background:transparent!important;
  flex:0 0 auto!important;
}
.seo-list-section .seo-grid-card.unified-book-card>.cover-link>.cover-img,
.seo-related .seo-grid-card.unified-book-card>.cover-link>.cover-img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:2/3!important;
  object-fit:cover!important;
  object-position:center!important;
  border-radius:15px!important;
  box-shadow:0 15px 25px rgba(46,32,25,.16)!important;
}
.seo-list-section .seo-grid-card.unified-book-card>.card-body,
.seo-related .seo-grid-card.unified-book-card>.card-body{
  padding:14px 3px 3px!important;
  display:flex!important;
  flex-direction:column!important;
  flex:1 1 auto!important;
  min-height:0!important;
}
.seo-list-section .seo-grid-card.unified-book-card h3,
.seo-related .seo-grid-card.unified-book-card h3{
  font-family:"DM Sans",sans-serif!important;
  font-size:15px!important;
  line-height:1.35!important;
  margin:7px 0 4px!important;
}
.seo-list-section .seo-grid-card.unified-book-card .byline,
.seo-related .seo-grid-card.unified-book-card .byline{
  margin:0!important;
}
.seo-list-section .seo-grid-card.unified-book-card .card-taxonomy,
.seo-related .seo-grid-card.unified-book-card .card-taxonomy{
  margin:7px 0 0!important;
}
.seo-list-section .seo-grid-card.unified-book-card .card-meta-tail,
.seo-related .seo-grid-card.unified-book-card .card-meta-tail{
  margin-top:auto!important;
  padding-top:8px!important;
  display:grid!important;
  gap:4px!important;
}
.seo-list-section .seo-grid-card.unified-book-card .time-meta,
.seo-related .seo-grid-card.unified-book-card .time-meta{
  margin:0!important;
}
.seo-list-section .seo-grid-card.unified-book-card .micro.amazon,
.seo-related .seo-grid-card.unified-book-card .micro.amazon{
  margin:0!important;
}
.seo-list-section .seo-grid-card.unified-book-card .rank-category-link,
.seo-related .seo-grid-card.unified-book-card .rank-category-link{
  color:inherit!important;
  text-decoration:none!important;
}
.seo-list-section .seo-grid-card.unified-book-card .rank-category-link:hover,
.seo-list-section .seo-grid-card.unified-book-card .rank-category-link:focus-visible,
.seo-related .seo-grid-card.unified-book-card .rank-category-link:hover,
.seo-related .seo-grid-card.unified-book-card .rank-category-link:focus-visible{
  text-decoration:underline!important;
  text-underline-offset:2px!important;
  outline:none!important;
}
/* Keep all cards in the same row professionally aligned. */
.seo-list-section .seo-card-grid{grid-auto-rows:1fr!important;}
.seo-related .seo-card-grid{grid-auto-rows:1fr!important;}

@media(max-width:700px){
  .seo-list-section .seo-grid-card.unified-book-card,
  .seo-related .seo-grid-card.unified-book-card{padding:12px!important;}
}


/* V17.90 — show up to three Amazon category ranks on standard book cards. */
.amazon-rank-list{display:grid;gap:2px;margin-top:2px}
.amazon-rank-list .micro.amazon{margin:0;line-height:1.28}
.book-card .amazon-rank-list .rank-category-link,.unified-book-card .amazon-rank-list .rank-category-link{display:block}


/* =========================================================
   V17.93 — iPhone/mobile stabilization + consistent compact cards
   This final layer intentionally wins over older experimental breakpoints.
   ========================================================= */
@media(max-width:760px){
  html,body{max-width:100%;overflow-x:hidden}
  body{padding-bottom:env(safe-area-inset-bottom)}
  .wrap{width:min(calc(100% - 28px),1180px)}

  /* Header: one clean row. Desktop search/stats may never escape into mobile. */
  .site-header{position:relative;z-index:120;background:rgba(248,243,235,.98)}
  .site-header .wrap.nav{
    width:100%!important;min-height:74px!important;height:auto!important;padding:10px 14px!important;
    display:flex!important;grid-template-columns:none!important;align-items:center!important;gap:10px!important;overflow:visible!important;
  }
  .site-header .brand{min-width:0!important;flex:1 1 auto!important;gap:9px!important;overflow:hidden}
  .site-header .brand-mark{width:42px!important;height:42px!important;min-width:42px!important;border-radius:12px!important;font-size:20px!important}
  .site-header .brand strong{font-size:clamp(22px,7.2vw,30px)!important;line-height:1!important;white-space:nowrap!important}
  .site-header .brand-domain{font-size:.58em!important}
  .site-header nav{display:none!important}
  .site-header .header-tools{position:static!important;flex:0 0 auto!important;margin-left:auto!important;display:flex!important;align-items:center!important;gap:0!important;overflow:visible!important}
  .site-header .header-tools .search,.site-header .header-tools .library-stats{display:none!important}
  .site-header .reward-nav-btn{position:relative!important;width:42px!important;height:42px!important;min-width:42px!important;padding:0!important;margin:0!important;border-radius:12px!important;display:grid!important;place-items:center!important;overflow:visible!important}
  .site-header .reward-nav-label{display:none!important}
  .site-header .reward-nav-icon{width:24px!important;height:24px!important;min-width:24px!important;display:grid!important;place-items:center!important;border-radius:8px!important}
  .site-header .reward-nav-icon svg{display:block!important;width:15px!important;height:15px!important;max-width:15px!important;max-height:15px!important}

  /* Reward: always a fixed safe-area drawer on phones; never beneath footer. */
  .review-reward-rail,
  .review-reward-rail.review-reward-floating,
  .reward-global-rail,
  .review-reward-rail.is-footer-stopped,
  .review-reward-rail.review-reward-floating.is-footer-stopped,
  .reward-global-rail.is-footer-stopped{
    position:fixed!important;z-index:220!important;left:10px!important;right:10px!important;top:auto!important;
    bottom:calc(10px + env(safe-area-inset-bottom))!important;width:auto!important;max-width:none!important;margin:0!important;
    transform:translate3d(0,calc(100% + 34px),0)!important;
  }
  .review-reward-rail.is-open,
  .review-reward-rail.review-reward-floating.is-open,
  .reward-global-rail.is-open{
    transform:translate3d(0,0,0)!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;
  }
  .review-reward-rail .review-reward-card,
  .reward-global-rail .review-reward-card{
    width:100%!important;max-height:min(72dvh,620px)!important;overflow-y:auto!important;overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;border-radius:20px!important;
  }
  .review-reward-rail.is-viewport-clamped .review-reward-card,
  .reward-global-rail.is-viewport-clamped .review-reward-card{max-height:min(72dvh,620px)!important}

  /* Detail page: smaller cover and stable reading hierarchy. */
  .seo-detail-nav{padding-top:14px!important}
  .seo-breadcrumb{display:none!important}
  .seo-book-page,.seo-book-page.has-reward-rail{
    display:flex!important;flex-direction:column!important;gap:18px!important;padding:16px 0 34px!important;
  }
  .seo-book-cover{position:static!important;width:100%!important;max-width:190px!important;margin:0 auto!important;order:1!important}
  .seo-book-cover>img{width:100%!important;height:auto!important;aspect-ratio:2/3!important;object-fit:cover!important;border-radius:16px!important}
  .seo-buy-panel{margin-top:12px!important}
  .seo-book-copy{order:2!important;min-width:0!important}
  .seo-book-copy>.kicker{font-size:8.5px!important;line-height:1.35!important}
  .seo-book-copy h1{font-size:clamp(31px,10vw,42px)!important;line-height:1.02!important;overflow-wrap:anywhere!important}
  .seo-byline,.seo-series-line,.seo-genres,.seo-store-categories,.seo-dates{font-size:12px!important;line-height:1.5!important}
  .seo-book-copy .badges{gap:6px!important;margin:10px 0!important}
  .seo-book-copy .badge{padding:6px 8px!important;font-size:9px!important}
  .market-proof{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
  .proof-box{min-width:0!important;padding:10px!important}
  .review-highlight{margin:14px 0!important;padding:13px 14px!important}

  /* Static branch + related cards: compact horizontal layout instead of very tall covers. */
  .seo-list-section .seo-card-grid,
  .seo-related .seo-card-grid,
  .editors-collection-list .seo-card-grid{
    grid-template-columns:1fr!important;grid-auto-rows:auto!important;gap:12px!important;align-items:stretch!important;
  }
  .seo-list-section .seo-grid-card.unified-book-card,
  .seo-related .seo-grid-card.unified-book-card,
  .editors-collection-list .seo-grid-card.unified-book-card{
    display:grid!important;grid-template-columns:96px minmax(0,1fr)!important;gap:12px!important;
    height:auto!important;min-height:0!important;padding:10px!important;border-radius:17px!important;align-items:start!important;
  }
  .seo-list-section .seo-grid-card.unified-book-card>.cover-link,
  .seo-related .seo-grid-card.unified-book-card>.cover-link,
  .editors-collection-list .seo-grid-card.unified-book-card>.cover-link{
    width:96px!important;aspect-ratio:2/3!important;overflow:hidden!important;align-self:start!important;
  }
  .seo-list-section .seo-grid-card.unified-book-card>.cover-link>.cover-img,
  .seo-related .seo-grid-card.unified-book-card>.cover-link>.cover-img,
  .editors-collection-list .seo-grid-card.unified-book-card>.cover-link>.cover-img{
    width:100%!important;height:100%!important;aspect-ratio:auto!important;object-fit:cover!important;border-radius:12px!important;box-shadow:none!important;
  }
  .seo-list-section .seo-grid-card.unified-book-card>.card-body,
  .seo-related .seo-grid-card.unified-book-card>.card-body,
  .editors-collection-list .seo-grid-card.unified-book-card>.card-body{
    padding:1px 0 0!important;min-width:0!important;display:flex!important;flex-direction:column!important;
  }
  .seo-list-section .seo-grid-card.unified-book-card h3,
  .seo-related .seo-grid-card.unified-book-card h3,
  .editors-collection-list .seo-grid-card.unified-book-card h3{
    font-size:15px!important;line-height:1.28!important;margin:5px 0 4px!important;
    display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important;
  }
  .seo-list-section .seo-grid-card.unified-book-card .store-row,
  .seo-related .seo-grid-card.unified-book-card .store-row{font-size:10px!important}
  .seo-list-section .seo-grid-card.unified-book-card .author-badge,
  .seo-related .seo-grid-card.unified-book-card .author-badge{font-size:8.5px!important;min-height:17px!important;padding:1px 5px!important}
  .seo-list-section .seo-grid-card.unified-book-card .card-genre-link,
  .seo-list-section .seo-grid-card.unified-book-card .card-series-link,
  .seo-related .seo-grid-card.unified-book-card .card-genre-link,
  .seo-related .seo-grid-card.unified-book-card .card-series-link{font-size:8px!important;min-height:19px!important;padding:2px 6px!important}
  .seo-list-section .seo-grid-card.unified-book-card .card-meta-tail,
  .seo-related .seo-grid-card.unified-book-card .card-meta-tail{margin-top:7px!important;padding-top:0!important;gap:2px!important}
  .seo-list-section .seo-grid-card.unified-book-card .time-meta,
  .seo-related .seo-grid-card.unified-book-card .time-meta,
  .seo-list-section .seo-grid-card.unified-book-card .amazon-rank-list .micro.amazon,
  .seo-related .seo-grid-card.unified-book-card .amazon-rank-list .micro.amazon{font-size:9px!important;line-height:1.28!important;white-space:normal!important}

  /* Homepage Editor's Picks: one direction only — cover above, text below. */
  .editor-grid{grid-template-columns:1fr!important;gap:12px!important}
  .editor-card{display:block!important;padding:14px!important;min-height:0!important}
  .editor-card .editor-cover-link{display:block!important;width:128px!important;margin:0 auto 13px!important}
  .editor-card .cover-img{display:block!important;width:128px!important;height:192px!important;object-fit:cover!important;margin:0 auto!important}
  .editor-card-copy{width:100%!important;text-align:left!important}
  .editor-card h3{font-size:17px!important}

  /* Footer remains readable and never competes with drawers. */
  .footer-grid-editorial{grid-template-columns:1fr!important;gap:28px!important}
  .footer-discover-links,.footer-policy-links{justify-self:start!important;min-width:0!important}
  .footer-bottom{display:grid!important;gap:8px!important;padding-bottom:calc(22px + env(safe-area-inset-bottom))!important}
}

@media(max-width:420px){
  .site-header .brand strong{font-size:22px!important}
  .site-header .brand-mark{width:40px!important;height:40px!important;min-width:40px!important}
  .market-proof{grid-template-columns:1fr!important}
  .seo-book-cover{max-width:178px!important}
}


/* Digital-store / domain-review legal surfaces */
.footer-grid-editorial{grid-template-columns:minmax(0,2.2fr) minmax(150px,.55fr) minmax(190px,.68fr)!important;gap:44px!important}
.footer-policy-links{justify-self:end;min-width:190px}
.footer-policy-links a{white-space:nowrap}
.legal-page{padding:42px 0 64px;max-width:980px}
.legal-hero{padding:30px 0 24px;border-bottom:1px solid var(--line)}
.legal-hero h1{font-size:clamp(38px,6vw,62px);line-height:1;margin:7px 0 12px}
.legal-hero p{max-width:70ch;color:var(--muted);font-size:15px;line-height:1.7;margin:0}
.legal-card{margin-top:24px;background:var(--paper);border:1px solid var(--line);border-radius:22px;padding:26px 28px;box-shadow:0 12px 30px rgba(58,41,31,.045)}
.legal-section+.legal-section{margin-top:25px;padding-top:22px;border-top:1px solid var(--line)}
.legal-section h2{font-size:25px;margin:0 0 9px}
.legal-section p,.legal-section li{color:#5e5149;font-size:14px;line-height:1.72}
.legal-section a,.legal-email{color:var(--brand);font-weight:800;text-decoration:underline;text-underline-offset:2px}
.store-products{display:grid;gap:14px;margin:24px 0}
.store-product,.store-empty{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px;align-items:start;background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:22px;box-shadow:0 10px 25px rgba(58,41,31,.04)}
.store-product h2{font-family:"DM Sans",sans-serif;font-size:21px;margin:6px 0}
.store-product p,.store-product li,.store-product small,.store-empty p{color:var(--muted);font-size:13px;line-height:1.6}
.store-price{text-align:right;white-space:nowrap}.store-price span{display:block;color:var(--muted);font-size:10px}.store-price strong{font:800 30px/1 "Playfair Display",serif;color:var(--brand)}
@media(max-width:760px){
  .legal-page{padding:24px 0 42px}.legal-hero{padding:18px 0}.legal-card{padding:18px;border-radius:18px}.legal-section h2{font-size:22px}.store-product,.store-empty{grid-template-columns:1fr;padding:18px}.store-price{text-align:left}.footer-policy-links{justify-self:start}
}

/* ========================= V17.94 — GoodReview eBook Store ========================= */
.nav-store-link{display:inline-flex!important;align-items:center;gap:6px;padding:7px 10px;border:1px solid #d9bea8;border-radius:9px;background:#f7e8da;color:var(--brand)!important;box-shadow:0 4px 12px rgba(75,45,32,.08)}
.nav-store-link:before{content:'▣';font-size:10px;color:var(--accent2)}.nav-store-link:hover,.nav-store-link:focus-visible{background:var(--brand);border-color:var(--brand);color:#fff!important;outline:none}
.store-home{padding:42px 0 60px}.store-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);gap:22px;align-items:stretch;margin-bottom:34px}.store-hero-main{border:1px solid var(--line);border-radius:28px;padding:34px;background:linear-gradient(135deg,#fffaf4 0%,#f6eadf 100%);box-shadow:var(--shadow)}.store-hero-main h1{font-size:clamp(42px,5vw,72px);line-height:.98;margin:8px 0 14px}.store-hero-main p{max-width:720px;color:#6d5d52;line-height:1.65}.store-hero-note{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.store-hero-note span{border:1px solid #e3d4c8;background:#fff;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:800;color:#6b4a3b}.store-cart-card{border-radius:28px;padding:28px;background:#2b1b16;color:#fff;display:flex;flex-direction:column;justify-content:space-between}.store-cart-card .kicker{color:#e78665}.store-cart-card h2{font-size:32px;margin:7px 0 8px}.store-cart-card p{color:#cbbdb5;line-height:1.55}.store-cart-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:12px 16px;background:#fff;color:#2b1b16;font-weight:900;cursor:pointer}
.store-section{margin:34px 0 44px}.store-section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:17px}.store-section-head h2{font-size:34px}.store-section-head p{margin:6px 0 0;color:var(--muted);font-size:13px}.store-see-more{font-weight:900;color:var(--brand);text-decoration:none;white-space:nowrap}.store-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.store-book-card{display:flex;flex-direction:column;min-width:0;background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:12px;box-shadow:0 10px 24px rgba(59,37,27,.06)}.store-book-card .store-cover{display:block;aspect-ratio:2/3;overflow:hidden;border-radius:13px;background:#eee}.store-book-card .store-cover img{width:100%;height:100%;object-fit:cover;display:block}.store-book-card h3{font-family:'DM Sans',sans-serif;font-size:15px;line-height:1.28;margin:10px 0 4px}.store-book-card h3 a{color:inherit;text-decoration:none}.store-book-author{font-size:11px;color:var(--muted);min-height:29px}.store-book-meta{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.store-format{font-size:8px;font-weight:900;letter-spacing:.05em;border:1px solid #e5d7cb;border-radius:999px;padding:4px 6px;background:#fbf6f1;color:#6a5145}.store-card-bottom{margin-top:auto;padding-top:8px}.store-price-row{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:8px}.store-price-row strong{font-size:20px;color:var(--brand)}.store-price-row small{font-size:9px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.store-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.store-card-actions button,.store-card-actions a{border:1px solid #dbcabb;border-radius:9px;padding:8px 7px;font-size:10px;font-weight:900;text-align:center;text-decoration:none;cursor:pointer}.store-card-actions .buy{background:var(--brand);border-color:var(--brand);color:#fff}.store-card-actions .add{background:#fff;color:var(--brand)}.store-card-actions .details{grid-column:1/-1;background:#f7efe7;color:#6b4a3b}
.store-list-page{padding:40px 0 64px}.store-list-hero{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:22px}.store-list-hero h1{font-size:clamp(42px,6vw,66px);margin:5px 0}.store-list-hero p{color:var(--muted);max-width:680px}.store-list-page .store-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.store-product-page{padding:38px 0 64px}.store-product-hero{display:grid;grid-template-columns:300px minmax(0,1fr);gap:36px;align-items:start;border:1px solid var(--line);border-radius:30px;background:linear-gradient(145deg,#fffaf5,#f8eee5);padding:30px}.store-product-cover img{width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:18px;box-shadow:0 20px 38px rgba(47,29,22,.18)}.store-product-copy h1{font-size:clamp(40px,5vw,65px);line-height:1.02;margin:8px 0 10px}.store-product-author{font-size:16px;color:#705f55}.store-product-summary{line-height:1.72;color:#564c45;margin:18px 0}.store-product-facts{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.store-product-facts span{border:1px solid #e0d0c3;background:#fff;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:800}.store-buy-panel{border:1px solid #dcc6b5;border-radius:20px;background:#fff;padding:18px;margin-top:18px}.store-buy-top{display:flex;align-items:center;justify-content:space-between;gap:16px}.store-buy-top strong{font-size:32px;color:var(--brand)}.store-buy-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:13px}.store-buy-actions button{border:0;border-radius:999px;padding:12px 18px;font-weight:900;cursor:pointer}.store-buy-actions .buy{background:var(--brand);color:#fff}.store-buy-actions .add{background:#f0dfd0;color:var(--brand)}.store-pending-note{margin-top:10px;font-size:11px;color:#8a7466}.store-compare{margin-top:24px;border-top:1px solid #e3d5ca;padding-top:20px}.store-compare h2{font-size:25px}.store-amazon-compare{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #e2d5ca;border-radius:14px;padding:14px 16px;background:#fff;text-decoration:none;color:inherit}.store-amazon-compare strong{display:block}.store-amazon-compare small{color:var(--muted)}.store-amazon-price{font-weight:900;color:#b5650d}.store-content-card{margin-top:24px;border:1px solid var(--line);border-radius:22px;background:#fff;padding:24px}.store-content-card h2{font-size:29px;margin-bottom:10px}.store-content-card p{line-height:1.8;color:#544b45}.store-rights-note{margin-top:20px;padding:14px 16px;border-radius:13px;background:#fff7e8;border:1px solid #ecd6ae;color:#73572a;font-size:11px;line-height:1.55}
.store-cart-overlay{display:none;position:fixed;inset:0;background:rgba(28,17,13,.52);z-index:5000;padding:16px;justify-content:flex-end}.store-cart-overlay.open{display:flex}.store-cart-drawer{width:min(430px,100%);height:100%;background:#fffaf5;border-radius:22px;padding:20px;overflow:auto;box-shadow:0 30px 70px rgba(0,0,0,.25)}.store-cart-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.store-cart-head h2{font-size:30px}.store-cart-close{border:0;background:#efe2d8;border-radius:50%;width:36px;height:36px;font-size:22px;cursor:pointer}.store-cart-line{display:grid;grid-template-columns:54px 1fr 32px;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #eaded4}.store-cart-line img{width:54px;aspect-ratio:2/3;object-fit:cover;border-radius:7px}.store-cart-line strong{display:block;font-size:12px;line-height:1.25}.store-cart-line small{display:block;margin-top:3px;color:var(--muted);font-size:10px}.store-cart-line button{border:0;background:transparent;font-size:22px;cursor:pointer}.store-cart-footer{margin-top:18px}.store-cart-total{display:flex;justify-content:space-between;font-weight:900;font-size:18px;margin-bottom:12px}.store-cart-checkout{width:100%;border:0;border-radius:999px;background:var(--brand);color:#fff;padding:13px 16px;font-weight:900;cursor:pointer}.store-cart-empty{color:var(--muted)}.store-toast{position:fixed;left:50%;bottom:22px;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#2d1c16;color:#fff;border-radius:999px;padding:10px 15px;font-size:12px;font-weight:800;z-index:6000;transition:.2s}.store-toast.show{opacity:1;transform:translate(-50%,0)}.store-cart-open{overflow:hidden}
@media(max-width:1180px){.store-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.store-list-page .store-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.store-home{padding-top:20px}.store-hero{grid-template-columns:1fr}.store-hero-main{padding:24px}.store-hero-main h1{font-size:44px}.store-cart-card{padding:22px}.store-grid,.store-list-page .store-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.store-section{margin:27px 0 36px}.store-section-head{align-items:flex-start}.store-section-head h2{font-size:28px}.store-product-hero{grid-template-columns:1fr;padding:18px;gap:22px}.store-product-cover{max-width:210px;margin:auto}.store-product-copy h1{font-size:39px}.store-buy-top{align-items:flex-end}.store-buy-actions{display:grid;grid-template-columns:1fr 1fr}.store-list-hero{align-items:flex-start;flex-direction:column}.store-book-card{padding:9px}.store-book-card h3{font-size:13px}.store-card-actions{grid-template-columns:1fr}.store-card-actions .details{grid-column:auto}.nav-store-link{padding:6px 8px}}

/* V17.95 — Store context + back navigation; branch cards hide visual Amazon rank rows */
.store-page-nav{display:flex;align-items:center;margin:0 0 18px}
.store-back-link{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:8px 13px;border:1px solid #dfcfc1;border-radius:999px;background:#fffaf6;color:var(--brand);font-size:12px;font-weight:900;text-decoration:none;box-shadow:0 5px 14px rgba(59,37,27,.04)}
.store-back-link:hover,.store-back-link:focus-visible{background:var(--brand);border-color:var(--brand);color:#fff;outline:none}
.store-card-body{display:flex;flex:1;min-width:0;flex-direction:column}
.store-card-rating{margin:9px 0 1px;color:#b5650d;font-size:11px;font-weight:900;line-height:1.25}
.store-card-rating.is-muted{color:var(--muted);font-weight:700}
.store-card-taxonomy{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0 2px}
.store-taxonomy-pill{display:inline-flex;align-items:center;min-height:22px;padding:3px 7px;border:1px solid #e4d5c8;border-radius:999px;background:#fbf6f1;color:#6a5145;font-size:8.5px;font-weight:800;line-height:1.2;text-decoration:none}
.store-taxonomy-pill:hover,.store-taxonomy-pill:focus-visible{background:#f0dfd0;color:var(--brand);outline:none}
.store-series-pill{background:#f4e7da;color:#533426}
.store-card-published{margin-top:7px;color:#9a877b;font-size:9.5px;line-height:1.25}
.store-product-context{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:13px 0 4px}
.store-product-context>*{display:inline-flex;align-items:center;min-height:29px;padding:5px 9px;border:1px solid #e2d3c7;border-radius:999px;background:#fff;font-size:10px;font-weight:800;line-height:1.2;text-decoration:none}
.store-product-rating{color:#b5650d!important}
.store-product-taxonomy{color:#68493b!important}
.store-product-published{color:#7d6d63!important;font-weight:700!important}
/* List/branch cards keep Amazon rank as hidden sort metadata only. */
.seo-list-section .unified-book-card .amazon-rank-list,
.seo-related .unified-book-card .amazon-rank-list,
.editors-collection-list .unified-book-card .amazon-rank-list{display:none!important}
@media(max-width:760px){
  .store-page-nav{margin:0 0 13px}
  .store-back-link{min-height:36px;padding:7px 11px;font-size:11px}
  .store-card-rating{font-size:10px;margin-top:7px}
  .store-card-taxonomy{gap:4px;margin-top:6px}
  .store-taxonomy-pill{font-size:7.5px;min-height:20px;padding:3px 6px}
  .store-card-published{font-size:8.5px;margin-top:6px}
  .store-product-context{gap:5px;margin-top:10px}
  .store-product-context>*{min-height:27px;padding:4px 8px;font-size:9px}
}

/* V17.98 — D1-controlled eBook Store visibility */
[data-ebook-store-link][hidden]{display:none!important}

/* V17.99 — Shopify live pricing + GoodReview cart -> Shopify Checkout */
[data-store-price].is-loading{opacity:.62}.store-card-actions button:disabled,.store-buy-actions button:disabled,.store-cart-checkout:disabled{opacity:.48;cursor:not-allowed;filter:grayscale(.35)}
.store-cart-checkout.is-loading{position:relative}.store-payment-page{padding:48px 0 72px}.store-payment-card{max-width:760px;margin:0 auto;border:1px solid var(--line);border-radius:28px;background:linear-gradient(145deg,#fffaf5,#f8eee5);padding:34px;box-shadow:var(--shadow)}.store-payment-card h1{font-size:clamp(38px,5vw,60px);line-height:1.04;margin:8px 0 18px}.store-payment-card>p{color:var(--muted);line-height:1.7}.store-payment-state{border-radius:16px;padding:16px 18px;margin:18px 0;font-size:14px;line-height:1.55}.store-payment-state.pending{background:#fff7e8;border:1px solid #ecd6ae;color:#73572a}.store-payment-state.paid{background:#edf8ef;border:1px solid #b9ddc1;color:#28643a}.store-payment-state.error{background:#fff0ed;border:1px solid #efc1b7;color:#8c3f31}.store-payment-state strong,.store-payment-state span{display:block}.store-payment-card .btn{display:inline-flex;margin-top:8px;text-decoration:none}
@media(max-width:760px){.store-payment-page{padding:24px 0 48px}.store-payment-card{padding:22px;border-radius:21px}.store-payment-card h1{font-size:38px}}

/* ========================= V17.109 — header cart + cart viewport fix + product price polish ========================= */
.header-cart-btn{position:relative;display:inline-grid;place-items:center;width:42px;height:42px;min-width:42px;border:1px solid #decdbf;border-radius:12px;background:#fffaf6;color:var(--brand);text-decoration:none;box-shadow:0 5px 14px rgba(59,37,27,.05);transition:.16s ease}
.header-cart-btn:hover,.header-cart-btn:focus-visible{background:var(--brand);border-color:var(--brand);color:#fff;outline:none;transform:translateY(-1px)}
.header-cart-icon{display:grid;place-items:center;width:21px;height:21px}.header-cart-icon svg{display:block;width:19px;height:19px}
.header-cart-count{position:absolute;right:-5px;top:-6px;display:grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#d96e4f;color:#fff;border:2px solid #f8f3eb;font:800 9px/1 "DM Sans",sans-serif;box-shadow:0 3px 8px rgba(66,36,25,.16)}
.store-detail-price{display:flex;flex-direction:column;gap:6px;min-width:0}.store-detail-price-label{font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:#9a725f}.store-detail-price-line{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.store-detail-price-line strong{font:800 clamp(30px,3vw,40px)/1 "DM Sans",sans-serif!important;letter-spacing:-.04em;color:#4b2d23!important}.store-detail-price-line span{font-size:10px;font-weight:800;color:#927d71;padding:5px 8px;border-radius:999px;background:#f7eee7;border:1px solid #ead9cc}
/* The cart markup is moved to <body> by store.js so this fixed layer is always viewport-relative, even while page-transition <main> is transformed. */
.store-cart-overlay{padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));align-items:stretch;overscroll-behavior:contain}
.store-cart-drawer{height:auto!important;max-height:calc(100dvh - max(24px,env(safe-area-inset-top) + env(safe-area-inset-bottom)));overscroll-behavior:contain;scrollbar-gutter:stable}
@media(max-width:760px){.header-cart-btn{width:42px;height:42px;min-width:42px;margin-right:6px}.site-header .header-tools{gap:6px!important}.store-cart-overlay{padding:8px}.store-cart-drawer{max-height:calc(100dvh - 16px);border-radius:18px;padding:17px}.store-detail-price-line strong{font-size:32px!important}}

/* ========================= V17.110 — header spacing, compact Rewards, cart after Top Picks ========================= */
@media(min-width:1161px){
  .site-header .wrap.nav{width:min(calc(100% - 22px),1740px);column-gap:20px}
  .site-header nav{gap:clamp(12px,1vw,20px)}
  .site-header .header-tools{gap:7px;margin-left:auto}
  .site-header .header-tools .search{width:clamp(215px,15vw,285px);flex-basis:clamp(215px,15vw,285px)}
}
.reward-nav-btn{height:38px;padding:0 9px;border-radius:999px;gap:6px;box-shadow:0 4px 12px rgba(91,54,35,.06)}
.reward-nav-icon{width:22px;height:22px;min-width:22px;border-radius:7px}.reward-nav-icon svg{width:14px;height:14px}.reward-nav-label{font-size:10px;letter-spacing:.01em}.reward-nav-count{min-width:18px;height:18px;padding:0 5px;font-size:8px}
.header-cart-btn{margin-left:2px}
.store-detail-price{display:grid;grid-template-columns:auto 1fr;grid-template-areas:"label label" "price note";align-items:end;column-gap:12px;row-gap:4px;padding:12px 14px;border:1px solid #eadbd0;border-radius:14px;background:linear-gradient(180deg,#fffaf6,#fbf4ee);width:max-content;max-width:100%}
.store-detail-price-label{grid-area:label;font-size:9px;letter-spacing:.13em;color:#9a725f}
.store-detail-price>strong{grid-area:price;font:800 clamp(28px,2.6vw,36px)/1 "DM Sans",sans-serif!important;letter-spacing:-.035em;color:#4b2d23!important}
.store-detail-price>small{grid-area:note;align-self:center;font-size:9px;font-weight:700;color:#8e7a70;white-space:nowrap}
@media(max-width:1320px) and (min-width:1161px){.site-header .reward-nav-label{display:inline!important}.site-header .reward-nav-btn{width:auto!important;padding:0 8px!important}}
@media(max-width:1160px) and (min-width:761px){.site-header .header-cart-btn{margin-left:0}.site-header .reward-nav-btn{height:40px}}
@media(max-width:760px){.site-header .header-cart-btn{order:2;margin-right:0}.site-header .reward-nav-btn{order:1}.store-detail-price{grid-template-columns:auto;grid-template-areas:"label" "price" "note";width:100%}.store-detail-price>small{white-space:normal}}

/* V17.111 — animated GoodReview cart, quantity controls, payment badges and Store genre filters */
.store-cart-overlay{
  display:flex!important;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .22s ease,visibility 0s linear .22s;
}
.store-cart-overlay.open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transition:opacity .22s ease;
}
.store-cart-drawer{
  transform:translate3d(34px,0,0);
  opacity:.96;
  transition:transform .28s cubic-bezier(.22,.8,.22,1),opacity .22s ease;
  will-change:transform;
}
.store-cart-overlay.open .store-cart-drawer{transform:translate3d(0,0,0);opacity:1}
.store-cart-copy{min-width:0}
.store-cart-qty{display:grid;grid-template-columns:28px 44px 28px minmax(74px,1fr);align-items:center;gap:5px;margin-top:9px}
.store-cart-qty button{display:grid;place-items:center;width:28px;height:28px;border:1px solid #dfcfc2!important;border-radius:8px;background:#fffaf5!important;color:#4a2a20;font-size:16px!important;font-weight:800;line-height:1;transition:background .16s ease,border-color .16s ease,transform .12s ease}
.store-cart-qty button:hover{background:#f5e9de!important;border-color:#c9ab99!important}.store-cart-qty button:active{transform:scale(.94)}
.store-cart-qty input{width:44px;height:28px;border:1px solid #dfcfc2;border-radius:8px;background:#fff;text-align:center;font:700 12px/1 'DM Sans',sans-serif;color:#3b251e;appearance:textfield;-moz-appearance:textfield}
.store-cart-qty input::-webkit-outer-spin-button,.store-cart-qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.store-cart-line-total{text-align:right;font-size:12px;font-weight:900;color:#3d251d;white-space:nowrap}
.store-payment-methods{border-top:1px solid #eaded4;margin:12px 0 14px;padding-top:12px}
.store-payment-label{display:block;margin-bottom:7px;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#8d7364}
.store-payment-badges{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.pay-badge{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:4px 8px;border:1px solid #dfd5ce;border-radius:6px;background:#fff;color:#31231e;font:800 9px/1 'DM Sans',sans-serif;letter-spacing:.02em}
.pay-badge.shoppay{background:#5a31f4;color:#fff;border-color:#5a31f4}.pay-badge.visa{background:#1337a5;color:#fff;border-color:#1337a5;font-style:italic}.pay-badge.amex{background:#1474c4;color:#fff;border-color:#1474c4}.pay-badge.mc{position:relative;min-width:42px;color:transparent;overflow:hidden}.pay-badge.mc:before,.pay-badge.mc:after{content:'';position:absolute;width:15px;height:15px;border-radius:50%;top:4px}.pay-badge.mc:before{left:9px;background:#e74b30}.pay-badge.mc:after{left:18px;background:#f0a12d;mix-blend-mode:multiply}.pay-badge.more{background:#f5f2ef;color:#6e5b51}
.store-subgenre-chips{display:flex;flex-wrap:wrap;gap:8px;margin:13px 0 16px}
.store-subgenre-chips button{border:1px solid #dfcfc2;border-radius:999px;background:#fffaf5;color:#4a3027;padding:8px 12px;font:800 11px/1 'DM Sans',sans-serif;cursor:pointer;transition:.16s ease}
.store-subgenre-chips button:hover{border-color:#c9ab99;background:#f7eee7}.store-subgenre-chips button.active{background:#573126;border-color:#573126;color:#fff}
.store-book-card[hidden]{display:none!important}
@media(max-width:760px){.store-cart-qty{grid-template-columns:30px 46px 30px minmax(68px,1fr)}.store-payment-badges{gap:5px}.pay-badge{padding:4px 6px}.store-cart-drawer{transform:translate3d(24px,0,0)}}
@media(prefers-reduced-motion:reduce){.store-cart-overlay,.store-cart-drawer{transition:none!important}}

/* ========================= V17.113 — GoodReview Thank You + private download History ========================= */
.header-history-btn{position:relative;display:inline-grid;place-items:center;width:42px;height:42px;min-width:42px;border:1px solid #decdbf;border-radius:12px;background:#fffaf6;color:var(--brand);box-shadow:0 5px 14px rgba(59,37,27,.05);cursor:pointer;transition:.16s ease}
.header-history-btn:hover,.header-history-btn:focus-visible{background:var(--brand);border-color:var(--brand);color:#fff;outline:none;transform:translateY(-1px)}
.header-history-icon{display:grid;place-items:center;width:21px;height:21px}.header-history-icon svg{display:block;width:20px;height:20px}.header-history-count{position:absolute;right:-5px;top:-6px;display:grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#7a4d3c;color:#fff;border:2px solid #f8f3eb;font:800 9px/1 "DM Sans",sans-serif}
.store-history-overlay{position:fixed;inset:0;z-index:2600;display:flex;align-items:flex-start;justify-content:flex-end;padding:72px 18px 18px;background:rgba(35,24,20,.34);backdrop-filter:blur(3px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s ease,visibility 0s linear .2s}
.store-history-overlay.open{opacity:1;visibility:visible;pointer-events:auto;transition:opacity .2s ease}
.store-history-panel{width:min(780px,calc(100vw - 36px));max-height:calc(100dvh - 92px);overflow:auto;border:1px solid #dfcec1;border-radius:22px;background:#fffaf6;box-shadow:0 28px 80px rgba(50,28,20,.24);transform:translateY(-10px) scale(.985);transition:transform .24s cubic-bezier(.22,.8,.22,1);scrollbar-gutter:stable}
.store-history-overlay.open .store-history-panel{transform:translateY(0) scale(1)}
.store-history-head{position:sticky;top:0;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 22px 16px;border-bottom:1px solid #eaded4;background:rgba(255,250,246,.96);backdrop-filter:blur(12px)}
.store-history-head h2{margin:4px 0 3px;font:700 30px/1.05 "Playfair Display",serif;color:#2f1d17}.store-history-head p{margin:0;color:#806d63;font-size:12px}
.store-history-content{padding:12px 18px 18px}.store-history-loading,.store-history-empty{display:flex;flex-direction:column;gap:6px;padding:28px;border:1px dashed #ddcbbb;border-radius:16px;text-align:center;color:#816c60;background:#fff}.store-history-empty strong{font-size:14px;color:#4a3027}.store-history-empty span{font-size:11px;line-height:1.5}
.store-history-table{display:grid;gap:0;border:1px solid #eaded4;border-radius:15px;overflow:hidden;background:#fff}.store-history-row{display:grid;grid-template-columns:34px minmax(180px,1.6fr) 105px minmax(160px,1fr) 120px;align-items:center;gap:10px;min-height:64px;padding:10px 12px;border-top:1px solid #f0e5dc;font-size:10px;color:#6d594f}.store-history-row:first-child{border-top:0}.store-history-row.head{min-height:38px;background:#f7eee7;color:#8c7163;font-size:8px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.store-history-book{display:flex;flex-direction:column;gap:3px;min-width:0}.store-history-book strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#3b251e;font-size:11px}.store-history-book small{color:#917c71;font-size:9px}.store-history-num{font-weight:900;color:#9a7969}.store-history-downloads{display:flex;flex-wrap:wrap;gap:5px}.store-history-row .expired{color:#b05c4d}.store-history-foot{padding:11px 20px 16px;color:#927c70;font-size:9px;text-align:center}
.store-download-btn{display:inline-flex;align-items:center;gap:5px;padding:7px 9px;border-radius:9px;background:#573126;color:#fff!important;text-decoration:none!important;font:800 9px/1 "DM Sans",sans-serif;box-shadow:0 3px 8px rgba(87,49,38,.12);transition:.15s ease}.store-download-btn:hover{background:#6d4031;transform:translateY(-1px)}.store-download-btn small{font-size:7px;color:#eadbd2}.store-download-btn.disabled{background:#d7cbc4;color:#88776e!important;pointer-events:none;box-shadow:none}.store-download-missing{display:inline-flex;padding:7px 9px;border-radius:9px;background:#f4ede8;color:#927a6e;font-size:8px;font-weight:800}
.store-thanks-page{padding:46px 0 74px}.store-thanks-shell{max-width:980px;margin:0 auto;border:1px solid #e0cfc1;border-radius:30px;background:linear-gradient(155deg,#fffdfb 0%,#fff8f1 56%,#f5e8df 100%);box-shadow:0 28px 80px rgba(66,39,29,.12);overflow:hidden}.store-thanks-hero{display:flex;align-items:center;gap:22px;padding:34px 38px 25px;background:radial-gradient(circle at 86% 10%,rgba(227,169,132,.18),transparent 33%)}.store-thanks-check{display:grid;place-items:center;width:62px;height:62px;min-width:62px;border-radius:50%;background:#e9f5ec;border:1px solid #b8dac2;color:#2d714e;font:900 31px/1 "DM Sans",sans-serif;box-shadow:inset 0 0 0 7px rgba(255,255,255,.55)}.store-thanks-hero h1{margin:4px 0 5px;font:700 clamp(38px,5vw,58px)/1.02 "Playfair Display",serif;color:#2d1c16}.store-thanks-hero p{margin:0;color:#78665d;font-size:13px;line-height:1.6}.store-thanks-shell>.store-payment-state{margin:0 38px 18px}.store-thanks-orderbar{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0 38px 20px;padding:14px;border:1px solid #e6d7cd;border-radius:15px;background:rgba(255,255,255,.72)}.store-thanks-orderbar span{display:flex;flex-direction:column;gap:4px;padding:2px 9px}.store-thanks-orderbar small{font-size:8px;text-transform:uppercase;letter-spacing:.08em;font-weight:900;color:#a08374}.store-thanks-orderbar strong{font-size:12px;color:#442b22}.store-thanks-books{display:grid;gap:12px;padding:0 38px 24px}.store-thanks-loading{display:flex;justify-content:center;gap:6px;padding:36px}.store-thanks-loading span{width:9px;height:9px;border-radius:50%;background:#8c6150;animation:storeDot 1s infinite ease-in-out}.store-thanks-loading span:nth-child(2){animation-delay:.12s}.store-thanks-loading span:nth-child(3){animation-delay:.24s}@keyframes storeDot{0%,80%,100%{transform:scale(.6);opacity:.45}40%{transform:scale(1);opacity:1}}
.store-thanks-book{display:grid;grid-template-columns:88px 1fr;gap:18px;padding:15px;border:1px solid #eaded4;border-radius:19px;background:#fff;box-shadow:0 7px 22px rgba(70,42,31,.05)}.store-thanks-cover{width:88px;aspect-ratio:2/3;border-radius:12px;overflow:hidden;background:#eee2d9;display:grid;place-items:center;color:#9b7d6f;font-size:10px;font-weight:900}.store-thanks-cover img{width:100%;height:100%;object-fit:cover}.store-thanks-book-copy{display:flex;align-items:center;justify-content:space-between;gap:18px}.store-thanks-book-copy h2{margin:0 0 4px;font:700 21px/1.15 "Playfair Display",serif;color:#352019}.store-thanks-book-copy p{margin:0;color:#806b60;font-size:11px}.store-thanks-book-copy small{display:block;margin-top:5px;color:#a18475;font-size:9px}.store-thanks-downloads{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.store-thanks-downloads .store-download-btn{min-width:88px;justify-content:center;padding:11px 13px;font-size:10px}
.store-thanks-tip{margin:0 38px 22px;padding:16px 18px;border:1px solid #dfc8b6;border-radius:15px;background:#f8eee5;color:#6e5549}.store-thanks-tip strong{display:block;margin-bottom:5px;font-size:11px;color:#4b3026}.store-thanks-tip p{margin:0;font-size:10px;line-height:1.55}.store-thanks-actions{display:flex;gap:10px;padding:0 38px 34px}.store-thanks-actions .btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 18px;border:1px solid #d8c2b4;border-radius:12px;background:#fff9f4;color:#573126;font-weight:800;cursor:pointer;text-decoration:none}.store-thanks-actions .btn.primary{background:#573126;border-color:#573126;color:#fff}
@media(max-width:760px){.header-history-btn{order:3;width:42px;height:42px;min-width:42px}.store-history-overlay{padding:58px 8px 8px}.store-history-panel{width:100%;max-height:calc(100dvh - 66px);border-radius:18px}.store-history-row.head{display:none}.store-history-row{grid-template-columns:28px minmax(0,1fr);gap:7px;padding:12px}.store-history-row>span:nth-child(n+3){grid-column:2}.store-history-downloads{margin-top:3px}.store-thanks-page{padding:20px 10px 44px}.store-thanks-shell{border-radius:22px}.store-thanks-hero{padding:24px 20px 18px;align-items:flex-start}.store-thanks-check{width:48px;height:48px;min-width:48px;font-size:24px}.store-thanks-shell>.store-payment-state,.store-thanks-orderbar,.store-thanks-tip{margin-left:20px;margin-right:20px}.store-thanks-orderbar{grid-template-columns:1fr}.store-thanks-books{padding-left:20px;padding-right:20px}.store-thanks-book{grid-template-columns:70px 1fr}.store-thanks-cover{width:70px}.store-thanks-book-copy{align-items:flex-start;flex-direction:column}.store-thanks-downloads{justify-content:flex-start}.store-thanks-actions{padding:0 20px 24px;flex-direction:column}.store-thanks-actions .btn{width:100%}}
@media(prefers-reduced-motion:reduce){.store-history-overlay,.store-history-panel,.store-download-btn{transition:none!important}.store-thanks-loading span{animation:none!important}}

/* V17.115: Store controls follow the Analytics eBook Store Active/Inactive state. */
.ebook-store-disabled .header-cart-btn,.ebook-store-disabled .header-history-btn{display:none!important}

/* ========================= V17.118 — compact detail-page market proof grid ========================= */
/* Keep rating/rank proof visually tied to its second line instead of stretching across the full detail column. */
.seo-book-copy > .market-proof{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  width:min(640px,100%);
  margin:14px 0 16px;
  align-items:stretch;
}
.seo-book-copy > .market-proof .proof-box{
  min-width:0;
  min-height:62px;
  padding:9px 12px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  border-radius:11px;
}
.seo-book-copy > .market-proof .proof-box strong{
  font-size:13px;
  line-height:1.15;
}
.seo-book-copy > .market-proof .proof-box span{
  margin-top:3px;
  min-height:2.55em;
  font-size:9px;
  line-height:1.28;
  overflow:hidden;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  line-clamp:2;
}
@media(max-width:760px){
  .seo-book-copy > .market-proof{
    width:100%;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
  }
  .seo-book-copy > .market-proof .proof-box{
    min-height:58px;
    padding:9px 10px!important;
  }
}
@media(max-width:520px){
  .seo-book-copy > .market-proof{
    grid-template-columns:1fr!important;
  }
  .seo-book-copy > .market-proof .proof-box span{
    min-height:0;
  }
}

/* ==========================================================
   GoodReview V17.120 — Kobo-style 15-book shelf carousels
   Keep header + hero/Hot on Amazon + footer unchanged.
   Desktop map: 5 books per shelf, max card width 214px,
   cover 214x321px (2:3), total card height ~405-430px.
   ========================================================== */
.kobo-shelf-section{
  padding:34px 0 42px;
}
.home-shelf-band{
  background:rgba(255,253,249,.58);
  border-top:1px solid rgba(71,41,31,.06);
  border-bottom:1px solid rgba(71,41,31,.06);
}
.home-genre-band{background:rgba(239,229,217,.42)}
.kobo-shelf-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:18px;
}
.kobo-shelf-head>div{min-width:0}
.kobo-shelf-head .kicker{display:block;margin-bottom:5px;font-size:9px;letter-spacing:.18em}
.kobo-shelf-head h2{
  font-size:clamp(29px,3vw,37px);
  line-height:1.08;
}
.kobo-shelf-head p{
  margin:6px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}
.kobo-shelf-link{
  flex:0 0 auto;
  padding:8px 0;
  color:var(--brand);
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
}
.kobo-shelf-link:hover,.kobo-shelf-link:focus-visible{color:var(--accent2);outline:none}
.kobo-shelf-carousel{
  position:relative;
  --shelf-arrow-size:44px;
}
.kobo-shelf-viewport{
  width:100%;
  overflow-x:auto;
  overflow-y:visible;
  scroll-behavior:smooth;
  scroll-snap-type:x proximity;
  scrollbar-width:none;
  overscroll-behavior-x:contain;
  padding:4px 0 8px;
}
.kobo-shelf-viewport::-webkit-scrollbar{display:none}
.kobo-shelf-grid{
  --shelf-cols:5;
  --shelf-gap:24px;
  display:flex;
  gap:var(--shelf-gap);
  align-items:flex-start;
  min-width:100%;
}
.home-shelf-card{
  flex:0 0 calc((100% - (var(--shelf-gap) * (var(--shelf-cols) - 1))) / var(--shelf-cols));
  width:auto;
  min-width:0;
  position:relative;
  scroll-snap-align:start;
}
.home-shelf-cover{
  display:block;
  width:100%;
  aspect-ratio:2/3;
  overflow:hidden;
  position:relative;
  border-radius:10px;
  background:#e8dfd5;
  box-shadow:0 10px 24px rgba(62,43,32,.13);
  transition:transform .2s ease,box-shadow .2s ease;
}
.home-shelf-cover img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .25s ease;
}
.home-shelf-card:hover .home-shelf-cover{
  transform:translateY(-3px);
  box-shadow:0 15px 30px rgba(62,43,32,.18);
}
.home-shelf-card:hover .home-shelf-cover img{transform:scale(1.012)}
.home-shelf-badge{
  position:absolute;
  left:9px;
  bottom:9px;
  max-width:calc(100% - 18px);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  padding:5px 8px;
  border-radius:999px;
  background:rgba(255,253,249,.94);
  color:var(--brand);
  border:1px solid rgba(71,41,31,.10);
  box-shadow:0 3px 10px rgba(30,20,16,.10);
  font-size:8px;
  font-weight:900;
  letter-spacing:.03em;
  text-transform:uppercase;
}
.home-shelf-copy{padding:8px 1px 0}
.home-shelf-copy h3{
  margin:0;
  /* Reserve the full two-line title slot so the rating/retail CTA baseline
     stays identical across a shelf, even when a neighboring title wraps. */
  min-height:2.68em;
  font-family:"DM Sans",system-ui,sans-serif;
  font-size:14px;
  line-height:1.34;
  font-weight:800;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}
.home-shelf-copy h3 a:hover,.home-shelf-copy h3 a:focus-visible{color:var(--brand2);outline:none}
.home-shelf-author{
  margin-top:1px;
  color:var(--muted);
  font-size:11px;
  line-height:1.35;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.home-shelf-author a{font-weight:700}
.home-shelf-author a:hover,.home-shelf-author a:focus-visible{color:var(--brand);outline:none}
.home-shelf-market{
  display:block;
  margin-top:5px;
  min-height:38px;
}
.home-shelf-rating{
  display:flex;
  align-items:center;
  gap:4px;
  min-width:0;
  color:var(--ink);
  font-size:11px;
  line-height:1.2;
  font-weight:700;
  white-space:nowrap;
}
.home-shelf-stars{
  color:#0d0d0d;
  font-size:15px;
  line-height:1;
  letter-spacing:.5px;
}
.home-shelf-rating-count{font-size:10px;color:var(--ink);font-weight:600}
.home-shelf-price{
  display:block;
  margin-top:3px;
  color:var(--ink);
  font-size:13px;
  line-height:1.2;
  font-weight:900;
}
.home-shelf-rating.muted,.home-shelf-price.muted{color:#8d847d;font-weight:700}
.home-shelf-price-link{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:max-content!important;max-width:100%!important;margin-top:5px!important;padding:5px 8px!important;
  border:1px solid var(--brand)!important;border-radius:4px!important;background:var(--bg)!important;color:var(--brand)!important;
  text-decoration:none!important;font-size:11px!important;font-weight:900!important;line-height:1.1!important;
  transition:background .16s ease,color .16s ease,border-color .16s ease!important
}
.home-shelf-price-link:hover,.home-shelf-price-link:focus-visible{background:var(--brand)!important;color:#fff!important;border-color:var(--brand)!important;text-decoration:none!important;outline:none}
.kobo-shelf-arrow{
  position:absolute;
  top:38%;
  z-index:4;
  width:var(--shelf-arrow-size);
  height:var(--shelf-arrow-size);
  border-radius:50%;
  border:1px solid rgba(71,41,31,.13);
  background:rgba(255,255,255,.98);
  color:var(--ink);
  display:none;
  align-items:center;
  justify-content:center;
  padding:0 0 3px;
  box-shadow:0 6px 18px rgba(44,30,23,.16);
  cursor:pointer;
  transform:translateY(-50%);
  transition:transform .16s ease,box-shadow .16s ease,opacity .16s ease;
}
.kobo-shelf-carousel.has-overflow .kobo-shelf-arrow{display:flex}
.kobo-shelf-arrow.is-prev{left:calc(var(--shelf-arrow-size) / -2)}
.kobo-shelf-arrow.is-next{right:calc(var(--shelf-arrow-size) / -2)}
.kobo-shelf-arrow span{font-size:34px;line-height:1;font-family:Arial,sans-serif;font-weight:300}
.kobo-shelf-arrow:hover:not(:disabled){transform:translateY(-50%) scale(1.05);box-shadow:0 9px 22px rgba(44,30,23,.22)}
.kobo-shelf-arrow:disabled{opacity:.26;cursor:default}
.kobo-genre-tabs{
  margin:-2px 0 18px;
  flex-wrap:nowrap;
  overflow-x:auto;
  scrollbar-width:none;
  padding-bottom:2px;
}
.kobo-genre-tabs::-webkit-scrollbar{display:none}
.kobo-genre-tabs .chip{flex:0 0 auto;padding:8px 13px;background:#fffdf9}
.kobo-genre-tabs .chip.active{background:var(--brand);color:#fff}

.home-search-section{
  scroll-margin-top:92px;
  border-bottom:1px solid rgba(71,41,31,.08);
}
.home-search-section[hidden]{display:none!important}
@media(max-width:1080px){
  .kobo-shelf-grid{--shelf-cols:4;--shelf-gap:22px}
  .kobo-shelf-arrow.is-prev{left:-10px}.kobo-shelf-arrow.is-next{right:-10px}
}
@media(max-width:820px){
  .kobo-shelf-grid{--shelf-cols:3;--shelf-gap:20px}
  .kobo-shelf-section{padding:30px 0 36px}
  .kobo-shelf-arrow{--shelf-arrow-size:38px}
  .kobo-shelf-arrow.is-prev{left:-7px}.kobo-shelf-arrow.is-next{right:-7px}
}
@media(max-width:620px){
  .kobo-shelf-head{align-items:flex-start;gap:12px}
  .kobo-shelf-head p{font-size:12px}
  .kobo-shelf-grid{--shelf-cols:2;--shelf-gap:14px}
  .home-shelf-cover{border-radius:9px}
  .home-shelf-copy h3{font-size:13px}
  .home-shelf-stars{font-size:13px}
  .home-shelf-price{font-size:12px}
  .kobo-shelf-arrow{--shelf-arrow-size:34px;top:36%}
  .kobo-shelf-arrow.is-prev{left:-5px}.kobo-shelf-arrow.is-next{right:-5px}
}

/* ==========================================================
   GoodReview V17.121 — Kobo shelf geometry alignment
   Kobo-measured geometry: ~223px slot / 200x300 cover.
   Keep five books visually centered in a 1200px rail so the
   header/View all edge and the final card share the same line.
   Tighten vertical rhythm between shelves.
   ========================================================== */
@media(min-width:1081px){
  .kobo-shelf-head,
  .kobo-shelf-carousel,
  .kobo-genre-tabs{
    width:min(100%,1200px);
    margin-left:auto;
    margin-right:auto;
  }
  .kobo-shelf-grid{
    --shelf-cols:5;
    --shelf-gap:21px;
    min-width:max-content;
    gap:var(--shelf-gap);
  }
  .home-shelf-card{
    flex:0 0 223px;
    width:223px;
    min-width:223px;
  }
  .home-shelf-cover{
    width:200px;
    height:300px;
    aspect-ratio:auto;
  }
  .home-shelf-copy{
    width:200px;
  }
}
.kobo-shelf-section{
  padding:27px 0 28px;
}
.kobo-shelf-head{
  margin-bottom:13px;
}
.kobo-shelf-viewport{
  padding:2px 0 3px;
}
.home-shelf-copy{padding-top:7px}
.home-shelf-market{margin-top:4px;min-height:33px}
.home-shelf-price{margin-top:2px}

/* On the full-width tinted bands keep the inter-section rhythm compact. */
.home-shelf-band + .kobo-shelf-section,
.kobo-shelf-section + .home-shelf-band{
  margin-top:0;
}

@media(max-width:1080px){
  .kobo-shelf-section{padding:26px 0 30px}
  .kobo-shelf-head{margin-bottom:13px}
}
@media(max-width:820px){
  .kobo-shelf-section{padding:24px 0 28px}
}
@media(max-width:620px){
  .kobo-shelf-section{padding:22px 0 25px}
  .kobo-shelf-head{margin-bottom:11px}
}


/* =========================
   V17.123 — Store detail summary de-duplication + compact reveal
   ========================= */
/* The full catalog summary now lives only in “What you are buying”.
   Long summaries reuse the review-detail Read full summary interaction. */
.store-content-card .store-product-summary-block{
  max-width:none!important;margin:0!important;padding:0!important;border-top:0!important;
}
.store-content-card .store-product-summary-block .seo-summary-text{max-width:none}
.store-content-card .store-product-summary-block p{
  max-width:none!important;margin:0!important;font-family:inherit!important;font-size:15px!important;line-height:1.8!important;color:#544b45!important;
}
.store-content-card .store-product-summary-block.is-collapsible.is-collapsed .seo-summary-text{max-height:245px}
.store-content-card .store-product-summary-block.is-collapsible.is-collapsed .seo-summary-text:after{
  height:76px;background:linear-gradient(180deg,rgba(255,255,255,0),#fff 80%);
}
.store-content-card .store-product-summary-block .seo-summary-toggle{margin-top:11px}
.store-content-card .store-product-included{margin-top:17px}
@media(max-width:700px){
  .store-content-card .store-product-summary-block.is-collapsible.is-collapsed .seo-summary-text{max-height:215px}
}

/* ==========================================================
   GoodReview V17.138 — compact parent genres + Goodreads Choice winner parsing
   D1/cloud books use one server-rendered runtime template at /book/<slug>/.
   Local/static detail generation remains unchanged.
   ========================================================== */
.cloud-dynamic-detail .seo-book-copy{min-width:0}
.cloud-dynamic-detail .seo-book-copy>h1{margin-bottom:6px}
.cloud-dynamic-detail .seo-byline{margin:0 0 7px}
.cloud-dynamic-detail .seo-series-line{margin:0 0 8px;color:#7e6b61;font-size:14px!important;line-height:1.55!important}

.cloud-dynamic-detail .cloud-parent-genres{
  display:flex;align-items:center;flex-wrap:wrap;gap:0;margin:5px 0 12px!important;
  font-size:12px!important;line-height:1.5!important;color:#51372e!important
}
.cloud-dynamic-detail .cloud-parent-genre{font-weight:800;color:#51372e}
.cloud-dynamic-detail .cloud-parent-genre-sep{padding:0 5px;color:#a68f82;font-weight:500}
.cloud-dynamic-detail .cloud-parent-genre-more{font-weight:800;color:#7f665a}

.cloud-dynamic-detail .cloud-book-awards{margin:12px 0 13px!important}
.cloud-dynamic-detail .cloud-choice-badge{
  display:inline-flex;align-items:center;min-height:31px;padding:7px 12px;
  border:1px solid #e2b969;background:#efbd67!important;color:#3a241a!important;
  box-shadow:0 5px 13px rgba(156,103,35,.09);text-decoration:none
}

.cloud-dynamic-detail .cloud-detail-proof.market-proof{
  width:min(640px,100%);display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;margin:12px 0 13px!important
}
.cloud-dynamic-detail .cloud-detail-proof .proof-box{
  min-height:70px!important;padding:12px 14px!important;border:1px solid #dfcfc3!important;
  border-radius:12px!important;background:#fff!important;box-shadow:0 5px 15px rgba(60,38,29,.035)!important;
  display:flex!important;flex-direction:column!important;justify-content:center!important
}
.cloud-dynamic-detail .cloud-detail-proof .proof-box>strong{font-size:14px!important;line-height:1.15!important;color:#2f201a!important}
.cloud-dynamic-detail .cloud-detail-proof .proof-box>span{
  display:block!important;margin-top:5px!important;min-height:0!important;font-size:9px!important;
  line-height:1.25!important;color:#8d786d!important;overflow:visible!important;-webkit-line-clamp:unset!important
}
.cloud-dynamic-detail .proof-box-rating>strong{display:block!important}
.cloud-rating-line{display:flex!important;align-items:center!important;gap:9px!important;min-height:20px!important}
.cloud-rating-stars{display:inline-flex!important;align-items:center!important;gap:2px!important;white-space:nowrap!important;line-height:1!important}
.cloud-rating-star{
  --fill:0%;position:relative!important;display:inline-block!important;width:15px!important;height:15px!important;
  flex:0 0 15px!important;font-size:15px!important;line-height:15px!important;overflow:hidden!important
}
.cloud-rating-star:before{content:'★';position:absolute;inset:0;color:#d8cbc2;line-height:15px}
.cloud-rating-star:after{content:'★';position:absolute;inset:0 auto 0 0;width:var(--fill);overflow:hidden;color:#d36e29;line-height:15px;white-space:nowrap}
.cloud-rating-number{display:inline!important;margin:0!important;min-height:0!important;font-size:14px!important;font-weight:900!important;color:#2f201a!important;line-height:1!important}

.cloud-dynamic-detail .cloud-detail-meta{margin:0 0 24px!important;padding:1px 0 18px;border-bottom:1px solid #eadbd0;color:#8b776c!important;font-size:9px!important;line-height:1.5!important}

.cloud-dynamic-detail .cloud-buy-panel{padding:15px 14px 11px;border-radius:16px;box-shadow:0 5px 16px rgba(60,38,29,.025)}
.cloud-dynamic-detail .cloud-buy-panel>strong{font-family:"Playfair Display",Georgia,serif;font-size:17px;color:#2f201a}
.cloud-dynamic-detail .cloud-buy-panel .seo-store{min-height:62px;padding:10px 0}
.cloud-dynamic-detail .cloud-buy-panel .seo-store-price strong{font-size:10px;color:#5a3428;white-space:nowrap}
.cloud-dynamic-detail .cloud-buy-panel .seo-store:hover .seo-store-price strong{color:#8a4f39}

@media(max-width:760px){
  .cloud-dynamic-detail .cloud-detail-proof.market-proof{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:520px){
  .cloud-dynamic-detail .cloud-detail-proof.market-proof{grid-template-columns:1fr!important}
}



/* ==========================================================
   GoodReview V17.142 — cloud detail storefront polish
   Rating becomes a compact homepage-style line above Series.
   Public Popular-rank cards are removed. Amazon row is informational;
   only the rounded View store CTA is clickable.
   ========================================================== */
.cloud-dynamic-detail .cloud-inline-rating{
  display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:7px!important;
  margin:2px 0 8px!important;color:#2f201a!important;font-size:11px!important;line-height:1.25!important
}
.cloud-dynamic-detail .cloud-inline-rating .cloud-rating-stars{
  display:inline-flex!important;align-items:center!important;gap:1px!important;white-space:nowrap!important;line-height:1!important
}
.cloud-dynamic-detail .cloud-inline-rating .cloud-rating-star{
  --fill:0%;position:relative!important;display:inline-block!important;width:11px!important;height:11px!important;
  flex:0 0 11px!important;font-size:11px!important;line-height:11px!important;overflow:hidden!important
}
.cloud-dynamic-detail .cloud-inline-rating .cloud-rating-star:before{content:'★';position:absolute;inset:0;color:#cfc7c1!important;line-height:11px!important}
.cloud-dynamic-detail .cloud-inline-rating .cloud-rating-star:after{content:'★';position:absolute;inset:0 auto 0 0;width:var(--fill);overflow:hidden;color:#17120f!important;line-height:11px!important;white-space:nowrap}
.cloud-dynamic-detail .cloud-inline-rating>strong{font-size:11px!important;font-weight:800!important;color:#17120f!important}
.cloud-dynamic-detail .cloud-inline-rating>span{font-size:10px!important;color:#817169!important}
.cloud-dynamic-detail .cloud-detail-proof.market-proof{display:none!important}
.cloud-dynamic-detail .cloud-buy-panel .cloud-store-row{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;
  min-height:62px!important;padding:10px 0!important;color:inherit!important;text-decoration:none!important;cursor:default!important
}
.cloud-dynamic-detail .cloud-buy-panel .cloud-store-row:hover{background:transparent!important}
.cloud-store-button{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;
  min-height:34px!important;padding:8px 14px!important;border:1px solid #d99a31!important;border-radius:999px!important;
  background:#f2b441!important;color:#1f1712!important;text-decoration:none!important;font-size:10px!important;font-weight:900!important;
  line-height:1!important;box-shadow:0 4px 10px rgba(174,112,25,.14)!important;transition:transform .15s ease,background .15s ease,box-shadow .15s ease!important
}
.cloud-store-button:hover,.cloud-store-button:focus-visible{background:#f7c35f!important;color:#17110d!important;transform:translateY(-1px);box-shadow:0 6px 14px rgba(174,112,25,.2)!important;outline:none}

/* ========================= V17.145 — highlighted All Books nav + homepage library shelf ========================= */
.site-header nav .nav-all-books{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  background:var(--brand);
  color:#fff;
  box-shadow:0 5px 14px rgba(71,41,31,.10);
}
.site-header nav .nav-all-books:hover,
.site-header nav .nav-all-books:focus-visible{
  background:transparent;
  color:#514840;
  box-shadow:none;
  transform:translateY(0);
  outline:none;
}
.all-books-home-section{padding-top:34px;padding-bottom:42px}
.all-books-home-section .section-title-link{text-decoration:none;color:inherit}
@media(max-width:760px){.site-header nav .nav-all-books{display:none!important}.all-books-home-section{padding-top:26px;padding-bottom:34px}}


/* ========================= V17.150 - Amazon availability CTA + detail retailer actions ========================= */
.seo-store-action,.cloud-store-button{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;
  min-height:34px!important;padding:8px 13px!important;border:1px solid #d99a31!important;border-radius:999px!important;
  background:var(--accent)!important;color:#2a1c14!important;text-decoration:none!important;font-size:10px!important;font-weight:900!important;
  line-height:1!important;white-space:nowrap!important;box-shadow:0 4px 10px rgba(174,112,25,.14)!important;
  transition:transform .15s ease,background .15s ease,box-shadow .15s ease!important
}
.seo-store-action:hover,.seo-store-action:focus-visible,.cloud-store-button:hover,.cloud-store-button:focus-visible{
  background:#f7c35f!important;color:#17110d!important;transform:translateY(-1px)!important;box-shadow:0 6px 14px rgba(174,112,25,.2)!important;outline:none!important
}
.seo-store:has(.seo-store-action){cursor:default!important}
.seo-store:has(.seo-store-action):hover{background:transparent!important;transform:none!important;box-shadow:none!important}
@media(max-width:560px){.seo-store-action,.cloud-store-button{padding:8px 10px!important;font-size:9px!important;white-space:normal!important;text-align:center!important}}

/* =========================================================
   V17.153 — Inside GoodReview autonomous system drawer + worker island
   ========================================================= */
.inside-nav-btn{display:inline-flex;align-items:center;gap:7px;border:1px solid #d9c8ba;background:#fbf7f1;color:#4b2d23;border-radius:999px;padding:9px 12px;font:800 10px/1 "DM Sans",sans-serif;cursor:pointer;white-space:nowrap;transition:.18s ease}.inside-nav-btn:hover,.inside-nav-btn:focus-visible{background:#4b2d23;color:#fff;border-color:#4b2d23;outline:none;transform:translateY(-1px)}
.inside-nav-dot{width:8px;height:8px;border-radius:50%;background:#b69e90;box-shadow:0 0 0 4px rgba(91,53,40,.07)}.inside-nav-dot.is-live{background:#1bb77a;box-shadow:0 0 0 4px rgba(27,183,122,.12);animation:insidePulse 1.5s ease-in-out infinite}@keyframes insidePulse{0%,100%{transform:scale(.9);opacity:.8}50%{transform:scale(1.16);opacity:1}}
.inside-goodreview{position:fixed;z-index:275;left:18px;top:88px;width:min(344px,calc(100vw - 36px));max-height:calc(100dvh - 106px);transform:translate3d(calc(-100% - 34px),0,0);opacity:0;pointer-events:none;transition:width .34s cubic-bezier(.22,.61,.36,1),transform .3s cubic-bezier(.22,.61,.36,1),opacity .2s ease}.inside-goodreview.is-open{transform:translate3d(0,0,0);opacity:1;pointer-events:auto}.inside-goodreview.is-expanded{width:min(640px,calc(100vw - 36px))}.inside-goodreview-shell{position:relative;max-height:calc(100dvh - 106px);overflow:auto;overscroll-behavior:contain;background:#fffdf9;border:1px solid #e3d5c8;border-radius:24px;box-shadow:0 28px 72px rgba(59,35,25,.22);padding:19px;scrollbar-width:thin}.inside-close{position:sticky;float:right;top:0;z-index:3;width:34px;height:34px;border-radius:50%;border:1px solid #e3d5c8;background:#fff;color:#5b382c;font-size:21px;line-height:1;cursor:pointer}
.inside-eyebrow{display:block;color:#cb6f55;font-size:8px;font-weight:900;letter-spacing:.18em;text-transform:uppercase;margin:3px 42px 7px 0}.inside-mini h2,.inside-full h2{font-family:"Playfair Display",Georgia,serif;color:#271813;margin:0;letter-spacing:-.02em}.inside-mini h2{font-size:27px;line-height:1.06;max-width:280px}.inside-full h2{font-size:44px;line-height:1.01;max-width:540px}.inside-more,.inside-back{border:0;background:transparent;color:#7b4332;font-weight:900;font-size:10px;padding:0;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.inside-more{margin:11px 0 15px}.inside-back{margin:2px 0 13px}
.inside-mini-workers,.inside-full-workers{display:grid;gap:7px}.inside-worker{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:9px;align-items:start;border:1px solid #eadfd5;background:#fff;border-radius:13px;padding:10px}.inside-worker.is-live{background:#f3fbf7;border-color:#cce9dc}.inside-worker.is-waiting{background:#fff9ef;border-color:#ecd9b4}.inside-worker-light{width:7px;height:7px;border-radius:50%;background:#ad9b91;margin-top:4px}.inside-worker.is-live .inside-worker-light{background:#18ae74;box-shadow:0 0 0 4px rgba(24,174,116,.11);animation:insidePulse 1.5s ease-in-out infinite}.inside-worker.is-waiting .inside-worker-light{background:#d79a36}.inside-worker-head{display:flex;gap:6px;align-items:baseline;flex-wrap:wrap}.inside-worker-head strong{font-size:10px;color:#35231c}.inside-worker-head span{font-size:7.5px;color:#9a7768;font-weight:900;letter-spacing:.05em;text-transform:uppercase}.inside-worker-status{margin:2px 0 0;color:#695b53;font-size:9px;line-height:1.45}.inside-worker-desc{margin:5px 0 0;color:#786961;font-size:9px;line-height:1.52}.inside-worker-state{font-size:7px;letter-spacing:.08em;color:#876f63;padding:4px 6px;border-radius:999px;background:#f1ebe5;white-space:nowrap}.inside-worker.is-live .inside-worker-state{color:#19714f;background:#ddf2e7}.inside-worker.is-waiting .inside-worker-state{color:#885f20;background:#f7e7c8}
.inside-recent-head,.inside-section-head{display:flex;align-items:end;justify-content:space-between;gap:10px}.inside-recent-head{margin:16px 1px 8px}.inside-recent-head strong{font-size:10px}.inside-recent-head span{font-size:8px;color:#9a877c}.inside-recent{display:grid;gap:7px}.inside-activity{display:grid;grid-template-columns:8px minmax(0,1fr) auto;gap:8px;align-items:start;border:1px solid #eee4dc;border-radius:12px;background:#fff;padding:9px;color:inherit;text-decoration:none;transition:.16s}.inside-activity:hover{border-color:#caa896;background:#fffaf6;transform:translateX(2px)}.inside-activity-dot{width:6px;height:6px;border-radius:50%;background:#7b4634;margin-top:5px}.inside-activity strong{display:block;font-size:9px}.inside-activity p{margin:2px 0 0;font-size:8.5px;color:#725f55;line-height:1.4}.inside-activity small{display:block;margin-top:2px;color:#9a8478;font-size:7.5px}.inside-activity time{font-size:7px;color:#9b887d;white-space:nowrap}.inside-empty{margin:0;padding:10px;border:1px dashed #dfd1c6;border-radius:12px;color:#88766c;font-size:9px;line-height:1.55}
.inside-lead{font-size:12px;line-height:1.72;color:#6f5e55;margin:13px 0 15px;max-width:68ch}.inside-manifesto{background:#4b2d23;color:#fff;border-radius:18px;padding:16px;margin:0 0 19px}.inside-manifesto strong{font-family:"Playfair Display",Georgia,serif;font-size:19px}.inside-manifesto p{margin:6px 0 0;color:#eaded8;font-size:10px;line-height:1.6}.inside-section-head{border-top:1px solid #eadfd5;padding-top:16px;margin:17px 0 10px}.inside-section-head span,.inside-ai-note>span{font-size:8px;font-weight:900;letter-spacing:.17em;color:#c96d53}.inside-section-head strong{font-size:11px}.inside-full-workers{grid-template-columns:1fr 1fr}.inside-pipeline{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:14px;margin:16px 0;border-radius:16px;background:#f6efe8;border:1px solid #ead9cb}.inside-pipeline span{font-size:8px;font-weight:900;color:#4f3328;background:#fff;border:1px solid #e7d8cd;border-radius:999px;padding:6px 8px}.inside-pipeline i{font-style:normal;color:#bd8b75;font-size:10px}
.inside-ai-note{padding:18px;border-radius:18px;border:1px solid #e2c8b7;background:linear-gradient(150deg,#fffaf4,#f8efe6)}.inside-ai-note h3{font-family:"Playfair Display",Georgia,serif;font-size:24px;line-height:1.08;margin:7px 0 9px;color:#2e1c16}.inside-ai-note p{margin:7px 0;color:#695950;font-size:10px;line-height:1.65}.inside-footer-copy{margin-top:19px;border-radius:18px;background:#2f1d17;color:#fff;padding:18px}.inside-footer-copy>strong{font-family:"Playfair Display",Georgia,serif;font-size:20px;line-height:1.15}.inside-footer-copy p{color:#d7c9c2;font-size:10px;line-height:1.6}.inside-email{display:inline-block;color:#f0c17a;font-size:10px;font-weight:800;margin-bottom:12px}.inside-store{display:flex;align-items:center;justify-content:center;border-radius:9px;background:#e7ae58;color:#3a261e;padding:11px 14px;font-size:10px;font-weight:900;text-decoration:none}.inside-store:hover{background:#f0bf72}
.worker-island{position:fixed;z-index:420;top:12px;left:50%;width:46px;max-width:min(560px,calc(100vw - 24px));transform:translateX(-50%) scale(.94);opacity:0;overflow:hidden;border-radius:999px;background:#4b2d23;color:#fff;box-shadow:0 16px 44px rgba(38,22,16,.28);transition:width .42s cubic-bezier(.2,.78,.2,1),opacity .2s ease,transform .3s cubic-bezier(.2,.78,.2,1)}.worker-island.is-showing{width:min(510px,calc(100vw - 24px));opacity:1;transform:translateX(-50%) scale(1)}.worker-island a{height:48px;display:grid;grid-template-columns:28px minmax(0,1fr) 18px;gap:9px;align-items:center;padding:0 14px;color:#fff;text-decoration:none}.worker-island-orb{width:18px;height:18px;border-radius:50%;background:#e3ad5b;box-shadow:0 0 0 5px rgba(227,173,91,.13)}.worker-island-copy{min-width:0;opacity:0;transform:translateX(-5px);transition:.2s ease .16s}.worker-island.is-showing .worker-island-copy{opacity:1;transform:none}.worker-island-copy strong,.worker-island-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.worker-island-copy strong{font-size:10px}.worker-island-copy small{color:#dfd2ca;font-size:8px;margin-top:1px}.worker-island-arrow{font-size:11px;color:#efc985}.home-discovery-band{background:linear-gradient(180deg,rgba(241,231,220,.55),rgba(247,242,234,0))}
@media(max-width:900px){.inside-full-workers{grid-template-columns:1fr}.inside-full h2{font-size:35px}.inside-goodreview.is-expanded{width:min(580px,calc(100vw - 28px))}.inside-nav-btn span:last-child{display:none}.inside-nav-btn{padding:9px}}@media(max-width:620px){.inside-goodreview,.inside-goodreview.is-expanded{left:10px;right:10px;top:auto;bottom:10px;width:auto;max-height:82dvh;transform:translate3d(0,calc(100% + 28px),0)}.inside-goodreview.is-open{transform:translate3d(0,0,0)}.inside-goodreview-shell{max-height:82dvh;border-radius:22px}.inside-mini h2{font-size:25px}.inside-full h2{font-size:31px}.worker-island{top:8px}.worker-island.is-showing{width:calc(100vw - 20px)}}@media(prefers-reduced-motion:reduce){.inside-goodreview,.worker-island,.inside-nav-dot,.inside-worker-light{transition:none!important;animation:none!important}}

.ebook-store-disabled .inside-store{display:none!important}


/* V17.154 — Inside GoodReview persistent compact dock (no content overlap) */
.inside-dock-active{overflow-x:hidden}
.inside-dock-active .inside-nav-btn{display:none!important}
.inside-goodreview,.inside-goodreview.is-open{opacity:1;pointer-events:auto;transform:none}
.inside-goodreview{max-width:calc(100vw - 24px)}
.inside-goodreview-shell{overflow-x:hidden}
.inside-goodreview-shell,.inside-goodreview-shell *{min-width:0}
.inside-goodreview:not(.is-expanded) .inside-goodreview-shell{scrollbar-width:thin}
.inside-goodreview.has-live-worker:not(.is-expanded) .inside-goodreview-shell{box-shadow:0 24px 64px rgba(59,35,25,.18),0 0 0 1px rgba(27,183,122,.08)}

@media(min-width:1420px){
  body.inside-dock-active main,
  body.inside-dock-active .site-footer{margin-left:376px;width:auto}
  body.inside-dock-active .inside-goodreview{position:fixed;left:18px;top:88px;right:auto;bottom:auto;width:344px;max-width:344px;max-height:calc(100dvh - 106px);z-index:45}
  body.inside-dock-active .inside-goodreview:not(.is-expanded){width:344px;max-width:344px}
  body.inside-dock-active .inside-goodreview.is-expanded{z-index:275;width:min(640px,calc(100vw - 36px));max-width:min(640px,calc(100vw - 36px))}
  body.inside-dock-active .inside-goodreview-shell{max-height:calc(100dvh - 106px)}
}

@media(max-width:1419px){
  body.inside-dock-active main,
  body.inside-dock-active .site-footer{margin-left:0;width:auto}
  body.inside-dock-active .inside-goodreview,
  body.inside-dock-active .inside-goodreview.is-expanded{position:relative;left:auto;right:auto;top:auto;bottom:auto;width:min(calc(100% - 28px),1180px);max-width:1180px;max-height:none;margin:14px auto 0;z-index:20}
  body.inside-dock-active .inside-goodreview:not(.is-expanded){width:min(calc(100% - 28px),1180px);max-width:1180px}
  body.inside-dock-active .inside-goodreview-shell{max-height:none;overflow:visible;border-radius:22px}
  body.inside-dock-active .inside-mini{display:grid;grid-template-columns:minmax(250px,.75fr) minmax(0,1.25fr);column-gap:16px;align-items:start}
  body.inside-dock-active .inside-mini>.inside-eyebrow,
  body.inside-dock-active .inside-mini>h2,
  body.inside-dock-active .inside-mini>.inside-more{grid-column:1}
  body.inside-dock-active .inside-mini>.inside-mini-workers,
  body.inside-dock-active .inside-mini>.inside-recent-head,
  body.inside-dock-active .inside-mini>.inside-recent{grid-column:2}
  body.inside-dock-active .inside-mini>.inside-mini-workers{grid-row:1 / span 4}
  body.inside-dock-active .inside-mini h2{max-width:360px}
}

@media(max-width:760px){
  body.inside-dock-active .inside-goodreview,
  body.inside-dock-active .inside-goodreview.is-expanded,
  body.inside-dock-active .inside-goodreview:not(.is-expanded){width:calc(100% - 20px);max-width:none;margin:10px auto 0}
  body.inside-dock-active .inside-goodreview-shell{padding:16px;overflow:hidden}
  body.inside-dock-active .inside-mini{display:block}
  body.inside-dock-active .inside-mini h2{font-size:25px;max-width:100%}
  body.inside-dock-active .inside-full h2{font-size:31px}
  body.inside-dock-active .inside-full-workers{grid-template-columns:1fr}
}


/* =========================================================
   V17.155 — Wider persistent dock + push-open full system
   ========================================================= */
@media(min-width:1420px){
  body.inside-dock-active main,
  body.inside-dock-active .site-footer{
    margin-left:376px;
    width:auto;
    transition:margin-left .46s cubic-bezier(.22,.61,.36,1),transform .46s cubic-bezier(.22,.61,.36,1);
    will-change:margin-left;
  }
  /* Compact dock grows into the previously unused gutter without moving the book canvas. */
  body.inside-dock-active .inside-goodreview,
  body.inside-dock-active .inside-goodreview:not(.is-expanded){
    left:18px;
    width:392px;
    max-width:392px;
    transition:width .46s cubic-bezier(.22,.61,.36,1),max-width .46s cubic-bezier(.22,.61,.36,1),box-shadow .25s ease;
  }
  body.inside-dock-active .inside-mini h2{font-size:29px;max-width:328px}
  body.inside-dock-active .inside-mini-workers{gap:8px}

  /* Full view becomes a real dock expansion: content is pushed, never covered. */
  body.inside-dock-active.inside-detail-open main,
  body.inside-dock-active.inside-detail-open .site-footer{
    margin-left:854px;
  }
  body.inside-dock-active .inside-goodreview.is-expanded{
    left:18px;
    width:812px;
    max-width:812px;
    z-index:70;
  }
  body.inside-dock-active .inside-goodreview.is-expanded .inside-goodreview-shell{
    padding:22px;
  }
  body.inside-dock-active .inside-full h2{
    font-size:42px;
    line-height:1.02;
    max-width:520px;
  }
  body.inside-dock-active .inside-full-intro{
    display:grid;
    grid-template-columns:minmax(0,1.18fr) minmax(250px,.82fr);
    gap:18px;
    align-items:stretch;
  }
  body.inside-dock-active .inside-full-copy{min-width:0}
  body.inside-dock-active .inside-full-intro .inside-manifesto{
    margin:0;
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-height:100%;
  }
  body.inside-dock-active .inside-full-workers{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
  }
  body.inside-dock-active .inside-full-workers .inside-worker{padding:10px 9px}
  body.inside-dock-active .inside-full-lower{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:12px;
    align-items:start;
  }
  body.inside-dock-active .inside-activity-panel{min-width:0}
  body.inside-dock-active .inside-activity-panel .inside-section-head{margin-top:0}
  body.inside-dock-active .inside-recent.is-full{max-height:330px;overflow:auto;padding-right:2px;scrollbar-width:thin}
  body.inside-dock-active .inside-footer-copy{
    display:grid;
    grid-template-columns:minmax(0,1.35fr) auto;
    column-gap:16px;
    align-items:center;
  }
  body.inside-dock-active .inside-footer-copy>strong,
  body.inside-dock-active .inside-footer-copy>p,
  body.inside-dock-active .inside-footer-copy>.inside-email{grid-column:1}
  body.inside-dock-active .inside-footer-copy>.inside-store{
    grid-column:2;
    grid-row:1 / span 3;
    min-width:160px;
  }
}

@media(min-width:1420px) and (max-width:1650px){
  body.inside-dock-active .inside-goodreview,
  body.inside-dock-active .inside-goodreview:not(.is-expanded){width:372px;max-width:372px}
  body.inside-dock-active .inside-goodreview.is-expanded{width:742px;max-width:742px}
  body.inside-dock-active.inside-detail-open main,
  body.inside-dock-active.inside-detail-open .site-footer{margin-left:780px}
  body.inside-dock-active .inside-full-workers{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:1419px){
  body.inside-dock-active .inside-full-intro,
  body.inside-dock-active .inside-full-lower{display:block}
}

/* =========================================================
   V17.156 — Inside GoodReview editorial-engine polish
   ========================================================= */
.inside-eyebrow.is-underlined{
  display:inline-block;
  margin-right:0;
  padding-bottom:3px;
  border-bottom:1px solid rgba(183,73,52,.5);
}
.inside-mini-hero,.inside-full-title-row{
  display:flex;
  align-items:flex-start;
  gap:11px;
}
.inside-engine-mark{
  flex:0 0 58px;
  width:58px;
  height:46px;
  display:grid;
  place-items:center;
  margin-top:2px;
  color:#6c3a2c;
}
.inside-engine-mark.is-full{flex-basis:70px;width:70px;height:54px;margin-top:4px}
.inside-engine-svg{display:block;width:100%;height:100%;overflow:visible}
.inside-engine-svg circle,.inside-engine-svg path{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;vector-effect:non-scaling-stroke}
.inside-gear{transform-box:fill-box;transform-origin:center}
.inside-gear-a{animation:insideGearClock 10s linear infinite}
.inside-gear-b{animation:insideGearCounter 7.5s linear infinite}
@keyframes insideGearClock{to{transform:rotate(360deg)}}
@keyframes insideGearCounter{to{transform:rotate(-360deg)}}
.inside-mini-hero h2,.inside-full-title-row h2{min-width:0}

/* Kobo-inspired micro labels: red editorial ink on white paper. */
.inside-worker-head span,
.inside-news-kicker,
.inside-note-kicker{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  padding:2px 5px;
  border:1px solid #ead1c9;
  border-radius:4px;
  background:#fff;
  color:#b94f3d!important;
  font-weight:900;
  letter-spacing:.07em;
  text-transform:uppercase;
  transition:transform .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.inside-worker{
  position:relative;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.inside-worker:hover{
  transform:translateY(-2px) scale(1.008);
  border-color:#caa998;
  box-shadow:0 8px 20px rgba(71,41,31,.08);
  background:#fffdfa;
}
.inside-worker:hover .inside-worker-head span{
  transform:scale(1.045);
  color:#9f3528!important;
  border-color:#dba99c;
  box-shadow:0 2px 7px rgba(185,79,61,.08);
}
.inside-worker:hover .inside-worker-head strong{color:#4b2d23}
.inside-mini-workers .inside-worker{cursor:default}

/* Newspaper mastheads and woodcut-style section marks. */
.inside-news-head{
  justify-content:flex-start!important;
  align-items:center!important;
  gap:10px!important;
  padding-bottom:7px;
  border-bottom:1px solid #d8c7ba;
}
.inside-news-icon{
  flex:0 0 34px;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  color:#6f3d2f;
  border:1px solid #d7c3b5;
  background:#fffdf9;
  border-radius:7px;
  box-shadow:inset 0 0 0 2px #f5eee7;
}
.inside-news-svg{display:block;width:25px;height:25px}
.inside-news-head>div{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:4px}
.inside-news-head strong{font-family:"Playfair Display",Georgia,serif;font-size:13px;line-height:1.18;color:#35231c}
.inside-news-kicker{font-family:"DM Sans",sans-serif;font-size:7.5px!important}

/* Illustrated manifesto — an editorial engine in place of a human newsroom. */
.inside-manifesto{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(135deg,rgba(255,255,255,.035),transparent 40%),
    #4b2d23;
}
.inside-manifesto:after{
  content:"";
  position:absolute;
  inset:8px;
  border:1px solid rgba(244,221,205,.12);
  border-radius:13px;
  pointer-events:none;
}
.inside-manifesto-visual{
  position:relative;
  z-index:1;
  color:#e7b66c;
  margin:-2px 0 8px;
  border-bottom:1px solid rgba(255,255,255,.16);
  padding-bottom:7px;
}
.inside-manifesto-svg{display:block;width:100%;height:auto;max-height:122px}
.inside-manifesto-svg text{
  fill:#d8bda9;
  stroke:none;
  font:700 8px/1 "DM Sans",sans-serif;
  letter-spacing:.14em;
}
.inside-manifesto-copy{position:relative;z-index:1}

.inside-ai-note{position:relative;overflow:hidden}
.inside-ai-note:before{
  content:"";
  position:absolute;
  left:14px;right:14px;top:12px;
  border-top:3px double rgba(94,57,42,.18);
}
.inside-note-icon{
  position:relative;
  z-index:1;
  float:right;
  width:38px;height:38px;
  display:grid;place-items:center;
  margin:0 0 8px 12px;
  color:#754433;
  background:#fffdf9;
  border:1px solid #dec7b8;
  border-radius:50%;
}
.inside-note-icon .inside-news-svg{width:25px;height:25px}
.inside-note-kicker{position:relative;z-index:1;margin-top:6px;font-size:7.5px}

/* Close the empty gutter: compact dock and the first content column should read as one layout. */
@media(min-width:1420px){
  body.inside-dock-active:not(.inside-detail-open) main .wrap,
  body.inside-dock-active:not(.inside-detail-open) main .home-shelf-band>.wrap,
  body.inside-dock-active:not(.inside-detail-open) .site-footer .wrap{
    margin-left:0;
    margin-right:auto;
  }
  body.inside-dock-active:not(.inside-detail-open) main,
  body.inside-dock-active:not(.inside-detail-open) .site-footer{
    margin-left:424px;
  }
  body.inside-dock-active .inside-mini h2{max-width:none}
  body.inside-dock-active .inside-goodreview:not(.is-expanded) .inside-goodreview-shell{padding:18px 18px 19px}
}
@media(min-width:1420px) and (max-width:1650px){
  body.inside-dock-active:not(.inside-detail-open) main,
  body.inside-dock-active:not(.inside-detail-open) .site-footer{margin-left:404px}
}

/* Expanded newspaper layout: wider, more visual, less vertical. */
@media(min-width:1420px){
  body.inside-dock-active .inside-goodreview.is-expanded{width:842px;max-width:842px}
  body.inside-dock-active.inside-detail-open main,
  body.inside-dock-active.inside-detail-open .site-footer{margin-left:884px}
  body.inside-dock-active .inside-full-intro{grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr)}
  body.inside-dock-active .inside-manifesto{padding:14px 16px}
  body.inside-dock-active .inside-full-workers{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(min-width:1420px) and (max-width:1650px){
  body.inside-dock-active .inside-goodreview.is-expanded{width:770px;max-width:770px}
  body.inside-dock-active.inside-detail-open main,
  body.inside-dock-active.inside-detail-open .site-footer{margin-left:812px}
  body.inside-dock-active .inside-full-intro{grid-template-columns:minmax(0,1fr) minmax(285px,.9fr)}
  body.inside-dock-active .inside-full-workers{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
  .inside-mini-hero,.inside-full-title-row{gap:8px}
  .inside-engine-mark{flex-basis:46px;width:46px;height:39px}
  .inside-engine-mark.is-full{flex-basis:52px;width:52px;height:44px}
  .inside-manifesto-svg{max-height:98px}
}
@media(prefers-reduced-motion:reduce){
  .inside-gear-a,.inside-gear-b{animation:none!important}
  .inside-worker,.inside-worker-head span{transition:none!important}
}


/* =========================================================
   V17.157 — Wider compact dock + full-width footer bed
   ========================================================= */
@media(min-width:1420px){
  /* Give the compact monitor enough editorial width for a true two-line hero. */
  body.inside-dock-active .inside-goodreview,
  body.inside-dock-active .inside-goodreview:not(.is-expanded){
    left:18px;
    width:548px;
    max-width:548px;
  }
  body.inside-dock-active:not(.inside-detail-open) main{
    margin-left:576px;
  }
  body.inside-dock-active .inside-goodreview:not(.is-expanded) .inside-goodreview-shell{
    padding:18px 20px 19px;
  }
  body.inside-dock-active .inside-mini h2{
    font-size:27px;
    line-height:1.03;
    max-width:none;
  }
  body.inside-dock-active .inside-mini-hero{
    gap:12px;
  }
  body.inside-dock-active .inside-mini-hero .inside-engine-mark{
    flex-basis:58px;
    width:58px;
  }
  body.inside-dock-active .inside-title-line{
    display:block;
    white-space:nowrap;
  }

  /* Footer is a full-width brown bed. Only its content column is pushed clear
     of the persistent dock, so the dock keeps its paper background while the
     surrounding footer remains continuous behind it. */
  body.inside-dock-active .site-footer,
  body.inside-dock-active.inside-detail-open .site-footer{
    margin-left:0!important;
    width:100%!important;
    box-sizing:border-box;
    padding-left:576px;
    transition:padding-left .46s cubic-bezier(.22,.61,.36,1);
  }
  body.inside-dock-active .site-footer .wrap{
    margin-left:auto!important;
    margin-right:auto!important;
  }

  /* Expanded mode continues to push the main canvas, while the footer keeps
     its full-bleed background and only moves the footer content inward. */
  body.inside-dock-active .inside-goodreview.is-expanded{
    width:900px;
    max-width:900px;
  }
  body.inside-dock-active.inside-detail-open main{
    margin-left:942px;
  }
  body.inside-dock-active.inside-detail-open .site-footer{
    padding-left:942px;
  }
}

@media(min-width:1420px) and (max-width:1650px){
  body.inside-dock-active .inside-goodreview,
  body.inside-dock-active .inside-goodreview:not(.is-expanded){
    width:500px;
    max-width:500px;
  }
  body.inside-dock-active:not(.inside-detail-open) main{
    margin-left:526px;
  }
  body.inside-dock-active .inside-mini h2{font-size:25px}
  body.inside-dock-active .site-footer,
  body.inside-dock-active.inside-detail-open .site-footer{
    padding-left:526px;
  }
  body.inside-dock-active .inside-goodreview.is-expanded{
    width:820px;
    max-width:820px;
  }
  body.inside-dock-active.inside-detail-open main{
    margin-left:862px;
  }
  body.inside-dock-active.inside-detail-open .site-footer{
    padding-left:862px;
  }
}

@media(max-width:1419px){
  .inside-title-line{display:inline;white-space:normal}
  .inside-title-line + .inside-title-line:before{content:" "}
}

/* =========================================================
   V17.158 — Hover-expand Inside panel + compact newspaper crew
   ========================================================= */
.inside-hover-zone{
  border-radius:14px;
  margin:-3px -4px 2px;
  padding:3px 4px 1px;
}
@media(hover:hover) and (pointer:fine){
  .inside-hover-zone{cursor:default;transition:background .18s ease,box-shadow .18s ease}
  .inside-hover-zone:hover{background:rgba(241,231,220,.26);box-shadow:inset 0 0 0 1px rgba(121,75,57,.055)}
}

/* Pipeline proof moves into the newspaper toolbar. */
.inside-full-toolbar{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  margin:1px 0 11px;
}
.inside-full-toolbar .inside-back{flex:0 0 auto;margin:0}
.inside-top-pipeline{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex:1 1 auto;
  gap:4px;
  min-width:0;
  overflow:hidden;
}
.inside-top-pipeline span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 1 auto;
  min-width:0;
  padding:4px 7px;
  border:1px solid #e4d5ca;
  border-radius:999px;
  background:#fffdf9;
  color:#684437;
  font:900 6.8px/1 "DM Sans",sans-serif;
  letter-spacing:.045em;
  text-transform:uppercase;
  white-space:nowrap;
}

/* THE AI CREW is intentionally dense: name + role + one compact description. */
.inside-full-workers{gap:6px!important}
.inside-full-workers .inside-worker{
  grid-template-columns:7px minmax(0,1fr) auto;
  gap:6px;
  min-height:0;
  padding:7px 8px!important;
  border-radius:10px;
}
.inside-full-workers .inside-worker-light{width:5px;height:5px;margin-top:5px}
.inside-full-workers .inside-worker-head{gap:4px;flex-wrap:nowrap;align-items:center}
.inside-full-workers .inside-worker-head strong{
  flex:0 1 auto;
  min-width:0;
  font-size:9px;
  line-height:1.15;
  white-space:nowrap;
}
.inside-full-workers .inside-worker-head span{
  flex:0 1 auto;
  min-width:0;
  padding:1px 4px;
  font-size:6.3px!important;
  line-height:1.2;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.inside-full-workers .inside-worker-desc{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  margin:3px 0 0;
  color:#786961;
  font-size:7.7px;
  line-height:1.28;
}
.inside-full-workers .inside-worker-state{
  align-self:start;
  padding:3px 5px;
  font-size:6px;
}

/* The old Publishing Pipeline and full Recent Activity blocks are gone.
   The public-running statement takes their horizontal newspaper slot. */
.inside-experiment-panel{
  display:grid;
  grid-template-columns:36px minmax(0,1fr);
  gap:11px;
  align-items:start;
  margin:13px 0;
  padding:12px 14px;
  border:1px solid #d8c3b5;
  border-radius:14px;
  background:#39231c;
  color:#fff;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.045);
}
.inside-experiment-panel>.inside-news-icon{
  width:34px;height:34px;
  color:#e6b467;
  border-color:rgba(239,204,161,.24);
  background:rgba(255,255,255,.035);
  box-shadow:none;
}
.inside-experiment-panel .inside-note-kicker{
  background:transparent;
  border-color:rgba(235,196,164,.25);
  color:#efbc84!important;
}
.inside-experiment-panel strong{
  display:block;
  margin:5px 0 3px;
  font-family:"Playfair Display",Georgia,serif;
  font-size:16px;
  line-height:1.12;
}
.inside-experiment-panel p{
  margin:0 0 6px;
  color:#dccdc5;
  font-size:8.5px;
  line-height:1.48;
}
.inside-experiment-panel .inside-email{
  margin:0;
  color:#f0c17a;
  font-size:8.5px;
}

/* AI-created books + newest GoodReview Store release form the closing spread. */
.inside-full-lower{
  display:grid!important;
  grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)!important;
  gap:10px!important;
  align-items:stretch!important;
}
.inside-full-lower>div{height:100%;box-sizing:border-box}
.inside-release-note{
  position:relative;
  overflow:hidden;
  padding:15px;
  border:1px solid #e2c8b7;
  border-radius:18px;
  background:linear-gradient(150deg,#fffdf9,#f5eadf);
}
.inside-release-note:before{
  content:"";
  position:absolute;
  left:14px;right:14px;top:12px;
  border-top:3px double rgba(94,57,42,.18);
}
.inside-release-note>.inside-note-kicker{position:relative;z-index:1;margin-top:6px}
.inside-release-body{
  position:relative;
  z-index:1;
  display:flex;
  gap:12px;
  align-items:flex-start;
  margin-top:9px;
}
.inside-release-cover{
  display:block;
  flex:0 0 82px;
  width:82px;
  aspect-ratio:2/3;
  border-radius:8px;
  overflow:hidden;
  background:#eee3d8;
  box-shadow:0 8px 18px rgba(59,35,25,.12);
}
.inside-release-cover img{display:block;width:100%;height:100%;object-fit:cover}
.inside-release-copy{display:flex;flex:1 1 auto;min-width:0;flex-direction:column;align-items:flex-start}
.inside-release-copy h3{
  margin:0;
  color:#2e1c16;
  font-family:"Playfair Display",Georgia,serif;
  font-size:18px;
  line-height:1.08;
}
.inside-release-copy p{margin:5px 0 10px;color:#76645b;font-size:8.5px;line-height:1.4}
.inside-release-store{display:inline-flex;width:auto;min-width:104px;margin-top:auto;padding:9px 11px}

@media(min-width:1420px){
  /* More crew rows fit above the fold after removing per-worker status lines. */
  body.inside-dock-active .inside-full-workers{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(min-width:1420px) and (max-width:1650px){
  body.inside-dock-active .inside-full-workers{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:900px){
  .inside-full-toolbar{align-items:flex-start;flex-direction:column}
  .inside-top-pipeline{justify-content:flex-start;flex-wrap:wrap;overflow:visible}
  .inside-full-lower{grid-template-columns:1fr!important}
}
@media(max-width:620px){
  .inside-top-pipeline span{font-size:6.4px;padding:4px 6px}
  .inside-release-cover{flex-basis:72px;width:72px}
}

/* =========================================================
   V17.159 — Inside controls + In Store header + compact crew polish
   ========================================================= */
.inside-more,.inside-back{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:7px 11px!important;
  border:1px solid #4b2d23!important;
  border-radius:8px!important;
  background:#4b2d23!important;
  color:#fff!important;
  text-decoration:none!important;
  font:900 8px/1 "DM Sans",sans-serif!important;
  letter-spacing:.025em;
  box-shadow:0 4px 10px rgba(73,43,33,.12);
  transition:transform .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease!important;
}
.inside-more{margin:9px 0 14px!important}
.inside-back{margin:0!important}
.inside-more:hover,.inside-more:focus-visible,.inside-back:hover,.inside-back:focus-visible{
  background:#6a3c2e!important;
  color:#fff!important;
  transform:translateY(-1px);
  box-shadow:0 7px 14px rgba(73,43,33,.18);
  outline:none;
}

.inside-top-pipeline span{
  position:relative;
  overflow:hidden;
  isolation:isolate;
  border-color:#4b2d23!important;
  background:#4b2d23!important;
  color:#fff!important;
  padding:5px 8px!important;
  transition:transform .18s ease,box-shadow .18s ease,color .18s ease!important;
}
.inside-top-pipeline span:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(105deg,#4b2d23 0 42%,#7f4938 50%,#4b2d23 58% 100%);
  transform:translateX(-115%);
  transition:transform .32s ease;
}
.inside-top-pipeline span:hover{
  transform:translateY(-1px);
  box-shadow:0 5px 11px rgba(73,43,33,.17);
}
.inside-top-pipeline span:hover:before{transform:translateX(0)}

.inside-experiment-panel .inside-email{
  display:block!important;
  width:max-content;
  max-width:100%;
  margin:3px 0 0 auto!important;
  text-align:right;
  white-space:nowrap;
}

.inside-ai-note h3{
  font-size:18px!important;
  line-height:1.08!important;
  white-space:nowrap;
  margin-right:42px!important;
}
.inside-ai-points{
  margin:9px 0 0;
  padding-left:17px;
  color:#695950;
}
.inside-ai-points li{
  margin:5px 0;
  padding-left:1px;
  font-size:9px;
  line-height:1.5;
}
.inside-ai-points li::marker{color:#a85b43}
.inside-note-icon{
  border-radius:10px!important;
  background:#fffdf9!important;
}

/* UX/UI + Operator complete the 12-seat public AI crew grid. */
.inside-full-workers .inside-worker-head span{
  max-width:145px;
}

/* In Store replaces Top Picks. Keep it live only while the store is enabled. */
.library-stat[data-ebook-store-link][hidden]{display:none!important}

@media(max-width:900px){
  .inside-ai-note h3{white-space:normal;margin-right:0!important}
}

/* =========================================================
   V17.161 — Desktop-only Inside GoodReview
   Keep the V17.159 visual baseline. On phone/narrow mobile
   layouts the autonomous-system dock is intentionally hidden.
   ========================================================= */
@media (max-width:900px){
  body.inside-dock-active .inside-goodreview,
  body.inside-dock-active .inside-goodreview.is-open,
  body.inside-dock-active .inside-goodreview.is-expanded{
    display:none!important;
  }
  body.inside-dock-active main,
  body.inside-dock-active .site-footer,
  body.inside-dock-active.inside-detail-open main,
  body.inside-dock-active.inside-detail-open .site-footer{
    margin-left:0!important;
    width:auto!important;
    transform:none!important;
  }
}


/* =========================================================
   V17.162 — Lower/narrower compact Inside dock + six-book canvas
   Full Inside view keeps the V17.159/V17.161 geometry unchanged.
   ========================================================= */
@media (min-width:1651px){
  /* Compact monitor sits a touch lower and gives more horizontal space back
     to the homepage. Expanded/full mode is intentionally untouched. */
  body.inside-dock-active .inside-goodreview:not(.is-expanded){
    top:100px;
    width:440px;
    max-width:440px;
    max-height:calc(100dvh - 118px);
  }
  body.inside-dock-active .inside-goodreview:not(.is-expanded) .inside-goodreview-shell{
    max-height:calc(100dvh - 118px);
  }
  body.inside-dock-active:not(.inside-detail-open) main{
    margin-left:468px;
  }
  body.inside-dock-active:not(.inside-detail-open) .site-footer{
    padding-left:468px;
  }

  /* The primary homepage shelf canvas now exposes six books at once while
     preserving the existing 15-book carousel cap and navigation behavior. */
  body.inside-dock-active:not(.inside-detail-open) .kobo-shelf-grid{
    --shelf-cols:6;
    --shelf-gap:20px;
  }
}

@media (min-width:1420px) and (max-width:1650px){
  body.inside-dock-active .inside-goodreview:not(.is-expanded){
    top:98px;
    width:420px;
    max-width:420px;
    max-height:calc(100dvh - 116px);
  }
  body.inside-dock-active .inside-goodreview:not(.is-expanded) .inside-goodreview-shell{
    max-height:calc(100dvh - 116px);
  }
  body.inside-dock-active:not(.inside-detail-open) main{
    margin-left:448px;
  }
  body.inside-dock-active:not(.inside-detail-open) .site-footer{
    padding-left:448px;
  }
}

/* =========================================================
   V17.163 — Compact title fit + cleaner UX/UI / Operator cards
   ========================================================= */
@media (min-width:1420px){
  /* V17.162 returned enough shelf width for six books, so keep the dock
     geometry and simply make the two-line hero fit inside its compact column. */
  body.inside-dock-active .inside-goodreview:not(.is-expanded) .inside-mini h2{
    font-size:21px!important;
    line-height:1.08!important;
    letter-spacing:-.018em;
  }
  body.inside-dock-active .inside-goodreview:not(.is-expanded) .inside-mini-hero{
    gap:8px!important;
  }
  body.inside-dock-active .inside-goodreview:not(.is-expanded) .inside-mini-hero .inside-engine-mark{
    flex-basis:50px!important;
    width:50px!important;
  }
}

/* UX/UI and Operator are identity/credit cards rather than production workers.
   Put their model/address on its own second line and omit descriptive copy. */
.inside-full-workers .inside-worker.is-credit-card .inside-worker-head{
  display:block;
}
.inside-full-workers .inside-worker.is-credit-card .inside-worker-head strong{
  display:block;
  max-width:none;
}
.inside-full-workers .inside-worker.is-credit-card .inside-worker-credit{
  display:block;
  margin-top:3px;
  color:#a85b43;
  font-size:7.4px;
  line-height:1.2;
  font-weight:900;
  letter-spacing:.055em;
  text-transform:none;
  overflow-wrap:anywhere;
}
.inside-full-workers .inside-worker.is-credit-card .inside-worker-desc{
  display:none!important;
}

/* V17.163 follow-up — slightly wider breathing room between compact Inside dock and homepage canvas. */
@media (min-width:1651px){
  body.inside-dock-active:not(.inside-detail-open) main{margin-left:478px}
  body.inside-dock-active:not(.inside-detail-open) .site-footer{padding-left:478px}
}
@media (min-width:1420px) and (max-width:1650px){
  body.inside-dock-active:not(.inside-detail-open) main{margin-left:458px}
  body.inside-dock-active:not(.inside-detail-open) .site-footer{padding-left:458px}
}

/* =========================================================
   V17.164 — Narrow compact dock, preserve six-book canvas position
   Keep the main homepage canvas exactly where V17.163 placed it.
   ========================================================= */
@media (min-width:1651px){
  /* Align the compact paper column closer to the right edge of the In Store
     header control without moving the six-book homepage canvas. */
  body.inside-dock-active .inside-goodreview:not(.is-expanded){
    width:400px;
    max-width:400px;
  }
  body.inside-dock-active .inside-goodreview:not(.is-expanded) .inside-goodreview-shell{
    padding-left:16px;
    padding-right:16px;
  }
  body.inside-dock-active .inside-goodreview:not(.is-expanded) .inside-mini h2{
    font-size:18px!important;
    line-height:1.045!important;
    letter-spacing:-.016em;
  }
  body.inside-dock-active .inside-goodreview:not(.is-expanded) .inside-mini-hero{
    gap:7px!important;
  }
  body.inside-dock-active .inside-goodreview:not(.is-expanded) .inside-mini-hero .inside-engine-mark{
    flex-basis:44px!important;
    width:44px!important;
    height:40px!important;
  }
  /* Intentionally retain V17.163 main/footer offsets: 478px. */
  body.inside-dock-active:not(.inside-detail-open) main{margin-left:478px}
  body.inside-dock-active:not(.inside-detail-open) .site-footer{padding-left:478px}
}

@media (min-width:1420px) and (max-width:1650px){
  body.inside-dock-active .inside-goodreview:not(.is-expanded){
    width:390px;
    max-width:390px;
  }
  body.inside-dock-active .inside-goodreview:not(.is-expanded) .inside-goodreview-shell{
    padding-left:15px;
    padding-right:15px;
  }
  body.inside-dock-active .inside-goodreview:not(.is-expanded) .inside-mini h2{
    font-size:17.5px!important;
    line-height:1.045!important;
    letter-spacing:-.016em;
  }
  body.inside-dock-active .inside-goodreview:not(.is-expanded) .inside-mini-hero{
    gap:7px!important;
  }
  body.inside-dock-active .inside-goodreview:not(.is-expanded) .inside-mini-hero .inside-engine-mark{
    flex-basis:42px!important;
    width:42px!important;
    height:38px!important;
  }
  /* Intentionally retain V17.163 main/footer offsets: 458px. */
  body.inside-dock-active:not(.inside-detail-open) main{margin-left:458px}
  body.inside-dock-active:not(.inside-detail-open) .site-footer{padding-left:458px}
}

/* =========================================================
   V17.174 — Compact Inside worker cards: role-as-name chip + one-line purpose
   Compact monitor shows the four public-facing production stages only.
   Full AI Crew remains unchanged and still includes Analyzer/QA/etc.
   ========================================================= */
@media (min-width:901px){
  .inside-mini-workers .inside-worker.is-mini-worker{
    display:block;
    padding:8px 10px 7px;
    border:1px solid #eadfd5;
    border-radius:12px;
    background:#fff;
  }
  .inside-mini-workers .inside-worker.is-mini-worker.is-live{
    background:#f7fbf8;
    border-color:#cce9dc;
  }
  .inside-mini-workers .inside-worker.is-mini-worker.is-waiting{
    background:#fffaf2;
    border-color:#ecd9b4;
  }
  .inside-mini-workers .inside-worker-main{min-width:0}
  .inside-mini-workers .inside-worker-line{
    display:flex;
    align-items:center;
    gap:7px;
    min-width:0;
    white-space:nowrap;
  }
  .inside-mini-workers .inside-worker-name-chip{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    min-height:18px;
    padding:2px 6px;
    border:1px solid #e8b7a8;
    border-radius:4px;
    background:#fff;
    color:#c8583f;
    font-size:8px;
    line-height:1;
    font-weight:900;
    letter-spacing:.045em;
    text-transform:uppercase;
  }
  .inside-mini-workers .inside-worker-mini-desc{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    color:#4d3a31;
    font-size:8.2px;
    line-height:1.15;
    font-weight:600;
    letter-spacing:-.005em;
  }
  .inside-mini-workers .inside-worker-meta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    margin-top:5px;
    padding-top:5px;
    border-top:1px solid #f0e7df;
  }
  .inside-mini-workers .inside-worker-status{
    margin:0;
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#7a6a61;
    font-size:7.5px;
    line-height:1.2;
  }
  .inside-mini-workers .inside-worker-state{
    flex:0 0 auto;
    padding:3px 6px;
    font-size:6.5px;
  }
  /* Remove the decorative status dot from compact cards; the bordered name
     chip and state badge carry the hierarchy cleanly on their own. */
  .inside-mini-workers .inside-worker.is-mini-worker .inside-worker-light{display:none!important}
}


/* V17.175 — public homepage Inside GoodReview can be disabled from Book Studio. */
.inside-goodreview[hidden]{display:none!important}
body:not(.inside-dock-active) .worker-island{display:none!important}

/* V17.176 — catalog Store offer CTA */
.seo-store-icon-goodreview{
  display:grid!important;place-items:center;width:34px;height:34px;border-radius:9px;
  background:#47291f;color:#fff;font-family:"Playfair Display",serif;font-weight:800;font-size:17px;
}
.home-shelf-in-store{white-space:nowrap}
.seo-grid-card .home-shelf-price-link{display:inline-flex;margin-top:6px;width:max-content}

/* ========================= V17.179 — live search dropdown + In Store shelf ========================= */
.search.has-live-search{position:relative;overflow:visible;z-index:90}
.home-search-dropdown{position:absolute;top:calc(100% + 8px);left:0;right:0;min-width:360px;max-height:520px;overflow:auto;background:#fffdf9;border:1px solid #dcc9bc;border-radius:14px;box-shadow:0 18px 44px rgba(52,30,22,.18);padding:6px;z-index:9999}
.home-search-dropdown[hidden]{display:none!important}
.home-search-result{display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;align-items:center;padding:8px 9px;border-radius:10px;color:#2f1d17;text-decoration:none}
.home-search-result:hover,.home-search-result:focus{background:#f5e9df;outline:none}
.home-search-cover{width:42px;height:58px;border-radius:5px;overflow:hidden;background:#f1e7df;display:block}
.home-search-cover img{width:100%;height:100%;object-fit:cover;display:block}
.home-search-copy{min-width:0;display:flex;flex-direction:column;gap:2px}
.home-search-copy strong{font-size:13px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-search-copy small{font-size:11px;color:#7a675f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-search-copy em{font-size:10px;font-style:normal;color:#8a4f38;display:flex;gap:7px;align-items:center}
.home-search-store{display:inline-block;margin-left:7px;padding:2px 6px;border-radius:999px;background:#5a3026;color:#fff;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.home-search-empty{padding:14px 12px;color:#7b675f;font-size:12px}
.home-store-shelf{padding-top:30px}
@media (max-width:900px){.home-search-dropdown{position:fixed;left:12px;right:12px;top:70px;min-width:0;max-height:60vh}}


/* ========================= V17.181 — Store metadata parity, compact buy panel, interactive Store hero ========================= */
.store-buy-panel{width:min(100%,520px);box-sizing:border-box}
.store-buy-actions button,.store-card-actions button,.store-card-actions a,.store-taxonomy-pill,.store-cover,.store-book-card h3 a{
  transition:transform .16s ease,background-color .16s ease,color .16s ease,border-color .16s ease,box-shadow .16s ease,opacity .16s ease;
}
.store-buy-actions .buy:hover,.store-buy-actions .buy:focus-visible{background:#2f1b15;color:#fff;transform:translateY(-2px);box-shadow:0 9px 18px rgba(71,41,31,.18);outline:none}
.store-buy-actions .add:hover,.store-buy-actions .add:focus-visible{background:var(--brand);color:#fff;transform:translateY(-2px);box-shadow:0 9px 18px rgba(71,41,31,.15);outline:none}
.store-book-card{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.store-book-card:hover{transform:translateY(-3px);border-color:#d8bda9;box-shadow:0 16px 32px rgba(59,37,27,.11)}
.store-book-card .store-cover:hover,.store-book-card .store-cover:focus-visible{transform:translateY(-2px);box-shadow:0 10px 22px rgba(59,37,27,.14);outline:none}
.store-book-card h3 a:hover,.store-book-card h3 a:focus-visible{color:var(--brand2);outline:none}
.store-taxonomy-pill:hover,.store-taxonomy-pill:focus-visible{background:#f0dfd0!important;border-color:#c99678!important;color:var(--brand)!important;outline:none}
.store-card-actions .buy:hover,.store-card-actions .buy:focus-visible{background:#2f1b15;transform:translateY(-1px);outline:none}
.store-card-actions .add:hover,.store-card-actions .add:focus-visible,.store-card-actions .details:hover,.store-card-actions .details:focus-visible{background:var(--brand);border-color:var(--brand);color:#fff;transform:translateY(-1px);outline:none}
.store-feature-card{border:1px solid #59352a;border-radius:28px;padding:22px;background:linear-gradient(145deg,#2a1915,#43271f);color:#fff;display:grid;grid-template-columns:minmax(118px,34%) minmax(0,1fr);gap:20px;align-items:center;min-height:310px;overflow:hidden;box-shadow:0 18px 36px rgba(55,31,23,.12)}
.store-feature-cover{display:block;border-radius:16px;overflow:hidden;box-shadow:0 18px 32px rgba(0,0,0,.22);transition:transform .18s ease}.store-feature-cover:hover{transform:translateY(-3px)}
.store-feature-cover img{display:block;width:100%;aspect-ratio:2/3;object-fit:cover}
.store-feature-copy{min-width:0}.store-feature-copy .kicker{color:#efa17f}.store-feature-copy h2{font-size:clamp(24px,2.2vw,38px);line-height:1.03;margin:7px 0 6px}.store-feature-copy h2 a{color:#fff;text-decoration:none}.store-feature-copy h2 a:hover{color:#f3b08f}
.store-feature-author{margin:0 0 11px!important;color:#d7c6bd!important;font-size:12px!important}.store-feature-formats{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.store-feature-formats span{border:1px solid rgba(255,255,255,.24);border-radius:999px;padding:4px 7px;font-size:8px;font-weight:900;letter-spacing:.06em}.store-feature-price{font:800 28px/1 "DM Sans",sans-serif;margin:8px 0 15px;color:#fff}.store-feature-price.is-loading{opacity:.7}
.store-feature-foot{display:flex;align-items:center;justify-content:space-between;gap:12px}.store-feature-foot>a{color:#fff;text-decoration:none;font-size:11px;font-weight:900;border-bottom:1px solid rgba(255,255,255,.45);padding-bottom:2px}.store-feature-dots{display:flex;gap:5px}.store-feature-dots button{width:7px;height:7px;border:0;border-radius:50%;padding:0;background:rgba(255,255,255,.32);cursor:pointer}.store-feature-dots button.active{width:18px;border-radius:999px;background:#f2a47f}
.store-feature-loading{grid-column:1/-1;align-self:center}.store-feature-loading h2{font-size:30px;margin:7px 0}.store-feature-loading p{color:#d4c2b8}
@media(max-width:760px){.store-buy-panel{width:100%}.store-feature-card{grid-template-columns:110px 1fr;min-height:0;padding:16px;gap:14px}.store-feature-copy h2{font-size:23px}.store-feature-price{font-size:22px}}

/* =========================
   V17.182: homepage Store hero — second coded hero in the existing hero stage
   ========================= */
.hero-primary-stage{position:relative;min-width:0;isolation:isolate}
.hero-primary-stage>.hero-feature{width:100%;transition:opacity .5s ease,transform .55s cubic-bezier(.2,.72,.24,1),filter .5s ease}
.hero-primary-stage.is-store-stage>.hero-feature{opacity:0;transform:translateX(-14px) scale(.992);filter:blur(1px);pointer-events:none}
.store-home-hero{
  position:absolute;inset:0;z-index:3;overflow:hidden;border:1px solid #6b493d;border-radius:24px;
  background:
    radial-gradient(circle at 82% 20%,rgba(237,174,91,.18),transparent 31%),
    linear-gradient(128deg,#2d1b16 0%,#43271f 48%,#5a3529 100%);
  color:#fffaf5;box-shadow:0 24px 50px rgba(53,30,22,.18);
  opacity:0;transform:translateX(15px) scale(.992);pointer-events:none;
  transition:opacity .5s ease,transform .55s cubic-bezier(.2,.72,.24,1),filter .5s ease;
}
.hero-primary-stage.is-store-stage>.store-home-hero{opacity:1;transform:none;pointer-events:auto}
.store-home-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(115deg,rgba(255,255,255,.055),transparent 24%,transparent 70%,rgba(239,181,101,.08));pointer-events:none}
.store-home-hero::after{content:"";position:absolute;width:280px;height:280px;border:1px solid rgba(239,181,101,.16);border-radius:50%;right:-92px;top:-112px;box-shadow:0 0 0 36px rgba(239,181,101,.03),0 0 0 72px rgba(239,181,101,.025);pointer-events:none}
.store-home-hero-inner{position:relative;z-index:1;height:100%;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(300px,.92fr);align-items:center;gap:18px;padding:34px 34px 28px}
.store-home-hero-copy{min-width:0;max-width:520px}
.store-home-hero-kicker{display:inline-flex;align-items:center;gap:9px;font:800 9px/1 "DM Sans",sans-serif;letter-spacing:.19em;color:#efb565;text-transform:uppercase;margin-bottom:15px}
.store-home-hero-kicker::before{content:"";width:26px;height:1px;background:#efb565}
.store-home-hero h2{font-family:"Playfair Display",serif;font-size:clamp(36px,3.1vw,53px);line-height:.96;letter-spacing:-.035em;margin:0 0 16px;color:#fffaf5}
.store-home-hero h2 em{font-weight:600;color:#efb565}
.store-home-hero-copy>p{font-size:13.5px;line-height:1.55;color:#e4d7cf;margin:0 0 17px;max-width:500px}
.store-home-hero-meta{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.store-home-hero-meta span{border:1px solid rgba(255,255,255,.16);background:rgba(255,250,245,.055);border-radius:999px;padding:7px 10px;font:700 9px/1 "DM Sans",sans-serif;color:#eadfd8;letter-spacing:.01em}
.store-home-hero-meta strong{color:#fff;font-weight:900}
.store-home-hero-actions{display:flex;gap:9px;align-items:center}
.store-home-hero-actions a{min-height:38px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;padding:0 15px;font:800 11px/1 "DM Sans",sans-serif;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease,border-color .18s ease}
.store-home-hero-primary{background:#efb565;color:#382017;box-shadow:0 10px 24px rgba(15,7,4,.18)}
.store-home-hero-primary span{margin-left:9px;font-size:15px;transition:transform .18s ease}
.store-home-hero-primary:hover,.store-home-hero-primary:focus-visible{background:#fff5e7;transform:translateY(-2px);box-shadow:0 14px 28px rgba(15,7,4,.24);outline:none}
.store-home-hero-primary:hover span,.store-home-hero-primary:focus-visible span{transform:translateX(3px)}
.store-home-hero-secondary{border:1px solid rgba(255,255,255,.23);color:#fff7ef;background:rgba(255,255,255,.035)}
.store-home-hero-secondary:hover,.store-home-hero-secondary:focus-visible{background:#fff7ef;color:#47291f;border-color:#fff7ef;transform:translateY(-2px);outline:none}
.store-home-hero-visual{position:relative;height:320px;min-width:0}
.store-home-hero-orbit{position:absolute;width:270px;height:270px;border-radius:50%;left:50%;top:50%;transform:translate(-47%,-50%);border:1px solid rgba(239,181,101,.22);box-shadow:inset 0 0 70px rgba(239,181,101,.06)}
.store-home-hero-orbit::before,.store-home-hero-orbit::after{content:"";position:absolute;border-radius:50%;border:1px solid rgba(255,255,255,.09);inset:24px}
.store-home-hero-orbit::after{inset:52px}
.store-home-hero-covers{position:absolute;inset:0}
.store-home-hero-cover{position:absolute;display:block;width:128px;aspect-ratio:2/3;border-radius:11px;overflow:hidden;background:#f2e5db;box-shadow:0 20px 35px rgba(11,5,3,.38);border:1px solid rgba(255,255,255,.20);transition:transform .22s ease,box-shadow .22s ease;transform-origin:50% 100%}
.store-home-hero-cover img{width:100%;height:100%;object-fit:cover;display:block}
.store-home-hero-cover span{position:absolute;left:0;right:0;bottom:0;padding:22px 8px 7px;background:linear-gradient(transparent,rgba(20,10,6,.88));color:#fff;font:700 8px/1.25 "DM Sans",sans-serif;opacity:0;transform:translateY(4px);transition:opacity .18s ease,transform .18s ease}
.store-home-hero-cover:hover span,.store-home-hero-cover:focus-visible span{opacity:1;transform:none}
.store-home-hero-cover:hover,.store-home-hero-cover:focus-visible{z-index:8!important;box-shadow:0 26px 42px rgba(10,4,2,.5);outline:none}
.store-home-hero-cover.cover-1{left:42%;top:20px;z-index:5;transform:translateX(-50%) rotate(-3deg)}
.store-home-hero-cover.cover-1:hover,.store-home-hero-cover.cover-1:focus-visible{transform:translateX(-50%) translateY(-7px) rotate(-1deg) scale(1.035)}
.store-home-hero-cover.cover-2{left:13%;top:62px;z-index:3;transform:rotate(-10deg) scale(.88)}
.store-home-hero-cover.cover-2:hover,.store-home-hero-cover.cover-2:focus-visible{transform:translateY(-6px) rotate(-5deg) scale(.94)}
.store-home-hero-cover.cover-3{right:8%;top:58px;z-index:4;transform:rotate(9deg) scale(.9)}
.store-home-hero-cover.cover-3:hover,.store-home-hero-cover.cover-3:focus-visible{transform:translateY(-6px) rotate(4deg) scale(.96)}
.store-home-hero-cover.cover-4{right:30%;top:92px;z-index:2;transform:rotate(3deg) scale(.72);filter:saturate(.84)}
.store-home-hero-cover.cover-4:hover,.store-home-hero-cover.cover-4:focus-visible{transform:translateY(-5px) rotate(1deg) scale(.79);filter:none}
.store-home-hero-stamp{position:absolute;right:4px;bottom:3px;width:92px;height:92px;border-radius:50%;border:1px solid rgba(239,181,101,.44);background:rgba(41,22,16,.86);box-shadow:0 13px 28px rgba(14,7,4,.27);display:grid;place-content:center;text-align:center;transform:rotate(7deg);backdrop-filter:blur(6px)}
.store-home-hero-stamp span{font:800 7px/1 "DM Sans",sans-serif;letter-spacing:.2em;color:#efb565;margin-bottom:4px}
.store-home-hero-stamp strong{font:800 13px/.94 "Playfair Display",serif;letter-spacing:.03em;color:#fff}
.store-home-hero-stamp small{font:700 5.7px/1 "DM Sans",sans-serif;letter-spacing:.12em;color:#d6c7be;margin-top:5px}
.hero-stage-switch{position:absolute;z-index:8;right:14px;bottom:13px;display:flex;gap:4px;padding:4px;border-radius:999px;background:rgba(255,250,245,.88);border:1px solid rgba(103,72,58,.16);box-shadow:0 8px 20px rgba(53,31,24,.10);backdrop-filter:blur(8px)}
.hero-stage-switch button{appearance:none;border:0;background:transparent;color:#886f64;border-radius:999px;padding:6px 9px;font:900 7px/1 "DM Sans",sans-serif;letter-spacing:.11em;cursor:pointer;transition:background .18s ease,color .18s ease,transform .18s ease}
.hero-stage-switch button:hover{color:#47291f;transform:translateY(-1px)}
.hero-stage-switch button.active{background:#5b3528;color:#fff}
.hero-primary-stage.is-store-stage .hero-stage-switch{background:rgba(45,27,22,.72);border-color:rgba(255,255,255,.14)}
.hero-primary-stage.is-store-stage .hero-stage-switch button{color:#dbc9bd}
.hero-primary-stage.is-store-stage .hero-stage-switch button.active{background:#efb565;color:#382017}
@media(min-width:1051px){.hero-primary-stage{height:420px;min-height:420px;max-height:420px}.hero-primary-stage>.hero-feature{height:100%;min-height:100%;max-height:100%}}
@media(max-width:1050px){.hero-primary-stage{min-height:360px}.store-home-hero-inner{padding:26px 28px;grid-template-columns:minmax(0,1.05fr) minmax(270px,.95fr)}.store-home-hero-visual{height:300px}.store-home-hero-cover{width:115px}.store-home-hero h2{font-size:39px}}
@media(max-width:760px){.hero-primary-stage{min-height:510px}.store-home-hero-inner{display:block;padding:24px 22px}.store-home-hero-copy{max-width:none;padding-right:0}.store-home-hero h2{font-size:38px;line-height:.98}.store-home-hero-copy>p{font-size:12.5px;max-width:95%}.store-home-hero-meta{gap:6px;margin-bottom:13px}.store-home-hero-visual{height:190px;margin-top:7px}.store-home-hero-cover{width:82px;border-radius:8px}.store-home-hero-cover.cover-1{left:44%;top:4px}.store-home-hero-cover.cover-2{left:19%;top:28px}.store-home-hero-cover.cover-3{right:16%;top:24px}.store-home-hero-cover.cover-4{right:31%;top:48px}.store-home-hero-orbit{width:175px;height:175px}.store-home-hero-stamp{width:68px;height:68px;right:8px}.store-home-hero-stamp strong{font-size:10px}.hero-stage-switch{right:10px;bottom:10px}}
@media(prefers-reduced-motion:reduce){.hero-primary-stage>.hero-feature,.store-home-hero,.store-home-hero-cover,.store-home-hero-actions a,.hero-stage-switch button{transition:none!important}}


/* =========================
   V17.183: exclusive Store Hero + exact Hot-on-Amazon height parity
   Store Hero ON = old book hero OFF. Store Hero OFF = old book hero ON.
   ========================= */
.hero-stage-switch{display:none!important}
.hero-primary-stage>.hero-feature[hidden],.store-home-hero[hidden]{display:none!important}
@media(min-width:1051px){
  .hero{align-items:stretch}
  .hero-primary-stage,.hot-list{height:540px!important;min-height:540px!important;max-height:540px!important;align-self:stretch}
  .hero-primary-stage>.hero-feature,.store-home-hero{height:100%!important;min-height:0!important;max-height:none!important}
}
@media(min-width:1181px){
  .hero-primary-stage,.hot-list{height:546px!important;min-height:546px!important;max-height:546px!important}
}


/* ========================= V17.184 — Payment trust UI ========================= */
.pay-badge.paypal{background:#fff;color:#003087;border-color:#c8d5e6;font-style:italic;font-weight:900;letter-spacing:-.02em;box-shadow:inset 0 -2px 0 rgba(255,196,57,.55)}
.store-inline-payments{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:11px}
.store-inline-payments .store-payment-label{display:inline-block;margin:0;white-space:nowrap}
.store-inline-payments .store-payment-badges{gap:5px}
.store-hero-payments{margin-top:13px;padding-top:12px;border-top:1px solid rgba(109,74,59,.12)}
.store-hero-payments .pay-badge{min-height:25px;padding:4px 9px}
.store-detail-payments{margin-top:9px;padding-top:10px;border-top:1px solid #f0e4dc}
.store-detail-payments .store-payment-label{font-size:9px;color:#9a8174}
.store-detail-payments .pay-badge{min-height:22px;padding:3px 7px;font-size:8px}
@media(max-width:760px){.store-inline-payments{align-items:flex-start;flex-direction:column;gap:6px}.store-inline-payments .store-payment-badges{width:100%}.store-hero-payments{margin-top:12px}.store-detail-payments{margin-top:8px}}
