/* spellfighter.com (the designer's HUD_Website handoff, October 20): the landing (index.html) and the creator kit
   (creators.html). The game's Heraldic Ink look: ink ground with a faint 135\b0  hatch, cream type, one gold accent, Barlow
   Condensed 800 for everything loud, square corners with chamfers. Values are the design reference's (Spell Fighter
   Site.dc.html); the behaviour is page.js, the data and rules spellfighter-site.js. */

:root {
	--ink: #0F1218;
	--ink-deep: #0B0E13;
	--panel: #12151E;
	--field: #090C12;
	--cream: #F3E8CC;
	--gold: #F2B233;
	--gold-hi: #FFC93C;
	--gold-lo: #D99A1C;
	--on-gold: #1C1B26;
	--violet: #B08CFF;
	--green: #6EDC78;
	--red: #E07A5F;
	--pad: clamp(16px, 4vw, 40px);
	--hatch: repeating-linear-gradient(135deg, rgba(255, 255, 255, .022) 0 2px, transparent 2px 7px);
	--hatch-panel: repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 7px);
	--cond: 'Barlow Condensed', sans-serif;
	--body: Barlow, system-ui, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
html, body { margin: 0; }
body { min-height: 100vh; background: var(--ink) var(--hatch); color: var(--cream); font: 500 17px/1.55 var(--body); }
a { color: var(--gold); }
a:hover { color: var(--gold-hi); }
::selection { background: rgba(242, 178, 51, .35); }
input::placeholder { color: rgba(243, 232, 204, .4); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }
h1, h2, p { margin: 0; }
b { font-weight: 700; }
b.cream { color: var(--cream); }
b.gold { color: var(--gold); }

/* Lucide, stroke 1.5, inlined. */
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* A section's box: 1280 wide with the side padding inside it. */
.box { max-width: 1280px; margin: 0 auto; box-sizing: border-box; padding-left: var(--pad); padding-right: var(--pad); }

/* ---- Buttons. The gold ones chamfer the bottom-right corner; the others are outlined. */
.btn { display: inline-flex; align-items: center; gap: 12px; box-sizing: border-box; height: 62px; padding: 0 24px; border: 0; cursor: pointer; text-decoration: none; font: 800 23px/1 var(--cond); letter-spacing: .08em; }
.btn .ico { width: 20px; height: 20px; }
.btn.gold { padding: 0 28px; background: var(--gold); color: var(--on-gold); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%); }
.btn.gold:hover { background: var(--gold-hi); color: var(--on-gold); }
.btn.gold:active { background: var(--gold-lo); }
.btn.line-gold { color: var(--gold); background: rgba(15, 18, 24, .5); box-shadow: inset 0 0 0 1px var(--gold); }
.btn.line-gold:hover { background: rgba(242, 178, 51, .12); color: var(--gold); }
.btn.line { color: var(--cream); background: rgba(15, 18, 24, .5); box-shadow: inset 0 0 0 1px rgba(243, 232, 204, .3); }
.btn.line:hover { color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }

