.groove-switch {
  display: flex;
  gap: 0.6em;
  align-items: center;
  justify-self: start;
  grid-column: 2/-1;
  padding: 5px 0;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: #672938;
  font: 600 14px system-ui;
  cursor: pointer;
}
.groove-switch svg {
  width: 25px;
  height: 18px;
}
.groove-switch[aria-pressed="true"] {
  color: #205237;
}
#record-lyrics p {
  white-space: pre-line;
}
.issue-masthead {
  position: absolute;
  inset: 6% 4% auto;
  width: 92%;
  height: auto;
  display: block;
  overflow: visible;
  fill: currentColor;
}
.issue-masthead text {
  font:
    bold 79px Georgia,
    serif;
  letter-spacing: -5px;
}
.field-print {
  min-width: 0;
}
.issue-track {
  display: flex;
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  align-items: stretch;
  box-shadow: 0 5px 12px #43331f24;
  background: #fbf2de;
}
.issue-track.reader-active { scroll-snap-type: x mandatory; }
.issue-track::-webkit-scrollbar {
  display: none;
}
.issue-track > * {
  flex: 0 0 100%;
  min-width: 0;
  box-sizing: border-box;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.issue-cover figcaption {
  padding: 6px 10px;
  background: #fbf2de;
}
.issue-cover .view-photo {
  border: 0;
  box-shadow: none;
}
.issue-leaf {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 5% 6% 4%;
  color: #3d352e;
  overflow: hidden;
  background: linear-gradient(90deg, #ad90674f, transparent 3%), #fcf2db;
}
.issue-leaf header,
.folio {
  position: static;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 5px;
  color: inherit;
  background: transparent;
  line-height: 1.1;
  border-bottom: 1px solid currentColor;
  padding: 0 0 2%;
  box-shadow: none;
  height: auto;
}
.issue-leaf header span {
  font:
    italic bold 5cqw Georgia,
    serif;
  letter-spacing: -0.06em;
}
.issue-leaf header small,
.folio {
  font: 700 max(9px, 2.3cqw) / 1.4 system-ui;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.issue-leaf h3 {
  font:
    italic 13cqw/0.94 Georgia,
    serif;
  letter-spacing: -0.079em;
  margin: 3% 0 4%;
  color: #852c36;
}
.issue-leaf .album-shot {
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.issue-leaf .view-photo {
  flex: 1;
  min-height: 0;
  position: relative;
}
.issue-leaf .view-photo img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: 50% 36%;
}
.issue-leaf figcaption {
  font:
    italic 3.2cqw/1.2 Georgia,
    serif;
  padding-top: 1.5%;
}
.album-sheet .issue-leaf p {
  font:
    4.4cqw/1.14 Georgia,
    serif;
  margin: 4% 0;
  max-width: 100%;
}
.issue-leaf .folio {
  border: 0;
  border-top: 1px solid;
  padding: 2% 0 0;
}
.leaf-2 {
  background: #81313d;
  color: #fff3d6;
}
.leaf-2 h3 {
  color: inherit;
}
.leaf-2 .view-photo img {
  object-fit: cover;
  object-position: 50% 49%;
  background: #531f29;
}
.leaf-3 {
  background: #183d36;
  color: #f9edd6;
}
.leaf-3 h3 {
  color: #efcc8f;
}
.issue-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  color: #f9edcd;
  background: #334538;
  padding: 4px 8px;
}
.issue-nav button {
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
  font: 600 14px system-ui;
}
.issue-nav button:disabled {
  opacity: 0.4;
}
.issue-nav span {
  font:
    italic 14px Georgia,
    serif;
}
.eldest-sheet .eldest-copy {
  grid-column: 1;
}
.eldest-sheet .eldest-small {
  grid-column: 2;
}
.issue-desk {
  color: #392c24;
  background:
    repeating-linear-gradient(90deg, transparent 0 6px, #faf4df09 6px 7px),
    #51342d;
  padding: clamp(32px, 6vw, 82px) 0;
}
.desk-spread {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
}
.desk-spread .field-print {
  grid-column: auto;
  grid-row: auto;
  width: 100%;
  max-width: 480px;
  margin: auto;
  box-shadow:
    3px 4px #dbc9a4,
    5px 6px #957e66,
    9px 13px 28px #180e0b70;
}
.quiz-insert {
  background: #f5e8c9;
  padding: clamp(18px, 3vw, 38px);
  border-top: 5px solid #873232;
  box-shadow: 0 8px 16px #22181144;
  position: relative;
}
.quiz-insert::after {
  content: "";
  position: absolute;
  inset: 100% 0 auto;
  height: 7px;
  background:
    linear-gradient(135deg, #f5e8c9 25%, transparent 0),
    linear-gradient(225deg, #f5e8c9 25%, transparent 0);
  background-size: 12px 12px;
}
.insert-ticket {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 3px double #835741;
  padding-bottom: 8px;
}
.insert-ticket span {
  font:
    bold italic 23px/1 Georgia,
    serif;
  letter-spacing: -0.08em;
}
.insert-ticket small,
.curl-copy > small {
  font: 700 10px/1.25 system-ui;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.quiz-insert #quiz-title {
  font:
    normal clamp(42px, 5vw, 70px) / 0.96 S,
    Georgia,
    serif;
  letter-spacing: -0.06em;
  margin: 24px 0 10px;
}
.quiz-insert h2 em {
  color: #822f38;
}
.quiz-insert p {
  font:
    17px/1.38 Georgia,
    serif;
  margin: 10px 0 18px;
}
#quiz-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
#quiz-choices[hidden],
#appointment[hidden],
.job-stamp[hidden] {
  display: none;
}
#quiz-choices button {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 2px;
  border: 1px solid #beaa86;
  background: #fff6de;
  color: #3e392d;
  padding: 8px 4px;
  font:
    bold 16px/1.25 Georgia,
    serif;
  cursor: pointer;
}
#quiz-choices button:hover,
#quiz-choices button:focus-visible {
  border-color: #782934;
  background: #fff9ec;
}
#quiz-choices img {
  width: min(100%, 90px);
  height: 68px;
}
#appointment {
  padding-top: 14px;
  border-top: 1px dashed #927255;
}
#appointment strong {
  display: block;
  color: #204735;
  font:
    italic bold clamp(25px, 3vw, 39px) / 1 Georgia,
    serif;
}
#appointment button {
  min-height: 44px;
  padding: 7px 10px;
  border: 0;
  cursor: pointer;
  font: 650 14px/1.2 system-ui;
}
#file-open {
  background: #204735;
  color: #fff6dc;
}
#job-reset {
  background: transparent;
  color: #664736;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.issue-track > * {
  position: relative;
}
.issue-track > *::after {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: 2;
  inset: 0 0 0 auto;
  width: 16%;
  transform-origin: right;
  transform: scaleX(var(--fold, 0));
  opacity: var(--fold, 0);
  background: linear-gradient(
    90deg,
    transparent,
    #472a1957 44%,
    #ead8ad 56%,
    #fff8e2 69%,
    #a2855c
  );
}
.fashion-credit {
  display: flex;
  align-items: center;
  gap: 3cqw;
}
.fashion-credit i {
  width: 10cqw;
  height: 10cqw;
  flex: none;
  border: 2px solid #e5dbc2;
  outline: 1px solid #aa9677;
  background: repeating-linear-gradient(
    52deg,
    #376355 0 3px,
    #d0dbc6 3.5px 5px,
    #21483e 5.5px 8px
  );
}
.fashion-credit b {
  font: 700 2.5cqw system-ui;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.album-sheet .issue-leaf .diner-check {
  color: #422b25;
  background: #fff3d7;
  padding: 2.5% 4%;
  box-shadow: 2px 3px 0 #491921;
  transform: rotate(-1deg);
}
.diner-check .check-heading, .diner-check .check-order {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.check-heading {
  color: #88323c;
  border-bottom: 1px dashed currentColor;
  margin-bottom: .3em;
  padding-bottom: .25em;
  text-transform: uppercase;
  letter-spacing: .08em;
  font: bold max(10px, 2.5cqw)/1.3 monospace;
}
.check-order { font: max(12px, 3cqw)/1.3 monospace; }
.diner-check em { display: block; margin-top: .3em; font-size: .92em; }
.job-stamp {
  display: block;
  align-self: flex-start;
  margin: 0 0 3%;
  border: 3px double currentColor;
  color: #ffe6a8;
  padding: 0.25em 0.55em;
  transform: rotate(-2deg);
  font: 700 2.5cqw/1.2 system-ui;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.curl-layout {
  width: min(100% - 36px, 1040px);
  margin: auto;
  display: grid;
  align-items: center;
  gap: clamp(20px, 5vw, 64px);
}
.curl-copy h2 {
  font:
    400 clamp(48px, 7vw, 90px) / 0.94 S,
    Georgia,
    serif;
  letter-spacing: -0.06em;
  margin: 8px 0;
}
.curl-copy p {
  font:
    17px/1.35 Georgia,
    serif;
}
.cookie-curling {
  color: #fff2d5;
  background: #1e484a;
  padding: clamp(32px, 6vw, 76px) 0;
  border-block: 5px double #d7b97e;
}
.curl-layout {
  grid-template-columns: 1fr 1.25fr;
}
.curl-copy h2 em {
  color: #f6c784;
}
.curl-copy label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font: 600 14px system-ui;
  max-width: 270px;
}
.curl-copy input {
  width: min(100%, 270px);
  height: 36px;
  display: block;
  accent-color: #ffd08b;
  margin: 0;
}
#curl-throw {
  border: 1px solid #e6c28b;
  color: #fff1da;
  background: #85333e;
  font:
    700 16px Georgia,
    serif;
  padding: 10px 17px;
  min-height: 44px;
  cursor: pointer;
}
#curl-result {
  min-height: 2.6em;
  margin-bottom: 0;
  font-size: 15px;
}
.curl-rink {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1.8;
  border-radius: 8px;
  background: #805029;
  box-shadow:
    0 4px #523322,
    0 12px 25px #0c1e1c60;
  border: 1px solid #99794e;
}
.curl-rink .table-grain { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.rink-saucer,
.rink-cookie {
  position: absolute;
  top: 50%;
  translate: -50% -50%;
  aspect-ratio: 1;
  background: center/contain no-repeat;
}
.rink-saucer {
  width: 25%;
  left: var(--saucer);
  background-image: url("assets/christmas-china.svg");
  filter: drop-shadow(1px 4px 2px #35180eb0);
}
.rink-cookie {
  width: 10%;
  left: 8%;
  background-image: url("assets/ginger-snap.svg");
  filter: drop-shadow(1px 2px 1px #391c0fcc);
}
.batch-ribbon:not([hidden]) {
  --foil: #eec17b;
  position: absolute; left: 5%; top: 5%; width: 31%; max-width: 165px;
  display: grid; justify-items: center; pointer-events: none;
  transform: rotate(-7deg); filter: drop-shadow(1px 3px 2px #30170380);
}
.batch-ribbon[data-finish="silver"] { --foil: #d4dfda; }
.batch-ribbon[data-finish="crumbs"] { --foil: #e1aa85; }
.batch-seal {
  display: grid; place-content: center; justify-items: center;
  width: 56%; aspect-ratio: 1; border-radius: 50%;
  color: #482a26; background: radial-gradient(circle, var(--foil) 55%, transparent 57%),
    repeating-conic-gradient(from 8deg,var(--foil) 0 8deg,#9b734d 9deg 15deg);
}
.batch-seal b { font: italic bold clamp(22px,4vw,40px)/.88 Georgia,serif; }
.batch-seal small { font: 700 10px/1.2 Georgia,serif; }
.batch-ribbon strong {
  margin-top: -3px; padding: 5px 8px 7px; text-align: center;
  background: #722234; color: #fff0ce; border-block: 1px solid var(--foil);
  font: italic bold clamp(13px,2vw,19px)/1.05 Georgia,serif;
  clip-path: polygon(0 0,100% 0,96% 50%,100% 100%,0 100%,4% 50%);
}
@media (prefers-reduced-motion: no-preference) {
  body:not(:has(#quiet[aria-pressed="true"])) .batch-ribbon:not([hidden]) {
    animation: award-biscuit .42s cubic-bezier(.18,.8,.25,1.12) both;
  }
  @keyframes award-biscuit {
    from { transform: translateY(-50%) rotate(-17deg) scale(1.22); opacity: 0; }
    to { transform: rotate(-7deg); opacity: 1; }
  }
}
.table-crumbs {
  position: absolute;
  inset: 0;
}
.table-crumbs i {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #dea064;
  border-radius: 1px 2px 0 2px;
  box-shadow:
    -7px 3px #c78344,
    5px 5px #e6b079,
    -3px -3px #b4753d,
    -12px 1px #efbd80,
    2px 9px #a76736;
}
.curl-serves { display: flex; gap: 8px 12px; align-items: center; flex-wrap: wrap; }
#curl-send {
  min-height: 44px; padding: 0; color: #ffdfb2; cursor: pointer;
  border: 0; background: none; text-decoration: underline; text-underline-offset: 4px;
  font: italic 17px Georgia,serif;
}
#curl-result a { color: #ffdfb2; }
.rink-saucer > i {
  position: absolute; display: block; width: 40%; aspect-ratio: 1; translate: -50% -50%;
  background: url("assets/ginger-snap.svg") center/contain no-repeat;
  filter: drop-shadow(1px 2px 1.5px #451c1485);
}
@media (prefers-reduced-motion: no-preference) {
  body:not(:has(#quiet[aria-pressed="true"])) .rink-saucer { transition: left .38s ease-in-out; }
}
.matinee-prints,
.last-look {
  background: #fbefdb;
  color: #4e342e;
  padding: clamp(34px, 6vw, 76px) 0;
}
.matinee-pair {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(12px, 4vw, 48px);
  align-items: center;
  margin-top: 22px;
}
.matinee-pair button,
.last-look button {
  border: 5px solid #fffaf1;
}
.matinee-pair figure:nth-child(2) {
  transform: rotate(2deg);
}
.last-look {
  background: #66303a;
  color: #fff0d4;
  text-align: center;
}
.last-look figure {
  width: min(100%, 700px);
  margin: auto;
}
@media (max-width: 620px) {
  .curl-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .curl-copy h2 {
    font-size: 48px;
  }
  .curl-copy p {
    margin: 7px 0 12px;
  }
  .curl-copy h2 br {
    display: none;
  }
  .curl-copy h2 em::before {
    content: " ";
  }
  .curl-rink {
    grid-row: 2;
  }
  .issue-nav span {
    font-size: 13px;
  }
}
.rink-cookie {
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.rink-cookie::before { content: ""; position: absolute; inset: -10px; }
.rink-cookie:active { cursor: grabbing; }
@media (max-width: 620px) {
  .curl-layout {
    gap: 6px;
  }
  .curl-copy {
    display: contents;
  }
  .curl-copy > small {
    order: 0;
  }
  .curl-copy > h2 {
    order: 1;
  }
  .curl-copy > p:first-of-type {
    order: 2;
  }
  .curl-rink {
    grid-row: auto;
    order: 3;
    margin-bottom: 10px;
  }
  .curl-copy label {
    order: 4;
  }
  .curl-copy input {
    order: 5;
  }
  .curl-serves {
    order: 6;
    justify-self: start;
  }
  #curl-result {
    order: 7;
  }
}

#letter-waltz {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  cursor: pointer;
  background: transparent;
  border: 0;
  color: #633039;
  padding: 3px 4px;
  font:
    italic 17px Georgia,
    serif;
}
.waltz-record {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #fff1ce 0 5%, #98393d 6% 28%, transparent 30%),
    repeating-radial-gradient(#263830 0 2px, #47554b 3px 3.6px);
}
#waltz-status {
  display: block;
  font: 14px/1.4 system-ui;
  color: #613d33;
}
@media (max-width: 680px) {
  .desk-spread {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  .desk-spread .quiz-insert {
    width: min(100%, 405px);
    box-sizing: border-box;
    margin: auto;
  }
  .desk-spread .field-print {
    max-width: 405px;
  }
}
@media (max-width: 620px) and (orientation: portrait) {
  .fourth-wall {
    min-height: 100svh;
    box-sizing: border-box;
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    padding: 0;
  }
  .fourth-wall figure {
    position: absolute;
    inset: 0;
    margin: 0;
    border: 0;
    box-shadow: none;
    transform: none;
    z-index: -2;
  }
  .fourth-wall figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 42%;
  }
  .fourth-wall::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
      0deg,
      #0b1a15f5,
      #0b1a1599 17%,
      transparent 41%
    );
  }
  .fourth-wall > div {
    padding: 32px 7% max(24px, env(safe-area-inset-bottom));
  }
  .fourth-wall h2 br {
    display: none;
  }
  .fourth-wall h2 em::before {
    content: " ";
  }
  .fourth-wall h2 {
    font-size: clamp(49px, 14vw, 78px);
  }
  .fourth-wall p:last-child {
    margin: 7px 0 0;
  }
}

.print-reader-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.fourth-wall .view-photo {
  height: 100%;
}
.fourth-wall::before,
.fourth-wall > div {
  pointer-events: none;
}
@media (min-width: 621px) {
  .fourth-wall > div {
    pointer-events: auto;
  }
}
@media (prefers-reduced-motion: no-preference) {
  body:not(:has(#quiet[aria-pressed="true"]))
    .quiz-insert:focus-within
    #appointment:not([hidden]) {
    animation: slip-unfold 0.26s ease-out;
  }
  @keyframes slip-unfold {
    from {
      transform: perspective(600px) rotateX(-8deg);
      transform-origin: top;
      opacity: 0.7;
    }
    to {
      transform: none;
      opacity: 1;
    }
  }
}

.cover-jacket { position: relative; }
.cover-price {
  min-height: 44px; min-width: 44px; border: 0; cursor: pointer;
  box-shadow: 1px 2px 0 #0003;
}
.cover-price:focus-visible { outline: 3px solid #e7ad45; outline-offset: 3px; }
.issue-track .dispatch { background-color: #f6e7c6; }
.wire-date {
  margin-top: 4%; display: flex; align-items: center; gap: .8em;
  font: 700 2.5cqw/1.2 system-ui; letter-spacing: .12em; text-transform: uppercase;
}
.wire-date::after { content: ""; flex: 1; border-top: 3px double #91754e; }
.dispatch h3 { font: 700 9.8cqw/.96 Georgia, serif; letter-spacing: -.075em; color: #253e34; }
.dispatch h3 em { color: #8c3239; }
.announcement-photos, .brother-contact {
  display: grid; flex: 1; min-height: 0; gap: 3%;
}
.announcement-photos { grid-template-columns: 1.25fr .9fr; }
.announcement-photos figure:nth-child(2) { margin-top: 22%; margin-bottom: 4%; }
.field-print .announcement-photos .view-photo img { object-position: 48% 38%; }
.brothers-spread { background: #34282a; color: #f9e8c9; }
.brothers-spread h3 { color: #f3d6a3; }
.brother-contact { grid-template-columns: .9fr 1fr; }
.brother-contact figure:first-child { margin-top: 19%; }
.brother-contact figure:nth-child(2) { margin-bottom: 15%; }
.brother-contact .view-photo { border: 2px solid #e9dcc5; }
.issue-track .issue-signoff { background-color: #f6efdf; }
.issue-signoff h3 { color: #254437; font-size: 11cqw; }
.issue-signoff .album-shot { flex: 0 0 auto; }
.issue-signoff .view-photo { flex: none; aspect-ratio: 3/2; border: 1px solid #c8bfae; }
.issue-signoff .view-photo img { object-fit: contain; }
.issue-signoff .post-signature { margin: auto 0 4%; color: #23513f; }
.post-signature span,.post-signature small { display: block; font: italic 3.4cqw/1.25 Georgia,serif; }
.post-signature b { display: block; font: italic 7.7cqw/1.12 Georgia,serif; letter-spacing: -.06em; }
#cookie-receipt {
  width: min(82vw, 330px); box-sizing: border-box; padding: 0; border: 0;
  background: transparent; color: #392e29; overflow: visible; max-height: 88dvh;
}
#cookie-receipt::backdrop { background: #191610a8; }
.till-slip {
  background: #fff6df; padding: 25px 22px 29px; text-align: center;
  max-height: 85dvh; overflow: auto; box-sizing: border-box;
  clip-path: polygon(0 0,100% 0,100% 100%,96% 98.5%,92% 100%,88% 98.5%,84% 100%,80% 98.5%,76% 100%,72% 98.5%,68% 100%,64% 98.5%,60% 100%,56% 98.5%,52% 100%,48% 98.5%,44% 100%,40% 98.5%,36% 100%,32% 98.5%,28% 100%,24% 98.5%,20% 100%,16% 98.5%,12% 100%,8% 98.5%,4% 100%,0 98.5%);
}
.till-slip small, .till-slip dl { font: 600 12px/1.5 ui-monospace,monospace; }
.till-slip h3 { font: italic 40px/1 Georgia,serif; letter-spacing:-.065em; margin:14px 0 4px; }
.album-sheet .till-slip p { margin: 7px auto 14px; font: 16px/1.25 Georgia,serif; }
.till-slip dl { border-block: 1px dashed #746854; padding:12px 0; margin:16px 0; }
.till-slip dl div { display:flex; justify-content:space-between; gap:12px; }
.till-slip dd { margin:0; }
.receipt-stamp { display:inline-block; padding:4px 7px; border:3px double; color:#823334; transform:rotate(-5deg); font:700 15px/1.1 ui-monospace,monospace; text-transform:uppercase; }
.till-slip button { display:block; margin:20px auto 0; min-height:44px; padding:8px 18px; border:0; background:#254437; color:#fff4db; font:600 15px system-ui; cursor:pointer; }
@media (prefers-reduced-motion: no-preference) {
  body:not(:has(#quiet[aria-pressed="true"])) #cookie-receipt[open] .till-slip {
    animation: receipt-feed .32s cubic-bezier(.18,.7,.32,1);
  }
  @keyframes receipt-feed { from { transform: translateY(-20px) rotate(-3deg); opacity: .35; } }
}

/* On a phone turned sideways, open the issue as a landscape spread. */
@media (orientation: landscape) and (min-width: 570px) and (max-width: 1000px) and (min-height: 300px) and (max-height: 510px) {
  .desk-spread { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .desk-spread .quiz-insert { width: min(100%, 540px); box-sizing: border-box; margin: auto; }
  .desk-spread .field-print { width: 100%; max-width: 770px; scroll-margin: 4px; }
  .issue-track { height: clamp(232px, calc(100svh - 58px), 420px); }
  .issue-cover .cover-jacket, .issue-cover .view-photo { height: 100%; }
  .issue-cover .view-photo {
    display: grid; grid-template: minmax(0,1fr) / 1fr 42%; background: #1e362b;
  }
  .issue-cover .view-photo img { grid-column: 2; height: 100%; width: 100%; min-height: 0; max-height: 100%; aspect-ratio: auto; object-fit: contain; background: #182d24; }
  .issue-cover .cover-ink { right: 42%; background: none; }
  .issue-cover .cover-topline { font-size: 9px; }
  .issue-cover .issue-masthead { top: 10%; }
  .issue-cover .cover-rule { top: 39%; font-size: clamp(12px,1.9vw,17px); }
  .issue-cover .cover-story { bottom: 6%; }
  .issue-cover .cover-story small { font-size: 9px; padding: 4px 8px; }
  .issue-cover .cover-story b { font-size: clamp(45px,8vw,80px); }
  .issue-cover .cover-story i { font-size: 19px; }
  .issue-cover .cover-price { right: 44%; bottom: 6%; padding: 5px; font-size: 8px; }
  .issue-cover .cover-price i { height: 21px; }
  .issue-cover > figcaption { position: absolute; top: 0; left: 0; padding: 0; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .issue-track .issue-leaf { display: grid; grid-template-columns: 1.05fr .95fr; grid-template-rows: auto 1fr auto auto; column-gap: 3%; padding: 10px 3%; }
  .issue-leaf header { grid-column: 1/-1; padding-bottom: 4px; }
  .issue-leaf header span { font-size: 19px; }
  .issue-leaf header small, .issue-leaf .folio { font-size: 9px; }
  .issue-track .issue-leaf h3 { grid-column: 2; grid-row: 2; align-self: end; font-size: clamp(30px,5.7vw,52px); margin: 4px 0; }
  .issue-leaf > .album-shot, .announcement-photos, .brother-contact { grid-column: 1; grid-row: 2/5; padding-top: 7px; min-height: 0; }
  .issue-track .issue-leaf .view-photo { min-height: 0; flex: 1; }
  .issue-leaf .view-photo img { object-fit: contain; }
  .issue-leaf figcaption { font-size: 11px; padding-top: 2px; }
  .album-sheet .issue-track .issue-leaf p { grid-column: 2; grid-row: 3; margin: 5px 0 9px; font-size: clamp(14px,2vw,18px); line-height: 1.2; }
  .issue-leaf .folio { grid-column: 2; grid-row: 4; padding-top: 3px; }
  .issue-leaf .wire-date { grid-column: 2; grid-row: 2; align-self: start; font-size: 10px; }
  .issue-leaf .job-stamp:not([hidden]) { position: absolute; top: 38px; right: 3%; font-size: 9px; }
  .issue-leaf .fashion-credit { gap: 9px; }
  .issue-leaf .fashion-credit i { width: 28px; height: 28px; }
  .issue-leaf .fashion-credit b, .issue-leaf cite { font-size: 10px; }
  .issue-leaf q { font-size: 22px; }
  .issue-signoff .album-shot { align-self: center; padding: 0; }
  .issue-signoff .album-shot .view-photo { flex: none; }
  .issue-track .issue-signoff { grid-template-rows: auto 1fr auto auto auto; }
  .issue-signoff .post-signature { grid-column: 2; grid-row: 4; margin: 0 0 5px; }
  .issue-signoff .post-signature span, .issue-signoff .post-signature small { font-size: 12px; }
  .issue-signoff .post-signature b { font-size: 24px; }
  .issue-signoff .folio { grid-row: 5; }
}

.batch-tally {
  position: absolute; bottom: 5%; left: 4%; display: grid;
  gap: 5px; padding: 4px 8px; color: #582c30; background: #fff0cd;
  border-top: 2px solid #924347; box-shadow: 1px 2px 3px #381d1660;
  transform: rotate(-2deg); pointer-events: none;
}
.batch-tally > div:not([hidden]) { display: grid; grid-template-columns: minmax(62px,1fr) repeat(3,19px); gap: 3px; align-items: center; }
.batch-tally .other-batch { border-top: 1px solid #c8ab87; padding-top: 3px; }
.batch-tally .other-batch > i { text-align: center; font: italic 15px Georgia,serif; color: #79534d; }
.batch-tally span { font: italic 15px Georgia, serif; margin-right: 3px; }
.batch-tally b {
  display: grid; place-items: center; width: 19px; height: 22px;
  border-left: 1px dashed #c9aa85; color: #a18b72; font: italic bold 18px Georgia, serif;
}
.batch-tally b[data-score] { color: #673234; }
.batch-tally b[data-score="3"] { color: #165440; }

#curl-assist, .flick-invite, .flour-flick { display: none; }
.curl-layout:has(.bella-verdict:not([hidden])) { row-gap: 10px; }
.bella-verdict:not([hidden]) {
  grid-column: 2; display: grid; grid-template-columns: minmax(0,1.05fr) 1fr; align-items: center;
  gap: 10px; margin: 4px 0; padding: 8px 11px 8px 8px; background: #fff3d9; color: #402529;
  border: 1px solid #bb9974; border-bottom: 3px double #a0634d; box-shadow: 2px 3px #23313e77;
}
.bella-verdict img { width: 100%; height: auto; display: block; }
.bella-verdict figcaption { display: block; padding: 0; color: #402529; }
.bella-verdict small { display: block; font: 700 10px/1.35 system-ui,sans-serif; letter-spacing: .09em; text-transform: uppercase; color: #86434b; }
.bella-verdict q { display: block; margin-top: 7px; font: italic clamp(16px,2vw,25px)/1.08 Georgia,serif; }
@media (max-width:620px) { .bella-verdict:not([hidden]) { grid-column: 1; order: 4; } }
@media (pointer:coarse) {
  .table-invite { display: none; }
  .flick-invite { display: inline; }
  #curl-assist { display: block; order: 5; min-height: 44px; width: fit-content; padding: 2px 0; color: #f7dfba; background: none; border: 0;
    font: italic 14px/1.3 Georgia,serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
  .cookie-curling:not(.with-buttons) :is(label[for="curl-power"],#curl-power),
  .cookie-curling:not(.with-buttons):not(.batch-finished) #curl-throw,
  .cookie-curling.batch-finished :is(#curl-assist,label[for="curl-power"],#curl-power) { display: none; }
  .cookie-curling:not(.biscuit-in-play):not(.with-buttons) .flour-flick {
    display: block; position: absolute; left: 15%; top: 32%; width: 28%; height: 20%; opacity: .88; pointer-events: none;
  }
  .rink-cookie { min-width: 33px; }
  .rink-cookie::before { inset: -12px; }
  .cookie-curling:not(.biscuit-in-play) #curl-result:empty { display: none; }
}
@media (prefers-reduced-motion:no-preference) {
  body:not(:has(#quiet[aria-pressed="true"])) .bella-verdict:not([hidden]) { animation: inspector-slip .42s ease-out both; }
  @keyframes inspector-slip { from { transform: translateY(-9px) rotate(-1deg); opacity: .1; } }
}

/* The table doubles as the proscenium. Aim every arrival at the actual biscuit. */
.biscuit-encore:not([hidden]) {
  position: absolute; inset: 0; z-index: 3; isolation: isolate;
  pointer-events: none; container-type: inline-size;
}
.kitchen-call {
  position: absolute; top: 5%; left: 50%; translate: -50% 0;
  width: max-content; max-width: 90%; text-align: center;
  border-block: 3px double #d8b46f; padding: .25em .65em .32em;
  color: #fff3d6; background: #6d2233; box-shadow: 1px 3px 0 #44281d77;
  font: italic bold clamp(16px,4.4cqw,38px)/1.02 Georgia,serif;
}
.bella-dash {
  display: none; position: absolute; top: var(--land-y); left: var(--land-x);
  width: 60%; aspect-ratio: 4/3; translate: -43% -38%;
  transform-origin: 43% 38%; filter: drop-shadow(0 3px 1px #361f1a80);
}
.bella-dash img {
  width: 100%; height: 100%; display: block;
  clip-path: polygon(18% 81%,20% 66%,24% 54%,21% 49%,20% 38%,23% 25%,28% 14%,35% 7%,42% 4%,49% 4%,56% 8%,61% 16%,65% 29%,66% 40%,63% 49%,60% 53%,64% 65%,63% 69%,52% 72%,41% 80%);
}
.bella-dash i {
  position: absolute; left: 43%; top: 43%; translate: -50% -30%; width: 14%; aspect-ratio: 1;
  background: center/contain no-repeat url("assets/ginger-snap.svg");
}
[data-landing="theft"] .bella-dash { display: block; }
.sugar-burst { position: absolute; top: var(--land-y); left: var(--land-x); }
[data-landing="theft"] .sugar-burst { display: none; }
.sugar-burst i {
  position: absolute; left: 0; top: 0; width: 1.7cqw; height: 3cqw; border-radius: 50%;
  background: #ffe6a0; transform: rotate(var(--angle)) translateY(-7cqw);
  box-shadow: inset 0 .45cqw #fff8df;
}
[data-landing="bullseye"] .sugar-burst i { background: #f2b34e; }
@media (prefers-reduced-motion: no-preference) {
  body:not(:has(#quiet[aria-pressed="true"])) .bella-dash { animation: biscuit-snatch 1.14s both; }
  body:not(:has(#quiet[aria-pressed="true"])) .bella-dash i { animation: got-the-biscuit 1.14s steps(1) both; }
  body:not(:has(#quiet[aria-pressed="true"])) .sugar-burst i { animation: flying-sugar 1.05s cubic-bezier(.12,.55,.32,1) both; }
  body:not(:has(#quiet[aria-pressed="true"])) .kitchen-call { animation: stamp-service .32s ease-out both; }
}
@keyframes biscuit-snatch {
  0% {transform: translateY(98cqw) rotate(-25deg);}
  27%,41% {transform: translateY(0) rotate(-4deg);}
  55%,69% {transform: translateY(-2cqw) rotate(6deg);}
  100% {transform: translateY(98cqw) rotate(20deg);}
}
@keyframes got-the-biscuit { 0% {opacity:0} 27%,100% {opacity:1} }
@keyframes flying-sugar {
  0% {transform: rotate(var(--angle)) translateY(-2cqw) scale(.3); opacity:0;}
  18% {opacity:1;}
  100% {transform: rotate(var(--angle)) translateY(-22cqw) scale(.35); opacity:0;}
}
@keyframes stamp-service { from {transform: translateY(-35%) rotate(-4deg) scale(1.18);} to {transform: rotate(-2deg);} }

.biscuit-encore:not([data-landing="theft"])::before {
  content: ""; position: absolute; left: var(--land-x); top: var(--land-y);
  width: 68%; aspect-ratio: 1; translate: -50% -50%;
  background: repeating-conic-gradient(from 6deg,#ffe6a7 0deg 2deg,transparent 2.4deg 10deg);
  mask-image: radial-gradient(circle, transparent 0 26%, #000b 29%, #000 40%, transparent 67%);
}
.kitchen-call { line-height: 1.08; padding: .19em .7em .3em; }
.kitchen-call::before {
  content: attr(data-tally); display: block; text-transform: uppercase;
  font: 750 clamp(8px,1.8cqw,13px)/1.2 system-ui; letter-spacing: .19em; color: #f7d098;
}
[data-landing="bullseye"] .kitchen-call {
  background: #174532; color: #ffedba;
  box-shadow: 0 0 0 1px #684623, 3px 4px 0 #62372366;
}
@media (prefers-reduced-motion: no-preference) {
  body:not(:has(#quiet[aria-pressed="true"])) .biscuit-encore:not([data-landing="theft"])::before {
    animation: sugar-sun 1.25s ease-out both;
  }
}
@keyframes sugar-sun {
  0% {scale:.45; rotate:-14deg; opacity:0;}
  28% {scale:1; opacity:1;}
  75% {opacity:.95;}
  100% {scale:1.14; rotate:9deg; opacity:0;}
}
