/*
Theme Name: GoPoke Child
Theme URI: https://gopokes.org
Description: GoPokes.org Twenty Twenty-Five child theme.
Author: Brandon Jones / LOUCHE.art
Template: twentytwentyfive
Version: 2.1.0
Requires at least: 6.7
Requires PHP: 7.4
Text Domain: gopoke-child-v1
*/

:root {
	--gp-ink: #0c0b0a;
	--gp-paper: #f5f1ea;
	--gp-burn: #e8622a;
	--gp-burn-on-paper: #b83a0a;
	--gp-serif: Georgia, "Times New Roman", Times, serif;
	--gp-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	--gp-rule: color-mix(in srgb, var(--gp-paper) 22%, transparent);
	--gp-long-prose-align: justify;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--gp-ink);
	color: var(--gp-paper);
	font-family: var(--gp-serif);
	font-size: clamp(1rem, .35vw + .92rem, 1.2rem);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: .18em; }
img { max-width: 100%; height: auto; }
p { margin: 0 0 1.4em; }
h1, h2, h3, h4 { font-family: var(--gp-serif); font-weight: 400; line-height: 1.08; }

.gp-sr-only {
	position: absolute !important;
	width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid var(--gp-burn); outline-offset: 3px; }
main[tabindex="-1"]:focus { outline: none; }

/* Identity/navigation live in the Dossier; these links remain available to authored content. */
.gp-logo-burn, .gp-hot { color: var(--gp-burn); }
.gp-site-links ul { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.gp-site-links a { display: inline-flex; align-items: center; min-height: 44px; font: .75rem/1.3 var(--gp-mono); text-decoration: none; }
.gp-site-links a:hover, .gp-site-links a:focus-visible { text-decoration: underline; }
.gp-site-links--footer ul { flex-direction: column; gap: 0; }

/* Authored opening. */
.gp-opening { min-height: min(92vh, 58rem); display: grid; align-items: center; padding: clamp(4rem, 11vw, 10rem) clamp(1.25rem, 7vw, 7rem); border-bottom: 1px solid var(--gp-rule); }
.gp-dashboard-inner { width: min(100%, 76rem); margin-inline: auto; }
.gp-stamped-question { max-width: 16ch; margin: 0 auto clamp(3rem, 7vw, 7rem); color: var(--gp-burn); font-size: clamp(2.1rem, 6.5vw, 6.8rem); line-height: .94; letter-spacing: -.055em; text-align: center; }
.gp-preamble-transmission { max-width: 58ch; margin-inline: auto; font-size: clamp(1.05rem, 1.15vw + .9rem, 2rem); line-height: 1.65; }
.gp-preamble-transmission p { margin: 0; }

/* The visitor may opt into left alignment; authored defaults stay unchanged otherwise. */
html.gp-left-aligned-text, html.gp-left-aligned-prose { --gp-long-prose-align: left; }
.gp-preamble-transmission p, .gp-entry-excerpt, .gp-dossier-note .gp-long-prose,
.gp-dossier-note .gp-footer-copyright p { text-align: var(--gp-long-prose-align); text-justify: inter-word; hyphens: auto; overflow-wrap: break-word; }

/* Quiet chronology controls. */
.gp-chronology-controls { padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 7vw, 7rem) 1.5rem; }
.gp-tuner-form > label, .gp-tuner-label, .gp-tuner-scrubber > label { display: block; margin-bottom: .45rem; font: .73rem/1.2 var(--gp-mono); letter-spacing: .06em; text-transform: uppercase; }
.gp-tuner-input-group { display: flex; align-items: stretch; max-width: 42rem; border-bottom: 1px solid var(--gp-paper); }
.gp-tuner-form > label { text-align: center; }
.gp-tuner-input-group { margin-inline: auto; }
.gp-tuner-input { flex: 1; min-width: 0; padding: .7rem .1rem; border: 0; background: transparent; color: var(--gp-paper); font: inherit; }
.gp-tuner-input::placeholder { color: color-mix(in srgb, var(--gp-paper) 52%, transparent); }
.gp-tuner-submit, .gp-receive-next { min-height: 44px; border: 0; background: transparent; color: var(--gp-paper); font: .76rem/1 var(--gp-mono); text-decoration: none; text-underline-offset: .25em; cursor: pointer; }
.gp-tuner-submit:hover, .gp-receive-next:hover { color: var(--gp-burn); }
.gp-tuner-filters { width: min(100%, 76rem); margin: 1.5rem auto 0; }
.gp-tuner-categories ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.gp-tuner-categories a { display: inline-flex; align-items: center; min-height: 44px; color: var(--gp-paper); font: .85rem/1.4 var(--gp-mono); }
.gp-tuner-categories a[aria-current="true"] { color: var(--gp-burn); text-decoration-thickness: 2px; }