/* ---- The header: sticky, blurred, its row 1280 wide plus the padding (wider than the sections, as designed). */
.site-head { position: sticky; top: 0; z-index: 30; background: rgba(15, 18, 24, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 -1px 0 rgba(243, 232, 204, .1); }
.site-head-in { max-width: 1280px; margin: 0 auto; padding: 12px var(--pad); min-height: 44px; display: flex; align-items: center; gap: 12px clamp(16px, 3vw, 40px); flex-wrap: wrap; }
.wordmark { display: flex; gap: .2em; text-decoration: none; color: var(--cream); font: 800 30px/1 var(--cond); letter-spacing: .04em; white-space: nowrap; }
.wordmark:hover { color: var(--cream); }
.wordmark span { color: var(--gold); }
.wordmark-mark { width: 1.15em; height: 1.15em; align-self: center; margin-right: .18em; }
.site-nav { display: flex; flex-wrap: wrap; gap: 6px clamp(14px, 2.2vw, 28px); font: 800 16px/1 var(--cond); letter-spacing: .1em; }
.site-nav a { color: rgba(243, 232, 204, .72); text-decoration: none; }
.site-nav a:hover { color: var(--cream); }
.site-nav a.kit:hover, .site-nav a.on { color: var(--gold); }
.head-actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.head-btn { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; text-decoration: none; font: 800 16px/1 var(--cond); letter-spacing: .1em; }
.head-btn.line { color: var(--cream); box-shadow: inset 0 0 0 1px rgba(243, 232, 204, .28); }
.head-btn.line:hover { color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.head-btn.gold { padding: 0 18px; background: var(--gold); color: var(--on-gold); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%); }
.head-btn.gold:hover { background: var(--gold-hi); color: var(--on-gold); }

/* ---- The night's pulsing dot (violet; green while it's on). */
@keyframes sf-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
.dot { width: 8px; height: 8px; flex: none; border-radius: 50%; color: var(--violet); background: currentColor; box-shadow: 0 0 10px currentColor; animation: sf-pulse 1.6s ease-in-out infinite; }
.dot.now { color: var(--green); }
.dot.big { width: 16px; height: 16px; }

/* ---- Hero. */
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 75% 40%, rgba(242,178,51,.08), transparent 65%); }
.hero-in { width: 100%; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); align-items: center; gap: clamp(24px, 4vw, 56px); padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(40px, 6vw, 88px); }
.hero-col { min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { margin: 0 0 0 -.04em; display: flex; flex-direction: column; font: 800 clamp(64px, 8vw, 112px)/.8 var(--cond); letter-spacing: .005em; }
.hero h1 span + span { color: var(--gold); }
@media(max-width: 960px) { .hero-in { grid-template-columns: minmax(0, 1fr); } .hero h1 { font-size: clamp(72px, 15vw, 112px); } }
.hero-lead { max-width: 880px; font: 500 clamp(18px, 1.6vw, 21px)/1.5 var(--body); color: var(--cream); text-wrap: balance; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.night-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; height: 40px; padding: 0 16px 0 14px; background: rgba(15, 18, 24, .72); box-shadow: inset 0 0 0 1px rgba(176, 140, 255, .55); color: var(--cream); text-decoration: none; font: 800 15px/1 var(--cond); letter-spacing: .12em; }
.night-chip:hover { background: rgba(176, 140, 255, .14); color: var(--cream); }
.night-chip .v { color: var(--violet); }
.night-chip .m { color: rgba(243, 232, 204, .7); }

/* ---- How it plays: four numbered cells as two pairs (4, then 2 + 2, then 1; never 3 + 1). */
.plays { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.pairs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 10px; }
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.cell { display: flex; flex-direction: column; gap: 12px; padding: 24px 24px 28px; background: rgba(243, 232, 204, .04); box-shadow: inset 0 3px 0 rgba(243, 232, 204, .25); }
.cell.first { box-shadow: inset 0 3px 0 var(--gold); }
.cell-num { font: 800 17px/1 var(--cond); letter-spacing: .1em; color: var(--gold); }
.cell-title { font: 800 30px/1 var(--cond); letter-spacing: .03em; }
.cell-line { color: rgba(243, 232, 204, .7); text-wrap: pretty; }

/* ---- A video window (the reel, a class): the footage, or its still, under a hairline. */
.window { position: relative; overflow: hidden; background: var(--panel); }
.window::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(243, 232, 204, .12); pointer-events: none; }
.window img, .window video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.reel { width: 100%; min-width: 0; aspect-ratio: 16 / 9; }

/* ---- Landing sections. */
.sec { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 44px); padding-bottom: clamp(72px, 10vw, 128px); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 40px; }
.sec-head.spread { justify-content: space-between; }
.sec-titles { display: flex; flex-direction: column; gap: 16px; }
.kicker { font: 700 13px/1 var(--body); letter-spacing: .2em; color: var(--gold); }
.kicker.violet { color: var(--violet); }
.h2 { font: 800 clamp(44px, 6vw, 88px)/.88 var(--cond); letter-spacing: .01em; }
.sec-line { flex: 1 1 320px; max-width: 460px; color: rgba(243, 232, 204, .7); text-wrap: pretty; }

