/* Sponsor page: pixel redstone island, perks showcase and the steps to get them. Shared components come from ui.css. */

/* ---------- Hero ---------- */
.support-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(28px, 5vw, 64px) clamp(48px, 6vw, 88px); }
.support-sky { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #ffe3ef 0%, #f3eaff 48%, var(--bg) 100%); transition: background .6s; }
.support-sky::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(to right, rgb(255 255 255 / .6) 1px, transparent 1px), linear-gradient(to bottom, rgb(255 255 255 / .6) 1px, transparent 1px); background-size: 34px 34px; -webkit-mask-image: radial-gradient(ellipse 55% 75% at 74% 45%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 55% 75% at 74% 45%, #000 10%, transparent 70%); }
:root[data-theme="dark"] .support-sky { background: linear-gradient(180deg, #160a1f 0%, #0f0d1d 48%, var(--bg) 100%); }
:root[data-theme="dark"] .support-sky::before { background-image: linear-gradient(to right, rgb(255 255 255 / .05) 1px, transparent 1px), linear-gradient(to bottom, rgb(255 255 255 / .05) 1px, transparent 1px); }
/* Pixel Snow: square flakes drift down the sky; with the lever on they turn pink and mix in hearts (support.js). */
.snow-canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; pointer-events: none; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
/* Specular Button: a bright rim turns toward the pointer and a soft highlight slides over the face (support.js). */
.btn.specular { --sx: 50%; --sy: 0%; --sa: 0deg; isolation: isolate; overflow: hidden; }
.btn.specular::before { content: ""; position: absolute; inset: 0; z-index: 2; padding: 1.5px; border-radius: inherit; background: conic-gradient(from var(--sa), transparent 0 18%, rgb(255 255 255 / .95) 25%, transparent 34% 66%, rgb(255 255 255 / .45) 75%, transparent 84%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.btn.specular::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; background: radial-gradient(90px 46px at var(--sx) var(--sy), rgb(255 255 255 / .75), rgb(255 255 255 / .12) 55%, transparent 75%); mix-blend-mode: soft-light; pointer-events: none; }
.btn.specular > :not(.sr-only) { position: relative; z-index: 3; }

.support-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(16px, 4vw, 56px); }
.support-copy { min-width: 0; animation: support-rise .9s .05s var(--ease-out) both; }
.support-copy h1 { font-size: clamp(3.1rem, 7.4vw, 6.1rem); font-weight: 850; line-height: 1; letter-spacing: -.05em; }
.support-word { padding-right: .04em; background: linear-gradient(var(--brand-angle), #ff4f9a, #9b4dff 70%, #ff4f9a); -webkit-background-clip: text; background-clip: text; color: transparent; animation: brand-flow 9s linear infinite; }
.support-lede { margin-top: 22px; max-width: 29em; color: var(--ink-2); font-size: 1.05rem; line-height: 1.8; }
.support-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.support-steps-link { background: var(--surface-glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.support-address { margin-top: 14px; font-family: var(--font-mono); font-size: .8rem; color: var(--ink-3); overflow-wrap: anywhere; }
@keyframes support-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.btn-sponsor { --btn-bg: linear-gradient(110deg, #ff4f9a, #b04dff); --btn-fg: #fff; --btn-border: transparent; --shine-opacity: .5; box-shadow: 0 12px 26px -12px rgb(214 47 120 / .85), inset 0 1px 0 rgb(255 255 255 / .3); }
.btn-sponsor:hover:not([aria-disabled="true"]) { --btn-border: transparent; }
:root[data-theme="dark"] .btn-sponsor.hover-shine { --shine-opacity: .35; }
.btn-sponsor[aria-disabled="true"] { --btn-bg: var(--surface-3); --btn-fg: var(--ink-3); --btn-border: var(--line-2); cursor: not-allowed; box-shadow: none; }
.hover-shine[aria-disabled="true"]::before { display: none; }
.link[aria-disabled="true"] { color: var(--ink-3); cursor: not-allowed; text-decoration: none; }

/* ---------- Redstone island ---------- */
/* The scene is one inline SVG in texel units; data-powered drives every state so the markup alone renders it unlit.
   A texel is rarely a whole number of pixels, so two crisp-edged blocks can round apart by a pixel; a solid island
   silhouette under the blocks makes such a gap show dirt instead of the sky. */
.circuit { position: relative; justify-self: end; width: 100%; max-width: 600px; margin: 0; animation: support-rise 1s .15s var(--ease-out) both; }
.circuit-stage { position: relative; aspect-ratio: 1; animation: island-float 6s ease-in-out infinite; }
.circuit-art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
@keyframes island-float { 50% { translate: 0 -10px; } }
.circuit-lever { position: absolute; left: calc(15 / 112 * 100%); top: calc(31 / 112 * 100%); width: calc(18 / 112 * 100%); height: calc(19 / 112 * 100%); padding: 0; border: 0; border-radius: 0; background: none; cursor: pointer; }
.circuit-lever:hover { outline: 2px solid rgb(0 0 0 / .5); outline-offset: -2px; }
:root[data-theme="dark"] .circuit-lever:hover { outline-color: rgb(255 255 255 / .55); }
/* With WebGL the island is a block diorama on a canvas (redstone-island.js); it keeps the lever button over the lever
   and draws the game's block outline on hover. The SVG stays hidden unless the script falls back to it. */
:root.js .circuit:not([data-scene="flat"]) .circuit-art { visibility: hidden; }
.circuit-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; touch-action: pan-y; cursor: grab; transition: opacity .6s ease-out; }
.circuit[data-scene="3d"] .circuit-canvas { opacity: 1; }
.circuit-canvas.is-dragging { cursor: grabbing; }
.circuit[data-scene="3d"] .circuit-lever:hover { outline: none; }

.circuit .dust { fill: #4d0b0b; transition: fill .1s linear calc(var(--i) * 70ms); }
.circuit[data-powered="true"] .dust { fill: #ff2b1b; }
.circuit .lever-stick[data-state="on"], .circuit[data-powered="true"] .lever-stick[data-state="off"] { visibility: hidden; }
.circuit[data-powered="true"] .lever-stick[data-state="on"] { visibility: visible; }
.circuit .lamp[data-state="on"], .circuit .lamp-glow { opacity: 0; transition: opacity .2s ease-out; }
.circuit[data-powered="true"] .lamp[data-state="on"] { opacity: 1; transition-delay: .42s; }
.circuit[data-powered="true"] .lamp-glow { opacity: 1; transition: opacity .6s ease-out .42s; animation: lamp-breathe 3.2s ease-in-out 1s infinite; }
.circuit .scene-heart { opacity: 0; translate: 0 4px; transition: opacity .25s, translate .25s; }
.circuit[data-powered="true"] .scene-heart { opacity: 1; translate: 0 0; transition: opacity .4s .62s, translate .7s .62s var(--ease-out); }
:root[data-theme="dark"] .circuit .scene-heart { filter: drop-shadow(0 0 3px rgb(255 79 154 / .55)); }
.circuit .heart-bob { animation: heart-bob 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.circuit .spark { fill: #ff5a36; opacity: 0; }
.circuit[data-powered="true"] .spark { animation: spark-rise 1.9s ease-out calc(.5s + var(--n) * .37s) infinite; }
@keyframes lamp-breathe { 50% { opacity: .72; } }
@keyframes heart-bob { 50% { translate: 0 -1.5px; } }
@keyframes spark-rise { 0% { opacity: 0; translate: 0 0; } 25% { opacity: 1; } 100% { opacity: 0; translate: 0 -7px; } }
/* Pointing at the sponsor button makes the heart beat. */
.support-hero-grid:has(.btn-sponsor:not([aria-disabled="true"]):is(:hover, :focus-visible)) .circuit[data-powered="true"] .heart-bob { animation: heart-beat .8s var(--ease-out) infinite; }
@keyframes heart-beat { 0%, 100% { scale: 1; } 25% { scale: 1.22; } 50% { scale: .94; } 72% { scale: 1.06; } }

/* ---------- Perks ---------- */
.support-perks { padding-block: clamp(16px, 3vw, 40px) clamp(48px, 7vw, 96px); }
.perks { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.perks-stage { position: relative; margin: 0; padding-top: 18px; }
.mc-view { --px: clamp(5px, 1.05vw, 8px); position: relative; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; background: linear-gradient(180deg, #7fbfff 0%, #b7dcff 52%, #d9eeff 72%); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgb(0 0 0 / .06); }
.mc-view::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 28%; background: linear-gradient(#6aa84f 0 calc(var(--px) * 2), #5e9b43 0 calc(var(--px) * 3), #8a5a32 0 calc(var(--px) * 8), #7a4e2a 0); }
:root[data-theme="dark"] .mc-view { background: linear-gradient(180deg, #070d22 0%, #0f1b3c 60%, #1a2a52 72%); }
:root[data-theme="dark"] .mc-view::after { filter: brightness(.55); }
.mc-player { position: absolute; z-index: 1; left: 50%; bottom: 28%; width: calc(16 * var(--px)); height: calc(32 * var(--px)); translate: -50% 0; filter: drop-shadow(0 calc(var(--px) * .5) 0 rgb(0 0 0 / .18)); }
/* The signed-in player's own skin (support.js sets --skin to the 64 x 64 sheet the game draws); Steve otherwise. */
.mc-part, .mc-part::after { width: calc(var(--w) * var(--px)); height: calc(var(--h) * var(--px)); background: var(--skin, url("/assets/preview/steve.png")) calc(var(--u) * var(--px) * -1) calc(var(--v) * var(--px) * -1) / calc(64 * var(--px)) auto no-repeat; image-rendering: pixelated; }
.mc-part { position: absolute; left: calc(var(--l) * var(--px)); top: calc(var(--t) * var(--px)); }
/* Outer layer (hat, jacket, sleeves, trousers) over the base; the hat stands half a pixel proud, as in game. */
.mc-part::after { content: ""; position: absolute; inset: 0; background-position: calc(var(--ou) * var(--px) * -1) calc(var(--ov) * var(--px) * -1); }
.mc-part[data-part="head"]::after { scale: 1.125; }
/* Back faces from the skin sheet; seen from behind, the player's left side is on the left. */
.mc-part[data-part="head"] { --l: 4; --t: 0; --w: 8; --h: 8; --u: 24; --v: 8; --ou: 56; --ov: 8; }
.mc-part[data-part="arm-left"] { --l: 0; --t: 8; --w: 4; --h: 12; --u: 44; --v: 52; --ou: 60; --ov: 52; }
.mc-part[data-part="body"] { --l: 4; --t: 8; --w: 8; --h: 12; --u: 32; --v: 20; --ou: 32; --ov: 36; }
.mc-part[data-part="arm-right"] { --l: 12; --t: 8; --w: 4; --h: 12; --u: 52; --v: 20; --ou: 52; --ov: 36; }
.mc-part[data-part="leg-left"] { --l: 4; --t: 20; --w: 4; --h: 12; --u: 28; --v: 52; --ou: 12; --ov: 52; }
.mc-part[data-part="leg-right"] { --l: 8; --t: 20; --w: 4; --h: 12; --u: 12; --v: 20; --ou: 12; --ov: 36; }
/* Slim (Alex) arms are three pixels wide. */
.mc-player[data-slim="true"] .mc-part[data-part="arm-left"] { --l: 1; --w: 3; --u: 43; --ou: 59; }
.mc-player[data-slim="true"] .mc-part[data-part="arm-right"] { --w: 3; --u: 51; --ou: 51; }
/* The hem swings out behind the player, towards the viewer, so the bottom edge reads wider than the shoulders. */
.mc-cape { position: absolute; left: calc(3 * var(--px)); top: calc(8 * var(--px)); width: calc(10 * var(--px)); height: calc(16 * var(--px)); image-rendering: pixelated; transform-origin: top center; transform: perspective(calc(60 * var(--px))) rotateX(12deg); animation: cape-sway 3.4s ease-in-out infinite alternate; }
@keyframes cape-sway { to { transform: perspective(calc(60 * var(--px))) rotateX(26deg); } }

.mc-chat-row { position: absolute; z-index: 2; left: 4%; bottom: 7%; right: 4%; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.mc-chat { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 3px 9px 3px 6px; background: rgb(0 0 0 / .5); color: #fff; font-size: clamp(.78rem, 1.3vw, .95rem); font-weight: 650; line-height: 1.45; text-shadow: 2px 2px 0 #3f3f3f; }
.mc-chat img { width: 1.15em; height: 1.15em; }
.mc-chat > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.perk-pin { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: 999px; background: #fff; color: #0f1a14; font-size: .78rem; font-weight: 750; white-space: nowrap; box-shadow: var(--shadow-md); }
.perk-pin::before { content: ""; width: 7px; height: 7px; background: var(--supporter); box-shadow: 2px 2px 0 color-mix(in srgb, var(--supporter) 30%, transparent); }
.perk-pin[data-pin="cape"] { position: absolute; z-index: 2; left: calc(50% + 12 * var(--px)); bottom: calc(28% + 17 * var(--px)); }
.perk-pin[data-pin="cape"]::after { content: ""; position: absolute; right: 100%; top: 50%; width: calc(4 * var(--px)); height: 2px; background: #fff; }

.web-plate { position: absolute; z-index: 3; top: 0; right: 14px; display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 28px); padding: 9px 14px 9px 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-lg); font-weight: 700; rotate: 2deg; }
.web-plate-tag { padding: 2px 7px; border-radius: 6px; background: var(--surface-3); color: var(--ink-3); font-size: .7rem; font-weight: 750; }
.web-plate-avatar { display: inline-grid; flex-shrink: 0; }
.web-plate-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .perks-stage:hover .web-plate .supporter-badge img { animation: supporter-beat .7s var(--ease-out); } }

.perks-copy h2, .how-steps h2 { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 800; letter-spacing: -.04em; }
.perk-list { display: grid; gap: 24px; margin-top: 28px; }
.perk dt { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 1.2rem; font-weight: 750; }
.perk dd { margin: 8px 0 0 48px; color: var(--ink-2); line-height: 1.8; }
.perk-icon { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 11px; background: var(--supporter-soft) center / 22px 22px no-repeat; }
.perk-icon-heart { background-image: url("/assets/icons/sponsor.svg"); }
.perk-icon-cape { background-size: 14px 22px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 16' shape-rendering='crispEdges'%3E%3Cpath fill='%237a33d6' d='M0 0h10v16H0z'/%3E%3Cpath fill='%23b06cff' d='M1 1h8v14H1z'/%3E%3Cpath fill='%23ff4f9a' d='M2 6h2v1H2zM6 6h2v1H6zM2 7h6v2H2zM3 9h4v1H3zM4 10h2v1H4z'/%3E%3C/svg%3E"); image-rendering: pixelated; }

.perk-icon-animated { background-size: 14px 22px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 16' shape-rendering='crispEdges'%3E%3Cpath fill='%23ff4f9a' d='M0 0h10v16H0z'/%3E%3Cpath fill='%23ffb347' d='M1 1h8v4H1z'/%3E%3Cpath fill='%2359c173' d='M1 5h8v5H1z'/%3E%3Cpath fill='%235d26c1' d='M1 10h8v5H1z'/%3E%3Cpath fill='%23fff' d='M2 2h1v1H2zM7 7h1v1H7zM4 12h1v1H4z'/%3E%3C/svg%3E"); image-rendering: pixelated; }

/* ---------- Plans ---------- */
/* Two ways to sponsor side by side; the animated card carries the anchor the client links to. */
.support-plans { padding-block: clamp(40px, 6vw, 72px) clamp(8px, 2vw, 24px); }
.support-plans h2 { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 800; letter-spacing: -.04em; }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); margin-top: 28px; }
.plan-card { display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 3vw, 30px); border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--header-height) + 16px); }
.plan-card-animated { border-color: color-mix(in srgb, var(--supporter) 35%, var(--line)); box-shadow: var(--shadow-sm), inset 0 0 0 1px color-mix(in srgb, var(--supporter) 12%, transparent); }
.plan-card:target { box-shadow: var(--shadow-md), 0 0 0 3px color-mix(in srgb, var(--supporter) 35%, transparent); }
.plan-card h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.plan-price strong { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; background: var(--supporter-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan-price span { color: var(--ink-3); font-size: .92rem; }
/* The price itself keeps its look while it counts up (support.js). */
.plan-price strong span { color: inherit; font-size: inherit; }
.plan-perks { display: grid; gap: 10px; }
.plan-perks li { position: relative; padding-left: 20px; color: var(--ink-2); font-size: .94rem; line-height: 1.7; }
.plan-perks li::before { content: ""; position: absolute; left: 1px; top: .7em; width: 7px; height: 7px; background: var(--supporter); box-shadow: 2px 2px 0 color-mix(in srgb, var(--supporter) 30%, transparent); }
.plan-card > .plan-action { align-self: flex-start; margin-top: auto; }
.plan-fineprint { margin-top: -8px; color: var(--ink-3); font-size: .8rem; }
.plan-action[aria-disabled="true"] { pointer-events: none; }
.plan-note { color: var(--ink-3); font-size: .88rem; line-height: 1.7; }
.plan-status { margin: 0; font-size: .88rem; }
/* The sponsor code and the code field (shared with the account page, styled in ui.css) share one box under the plans. */
.plan-codes { display: grid; gap: 16px; margin-top: 22px; padding: 16px 20px; border: 1px dashed color-mix(in srgb, var(--supporter) 45%, var(--line-2)); border-radius: 16px; background: var(--supporter-soft); scroll-margin-top: calc(var(--header-height) + 16px); }
.plan-code { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.plan-code:not([hidden]) ~ :not([hidden]) { padding-top: 16px; border-top: 1px dashed color-mix(in srgb, var(--supporter) 35%, var(--line-2)); }
.plan-redeem .field-label { color: var(--ink-2); font-size: .92rem; font-weight: 650; }
.plan-redeem .input { background: var(--surface); }
.plan-redeem-guest { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; color: var(--ink-2); font-size: .92rem; font-weight: 650; }
.plan-redeem-guest .link { font-weight: 700; }
.plan-code-label { color: var(--ink-2); font-size: .92rem; font-weight: 650; }
.plan-code-value { font-family: var(--font-mono); font-size: 1.05rem; font-weight: 800; letter-spacing: .06em; color: var(--supporter); }
.plan-code-hint { flex: 1 1 220px; color: var(--ink-3); font-size: .86rem; line-height: 1.6; }

/* ---------- Xianyu ---------- */
/* The tickets are shared with the account page and live in ui.css; this is the block around them. */
.market { margin-top: clamp(30px, 4vw, 46px); scroll-margin-top: calc(var(--header-height) + 16px); }
.market-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; }
.market-head h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.market-head p { flex: 1 1 340px; color: var(--ink-3); font-size: .9rem; line-height: 1.7; }
.market-list { margin-top: 18px; }
.market-redeem { display: inline-block; margin-top: 16px; font-size: .92rem; }

/* ---------- Steps ---------- */
/* A redstone wire runs down the steps; once revealed it powers each lamp in turn. */
.support-how { padding-block: clamp(16px, 3vw, 40px) 0; }
.how { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; gap: clamp(32px, 5vw, 72px); }
.steps { position: relative; display: grid; gap: 30px; margin-top: 30px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 20px; top: 22px; bottom: 22px; width: 4px; }
.steps::before { background: #4d0b0b; }
.steps::after { background: #ff2b1b; box-shadow: 0 0 10px rgb(255 43 27 / .55); transform-origin: top; scale: 1 0; transition: scale 1.2s var(--ease-out) .35s; }
:root:not(.js) .steps::after, .steps.is-revealed::after { scale: 1 1; }
.step { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 20px; }
.step > :not(.step-node) { grid-column: 2; }
.step-node { position: relative; z-index: 1; grid-row: 1 / span 3; display: grid; place-items: center; width: 44px; height: 44px; background: #3a2311; color: #b88a5c; font-family: var(--font-mono); font-size: 1.05rem; font-weight: 800; box-shadow: inset 0 0 0 3px #2a170a, inset 0 0 0 6px #6a3f1d; transition: background-color .3s, color .3s, box-shadow .3s; }
:root:not(.js) .step-node, .steps.is-revealed .step-node { background: #ffd27a; color: #5a2e08; box-shadow: inset 0 0 0 3px #9a5b1c, inset 0 0 0 6px #e0912f, 0 0 24px rgb(255 190 90 / .6); }
.steps.is-revealed .step:nth-child(1) .step-node { transition-delay: .4s; }
.steps.is-revealed .step:nth-child(2) .step-node { transition-delay: .85s; }
.steps.is-revealed .step:nth-child(3) .step-node { transition-delay: 1.3s; }
.step h3 { padding-top: 9px; font-size: 1.12rem; }
.step p { margin-top: 6px; color: var(--ink-2); line-height: 1.8; }
.step .link { justify-self: start; margin-top: 6px; font-size: .92rem; }

.how-notes { margin-top: 8px; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-sm); }
.how-notes h2 { font-size: 1.2rem; letter-spacing: -.01em; }
.how-notes ul { display: grid; gap: 12px; margin-top: 16px; }
.how-notes li { position: relative; padding-left: 20px; color: var(--ink-2); font-size: .92rem; line-height: 1.75; }
.how-notes li::before { content: ""; position: absolute; left: 1px; top: .72em; width: 7px; height: 7px; background: var(--supporter); box-shadow: 2px 2px 0 color-mix(in srgb, var(--supporter) 30%, transparent); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .support-hero-grid { grid-template-columns: 1fr; gap: 4px; }
  .support-copy { text-align: center; }
  .support-lede { margin-inline: auto; }
  .support-actions { justify-content: center; }
  .circuit { justify-self: center; max-width: 480px; }
  .perks, .how, .plan-grid { grid-template-columns: 1fr; }
  .perks-copy { order: -1; }
}
@media (max-width: 560px) {
  .support-copy h1 { font-size: clamp(2.7rem, 14vw, 3.6rem); }
  .support-lede { font-size: .97rem; }
  .support-actions .btn { flex: 1 1 100%; }
  .perk dd { margin-left: 0; }
  .web-plate { right: 8px; padding: 7px 11px 7px 8px; font-size: .88rem; }
  .perk-pin { height: 24px; padding: 0 9px; font-size: .72rem; }
  .how-notes { padding: 20px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .circuit-stage, .mc-cape { animation: none; }
}

/* ---------- Border Glow ---------- */
/* The plan cards' borders light up toward the pointer, brighter the closer it is to an edge (support.js). */
.glow-wrap { position: relative; display: grid; place-items: stretch; }
.glow-wrap > .plan-card { position: relative; z-index: 1; }
.glow-edge { position: absolute; inset: 0; z-index: 2; border-radius: 22px; padding: 2px; background: radial-gradient(220px circle at var(--gx, 50%) var(--gy, 0%), #ff4f9a, #b04dff 45%, transparent 72%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: var(--edge, 0); transition: opacity .25s; pointer-events: none; }
.glow-halo { position: absolute; inset: 0; z-index: 0; border-radius: 22px; background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 0%), rgb(255 79 154 / .55), rgb(176 77 255 / .35) 40%, transparent 70%); filter: blur(22px); opacity: calc(var(--edge, 0) * .9); transition: opacity .25s; pointer-events: none; }
