/* Katniss Wild · draft-only compact catalog and finer silk glints · v7
 * No changes to hero photograph, navigation functionality, book links or live theme.
 */
@media(min-width:821px){
  .kwv-page .kwv-catalog-hero{
    min-height:0;
    padding-top:5px;
    padding-bottom:5px;
  }
  .kwv-page .kwv-catalog-intro{padding:14px 3% 14px 7%;}
  .kwv-page .kwv-catalog-intro h1{font-size:clamp(39px,3.8vw,59px);line-height:1.02;margin:3px 0 9px;}
  .kwv-page .kwv-catalog-intro h1 em{font-size:clamp(38px,3.4vw,49px);}
  .kwv-page .kwv-catalog-intro>p:last-child{font-size:16px;line-height:1.35;margin:10px 0;}
  .kwv-page .kwv-catalog-hero-images{padding:6px 12px;gap:18px;}
  .kwv-page .kwv-catalog-hero-images img{width:auto;max-width:34%;max-height:180px;}
  .kwv-page .kwv-catalog-jump{padding:7px 4%;gap:6px;}
  .kwv-page .kwv-catalog-jump a{padding:6px 10px;font-size:9px;}
  .kwv-page .kwv-catalog-category,
  .kwv-page .kwv-catalog-category:nth-of-type(2n){
    padding-top:18px;
    padding-bottom:26px;
  }
  .kwv-page .kwv-catalog-category-header{margin-bottom:11px;}
  .kwv-page .kwv-catalog-category-header h2{font-size:clamp(31px,3vw,43px);line-height:1.06;margin:0;}
  .kwv-page .kwv-catalog-category-header .kwv-eyebrow{margin-bottom:3px;}
  .kwv-page .kwv-series-groups{gap:12px;}
  .kwv-page .kwv-series-block{padding:12px clamp(14px,2vw,25px) 18px;}
  .kwv-page .kwv-series-heading{padding-bottom:8px;margin-bottom:11px;}
  .kwv-page .kwv-series-heading h3{font-size:clamp(25px,2.2vw,32px);}
  .kwv-page .kwv-series-grid{gap:17px 13px;}
  .kwv-page .kwv-series-grid .kwv-catalog-cover{height:170px;}
  .kwv-page .kwv-series-grid .kwv-catalog-cover img{max-height:165px;}
  /* A single-title series should not leave an enormous empty rectangle. */
  .kwv-page .kwv-series-rules .kwv-series-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    justify-content:center;
    max-width:640px;
    margin:0 auto;
  }
  .kwv-page .kwv-series-rules .kwv-series-grid>.kwv-catalog-book{
    display:grid;
    width:100%;
    max-width:none;
    flex:none;
    grid-template-columns:140px minmax(0,1fr);
    grid-template-rows:repeat(4,auto);
    align-items:center;
    justify-items:start;
    column-gap:20px;
    row-gap:6px;
    text-align:left;
  }
  .kwv-page .kwv-series-rules .kwv-catalog-book>.kwv-catalog-cover{
    grid-column:1;grid-row:1/5;min-height:0;height:178px;
  }
  .kwv-page .kwv-series-rules .kwv-catalog-book>.kwv-catalog-cover img{max-height:171px;}
  .kwv-page .kwv-series-rules .kwv-catalog-book>h3{grid-column:2;grid-row:1;font-size:clamp(19px,1.8vw,25px);}
  .kwv-page .kwv-series-rules .kwv-catalog-book>p{grid-column:2;grid-row:2;font-size:12px;}
  .kwv-page .kwv-series-rules .kwv-catalog-book>.kwv-catalog-buy{grid-column:2;grid-row:3;}
  .kwv-page .kwv-series-rules .kwv-catalog-book>.kwv-store-list{
    grid-column:2;grid-row:4;
    justify-content:flex-start;
    max-width:100%;
  }
  .kwv-page .kwv-series-rules .kwv-store-list>span{text-align:left;}
  .kwv-page .kwv-series-rules .kwv-store-list a{min-width:34px;}
  .kwv-page .kwv-feature-with-feed-side .kwv-microfeed-stream{
    max-height:550px;
  }
}
/* Replace the older, broad patches on editorial pages and the catalog
   with smaller, softer folds. The familiar deep wine palette stays intact. */