/* ---- Classes: five tabs, then the class's window and its card. */
.tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 8px; }
.tab { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 20px 10px 18px; border: 0; cursor: pointer; color: var(--cream); font: inherit; background: rgba(243, 232, 204, .04); box-shadow: inset 0 0 0 1px rgba(243, 232, 204, .14); transition: background .15s, box-shadow .15s; }
.tab:hover { filter: brightness(1.18); }
.tab[aria-selected="true"] { background: rgba(242, 178, 51, .1); box-shadow: inset 0 0 0 1px rgba(242, 178, 51, .55), inset 0 -3px 0 var(--gold); }
.tab-corner { position: absolute; left: 0; top: 0; width: 40px; height: 40px; background: var(--c); clip-path: polygon(0 0, 40px 0, 0 40px); }
.glyph { background: var(--cream); -webkit-mask: var(--g) center / contain no-repeat; mask: var(--g) center / contain no-repeat; }
.tab .glyph { width: 60px; height: 60px; }
.tab-name { font: 800 24px/1 var(--cond); letter-spacing: .06em; }
.cls-panel { display: flex; flex-wrap: wrap; gap: 10px; }
.cls-window { flex: 2 1 480px; min-width: 0; align-self: flex-start; aspect-ratio: 16 / 9; }
.window .class-placeholder { padding: 12%; opacity: .65; }
.cls-cap { font: 700 12px/1.4 var(--body); letter-spacing: .12em; color: var(--gold); }
.cls-card { flex: 1 1 260px; display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 3vw, 36px); background: var(--panel) var(--hatch-panel); box-shadow: inset 0 3px 0 var(--c); }
.cls-card .glyph { width: 72px; height: 72px; }
.cls-name { font: 800 clamp(48px, 5vw, 68px)/.88 var(--cond); letter-spacing: .03em; }
.cls-line { font: 500 18px/1.5 var(--body); color: rgba(243, 232, 204, .8); text-wrap: pretty; }
.cls-collect { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.mini-kicker { font: 700 11px/1 var(--body); letter-spacing: .18em; color: var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 8px 11px; box-shadow: inset 0 0 0 1px rgba(243, 232, 204, .22); font: 800 15px/1 var(--cond); letter-spacing: .08em; }

/* ---- Modes: five rows that slide right and turn gold on hover. */
.modes { display: flex; flex-direction: column; box-shadow: inset 0 1px 0 rgba(243, 232, 204, .12); }
.mode { display: flex; gap: 22px; padding: 24px 0; box-shadow: inset 0 -1px 0 rgba(243, 232, 204, .12); transition: padding .15s ease-out; }
.mode:hover { padding-left: 10px; color: var(--gold); }
.mode-num { width: 28px; flex: none; padding-top: .7em; font: 800 16px/1 var(--cond); letter-spacing: .1em; color: var(--gold); }
.mode-body { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 32px; }
.mode-head { flex: 1 1 260px; display: flex; flex-direction: column; gap: 10px; }
.mode-title { font: 800 clamp(30px, 3.6vw, 46px)/1 var(--cond); letter-spacing: .02em; }
.mode-win { font: 800 15px/1 var(--cond); letter-spacing: .12em; color: var(--gold); }
.mode-line { flex: 1.3 1 300px; font: 500 16px/1.45 var(--body); color: rgba(243, 232, 204, .7); text-wrap: pretty; }

/* ---- Community night and the list: two panels (the list takes the row when the night is off). */
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 12px; padding-bottom: clamp(72px, 10vw, 128px); }
.night { display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 3vw, 40px); background: var(--panel) var(--hatch-panel); box-shadow: inset 0 0 0 1px rgba(176, 140, 255, .45), inset 0 3px 0 var(--violet); }
.night-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.night-tag { display: inline-flex; align-items: center; gap: 8px; height: 24px; padding: 0 9px; background: rgba(176, 140, 255, .14); font: 800 13px/1 var(--cond); letter-spacing: .12em; color: var(--violet); }
.count { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.count-cell { display: flex; flex-direction: column; gap: 8px; padding: 16px 14px 14px; background: rgba(9, 12, 18, .75); box-shadow: inset 0 0 0 1px rgba(176, 140, 255, .22); }
.count-num { font: 800 clamp(46px, 5.4vw, 80px)/.85 var(--cond); font-variant-numeric: tabular-nums; }
.count-num.s { color: var(--violet); }
.count-unit { font: 700 11px/1 var(--body); letter-spacing: .18em; color: rgba(243, 232, 204, .55); }
.night-now { display: flex; align-items: center; gap: 18px; padding: 20px 22px; background: rgba(110, 220, 120, .08); box-shadow: inset 0 0 0 1px rgba(110, 220, 120, .5); }
.night-now span { font: 800 clamp(56px, 7vw, 96px)/.85 var(--cond); letter-spacing: .02em; color: var(--green); }
.night-none { display: flex; flex-direction: column; gap: 10px; }
.night-none b { font: 800 clamp(40px, 5vw, 64px)/.9 var(--cond); letter-spacing: .01em; }
.night-none span { color: rgba(243, 232, 204, .7); }
.night-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; font: 600 16px/1.4 var(--body); }
.night-line a { font: 800 15px/1 var(--cond); letter-spacing: .1em; color: var(--violet); text-decoration: none; }
.night-line a:hover { color: var(--cream); }
.join-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 8px; }
.join-step { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; background: rgba(243, 232, 204, .04); }
.join-step i { font: 800 15px/1 var(--cond); font-style: normal; letter-spacing: .1em; color: var(--violet); }
.join-step span { font: 600 15px/1.4 var(--body); }
.join-step b { color: var(--gold); }
.btn-violet { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px; color: var(--violet); text-decoration: none; box-shadow: inset 0 0 0 1px rgba(176, 140, 255, .6); font: 800 17px/1 var(--cond); letter-spacing: .1em; }
.btn-violet:hover { background: rgba(176, 140, 255, .12); color: var(--violet); }
.btn-violet .ico { width: 18px; height: 18px; }

