/* High Holiday honors (/prebid/ and /prebid/honor/). Not in the main menu. Builds on styles.css.
   Light throughout, like the rest of the site: hairline rows, Marcellus names and amounts, David Libre for Hebrew,
   Neilah set apart on limestone rather than a dark band. */

.pb-page { --pb-he: var(--bronze-dk); }
.pb-page [lang="he"] { font-family: var(--hebrew); }

/* ---------- Demonstration note: in the header on the list, a limestone strip on an honor's page ---------- */
.page-hero-grid.pb-hero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
@media (max-width: 760px) { .page-hero-grid.pb-hero { grid-template-columns: minmax(0, 1fr); } }
.pb-hero .pb-demo { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--rule); max-width: 34em; }
.pb-demo p { margin: 0; font-size: .95rem; color: var(--ink-2); }
.pb-demo-actions { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: .5rem; flex-shrink: 0; }
.hd-demo .pb-demo-inner { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 40px; padding: 14px 22px; background: var(--stone); }
.hd-demo .pb-demo-actions { margin-top: 0; }
.pb-link { background: none; border: 0; padding: 4px 0; font: 500 .95rem/1.2 var(--sans); color: var(--bronze-dk); cursor: pointer; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; white-space: nowrap; }
.pb-link:hover { color: var(--ink); }

/* ---------- Filter bar ---------- */
.pb-bar { position: sticky; top: var(--header-h); z-index: 20; background: var(--page); border-bottom: 1px solid var(--line); }
/* Straight after the header, as a margin: padding would stay inside the bar once it sticks. */
.page-hero + .pb-bar { padding-top: 0 !important; margin-top: clamp(16px, 2vw, 32px); }
.pb-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px 32px; padding-block: 12px; }
.pb-bar .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.pb-bar .chips::-webkit-scrollbar { display: none; }
.pb-bar .chip { flex-shrink: 0; }
.pb-total { margin: 0; color: var(--ink); white-space: nowrap; font-size: .95rem; }
.pb-total strong { font: 400 1.5rem/1 var(--serif); margin-left: 8px; }

/* ---------- A holiday ---------- */
.pb-chapter { padding: clamp(48px, 6vw, 96px) 0 0; }
#pb-catalogue > .pb-chapter:first-child { padding-top: clamp(28px, 3vw, 44px); }
.pb-chapter { scroll-margin-top: calc(var(--header-h) + 66px); }
.pb-chapter-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px clamp(32px, 6vw, 96px); align-items: end; padding-bottom: clamp(24px, 3vw, 40px); }
.pb-chapter h2 { margin: 0; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.05; }
.pb-chapter-he { margin: .3rem 0 0; font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.2; color: var(--pb-he); text-align: left; }
.pb-chapter-facts { text-align: right; }
.pb-chapter-facts p { margin: 0; }
.pb-dates { color: var(--ink); }
.pb-closes { color: var(--muted); font-size: .95rem; }
/* Countdown: each number in a fixed-width slot so nothing shifts as the seconds change. */
.pb-cd { display: inline-flex; justify-content: flex-end; gap: .6em; margin: 8px 0 0 !important; font: 400 clamp(1.4rem, 2vw, 1.75rem)/1.1 var(--serif); color: var(--ink); }
.pb-cd-cell { display: inline-flex; align-items: baseline; gap: .22em; }
.pb-cd-cell b { font-weight: 400; display: inline-block; min-width: 1.15em; text-align: right; }
.pb-cd:not(.is-large) .pb-cd-cell:first-child b { min-width: 0; }
.pb-cd-cell span { font: 400 .86rem/1 var(--sans); color: var(--muted); }
.pb-cd.is-large { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; width: 100%; margin: 4px 0 0 !important; }
.pb-cd.is-large .pb-cd-cell { display: flex; flex-direction: column; gap: 4px; padding-left: .8rem; border-left: 1px solid var(--line); }
.pb-cd.is-large .pb-cd-cell:first-child { padding-left: 0; border-left: 0; }
.pb-cd.is-large b { font-size: clamp(2.1rem, 3.2vw, 2.8rem); line-height: 1; min-width: 0; text-align: left; }