/* Time: one density field, one accessible range. */
.gp-signal-band { position: sticky; top: 0; z-index: 20; padding: .65rem clamp(1.25rem, 7vw, 7rem); background: var(--gp-ink); border-block: 1px solid var(--gp-rule); }
.admin-bar .gp-signal-band { top: 32px; }
.gp-signal-band-ui { display: grid; grid-template-columns: auto minmax(6rem, 1fr) auto; align-items: center; gap: .8rem; height: 44px; }
.gp-band-label { font: .68rem/1 var(--gp-mono); white-space: nowrap; }
.gp-band-now { display: flex; gap: .55rem; align-items: baseline; }
.gp-band-now strong { color: var(--gp-burn); font-weight: 700; }
.gp-band-track { height: 30px; display: flex; align-items: end; gap: 1px; pointer-events: none; }
.gp-band-tick { flex: 1 1 0; min-width: 1px; max-height: 100%; background: var(--gp-paper); opacity: .46; }
.gp-band-tick.is-quiet { opacity: .11; }
.gp-band-tick.is-selected { background: var(--gp-burn); opacity: 1; }
.gp-chronometer-fallback p { display: flex; justify-content: space-between; margin: 0; font: .72rem/1.3 var(--gp-mono); }
.gp-chronometer-fallback strong { color: var(--gp-burn); }
.gp-year-and-state { width: min(100% - 2.5rem, 76rem); margin: 1rem auto clamp(3rem, 8vw, 7rem); }
.gp-tuner-scrubber { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem 1rem; }
.gp-tuner-scrubber > label { margin: 0; }
#gp-year { min-height: 44px; max-width: 100%; padding: .4rem .6rem; border: 1px solid var(--gp-rule); background: var(--gp-ink); color: var(--gp-paper); font: .85rem/1.2 var(--gp-mono); }
.gp-year-submit { min-height: 44px; border: 0; background: transparent; color: var(--gp-paper); font: .72rem/1 var(--gp-mono); text-decoration: none; cursor: pointer; }
.gp-year-submit:hover { color: var(--gp-burn); }
.gp-state { margin-top: 1.25rem; font: .77rem/1.6 var(--gp-mono); }
.gp-state p { margin: 0 0 .4rem; }
.gp-state strong, .gp-state .gp-search-term { color: var(--gp-burn); font: inherit; font-weight: 700; background: none; padding: 0; }
.gp-state-actions { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.gp-state-actions a { display: inline-flex; align-items: center; min-height: 44px; }

/* Chronology: the Post is the composition. */
.gp-continuous-record { width: min(100%, 92rem); margin: 0 auto; padding: 0 clamp(1.25rem, 6vw, 6rem); }
.gp-chronology-feed { display: block; }
.gp-chronology-feed.is-fetching { opacity: .62; }
.gp-entry-card { scroll-margin-top: 6rem; display: grid; grid-template-columns: minmax(8rem, 14rem) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 6rem); row-gap: 1.5rem; padding: clamp(3.5rem, 8vw, 8rem) 0; border-top: 1px solid var(--gp-rule); color: var(--gp-paper); }
.gp-entry-meta { font: .7rem/1.6 var(--gp-mono); letter-spacing: .025em; }
.gp-entry-meta > * { display: block; }
.gp-meta-divider { display: none; }
.gp-entry-channel a, .gp-single-channel a { color: var(--gp-burn); }
.gp-entry-body { min-width: 0; }
.gp-entry-title { max-width: 24ch; margin: 0 0 clamp(1.25rem, 2vw, 2rem); font-size: clamp(1.85rem, 3.2vw + .3rem, 4.3rem); line-height: 1.12; text-wrap: balance; hyphens: auto; overflow-wrap: break-word; }
.gp-entry-title a { text-decoration: none; }
.gp-entry-title a:hover, .gp-entry-title a:focus-visible { color: var(--gp-burn); text-decoration: underline; }
.gp-entry-media { margin: 0 0 1.6rem; }
.gp-entry-media img { display: block; width: auto; max-width: 100%; max-height: 75vh; object-fit: contain; object-position: left center; filter: none; }
.gp-entry-excerpt { max-width: 66ch; font-size: clamp(1rem, .3vw + .94rem, 1.2rem); line-height: 1.7; }
.gp-entry-excerpt > :last-child { margin-bottom: 0; }
.gp-entry-vote { grid-column: 2; width: 100%; max-width: 42rem; margin-top: .5rem; }
.gp-dead-air { padding: 4rem 0; border-top: 1px solid var(--gp-rule); }
.gp-record-controls { padding: 3rem 0 7rem; text-align: center; }
.gp-receive-next, .gp-earlier { display: inline-flex; align-items: center; min-height: 44px; }
.gp-earlier-wrap { margin: 0; padding: 2rem 0; border-top: 1px solid var(--gp-rule); font: .76rem/1 var(--gp-mono); }

