/* IDS sponsored character media links — discreet, accessible, and consistently credited. */
.gc-flagship .ids-character-shelf{margin:25px 0 19px;padding:24px;background:linear-gradient(130deg,#1c3446,#0f1c2a 86%);border:1px solid #70869a;border-top:3px solid #bf657a;border-radius:9px}
.gc-flagship .ids-character-shelf .ids-shelf-mark{display:inline-flex;gap:8px;align-items:center;font-weight:900;letter-spacing:.11em;font-size:.72rem;text-transform:uppercase;color:#f9bdcc}
.gc-flagship .ids-character-shelf h3{margin:7px 0 11px;font-size:clamp(1.28rem,2.1vw,1.7rem);color:#fff;line-height:1.25}
.gc-flagship .ids-character-shelf p{font-size:.88rem;line-height:1.65;color:#d7e4eb}
.gc-flagship .ids-character-shelf .ids-shelf-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:19px 0 16px}
.gc-flagship .ids-character-shelf .ids-shelf-item{display:flex;flex-direction:column;gap:7px;min-width:0;padding:18px;background:#223c50;border:1px solid #657f92;border-radius:6px}
.gc-flagship .ids-character-shelf .ids-shelf-item small{font-size:.71rem;letter-spacing:.08em;font-weight:850;text-transform:uppercase;color:#f6b8c8}
.gc-flagship .ids-character-shelf .ids-shelf-item strong{font-size:1.08rem;line-height:1.33;color:#fff}
.gc-flagship .ids-character-shelf .ids-shelf-item p{margin:0 0 13px;font-size:.84rem;line-height:1.5;flex:1}
.gc-flagship .ids-character-shelf .ids-shelf-item a.ids-shelf-buy{display:inline-flex;justify-content:center;align-items:center;text-align:center;gap:5px;margin:auto 0 0;padding:13px 12px;border:1px solid #e6aabc;background:#8e374e;color:#fff!important;font-size:.88rem;font-weight:850;text-decoration:none;line-height:1.3;border-radius:4px}
.gc-flagship .ids-character-shelf .ids-shelf-item a.ids-shelf-buy:hover,.gc-flagship .ids-character-shelf .ids-shelf-item a.ids-shelf-buy:focus-visible{background:#aa4e67;border-color:#fff;outline:2px solid #fff;outline-offset:2px}
.gc-flagship .ids-character-shelf .ids-shelf-disclosure{font-size:.79rem;color:#c8d9e2;line-height:1.55;border-top:1px solid #4b6376;padding-top:13px;margin:0}
.gc-flagship .ids-shelf-jump{display:inline-block;margin:9px 0 0;font-size:.87rem;font-weight:850;text-decoration:underline;text-underline-offset:3px}
@media(max-width:720px){.gc-flagship .ids-character-shelf{padding:17px}.gc-flagship .ids-character-shelf .ids-shelf-items{grid-template-columns:1fr}.gc-flagship .ids-character-shelf .ids-shelf-item{padding:16px}}

/* Conservative, sitewide Amazon search fallback for legacy and new dossiers. */
.ids-character-search-fallback{padding:19px 22px;margin:24px 0 16px;background:linear-gradient(130deg,#152a3b,#0e1722);border-left:4px solid #b9536f;border-top:1px solid #688095;border-right:1px solid #688095;border-bottom:1px solid #688095;color:#edf4f8;border-radius:4px;clear:both}
.ids-character-search-fallback p{margin:8px 0 12px;line-height:1.58;color:#d9e6ed;font-size:.9rem}
.ids-character-search-fallback .ids-character-search-title{font-size:1.05rem;color:#fff;font-weight:900;margin:0 0 9px}
.ids-character-search-fallback a{display:inline-block;padding:12px 16px;margin:10px 0;background:#87394f;border:1px solid #ecc2ce;color:#fff!important;text-decoration:none;font-size:.89rem;font-weight:850;line-height:1.4}
.ids-character-search-fallback a:hover,.ids-character-search-fallback a:focus-visible{background:#aa4b66;outline:2px solid white;outline-offset:3px}
.ids-character-search-fallback .ids-character-search-disclosure{font-size:.76rem;color:#c6d7e0;line-height:1.5;margin:8px 0 0}
@media(max-width:700px){.ids-character-search-fallback{padding:15px 16px}.ids-character-search-fallback a{width:100%;box-sizing:border-box;text-align:center}}



/* IDS collecting link: centered in the reading column below the entire
   character hero. No floating ad box and no uneven half-column positioning. */
.ids-amazon-underhero{
  width:100%;
  max-width:1460px;
  box-sizing:border-box;
  margin:0 auto;
  padding:15px 24px 17px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:18px;
  background:transparent;
  border:0;
  text-align:center;
  position:relative;
}
.ids-amazon-underhero::before,
.ids-amazon-underhero::after{
  content:"";
  display:block;
  flex:1 1 38px;
  max-width:240px;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(173,193,210,.35));
  pointer-events:none;
}
.ids-amazon-underhero::after{
  background:linear-gradient(90deg,rgba(173,193,210,.35),transparent);
}
.ids-amazon-underhero .ids-amazon-underhero-link,
.gc-flagship .ids-amazon-underhero .ids-amazon-underhero-link{
  display:inline-flex;
  box-sizing:border-box;
  justify-content:center;
  align-items:center;
  flex:0 1 auto;
  width:auto;
  max-width:100%;
  min-width:0;
  margin:0;
  padding:5px 0;
  color:#e9afbd!important;
  background:none!important;
  border:0!important;
  box-shadow:none!important;
  text-decoration:underline!important;
  text-decoration-color:rgba(233,175,189,.56)!important;
  text-underline-offset:5px;
  text-decoration-thickness:1px;
  font:700 clamp(.94rem,1.15vw,1.05rem)/1.45 system-ui,sans-serif;
  letter-spacing:.005em;
  white-space:normal;
  text-align:center;
}
.ids-amazon-underhero .ids-amazon-underhero-link strong{
  font:inherit;
  color:inherit;
}
.ids-amazon-underhero .ids-amazon-underhero-link:hover,
.gc-flagship .ids-amazon-underhero .ids-amazon-underhero-link:hover{
  color:#fff!important;
  text-decoration-color:currentColor!important;
}
.ids-amazon-underhero .ids-amazon-underhero-link:focus-visible{
  outline:2px solid #e9afbd;
  outline-offset:4px;
}
@media(max-width:760px){
  .ids-amazon-underhero{padding:12px 18px 14px;gap:10px}
  .ids-amazon-underhero::before,.ids-amazon-underhero::after{max-width:45px}
  .ids-amazon-underhero .ids-amazon-underhero-link{font-size:.98rem}
}

/* Guard against browser-cached legacy JavaScript adding a badge after the link. */
.ids-amazon-underhero .ids-paid-link-note { display:none!important; }