/* ---------- A service ---------- */
.pb-service { padding-bottom: clamp(36px, 5vw, 64px); }
.pb-service-head, .pb-row { display: grid; grid-template-columns: minmax(0, 1fr) 11.5em 8.5em; column-gap: clamp(20px, 3vw, 48px); }
.pb-service-head { align-items: end; padding-bottom: .6rem; border-bottom: 1px solid var(--ink); }
.pb-service-head h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); margin: 0; line-height: 1.15; }
.pb-col { font-size: .88rem; color: var(--muted); }
.pb-service-note { margin: .8rem 0 0; font-size: .95rem; color: var(--bronze-dk); max-width: 44em; }
.pb-rows { list-style: none; margin: 0; padding: 0; }
.pb-row { align-items: center; padding: clamp(14px, 1.5vw, 20px) 0; border-bottom: 1px solid var(--line); transition: background-color .8s; }
.pb-row[data-id] { cursor: pointer; }
.pb-row[data-id]:hover .pb-name { color: var(--bronze-dk); }
.pb-row.is-new { animation: pbNew 1.8s ease-out; }
@keyframes pbNew { from { background-color: rgba(201, 169, 120, .35); } to { background-color: transparent; } }
.pb-name { font: 400 clamp(1.35rem, 1.9vw, 1.7rem)/1.18 var(--serif); color: var(--ink); margin: 0; transition: color .2s; }
.pb-name [lang="he"] { font-size: .8em; color: var(--pb-he); margin-left: .6em; white-space: nowrap; }
.pb-desc { margin: 3px 0 0; font-size: .95rem; color: var(--muted); max-width: 38em; }
.pb-amt { min-width: 0; }
.pb-amt-label { display: none; font-size: .85rem; color: var(--muted); }
.pb-amt strong { display: block; font: 400 clamp(1.35rem, 1.9vw, 1.7rem)/1.15 var(--serif); color: var(--ink); }
.pb-count { display: block; font-size: .88rem; color: var(--muted); margin-top: 2px; }
.pb-state { display: block; font-size: .88rem; font-weight: 500; margin-top: 2px; }
.pb-state.is-high, .pb-state.is-won { color: var(--bronze-dk); }
.pb-state.is-outbid { color: #9a3324; }
.pb-act { text-align: right; }
.pb-act .btn { min-width: 7.4em; }

/* ---------- Live bidding: who's bidding ---------- */
.pb-who { margin-top: 1rem !important; padding-top: .9rem !important; border-top: 1px solid var(--line) !important; }
.pb-identity > .pb-hint { margin: .8rem 0 0; color: var(--ink-2); }

/* ---------- Rolling numbers ---------- */
#hd-amt, #hd-dock-amt, .pb-amt strong { font-kerning: none; transition: color .7s ease; }
.is-rolling { color: var(--bronze) !important; transition: color .12s ease !important; }
.hd-dock .is-rolling { color: var(--bronze-lt) !important; }
.tk { display: inline-flex; vertical-align: top; }
.tk-static { display: inline-block; text-align: center; }
.tk-col { display: inline-block; overflow: hidden; padding-block: .1em; margin-block: -.1em; text-align: center; transition: width .72s cubic-bezier(.2, .8, .2, 1), opacity .3s; }
.tk-strip { display: block; transition: transform .72s cubic-bezier(.2, .8, .2, 1); will-change: transform; }
.tk-strip span { display: block; }

/* ---------- Between the holidays: the ark and the sanctuary, side by side and whole ---------- */
.pb-pair { display: flex; gap: clamp(12px, 2vw, 28px); align-items: flex-start; margin-top: clamp(16px, 3vw, 40px); }
.pb-pair figure { margin: 0; min-width: 0; background: var(--honey); }
.pb-pair img { width: 100%; height: auto; }

/* ---------- Neilah, set apart on limestone ---------- */
.pb-feature { background: var(--stone); padding: clamp(56px, 7vw, 104px) 0 clamp(48px, 6vw, 88px); margin-top: clamp(8px, 2vw, 24px); }
.pb-feature .pb-service { padding-bottom: 0; }
.pb-feature-he { font-size: clamp(3.4rem, 8vw, 6.6rem); line-height: 1; margin: 0 0 .15em; color: var(--bronze-dk); text-align: left; }
.pb-feature-title { font: 400 clamp(1.5rem, 2.4vw, 2.1rem)/1.2 var(--serif); color: var(--ink); margin: 0 0 clamp(24px, 3.5vw, 48px); max-width: 26em; }
.pb-row.is-feature .pb-name { font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.04; }
.pb-row.is-feature .pb-amt strong { font-size: clamp(1.9rem, 3vw, 2.7rem); }
.pb-row.is-feature { padding-block: clamp(20px, 2.4vw, 32px); }

/* ---------- How it works ---------- */
.pb-how-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(36px, 7vw, 120px); align-items: start; }
.pb-how h2 { margin: 0; }
.pb-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.pb-steps li { padding: clamp(14px, 1.7vw, 22px) 0; border-bottom: 1px solid var(--line); }
.pb-steps h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); margin: 0 0 .25rem; }
.pb-steps p { margin: 0; max-width: 40em; }

