/* Amazon Associates UK: disclosure + paid-link label. 13 Nov 2026. */
.paid-link{
  display:inline-block;
  margin:0 0 0 .35rem;
  padding:.12rem .35rem;
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.03em;
  line-height:1.2;
  color:#111111;
  background:#F4EEE2;
  border:1px solid #111111;
  border-radius:2px;
  white-space:nowrap;
  vertical-align:middle;
}
.amazon-disclosure{
  margin:.75rem 0 0;
  font-size:.85rem;
  line-height:1.45;
  max-width:50ch;
}
.buy .amazon-disclosure,
.book-body .amazon-disclosure{
  color:var(--text);
}
.start-here .amazon-disclosure,
.start-here-item .amazon-disclosure{
  color:#efe9df;
  font-size:.82rem;
  max-width:46ch;
}
.foot .amazon-disclosure{
  margin:0;
  color:#a9a49b;
  font-size:.85rem;
  max-width:60ch;
}
.about-panel .amazon-disclosure{
  color:var(--text);
  margin:1rem 0 0;
}

.about-panel a{
  overflow-wrap:anywhere;
  word-break:break-word;
}

/* r2: attach the Paid link label to the UK control, not between UK and .com */
.buy-uk{
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap:.2rem;
  margin:0;
  min-width:0;
}
.paid-link{
  margin:0;
  align-self:center;
}
.fmt-btns{
  align-items:flex-start;
}
.fmt-btns .buy-uk{
  flex:1 1 calc(50% - .3rem);
  min-width:0;
}
.fmt-btns .buy-uk .btn{
  width:100%;
  box-sizing:border-box;
}
.start-here-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  gap:.45rem .7rem;
}
.start-here-actions .buy-uk{
  flex:0 1 auto;
}
.start-here-formats,
.start-here-formats.start-here-paperback-row{
  align-items:flex-start;
}
.start-here-formats .buy-uk{
  flex:0 0 auto;
  align-items:center;
}
.about-panel .buy-uk{
  align-items:flex-start;
  gap:.25rem;
  max-width:100%;
}

.start-here-fmt-label,
.start-here-sep{
  display:inline-flex;
  align-items:center;
  min-height:44px;
}

/* t13 (14 Nov 2026): one affiliate line per buy group, replacing per-link Paid link labels (Legal LD-116). */
.affiliate-note{
  margin:.5rem 0 .25rem;
  font-size:.875rem;
  font-weight:400;
  line-height:1.45;
  max-width:52ch;
  color:var(--text);
}
.start-here .affiliate-note,
.start-here-item .affiliate-note{
  color:#efe9df;
}
.about-panel .affiliate-note{
  margin:.25rem 0 1rem;
}

/* t13: Coming soon hero grows to fit its text (no fixed aspect + overflow clip). */
.coming-soon-hero{
  overflow:visible;
}
.coming-soon-strip{
  position:absolute;
  inset:0;
  height:100%;
  aspect-ratio:auto;
}
.coming-soon-strip img{
  width:100%;
  height:100%;
  aspect-ratio:auto;
  object-fit:cover;
}
.coming-soon-overlay{
  position:relative;
  inset:auto;
  min-height:auto; /* aspect-ratio is a floor: the box grows with its text */
  aspect-ratio:1600/532;
  padding-bottom:1.5rem;
}
@media (max-width:700px){
  .coming-soon-overlay{
    background:linear-gradient(180deg,rgba(8,10,14,.66) 0%,rgba(8,10,14,.54) 55%,rgba(8,10,14,.48) 100%);
  }
}
.coming-soon-overlay{background:linear-gradient(90deg,rgba(14,17,24,.82) 0%,rgba(14,17,24,.70) 45%,rgba(14,17,24,.35) 75%,rgba(14,17,24,.12) 100%),linear-gradient(180deg,rgba(14,17,24,.35) 0%,rgba(14,17,24,0) 70%);}
.chapter-head.invert.coming-soon-overlay p:not(.chapter-index){color:#f2eee8;text-shadow:0 1px 3px rgba(0,0,0,.55);}
@media (max-width:700px){.coming-soon-overlay{background:linear-gradient(180deg,rgba(14,17,24,.84) 0%,rgba(14,17,24,.76) 60%,rgba(14,17,24,.66) 100%);}}