.list { display: flex; flex-wrap: wrap; align-items: center; gap: 22px clamp(24px, 4vw, 64px); padding: clamp(24px, 3vw, 40px); background: var(--panel) var(--hatch-panel); box-shadow: inset 0 0 0 1px rgba(242, 178, 51, .35), inset 0 3px 0 var(--gold); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%); }
.list-head { flex: 1 1 360px; display: flex; flex-direction: column; gap: 22px; }
.list-h2 { font: 800 clamp(44px, 5.4vw, 76px)/.88 var(--cond); letter-spacing: .01em; text-wrap: balance; }
.list-side { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.entry-wrap { display: flex; flex-direction: column; gap: 16px; }
.entry { display: flex; flex-wrap: wrap; gap: 8px; }
.email { flex: 1 1 240px; min-width: 0; height: 62px; box-sizing: border-box; padding: 0 18px; border: 0; border-radius: 0; background: var(--field); box-shadow: inset 0 0 0 1px rgba(243, 232, 204, .22); color: var(--cream); font: 500 19px/1 var(--body); outline: none; -webkit-appearance: none; appearance: none; }
.email.bad { box-shadow: inset 0 0 0 1px var(--red); }
.email:focus { box-shadow: inset 0 0 0 2px var(--gold); }
.email:disabled { opacity: .6; }
.go { flex: none; height: 62px; padding: 0 26px; border: 0; cursor: pointer; background: var(--gold); color: var(--on-gold); font: 800 22px/1 var(--cond); letter-spacing: .08em; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%); }
.go:hover { background: var(--gold-hi); }
.go:active { background: var(--gold-lo); }
.go:disabled { opacity: .6; cursor: default; }
.consent { position: relative; display: flex; align-items: flex-start; gap: 14px; cursor: pointer; }
.consent input { position: absolute; left: 0; top: 0; width: 24px; height: 24px; margin: 0; opacity: 0; cursor: pointer; }
.tick { width: 24px; height: 24px; flex: none; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1.5px rgba(243, 232, 204, .5); color: var(--on-gold); font: 800 18px/1 var(--cond); }
.consent.bad .tick { box-shadow: inset 0 0 0 1.5px var(--red); }
.consent input:checked + .tick { background: var(--gold); box-shadow: inset 0 0 0 1.5px var(--gold); }
.consent input:checked + .tick::after { content: '\2713 '; }
.consent input:focus-visible + .tick { outline: 2px solid var(--gold); outline-offset: 2px; }
.consent-text { font: 500 15px/1.45 var(--body); color: rgba(243, 232, 204, .72); text-wrap: pretty; }
.msg { font: 700 14px/1.3 var(--body); letter-spacing: .04em; color: rgba(243, 232, 204, .72); }
.msg.err { color: var(--red); }
.on-list { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 22px 24px; background: rgba(110, 220, 120, .08); box-shadow: inset 0 0 0 1px rgba(110, 220, 120, .55); }
.on-list-tick { font: 800 40px/1 var(--cond); color: var(--green); }
.on-list-words { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; }
.on-list-title { font: 800 26px/1 var(--cond); letter-spacing: .05em; color: var(--green); }
.on-list-line { font: 500 15px/1.4 var(--body); color: rgba(243, 232, 204, .72); }
.btn-small { height: 44px; padding: 0 16px; border: 0; cursor: pointer; background: transparent; box-shadow: inset 0 0 0 1px rgba(243, 232, 204, .3); color: var(--cream); font: 800 15px/1 var(--cond); letter-spacing: .1em; }
.btn-small:hover { color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }

/* ---- The creator reward's art (rewardFrom): the crest, an emote on its disc, a chroma, a weapon skin, or a render. */
.reward-art { display: flex; align-items: center; justify-content: center; flex: none; }
.crest { position: relative; flex: none; background: rgba(239, 228, 200, .92); clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%); }
.crest-field { position: absolute; overflow: hidden; background: #5B3A5E; clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%); }
.crest-chevron { position: absolute; inset: 0; background: #EFE4C8; clip-path: polygon(0 72%, 50% 30%, 100% 72%, 100% 92%, 50% 50%, 0 92%); }
.emote-disc { display: flex; align-items: center; justify-content: center; flex: none; border-radius: 50%; background: #2F3A4F; box-shadow: inset 0 0 0 3px var(--gold), 0 0 40px rgba(242, 178, 51, .25); }
.emote-disc img { object-fit: contain; }
.chroma { flex: none; background: linear-gradient(135deg, #2F7D8C 0 52%, #F2B233 52% 100%); -webkit-mask: url(/site/icons/class-warrior.webp) center / contain no-repeat; mask: url(/site/icons/class-warrior.webp) center / contain no-repeat; }
.finish { width: auto; flex: none; transform: rotate(32deg); filter: hue-rotate(155deg) saturate(1.25) drop-shadow(0 0 18px rgba(47, 125, 140, .6)); }
.render { align-self: stretch; flex: 1; background-position: center; background-size: contain; background-repeat: no-repeat; }

/* ---- The creator kit teaser (the landing). */
.teaser { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(24px, 4vw, 56px); padding: clamp(28px, 4vw, 52px); background: rgba(243, 232, 204, .035); box-shadow: inset 0 0 0 1px rgba(243, 232, 204, .12); }
.teaser .reward-art { width: 190px; height: 210px; background: radial-gradient(circle at 50% 45%, rgba(239, 228, 200, .16), transparent 65%); }
.teaser-words { flex: 1 1 380px; display: flex; flex-direction: column; gap: 16px; }
.teaser-h2 { font: 800 clamp(40px, 5vw, 72px)/.9 var(--cond); letter-spacing: .01em; text-wrap: balance; }
.teaser-line { max-width: 640px; color: rgba(243, 232, 204, .72); text-wrap: pretty; }
.btn-kit { align-self: flex-start; display: inline-flex; align-items: center; height: 56px; padding: 0 24px; background: var(--gold); color: var(--on-gold); text-decoration: none; font: 800 21px/1 var(--cond); letter-spacing: .08em; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%); }
.btn-kit:hover { background: var(--gold-hi); color: var(--on-gold); }

/* ---- Footer. */
.site-foot { box-shadow: inset 0 1px 0 rgba(243, 232, 204, .1); background: var(--ink-deep); }
.foot-in { display: flex; flex-direction: column; gap: 40px; padding-top: clamp(48px, 6vw, 72px); padding-bottom: 36px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 48px; }
.foot-brand { display: flex; flex-direction: column; gap: 14px; max-width: 380px; }
.foot-word { display: flex; gap: .2em; font: 800 clamp(44px, 5vw, 64px)/.85 var(--cond); letter-spacing: .02em; }
.foot-word span { color: var(--gold); }
.foot-note { font: 500 15px/1.5 var(--body); color: rgba(243, 232, 204, .6); }
.foot-cols { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.foot-col { display: flex; flex-direction: column; gap: 12px; }
.foot-label { font: 700 12px/1 var(--body); letter-spacing: .2em; color: rgba(243, 232, 204, .5); }
.foot-col a, .foot-tag { font: 800 19px/1 var(--cond); letter-spacing: .06em; color: var(--cream); text-decoration: none; }
.foot-col a:hover { color: var(--gold); }
.foot-tag { color: var(--gold); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 20px; box-shadow: inset 0 1px 0 rgba(243, 232, 204, .08); font: 600 12px/1.4 var(--body); letter-spacing: .1em; color: rgba(243, 232, 204, .45); }

/* ============================================================================================================
   The creator kit (/creators). */
.k-hero { display: flex; flex-direction: column; gap: clamp(36px, 5vw, 56px); padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(40px, 5vw, 64px); }
.k-top { display: flex; flex-wrap: wrap; align-items: center; gap: 40px clamp(32px, 5vw, 80px); }
.k-text { flex: 1 1 400px; display: flex; flex-direction: column; gap: 24px; }
.crumb { display: flex; align-items: center; gap: 10px; font: 800 15px/1 var(--cond); letter-spacing: .12em; }
.crumb a { color: rgba(243, 232, 204, .6); text-decoration: none; }
.crumb a:hover { color: var(--gold); }
.crumb .sep { color: rgba(243, 232, 204, .3); }
.crumb .here { color: var(--gold); }
.k-h1 { font: 800 clamp(48px, 6.4vw, 92px)/.9 var(--cond); letter-spacing: .005em; }
.k-h1 span { color: var(--gold); }
.k-lead { max-width: 560px; font: 500 clamp(17px, 1.5vw, 20px)/1.5 var(--body); color: rgba(243, 232, 204, .8); text-wrap: pretty; }
.reward-card { flex: 0 1 300px; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 24px 24px 26px; background: var(--panel) var(--hatch-panel); box-shadow: inset 0 0 0 1px rgba(239, 228, 200, .22); }
.reward-card .reward-art { width: 100%; height: 200px; background: radial-gradient(circle at 50% 50%, rgba(239, 228, 200, .16), transparent 62%); }
.reward-name { font: 800 28px/1 var(--cond); letter-spacing: .05em; text-align: center; }
.reward-label { font: 700 11px/1 var(--body); letter-spacing: .18em; color: rgba(243, 232, 204, .55); }
.k-how { display: flex; flex-direction: column; gap: 14px; }
.k-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.k-strip a { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; background: rgba(243, 232, 204, .04); box-shadow: inset 0 3px 0 rgba(243, 232, 204, .25); color: var(--cream); text-decoration: none; transition: background .15s; }
.k-strip a.first { box-shadow: inset 0 3px 0 var(--gold); }
.k-strip a:hover { background: rgba(242, 178, 51, .08); color: var(--cream); }
.k-strip i { font: 800 16px/1 var(--cond); font-style: normal; letter-spacing: .1em; color: var(--gold); }
.k-strip b { font: 800 28px/1 var(--cond); letter-spacing: .04em; }
.k-strip span { font: 500 15px/1.4 var(--body); color: rgba(243, 232, 204, .66); }

.k-step { display: flex; flex-wrap: wrap; gap: 32px clamp(32px, 5vw, 80px); padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); box-shadow: inset 0 1px 0 rgba(243, 232, 204, .1); }
.k-left { flex: 1 1 300px; max-width: 420px; display: flex; flex-direction: column; gap: 16px; }
.k-num { font: 800 clamp(88px, 10vw, 140px)/.78 var(--cond); color: var(--gold); }
.k-h2 { font: 800 clamp(40px, 4.6vw, 64px)/.9 var(--cond); letter-spacing: .01em; text-wrap: balance; }
.k-why { color: rgba(243, 232, 204, .7); text-wrap: pretty; }
.k-right { flex: 2 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.loc { align-self: flex-start; padding: 5px 8px; background: rgba(243, 232, 204, .08); font: 700 11px/1 var(--body); letter-spacing: .14em; color: rgba(243, 232, 204, .7); }
.label-muted { font: 700 12px/1 var(--body); letter-spacing: .2em; color: rgba(243, 232, 204, .55); }
.rules { display: flex; flex-direction: column; box-shadow: inset 0 1px 0 rgba(243, 232, 204, .1); }
.check-row { display: flex; gap: 16px; padding: 18px 0; box-shadow: inset 0 -1px 0 rgba(243, 232, 204, .1); }
.check-box { width: 22px; height: 22px; flex: none; margin-top: 1px; box-shadow: inset 0 0 0 1.5px var(--gold); }
.check-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.check-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.check-title { font: 800 24px/1 var(--cond); letter-spacing: .04em; }
.check-line { font: 500 16px/1.5 var(--body); color: rgba(243, 232, 204, .72); text-wrap: pretty; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.stack.wide { gap: 12px; }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 8px; }
.opt { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; background: rgba(243, 232, 204, .04); }
.opt-title { font: 800 21px/1 var(--cond); letter-spacing: .04em; }
.opt-line { font: 500 15px/1.5 var(--body); color: rgba(243, 232, 204, .7); text-wrap: pretty; }
.keyrow { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 24px; padding: 24px; background: rgba(243, 232, 204, .04); }
.keycap { width: 72px; height: 72px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--field); box-shadow: inset 0 0 0 1px rgba(243, 232, 204, .4), 0 5px 0 rgba(243, 232, 204, .18); font: 800 38px/1 var(--cond); }
.keyline { flex: 1 1 280px; font: 500 17px/1.5 var(--body); color: rgba(243, 232, 204, .82); text-wrap: pretty; }
.idea { padding: 8px 12px; box-shadow: inset 0 0 0 1px rgba(243, 232, 204, .2); font: 800 15px/1 var(--cond); letter-spacing: .08em; }
.frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--panel); }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.frame-dim { position: absolute; top: 0; bottom: 0; width: 34.1796875%; background: rgba(9, 12, 18, .72); }
.frame-dim.l { left: 0; }
.frame-dim.r { right: 0; }
.frame-safe { position: absolute; top: 0; bottom: 0; left: 50%; width: 31.640625%; transform: translateX(-50%); box-sizing: border-box; box-shadow: inset 0 0 0 2px var(--gold); display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 10px 6px 14%; }
.frame-tag { font: 700 10px/1 var(--body); letter-spacing: .16em; color: var(--gold); background: rgba(9, 12, 18, .85); padding: 4px 6px; }
.frame-word { font: 800 clamp(18px, 2.6vw, 34px)/1 var(--cond); letter-spacing: .04em; text-align: center; text-shadow: 0 2px 0 #0F1218, 0 0 18px rgba(0, 0, 0, .7); }
.frame-hud { position: absolute; left: 10px; top: 10px; max-width: calc(34% - 20px); font: 700 10px/1.3 var(--body); letter-spacing: .16em; color: rgba(243, 232, 204, .6); }
.beats { display: grid; grid-template-columns: 3fr 2fr 3fr; gap: 3px; }
.beat { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; background: rgba(243, 232, 204, .06); }
.beat b { font: 800 16px/1 var(--cond); letter-spacing: .1em; }
.beat span { font: 700 10px/1.2 var(--body); letter-spacing: .14em; color: rgba(243, 232, 204, .6); }
.beat.pay { background: var(--gold); color: var(--on-gold); }
.beat.pay span { color: inherit; }
.length { font: 700 12px/1 var(--body); letter-spacing: .18em; color: rgba(243, 232, 204, .55); }
.bullet { display: flex; gap: 14px; padding: 12px 0; box-shadow: inset 0 -1px 0 rgba(243, 232, 204, .1); }
.bullet i { font: 800 15px/1.6 var(--cond); font-style: normal; color: var(--gold); }
.bullet span { font: 500 16px/1.5 var(--body); color: rgba(243, 232, 204, .8); text-wrap: pretty; }
.pc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 10px; }
.pc { display: flex; flex-direction: column; gap: 16px; padding: 24px; background: rgba(243, 232, 204, .04); box-shadow: inset 0 3px 0 var(--gold); }
.pc-head { display: flex; align-items: center; gap: 12px; }
.pc-head .ico { width: 22px; height: 22px; color: var(--gold); }
.pc-title { font: 800 26px/1 var(--cond); letter-spacing: .05em; }
.pc-body { display: flex; flex-direction: column; gap: 12px; font: 500 15px/1.5 var(--body); color: rgba(243, 232, 204, .8); }
.pc-body span { text-wrap: pretty; }
.pc-steps { display: flex; flex-direction: column; gap: 10px; font: 500 15px/1.5 var(--body); color: rgba(243, 232, 204, .8); }
.pc-steps > span { display: flex; gap: 12px; }
.pc-steps i { font: 800 15px/1.5 var(--cond); font-style: normal; color: var(--gold); }
.verify { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 22px 24px; background: rgba(110, 220, 120, .06); box-shadow: inset 0 0 0 1px rgba(110, 220, 120, .4); }
.verify .ico { width: 26px; height: 26px; color: var(--green); }
.verify-words { flex: 1 1 320px; display: flex; flex-direction: column; gap: 6px; }
.verify-title { font: 800 22px/1 var(--cond); letter-spacing: .05em; color: var(--green); }
.verify-line { font: 500 15px/1.5 var(--body); color: rgba(243, 232, 204, .75); text-wrap: pretty; }
.k-print { display: flex; flex-direction: column; gap: 14px; padding-top: clamp(32px, 4vw, 48px); padding-bottom: clamp(32px, 4vw, 48px); box-shadow: inset 0 1px 0 rgba(243, 232, 204, .1); }
.k-print ul { margin: 0; padding: 0 0 0 18px; max-width: 860px; columns: 2 320px; column-gap: 48px; font: 500 14px/1.6 var(--body); color: rgba(243, 232, 204, .6); }
.k-print li { break-inside: avoid; margin-bottom: 6px; }
.k-night { display: flex; flex-direction: column; gap: 24px; padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); box-shadow: inset 0 1px 0 rgba(243, 232, 204, .1); }
.k-night-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 32px; }
.k-night-chip { margin-left: auto; display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px 0 14px; box-shadow: inset 0 0 0 1px rgba(176, 140, 255, .55); font: 800 16px/1 var(--cond); letter-spacing: .12em; }
.k-night-chip .v { color: var(--violet); }
.k-night-chip .w { font: 600 14px/1 var(--body); letter-spacing: .02em; color: rgba(243, 232, 204, .7); }
.k-night-text { max-width: 720px; color: rgba(243, 232, 204, .75); text-wrap: pretty; }
.caps { display: flex; gap: 4px; }
.caps span { width: 38px; height: 46px; display: flex; align-items: center; justify-content: center; background: var(--field); box-shadow: inset 0 0 0 1px rgba(243, 232, 204, .25); font: 800 26px/1 var(--cond); }
.caps span:last-child { box-shadow: inset 0 0 0 2px var(--gold); }
.k-files { display: flex; flex-direction: column; gap: 28px; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(72px, 10vw, 128px); box-shadow: inset 0 1px 0 rgba(243, 232, 204, .1); }
.k-files-h2 { font: 800 clamp(40px, 5vw, 68px)/.9 var(--cond); letter-spacing: .01em; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 10px; }
.tile { display: flex; flex-direction: column; gap: 12px; box-sizing: border-box; min-height: 194px; /* the design's 150 of content + 44 of padding */ padding: 22px 24px; border: 0; cursor: pointer; text-align: left; color: var(--cream); background: transparent; box-shadow: inset 0 0 0 1px rgba(243, 232, 204, .16); font: inherit; text-decoration: none; }
.tile:hover { box-shadow: inset 0 0 0 2px var(--gold); color: var(--cream); }
.tile-top { display: flex; align-items: center; justify-content: space-between; }
.tile-top .ico { width: 24px; height: 24px; color: var(--gold); }
.tile-act { font: 800 13px/1 var(--cond); letter-spacing: .12em; color: var(--gold); }
.tile-act.ok { color: var(--green); }
.tile-title { margin-top: auto; font: 800 26px/1 var(--cond); letter-spacing: .04em; }
.tile-line { font: 500 14px/1.4 var(--body); color: rgba(243, 232, 204, .6); }

/* The creator kit waits for its flag (page.js shows it, or sends you home); without scripts it shows. */
.gate main { visibility: hidden; }

/* Phones (beyond the design file, which overflows here): the hero's buttons keep their words on one line by scaling
   them to the screen (JOIN THE STEAM PLAYTESTS is 23 px at 390 wide, 17 px at 320), and the header, which wraps to
   two or three rows, scrolls away instead of covering a third of the screen. */
.hero .btn { max-width: 100%; font-size: clamp(16px, calc((100vw - 2 * var(--pad) - 88px) / 11.5), 23px); white-space: nowrap; }
@media (max-width: 640px) {
	.site-head { position: relative; }
	html { scroll-padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.dot { animation: none; }
	.mode, .tab, .k-strip a { transition: none; }
}