/* Voting is recurrent but compact. */
.gp-classification-ritual { margin: 0; padding: 1rem 0 0; border-top: 1px solid color-mix(in srgb, var(--gp-paper) 28%, transparent); font-family: var(--gp-mono); }
.gp-classification-ritual fieldset { margin: 0; padding: 0; border: 0; }
.gp-vote-legend { width: 100%; margin-bottom: .7rem; font-size: .72rem; text-align: center; }
.gp-vote-context, .gp-vote-question { display: block; }
.gp-vote-context { margin-bottom: .4rem; letter-spacing: .06em; }
.gp-vote-question { color: var(--gp-burn); font: 1.35rem/1.25 var(--gp-serif); }
.gp-vote-options { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; margin: 0 0 .65rem; }
.gp-entry-link { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; margin-top: .65rem; padding: .85rem 1rem; border: 1px solid var(--gp-rule); font: .76rem/1.4 var(--gp-mono); text-align: center; text-decoration: none; }
.gp-entry-link:hover, .gp-entry-link:focus-visible { border-color: var(--gp-burn); color: var(--gp-burn); text-decoration: underline; }
.gp-ritual-action, .gp-vote-status { text-align: center; }
.gp-ritual-option { position: relative; min-height: 44px; display: inline-flex; align-items: center; cursor: pointer; }
.gp-ritual-label { display: inline-flex; align-items: center; min-height: 44px; padding: .45rem .7rem; border: 1px solid var(--gp-rule); font-size: .72rem; }
.gp-ritual-input:checked + .gp-ritual-label { background: var(--gp-burn); border-color: var(--gp-burn); color: var(--gp-ink); font-weight: 700; }
.gp-ritual-input:focus-visible + .gp-ritual-label { outline: 3px solid var(--gp-burn); outline-offset: 2px; }
.gp-ritual-action { display: block; }
.gp-vote fieldset:disabled .gp-ritual-option { cursor: default; }
.gp-vote:not(.is-locked) fieldset:disabled .gp-ritual-label { opacity: .55; }
.gp-vote.is-locked .gp-ritual-input:not(:checked) + .gp-ritual-label { opacity: .45; }
.gp-vote.is-locked .gp-ritual-action { display: none; }
.gp-vote-requirement { margin: .5rem 0 0; font: .72rem/1.4 var(--gp-mono); }
.gp-vote-submit { min-height: 44px; padding: .45rem .8rem; border: 1px solid var(--gp-rule); background: transparent; color: var(--gp-paper); font: .72rem/1 var(--gp-mono); text-decoration: none; cursor: pointer; }
.gp-vote-submit:hover { color: var(--gp-burn); }
.gp-vote-status { min-height: 1.2em; margin: .25rem 0 0; font: .72rem/1.4 var(--gp-mono); }
.gp-vote-status:focus { outline: none; }
.gp-vote-results, .gp-vote-pairing { margin-top: .8rem; font: .72rem/1.4 var(--gp-mono); }
.gp-result-row { margin-top: .5rem; }
.gp-result-label { display: flex; justify-content: space-between; gap: 1rem; margin: 0; }
.gp-result-bar { height: 2px; background: var(--gp-rule); }
.gp-result-fill { display: block; height: 100%; background: var(--gp-burn); }
.gp-result-heading { margin: 1rem 0 0; font-weight: 700; }
.gp-vote-personal { margin: .5rem 0 0; color: var(--gp-burn); }
.gp-transitions { margin: .4rem 0 0; padding: 0; list-style: none; }

