/* Holiday skin, Nov 12 2026 to Jan 5 2027. Everything visual is scoped to html.holiday,
   which /holiday/holiday.js sets only inside the season. Remove this file and its tags on Jan 6. */

/* ---- Date-gated copy (works with or without the skin) ---- */
[data-from]:not(.is-live), [data-until]:not(.is-live) { display: none !important; }

/* ---- Announcement bar ---- */
.hol-bar { display: none; }
html.holiday:not(.holbar-dismissed) .hol-bar {
  display: block; min-height: 44px; position: relative; z-index: 51;
  background: var(--forest-deep, #10241A); color: var(--gold-soft, #F1D291);
  font: 400 0.95rem/1.4 var(--body, "Nunito Sans", sans-serif);
  border-bottom: 1px solid rgba(228, 180, 84, 0.25);
}
.hol-bar-inner {
  max-width: var(--wrap, 1120px); margin: 0 auto; min-height: 44px;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.45rem 3rem; position: relative; text-align: center;
}
.hol-bar-text { margin: 0; text-wrap: balance; }
.hol-short { display: none; }
@media (max-width: 600px) { .hol-long { display: none; } .hol-short { display: inline; } }
.hol-bar-cta { color: var(--gold, #E4B454); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.hol-bar-cta:hover { color: #FFF; }
.hol-bar-close {
  position: absolute; right: 0.4rem; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; cursor: pointer;
  color: var(--gold-soft, #F1D291); font: 400 1.5rem/1 var(--body, sans-serif);
}
.hol-bar-close:hover { background: rgba(255, 255, 255, 0.08); }
.hol-bar a:focus-visible, .hol-bar-close:focus-visible { outline: 3px solid var(--gold, #E4B454); outline-offset: 2px; border-radius: 4px; }
@media (max-width: 600px) { html.holiday:not(.holbar-dismissed) .hol-bar { font-size: 0.86rem; } .hol-bar-inner { padding: 0.4rem 2.6rem 0.4rem 1rem; } }

/* Preview badge (only with ?asof=) */
.hol-preview {
  position: fixed; left: 10px; bottom: 10px; z-index: 9999; pointer-events: none;
  background: #10161F; color: #F1D291; border: 1px solid #E4B454; border-radius: 999px;
  font: 800 12px/1 "Nunito Sans", sans-serif; letter-spacing: 0.06em; padding: 7px 11px;
}

/* ---- Snow (canvas added by holiday.js) ---- */
.hol-snow { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.hol-snow-zone { position: absolute; left: 0; right: 0; top: 0; height: 420px; overflow: hidden; pointer-events: none; }

/* ---- Snow caps on the existing tree line ---- */
html.holiday .hero-forest::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 140' preserveAspectRatio='none'%3E%3Cpath d='M14 28L18.2 51.2L16.2 45.4L14.1 50.2L12.1 45.4L10.1 51.2ZM43 60L46.9 75.6L45.0 71.9L43.0 74.6L41.0 71.9L39.1 75.6ZM74 28L78.8 52.2L76.4 46.4L74.0 51.2L71.6 46.4L69.2 52.2ZM100 40L102.8 61.4L101.5 56.3L100.1 60.4L98.8 56.3L97.5 61.4ZM125 38L129.2 58.3L127.1 53.5L125.0 57.3L122.9 53.5L120.8 58.3ZM155 58L159.2 73.0L157.1 69.5L155.0 72.0L152.9 69.5L150.8 73.0ZM185 58L189.2 71.2L187.1 67.9L185.0 70.2L182.9 67.9L180.8 71.2ZM210 52L212.8 68.0L211.4 64.0L210.0 67.0L208.6 64.0L207.2 68.0ZM232 56L235.1 70.3L233.5 66.7L231.9 69.3L230.2 66.7L228.6 70.3ZM252 52L254.8 66.0L253.5 62.5L252.1 65.0L250.8 62.5L249.5 66.0ZM273 24L276.1 46.8L274.5 41.4L273.0 45.8L271.5 41.4L269.9 46.8ZM298 18L302.2 42.2L300.2 36.4L298.1 41.2L296.1 36.4L294.1 42.2ZM323 54L325.8 70.0L324.4 66.0L323.0 69.0L321.6 66.0L320.2 70.0ZM348 58L352.2 73.8L350.1 70.1L348.0 72.8L345.9 70.1L343.8 73.8ZM376 44L379.6 63.5L377.8 58.9L376.0 62.5L374.2 58.9L372.4 63.5ZM404 28L407.9 49.7L405.9 44.5L403.9 48.7L401.8 44.5L399.8 49.7ZM428 34L431.1 55.0L429.6 49.8L428.1 54.0L426.7 49.8L425.2 55.0ZM456 32L460.5 52.7L458.2 47.5L455.9 51.7L453.6 47.5L451.2 52.7ZM482 50L484.8 64.8L483.4 61.1L482.0 63.8L480.6 61.1L479.2 64.8ZM506 48L509.9 65.8L508.0 61.6L506.0 64.8L504.0 61.6L502.1 65.8ZM532 24L535.1 46.6L533.5 41.2L531.9 45.6L530.2 41.2L528.6 46.6ZM555 30L558.4 51.6L556.7 46.2L555.0 50.6L553.3 46.2L551.6 51.6ZM578 24L581.1 45.8L579.5 40.4L578.0 44.8L576.5 40.4L574.9 45.8ZM606 48L610.8 66.6L608.4 62.2L606.0 65.6L603.6 62.2L601.2 66.6ZM633 50L635.8 66.8L634.4 62.6L633.0 65.8L631.6 62.6L630.2 66.8ZM658 52L661.9 68.1L659.9 64.3L657.9 67.1L655.8 64.3L653.8 68.1ZM684 32L687.6 53.8L685.9 48.4L684.1 52.8L682.4 48.4L680.6 53.8ZM714 46L718.8 65.2L716.4 60.7L714.0 64.2L711.6 60.7L709.2 65.2ZM744 30L747.4 54.2L745.6 48.4L743.9 53.2L742.1 48.4L740.4 54.2ZM768 48L771.4 65.5L769.7 61.4L768.0 64.5L766.3 61.4L764.6 65.5ZM792 54L795.6 69.7L793.9 65.8L792.1 68.7L790.4 65.8L788.6 69.7ZM822 46L826.5 65.5L824.2 60.9L821.9 64.5L819.5 60.9L817.2 65.5ZM847 68L849.5 81.6L848.3 78.4L847.0 80.6L845.7 78.4L844.5 81.6ZM869 32L872.6 52.7L870.8 47.5L869.0 51.7L867.2 47.5L865.4 52.7ZM894 24L897.4 48.0L895.7 42.2L894.0 47.0L892.3 42.2L890.6 48.0ZM922 40L926.5 59.5L924.2 54.9L922.0 58.5L919.8 54.9L917.5 59.5ZM948 44L950.8 61.2L949.4 57.2L948.0 60.2L946.6 57.2L945.2 61.2ZM970 30L973.6 51.7L971.9 46.5L970.1 50.7L968.4 46.5L966.6 51.7ZM997 52L1000.9 68.0L999.0 64.0L997.0 67.0L995.0 64.0L993.1 68.0ZM1020 38L1022.5 58.7L1021.3 53.5L1020.0 57.7L1018.7 53.5L1017.5 58.7ZM1044 62L1047.9 76.7L1045.9 73.3L1043.9 75.7L1041.8 73.3L1039.8 76.7ZM1068 46L1071.1 65.0L1069.6 60.3L1068.1 64.0L1066.7 60.3L1065.2 65.0ZM1091 30L1094.4 50.7L1092.7 45.5L1091.0 49.7L1089.3 45.5L1087.6 50.7ZM1118 22L1122.5 46.5L1120.3 40.6L1118.1 45.5L1116.0 40.6L1113.8 46.5ZM1144 40L1146.8 59.3L1145.4 54.5L1144.0 58.3L1142.6 54.5L1141.2 59.3ZM1169 64L1173.2 77.7L1171.1 74.3L1169.0 76.7L1166.9 74.3L1164.8 77.7ZM1196 50L1199.1 65.1L1197.5 61.3L1195.9 64.1L1194.2 61.3L1192.6 65.1Z' fill='%23E9EEF5' fill-opacity='.85'/%3E%3C/svg%3E") bottom left / 1200px 140px repeat-x;
}

/* ---- Header and eyebrow ---- */
html.holiday .site-header::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; pointer-events: none;
  background: linear-gradient(90deg, var(--forest), var(--gold), var(--forest));
}
html.holiday .hero .eyebrow::before, html.holiday .page-hero .eyebrow::after {
  width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E4B454' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17L20.7 7M9 3.5l3 2.5 3-2.5M9 20.5l3-2.5 3 2.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---- Gold bow on hero covers ---- */
.hol-cover { position: relative; z-index: 2; width: fit-content; max-width: 100%; margin-inline: auto; }
html.holiday .hero-book { position: relative; z-index: 2; }
.hero-book .hol-cover { transform: rotate(2deg); }
.hero-book .hol-cover > .hero-cover { transform: none; }
.po-cover .hol-cover, .ex-cover .hol-cover { transform: rotate(-2deg); }
.po-cover .hol-cover > img, .ex-cover .hol-cover > img { transform: none; }
html.holiday .hol-ribbon[hidden], html.holiday .hol-bow[hidden], html.holiday .hol-tag[hidden] { display: block; }
.hol-ribbon {
  position: absolute; right: 0; bottom: 0; width: 100px; height: 100px; overflow: hidden;
  border-radius: 0 0 14px 0; pointer-events: none;
}
.hol-ribbon::before {
  content: ""; position: absolute; left: -30px; top: 59px; width: 200px; height: 22px; transform: rotate(-45deg);
  background: linear-gradient(180deg, #F1D291, #E4B454 55%, #B8892F);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
.hol-bow {
  position: absolute; right: -12px; bottom: -4px; width: 84px; pointer-events: none;
  transform: rotate(-45deg); filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.45));
}
.hol-bow svg { display: block; width: 100%; height: auto; }
.hol-tag {
  position: absolute; top: calc(100% + 18px); right: -26px; width: 168px; margin: 0;
  padding: 0.6rem 0.75rem 0.6rem 1.35rem; background: var(--mist); color: var(--ink);
  font: italic 600 0.95rem/1.25 var(--display); text-align: left;
  border-radius: 4px 10px 10px 4px; transform: rotate(-6deg); /* -4deg on top of the cover's 2deg */
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}
.hol-tag::before { /* punch hole */
  content: ""; position: absolute; left: 0.5rem; top: 50%; width: 7px; height: 7px; margin-top: -3.5px;
  border-radius: 50%; background: #131C29; box-shadow: inset 0 0 0 1.5px #B8892F;
}
.hol-tag::after { /* gold string up to the bow */
  content: ""; position: absolute; right: 56px; bottom: 100%; width: 1.5px; height: 26px; background: #E4B454;
}
@media (max-width: 940px) {
  .hol-ribbon { width: 76px; height: 76px; }
  .hol-ribbon::before { left: -36px; top: 41px; width: 176px; }
  .hol-bow { width: 60px; right: -6px; bottom: 0; }
  .hol-tag { right: auto; left: 50%; width: 220px; top: calc(100% + 16px); margin-left: -110px; transform: rotate(-6deg); text-align: center; padding: 0.55rem 0.9rem; }
  .hol-tag::before { display: none; }
  .hol-tag::after { right: 40px; height: 22px; }
}

/* ---- Footer line ---- */
.hol-footer { padding-bottom: 1.6rem; }
.hol-footer p { margin: 0; text-align: center; color: #7E8BA6; font-size: 0.9rem; }

/* ---- Gift guide ---- */
.gift-grid { margin-top: 0; }
.gift-grid .store-card h3 { margin-bottom: 0.35rem; }
.gift-grid .card-text { min-height: 0; }
.gift-grid .gift-extra { margin: -0.4rem 0 1.1rem; }
.gift-grid .store-btn { margin-top: auto; white-space: nowrap; font-size: 0.9rem; padding: 0.75rem 1.15rem; }
.gift-guide-sep { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.gift-praise { grid-template-columns: repeat(2, 1fr); margin-top: 2.2rem; }
.gift-praise figcaption { margin-top: 0.6rem; font-size: 0.9rem; color: var(--gold-soft); font-weight: 700; }
.gift-praise figcaption a { color: inherit; }
.gift-band .hero-actions { justify-content: center; }
.gift-pointer { margin: -1.6rem 0 2.4rem; font-weight: 700; }
.audiobook-gift-note { margin: 0.8rem 0 0; }
@media (max-width: 760px) { .gift-praise { grid-template-columns: 1fr; } }

/* /links: snow behind the top of the page, content above it */
html.holiday .hol-snow-zone ~ main { position: relative; z-index: 1; }
.hol-snow-zone { display: none; }
html.holiday .hol-snow-zone { display: block; }
