/* Generated material URLs; edit web/static/css/gazette.css instead. */
body.public-headlines { --gazette-paper: url("/static/brand/gazette-paper.5591071a0e.webp"); --gazette-charcoal: url("/static/brand/gazette-charcoal.97fc8bf8fb.webp"); --gazette-scroll: url("/static/brand/gazette-scroll.31997d97d9.webp"); --gazette-frame: url("/static/brand/gazette-frame.cd05ec1963.svg"); }
/* Gazette: authored layout. The asset builder supplies fingerprinted material URLs. */
html:has(body.public-headlines) {
  --gazette-rise: clamp(18px, 3.5vw, 48px);
  --gazette-height: calc(92px + var(--gazette-rise));
  scroll-padding-top: calc(var(--gazette-height) + 16px);
}
body.public-headlines {
  --gazette-bar: 88px;
  --header-h: var(--gazette-height);
}
/* Only the decorative charcoal plate is clipped, never menus or focus rings. */
.public-headlines .site-header { min-height: var(--header-h); background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; isolation: isolate; }
.public-headlines .site-header::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--gazette-charcoal, #191918); background-size: 384px 384px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--gazette-rise)), 96% calc(100% - var(--gazette-rise) * .96 + 2px), 92% calc(100% - var(--gazette-rise) * .92 - 1px), 87% calc(100% - var(--gazette-rise) * .87 + 1px), 82% calc(100% - var(--gazette-rise) * .82 - 2px), 77% calc(100% - var(--gazette-rise) * .77 + 1px), 72% calc(100% - var(--gazette-rise) * .72 - 1px), 67% calc(100% - var(--gazette-rise) * .67 + 2px), 62% calc(100% - var(--gazette-rise) * .62 - 1px), 57% calc(100% - var(--gazette-rise) * .57 + 1px), 52% calc(100% - var(--gazette-rise) * .52 - 2px), 47% calc(100% - var(--gazette-rise) * .47 + 1px), 42% calc(100% - var(--gazette-rise) * .42 - 1px), 37% calc(100% - var(--gazette-rise) * .37 + 2px), 32% calc(100% - var(--gazette-rise) * .32 - 1px), 27% calc(100% - var(--gazette-rise) * .27 + 1px), 22% calc(100% - var(--gazette-rise) * .22 - 2px), 17% calc(100% - var(--gazette-rise) * .17 + 1px), 12% calc(100% - var(--gazette-rise) * .12 - 1px), 7% calc(100% - var(--gazette-rise) * .07 + 2px), 3% calc(100% - var(--gazette-rise) * .03 - 1px), 0 100%); filter: drop-shadow(0 6px 6px rgb(68 42 19 / .16)); pointer-events: none; }
.public-headlines .site-header[data-scrolled] { background: var(--gazette-paper, none) 0 0 / 512px 512px var(--wh-paper); }
.public-headlines .site-header:has(.site-nav.is-open) { background: #191918; }
.public-headlines .site-header__inner { height: var(--gazette-bar); gap: 24px; }
.public-headlines .site-header :focus-visible { outline: 2px solid #fff2d8; outline-offset: 4px; }
.public-headlines .site-nav__link { min-height: 44px; color: #f3ead9; padding-inline: 8px; border-radius: 3px; font: 700 16px/1.2 Georgia, serif; }
.public-headlines .site-nav__search span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.public-headlines .site-nav__link[aria-current="page"] { background: #ffffff09; box-shadow: inset 0 -2px #c58c3e; color: #fff5e3; }
.public-headlines .site-nav__settings { width: 44px; padding-inline: 0; }

/* Two real logo assets: complete lockup and optically sized figure-only mark. */
.public-headlines .wh-brand { position: relative; align-self: flex-start; display: block; flex: none; width: 26em; height: 128px; margin-top: 5px; font-size: 15px; border-radius: 0; }
.public-headlines .wh-brand__lockup { display: block; width: 100%; height: 100%; }
.public-headlines .wh-brand__lockup img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: left bottom; }
.public-headlines .wh-brand:focus-visible { box-shadow: 0 0 0 4px #49331e; border-radius: 2px; }

/* Reuse the supplied landscape in the wide Idea banner, including on phones.
   Its natural torn silhouette remains complete; copy never covers the figures. */
.public-headlines .headlines-idea { position: relative; isolation: isolate; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: center; min-height: 0; padding: 6px; border: 1px solid #b59160; border-radius: 3px; background-color: #ead4af; box-shadow: 0 2px 0 #a8793a33, 0 8px 22px #76562b17; }
.public-headlines .headlines-idea::after { content: ""; position: absolute; z-index: 3; inset: 0; background: var(--gazette-frame, none) center / 100% 100% no-repeat; pointer-events: none; }
.public-headlines .headlines-idea__art { position: relative; display: block; padding: 16px; min-width: 0; height: auto; background: transparent; }
.public-headlines .headlines-idea__art picture { position: static; display: block; width: 100%; height: auto; aspect-ratio: 3000 / 1271; }
.public-headlines .headlines-idea__art img { display: block; width: 100%; height: auto; object-fit: contain; object-position: center; border-radius: 0; mix-blend-mode: normal; }
.public-headlines .headlines-idea__copy { padding: clamp(20px, 2.4vw, 32px); background-image: none; align-content: center; }
.public-headlines .headlines-idea h2 { max-width: 18ch; }

/* The back pages are printed on the same stock, not a detached dark widget. */
.public-headlines .quotes, .public-headlines .site-footer {
  --c-text: #201c18; --c-text-2: #4c423a; --c-muted: #60554b; --c-parchment: #201c18;
  --c-gold: #a62924; --c-gold-ink: #8b201f; --c-line: #c8b89d; --c-line-strong: #ad8b60;
  --c-surface: #f7ead2; --c-surface-2: #e9d9bd; --c-surface-3: #e2d0b2;
  color: var(--c-text); color-scheme: light;
}
/* Option A newspaper cutout. Text stays in normal flow; only the decorative
   paper is masked. One geometry owns this component at each breakpoint. */
.public-headlines .quotes {
  width: min(100%, 1440px);
  margin: 24px auto;
  padding: 40px clamp(30px, 3vw, 44px);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.public-headlines .quotes__inner { width: 100%; margin: 0; padding: 0; }
.public-headlines .quotes .quotes__head > .eyebrow {
  display: block;
  margin: 0;
  color: #a32019;
  font: 700 13px/1.4 "DM Sans", sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.public-headlines .quotes__title {
  margin: 8px 0 0;
  color: #281a12;
  font: 700 clamp(35px, 3.2vw, 46px)/1.09 "Fraunces", Georgia, "Times New Roman", serif;
  letter-spacing: -.025em;
  text-transform: none;
}
.public-headlines .cm-quote-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  margin: 42px 0 0;
}
.public-headlines .quotes--multiple .cm-quote-stage { grid-template-columns: minmax(0, 1fr) 160px; }
.public-headlines .quotes .review-cutout {
  position: relative;
  isolation: isolate;
  grid-area: 1 / 1;
  display: block;
  justify-self: center;
  width: min(100%, 1028px);
  min-height: 272px;
  margin: 0;
  padding: 38px 70px 36px 270px;
  overflow: visible;
  text-align: left;
}
.public-headlines .review-cutout__shadow {
  position: absolute;
  z-index: -1;
  inset: 0;
  filter: drop-shadow(3px 9px 9px rgb(88 54 25 / .21));
  pointer-events: none;
}
.public-headlines .review-cutout__paper {
  position: absolute;
  inset: 0;
  background-color: #f8e4c2;
  background-image: radial-gradient(ellipse at 10% 15%, #caa16d33, transparent 46%), linear-gradient(135deg, #9e52181f, #fff4de66 48%, #9b663921);
  mask: url("/static/brand/review-torn-paper.svg") 0 0 / 100% 100% no-repeat;
}
.public-headlines .review-cutout__paper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/static/media/oops-history-paper-grain-256.b5e59dd833.webp") 0 0 / 310px 310px;
  opacity: .3;
}
.public-headlines .review-cutout__portrait-wrap {
  position: absolute;
  z-index: 2;
  top: -6px;
  left: 6px;
  display: grid;
  place-items: center;
  width: 232px;
  height: 250px;
  overflow: hidden;
  border: 6px solid #fbefda;
  border-bottom-width: 10px;
  background: #ead3af;
  color: #8b201f;
  box-shadow: 0 9px 19px rgb(53 30 17 / .28);
  transform: rotate(-3deg);
}
.public-headlines .review-cutout__fallback { font: 700 40px/1 "Fraunces", Georgia, serif; }
.public-headlines .review-cutout__portrait-wrap:has(.review-cutout__portrait:not(.is-broken)) .review-cutout__fallback { visibility: hidden; }
.public-headlines .review-cutout__portrait {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 0;
}
.public-headlines .review-cutout__stamp {
  display: inline-block;
  padding: 8px 15px 7px;
  background: #a62019;
  color: #fff6e2;
  box-shadow: 0 3px 1px #57130f, 0 5px 9px #92513b40;
  font: 700 13px/1 "DM Sans", sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: rotate(-2.4deg);
}
.public-headlines .quotes .review-cutout__quote {
  margin: 17px 0 16px;
  color: #281a12;
  font: 700 clamp(31px, 2.7vw, 40px)/1.16 "Fraunces", Georgia, "Times New Roman", serif;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
.public-headlines .review-cutout blockquote::before { display: none; }
.public-headlines .quotes .review-cutout__quote p { max-width: none; margin: 0; font: inherit; text-wrap: balance; }
.public-headlines .review-cutout__byline,
.public-headlines .review-cutout figcaption {
  margin: 0;
  color: #514037;
  font: 400 15px/1.45 "DM Sans", sans-serif;
  overflow-wrap: anywhere;
}
.public-headlines .review-cutout figcaption span { color: inherit; font-style: normal; }
.public-headlines .cm-quote-controls {
  grid-area: 1 / 2;
  display: grid;
  grid-template-columns: 47px auto 47px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin: 0;
  padding: 0;
  border: 0;
  color: #281a12;
  font: 700 17px/1 "Fraunces", Georgia, serif;
}
.public-headlines .cm-quote-controls [data-carousel-toggle] { grid-row: 2; grid-column: 1 / -1; justify-self: center; }
.public-headlines .cm-quote-controls [data-carousel-prev],
.public-headlines .cm-quote-controls [data-carousel-status],
.public-headlines .cm-quote-controls [data-carousel-next] { grid-row: 1; }
.public-headlines .cm-quote-controls .icon-btn {
  width: 47px;
  height: 47px;
  border: 2px solid #71502f;
  border-radius: 50%;
  background: #f9e8c9;
  color: #27180c;
  box-shadow: 0 3px 0 #c9ab7c, 0 4px 8px #7e552b22;
}
.public-headlines .cm-quote-controls .icon-btn:hover { background: #a62019; color: #fff6e2; }
.public-headlines .quotes :focus-visible { outline: 3px solid #a32019; outline-offset: 4px; }
@media (max-width: 850px) {
  .public-headlines .quotes { padding: 29px 23px 24px; }
  .public-headlines .quotes .quotes__head > .eyebrow { font-size: 10px; letter-spacing: .15em; }
  .public-headlines .quotes__title { margin-top: 7px; font-size: clamp(30px, 8vw, 35px); line-height: 1.05; }
  .public-headlines .cm-quote-stage,
  .public-headlines .quotes--multiple .cm-quote-stage { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 54px; }
  .public-headlines .quotes .review-cutout { min-height: 345px; padding: 210px 21px 28px; }
  .public-headlines .review-cutout__portrait-wrap { top: 8px; left: 5px; width: 142px; height: 159px; border-width: 4px; border-bottom-width: 7px; }
  .public-headlines .review-cutout__stamp { position: absolute; top: 34px; right: 25px; padding: 8px 7px; font-size: 10px; line-height: 1.2; }
  .public-headlines .quotes .review-cutout__quote { margin: 0 0 12px; font-size: 24px; line-height: 1.14; letter-spacing: -.02em; }
  .public-headlines .review-cutout__byline,
  .public-headlines .review-cutout figcaption { font-size: 13px; line-height: 1.36; }
  .public-headlines .cm-quote-controls { grid-area: 2 / 1; }
  .public-headlines .cm-quote-controls .icon-btn { width: 44px; height: 44px; }
}
@media (min-width: 481px) and (max-width: 850px) {
  .public-headlines .quotes .review-cutout { min-height: 252px; padding: 34px 32px 30px 213px; }
  .public-headlines .review-cutout__portrait-wrap { width: 180px; height: 201px; }
  .public-headlines .review-cutout__stamp { position: static; }
  .public-headlines .quotes .review-cutout__quote { margin-top: 17px; font-size: 28px; }
}
@media (max-width: 480px) {
  .public-headlines .quotes__title { font-size: 30px; }
}
@media (max-width: 350px) {
  .public-headlines .quotes { padding-inline: 15px; }
  .public-headlines .quotes .review-cutout { padding: 184px 17px 30px; }
  .public-headlines .review-cutout__portrait-wrap { width: 126px; height: 139px; }
  .public-headlines .review-cutout__stamp { right: 20px; }
}

.public-headlines .site-footer { margin-top: 42px; border-top: 3px double #af8c5b; background-color: #e9d7b6; }
.public-headlines .site-footer__inner { display: grid; padding-block: 24px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.public-headlines .site-footer:not(:has(.site-footer__support)) .site-footer__inner { grid-template-columns: 1fr 1fr; }
.public-headlines .site-footer .eyebrow { color: #8b201f; font-size: 10px; }
.public-headlines .site-footer .site-footer__name { display: block; width: min(100%, 300px); }
.public-headlines .site-footer__name img { display: block; width: 100%; height: auto; object-fit: contain; object-position: left center; }
.public-headlines .site-footer__support h2 { margin: 0 0 10px; font: 700 25px/1.15 var(--font-display); letter-spacing: -.025em; }
.public-headlines .site-footer__support p { color: #4c423a; }
.public-headlines .site-footer .btn--ghost { color: #382b1e; border-color: #ad8b60; background: #f2e3c9; }
.public-headlines .site-footer [data-support-cta] { background: #a62924; color: white; border-color: #8b201f; box-shadow: 0 2px 0 #681e1b; }
.public-headlines .site-footer__links { justify-content: flex-start; gap: 8px; }
.public-headlines .site-footer__links a, .public-headlines .site-footer .consent-link { color: #8b201f; }
.public-headlines .site-footer .modal__note, .public-headlines .site-footer__note { color: #60554b; }
.public-headlines .site-footer :focus-visible { outline-color: #a62924; }

/* Browsing consent stays outside the shell and fixed to the viewport. Padding
   lets the footer scroll fully above it. Only active players use inline consent. */
body.public-headlines:has(.consent-banner:not([hidden]):not(.consent-banner--player)) .wh-app { padding-bottom: var(--consent-reserve, 280px); }
.public-headlines .consent-banner:not(.consent-banner--player) { position: fixed; inset: auto 12px max(12px, env(safe-area-inset-bottom)); margin-block: 0; z-index: 90; }
.public-headlines .consent-banner { border: 1px solid #ad8b60; border-radius: 6px; background-color: #fcf3e4; }
[data-pwa-install][hidden] { display: none; }

/* Real, low-alpha paper stock under the ink. A translucent stock-colored wash
   softens the supplied texture further, especially on forms. Only the grain repeats;
   the stains and edge shading span each surface, avoiding a tiled aging pattern.
   Variables are set per surface (not inherited from a warmer parent sheet).
   No overlay, filter, or descendant-wide rule can cover artwork or game media. */
body.public-headlines,
.public-headlines :is(.wh-app, .headlines-masthead, .game-card, .headlines-idea,
  .site-footer, .modal, .consent-banner, .history__sources, .gallery__item),
.public-headlines .panel:not(.player-page .panel),
.public-headlines .headlines-home .game-card {
  --newsprint-grain: url("/static/media/oops-history-paper-grain-256.b5e59dd833.webp");
  --newsprint-top: #fbf2df;
  --newsprint-bottom: #f1e0c3;
  --newsprint-edge: rgb(112 68 30 / .09);
  --newsprint-stain: rgb(174 120 53 / .065);
  --newsprint-wash: 45%;
  background-color: #f5e9d3;
  background-image:
    linear-gradient(125deg,
      color-mix(in srgb, var(--newsprint-top) var(--newsprint-wash), transparent),
      color-mix(in srgb, var(--newsprint-bottom) var(--newsprint-wash), transparent)),
    var(--newsprint-grain),
    radial-gradient(ellipse at center, transparent 52%, var(--newsprint-edge) 100%),
    radial-gradient(ellipse at 14% 18%, var(--newsprint-stain), transparent 45%),
    linear-gradient(125deg, var(--newsprint-top), var(--newsprint-bottom));
  background-size: cover, 512px 512px, cover, cover, cover;
  background-repeat: no-repeat, repeat, no-repeat, no-repeat, no-repeat;
}
/* The shell is one sheet beneath both the torn header and hero. Do not restart
   the grain/aging gradients at the hero's rectangular top edge. Its readability
   wash extends under the header separately, behind the unchanged charcoal plate. */
.public-headlines .headlines-masthead { background: transparent; }
.public-headlines .wh-app:has(.headlines-home) .site-header[data-scrolled]:not(:has(.site-nav.is-open)) { background: transparent; }
.public-headlines :is(.game-card, .modal, .consent-banner),
.public-headlines .panel:not(.player-page .panel),
.public-headlines .headlines-home .game-card {
  --newsprint-top: #fff8ea;
  --newsprint-bottom: #f6ebd6;
  --newsprint-edge: rgb(112 68 30 / .045);
  --newsprint-stain: rgb(174 120 53 / .035);
  --newsprint-wash: 65%;
}
.public-headlines :is(.headlines-idea, .history__sources, .site-footer) {
  --newsprint-top: #f4e5c9;
  --newsprint-bottom: #e8d2ae;
  --newsprint-edge: rgb(112 68 30 / .12);
  --newsprint-stain: rgb(174 120 53 / .09);
  --newsprint-wash: 30%;
}

@media (max-width: 1100px) and (min-width: 941px) {
  .public-headlines .site-header__inner { gap: 16px; }
  .public-headlines .site-nav__link { padding-inline: 8px; }
}
@media (max-width: 1100px) {
  body.public-headlines { --gazette-bar: 82px; }
  .public-headlines .wh-brand { font-size: 11.5px; }
  .public-headlines .site-header__inner { gap: 12px; }
  .public-headlines .nav-toggle { display: grid; margin-left: 0; flex: none; box-shadow: none; color: #f8eedd; }
  .public-headlines .site-header__search { display: grid; box-shadow: none; color: #f8eedd; }
  .public-headlines .site-nav { position: absolute; inset: 100% 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px var(--gutter) 18px; background: #191918; box-shadow: 0 15px 25px #0003; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; }
  .public-headlines .site-nav.is-open { display: flex; }
  .public-headlines .site-nav__link { min-height: 48px; padding: 12px 14px; font-size: 16px; }
  .public-headlines .site-nav__settings { width: auto; justify-content: flex-start; }
  .public-headlines .site-nav__settings-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .public-headlines .site-nav__search { margin: 0; }
  .public-headlines .site-nav__search span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}
@media (max-width: 800px) {
  .public-headlines .site-footer__inner, .public-headlines .site-footer:not(:has(.site-footer__support)) .site-footer__inner { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 600px) {
  .public-headlines .headlines-idea { grid-template-columns: 1fr; padding: 0; }
  .public-headlines .headlines-idea__art { grid-row: 2; padding: 12px 18px 18px; }
  .public-headlines .headlines-idea__copy { grid-row: 1; padding: 22px 22px 0; }
  .public-headlines .headlines-idea h2 { max-width: 20ch; }
  .public-headlines .headlines-idea__copy > p:not(.eyebrow) { max-width: none; }
}
@media (max-width: 480px) {
  .public-headlines .wh-brand { width: min(300px, calc(100vw - 2 * var(--gutter) - 56px)); height: 100px; font-size: 11px; }
  .public-headlines .site-header__search { display: none; }
  .public-headlines .nav-toggle { margin-left: auto; }
  .public-headlines .headlines-idea h2 { font-size: 28px; }
}