/* The three direct votes and immediate entry have the same overall width and touch height. */
.gp-vote-entrance { padding-top: 0; border-top: 0; }
.gp-vote-entrance .gp-vote-legend { margin-bottom: .85rem; }
.gp-vote-entrance .gp-vote-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin-bottom: 0; }
.gp-ritual-choice { min-width: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; text-align: center; }
.gp-ritual-choice .gp-ritual-label { justify-content: center; width: 100%; min-height: 52px; padding: .85rem .35rem; font-size: .76rem; }
.gp-ritual-choice:hover:not(:disabled) .gp-ritual-label { border-color: var(--gp-burn); color: var(--gp-burn); }
.gp-ritual-choice.is-selected .gp-ritual-label { background: var(--gp-burn); border-color: var(--gp-burn); color: var(--gp-ink); font-weight: 700; }
.gp-vote.is-locked .gp-ritual-choice:not(.is-selected) .gp-ritual-label { opacity: .45; }
.gp-vote-entrance .gp-vote-status:empty { display: none; }

/* Interface links have position, spacing and control borders; inline prose keeps its underline. */
:is(.gp-tuner-categories, .gp-entry-channel, .gp-single-channel, .gp-state-actions, .gp-single-nav-context, .gp-single-prev-next, .gp-post-tags, .gp-dossier-links, .gp-record-controls, .gp-earlier-wrap) a { text-decoration: none; }
:is(.gp-tuner-categories, .gp-entry-channel, .gp-single-channel, .gp-state-actions, .gp-single-nav-context, .gp-single-prev-next, .gp-post-tags, .gp-dossier-links, .gp-record-controls, .gp-earlier-wrap) a:is(:hover, :focus-visible),
:is(.gp-tuner-submit, .gp-receive-next, .gp-year-submit, .gp-vote-submit):is(:hover, :focus-visible) { text-decoration: underline; }

/* Individual works/readings. */
.gp-site-page, .gp-site-single { width: min(100% - 2.5rem, 52rem); margin: clamp(3rem, 8vw, 8rem) auto; }
.gp-single-nav-context { margin-bottom: 4rem; }
.gp-return-position { font: .76rem/1.3 var(--gp-mono); }
.gp-single-header { margin-bottom: 3rem; }
.gp-single-date, .gp-single-channel { font: .72rem/1.5 var(--gp-mono); }
.gp-single-title, .gp-page-title { max-width: 24ch; margin: 1rem 0 2.5rem; font-size: clamp(2.3rem, 5vw, 5.5rem); line-height: 1.12; text-wrap: balance; hyphens: auto; overflow-wrap: break-word; }
.gp-site-single .wp-block-post-content :is(h1, h2, h3, h4), .gp-site-page .wp-block-post-content :is(h1, h2, h3, h4) { text-wrap: balance; hyphens: auto; overflow-wrap: break-word; }
.gp-single-media { margin-bottom: 3rem; }
.gp-single-vote-top, .gp-single-vote-bottom { margin: 3rem 0; }
.gp-site-single .gp-classification-ritual { max-width: 42rem; }
.gp-site-single .gp-vote-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gp-single-vote-top:not(:has(.gp-vote)), .gp-single-vote-bottom:not(:has(.gp-vote:not([hidden]))) { display: none; }
.gp-single-prev-next { display: flex; justify-content: space-between; gap: 2rem; margin: 3rem 0; padding-block: 1rem; border-block: 1px solid var(--gp-rule); font: .75rem/1.4 var(--gp-mono); }
.gp-post-tags { margin-top: 4rem; font: .72rem/1.5 var(--gp-mono); opacity: .72; }

