@import url("/redesign/a/redesign.css");
@import url("/redesign/a2/modules.css?v=5");
/* A2: refinements on top of Option A. Only what changes is here. */

/* the badge: two rings turning against each other, a centre line, a little larger */
.badge { width: clamp(120px, 19.5vw, 250px); top: clamp(44px, 7vw, 100px); }
.badge .ring { transform-origin: 110px 110px; }
.badge .r1 { animation: spin 52s linear infinite; }
.badge .r2 { animation: spin 70s linear infinite reverse; }
.badge-ring { animation: none; }

/* today's special: a calm, readable rotation */
.sp-frame { max-width: 900px; margin: 0 auto; }
.special { min-height: clamp(380px, 52vw, 470px); display: flex; flex-direction: column; padding-bottom: clamp(30px, 4vw, 44px); outline-offset: 6px; }
.sp-body { flex: 1; transition: opacity .32s ease, transform .32s ease; }
.sp-body.out { opacity: 0; transform: translateY(10px); }
.sp-meta { min-height: 1.5em; letter-spacing: .06em; }
/* the round CHEF'S PICK stamp sits over the top-right corner: this empty float makes the first lines of the card (kicker and the start of the name) wrap around it instead of running underneath */
.sp-body::before { content: ""; float: right; width: 106px; height: 76px; }
.sp-note { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.sp-actions { align-items: center; justify-content: space-between; margin-top: 4px; }
.sp-nav { display: inline-flex; border: 3px solid var(--ink); background: var(--paper); box-shadow: 4px 4px 0 var(--ink); font-size: 13px; font-weight: 700; }
.sp-nav button { appearance: none; border: 0; background: transparent; padding: 11px 14px; font: inherit; letter-spacing: .08em; color: var(--ink); cursor: pointer; }
.sp-nav button + button { border-left: 2px solid var(--ink); }
.sp-nav button:hover { background: var(--mustard); }
.sp-nav .pp-play { display: none; } .sp-nav [aria-pressed="true"] .pp-play { display: inline; } .sp-nav [aria-pressed="true"] .pp-pause { display: none; }
.sp-progress { position: absolute; left: 22px; right: 22px; bottom: 16px; height: 3px; background: rgba(20, 18, 16, .18); overflow: hidden; }
.sp-progress i { display: block; height: 100%; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.special.running .sp-progress i { animation: sp-fill var(--sp-ms, 9000ms) linear forwards; }
@keyframes sp-fill { to { transform: scaleX(1); } }
.special.flip { animation: none; }
@media (max-width: 820px) { .sp-actions { gap: 14px; } .sp-nav { margin-left: auto; } }
@media (prefers-reduced-motion: reduce) { .badge .r1, .badge .r2, .special.running .sp-progress i { animation: none; } .sp-body { transition: none; } }



/* ===== Keep every page locked to the width of the screen =====
   No sideways drifting, no stretchy side edges, and lists that scroll inside the page do not drag the page along.
   (clip, unlike hidden, never turns the page into its own scroller, so sticky bars and scroll events keep working.) */
html { overflow-x: hidden; max-width: 100%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@supports (overflow: clip) { html { overflow-x: clip; } body { overflow-x: clip; } }
html, body { overscroll-behavior-x: none; }
body { max-width: 100%; position: relative; touch-action: manipulation; }
#pbody, .panel, .rail, .rr, .h-tags, .jwrap, .h-sheet, .h-lb, .tickets { overscroll-behavior: contain; }
@media (max-width: 520px) {
  .herobar { flex-wrap: wrap; row-gap: 8px; }
  .herolinks { display: flex; flex-wrap: wrap; gap: 6px 14px; }
  .h-nav { flex-wrap: wrap; row-gap: 6px; }
}


/* phones: a compact masthead. The dateline is two small lines instead of a tall stack, and the round stamp sits beside "HUNGRY"
   (where there is free room) instead of over the dateline, so nothing is cut off and less of the first screen is spent on the header. */
@media (max-width: 560px) {
  .mast { padding-top: 10px; padding-bottom: 14px; }
  .mast .dateline { gap: 2px 12px; margin-bottom: 6px; padding: 6px 0; font-size: 10px; letter-spacing: .04em; }
  .mast .dateline .here { flex: 0 1 calc(100% - 106px); order: 5; min-width: 0; }   /* leaves room for the round stamp, so Currently in is never printed underneath it */
  .mast .dateline span { overflow-wrap: anywhere; }
  .badge { width: 92px; top: 66px; right: 0; }
  .logo { line-height: .78; }
  .deck { margin-top: 12px; font-size: 20px; }
  .sticker { display: none; }
}

/* photo caption plus the place it was taken */
.pol figcaption { display: grid; gap: 3px; align-content: start; }
.pol-cap { display: block; }
.pol-loc { display: block; margin-top: 1px; font: 400 9.5px/1.3 var(--m-mono, "Space Mono", ui-monospace, monospace); letter-spacing: .08em; text-transform: uppercase; color: var(--hj-muted, #6a6355); }
.lb-fig figcaption .pol-loc { margin-top: 4px; font-size: 11px; }

/* Phones: every field is at least 16px, so iPhones do not zoom the page in when you tap into one. */
@media (max-width: 900px) {
  html[data-v="2"] input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]), html[data-v="2"] textarea, html[data-v="2"] select { font-size: 16px !important; }
}