/* ---------- After the close ---------- */
.pb-results { padding: clamp(40px, 6vw, 80px) 0 0; outline: none; }
.pb-results h2 { margin: 0 0 .35em; }
.pb-results .lead { max-width: 30em; margin-bottom: clamp(24px, 3vw, 40px); }
.pb-won { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.pb-won li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.pb-won-name { font: 400 clamp(1.3rem, 1.9vw, 1.65rem)/1.15 var(--serif); color: var(--ink); }
.pb-won-where { display: block; font: 400 .92rem/1.4 var(--sans); color: var(--muted); margin-top: 2px; }
.pb-won-amt { font: 400 clamp(1.3rem, 1.9vw, 1.65rem)/1.15 var(--serif); color: var(--ink); white-space: nowrap; }
.pb-won .is-total { border-bottom: 0; }
.pb-won .is-total .pb-won-name { color: var(--muted); }
.pb-empty { margin-top: clamp(32px, 5vw, 64px); border-top: 1px solid var(--ink); }

/* ---------- Bid form and status (an honor's page) ---------- */
.pb-status { margin: .9rem 0 0; padding: .75rem 1rem; font-weight: 500; line-height: 1.35; outline: none; border-left: 2px solid currentColor; }
.pb-status.is-high { background: rgba(140, 106, 63, .09); color: var(--bronze-dk); }
.pb-status.is-outbid { background: rgba(154, 51, 36, .06); color: #8a2f21; }
.pb-status:not(.is-high):not(.is-outbid) { background: var(--stone); color: var(--ink); border-left-color: var(--line-2); }
.pb-status small { display: block; font: 400 .92rem/1.4 var(--sans); margin-top: 2px; }

.pb-form { margin-top: 1.5rem; }
.pb-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.pb-form legend, .pb-field label { display: block; padding: 0; font-weight: 500; font-size: .95rem; color: var(--ink); margin-bottom: 6px; }
.pb-optional { font-weight: 400; color: var(--muted); }
.pb-quick { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border: 1px solid var(--ink); }
.pb-quick label { position: relative; cursor: pointer; }
.pb-quick label + label { border-left: 1px solid var(--ink); }
.pb-quick input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pb-quick span { display: block; padding: .85rem .2rem; text-align: center; font: 400 clamp(1.2rem, 3.6vw, 1.4rem)/1.1 var(--serif); color: var(--ink); transition: background .15s, color .15s; }
.pb-quick label:hover span { background: var(--stone); }
.pb-quick input:checked + span { background: var(--ink); color: var(--page); }
.pb-quick input:focus-visible + span { outline: 2px solid var(--bronze); outline-offset: 2px; }
.pb-field { margin-top: 1.1rem; }
.pb-field input { width: 100%; height: 48px; padding: 0 .8rem; border: 1px solid var(--line-2); border-radius: 0; background: var(--paper); color: var(--ink); font: 400 1rem var(--sans); appearance: none; -webkit-appearance: none; }
.pb-field input:focus { border-color: var(--ink); outline: none; box-shadow: inset 0 0 0 1px var(--ink); }
.pb-money { position: relative; }
.pb-money::before { content: "$"; position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.pb-money input { padding-left: 1.6rem; }
.pb-hint { margin: 5px 0 0; font-size: .88rem; color: var(--muted); line-height: 1.4; }
.pb-error { margin: 1rem 0 0; color: #8a2f21; font-size: .95rem; font-weight: 500; }
/* Stays in view while the form scrolls, so the bid button is never below the fold. */
.pb-submit { position: sticky; bottom: 0; z-index: 2; margin-top: .5rem; padding: .8rem 0 calc(.8rem + env(safe-area-inset-bottom)); background: var(--page); }
.pb-fine { margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.45; }
.pb-more { margin-top: .9rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pb-more summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: .75rem 0; font-size: .95rem; font-weight: 500; color: var(--ink); }
.pb-more summary::-webkit-details-marker { display: none; }
.pb-more summary::after { content: "+"; font: 400 1.35rem/1 var(--serif); color: var(--bronze); }
.pb-more[open] summary::after { content: "–"; }
.pb-more[open] { padding-bottom: 1rem; }
.pb-more summary:hover { color: var(--bronze-dk); }

/* ---------- Notice ---------- */
.pb-toast {
  position: fixed; z-index: 40; right: var(--gutter); bottom: 24px; width: min(460px, calc(100% - var(--gutter) * 2));
  display: flex; align-items: center; gap: 4px 14px; flex-wrap: wrap; padding: 12px 8px 12px 18px;
  background: var(--ink); color: var(--night-text); box-shadow: 0 18px 44px -18px rgba(30, 27, 23, .6); animation: pbToast .3s ease-out;
}
@keyframes pbToast { from { transform: translateY(10px); opacity: 0; } }
.hd-main ~ .pb-toast { right: auto; left: var(--gutter); }
.pb-toast p { margin: 0; flex: 1 1 14em; font-size: .95rem; line-height: 1.4; }
.pb-toast .pb-link { color: var(--honey); }
.pb-toast .pb-link:hover { color: #fff; }
.pb-toast-x { width: 44px; height: 44px; border: 0; background: none; color: var(--night-text); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
.pb-toast-x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }

@media (prefers-reduced-motion: reduce) {
  .pb-row.is-new, .pb-toast { animation: none; }
}

/* ---------- An honor's page: the photograph on the left, the bid box on the right ---------- */
.hd-demo { padding-top: clamp(16px, 2vw, 24px); }
.hd-crumbs { padding-block: 18px; font-size: .95rem; color: var(--muted); }
.hd-crumbs nav { display: flex; flex-wrap: wrap; gap: 2px 10px; }
.hd-crumbs a { color: var(--ink); }
.hd-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "photo box" "detail box"; column-gap: clamp(32px, 5vw, 88px); row-gap: clamp(40px, 5vw, 72px); align-items: start; padding-bottom: clamp(56px, 7vw, 104px); }
/* Whole, at its own shape; an upright photo (the ark) is kept within the screen's height. */
/* An upright photo sits centred on a limestone mat, so it never leaves an empty strip beside it. */
.hd-photo { grid-area: photo; margin: 0; display: flex; justify-content: center; background: var(--stone); }
.hd-photo img { width: auto; max-width: 100%; height: auto; max-height: calc(100svh - var(--header-h) - 150px); min-height: 280px; object-fit: contain; }
.hd-detail { grid-area: detail; min-width: 0; display: grid; gap: clamp(40px, 5vw, 72px); }
.hd-detail h2, .hd-more h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin: 0; }

.hd-box { grid-area: box; position: sticky; top: calc(var(--header-h) + 16px); outline: none; scroll-margin-top: calc(var(--header-h) + 16px); min-width: 0; }
.hd-box h1 { font-size: clamp(2.3rem, 3.8vw, 3.5rem); line-height: 1.02; margin: 0; }
.hd-he { font-size: clamp(1.3rem, 1.8vw, 1.6rem); color: var(--pb-he); margin: .35rem 0 0; text-align: left; }
.hd-where { margin: .3rem 0 0; color: var(--muted); font-size: .95rem; }
.hd-label { display: block; font-size: .9rem; color: var(--muted); }
.hd-now { padding: .8rem 0 .75rem; border-bottom: 1px solid var(--line); }
.hd-now strong { display: block; font: 400 clamp(2.8rem, 4.4vw, 3.9rem)/1 var(--serif); color: var(--ink); margin: 4px 0 8px; }
.hd-count { font-size: .95rem; color: var(--ink-2); }
.hd-time { margin-top: 1.1rem; padding: .75rem 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.hd-time.is-ending .hd-label, .hd-time.is-ending .pb-cd b { color: #9a3324; }
.hd-box .pb-status { margin: .9rem 0 0; }
.hd-box .pb-form { margin-top: 1.1rem; }
.hd-box .pb-field { margin-top: .9rem; }

.hd-desc { font: 400 clamp(1.35rem, 2vw, 1.75rem)/1.3 var(--serif); color: var(--ink); margin: .5rem 0 1.2rem; max-width: 26em; }
.hd-facts { margin: 0; border-top: 1px solid var(--ink); }
.hd-facts > div { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 2px 20px; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.hd-facts dt { color: var(--muted); font-size: .95rem; }
.hd-facts dd { margin: 0; color: var(--ink); }

.hd-chart-wrap h2 { margin-bottom: .8rem; }
.hd-chart { position: relative; touch-action: pan-y; }
.hd-chart svg { display: block; max-width: 100%; }
.hd-chart .grid { stroke: var(--line); stroke-width: 1; }
.hd-chart .tick { font: 400 12px var(--sans); fill: var(--muted); }
.hd-chart .line { fill: none; stroke: var(--bronze); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.hd-chart .mine { fill: var(--bronze-dk); stroke: var(--page); stroke-width: 2; }
.hd-chart .end { fill: var(--ink); stroke: var(--page); stroke-width: 2; }
.hd-chart .cross { stroke: var(--ink); stroke-width: 1; }
.hd-tip { position: absolute; top: 0; z-index: 2; padding: 6px 10px; background: var(--ink); color: var(--night-text); font-size: .85rem; line-height: 1.35; pointer-events: none; white-space: nowrap; }
.hd-tip strong { display: block; font: 400 1.2rem/1.1 var(--serif); color: #fff; }
.hd-chart-note { margin: .5rem 0 0; font-size: .88rem; color: var(--muted); }

.hd-history { scroll-margin-top: calc(var(--header-h) + 16px); }
.hd-history-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.hd-live { margin: 0; font-size: .95rem; font-weight: 500; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.hd-live.is-on { color: var(--bronze-dk); }
.hd-live.is-on::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bronze); animation: hdPulse 2s ease-out infinite; }
@keyframes hdPulse { 0% { box-shadow: 0 0 0 0 rgba(140, 106, 63, .45); } 70%, 100% { box-shadow: 0 0 0 9px rgba(140, 106, 63, 0); } }
.hd-history-sum { margin: .2rem 0 .7rem; color: var(--muted); font-size: .95rem; }
.hd-history ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.hd-history li { display: grid; grid-template-columns: minmax(0, 1fr) auto 5.4em; gap: 16px; align-items: baseline; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.hd-history li.is-new { animation: pbNew 1.8s ease-out; }
.hd-history .who { color: var(--ink); }
.hd-history .is-you .who { font-weight: 600; }
.hd-history .auto { font-weight: 400; font-size: .88rem; color: var(--muted); }
.hd-history .when { color: var(--muted); font-size: .88rem; white-space: nowrap; }
.hd-history .amt { font: 400 1.25rem/1.1 var(--serif); color: var(--ink); text-align: right; }

.hd-more { padding-bottom: clamp(56px, 7vw, 104px); }
.hd-more-head h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.hd-missing { padding-block: clamp(48px, 7vw, 104px); }

.hd-dock { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: none; align-items: center; justify-content: space-between; gap: 16px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--ink); color: var(--night-muted); }
.hd-dock strong { display: block; font: 400 1.55rem/1.05 var(--serif); color: #fff; }
.hd-dock span { font-size: .88rem; }
.hd-dock .hd-dock-btn { min-height: 44px; min-width: 6em; background: var(--honey); border-color: var(--honey); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .hd-history li.is-new { animation: none; }
  .hd-live.is-on::before { animation: none; }
}

/* ---------- Narrower screens ---------- */
@media (max-width: 960px) {
  .hd-demo .pb-demo-inner { flex-direction: column; }
  .pb-total { display: none; }
  .hd-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "photo" "box" "detail"; }
  .hd-box { position: static; }
  .hd-photo img { max-height: 52svh; min-height: 0; margin-inline: auto; }
  .hd-dock:not([hidden]) { display: flex; }
}
@media (max-width: 860px) {
  .pb-how-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .hd-demo .pb-demo-inner { padding: 14px 16px; }
  .pb-chapter-head { grid-template-columns: 1fr; }
  .pb-chapter-facts { text-align: left; }
  .pb-cd:not(.is-large) { justify-content: flex-start; }
  .pb-service-head { grid-template-columns: 1fr; }
  .pb-service-head .pb-col { display: none; }
  .pb-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 10px; align-items: end; }
  .pb-what { grid-column: 1 / -1; }
  .pb-amt-label { display: block; }
  .pb-act .btn { min-height: 44px; }
  .pb-name [lang="he"] { display: block; margin: 3px 0 0; font-size: 1.1rem; text-align: left; }
  .pb-toast { bottom: 12px; }
  .hd-docked .pb-toast { bottom: 84px; }
  /* On a phone the bid comes first, so no one scrolls past the photograph to reach it; the photo follows, whole. */
  .hd-grid { grid-template-areas: "box" "photo" "detail"; row-gap: 40px; }
  .hd-facts > div { grid-template-columns: 1fr; }
  .hd-history li { grid-template-columns: minmax(0, 1fr) auto; gap: 1px 16px; }
  .hd-history .when { grid-row: 2; grid-column: 1; }
  .hd-history .amt { grid-row: 1 / span 2; grid-column: 2; }
}

/* ---------- Figures ---------- */
/* Marcellus draws zero as a perfect ring ("$10,000" reads as "$IO,OOO"), so amounts and the countdown are set in light Figtree. */
.pb-amt strong, .pb-total strong, .pb-won-amt, .pb-cd, .pb-cd-cell b, .pb-quick span, .hd-now strong, .hd-history .amt, .hd-tip strong, .hd-dock strong {
  font-family: var(--sans); font-weight: 300; letter-spacing: -.01em; font-variant-numeric: lining-nums tabular-nums;
}
.pb-quick span, .hd-history .amt, .pb-won-amt { font-weight: 400; }
.hd-now strong { letter-spacing: -.02em; }

/* Phones: the honors come straight after the heading, and the header photograph follows the page's content, still whole. */
@media (max-width: 760px) {
  .pb-page main:not(.hd-main) { display: flex; flex-direction: column; }
  .pb-page .page-hero, .pb-page .page-hero-grid { display: contents; }
  .pb-page .page-hero-text { order: 0; padding: 24px var(--gutter) 0; }
  .pb-page .page-hero-text h1 { margin-bottom: .35em; }
  .pb-page main > :not(.page-hero) { order: 1; }
  .pb-page .page-hero-photo { order: 2; margin: 0 var(--gutter); }
  .pb-page .pb-how { padding-bottom: clamp(48px, 8vw, 72px); }
}