/* One shared Dossier replaces the bottom footer. Main content uses ordinary document scrolling. */
.gp-site-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(19rem, 23rem); gap: clamp(1.5rem, 3vw, 3rem); width: min(100% - 2rem, 110rem); margin-inline: auto; align-items: start; }
.gp-site-layout > main { min-width: 0; }
.gp-site-layout .gp-opening, .gp-site-layout .gp-chronology-controls { padding-inline: clamp(1rem, 3vw, 4rem); }
.gp-site-layout .gp-continuous-record { padding-inline: clamp(1rem, 3vw, 4rem); }
.gp-site-layout .gp-site-page, .gp-site-layout .gp-site-single { width: min(100% - 2rem, 52rem); }
.gp-dossier-shell { align-self: stretch; min-width: 0; padding-block: 1.5rem; }
.gp-dossier-panel { position: sticky; top: var(--gp-dossier-top, 1rem); width: 100%; padding: 1.25rem; border: 1px solid var(--gp-rule); background: var(--gp-ink); color: var(--gp-paper); overflow-wrap: anywhere; font-size: .9rem; }
.gp-dossier-panel[hidden], .gp-dossier-toggle[hidden], .gp-dossier-close[hidden], .gp-dossier-backdrop[hidden], .gp-dossier-accessibility[hidden] { display: none !important; }
.gp-dossier-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; margin-bottom: 1.5rem; text-align: center; }
.gp-dossier-heading h2 { margin: 0; font: .8rem/1.4 var(--gp-mono); letter-spacing: .04em; }
.gp-dossier-toggle, .gp-dossier-close, .gp-consent-preferences { min-height: 44px; padding: .5rem .65rem; border: 1px solid var(--gp-rule); background: transparent; color: inherit; font: .76rem/1.4 var(--gp-mono); cursor: pointer; }
.gp-dossier-toggle:hover, .gp-dossier-close:hover, .gp-consent-preferences:hover { border-color: var(--gp-burn); color: var(--gp-burn); }
.gp-dossier-toggle { position: fixed; top: max(.75rem, env(safe-area-inset-top)); right: max(.75rem, env(safe-area-inset-right)); z-index: 30; margin: 0; background: var(--gp-ink); }
.admin-bar .gp-dossier-toggle { top: calc(32px + max(.75rem, env(safe-area-inset-top))); }
.gp-footer-logo { margin-bottom: .6rem; font: 700 1rem/1.4 var(--gp-mono); }
.gp-footer-identity, .gp-dossier-cta, .gp-footer-amendment { text-align: center; }
.gp-dossier-pronouns { margin-bottom: .6rem; font: .72rem/1.4 var(--gp-mono); opacity: .75; }
.gp-footer-question { margin-bottom: 1rem; color: var(--gp-burn); font-size: 1.35rem; line-height: 1.2; }
.gp-dossier-links ol { list-style: none; margin: 0; padding: 0; }
.gp-dossier-links a { display: flex; align-items: center; min-height: 44px; padding-block: .4rem; font: .8rem/1.5 var(--gp-mono); }
.gp-dossier-subscription { margin-block: 1.5rem; padding-block: 1.25rem; border-block: 1px solid var(--gp-rule); }
.gp-dossier-cta { margin-bottom: 1rem; color: var(--gp-burn); font-size: 1.25rem; line-height: 1.35; }
.gp-subscription input[type="email"] { max-width: 100%; min-height: 44px; width: 100%; border: 1px solid var(--gp-rule); padding: .6rem; background: var(--gp-ink); color: var(--gp-paper); font: inherit; }
.gp-subscription button, .gp-subscription input[type="submit"] { max-width: 100%; min-height: 44px; margin-top: .6rem; padding: .5rem .75rem; border: 1px solid var(--gp-burn); background: var(--gp-burn); color: var(--gp-ink); font: .78rem/1.5 var(--gp-mono); cursor: pointer; }
.gp-subscription form, .gp-subscription .wp-block-jetpack-subscriptions, .gp-subscription .wp-block-jetpack-subscriptions__form { min-width: 0; max-width: 100%; }
.gp-subscription-status { font: .75rem/1.6 var(--gp-mono); }
.gp-dossier-note { margin-block: 1rem; }
.gp-dossier-note summary { min-height: 44px; padding-block: .6rem; font: .75rem/1.5 var(--gp-mono); cursor: pointer; }
.gp-dossier-note > p { margin-top: 1rem; }
.gp-dossier-note > p, .gp-dossier-note blockquote { text-align: center; }
.gp-dossier-note blockquote { margin: 1rem 0; padding-inline: .5rem; }
.gp-footer-copyright { font-size: .82rem; line-height: 1.75; }
.gp-footer-amendment { margin-block: 1.5rem; color: var(--gp-burn); font-size: 1.1rem; line-height: 1.4; }
.gp-footer-amendment p { margin: 0; }
.gp-dossier-backdrop { position: fixed; inset: 0; z-index: 99990; background: rgb(12 11 10 / .8); }
.gp-dossier-accessibility { margin-block: 1rem; font: .75rem/1.6 var(--gp-mono); }
.gp-dossier-accessibility summary { display: list-item; min-height: 44px; padding-block: .6rem; cursor: pointer; }
.gp-alignment-preference { display: flex; align-items: center; gap: .6rem; min-height: 44px; padding-block: .5rem; cursor: pointer; }
.gp-alignment-preference input { flex: 0 0 auto; width: 1.2rem; height: 1.2rem; margin: 0; accent-color: var(--gp-burn); }
#gp-alignment-help { margin: .4rem 0 0; }

