/**
 * Homepage hero + sections — the homepage hero, its steps strip and the section furniture around them.
 *
 * This used to be a PHP string printed INLINE into every document that
 * needed it. It is static CSS — no setting, no token, nothing computed —
 * so inlining bought nothing and cost 29 KB of uncacheable bytes on every
 * page view, re-sent on every navigation forever.
 *
 * 🔴 This file is the source of truth. shining_home_inline_css() still exists and
 * reads it, because the block editor needs the same rules as a string to
 * inject into its canvas (see shining_home_blocks_editor_assets) — edit
 * here, never there.
 */

	.sa-home{--sa-home-gap:2.6rem;display:flex;flex-direction:column;gap:var(--sa-home-gap);}
	/* .sa-home-eyebrow moved to the shining-votes bundle — the leaderboard,
	   archive, /news/ and /vertical/ routes all use it and no longer load this
	   homepage-only handle. */

	/* Skip rendering below-the-fold sections until they scroll near the viewport —
	   cheaper first paint and less main-thread layout/paint, most noticeably on
	   mobile. The reserved intrinsic size prevents a scrollbar jump; the `auto`
	   keyword then remembers the real height of each section after first render.
	   The hero is deliberately excluded (it is above the fold / the LCP). */
	.sa-votes-section,.sa-home-steps{content-visibility:auto;contain-intrinsic-size:auto 600px;}

	/* --- Flagship hero (hottest live vote) --------------------------------- */
	/* One static stage gives the poster and vote panel a clear neon ceiling and
	   floor. Wider gutters let the colour actually show without painting over
	   the poster. No image, blur, large shadow or new animation is involved. */
	.sa-hero{position:relative;isolation:isolate;overflow:hidden;padding:clamp(1.1rem,2.5vw,1.9rem) clamp(.7rem,1.5vw,1.2rem);border:1px solid color-mix(in srgb,var(--sa-violet) 68%,transparent);border-radius:calc(var(--sa-radius) + 8px);background:radial-gradient(ellipse 75% 30% at 50% 0%,color-mix(in srgb,var(--sa-violet) 76%,transparent),transparent 100%),radial-gradient(ellipse 80% 30% at 50% 100%,color-mix(in srgb,var(--sa-magenta) 68%,transparent),transparent 100%),linear-gradient(180deg,color-mix(in srgb,var(--sa-violet) 30%,var(--sa-bg)),var(--sa-bg) 23% 77%,color-mix(in srgb,var(--sa-magenta) 30%,var(--sa-bg)));}
	.sa-hero::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(90deg,transparent,var(--sa-violet) 28%,var(--sa-magenta) 72%,transparent) top/100% 4px no-repeat,linear-gradient(90deg,transparent,var(--sa-magenta) 28%,var(--sa-violet) 72%,transparent) bottom/100% 4px no-repeat;}
	/* A barely visible grid adds depth only on wide screens. It never transforms
	   or scrolls independently, and the cards keep the poster artwork untouched. */
	.sa-hero::after{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(90deg,color-mix(in srgb,var(--sa-violet) 7%,transparent) 1px,transparent 1px),linear-gradient(0deg,color-mix(in srgb,var(--sa-violet) 7%,transparent) 1px,transparent 1px);background-size:64px 64px;}
	.sa-hero > *{position:relative;z-index:1;}
	@media(max-width:760px){.sa-hero{padding:1rem .55rem;border-radius:var(--sa-radius);}.sa-hero::after{display:none;}.sa-hero::before{opacity:.85;}}
	/* Every track is minmax(0,...), never a bare fr. `1fr` is shorthand for
	   `minmax(auto,1fr)`, and that `auto` minimum refuses to shrink the column
	   below its content min-content width. On a narrow phone that made the single
	   mobile column ~330px inside a 290px slide, so the card, the CTA row and the
	   nominee rows were cut off at the right edge — clipped rather than
	   scrollable, because #tie-container is overflow-x:hidden, which is why it
	   read as "the theme is not responsive" instead of showing a scrollbar.
	   Only the third slide tripped it, since the trigger is per-slide content. */
	.sa-hero-slide{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:1.4rem;align-items:stretch;}
	@media(max-width:760px){.sa-hero-slide{grid-template-columns:minmax(0,1fr);}}
	/* Same reasoning one level down: both are grid items and default to
	   min-width:auto. */
	.sa-hero__media,.sa-hero__panel{min-width:0;}

	/* Slider: cross-fade grid-stacked slides (track height = tallest slide, so
	   no jump between votes). Single-vote hero has no track, stays fully shown. */
	.sa-hero-slider{position:relative;}
	/* minmax(0,1fr) + min-width:0, not a bare grid, are load-bearing here.
	   Grid ITEMS default to min-width:auto, which refuses to shrink below their
	   min-content width. The stacked slides therefore sized the single column to
	   the widest slide min-content (~330px), and that column overflowed the
	   track on any viewport under ~360px — clipped rather than scrollable,
	   because #tie-container is overflow-x:hidden. It chopped the right edge off
	   the card, the CTA row and the header on small phones. Measured at 320px:
	   track 290px, column 330px. */
	.sa-hero-track{display:grid;grid-template-columns:minmax(0,1fr);}
	.sa-hero-track .sa-hero-slide{grid-area:1/1;min-width:0;opacity:0;visibility:hidden;transition:opacity .6s ease,visibility 0s linear .6s;pointer-events:none;}
	.sa-hero-track .sa-hero-slide.is-active{opacity:1;visibility:visible;pointer-events:auto;transition:opacity .6s ease;}

	/* Poster card: a 16:9 picture frame with a caption shelf under it. Nothing is
	   ever drawn ON the artwork (see the render note next to the markup). */
	.sa-hero__media{position:relative;display:flex;flex-direction:column;border-radius:var(--sa-radius,16px);overflow:hidden;text-decoration:none;color:var(--sa-text);border:1px solid var(--sa-border);background:var(--sa-surface-1);transition:transform .2s ease;}
	.sa-hero__media:hover{transform:scale(1.006);}
	/* The frame carries the aspect ratio, so the poster — not the height of the
	   panel beside it — decides how tall the picture is. */
	.sa-hero__frame{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;background:var(--sa-bg-2);}
	/* A short fade at the foot of the picture, only deep enough to seat the image
	   on the shelf; it never reaches the middle of the artwork. */
	.sa-hero__frame::after{content:"";position:absolute;inset:auto 0 0 0;height:34%;z-index:1;background:linear-gradient(180deg,transparent,color-mix(in srgb,var(--sa-bg) 62%,transparent));pointer-events:none;}
	/* Three columns, outer two equal: that is what centres the title on the CARD
	   rather than on the space the vote count leaves it. Column 1 stays empty. */
	.sa-hero__shelf{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:1rem;flex:1;padding:1rem 1.15rem;background:linear-gradient(180deg,color-mix(in srgb,var(--sa-surface-2) 78%,transparent),var(--sa-surface-1));border-top:1px solid var(--sa-border);}
	.sa-hero__shelf-t{grid-column:2;min-width:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-family:var(--sa-font-display);font-weight:800;font-size:clamp(1.02rem,1.55vw,1.25rem);line-height:1.2;letter-spacing:-.005em;text-wrap:balance;text-align:center;}
	.sa-hero__shelf-m{grid-column:3;justify-self:end;display:flex;flex-direction:column;align-items:flex-end;gap:.18rem;white-space:nowrap;}
	.sa-hero__shelf-n{font-family:var(--sa-font-display);font-weight:800;font-size:1rem;line-height:1;font-variant-numeric:tabular-nums;background:var(--sa-gradient);-webkit-background-clip:text;background-clip:text;color:transparent;}
	.sa-hero__shelf-l{font-style:normal;font-size:.62rem;letter-spacing:.09em;text-transform:uppercase;color:var(--sa-text-muted);}
	/* Background layer — Ken Burns zooms THIS, never the overlaid text. */
	.sa-hero__bg{position:absolute;inset:0;z-index:0;background-size:cover;background-position:center;background-repeat:no-repeat;transform-origin:center;will-change:transform;filter:blur(26px) brightness(.7) saturate(1.12);transform:scale(1.2);}
	/* Full cover image, contained + sharp above the blurred fill — never cropped.
	   Now a real <img> (responsive srcset), so object-fit replaces background-size. */
	.sa-hero__bg-fit{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:contain;object-position:center;}
	.sa-hero__bg--grad{filter:none;background:radial-gradient(120% 120% at 15% 0%,color-mix(in srgb,var(--sa-violet) 60%,transparent),transparent 55%),radial-gradient(120% 120% at 100% 100%,color-mix(in srgb,var(--sa-gold) 55%,transparent),transparent 55%),var(--sa-surface-2);}
	@media(prefers-reduced-motion:no-preference){.sa-hero__bg{animation:sa-kenburns 16s ease-in-out infinite alternate;}}
	/* Off-screen (hero.js): the slow zoom holds its frame instead of running on a GPU layer nobody can see. */
	.sa-hero.is-offscreen .sa-hero__bg{animation-play-state:paused;}
	@keyframes sa-kenburns{from{transform:scale(1.16);}to{transform:scale(1.3);}}
	/* The LIVE ring scales and fades on a pseudo-element — compositor-only. It used
	   to animate box-shadow, a repaint every frame for as long as the page was open. */
	@keyframes sa-vc-pulse{0%{transform:scale(1);opacity:.85;}70%{transform:scale(2.7);opacity:0;}100%{transform:scale(2.7);opacity:0;}}
	/* Brand rule closing the card — the one decorative mark on the poster card. */
	.sa-hero__media::after{content:"";position:absolute;inset:auto 0 0 0;height:2px;background:var(--sa-gradient);pointer-events:none;}
	/* UPPERCASE is gated on the `sa-vote-uc` body class (the "Force UPPERCASE
	   titles" switch in the Vote Page studio, on by default). */
	body.sa-vote-uc .sa-hero__shelf-t{text-transform:uppercase;}
	.sa-hero__panel{display:flex;flex-direction:column;gap:.9rem;background:var(--sa-surface-1);border:1px solid var(--sa-border);border-radius:var(--sa-radius,16px);padding:1.3rem;box-shadow:var(--sa-shadow-card);}
	/* MOBILE: the shelf carries the title on every width, so the only change is
	   size — the poster stays uncovered here exactly as it is on desktop. Below
	   520px the three columns would starve the title, so it stacks over the count
	   and both centre. */
	@media(max-width:760px){
		.sa-hero__shelf{padding:.85rem 1rem;gap:.75rem;}
		.sa-hero__shelf-t{font-size:1.08rem;}
	}
	@media(max-width:520px){
		.sa-hero__shelf{grid-template-columns:minmax(0,1fr);gap:.4rem;text-align:center;}
		.sa-hero__shelf-t{grid-column:1;}
		.sa-hero__shelf-m{grid-column:1;justify-self:center;align-items:center;flex-direction:row;gap:.35rem;}
	}
	.sa-hero__count{display:flex;align-items:baseline;gap:.55rem;flex-wrap:wrap;}
	.sa-hero__num{font-family:var(--sa-font-display);font-weight:800;font-size:clamp(1.9rem,4vw,2.7rem);line-height:1;letter-spacing:-.02em;font-variant-numeric:tabular-nums;}
	.sa-hero__num-lbl{font-size:.8rem;color:var(--sa-text-muted);}

	/* --- Hero header: total votes (small, right) + live countdown -------- */
	/* Segmented countdown blocks, shared by layouts A + B. hero.js updates only
	   the [data-cd] number nodes each second; tabular-nums keeps widths steady. */
	.sa-hcd{display:inline-flex;align-items:flex-start;gap:.5rem;}
	.sa-hcd__seg{display:flex;flex-direction:column;align-items:center;min-width:2ch;}
	.sa-hcd__n{font-family:var(--sa-font-display);font-weight:800;font-size:clamp(1.4rem,3.4vw,1.75rem);line-height:1;color:var(--sa-text);font-variant-numeric:tabular-nums;}
	.sa-hcd__u{font-size:.58rem;letter-spacing:.07em;text-transform:uppercase;color:var(--sa-text-muted);margin-top:.4rem;font-style:normal;}
	.sa-hcd__col{font-weight:700;font-size:1.15rem;line-height:1;color:var(--sa-text-muted);opacity:.45;margin-top:.15rem;}
	.sa-hero__hlive{display:inline-flex;align-items:center;gap:.4rem;font-size:.68rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--sa-vote);background:color-mix(in srgb,var(--sa-vote) 13%,transparent);padding:.35rem .62rem;border-radius:999px;flex:0 0 auto;}
	.sa-hero__hlive .sa-vc-dot{position:relative;width:.45rem;height:.45rem;border-radius:50%;background:currentColor;}
	.sa-hero__hlive .sa-vc-dot::after{content:"";position:absolute;inset:0;border-radius:50%;background:currentColor;animation:sa-vc-pulse 1.7s ease-out infinite;}
	.sa-hero.is-offscreen .sa-hero__hlive .sa-vc-dot::after{animation-play-state:paused;}
	/* Nothing has voted in this race for days: the dot stops pulsing, because the
	   pulse WAS the claim. The chip keeps its colour — the race is still open. */
	.sa-hero__hlive .sa-vc-dot.is-quiet{opacity:.6;}.sa-hero__hlive .sa-vc-dot.is-quiet::after{animation:none;display:none;}

	/* Layout A — status left · countdown centre · votes small right */
	.sa-hero__head--a{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.5rem .9rem;}
	.sa-hero__hvotes{text-align:right;line-height:1.1;flex:0 0 auto;}
	.sa-hero__hvotes-n{display:block;font-family:var(--sa-font-display);font-weight:800;font-size:1.05rem;background:var(--sa-gradient);-webkit-background-clip:text;background-clip:text;color:transparent;font-variant-numeric:tabular-nums;}
	.sa-hero__hvotes-l{font-size:.64rem;color:var(--sa-text-muted);}

	/* Layout B — votes chip top-right + a framed countdown band */
	.sa-hero__head--b{display:flex;flex-direction:column;align-items:stretch;gap:.7rem;}
	.sa-hero__hchip{align-self:flex-end;font-size:.72rem;color:var(--sa-text);background:var(--sa-surface-2);border:1px solid var(--sa-border);padding:.3rem .72rem;border-radius:999px;font-variant-numeric:tabular-nums;}
	.sa-hero__hchip-spark{color:var(--sa-vote);}
	.sa-hero__hband{border:1px solid var(--sa-border);background:color-mix(in srgb,var(--sa-text) 3%,transparent);border-radius:14px;padding:.75rem .9rem;text-align:center;}
	.sa-hero__hband-lbl{display:block;font-size:.62rem;letter-spacing:.1em;text-transform:uppercase;color:var(--sa-text-muted);margin-bottom:.55rem;}
	.sa-hero__head--b .sa-hcd{justify-content:center;}

	/* Layout C — one slim line: status · coarse pill · votes */
	.sa-hero__head--c{display:flex;align-items:center;justify-content:space-between;gap:.6rem;}
	.sa-hero__hlive--c{color:var(--sa-text-muted);background:none;padding:0;font-weight:600;letter-spacing:0;text-transform:none;font-size:.78rem;}
	.sa-hcd--coarse{align-items:center;gap:.4rem;font-size:.82rem;font-weight:700;color:var(--sa-text);background:var(--sa-surface-2);border:1px solid var(--sa-border);padding:.35rem .78rem;border-radius:999px;}
	.sa-hcd--coarse .sa-hcd__n{font-family:var(--sa-font-body,inherit);font-size:.82rem;font-weight:700;}
	.sa-hero__hvotes-c{font-size:.76rem;color:var(--sa-text-muted);white-space:nowrap;font-variant-numeric:tabular-nums;}
	.sa-hero__hvotes-c b{font-weight:700;color:var(--sa-text);}
	/* Countdown reached zero (hero.js adds these): drop the stale "Live"/"closes in"
	   chrome and show a calm static "Voting closed" pill. */
	.sa-hero__head.is-vote-ended .sa-hero__hlive,
	.sa-hero__head.is-vote-ended .sa-hero__hband-lbl{display:none;}
	.sa-hero__head.is-vote-ended .sa-hero__hband{margin-top:0;}
	.sa-hcd--ended .sa-hcd__ended{display:inline-flex;align-items:center;gap:.4rem;font-family:var(--sa-font-body,inherit);font-size:.8rem;font-weight:700;letter-spacing:.04em;color:var(--sa-text-muted);background:var(--sa-surface-2);border:1px solid var(--sa-border);padding:.35rem .78rem;border-radius:999px;white-space:nowrap;}

	/* Narrow screens: layout A wraps to a centred status·votes row above a
	   centred countdown. */
	@media(max-width:520px){
		.sa-hero__head--a{flex-wrap:wrap;gap:.5rem .7rem;}
		.sa-hero__head--a .sa-hero__hlive{order:1;}
		.sa-hero__head--a .sa-hero__hvotes{order:2;}
		.sa-hero__head--a .sa-hcd{order:3;flex-basis:100%;justify-content:center;}
		.sa-hero__head--c{flex-wrap:wrap;justify-content:center;}
	}
	@media(prefers-reduced-motion:reduce){.sa-hero__hlive .sa-vc-dot::after{animation:none;display:none;}}
	/* The standings fill whatever the poster leaves. Rows past the third ship with
	   the `hidden` attribute and hero.js unhides them one at a time while the
	   panel content still clears the poster height — so the column ends flush
	   instead of in dead space, and the panel never grows the hero. `min-height:0`
	   + `overflow` are the safety net for the transient case where the panel is
	   shorter than its rows (a late font swap before the re-fit): the column
	   shrinks and clips instead of pushing the poster card taller. The inline
	   padding/negative margin exists so that clip box does not cut the hover pill
	   off the rows, which bleed .4rem sideways on purpose. */
	.sa-hero__leads{display:flex;flex-direction:column;gap:.6rem;min-height:0;overflow:hidden;padding-inline:.4rem;margin-inline:-.4rem;}
	/* 🔴 `.sa-hero__lead{display:flex}` outranks the UA sheet `[hidden]` rule, so
	   the hidden rows would render anyway without this. */
	.sa-hero__lead[hidden]{display:none;}
	/* Everything under the standings sits on the foot of the panel. */
	.sa-hero__foot{margin-top:auto;display:flex;flex-direction:column;gap:.55rem;}
	.sa-hero__more{display:flex;align-items:center;justify-content:center;gap:.35rem;font-size:.72rem;letter-spacing:.03em;color:var(--sa-text-muted);}
	.sa-hero__more[hidden]{display:none;}
	.sa-hero__more-n{font-family:var(--sa-font-display);font-weight:800;font-size:.78rem;font-variant-numeric:tabular-nums;background:var(--sa-gradient);-webkit-background-clip:text;background-clip:text;color:transparent;}
	.sa-hero__lead{display:flex;align-items:center;gap:.7rem;}
	/* Nominee row linking to their TotalPoll profile (A4) — a subtle hover cue,
	   negative margin so its hit-padding doesn't shift the layout. */
	#tie-wrapper .sa-hero__lead--link,#tie-wrapper .sa-hero__lead--link:hover{text-decoration:none;}
	.sa-hero__lead--link{color:inherit;border-radius:10px;margin:-.25rem -.4rem;padding:.25rem .4rem;transition:background .15s ease;}
	.sa-hero__lead--link:hover{background:color-mix(in srgb,var(--sa-text) 7%,transparent);}
	.sa-hero__lead--link:hover .sa-hero__lead-idol{color:var(--sa-violet-light);}
	@media(prefers-reduced-motion:reduce){.sa-hero__lead--link{transition:none;}}
	.sa-hero__av{flex:0 0 auto;width:2.1rem;height:2.1rem;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;font-family:var(--sa-font-display);font-weight:800;font-size:.72rem;color:var(--sa-on-accent,#fff);background:var(--sa-gradient);}
	/* Real nominee photo — reproduce the plugin focal crop so the FACE fills the
	   frame (no "frame-in-frame"): the image is blown up past the decorative frame
	   and offset by the per-nominee focal point (--np-fx/--np-fy/--np-zoom). */
	.sa-hero__av--photo{position:relative;background:var(--sa-surface-2);}
	.sa-hero__av--photo img{position:absolute;width:calc(var(--sa-focal-scale, 308%) * var(--np-zoom,1));height:calc(var(--sa-focal-scale, 308%) * var(--np-zoom,1));max-width:none;max-height:none;left:calc(var(--np-fx,.5) * (1 - 3.08 * var(--np-zoom,1)) * 100%);top:calc(var(--np-fy,.4) * (1 - 3.08 * var(--np-zoom,1)) * 100%);object-fit:cover;object-position:center 40%;}
	.sa-hero__lead-mid{flex:1;min-width:0;}
	.sa-hero__lead-top{display:flex;justify-content:space-between;gap:.6rem;font-size:.85rem;margin-bottom:.32rem;}
	.sa-hero__lead-name{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;}
	.sa-hero__lead-idol{color:var(--sa-text);}
	.sa-hero__lead-group{margin-left:.4em;font-weight:800;color:var(--sa-violet-light);letter-spacing:.01em;}
	.sa-hero__lead-pct{color:var(--sa-text-muted);font-variant-numeric:tabular-nums;}
	.sa-hero__bar{display:block;height:.42rem;border-radius:999px;background:var(--sa-surface-2);overflow:hidden;}
	.sa-hero__bar{position:relative;}
	/* The share as a full-width fill SLID by --w (0–1) — hero.js moves it live with transforms only. */
	.sa-hero__bar > i{position:absolute;inset:0;border-radius:999px;background:var(--sa-gradient);transform:translateX(calc((var(--w,0) - 1) * 100%));}
	/* "+7.4K in 30 min" — the race's measured momentum (shining_home_hero_slide). */
	.sa-hero__mom{display:inline-flex;align-self:flex-start;align-items:center;gap:.3rem;margin:0;padding:.2rem .6rem;border-radius:999px;font-size:.72rem;font-weight:800;font-variant-numeric:tabular-nums;color:var(--sa-vote);background:color-mix(in srgb,var(--sa-vote) 13%,transparent);}
	.sa-hero__mom::before{content:"\25B2";font-size:.7em;}
	/* Each nominee's own gain over the window, server-printed; hero.js pops it in
	   as the standings settle. Rows bumped by a live update flash their share. */
	.sa-hero__lead-gain{margin-left:auto;margin-right:.45rem;font-size:.68rem;font-weight:800;font-variant-numeric:tabular-nums;color:var(--sa-vote);}
	.sa-hero__leads.is-settling .sa-hero__lead-gain{opacity:0;}
	.sa-hero__leads.is-settled .sa-hero__lead-gain{animation:sa-hero-pop .5s cubic-bezier(.3,1.6,.5,1) 1;}
	@keyframes sa-hero-pop{0%{opacity:0;transform:scale(.5);}100%{opacity:1;transform:scale(1);}}
	.sa-hero__lead.is-bumped .sa-hero__lead-pct{color:var(--sa-vote);transition:color .2s;}
	@media(prefers-reduced-motion:reduce){.sa-hero__leads.is-settled .sa-hero__lead-gain{animation:none;}}
	/* CTA row: the gradient "Vote now" fills, a quiet share button beside it (A5). */
	.sa-hero__actions{display:flex;align-items:stretch;gap:.6rem;}
	.sa-hero__cta{flex:1 1 auto;text-align:center;font-family:var(--sa-font-display);font-weight:800;text-transform:uppercase;letter-spacing:.05em;text-decoration:none;color:var(--sa-on-accent,#fff);background:var(--sa-gradient);padding:.85rem;border-radius:12px;box-shadow:var(--sa-button-depth),var(--sa-shadow-card);transition:transform .15s ease,box-shadow .2s ease;}
	.sa-hero__cta:hover{transform:translateY(-2px);box-shadow:var(--sa-button-depth),var(--sa-glow);color:var(--sa-on-accent,#fff);}
	.sa-hero__share{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:.4rem;padding:0 1rem;border:1px solid var(--sa-border);border-radius:12px;background:var(--sa-surface-1);color:var(--sa-text);cursor:pointer;font-family:var(--sa-font-display);font-weight:700;font-size:.82rem;line-height:1;transition:border-color .15s ease,background .15s ease,transform .15s ease;}
	.sa-hero__share-ic{width:1.05rem;height:1.05rem;}
	.sa-hero__share-done{display:none;}
	.sa-hero__share.is-copied .sa-hero__share-ic{display:none;}
	.sa-hero__share.is-copied .sa-hero__share-done{display:inline;}
	.sa-hero__share:hover{border-color:var(--sa-border-strong);background:var(--sa-surface-2);transform:translateY(-2px);}
	@media(prefers-reduced-motion:reduce){.sa-hero__share{transition:none;}}
	/* 🔴 The hero's three anchors state their colour at (0,1,0) and would
	   otherwise INHERIT it — which is fine until the section is rendered inside
	   `.entry`, as it is on a homepage built with blocks or the Theme Builder.
	   The base theme's `.dark-skin .entry a{color:var(--brand-color)}` is (0,2,1)
	   and wins there, so the slide title and the vote button took the site's
	   brand colour: reported as a hero headline and a "Cast your vote" label
	   rendering blue on a teal palette. An `#tie-wrapper`-scoped rule (1,0,2)
	   settles it for good. Measured, not assumed — these are the only three
	   homepage anchors that were vulnerable. */
	#tie-wrapper a.sa-hero__media,#tie-wrapper a.sa-hero__lead{color:#fff;}
	#tie-wrapper a.sa-hero__cta{color:var(--sa-on-accent,#fff);}
	@media(prefers-reduced-motion:reduce){.sa-hero__media,.sa-hero__cta{transition:none;}.sa-hero__bg{animation:none;}.sa-hero-track .sa-hero-slide{transition:opacity .01s;}}

	/* --- Slide timer: a hairline under the hero ---------------------------
	   Not a CSS animation: hero.js runs it through the Web Animations API and
	   advances the carousel on its `finish`, so the bar IS the clock rather than a
	   second one drawn next to it. That is also what makes pause-on-hover exact —
	   the animation freezes and the slide waits out the remainder on resume. The
	   fill starts collapsed so it never flashes full before the script arrives. */
	.sa-hero-prog{height:3px;margin-top:1rem;border-radius:999px;background:color-mix(in srgb,var(--sa-text) 9%,transparent);overflow:hidden;}
	.sa-hero-prog__fill{display:block;height:100%;width:100%;border-radius:999px;background:var(--sa-gradient);box-shadow:0 0 12px color-mix(in srgb,var(--sa-vote) 55%,transparent);transform:scaleX(0);transform-origin:left center;}
	/* No auto-advance under reduced motion, so there is no duration to draw. */
	@media(prefers-reduced-motion:reduce){.sa-hero-prog{display:none;}}

	/* --- Slider controls (arrows + dots, centered under the hero) --------- */
	.sa-hero-controls{display:flex;align-items:center;justify-content:center;gap:1rem;margin-top:.85rem;}
	.sa-hero-nav{appearance:none;flex:0 0 auto;width:2.4rem;height:2.4rem;border-radius:50%;border:1px solid var(--sa-border);background:var(--sa-surface-1);color:var(--sa-text);font-size:1.35rem;line-height:1;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:border-color .15s ease,transform .12s ease,background .15s ease;}
	.sa-hero-nav:hover{transform:translateY(-1px);border-color:var(--sa-border-strong);background:var(--sa-surface-2);}
	.sa-hero-dots{display:flex;align-items:center;gap:.5rem;}
	.sa-hero-dot{appearance:none;width:.6rem;height:.6rem;padding:0;border:1px solid var(--sa-border);border-radius:999px;background:var(--sa-surface-2);cursor:pointer;transition:transform .15s ease,background .15s ease,width .2s ease;}
	.sa-hero-dot:hover{transform:scale(1.2);}
	/* ~10px dot, ~44px hit area; the pad stops at half the gap. */
	.sa-hero-dot{position:relative;}.sa-hero-dot::before{content:"";position:absolute;inset:-17px -.25rem;}
	.sa-hero-dot.is-active{width:1.6rem;background:var(--sa-gradient);border-color:transparent;}
	@media(prefers-reduced-motion:reduce){.sa-hero-nav,.sa-hero-dot{transition:none;}}
	.sa-home-hero{text-align:center;padding:3rem 1rem 1rem;}
	.sa-home-title{font-family:var(--sa-font-display);font-weight:800;line-height:1.05;font-size:clamp(2.1rem,5vw,3.6rem);margin:0 0 .8rem;}
	.sa-home-sub{max-width:44ch;margin:0 auto 1.6rem;color:var(--sa-text-muted);font-size:1.05rem;line-height:1.5;}
	.sa-home-cta{display:inline-block;font-family:var(--sa-font-display);font-weight:700;text-decoration:none;color:var(--sa-on-accent,#fff);background:var(--sa-gradient);padding:.8rem 1.9rem;border-radius:var(--sa-radius-pill,999px);box-shadow:var(--sa-button-depth),var(--sa-shadow-card);transition:transform .15s ease,box-shadow .15s ease; letter-spacing: .05em; text-transform: uppercase;
	}
	.sa-home-cta:hover{transform:translateY(-2px);box-shadow:var(--sa-button-depth),0 10px 30px rgba(0,0,0,.35);color:var(--sa-on-accent,#fff);}
	#sa-home-votes{display:flex;flex-direction:column;gap:.4rem;}
	#sa-home-votes .sa-votes-section{margin:1rem 0;}

	/* --- The homepage composed out of blocks -------------------------------- */
	/* 🔴 `.sa-home--blocks` carried no CSS at all, and the consequence was that
	   core block ALIGNMENTS did nothing on it. Every `alignwide`/`alignfull` rule
	   the base theme ships is scoped to `.entry` (assets/css/single.css), and this
	   wrapper deliberately is not one — `.dark-skin .entry a{color:var(--brand-color)}`
	   would repaint every link in the hero. But the Theme Builder homepage DOES
	   render inside `.entry`, so a Cover block set to "Full width" worked on one
	   build route and silently did nothing on the other. Same editor, same block,
	   two answers.

	   These are direct children only: a block nested inside a Group has that
	   Group as its containing block, and breaking it out of the page instead
	   would be wrong.

	   Caveat inherited from the base theme, which uses the same arithmetic on
	   articles: `100vw` counts the scrollbar, so a full-bleed row overshoots by
	   about half a scrollbar on each side. `#tie-container` is overflow-x:hidden,
	   so that is clipped rather than scrollable — invisible in practice, and the
	   price of the one idiom the whole site already speaks. */
	.sa-home--blocks > .alignwide,
	.sa-home--blocks > .alignfull{width:auto;max-width:none;}
	/* Full bleed, edge to edge. The homepage never has a sidebar, so the content
	   column really is centred in the viewport and this is exact. */
	.sa-home--blocks > .alignfull{margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);}
	/* Wide breaks out by a fixed amount, CLAMPED so it can never pass the viewport
	   edge on a narrow window. max() of two negatives returns the less negative
	   one, so this reads as "80px out, but never further than full bleed". */
	.sa-home--blocks > .alignwide{margin-left:max(-80px,calc(50% - 50vw));margin-right:max(-80px,calc(50% - 50vw));}
	@media(max-width:767px){
		/* On a phone the container's own 15px gutter is the only thing to escape,
		   and both alignments escape exactly that much. */
		.sa-home--blocks > .alignwide,
		.sa-home--blocks > .alignfull{margin-left:-15px;margin-right:-15px;}
	}

	/* Browse-by-category filter bar */
	.sa-browse-tabs{display:flex;gap:.5rem;flex-wrap:wrap;margin:0 0 1.1rem;}
	.sa-browse-tab{appearance:none;border:1px solid var(--sa-border);background:var(--sa-surface-1);color:var(--sa-text);font:inherit;font-size:.85rem;font-weight:600;padding:.5rem .9rem;border-radius:11px;cursor:pointer;display:inline-flex;align-items:center;gap:.5rem;transition:border-color .15s ease,transform .12s ease;}
	.sa-browse-tab:hover{transform:translateY(-1px);border-color:var(--sa-border-strong);}
	.sa-browse-tab.is-active{border-color:transparent;box-shadow:inset 0 0 0 2px var(--sa-violet);}
	.sa-browse-dot{width:.6rem;height:.6rem;border-radius:50%;}
	@media(prefers-reduced-motion:reduce){.sa-browse-tab{transition:none;}}
	/* "Load more" / "See all" — one control, shared by the news grid and the
	   capped vote grid so the two never drift apart visually. Outline rather
	   than a filled gradient: it must read as secondary to the vote buttons
	   above it, which are the page's real call to action. */
	.sa-news-more{display:flex;justify-content:center;margin:1.6rem 0 .4rem;}
	.sa-news-more__btn{display:inline-flex;align-items:center;gap:.15rem;padding:.72em 1.9em;border:1px solid var(--sa-border-strong);border-radius:var(--sa-radius-pill,999px);background:var(--sa-surface-1);color:var(--sa-text)!important;font-family:var(--sa-font-display);font-weight:700;font-size:.92rem;letter-spacing:.02em;text-decoration:none!important;box-shadow:var(--sa-button-depth-soft);transition:border-color .18s ease,background .18s ease,transform .18s ease;}
	.sa-news-more__btn:hover{transform:translateY(-2px);border-color:transparent;background:var(--sa-gradient);color:var(--sa-on-accent)!important;box-shadow:var(--sa-button-depth);}
	.sa-news-more__btn[aria-busy="true"]{opacity:.6;pointer-events:none;transform:none;}
	/* The status line is for screen readers; it must not add height when empty. */
	.sa-news-more__live{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;}
	.sa-browse-empty{margin:1rem 0 0;color:var(--sa-text-muted);font-size:.88rem;}
	.sa-browse-links{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .9rem;margin:-.4rem 0 1.1rem;font-size:.82rem;}
	.sa-browse-links__lbl{color:var(--sa-text-muted);}
	#tie-wrapper a.sa-browse-link{color:var(--sa-text);font-weight:600;text-decoration:none;transition:color .15s ease;}
	#tie-wrapper a.sa-browse-link:hover{color:var(--sa-violet-light);}

	/* News-card CSS is NOT embedded here any more — it lives on its own
	   `shining-news` handle, which this handle depends on. */

	/* --- "How it works" strip (Path / Promises / Proof) --------------------- */
	/* Shared shell + type. All three styles reuse .sa-step__t / .sa-step__d so a
	   type tweak lands on every style at once. */
	.sa-home-steps{margin-top:.5rem;padding:2rem 0 1rem;border-top:1px solid var(--sa-border);}
	.sa-step__t{font-family:var(--sa-font-display);font-weight:700;font-size:1.02rem;margin:0 0 .3rem;color:var(--sa-text);}
	.sa-step__d{margin:0;color:var(--sa-text-muted);font-size:.9rem;line-height:1.45;}

	/* Style a — Path. No panel: the project rules out card surfaces here, so the
	   only structure is an outlined numeral and the hairline leaving it. Every
	   track is minmax(0,...) — a bare 1fr keeps its auto minimum and has already
	   clipped this page on narrow phones. */
	.sa-steps--path{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.6rem 2rem;}
	.sa-step{min-width:0;}
	/* The step numeral was an outline stroked in --sa-border-strong, which is a
	   BORDER token — on Cobalt that is rgba(59,130,246,.38), far too faint to
	   read as a numeral at any size. It is now filled with the brand gradient
	   instead: unmistakably visible, still quieter than the step title because
	   it carries no stroke and sits above the type rather than in it.
	   The `color` declaration is the fallback for engines without
	   background-clip:text — they get a solid accent, never an invisible glyph. */
	.sa-step__n{display:block;font-family:var(--sa-font-display);font-weight:800;font-size:2.1rem;line-height:1;letter-spacing:.02em;color:var(--sa-violet-light);background:var(--sa-gradient);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;}
	/* The connector starts at the numeral and runs to the edge of the column; the
	   last one has nothing to reach, so it fades out instead of stopping dead. */
	.sa-step__rule{display:block;height:1px;margin:.85rem 0 1rem;background:var(--sa-border-strong);opacity:.55;}
	.sa-steps--path .sa-step:last-child .sa-step__rule{background:linear-gradient(90deg,var(--sa-border-strong),transparent);}

	/* Style b — Promises. One bordered frame, cells separated by 1px gap rules:
	   the container background shows through the grid gap, so the dividers cost
	   no extra elements and never double up at the ends. */
	.sa-steps--promises{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--sa-border);border:1px solid var(--sa-border);border-radius:var(--sa-radius,16px);overflow:hidden;}
	.sa-promise{min-width:0;background:var(--sa-surface-1);padding:1.4rem;}
	.sa-promise__ic{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:11px;background:var(--sa-surface-2);border:1px solid var(--sa-border);color:var(--sa-heart);margin-bottom:.8rem;}
	.sa-promise__svg{width:18px;height:18px;display:block;}

	/* Style c — Proof. Ledger left, live snapshot right; the board column is the
	   wider one because its rows carry faces and bars. */
	.sa-steps--proof{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:2rem;align-items:start;}
	.sa-ledger{min-width:0;display:flex;flex-direction:column;gap:1.1rem;}
	.sa-lrow{display:flex;gap:.9rem;align-items:baseline;}
	.sa-lrow__n{flex:none;font-family:var(--sa-font-display);font-weight:800;font-size:.95rem;line-height:1.2;color:var(--sa-heart);letter-spacing:.04em;}
	.sa-lrow__txt{min-width:0;}
	.sa-proof{min-width:0;}

	@media(max-width:782px){
		.sa-steps--path,.sa-steps--promises,.sa-steps--proof{grid-template-columns:minmax(0,1fr);}
		.sa-steps--path{gap:1.4rem;}
		.sa-steps--proof{gap:1.6rem;}
		/* Stacked: the rule would read as a divider between rows, not a path. */
		.sa-step__rule{display:none;}
		.sa-step__n{font-size:1.7rem;margin-bottom:.5rem;}
	}

	/* Homepage Builder and fallback share one quiet hover language. The accent
	   follows each card's vertical; campaign controls keep their own colour. */
	#tie-wrapper :is(.sa-home-built,.sa-home) a:is(:hover,:focus-visible){text-decoration:none!important;}
	:is(.sa-home-built,.sa-home) :is(.sa-hero__media,.sa-votecard,.sa-winv2,.sa-past__card,.sa-follow__item,.sa-lb-row,.sa-tick-i){
		--sa-home-edge:var(--vc-acc,var(--sa-violet));
		transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease,background-color .2s ease;
	}
	:is(.sa-home-built,.sa-home) .sa-follow__item{--sa-home-edge:var(--sa-fbrand,var(--sa-violet));}
	/* The homepage hover glow is shared, but button faces keep their lower lip. */
	:is(.sa-home-built,.sa-home) :is(.sa-hero__cta,.sa-past__more){--sa-home-button-depth:var(--sa-button-depth);}
	:is(.sa-home-built,.sa-home) :is(.sa-duel__btn,.sa-lb-more,.sa-win-more,.sa-lbw-all){--sa-home-button-depth:var(--sa-button-depth-soft);}
	:is(.sa-home-built,.sa-home) :is(.sa-lb-cta,.sa-vmore__btn,.sa-news-more__btn){--sa-home-button-depth:var(--sa-button-depth-soft);}
	:is(.sa-home-built,.sa-home) :is(.sa-lb-cta,.sa-vmore__btn,.sa-news-more__btn):hover{--sa-home-button-depth:var(--sa-button-depth);}
	@media(hover:hover) and (pointer:fine){
		:is(.sa-home-built,.sa-home) :is(.sa-hero__media,.sa-votecard,.sa-winv2,.sa-past__card,.sa-follow__item,.sa-lb-row,.sa-tick-i):is(:hover,:focus-within){
			border-color:color-mix(in srgb,var(--sa-home-edge) 44%,var(--sa-border));
			box-shadow:0 0 0 1px color-mix(in srgb,var(--sa-home-edge) 18%,transparent),0 0 22px -9px color-mix(in srgb,var(--sa-home-edge) 42%,transparent);
		}
		:is(.sa-home-built,.sa-home) .sa-votecard:is(:hover,:focus-within){
			box-shadow:var(--sa-shadow-card),0 0 0 1px color-mix(in srgb,var(--sa-home-edge) 18%,transparent),0 0 22px -9px color-mix(in srgb,var(--sa-home-edge) 42%,transparent);
		}
		:is(.sa-home-built,.sa-home) :is(.sa-hero__lead--link,.sa-hero__cta,.sa-hero__share,.sa-duel__btn,.sa-lb-cta,.sa-lb-more,.sa-vmore__btn,.sa-vc-share,.sa-news-rm,.sa-news-more__btn,.sa-win-more,.sa-lbw-all,.sa-past__more,.sa-rail-nav,.sa-hero-nav,.sa-browse-tab,.sa-tick__pause){
			--sa-home-edge:var(--vc-acc,var(--sa-violet));
			transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease,background-color .2s ease,color .2s ease;
		}
		:is(.sa-home-built,.sa-home) .sa-duel__btn--a{--sa-home-edge:var(--sa-duel-a);}
		:is(.sa-home-built,.sa-home) .sa-duel__btn--b{--sa-home-edge:var(--sa-duel-b);}
		:is(.sa-home-built,.sa-home) :is(.sa-hero__lead--link,.sa-hero__cta,.sa-hero__share,.sa-duel__btn,.sa-lb-cta,.sa-lb-more,.sa-vmore__btn,.sa-vc-share,.sa-news-rm,.sa-news-more__btn,.sa-win-more,.sa-lbw-all,.sa-past__more,.sa-rail-nav,.sa-hero-nav,.sa-browse-tab,.sa-tick__pause):is(:hover,:focus-visible){
			box-shadow:var(--sa-home-button-depth, 0 0 0 transparent),0 0 0 1px color-mix(in srgb,var(--sa-home-edge) 24%,transparent),0 0 18px -8px color-mix(in srgb,var(--sa-home-edge) 45%,transparent);
		}
		/* Text-only links gain the parent's edge response; no pill is drawn around text. */
		:is(.sa-home-built,.sa-home) :is(.sa-browse-link,.sa-lb-namelink,.sa-winv2__poll):hover{filter:brightness(1.12);}
	}
	@media(prefers-reduced-motion:reduce){
		:is(.sa-home-built,.sa-home) :is(.sa-hero__media,.sa-votecard,.sa-winv2,.sa-past__card,.sa-follow__item,.sa-lb-row,.sa-tick-i,.sa-hero__lead--link,.sa-hero__cta,.sa-hero__share,.sa-duel__btn,.sa-lb-cta,.sa-lb-more,.sa-vmore__btn,.sa-vc-share,.sa-news-rm,.sa-news-more__btn,.sa-win-more,.sa-lbw-all,.sa-past__more,.sa-rail-nav,.sa-hero-nav,.sa-browse-tab,.sa-tick__pause){transition:none;}
	}