.kwv-page .kwv-catalog-hero{
  background:
    radial-gradient(ellipse 32% 70% at 89% 5%,rgba(248,222,206,.035),transparent 83%),
    repeating-linear-gradient(114deg,transparent 0px,rgba(250,227,211,.015) 111px,rgba(250,225,205,.029) 132px,transparent 162px,transparent 237px),
    linear-gradient(111deg,#180309,#2b0815 53%,#170309);
}
.kwv-page .kwv-catalog-category,
.kwv-page .kwv-catalog-category:nth-of-type(2n){
  background:
    radial-gradient(ellipse 36% 66% at 1% 4%,rgba(246,217,204,.024),transparent 85%),
    repeating-linear-gradient(115deg,transparent 0px,rgba(251,228,211,.014) 94px,rgba(254,226,210,.026) 120px,transparent 153px,transparent 226px),
    linear-gradient(113deg,#180309,#280813 50%,#180309);
}
.kwv-page .kwv-series-block,
.kwv-page .kwv-series-block:nth-child(2){
  background:
    repeating-linear-gradient(115deg,transparent 0px,rgba(248,220,204,.012) 94px,rgba(251,227,208,.026) 116px,transparent 149px,transparent 216px),
    linear-gradient(114deg,#1b040b,#2d0817 55%,#1c040c);
}
.kwv-page .kwv-subpage{
  background:
    radial-gradient(ellipse 33% 70% at 96% 6%,rgba(243,217,203,.032),transparent 86%),
    repeating-linear-gradient(113deg,transparent 0px,rgba(246,217,204,.012) 102px,rgba(250,227,211,.026) 123px,transparent 155px,transparent 230px),
    linear-gradient(113deg,#180309,#2a0714 52%,#180309)!important;
}
.kwv-page .kwv-subpage .kwv-alternate{
  background:
    repeating-linear-gradient(117deg,transparent 0px,rgba(250,229,213,.012) 88px,rgba(249,226,211,.023) 110px,transparent 145px,transparent 216px),
    linear-gradient(113deg,rgba(19,3,9,.95),rgba(33,7,17,.95));
}
.kwv-page .kwv-catalog-elsewhere{
  background:
    repeating-linear-gradient(113deg,transparent 0px,rgba(253,227,211,.012) 106px,rgba(247,219,201,.028) 125px,transparent 160px,transparent 237px),
    linear-gradient(113deg,#180309,#290713 55%,#170309);
}
/* A shorter highlight pattern repeated in thin, low-contrast folds.
   The main hero with Lily, Ryan and Alexis is deliberately excluded. */
.kwv-page :is(
  .kwv-traits,
  .kwv-spotlight,
  .kwv-genres,
  .kwv-footer,
  .kwv-catalog-hero,
  .kwv-catalog-category,
  .kwv-series-block,
  .kwv-subpage,
  .kwv-subpage .kwv-alternate,
  .kwv-page-cta,
  .kwv-catalog-elsewhere,
  .kwv-feature-with-feed-side
){position:relative;isolation:isolate;}
.kwv-page :is(
  .kwv-traits,
  .kwv-spotlight,
  .kwv-genres,
  .kwv-footer,
  .kwv-catalog-hero,
  .kwv-catalog-category,
  .kwv-series-block,
  .kwv-subpage,
  .kwv-subpage .kwv-alternate,
  .kwv-page-cta,
  .kwv-catalog-elsewhere,
  .kwv-feature-with-feed-side
)::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    repeating-linear-gradient(
      117deg,
      transparent 0px,
      rgba(255,231,211,.016) 46px,
      rgba(255,234,218,.037) 65px,
      rgba(255,232,214,.014) 81px,
      transparent 122px,
      transparent 196px
    ),
    repeating-linear-gradient(
      63deg,
      transparent 0px,
      rgba(255,218,207,.010) 104px,
      rgba(255,228,211,.021) 133px,
      transparent 163px,
      transparent 284px
    );
  opacity:.58;
}
.kwv-page :is(
  .kwv-traits,
  .kwv-spotlight,
  .kwv-genres,
  .kwv-footer,
  .kwv-catalog-hero,
  .kwv-catalog-category,
  .kwv-series-block,
  .kwv-subpage,
  .kwv-subpage .kwv-alternate,
  .kwv-page-cta,
  .kwv-catalog-elsewhere,
  .kwv-feature-with-feed-side
)>*{position:relative;z-index:1;}
/* Avoid excessive folded highlights where nested sections overlap. */
.kwv-page .kwv-series-block::after,
.kwv-page .kwv-subpage .kwv-alternate::after{opacity:.38;}
/* On cream panels, use fine wine shadows rather than bright ivory. */
.kwv-page .kwv-books{
  background:
    repeating-linear-gradient(117deg,transparent 0px,rgba(93,31,48,.016) 52px,rgba(86,25,44,.040) 71px,rgba(86,25,44,.011) 87px,transparent 132px,transparent 211px),
    radial-gradient(ellipse 43% 76% at 2% 94%,rgba(93,21,43,.11),transparent 80%),
    linear-gradient(130deg,#f8eee8,#ebd9d1 54%,#f6e9e1);
}
.kwv-page .kwv-newsletter{
  background:
    repeating-linear-gradient(117deg,transparent 0px,rgba(91,25,44,.019) 70px,rgba(94,30,53,.042) 87px,transparent 116px,transparent 216px),
    linear-gradient(115deg,#f4e3da,#f8eee7 51%,#e7cbc5);
}
/* Small unobtrusive private-email invitation below the scrolling feed. */
.kwv-page .kwv-feature-with-feed-side .kwv-microfeed-inner{gap:10px;}
.kwv-page .kwv-feature-with-feed-side .kwv-feed-contact{
  flex:0 0 auto;
  margin:2px 2px 0;
  padding:10px 3px 1px;
  border-top:1px solid rgba(227,179,149,.33);
  font:13px/1.48 'DM Sans',sans-serif;
  color:#e0c4b7;
}
.kwv-page .kwv-feed-contact a{
  display:inline;
  color:#f2d2b5;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
  font-weight:600;
}
.kwv-page .kwv-feed-contact a:hover,
.kwv-page .kwv-feed-contact a:focus-visible{color:#fff0de;outline-offset:3px;}
@media(max-width:1000px){
  .kwv-page .kwv-feature-with-feed-side .kwv-feed-contact{
    padding:10px 2px 0;
    border-top:1px solid rgba(227,179,149,.33);
  }
  .kwv-page .kwv-feature-with-feed-side .kwv-microfeed-stream{max-height:none;}
}
@media(max-width:820px){
  .kwv-page .kwv-catalog-hero{min-height:0;}
  .kwv-page .kwv-catalog-category,.kwv-page .kwv-catalog-category:nth-of-type(2n){padding-top:23px;padding-bottom:26px;}
  .kwv-page .kwv-catalog-category-header{margin-bottom:13px;}
  .kwv-page .kwv-series-block{padding:14px 12px 17px;}
  .kwv-page .kwv-series-heading{margin-bottom:10px;padding-bottom:7px;}
  .kwv-page .kwv-series-rules .kwv-series-grid{
    display:grid;
    max-width:100%;
    grid-template-columns:repeat(1,minmax(0,1fr));
    justify-content:center;
  }
  .kwv-page .kwv-series-rules .kwv-series-grid>.kwv-catalog-book{
    display:flex;
    max-width:200px;
    flex-direction:column;
    margin:0 auto;
    text-align:center;
    align-items:center;
  }
  .kwv-page .kwv-series-rules .kwv-series-grid .kwv-store-list{justify-content:center;}
  .kwv-page .kwv-series-rules .kwv-series-grid .kwv-store-list>span{text-align:center;}
}
