[data-halloween-gift][hidden], [data-halloween-paid-digital][hidden] { display: none !important; }
.rex-gift-banner { background: #382216; color: #fff2dd; border-bottom: 1px solid #ba804b; }
.rex-gift-banner__inner { width: min(1120px, calc(100% - 2.5rem)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1rem; }
.rex-gift-banner p { margin: 0; line-height: 1.45; }
.rex-gift-banner strong { display: block; font-size: 1rem; color: #ffdfaa; }
.rex-gift-banner p span { display: block; font-size: .85rem; margin-top: .25rem; }
.rex-gift-button { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 48px; padding: .75rem 1rem; border: 1px solid #dfaa60; border-radius: 7px; background: #edbb72; color: #2d2117 !important; font: 750 .95rem/1.35 Inter, ui-sans-serif, system-ui, sans-serif; text-decoration: none; text-align: left; }
.rex-gift-button:hover { background: #f8ce91; }
.rex-gift-button:focus-visible, .rex-gift-fallback a:focus-visible { outline: 3px solid #b85e24; outline-offset: 4px; }
.rex-gift-banner .rex-gift-button { flex-shrink: 0; }
.rex-gift-offer { margin: 1.5rem 0; padding: clamp(1rem, 2.5vw, 1.5rem); border: 1px solid #c58c4c; border-radius: 14px; background: #fff3de; color: #38291c; scroll-margin-top: 9rem; }
.rex-gift-offer .rex-gift-kicker { margin: 0 0 .5rem; color: #78441e; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.rex-gift-offer h2 { margin: 0 0 .65rem; color: #38291c; font: 500 clamp(1.4rem, 2.2vw, 1.85rem)/1.2 Georgia, serif; letter-spacing: -.02em; }
.rex-gift-offer p { margin: 0 0 1rem; color: #493726; font-size: .95rem; line-height: 1.55; }
.rex-gift-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1rem 0; }
.rex-gift-actions .rex-gift-button { flex: 1 1 210px; justify-content: space-between; }
.rex-gift-button small { display: block; margin-top: .3rem; font-size: .75rem; font-weight: 500; }
.rex-gift-button--paper { background: #fffaf0; border-color: #a56b35; }
.rex-gift-button--paper:hover { background: #f7e2bd; }
.rex-gift-offer .rex-gift-deadline { margin: .85rem 0 .6rem; font-size: .8rem; }
.rex-gift-offer .rex-gift-credit { margin: 0; font-size: .74rem; color: #67513b; }
.rex-gift-fallback { padding: .8rem 1rem; margin: 0; background: #fff3de; color: #38291c; }
.rex-gift-fallback a { color: #6f351c; font-weight: 700; }
.rex-gift-page { margin: 0; background: #f7f1e6; color: #38291c; font: 17px/1.6 system-ui, sans-serif; }
.rex-gift-page main { max-width: 720px; margin: 3rem auto; padding: 0 1.25rem; }
.rex-gift-page a { color: #713b1e; }
.rex-gift-page h1 { font: 500 clamp(2rem, 6vw, 3rem)/1.12 Georgia, serif; }
@media (max-width: 600px) {
  .rex-gift-banner__inner { align-items: stretch; flex-direction: column; gap: .8rem; }
  .rex-gift-banner .rex-gift-button { width: 100%; }
  .rex-gift-offer { scroll-margin-top: 10rem; }
  .rex-gift-actions { flex-direction: column; }
  .rex-gift-actions .rex-gift-button { flex: auto; }
}

/* Halloween flourishes: decorative artwork only. */
.rex-gift-banner { position: relative; isolation: isolate; overflow: hidden; border-bottom-color: #b77941; background: radial-gradient(ellipse at 86% 0, #84523766, transparent 64%), linear-gradient(105deg, #211526, #3c2230 56%, #54321f); box-shadow: inset 0 -1px 0 #edb66c33; }
.rex-gift-banner__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 1rem 1.25rem; padding-block: 1rem; }
.rex-gift-banner strong { color: #ffe2ac; }
.rex-gift-night { position: absolute; z-index: -1; width: 280px; height: 100px; top: -9px; right: 2rem; opacity: .43; pointer-events: none; }
.rex-gift-pumpkin { display: block; width: 60px; height: 64px; overflow: visible; filter: drop-shadow(0 4px 6px #130d1833); pointer-events: none; }
.rex-gift-banner .rex-gift-button { background: linear-gradient(#f8cb82, #edb25d); border-color: #f4c174; box-shadow: 0 3px 12px #140c1926; }
.rex-gift-offer { position: relative; isolation: isolate; overflow: hidden; border-color: #ce984f; background: radial-gradient(ellipse at 100% 0, #ffdfa6aa, transparent 68%), #fff3de; box-shadow: inset 0 0 0 3px #fff8e855, 0 8px 26px #090f171c; }
.rex-gift-heading { display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: center; gap: .85rem; margin-bottom: .9rem; }
.rex-gift-heading .rex-gift-pumpkin { width: 46px; height: 48px; }
.rex-gift-heading .rex-gift-kicker { margin: 0 0 .35rem; color: #8b431c; }
.rex-gift-heading h2 { margin: 0; padding-right: 1rem; }
.rex-gift-web { position: absolute; z-index: -1; top: 0; right: 0; width: 92px; height: 92px; color: #9b6534; opacity: .31; pointer-events: none; }
.rex-gift-actions .rex-gift-button { background: linear-gradient(#f6c474, #efb05b); border-color: #cf8d39; box-shadow: 0 2px 4px #8f571013; }
.rex-gift-actions .rex-gift-button--paper { background: #fffaf0; border-color: #b67b3d; }
.rex-gift-button:hover { background: #ffce87; box-shadow: 0 3px 12px #bc77242b; }
.rex-gift-button--paper:hover { background: #fbe6c4; }
.rex-gift-offer .rex-gift-deadline { margin-top: 1rem; padding-top: .8rem; border-top: 1px solid #dec19a; }
@media (max-width: 600px) {
  .rex-gift-banner__inner { grid-template-columns: 44px minmax(0, 1fr); gap: .65rem .8rem; }
  .rex-gift-banner__inner > .rex-gift-pumpkin { width: 44px; height: 48px; }
  .rex-gift-banner .rex-gift-button { grid-column: 1 / -1; }
  .rex-gift-banner strong { font-size: .95rem; }
  .rex-gift-banner p span { font-size: .78rem; }
  .rex-gift-night { right: -1rem; opacity: .25; }
  .rex-gift-heading { grid-template-columns: 40px minmax(0, 1fr); gap: .7rem; }
  .rex-gift-heading .rex-gift-pumpkin { width: 40px; height: 44px; }
  .rex-gift-heading h2 { font-size: 1.25rem; padding-right: 0; }
  .rex-gift-web { width: 66px; height: 66px; opacity: .22; }
}

/* The full illustrated audiobook is a third, timed way to enjoy the gift. */
.rex-gift-video { margin-top: 1.25rem; padding-top: 1.15rem; border-top: 1px solid #dec19a; }
.rex-gift-video h3 { margin: 0 0 .35rem; color: #38291c; font: 600 1.2rem/1.25 Georgia, serif; }
.rex-gift-video > p { margin-bottom: .75rem; font-size: .8rem; }
.rex-gift-video__screen { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: #151423; }
.rex-gift-video__launch { position: absolute; inset: 0; display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer; }
.rex-gift-video__launch img { display: block; width: 100%; height: 100%; object-fit: contain; }
.rex-gift-video__play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 64px; height: 48px; border: 1px solid #ffe0a5; border-radius: 12px; background: #3a2233ee; color: #ffe0a5; font: 22px/1 system-ui, sans-serif; transform: translate(-50%, -50%); box-shadow: 0 4px 18px #0008; }
.rex-gift-video__launch:hover .rex-gift-video__play { background: #7b3925; }
.rex-gift-video__launch:focus-visible { outline: 4px solid #ffe0a5; outline-offset: -4px; }
.rex-gift-video__player, .rex-gift-video__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rex-gift-video [hidden] { display: none !important; }
.rex-gift-offer .rex-gift-video__note { margin: .65rem 0 0; font-size: .74rem; color: #67513b; }
.rex-gift-video__note a { color: #713b1e; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.rex-gift-video__note a:focus-visible { outline: 3px solid #b85e24; outline-offset: 3px; }