/* Native layout reflows ragged-right text without automatic hyphens. Authored manual breaks
   remain available; removing the preference restores each element's default/authored rules. */
html.gp-left-aligned-text :is(.gp-site-layout, .gp-site-layout *) { text-align: left !important; -webkit-hyphens: manual !important; hyphens: manual !important; }
html.gp-left-aligned-text .gp-site-layout :is(.gp-dossier-heading, .gp-tuner-categories ul, .gp-tuner-scrubber, .gp-vote-options, .gp-ritual-label, .gp-entry-link) { justify-content: flex-start; }

/* Closing the desktop Dossier returns its column to the editorial document. */
@media (min-width: 75rem) {
	html.gp-dossier-collapsed .gp-site-layout { grid-template-columns: minmax(0, 1fr); }
	html.gp-dossier-collapsed .gp-dossier-shell { display: none; }
	html.gp-dossier-collapsed .gp-site-layout :is(.gp-site-single, .gp-site-page) { width: min(100% - 2rem, 104rem); }
	html.gp-dossier-collapsed .wp-block-post-content > :is(p, ul, ol, blockquote, table, pre):not(.alignwide):not(.alignfull) { max-width: 72ch; }
	html.gp-dossier-collapsed .gp-signal-band { padding-right: 6.5rem; }
}

/* At narrow CSS widths, including 200%/400% zoom, enhancement turns the same panel into a drawer.
   Without JavaScript it remains visible in document flow and all links/copy stay reachable. */
@media (max-width: 74.999rem) {
	html { --gp-trigger-clearance: max(4.5rem, calc(env(safe-area-inset-top) + 3.5rem)); scroll-padding-top: var(--gp-trigger-clearance); }
	html:has(body.admin-bar) { scroll-padding-top: calc(32px + var(--gp-trigger-clearance)); }
	.gp-dossier-toggle:not([hidden]) + .gp-site-layout { padding-top: 3.5rem; }
	.gp-site-layout main :is([id], a, button, input, select, textarea, [tabindex]) { scroll-margin-top: .5rem; }
	.gp-dossier-toggle:not([hidden]) ~ .gp-site-layout .gp-signal-band { padding-right: 6.5rem; }
	.gp-dossier-toggle:not([hidden]) ~ .gp-site-layout .gp-signal-band-ui { grid-template-columns: auto minmax(3rem, 1fr) auto; }
	.gp-site-layout { display: block; width: 100%; }
	.gp-site-layout .gp-opening, .gp-site-layout .gp-chronology-controls { padding-inline: clamp(1.25rem, 7vw, 7rem); }
	.gp-site-layout .gp-continuous-record { padding-inline: clamp(1.25rem, 6vw, 6rem); }
	.gp-dossier-shell { padding: 1.25rem; }
	.gp-dossier-panel { position: static; }
	.gp-dossier-panel.is-open { position: fixed; inset: 0 0 0 auto; z-index: 99991; width: min(100%, 28rem); height: 100vh; height: 100dvh; margin: 0; padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left)); overflow-y: auto; overscroll-behavior: contain; }
	.gp-dossier-panel.is-open .gp-dossier-heading { position: sticky; top: -1rem; z-index: 1; padding-block: .5rem; background: var(--gp-ink); border-bottom: 1px solid var(--gp-rule); }
	.gp-dossier-shell:has(.gp-dossier-panel[hidden]) { padding: 0; }
}

@media (max-width: 782px) {
	html:has(body.admin-bar) { scroll-padding-top: calc(46px + var(--gp-trigger-clearance)); }
	.admin-bar .gp-signal-band { top: 46px; }
	.admin-bar .gp-dossier-toggle { top: calc(46px + max(.75rem, env(safe-area-inset-top))); }
	.gp-opening { min-height: auto; }
	.gp-entry-card { grid-template-columns: 1fr; gap: 1rem; }
	.gp-entry-vote { grid-column: 1; }
	.gp-entry-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
	.gp-entry-meta > * { display: inline; }
}
@media (max-width: 32rem) {
	.gp-signal-band { padding-inline: .75rem; }
	.gp-band-now { display: grid; gap: .1rem; text-align: right; }
	#gp-year { width: 100%; }
	.gp-single-prev-next { display: grid; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
