/* =============================================================================
   site.css — the whole look: deep navy night sky, blue glow, glassy cards,
   rounded Fredoka headings, paws & hearts everywhere. 💙
   Structure: tokens → base → background fx → chrome (nav/footer) → shared
   pieces (buttons, cards, headers) → per-section styles → overlays → editor.
   ============================================================================= */

/* ----------------------------- design tokens ----------------------------- */
:root {
	--bg-0: #03071a;
	--bg-1: #050d28;
	--bg-2: #081538;

	--ink: #eaf3ff;
	--ink-dim: #b8cdf2;
	--ink-mute: #7e95c2;

	--blue: #3da5ff;
	--blue-2: #74c7ff;
	--blue-deep: #1668d6;
	--cyan: #5fe8e0;
	--pink: #ff6f9c;
	--danger: #ff5d7a;

	/* theme color channels (r,g,b triplets used inside rgba()) */
	--glow-rgb: 61, 165, 255;     /* glows, shadows, highlights */
	--chip-rgb: 50, 120, 235;     /* translucent icon/chip fills */
	--stroke-rgb: 116, 187, 255;  /* card borders */
	--accent-rgb: 95, 232, 224;   /* eyebrow / sparkle accent */
	--wash-rgb: 34, 92, 220;      /* big background washes */

	--glass: rgba(11, 24, 56, 0.62);
	--glass-2: rgba(15, 32, 72, 0.75);
	--stroke: rgba(var(--stroke-rgb), 0.16);
	--stroke-bright: rgba(var(--stroke-rgb), 0.45);

	--glow: 0 6px 28px rgba(var(--glow-rgb), 0.18), 0 0 0 1px var(--stroke);
	--glow-strong: 0 8px 36px rgba(var(--glow-rgb), 0.32), 0 0 0 1px var(--stroke-bright);

	--r-sm: 12px;
	--r: 18px;
	--r-lg: 26px;
	--r-pill: 999px;

	--font-head: "Fredoka", system-ui, sans-serif;
	--font-body: "Outfit", system-ui, sans-serif;

	--nav-h: 72px;
	--ease: cubic-bezier(0.33, 1, 0.42, 1);
}

/* ------------------------- color themes (her choice ✨) -------------------- */
body[data-theme="twilight"] {
	--blue-deep: #6d28d9; --blue: #8b5cf6; --blue-2: #b79bff; --cyan: #f0abfc;
	--glow-rgb: 139, 92, 246; --chip-rgb: 124, 70, 230; --stroke-rgb: 183, 155, 255;
	--accent-rgb: 240, 171, 252; --wash-rgb: 98, 50, 210;
}
body[data-theme="sakura"] {
	--blue-deep: #db2777; --blue: #f1659e; --blue-2: #f9a8d4; --cyan: #ffd9a0;
	--glow-rgb: 244, 114, 182; --chip-rgb: 219, 60, 140; --stroke-rgb: 249, 168, 212;
	--accent-rgb: 255, 217, 160; --wash-rgb: 200, 50, 130;
}
body[data-theme="mint"] {
	--blue-deep: #0d9488; --blue: #2dd4bf; --blue-2: #7dede0; --cyan: #d9f99d;
	--glow-rgb: 45, 212, 191; --chip-rgb: 22, 170, 150; --stroke-rgb: 125, 237, 224;
	--accent-rgb: 217, 249, 157; --wash-rgb: 16, 150, 135;
}
body[data-theme="sunset"] {
	--blue-deep: #ea580c; --blue: #fb923c; --blue-2: #fdba74; --cyan: #ffe08a;
	--glow-rgb: 251, 146, 60; --chip-rgb: 230, 110, 30; --stroke-rgb: 253, 186, 116;
	--accent-rgb: 255, 224, 138; --wash-rgb: 210, 95, 20;
}
body[data-theme="crimson"] {
	--blue-deep: #be123c; --blue: #f43f5e; --blue-2: #fda4af; --cyan: #ffd166;
	--glow-rgb: 244, 63, 94; --chip-rgb: 215, 45, 80; --stroke-rgb: 253, 164, 175;
	--accent-rgb: 255, 209, 102; --wash-rgb: 190, 30, 70;
}

/* --------------------------------- base ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
	margin: 0;
	background: var(--bg-0);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16.5px;
	line-height: 1.6;
	min-height: 100vh;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--blue-2); text-decoration: none; }
a:hover { color: var(--cyan); }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

h1, h2, h3, h4 {
	font-family: var(--font-head);
	font-weight: 600;
	line-height: 1.18;
	margin: 0 0 0.4em;
	letter-spacing: 0.2px;
}

p { margin: 0 0 0.9em; }
p:last-child { margin-bottom: 0; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.skip-link {
	position: absolute; left: -9999px; top: 8px; z-index: 300;
	background: var(--blue); color: #fff; padding: 10px 18px; border-radius: var(--r-pill);
}
.skip-link:focus { left: 8px; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(860px, 100% - 40px); }

/* per-section width override (set in section settings) */
.sec--w-narrow .container { width: min(860px, 100% - 40px); }
.sec--w-wide .container { width: min(1420px, 100% - 40px); }

.muted { color: var(--ink-mute); }

.icon { width: 1.18em; height: 1.18em; vertical-align: -0.22em; flex-shrink: 0; }

::selection { background: rgba(var(--glow-rgb), 0.4); }

/* ------------------------------ background fx ----------------------------- */
.fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }

.fx__wash {
	position: absolute; inset: 0;
	background:
		radial-gradient(1100px 700px at 85% -5%, rgba(var(--wash-rgb), 0.28), transparent 60%),
		radial-gradient(900px 650px at -10% 25%, rgba(var(--wash-rgb), 0.22), transparent 55%),
		radial-gradient(800px 600px at 50% 115%, rgba(var(--wash-rgb), 0.16), transparent 60%),
		linear-gradient(180deg, var(--bg-1), var(--bg-0) 55%, var(--bg-1));
}

.fx__streak {
	position: absolute; width: 56vw; height: 30vw; min-width: 480px; min-height: 260px;
	background:
		linear-gradient(102deg, transparent 18%, rgba(var(--wash-rgb), 0.34) 32%, rgba(var(--glow-rgb), 0.16) 46%, transparent 60%),
		linear-gradient(98deg, transparent 35%, rgba(var(--accent-rgb), 0.22) 48%, transparent 62%);
	filter: blur(2px);
	transform: rotate(-16deg);
	mask-image: radial-gradient(closest-side, #000 35%, transparent);
}
.fx__streak--tl { top: -10vw; left: -16vw; }
.fx__streak--tr { top: -7vw; right: -18vw; transform: rotate(14deg) scaleX(-1); }
.fx__streak--br { bottom: -12vw; right: -14vw; transform: rotate(-22deg); opacity: 0.7; }

.fx__floaters { position: absolute; inset: 0; }
.fx-float {
	position: absolute; bottom: -40px;
	width: var(--size, 16px); height: var(--size, 16px);
	color: rgba(var(--stroke-rgb), 0.5);
	animation: floatUp var(--dur, 26s) linear infinite;
	animation-delay: var(--delay, 0s);
}
.fx-float .icon { width: 100%; height: 100%; filter: drop-shadow(0 0 6px rgba(var(--glow-rgb), 0.8)); }
.fx-float__img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 6px rgba(var(--glow-rgb), 0.6)); opacity: 0.85; }
.fx-float__emoji { font-size: var(--size, 16px); line-height: 1; opacity: 0.9; }
.fx-float--heart { color: rgba(var(--glow-rgb), 0.55); }
.fx-float--spark { color: rgba(var(--accent-rgb), 0.6); }

@keyframes floatUp {
	0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
	8% { opacity: 0.9; }
	88% { opacity: 0.7; }
	100% { transform: translateY(-110vh) translateX(var(--drift, 0px)) rotate(28deg); opacity: 0; }
}

/* ------------------------------ announcement ------------------------------ */
/* announcement bar + nav stick together and stay in view as one unit */
.topbar { position: sticky; top: 0; z-index: 60; }
.annc-bar {
	background: linear-gradient(90deg, var(--blue-deep), var(--blue));
	box-shadow: 0 2px 18px rgba(var(--glow-rgb), 0.45);
}
.annc { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-weight: 600; color: #fff; }
.annc .icon { color: #cfeaff; flex-shrink: 0; }
.annc--link { cursor: pointer; transition: filter 0.2s; text-decoration: none; }
.annc--link:hover { filter: brightness(1.1); }
.annc__arrow { margin-left: auto; width: 18px; height: 18px; flex-shrink: 0; }

/* ---------------------------------- nav ----------------------------------- */
.nav {
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	background: rgba(4, 9, 26, 0.7);
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s, background 0.3s;
}
body.scrolled .nav { border-bottom-color: var(--stroke); background: rgba(4, 9, 26, 0.88); }

.nav__inner { display: flex; align-items: center; gap: 18px; height: var(--nav-h); }

.nav__brand {
	display: inline-flex; align-items: center; gap: 9px;
	font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; font-style: italic;
	background: linear-gradient(120deg, var(--blue-2), var(--cyan));
	-webkit-background-clip: text; background-clip: text; color: transparent;
	/* italic overhang breathing room so the last letter isn't clipped */
	padding-right: 0.18em;
}
.nav__paw { width: 1.5em; height: 1.5em; color: var(--blue); filter: drop-shadow(0 0 8px rgba(var(--glow-rgb), 0.7)); }

.nav__links {
	display: flex; gap: 4px; margin-left: auto;
	background: rgba(10, 22, 52, 0.75);
	border: 1px solid var(--stroke);
	border-radius: var(--r-pill); padding: 5px;
}
.nav__link {
	padding: 7px 18px; border-radius: var(--r-pill);
	color: var(--ink-dim); font-weight: 500; transition: all 0.25s;
}
.nav__link:hover { color: #fff; }
.nav__link.is-active {
	background: linear-gradient(120deg, var(--blue-deep), var(--blue));
	color: #fff; box-shadow: 0 0 16px rgba(var(--glow-rgb), 0.5);
}

.nav__actions { display: flex; align-items: center; gap: 10px; }

.nav__live {
	display: inline-flex; align-items: center; gap: 7px;
	padding: 7px 14px; border-radius: var(--r-pill);
	background: rgba(255, 60, 90, 0.14); border: 1px solid rgba(255, 90, 120, 0.5);
	color: #ff8fa6; font-weight: 700; font-size: 0.82rem; letter-spacing: 1px;
}

.live-dot {
	width: 9px; height: 9px; border-radius: 50%;
	background: #ff5d7a; box-shadow: 0 0 0 0 rgba(255, 93, 122, 0.7);
	animation: pulse 1.6s infinite;
}
.live-dot--off { background: var(--ink-mute); animation: none; box-shadow: none; }
@keyframes pulse {
	0% { box-shadow: 0 0 0 0 rgba(255, 93, 122, 0.6); }
	70% { box-shadow: 0 0 0 9px rgba(255, 93, 122, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 93, 122, 0); }
}

.nav__admin {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 8px 14px; border-radius: var(--r-pill);
	border: 1px dashed var(--stroke-bright); color: var(--cyan); font-weight: 600; font-size: 0.9rem;
}

.nav__burger {
	display: none; background: none; border: 1px solid var(--stroke);
	border-radius: 10px; color: var(--ink); padding: 7px 9px;
}

/* -------------------------------- buttons --------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	border: 0; border-radius: var(--r-pill);
	font-family: var(--font-head); font-weight: 600; font-size: 1rem;
	padding: 12px 26px; transition: transform 0.2s var(--ease), box-shadow 0.25s, background 0.25s;
	text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn--primary {
	background: linear-gradient(120deg, var(--blue-deep), var(--blue) 60%, var(--blue-2));
	color: #fff; box-shadow: 0 4px 22px rgba(var(--glow-rgb), 0.45);
}
.btn--primary:hover { box-shadow: 0 6px 30px rgba(var(--glow-rgb), 0.6); color: #fff; }

.btn--ghost {
	background: rgba(14, 30, 66, 0.5); color: var(--ink);
	box-shadow: inset 0 0 0 1.5px var(--stroke-bright);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--blue-2), 0 0 20px rgba(var(--glow-rgb), 0.25); color: #fff; }

.btn--soft {
	background: rgba(var(--chip-rgb), 0.22); color: var(--blue-2);
	box-shadow: inset 0 0 0 1px var(--stroke);
	font-size: 0.92rem; padding: 9px 18px;
}
.btn--soft:hover { background: rgba(var(--chip-rgb), 0.32); color: #fff; }

.btn--discord { background: #5865f2; color: #fff; box-shadow: 0 4px 22px rgba(88, 101, 242, 0.45); }
.btn--discord:hover { background: #6873ff; color: #fff; }

.btn--danger { background: rgba(255, 80, 110, 0.16); color: var(--danger); box-shadow: inset 0 0 0 1.5px rgba(255, 93, 122, 0.5); }
.btn--danger:hover { background: rgba(255, 80, 110, 0.28); color: #ff8fa6; }

.btn--lg { padding: 15px 32px; font-size: 1.08rem; }
.btn--sm { padding: 7px 16px; font-size: 0.88rem; }

/* ------------------------------ shared pieces ----------------------------- */
.glass {
	background: var(--glass);
	border: 1px solid var(--stroke);
	border-radius: var(--r-lg);
	box-shadow: var(--glow);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.glass-chip {
	display: inline-block;
	background: rgba(10, 24, 56, 0.7); border: 1px solid var(--stroke);
	border-radius: var(--r-pill); padding: 8px 18px;
	color: var(--ink-dim); font-size: 0.95rem;
}

.eyebrow {
	font-family: var(--font-head); font-weight: 600; font-size: 0.85rem;
	letter-spacing: 2.6px; text-transform: uppercase;
	color: var(--cyan); margin: 0 0 10px;
	text-shadow: 0 0 14px rgba(var(--accent-rgb), 0.4);
}
.sec-num { color: var(--blue-2); }
.sec-dash { margin: 0 8px; color: var(--ink-mute); }

.accent {
	background: linear-gradient(120deg, var(--blue-2), var(--cyan));
	-webkit-background-clip: text; background-clip: text; color: transparent;
	text-shadow: none;
}

.sec { padding: 56px 0; position: relative; }
.sec--hero { padding-top: 40px; }
.sec--statsBar, .sec--statCards { padding: 18px 0; }
.sec--divider { padding: 6px 0; }

.sec__head { max-width: 720px; margin-bottom: 30px; }
.sec__head--center { margin-inline: auto; text-align: center; }
.sec__title { font-size: clamp(1.7rem, 3.6vw, 2.5rem); color: #fff; }
.sec__intro { color: var(--ink-dim); max-width: 640px; }
.sec__cta { margin-top: 28px; text-align: center; }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 14px 0 0; }
.tags li {
	font-size: 0.78rem; font-weight: 600; letter-spacing: 0.4px;
	padding: 4px 12px; border-radius: var(--r-pill);
	background: rgba(var(--chip-rgb), 0.16); color: var(--blue-2);
	border: 1px solid var(--stroke);
}

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* live numbers */
.live-num { transition: opacity 0.4s; }
.live-num--loaded { animation: numIn 0.5s var(--ease); }
@keyframes numIn { from { opacity: 0; transform: translateY(6px); } }
[data-breakdown] { cursor: pointer; }
[data-breakdown]:hover { text-shadow: 0 0 18px rgba(var(--stroke-rgb), 0.8); }

/* social icon rows */
.pawlinks { list-style: none; display: flex; flex-wrap: wrap; gap: 11px; padding: 0; margin: 0; }
.pawlinks__btn {
	display: grid; place-items: center; width: 46px; height: 46px;
	border-radius: 50%; background: rgba(12, 26, 60, 0.8);
	border: 1px solid var(--stroke); color: var(--ink-dim);
	transition: all 0.25s var(--ease);
}
.pawlinks__btn .icon { width: 20px; height: 20px; }
.pawlinks__btn:hover {
	color: #fff; border-color: var(--blue-2);
	box-shadow: 0 0 18px rgba(var(--glow-rgb), 0.5); transform: translateY(-3px);
}
.pawlinks--sm .pawlinks__btn { width: 38px; height: 38px; }
.pawlinks--sm .pawlinks__btn .icon { width: 16px; height: 16px; }

/* broken/empty editable images */
.img-empty, .img-broken {
	background:
		radial-gradient(circle at 50% 42%, rgba(var(--glow-rgb), 0.25), transparent 60%),
		var(--glass-2);
	min-height: 72px; min-width: 72px;
}

/* ---------------------------------- hero ---------------------------------- */
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }

.hero__eyebrow {
	font-family: var(--font-head); font-weight: 600; letter-spacing: 3px;
	text-transform: uppercase; font-size: 0.85rem; color: var(--cyan);
	text-shadow: 0 0 16px rgba(var(--accent-rgb), 0.5); margin-bottom: 6px;
}

.hero__name {
	font-size: clamp(4rem, 9vw, 6.8rem);
	font-weight: 700; font-style: italic; letter-spacing: 1px;
	margin: 0 0 10px; line-height: 1;
	background: linear-gradient(175deg, #eaf6ff 8%, var(--blue-2) 38%, var(--blue) 64%, var(--blue-deep));
	-webkit-background-clip: text; background-clip: text; color: transparent;
	filter: drop-shadow(0 5px 0 rgba(8, 32, 90, 0.85)) drop-shadow(0 10px 26px rgba(var(--glow-rgb), 0.4));
}

.hero__headline { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.32; color: #fff; max-width: 520px; }

.hero__note { margin: 14px 0 22px; }

.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

.hero__side { display: grid; gap: 22px; justify-items: center; }

.hero__avatar { position: relative; width: min(380px, 78vw); aspect-ratio: 1; }
.hero__ring {
	position: absolute; inset: 0; border-radius: 50%;
	background:
		radial-gradient(closest-side, transparent 80%, rgba(var(--glow-rgb), 0.45) 92%, transparent),
		conic-gradient(from 130deg, rgba(var(--glow-rgb), 0.0), rgba(var(--accent-rgb), 0.5), rgba(var(--glow-rgb), 0.0) 40%);
	animation: ringSpin 14s linear infinite;
}
@keyframes ringSpin { to { transform: rotate(360deg); } }

/* round portrait frame: clips the image so reposition/zoom stays inside */
.avatar-frame {
	position: relative; width: 100%; height: 100%;
	border-radius: 50%; overflow: hidden;
	border: 3px solid rgba(var(--stroke-rgb), 0.5);
	box-shadow: 0 0 46px rgba(var(--glow-rgb), 0.45);
	background: var(--bg-2);
	display: grid; place-items: center;
}
.avatar-frame img { width: 100%; height: 100%; object-fit: cover; }
.avatar-frame--hero {
	position: absolute; inset: 12px; width: auto; height: auto;
	box-shadow: 0 0 60px rgba(var(--glow-rgb), 0.5);
}

.hero__about { padding: 24px 26px; width: 100%; max-width: 420px; }
.hero__about-title { font-size: 1.35rem; color: #fff; margin-bottom: 8px; }
.hero__about-text { color: var(--ink-dim); font-size: 0.97rem; margin-bottom: 16px; }

.hero__pawlinks { margin-top: 4px; }

/* -------------------------------- stats bar -------------------------------- */
.stats-bar {
	list-style: none; margin: 0; padding: 10px;
	display: grid; grid-template-columns: repeat(4, 1fr);
}
.stats-bar__item {
	display: grid; grid-template-columns: auto 1fr; column-gap: 14px;
	align-items: center; align-content: center;
	padding: 16px 22px; position: relative;
}
.stats-bar__item + .stats-bar__item::before {
	content: ""; position: absolute; left: 0; top: 22%; bottom: 22%;
	width: 1px; background: var(--stroke);
}
.stats-bar__icon {
	display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
	background: rgba(var(--chip-rgb), 0.16); color: var(--blue-2); grid-row: 1 / 3;
}
.stats-bar__icon .icon { width: 24px; height: 24px; filter: drop-shadow(0 0 8px rgba(var(--glow-rgb), 0.8)); }
.stats-bar__value { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; line-height: 1.2; color: #fff; }
.stats-bar__label { color: var(--ink-mute); font-size: 0.85rem; }

/* -------------------------------- costream --------------------------------- */
.costream { padding: 26px 30px; }
.costream__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.costream__head .eyebrow { margin: 0; }
.costream__title { font-size: 1.5rem; margin: 0; color: #fff; flex-basis: 100%; }
.costream__state { font-size: 0.85rem; color: var(--ink-mute); font-style: italic; }
.costream__intro { color: var(--ink-dim); margin-top: 8px; }
.costream__row { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; padding: 0; margin: 18px 0 0; }
.costream__card {
	display: flex; align-items: center; gap: 14px; position: relative;
	background: rgba(16, 36, 80, 0.6); border: 1px solid var(--stroke);
	border-radius: var(--r); padding: 12px 18px; min-width: 240px;
	transition: border-color 0.25s, box-shadow 0.25s;
}
.costream__card:hover { border-color: var(--stroke-bright); box-shadow: var(--glow-strong); }
.costream__avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--stroke-bright); }
.costream__name { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: #fff; display: block; }
.costream__name::after { content: ""; position: absolute; inset: 0; }
.costream__note { color: var(--ink-mute); font-size: 0.88rem; }
.costream__ext { color: var(--ink-mute); margin-left: auto; }
span.avatar-initial {
	display: grid; place-items: center; font-family: var(--font-head); font-weight: 700;
	background: linear-gradient(140deg, var(--blue-deep), var(--blue)); color: #fff;
}

/* ------------------------------ where to watch ----------------------------- */
.watch { display: grid; grid-template-columns: 1.1fr 1fr; gap: 22px; align-items: start; }
.watch__col { display: grid; gap: 22px; }
/* editable embeds grid: large cards span both columns, small cards pair up */
.watch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; grid-auto-flow: dense; align-items: start; }
.watch-grid > .watch__card--large { grid-column: span 2; }
.watch-grid > .watch__card { margin: 0; }
.watch__card { padding: 22px; }
.watch__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.watch__head h3 { margin: 0; font-size: 1.2rem; color: #fff; }
.watch__head .btn { margin-left: auto; }
.watch__brand {
	display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px;
	background: rgba(var(--chip-rgb), 0.16); color: var(--blue-2);
}
.watch__brand--tiktok { color: #7ce7e1; }
.watch__brand--twitch { color: #b18aff; }
.watch__brand--youtube { color: #ff7d7d; }
.watch__chip {
	font-size: 0.8rem; font-weight: 600; color: var(--ink-dim);
	background: rgba(10, 24, 56, 0.8); border: 1px solid var(--stroke);
	padding: 4px 12px; border-radius: var(--r-pill);
}
.watch__tiktoks { display: grid; grid-template-columns: repeat(var(--tt-cols, 3), 1fr); gap: 12px; }
.watch__tiktok { width: 100%; aspect-ratio: 9 / 16.5; border: 0; border-radius: var(--r-sm); background: var(--bg-2); }
.watch__player iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-sm); background: var(--bg-2); }
.watch__yt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.watch__yt-note { font-size: 0.92rem; }
.watch__brand--kick { color: #74f558; }
.watch__live {
	font-size: 0.78rem; font-weight: 700; letter-spacing: 0.5px; color: #74f558;
	background: rgba(116, 245, 88, 0.12); border: 1px solid rgba(116, 245, 88, 0.4);
	padding: 3px 10px; border-radius: var(--r-pill); animation: livePulse 2s infinite;
}
@keyframes livePulse { 50% { box-shadow: 0 0 12px rgba(116, 245, 88, 0.5); } }
.watch__brand--instagram { color: #ff9ecb; }
.watch__insta { display: flex; align-items: center; gap: 18px; padding: 10px 4px; }
.watch__insta-icon {
	display: grid; place-items: center; width: 62px; height: 62px; border-radius: 20px;
	background: rgba(var(--chip-rgb), 0.16); color: var(--blue-2); flex-shrink: 0;
}
.watch__insta-icon .icon { width: 30px; height: 30px; }
.watch__insta-line { color: var(--ink-dim); margin-bottom: 4px; }
.watch__insta-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
/* per-platform brand colors for the compact embed icon tiles */
.watch__insta-icon--tiktok { color: #fff; }
.watch__insta-icon--twitch { color: #a970ff; }
.watch__insta-icon--youtube { color: #ff4d4d; }
.watch__insta-icon--instagram { color: #ff9ecb; }
.watch__insta-icon--twitter { color: #fff; }
.watch__insta-icon--kick { color: #74f558; background: rgba(116, 245, 88, 0.1); }
.watch__brand--twitter { color: #fff; }
.watch__x-embed { margin-top: 4px; min-height: 120px; border-radius: var(--r-sm); overflow: hidden; }
.watch__x-embed iframe { border-radius: var(--r-sm); }
.watch__insta-feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.insta-post {
	position: relative; display: block; aspect-ratio: 1; overflow: hidden;
	border-radius: var(--r-sm); border: 1px solid var(--stroke); background: var(--bg-2);
}
.insta-post img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s var(--ease); }
.insta-post:hover img { transform: scale(1.07); }
.insta-post:hover { border-color: var(--stroke-bright); box-shadow: var(--glow); }
.insta-post__play {
	position: absolute; inset: 0; display: grid; place-items: center;
	color: #fff; background: rgba(3, 7, 26, 0.25); pointer-events: none;
}
.insta-post__play .icon { width: 26px; height: 26px; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6)); }

/* lazy youtube */
.yt {
	position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-sm);
	overflow: hidden; cursor: pointer; background: var(--bg-2);
	display: grid; place-items: center;
}
.yt img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform 0.4s var(--ease), opacity 0.3s; opacity: 0.85; }
.yt:hover img { transform: scale(1.05); opacity: 1; }
.yt__play {
	position: relative; z-index: 1; display: grid; place-items: center;
	width: 62px; height: 62px; border-radius: 50%;
	background: rgba(8, 18, 44, 0.85); border: 2px solid var(--stroke-bright);
	color: var(--blue-2); transition: all 0.25s;
}
.yt__play .icon { width: 30px; height: 30px; }
.yt:hover .yt__play { box-shadow: 0 0 26px rgba(var(--glow-rgb), 0.7); color: #fff; transform: scale(1.08); }
.yt--playing iframe, .yt iframe { width: 100%; height: 100%; border: 0; position: absolute; inset: 0; }
.yt--playing { aspect-ratio: 16 / 9; border-radius: var(--r-sm); overflow: hidden; position: relative; }
.yt--empty { color: var(--ink-mute); gap: 8px; cursor: default; }

/* ------------------------------- discord cta ------------------------------- */
.discord-cta { display: grid; grid-template-columns: 280px 1fr; gap: 30px; align-items: center; padding: 30px 36px; overflow: hidden; }
.discord-cta--rev { grid-template-columns: 1fr 280px; }
.discord-cta--rev .discord-cta__art { order: 2; }
.discord-cta__row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.discord-cta__count { color: var(--ink-dim); font-weight: 600; font-size: 0.95rem; }
.discord-cta__count i { color: #6ef0b0; font-style: normal; font-size: 0.7rem; }
.discord-cta__img { width: 100%; max-width: 260px; filter: drop-shadow(0 10px 30px rgba(var(--glow-rgb), 0.45)); }
.discord-cta__title { font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff; }
.discord-cta__text { color: var(--ink-dim); max-width: 540px; margin-bottom: 20px; }

/* ---------------------------------- posts ---------------------------------- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.post { overflow: hidden; transition: transform 0.3s var(--ease), box-shadow 0.3s; display: flex; flex-direction: column; color: inherit; position: relative; }
.post:hover { transform: translateY(-5px); box-shadow: var(--glow-strong); color: inherit; }
.post__imgwrap { aspect-ratio: 16 / 10; overflow: hidden; }
.post__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.post:hover .post__img { transform: scale(1.06); }
.post__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.post__title { font-size: 1.06rem; color: #fff; margin: 0; }
.post__text { color: var(--ink-dim); font-size: 0.92rem; flex: 1; }
.post__date { color: var(--ink-mute); font-size: 0.82rem; margin-top: 8px; }

/* -------------------------------- page hero -------------------------------- */
.page-hero { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 30px; align-items: center; padding-top: 16px; }
.page-hero--rev { grid-template-columns: 0.8fr 1.2fr; }
.page-hero--rev .page-hero__side { order: -1; }
.page-hero--center { grid-template-columns: 1fr; text-align: center; }
.page-hero--center .page-hero__tagline, .page-hero--center .page-hero__note { margin-inline: auto; }
.page-hero__title {
	font-size: clamp(3rem, 7vw, 5rem); font-weight: 700; font-style: italic;
	background: linear-gradient(175deg, #eaf6ff 10%, var(--blue-2) 45%, var(--blue) 80%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
	filter: drop-shadow(0 4px 0 rgba(8, 32, 90, 0.85)) drop-shadow(0 8px 22px rgba(var(--glow-rgb), 0.4));
	margin-bottom: 14px;
}
.page-hero__tagline { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: #fff; max-width: 560px; }
.page-hero__note { color: var(--ink-dim); max-width: 520px; }
.page-hero__side { position: relative; width: min(300px, 64vw); aspect-ratio: 1; justify-self: center; }
.hero__ring--sm { inset: -6px; }

/* -------------------------------- stat cards ------------------------------- */
.stat-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card { padding: 20px; text-align: center; display: grid; gap: 2px; justify-items: center; }
.stat-card__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(var(--chip-rgb), 0.16); color: var(--blue-2); margin-bottom: 8px; }
.stat-card__icon .icon { width: 24px; height: 24px; filter: drop-shadow(0 0 8px rgba(var(--glow-rgb), 0.8)); }
.stat-card__value { font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; color: #fff; }
.stat-card__label { font-weight: 600; color: var(--ink-dim); }
.stat-card__note { color: var(--ink-mute); font-size: 0.84rem; }

/* ---------------------------------- events --------------------------------- */
.events { display: grid; gap: 16px; max-width: 880px; }
.event { display: grid; grid-template-columns: 92px 1fr auto; gap: 20px; padding: 20px 24px; align-items: center; transition: border-color 0.25s, box-shadow 0.25s; }
.event:hover { border-color: var(--stroke-bright); box-shadow: var(--glow-strong); }
.event--past { opacity: 0.55; }
.event__date {
	display: grid; justify-items: center; align-content: center; gap: 0;
	background: rgba(14, 32, 74, 0.8); border: 1px solid var(--stroke);
	border-radius: var(--r); padding: 12px 8px; align-self: start;
}
.event__month { color: var(--cyan); font-weight: 700; font-size: 0.8rem; letter-spacing: 2px; font-family: var(--font-head); }
.event__day { font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: #fff; line-height: 1.05; }
.event__dow { color: var(--ink-mute); font-size: 0.75rem; letter-spacing: 2px; }
.event__title { font-size: 1.2rem; color: #fff; margin-bottom: 4px; }
.event__text { color: var(--ink-dim); font-size: 0.95rem; }
.event__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 12px; }
.event__time { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-mute); font-size: 0.9rem; }
.event__co { display: inline-flex; align-items: center; gap: 7px; color: var(--blue-2); font-size: 0.9rem; }
.event__past-tag { color: var(--ink-mute); font-size: 0.85rem; font-style: italic; }
.event__art { width: 130px; }
.event__img { width: 130px; height: 96px; object-fit: cover; border-radius: var(--r-sm); }

/* ------------------------------- get involved ------------------------------ */
.involve { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.involve__card {
	display: flex; align-items: center; gap: 18px; padding: 20px 24px;
	color: inherit; transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.involve__card:hover { transform: translateY(-3px); border-color: var(--stroke-bright); box-shadow: var(--glow-strong); color: inherit; }
.involve__icon {
	display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px;
	background: rgba(var(--chip-rgb), 0.16); color: var(--blue-2); flex-shrink: 0;
}
.involve__icon .icon { width: 27px; height: 27px; filter: drop-shadow(0 0 8px rgba(var(--glow-rgb), 0.8)); }
.involve__body { display: grid; gap: 2px; }
.involve__title { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: #fff; }
.involve__text { color: var(--ink-dim); font-size: 0.92rem; }
.involve__chev { margin-left: auto; color: var(--ink-mute); transition: transform 0.25s, color 0.25s; }
.involve__card:hover .involve__chev { transform: translateX(4px); color: var(--cyan); }

/* --------------------------------- gallery --------------------------------- */
.gallery { display: grid; gap: 16px; --tile: 240px; }
/* min(…, 100%) keeps custom tile sizes from ever overflowing small screens */
.gallery--cards { grid-template-columns: repeat(auto-fill, minmax(min(var(--tile), 100%), 1fr)); }
.gallery--tiles { grid-template-columns: repeat(auto-fill, minmax(min(calc(var(--tile) + 10px), 100%), 1fr)); }
.gallery--minis { grid-template-columns: repeat(auto-fill, minmax(min(calc(var(--tile) * 0.55), 100%), 1fr)); }
.gallery--s { --tile: 180px; }
.gallery--l { --tile: 330px; }

.gallery__item { overflow: hidden; cursor: zoom-in; margin: 0; position: relative; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.gallery__item:hover { transform: translateY(-4px); box-shadow: var(--glow-strong); }
.gallery__imgwrap { overflow: hidden; }
.gallery__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.gallery__item:hover .gallery__img { transform: scale(1.05); }

.gallery--cards .gallery__imgwrap { aspect-ratio: 1; }
.gallery--cards .gallery__cap { padding: 12px 16px 14px; display: grid; gap: 0; }
.gallery--cards .gallery__name { font-family: var(--font-head); font-weight: 600; color: #fff; }
.gallery--cards .gallery__credit { color: var(--blue-2); font-size: 0.85rem; }

.gallery--tiles .gallery__imgwrap { aspect-ratio: 16 / 10; }
.gallery--tiles .gallery__cap {
	position: absolute; inset: auto 0 0; padding: 26px 14px 10px;
	background: linear-gradient(transparent, rgba(3, 8, 24, 0.92));
	font-size: 0.9rem;
}
.gallery--tiles .gallery__name { color: #fff; font-weight: 600; }

.gallery--minis .gallery__imgwrap { aspect-ratio: 1; }
.gallery--minis .gallery__cap { padding: 8px 10px; text-align: center; }
.gallery--minis .gallery__name { font-size: 0.82rem; color: var(--ink-dim); }
.gallery--minis .gallery__credit { display: none; }

.gallery__link { position: absolute; top: 10px; right: 10px; background: rgba(8, 18, 44, 0.85); border-radius: 50%; padding: 7px; display: grid; color: var(--blue-2); }

/* --------------------------------- feature --------------------------------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 30px; align-items: center; }
.feature--reverse .feature__media { order: 2; }
.feature__media .yt, .feature__imgwrap { border-radius: var(--r); overflow: hidden; }
.feature__img { width: 100%; border-radius: var(--r); }
.feature__body .sec__head { margin-bottom: 14px; }
.feature__text { color: var(--ink-dim); }
.feature__body .btn { margin-top: 18px; }

/* --------------------------------- sponsors -------------------------------- */
.sponsors { display: grid; gap: 20px; }
.sponsor { display: grid; grid-template-columns: 300px 1fr; gap: 30px; padding: 28px; align-items: center; }
.sponsor--coupon { grid-template-columns: 260px 1fr 300px; }
.sponsor__coupon { align-self: stretch; display: grid; }
.sponsor__coupon .coupon { width: 100%; }
.sponsor__imgwrap { display: grid; place-items: center; }
.sponsor__img { max-height: 280px; object-fit: contain; filter: drop-shadow(0 14px 30px rgba(var(--glow-rgb), 0.5)); transition: transform 0.3s var(--ease); }
.sponsor:hover .sponsor__img { transform: translateY(-5px) scale(1.02); }
.sponsor__title { font-size: 1.5rem; color: #fff; }
.sponsor__text { color: var(--ink-dim); max-width: 520px; margin-bottom: 18px; }

/* -------------------------------- spotlight -------------------------------- */
.spotlight { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.spot {
	display: grid; justify-items: center; gap: 4px; padding: 22px 14px 18px;
	color: inherit; text-align: center; position: relative;
	transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.spot:hover { transform: translateY(-5px); border-color: var(--stroke-bright); box-shadow: var(--glow-strong); color: inherit; }
.spot__avatar { width: 86px; height: 86px; border-radius: 50%; object-fit: cover; border: 2.5px solid var(--stroke-bright); margin-bottom: 8px; font-size: 2rem; }
.spot__name { font-family: var(--font-head); font-weight: 600; color: #fff; }
.spot__role { color: var(--ink-mute); font-size: 0.85rem; }
.spot__meet { color: var(--cyan); font-size: 0.84rem; font-weight: 600; opacity: 0; transition: opacity 0.25s; display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; }
.spot:hover .spot__meet { opacity: 1; }

/* ------------------------------ special thanks ----------------------------- */
.thanks { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.thanks__card { display: flex; gap: 16px; padding: 20px 22px; color: inherit; position: relative; transition: transform 0.25s var(--ease), box-shadow 0.25s; }
a.thanks__card:hover { transform: translateY(-4px); box-shadow: var(--glow-strong); color: inherit; }
.thanks__avatar { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 2px solid var(--stroke-bright); flex-shrink: 0; font-size: 1.4rem; }
.thanks__name { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: #fff; display: flex; align-items: center; gap: 8px; }
.thanks__ext { color: var(--ink-mute); width: 0.9em; height: 0.9em; }
.thanks__text { color: var(--ink-dim); font-size: 0.93rem; }

/* ---------------------------------- banner --------------------------------- */
.pack-banner { display: flex; align-items: center; gap: 22px; padding: 26px 34px; position: relative; overflow: hidden; }
.pack-banner--rev .pack-banner__art { order: -2; }
.pack-banner--rev .pack-banner__icon { order: -1; }
.pack-banner__icon {
	display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
	background: rgba(var(--chip-rgb), 0.18); color: var(--blue-2); flex-shrink: 0;
}
.pack-banner__icon .icon { width: 32px; height: 32px; filter: drop-shadow(0 0 10px rgba(var(--glow-rgb), 0.8)); }
.pack-banner__icon .glyph__img { width: 38px; height: 38px; }
.pack-banner__icon .glyph__emoji { font-size: 34px; }
.pack-banner__title { font-size: 1.5rem; color: #fff; margin: 0; }
.pack-banner__text { color: var(--ink-dim); }
.pack-banner__body { flex: 1; min-width: 0; }
/* right-side art: vertically centered, contained, soft round frame */
.pack-banner__art {
	width: 92px; height: 92px; margin-left: auto; flex-shrink: 0; align-self: center;
	box-shadow: 0 6px 20px rgba(var(--glow-rgb), 0.4);
}
.avatar-frame--soft { border-radius: var(--r-lg); border-width: 2px; }

/* --------------------------------- projects -------------------------------- */
.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(var(--pcard, 310px), 100%), 1fr)); gap: 20px; }
.projects--2 { grid-template-columns: repeat(2, 1fr); }
.projects--3 { grid-template-columns: repeat(3, 1fr); }
.projects--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) {
	.projects--3, .projects--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
	.projects--2, .projects--3, .projects--4 { grid-template-columns: 1fr; }
}
.project { overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.project:hover { transform: translateY(-5px); box-shadow: var(--glow-strong); }
.project__imgwrap { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); }
.project__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.project:hover .project__img { transform: scale(1.05); }
.project__soon { height: 100%; display: grid; place-items: center; align-content: center; gap: 8px; color: var(--ink-mute); }
.project__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.project__context { color: var(--cyan); font-size: 0.8rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 6px; }
.project__role { color: var(--ink-mute); letter-spacing: 0.4px; text-transform: none; font-weight: 500; }
.project__role::before { content: " · "; }
.project__title { font-size: 1.2rem; color: #fff; margin-bottom: 6px; }
.project__text { color: var(--ink-dim); font-size: 0.93rem; flex: 1; }
.project__link { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-weight: 600; }

/* -------------------------------- case study ------------------------------- */
.case { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 30px; align-items: center; }
.case__media { display: grid; gap: 14px; }
.case__media--multi { grid-template-columns: 1fr 1fr; }
.case__imgwrap { margin: 0; border-radius: var(--r); overflow: hidden; cursor: zoom-in; background: var(--bg-2); }
.case__imgwrap--empty { aspect-ratio: 16/10; display: grid; place-items: center; color: var(--ink-mute); cursor: default; }
.case__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s var(--ease); }
.case__imgwrap:hover .case__img { transform: scale(1.04); }
.case__title { font-size: 1.6rem; color: #fff; }
.case__roles { color: var(--ink-mute); font-size: 0.92rem; display: flex; gap: 8px; flex-wrap: wrap; }
.case__text { color: var(--ink-dim); margin-top: 10px; }
.case__body .btn { margin-top: 18px; }

/* ---------------------------------- videos --------------------------------- */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); gap: 20px; }
.videos--2 { grid-template-columns: repeat(auto-fill, minmax(min(400px, 100%), 1fr)); }
.video-card { overflow: hidden; }
.video-card .yt { border-radius: 0; }
.video-card__body { padding: 16px 18px; }
.video-card__title { font-size: 1.08rem; color: #fff; margin-bottom: 4px; }
.video-card__text { color: var(--ink-dim); font-size: 0.92rem; }

/* -------------------------------- emote wall ------------------------------- */
.emote-commissions { display: grid; gap: 16px; margin-bottom: 22px; }
.emote-strip { display: grid; gap: 14px; margin: 0; padding: 20px 24px; }
.emote-strip__img { border-radius: var(--r-sm); width: 100%; }
.emote-strip__name { font-family: var(--font-head); font-weight: 600; color: #fff; display: block; margin-bottom: 4px; }
.emote-strip__note { color: var(--ink-dim); font-size: 0.92rem; }
.emote-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--cell, 66px), 1fr)); gap: 10px; padding: 22px; }
.emote-wall--s { --cell: 48px; gap: 8px; }
.emote-wall--l { --cell: 96px; gap: 14px; }
.emote { display: grid; place-items: center; aspect-ratio: 1; border-radius: 14px; background: rgba(14, 30, 66, 0.6); padding: 8px; transition: transform 0.2s var(--ease), background 0.2s; position: relative; }
.emote:hover { transform: scale(1.16); background: rgba(40, 90, 190, 0.4); z-index: 1; }
.emote img { width: 100%; height: 100%; object-fit: contain; }

/* -------------------------------- text block ------------------------------- */
.text-block { color: var(--ink-dim); font-size: 1.05rem; }

/* ------------------------------ weekly schedule ----------------------------- */
.sched { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.sched__day { padding: 18px 20px; display: grid; gap: 4px; align-content: start; }
.sched__day--off { opacity: 0.55; }
.sched__dow { font-family: var(--font-head); font-weight: 700; color: var(--cyan); letter-spacing: 1.5px; text-transform: uppercase; font-size: 0.85rem; }
.sched__time { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 600; }
.sched__what { color: var(--ink-dim); }
.sched__note { color: var(--ink-mute); font-size: 0.85rem; }
.sched__off { color: var(--ink-mute); font-style: italic; }
.sched__footnote { color: var(--ink-mute); font-size: 0.88rem; margin-top: 16px; }

/* --------------------------------- countdown -------------------------------- */
.count { padding: 36px; text-align: center; display: grid; gap: 18px; justify-items: center; }
.count__title { font-size: clamp(1.5rem, 3vw, 2.1rem); color: #fff; margin: 0; }
.count__tiles { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.count__tile {
	display: grid; gap: 0; min-width: 86px; padding: 14px 10px;
	background: rgba(var(--chip-rgb), 0.14); border: 1px solid var(--stroke);
	border-radius: var(--r);
}
.count__tile strong {
	font-family: var(--font-head); font-weight: 700; font-size: 2.2rem; line-height: 1.1;
	color: #fff; text-shadow: 0 0 22px rgba(var(--glow-rgb), 0.7); font-variant-numeric: tabular-nums;
}
.count__tile small { color: var(--ink-mute); letter-spacing: 2px; text-transform: uppercase; font-size: 0.72rem; }
.count__done { font-family: var(--font-head); font-size: 1.5rem; color: var(--cyan); margin: 0; }

/* --------------------------------- link list -------------------------------- */
.linklist { display: grid; gap: 14px; }
.linklist__btn {
	display: flex; align-items: center; gap: 16px; padding: 16px 22px;
	color: inherit; transition: transform 0.22s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.linklist__btn:hover { transform: translateY(-3px) scale(1.01); border-color: var(--stroke-bright); box-shadow: var(--glow-strong); color: inherit; }
.linklist__icon {
	display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px;
	background: rgba(var(--chip-rgb), 0.16); color: var(--blue-2); flex-shrink: 0;
}
.linklist__icon .icon { width: 24px; height: 24px; }
.linklist__label { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: #fff; display: block; }
.linklist__note { color: var(--ink-mute); font-size: 0.88rem; }
.linklist__arrow { margin-left: auto; color: var(--ink-mute); transition: transform 0.25s, color 0.25s; }
.linklist__btn:hover .linklist__arrow { transform: translateX(5px); color: var(--cyan); }

/* ---------------------------------- divider --------------------------------- */
.divider { text-align: center; padding: 8px 0; }
.divider--space { height: 44px; }
.divider__paws { display: inline-flex; gap: 18px; color: rgba(var(--stroke-rgb), 0.5); }
.divider__paws .icon { width: 22px; height: 22px; filter: drop-shadow(0 0 8px rgba(var(--glow-rgb), 0.6)); }
.divider__paws .icon:nth-child(2) { transform: translateY(-6px) rotate(14deg); }
.divider__paws .icon:nth-child(3) { transform: rotate(-12deg); }
.divider__line {
	display: block; height: 2px; max-width: 420px; margin: 0 auto; border-radius: 2px;
	background: linear-gradient(90deg, transparent, rgba(var(--glow-rgb), 0.7), transparent);
}

/* ----------------------------------- faq ----------------------------------- */
.faq { display: grid; gap: 12px; }
.faq__item { padding: 4px 22px; }
.faq__q {
	font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: #fff;
	padding: 14px 0; cursor: pointer; list-style: none;
	display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__chev { color: var(--ink-mute); transition: transform 0.3s var(--ease); }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__a { color: var(--ink-dim); padding-bottom: 16px; }

/* -------------------------------- about intro ------------------------------ */
.about-intro { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.about-intro__side { position: relative; width: min(300px, 70vw); aspect-ratio: 1; }
.about-intro__text { color: var(--ink-dim); font-size: 1.05rem; }
.facts { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; padding: 0; margin: 24px 0 0; }
.fact { padding: 12px 16px; display: grid; position: relative; }
.fact__label { color: var(--cyan); font-size: 0.78rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.fact__value { color: #fff; font-weight: 600; }

/* ------------------------------- creator page ------------------------------ */
.sec--creator { padding-top: 36px; }
.creator { max-width: 780px; margin-inline: auto; }
.creator__back { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-mute); margin-bottom: 18px; font-weight: 500; }
.creator__back:hover { color: var(--cyan); }
.creator__card { padding: 36px; }
.creator__top { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }
.creator__avatar-wrap { position: relative; width: 140px; height: 140px; flex-shrink: 0; }
.creator__initial { width: 100%; height: 100%; font-size: 3rem; }
.creator__name {
	font-size: clamp(2.2rem, 5vw, 3.2rem); font-style: italic; margin: 0;
	background: linear-gradient(175deg, #eaf6ff 10%, var(--blue-2) 50%, var(--blue));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.creator__tagline { color: var(--ink-dim); font-size: 1.1rem; }
.creator__blurb { color: var(--ink-dim); font-size: 1.02rem; }
.creator__why {
	margin: 24px 0; padding: 20px 24px; border-radius: var(--r);
	background: rgba(var(--chip-rgb), 0.12); border: 1px solid var(--stroke);
}
.creator__why-label { display: flex; align-items: center; gap: 9px; color: var(--pink); font-weight: 700; font-family: var(--font-head); margin-bottom: 8px; }
.creator__why-text { color: var(--ink); }
.creator__sig { display: block; text-align: right; color: var(--ink-mute); font-style: italic; margin-top: 10px; }
.creator__links { display: flex; flex-wrap: wrap; gap: 12px; }

/* ----------------------------------- 404 ----------------------------------- */
.lost { text-align: center; padding: 60px 0; }
.lost__code { font-family: var(--font-head); font-size: clamp(3.4rem, 10vw, 6rem); font-weight: 700; margin: 0; }
.lost__title { font-size: 2rem; color: #fff; }
.lost__text { color: var(--ink-dim); margin-bottom: 26px; }

/* --------------------------------- footer ---------------------------------- */
.footer { margin-top: 60px; border-top: 1px solid var(--stroke); background: rgba(4, 9, 26, 0.85); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 36px; padding: 46px 0 30px; }
.footer__blurb { color: var(--ink-mute); font-size: 0.95rem; margin: 12px 0 18px; }
.footer__head { font-size: 0.85rem; letter-spacing: 2.4px; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer__list a { color: var(--ink-dim); }
.footer__list a:hover { color: var(--cyan); }
.footer__contact { color: var(--ink-mute); font-size: 0.9rem; }
.footer__bottom {
	display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
	border-top: 1px solid var(--stroke); padding: 18px 0 22px;
	color: var(--ink-mute); font-size: 0.85rem;
}
.footer__admin { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-mute); opacity: 0.7; font-size: 0.82rem; }
.footer__admin:hover { opacity: 1; color: var(--cyan); }

/* ---------------------------- popovers & overlays --------------------------- */
.card-pop { animation: popIn 0.25s var(--ease); }
@keyframes popIn { from { opacity: 0; transform: translateY(10px) scale(0.97); } }

.breakdown-pop, .remind-pop {
	position: absolute; z-index: 120; padding: 16px 18px; min-width: 230px;
	border-radius: var(--r); box-shadow: var(--glow-strong);
}
.breakdown-pop__title { font-family: var(--font-head); font-weight: 600; color: #fff; margin-bottom: 10px; font-size: 0.95rem; }
.breakdown-pop ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.breakdown-pop li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--ink-dim); }
.breakdown-pop li strong { margin-left: auto; color: #fff; }
.breakdown-pop li.is-empty { opacity: 0.45; }
.breakdown-pop__note { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--stroke); color: var(--ink-mute); font-size: 0.85rem; }

.remind-pop { display: grid; gap: 6px; padding: 10px; }
.remind-pop__opt {
	display: flex; align-items: center; gap: 10px; padding: 10px 14px;
	background: none; border: 0; border-radius: 12px; color: var(--ink); font-size: 0.95rem; text-align: left;
}
.remind-pop__opt:hover { background: rgba(var(--chip-rgb), 0.18); color: #fff; }

.modal-veil {
	position: fixed; inset: 0; z-index: 200;
	background: rgba(2, 5, 16, 0.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
	display: grid; place-items: center; padding: 20px;
	opacity: 0; transition: opacity 0.25s;
	overflow-y: auto;
}
.modal-veil--in { opacity: 1; }
.modal-x {
	position: absolute; top: 14px; right: 14px;
	background: rgba(14, 30, 66, 0.8); border: 1px solid var(--stroke); border-radius: 50%;
	width: 38px; height: 38px; display: grid; place-items: center; color: var(--ink-dim);
}
.modal-x:hover { color: #fff; border-color: var(--stroke-bright); }

.confirm { position: relative; background: var(--glass-2); border: 1px solid var(--stroke); border-radius: var(--r-lg); padding: 28px; max-width: 420px; box-shadow: var(--glow-strong); }
.confirm p { color: var(--ink); font-size: 1.05rem; }
.confirm__row { display: flex; gap: 12px; justify-content: flex-end; margin-top: 20px; }

.connect { position: relative; background: var(--glass-2); border: 1px solid var(--stroke); border-radius: var(--r-lg); padding: 34px; width: min(640px, 100%); box-shadow: var(--glow-strong); }
.connect__title { color: #fff; font-size: 1.7rem; }
.connect__blurb { color: var(--ink-dim); margin-bottom: 22px; }
.connect__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.connect__item { display: grid; justify-items: center; gap: 2px; padding: 18px 10px 14px; text-align: center; color: inherit; transition: transform 0.2s var(--ease), box-shadow 0.25s; border-radius: var(--r); }
.connect__item:hover { transform: translateY(-3px); box-shadow: var(--glow-strong); color: inherit; }
.connect__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(var(--chip-rgb), 0.16); color: var(--blue-2); margin-bottom: 6px; }
.connect__name { font-weight: 600; color: #fff; font-size: 0.95rem; }
.connect__handle { color: var(--ink-mute); font-size: 0.8rem; }
.connect__mail { display: inline-flex; align-items: center; gap: 9px; margin-top: 20px; color: var(--blue-2); font-weight: 600; }

.lightbox { display: grid; grid-template-columns: auto 1fr auto; align-items: center; padding: 30px; }
.lightbox__fig { margin: 0; grid-column: 2; display: grid; justify-items: center; gap: 12px; max-height: 100%; }
.lightbox__fig img { max-width: min(1000px, 88vw); max-height: 78vh; object-fit: contain; border-radius: var(--r); box-shadow: 0 20px 70px rgba(0, 0, 0, 0.6); }
.lightbox__fig figcaption { color: var(--ink-dim); text-align: center; }
.lightbox__fig figcaption strong { color: #fff; }
.lightbox__nav { background: rgba(14, 30, 66, 0.8); border: 1px solid var(--stroke); border-radius: 50%; width: 46px; height: 46px; display: grid; place-items: center; color: var(--ink); z-index: 1; }
.lightbox__nav:hover { border-color: var(--stroke-bright); color: #fff; }

/* ------------------------------ scroll-to-top ------------------------------ */
.to-top {
	position: fixed; right: 20px; bottom: 20px; z-index: 89;
	width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid var(--stroke-bright); background: var(--glass-2);
	color: var(--blue-2); cursor: pointer; display: grid; place-items: center;
	box-shadow: var(--glow); transition: transform 0.2s var(--ease), color 0.2s;
}
.to-top:hover { transform: translateY(-3px); color: #fff; }
.to-top .icon { width: 18px; height: 18px; }
/* admins have the Edit FAB in that corner — float above it */
body:has(#editFab:not([hidden])) .to-top { bottom: 84px; }
body.editing .to-top { display: none; }

/* ----------------------------- floating social dock ------------------------ */
.quick-dock {
	position: fixed; bottom: 18px; left: 18px; z-index: 90;
	padding: 8px 12px; border-radius: var(--r-pill);
	box-shadow: var(--glow);
	animation: dockIn 0.6s var(--ease) both; animation-delay: 0.4s;
}
.quick-dock .pawlinks { flex-wrap: nowrap; }
@keyframes dockIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
/* out of the way on small screens (footer has the same links) and while editing */
@media (max-width: 1000px) { .quick-dock { display: none; } }
body.editing .quick-dock { display: none; }

/* ---------------------------------- toasts --------------------------------- */
.toasts { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 400; display: grid; gap: 10px; justify-items: center; pointer-events: none; }
/* keep toasts clear of the edit bar while editing */
body.editing .toasts { bottom: 96px; }
.toast {
	display: flex; align-items: center; gap: 10px;
	background: var(--glass-2); border: 1px solid var(--stroke-bright);
	border-radius: var(--r-pill); padding: 12px 22px; color: #fff;
	box-shadow: var(--glow-strong); font-weight: 500; max-width: min(560px, 90vw);
	opacity: 0; transform: translateY(14px); transition: all 0.3s var(--ease);
}
.toast--in { opacity: 1; transform: none; }
.toast--ok .icon { color: #6ef0b0; }
.toast--error { border-color: rgba(255, 93, 122, 0.6); }
.toast--error .icon { color: var(--danger); }
.toast--info .icon { color: var(--blue-2); }

/* "page was updated" toast — persistent + clickable */
.toast--update { pointer-events: auto; padding-right: 10px; }
.toast--update .icon { color: var(--cyan); }
.toast__btn {
	border: 0; border-radius: var(--r-pill); padding: 6px 14px; cursor: pointer;
	font: 600 0.85rem var(--font-body); color: #fff;
	background: linear-gradient(135deg, var(--blue-deep), var(--blue));
}
.toast__btn:hover { filter: brightness(1.15); }
.toast__x {
	border: 0; background: none; color: var(--ink-mute); cursor: pointer;
	display: grid; place-items: center; padding: 4px;
}
.toast__x:hover { color: #fff; }
.toast__x .icon { width: 14px; height: 14px; color: inherit; }

/* ---------------------------------- login ---------------------------------- */
.login { min-height: 100vh; display: grid; place-items: center; padding: 30px 16px; }
.login__card { width: min(430px, 100%); padding: 38px 36px; display: grid; gap: 14px; }
.login__brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-style: italic; font-size: 1.25rem; background: linear-gradient(120deg, var(--blue-2), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; justify-self: center; }
.login__paw { width: 30px; height: 30px; color: var(--blue); display: inline-grid; }
.login__paw svg { width: 100%; height: 100%; filter: drop-shadow(0 0 10px rgba(var(--glow-rgb), 0.8)); }
.login__title { text-align: center; margin: 4px 0 0; color: #fff; font-size: 1.7rem; }
.login__sub { text-align: center; color: var(--ink-dim); margin-top: -8px; }
.login__error { background: rgba(255, 80, 110, 0.14); border: 1px solid rgba(255, 93, 122, 0.45); color: #ff9eb2; border-radius: var(--r-sm); padding: 10px 14px; font-size: 0.92rem; margin: 0; }
.login__submit { width: 100%; }
.login__back { text-align: center; color: var(--ink-mute); font-size: 0.9rem; }

.field { display: grid; gap: 6px; }
.field > span { font-weight: 600; font-size: 0.92rem; color: var(--ink-dim); }
.field > span small { font-weight: 400; color: var(--ink-mute); }
.field input {
	background: rgba(8, 18, 44, 0.85); border: 1.5px solid var(--stroke);
	border-radius: var(--r-sm); padding: 12px 16px; color: var(--ink); font-size: 1rem;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(var(--glow-rgb), 0.18); }

/* ============================== EDITOR STYLES ============================== */
/* (only visible to logged-in admins) */

.edit-fab {
	position: fixed; right: 22px; bottom: 22px; z-index: 150;
	display: inline-flex; align-items: center; gap: 9px;
	background: linear-gradient(120deg, var(--blue-deep), var(--blue));
	border: 0; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1rem;
	padding: 14px 22px; border-radius: var(--r-pill);
	box-shadow: 0 8px 30px rgba(var(--glow-rgb), 0.55);
	transition: transform 0.2s var(--ease), box-shadow 0.25s;
}
.edit-fab:hover { transform: translateY(-3px); box-shadow: 0 10px 40px rgba(var(--glow-rgb), 0.7); }

.edit-bar {
	position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%);
	z-index: 160; width: min(880px, calc(100vw - 24px));
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	background: var(--glass-2); border: 1px solid var(--stroke-bright);
	border-radius: var(--r-pill); padding: 10px 14px 10px 22px;
	box-shadow: 0 12px 50px rgba(0, 0, 0, 0.6), var(--glow-strong);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	animation: barIn 0.4s var(--ease);
	flex-wrap: wrap;
}
@keyframes barIn { from { transform: translate(-50%, 80px); opacity: 0; } }
.edit-bar__left { display: flex; align-items: center; gap: 10px; color: var(--ink-dim); font-size: 0.95rem; }
.edit-bar__left .icon { color: var(--cyan); }
.edit-bar__left strong { color: #fff; }
.edit-bar__dirty { color: #ffd166; font-size: 0.85rem; font-weight: 600; }
.edit-bar__right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.edit-bar__publish { padding: 10px 24px; }
.edit-bar__publish:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.ed-btn {
	display: inline-flex; align-items: center; gap: 7px;
	background: rgba(14, 30, 66, 0.7); border: 1px solid var(--stroke);
	border-radius: var(--r-pill); padding: 8px 14px;
	color: var(--ink-dim); font-size: 0.88rem; font-weight: 600;
	transition: all 0.2s;
}
.ed-btn:hover { color: #fff; border-color: var(--stroke-bright); }
.ed-btn--danger { color: #ff8fa6; border-color: rgba(255, 93, 122, 0.4); }
.ed-btn--danger:hover { background: rgba(255, 80, 110, 0.15); color: #ffb3c2; }
.ed-btn .icon { width: 1em; height: 1em; }

body.editing { padding-bottom: 90px; }

/* inline editable text */
body.editing [data-ep] {
	border-radius: 6px;
	outline: 1.5px dashed rgba(var(--stroke-rgb), 0.35);
	outline-offset: 3px;
	cursor: text; min-width: 1ch;
	transition: outline-color 0.2s, background 0.2s;
}
body.editing [data-ep]:hover { outline-color: rgba(var(--stroke-rgb), 0.75); background: rgba(var(--glow-rgb), 0.08); }
body.editing [data-ep]:focus { outline: 2px solid var(--cyan); background: rgba(var(--glow-rgb), 0.1); }
body.editing [data-ep]:empty::before { content: attr(data-ph); opacity: 0.4; font-style: italic; font-weight: 400; }
body:not(.editing) [data-ep]:empty { display: none; }

/* editable images */
body.editing .img-editable { cursor: pointer; outline: 1.5px dashed rgba(var(--stroke-rgb), 0.4); outline-offset: -2px; }
body.editing .img-editable:hover { outline: 2.5px solid var(--cyan); filter: brightness(1.1); }

/* link chips */
.ed-link-chip {
	display: none; position: absolute; top: -10px; right: -10px; z-index: 5;
	width: 26px; height: 26px; border-radius: 50%;
	background: var(--blue); border: 2px solid var(--bg-0); color: #fff;
	place-items: center; padding: 0;
}
.ed-link-chip .icon { width: 13px; height: 13px; }
body.editing [data-link] { position: relative; }
body.editing [data-link]:hover .ed-link-chip, .ed-link-chip:hover { display: grid; }

.ed-pop {
	position: absolute; z-index: 300; padding: 16px; width: min(360px, 92vw);
	border-radius: var(--r); display: grid; gap: 10px;
	background: var(--glass-2); box-shadow: var(--glow-strong);
}
.ed-pop__label { font-size: 0.88rem; font-weight: 600; color: var(--ink-dim); }
.ed-pop__row { display: flex; justify-content: flex-end; gap: 8px; }

.ed-input {
	background: rgba(8, 18, 44, 0.85); border: 1.5px solid var(--stroke);
	border-radius: 10px; padding: 9px 13px; color: var(--ink); font-size: 0.95rem; width: 100%;
}
.ed-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(var(--glow-rgb), 0.18); }

/* themed dropdown (replaces native <select> in editor panels) */
select.ed-select__native { display: none; }
.ed-select { position: relative; }
.ed-select__btn {
	display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%;
	background: rgba(8, 18, 44, 0.85); border: 1.5px solid var(--stroke); border-radius: 10px;
	padding: 9px 13px; color: var(--ink); font: inherit; font-size: 0.95rem; cursor: pointer; text-align: left;
}
.ed-select__btn:hover { border-color: var(--stroke-bright); }
.ed-select.is-open .ed-select__btn { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(var(--glow-rgb), 0.18); }
.ed-select__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ed-select__chev { width: 16px; height: 16px; flex-shrink: 0; color: var(--ink-mute); transition: transform 0.2s; }
.ed-select.is-open .ed-select__chev { transform: rotate(180deg); }
.ed-select__menu {
	position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 60;
	background: var(--glass-2); border: 1px solid var(--stroke-bright);
	border-radius: 12px; box-shadow: var(--glow-strong); padding: 6px;
	display: none; max-height: 260px; overflow-y: auto;
}
.ed-select.is-open .ed-select__menu { display: block; animation: selPop 0.14s var(--ease); }
@keyframes selPop { from { opacity: 0; transform: translateY(-6px); } }
.ed-select__opt {
	display: flex; align-items: center; gap: 8px; width: 100%; text-align: left;
	background: none; border: 0; border-radius: 8px; padding: 9px 11px;
	color: var(--ink-dim); font: inherit; font-size: 0.92rem; cursor: pointer;
}
.ed-select__opt:hover { background: rgba(var(--chip-rgb), 0.22); color: #fff; }
.ed-select__opt.is-sel { color: #fff; background: rgba(var(--glow-rgb), 0.18); font-weight: 600; }
.ed-select__opt.is-sel::after { content: "✓"; margin-left: auto; color: var(--cyan); }

/* hidden sections (visible while editing, dimmed) */
body.editing .sec--hidden { opacity: 0.45; }
body.editing .sec--hidden::after {
	content: "Hidden — visitors don't see this section";
	position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
	background: rgba(8, 18, 44, 0.9); border: 1px solid var(--stroke);
	color: var(--ink-mute); border-radius: var(--r-pill); padding: 4px 14px; font-size: 0.8rem;
}

/* section toolbar */
body.editing .sec { border: 1.5px dashed rgba(var(--stroke-rgb), 0.18); border-radius: var(--r); margin: 6px 0; }
body.editing .sec:hover { border-color: rgba(var(--stroke-rgb), 0.45); }
.sec-tools {
	position: absolute; top: -16px; right: 18px; z-index: 40;
	display: flex; align-items: center; gap: 2px;
	background: var(--glass-2); border: 1px solid var(--stroke-bright);
	border-radius: var(--r-pill); padding: 4px 8px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
	opacity: 0.45; transition: opacity 0.2s;
}
.sec:hover .sec-tools, .sec-tools:focus-within { opacity: 1; }
.sec-tools button, .sec-tools__handle {
	display: grid; place-items: center; width: 30px; height: 30px;
	background: none; border: 0; border-radius: 50%; color: var(--ink-dim); padding: 0;
}
.sec-tools button:hover { background: rgba(var(--glow-rgb), 0.2); color: #fff; }
.sec-tools__handle { cursor: grab; }
.sec-tools__handle:active { cursor: grabbing; }
.sec-tools__type { font-size: 0.78rem; font-weight: 700; color: var(--cyan); padding: 0 8px; letter-spacing: 0.5px; white-space: nowrap; }
.sec-tools__delete:hover { background: rgba(255, 80, 110, 0.2) !important; color: #ff8fa6 !important; }
.sec-tools .icon { width: 16px; height: 16px; }
.sec-tools button.is-on { color: #ffd166; }

.sec.dragging { opacity: 0.5; }
.sec.drop-before { box-shadow: 0 -4px 0 0 var(--cyan); }
.sec.drop-after { box-shadow: 0 4px 0 0 var(--cyan); }

/* add-section divider */
.ed-addsec { text-align: center; padding: 6px 0 0; }
.ed-addsec__btn {
	display: inline-flex; align-items: center; gap: 8px;
	background: rgba(10, 24, 56, 0.8); border: 1.5px dashed var(--stroke-bright);
	border-radius: var(--r-pill); color: var(--blue-2); font-weight: 600; font-size: 0.88rem;
	padding: 8px 18px; opacity: 0.5; transition: all 0.2s;
}
.ed-addsec__btn:hover { opacity: 1; border-style: solid; color: #fff; box-shadow: var(--glow); }

/* list item tools */
.ed-item-tools {
	position: absolute; top: 6px; right: 6px; z-index: 30;
	display: flex; gap: 2px; align-items: center;
	background: var(--glass-2); border: 1px solid var(--stroke-bright);
	border-radius: var(--r-pill); padding: 3px 5px;
	opacity: 0; transition: opacity 0.15s;
}
[data-li] { position: relative; }
[data-li]:hover > .ed-item-tools, .ed-item-tools:focus-within { opacity: 1; }
.ed-item-tools button, .ed-item-tools a {
	display: grid; place-items: center; width: 26px; height: 26px;
	background: none; border: 0; border-radius: 50%; color: var(--ink-dim); padding: 0;
}
.ed-item-tools button:hover, .ed-item-tools a:hover { background: rgba(var(--glow-rgb), 0.25); color: #fff; }
.ed-item-tools__del:hover { background: rgba(255, 80, 110, 0.25) !important; color: #ff8fa6 !important; }
.ed-item-tools .icon { width: 14px; height: 14px; }

.ed-add-item {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 64px; border: 1.5px dashed var(--stroke-bright); border-radius: var(--r);
	background: rgba(10, 24, 56, 0.4); color: var(--blue-2); font-weight: 600; font-size: 0.92rem;
	transition: all 0.2s; padding: 12px;
}
.ed-add-item:hover { background: rgba(var(--chip-rgb), 0.18); color: #fff; box-shadow: var(--glow); }

/* settings panel */
.ed-panel {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 250;
	width: min(420px, 94vw);
	background: rgba(6, 13, 36, 0.97);
	border-left: 1px solid var(--stroke-bright);
	border-radius: 0; box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6);
	display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.3s var(--ease);
}
.ed-panel--in { transform: none; }
.ed-panel__head { padding: 22px 24px 14px; border-bottom: 1px solid var(--stroke); position: relative; }
.ed-panel__head h2 { margin: 0; font-size: 1.25rem; color: #fff; }
.ed-panel__head p { color: var(--ink-mute); font-size: 0.88rem; margin: 4px 0 0; }
.ed-panel__body { padding: 18px 24px; overflow-y: auto; overflow-x: hidden; flex: 1; display: grid; gap: 16px; align-content: start; min-width: 0; }
.ed-panel__body > * { min-width: 0; max-width: 100%; }
.ed-panel__foot { padding: 14px 24px; border-top: 1px solid var(--stroke); text-align: right; }
.ed-panel__note { display: flex; gap: 9px; align-items: flex-start; color: var(--ink-mute); font-size: 0.88rem; margin: 12px 24px 0; padding: 10px 14px; background: rgba(var(--chip-rgb), 0.1); border-radius: var(--r-sm); }
.ed-panel__note .icon { color: var(--blue-2); flex-shrink: 0; margin-top: 2px; }

.ed-field { display: grid; gap: 6px; }
.ed-field > span { font-weight: 600; font-size: 0.88rem; color: var(--ink-dim); }
.ed-hint { color: var(--ink-mute); font-size: 0.8rem; }

.ed-field--toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.ed-field--toggle input { display: none; }
.ed-toggle {
	width: 44px; height: 25px; border-radius: var(--r-pill); flex-shrink: 0;
	background: rgba(20, 40, 90, 0.9); border: 1px solid var(--stroke);
	position: relative; transition: background 0.2s;
}
.ed-toggle::after {
	content: ""; position: absolute; top: 2px; left: 3px; width: 18px; height: 18px;
	border-radius: 50%; background: var(--ink-mute); transition: all 0.2s var(--ease);
}
.ed-field--toggle input:checked + .ed-toggle { background: var(--blue); border-color: var(--blue-2); }
.ed-field--toggle input:checked + .ed-toggle::after { left: 20px; background: #fff; }
.ed-field--toggle > span:last-of-type { font-weight: 500; color: var(--ink); }

.ed-imgfield { display: flex; gap: 14px; align-items: center; }
.ed-imgfield img { width: 76px; height: 76px; object-fit: cover; border-radius: var(--r-sm); border: 1px solid var(--stroke); }
.ed-imgfield__btns { display: grid; gap: 6px; }

.ed-listfield__rows { display: grid; gap: 10px; margin-bottom: 10px; }
.ed-listrow { display: flex; gap: 10px; padding: 14px; border-radius: var(--r-sm); }
.ed-listrow__fields { display: grid; gap: 10px; flex: 1; }
.ed-listrow__tools { display: grid; gap: 4px; align-content: start; }
.ed-listrow__tools button { display: grid; place-items: center; width: 26px; height: 26px; background: none; border: 0; border-radius: 50%; color: var(--ink-dim); padding: 0; }
.ed-listrow__tools button:hover { background: rgba(var(--glow-rgb), 0.25); color: #fff; }
.ed-listrow__tools .icon { width: 14px; height: 14px; }

/* palette + creator picker + media picker */
.palette, .media {
	position: relative; background: var(--glass-2); border: 1px solid var(--stroke-bright);
	border-radius: var(--r-lg); padding: 30px; width: min(720px, 100%);
	box-shadow: var(--glow-strong); max-height: 86vh; overflow-y: auto;
}
.palette__title, .media__title { color: #fff; font-size: 1.5rem; }
.palette__sub { color: var(--ink-mute); font-size: 0.92rem; margin: 14px 0 10px; }
.palette__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.palette__item { display: grid; gap: 3px; text-align: left; padding: 14px 16px; color: inherit; border-radius: var(--r); transition: all 0.2s; }
.palette__item:hover { border-color: var(--stroke-bright); box-shadow: var(--glow); transform: translateY(-2px); }
.palette__item strong { color: #fff; font-family: var(--font-head); }
.palette__item span { color: var(--ink-mute); font-size: 0.83rem; }
.palette__creators { display: flex; flex-wrap: wrap; gap: 10px; }
.palette__creator { padding: 10px 18px; border-radius: var(--r-pill); color: #fff; font-weight: 600; }
.palette__creator:hover { box-shadow: var(--glow-strong); }
.palette__new { display: flex; gap: 10px; align-items: center; }
.palette__new .ed-input { flex: 1; }

.media__tabs { display: flex; gap: 6px; margin: 16px 0; flex-wrap: wrap; }
.media__tabs button {
	background: rgba(10, 24, 56, 0.7); border: 1px solid var(--stroke);
	border-radius: var(--r-pill); padding: 8px 18px; color: var(--ink-dim); font-weight: 600; font-size: 0.9rem;
}
.media__tabs button.is-active { background: var(--blue); color: #fff; border-color: var(--blue-2); }
.media__drop {
	display: grid; justify-items: center; gap: 6px; padding: 44px 20px;
	border: 2px dashed var(--stroke-bright); border-radius: var(--r);
	color: var(--ink-dim); cursor: pointer; text-align: center; transition: all 0.2s;
}
.media__drop:hover, .media__drop.is-over { border-color: var(--cyan); background: rgba(var(--glow-rgb), 0.08); color: #fff; }
.media__drop .icon { width: 34px; height: 34px; color: var(--blue-2); }
.media__drop-note { font-size: 0.82rem; color: var(--ink-mute); max-width: 360px; }
.media__status { color: var(--cyan); font-weight: 600; margin-top: 12px; }
.media__status--error {
	color: #ffd7df; font-weight: 500; background: rgba(255, 93, 122, 0.16);
	border: 1px solid rgba(255, 93, 122, 0.5); border-radius: var(--r-sm);
	padding: 10px 14px; line-height: 1.45;
}
.media__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; max-height: 46vh; overflow-y: auto; padding: 4px; }
.media__thumb {
	display: grid; gap: 4px; background: rgba(10, 24, 56, 0.7); border: 1.5px solid var(--stroke);
	border-radius: var(--r-sm); padding: 6px; transition: all 0.15s; overflow: hidden;
}
.media__thumb:hover { border-color: var(--cyan); transform: translateY(-2px); }
.media__thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: var(--bg-2); }
.media__thumb span { font-size: 0.7rem; color: var(--ink-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* faq summary editing affordance */
body.editing .faq__q { cursor: default; }

/* hovered list items rise above their neighbors so their toolbar wins */
body.editing [data-li]:hover { z-index: 31; }
body.editing [data-li]:has(> .ed-item-tools:hover) { z-index: 32; }

/* image action mini-menu */
.ed-pop--menu { width: auto; padding: 8px; }

/* editable tag pills */
body.editing [data-tagi] { cursor: text; outline: 1px dashed rgba(var(--stroke-rgb), 0.35); outline-offset: 2px; }
body.editing [data-tagi]:focus { outline: 1.5px solid var(--cyan); }
.tags__add {
	display: inline-flex; align-items: center; gap: 4px;
	font-size: 0.78rem; font-weight: 600; padding: 4px 12px;
	border-radius: var(--r-pill); border: 1.5px dashed var(--stroke-bright);
	color: var(--blue-2); cursor: pointer; background: none; list-style: none;
}
.tags__add:hover { color: #fff; border-style: solid; }
.tags__add .icon { width: 12px; height: 12px; }

/* publish note dialog */
.pubnote {
	position: relative; background: var(--glass-2); border: 1px solid var(--stroke-bright);
	border-radius: var(--r-lg); padding: 28px; width: min(460px, 100%);
	box-shadow: var(--glow-strong); display: grid; gap: 16px;
}
.pubnote__title { color: #fff; font-size: 1.35rem; margin: 0; }
.pubnote__row { display: flex; justify-content: flex-end; gap: 10px; }
.pubnote .ed-field small { color: var(--ink-mute); font-weight: 400; }

/* drag-to-resize: dashed outline + a grip on the grid's right edge */
.ed-rsz-host { position: relative; outline: 1.5px dashed rgba(var(--stroke-rgb), 0.3); outline-offset: 10px; border-radius: var(--r-sm); }
.ed-rsz-host--active { outline-color: var(--cyan); }
.ed-rsz-edge {
	position: absolute; top: 0; bottom: 0; right: -24px; width: 28px;
	display: grid; place-items: center; cursor: ew-resize;
	touch-action: none; user-select: none; z-index: 25;
}
.ed-rsz-edge::before {
	content: ""; position: absolute; top: 0; bottom: 0; left: 50%;
	border-left: 1.5px dashed rgba(var(--stroke-rgb), 0.45);
	transition: border-color 0.2s;
}
.ed-rsz-edge:hover::before, .ed-rsz-edge--active::before { border-left-style: solid; border-color: var(--cyan); }
.ed-rsz-grip {
	position: relative; display: grid; place-items: center;
	width: 26px; height: 44px; border-radius: var(--r-pill);
	border: 1.5px solid var(--stroke-bright); background: var(--glass-2);
	color: var(--blue-2); box-shadow: var(--glow);
	transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.ed-rsz-edge:hover .ed-rsz-grip, .ed-rsz-edge--active .ed-rsz-grip { color: #fff; border-color: var(--cyan); transform: scale(1.08); }
.ed-rsz-grip .icon { width: 14px; height: 14px; transform: rotate(90deg); }

/* ----------------------------- glyphs (icon / image / emoji) ---------------- */
.glyph { line-height: 0; }
.glyph__img { width: 24px; height: 24px; object-fit: contain; border-radius: 6px; }
.glyph__emoji { font-size: 21px; line-height: 1; font-style: normal; }
.involve__icon .glyph__img, .involve__icon .glyph__emoji { width: 27px; height: 27px; font-size: 25px; }
.linklist__icon .glyph__img { width: 24px; height: 24px; }
.pawlinks__btn .glyph__img { width: 20px; height: 20px; }
.pawlinks--sm .pawlinks__btn .glyph__img { width: 16px; height: 16px; }
body.editing .glyph--editable {
	cursor: pointer; outline: 1.5px dashed rgba(var(--stroke-rgb), 0.45);
	outline-offset: 3px; border-radius: 8px; transition: outline-color 0.15s;
}
body.editing .glyph--editable:hover { outline-color: var(--cyan); }

/* editor glyph picker field */
.ed-glyphfield { display: flex; align-items: center; gap: 12px; }
.ed-glyph-prev { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(var(--chip-rgb), 0.16); color: var(--blue-2); flex-shrink: 0; }
.ed-glyph-prev .icon { width: 24px; height: 24px; }
.ed-glyph-prev img { width: 28px; height: 28px; object-fit: contain; border-radius: 6px; }
.ed-glyph-prev__emoji { font-size: 24px; }
.ed-glyph-prev__empty { opacity: 0.5; }

/* icon grid + emoji tabs in the picker */
.glyph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); gap: 8px; max-height: 320px; overflow-y: auto; padding: 4px; }
.glyph-grid__btn { display: grid; place-items: center; aspect-ratio: 1; border: 1px solid var(--stroke); border-radius: 12px; background: rgba(var(--chip-rgb), 0.12); color: var(--blue-2); cursor: pointer; transition: transform 0.15s, border-color 0.15s, color 0.15s; }
.glyph-grid__btn:hover { transform: translateY(-2px); border-color: var(--stroke-bright); color: #fff; }
.glyph-grid__btn .icon { width: 24px; height: 24px; }
.emoji-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.emoji-quick__btn { font-size: 24px; line-height: 1; padding: 8px; border: 1px solid var(--stroke); border-radius: 12px; background: rgba(var(--chip-rgb), 0.12); cursor: pointer; transition: transform 0.15s; }
.emoji-quick__btn:hover { transform: scale(1.15); }

/* ------------------------------ promo / coupon ------------------------------ */
/* coupon / perk card — used standalone and inside sponsor cards */
.coupon {
	--promo: var(--glow-rgb);
	position: relative; overflow: hidden; text-align: center;
	padding: 30px 26px; border-radius: var(--r-lg);
	display: grid; gap: 10px; justify-items: center; align-content: start;
	background: linear-gradient(165deg, rgba(var(--promo), 0.22), rgba(var(--promo), 0.05));
	border: 1.5px solid rgba(var(--promo), 0.45);
	box-shadow: 0 10px 40px rgba(var(--promo), 0.25), inset 0 0 50px rgba(var(--promo), 0.08);
}
.coupon[data-coupon-style="pink"] { --promo: 244, 114, 182; }
.coupon[data-coupon-style="gold"] { --promo: 251, 191, 36; }
.coupon[data-coupon-style="green"] { --promo: 45, 212, 191; }
.coupon[data-coupon-style="purple"] { --promo: 167, 110, 255; }
/* a soft corner glow (anchored to the top-right corner so it never shows a
   visible circular edge / faint line inside the card) */
.coupon__glow {
	position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(120% 90% at 100% 0%, rgba(var(--promo), 0.26), transparent 62%);
}
/* ticket notches on the sides */
.coupon::before, .coupon::after {
	content: ""; position: absolute; top: 50%; width: 22px; height: 22px;
	border-radius: 50%; background: var(--bg-0); transform: translateY(-50%);
	box-shadow: inset 0 0 0 1.5px rgba(var(--promo), 0.4);
}
.coupon::before { left: -11px; }
.coupon::after { right: -11px; }
.coupon__eyebrow { position: relative; display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: 0.78rem; color: var(--blue-2); }
.coupon__eyebrow-ic .icon, .coupon__eyebrow-ic .glyph__img { width: 16px; height: 16px; }
.coupon__big { position: relative; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.8rem, 5vw, 2.8rem); color: #fff; line-height: 1.02; text-shadow: 0 0 26px rgba(var(--promo), 0.7); }
.coupon__sub { position: relative; color: var(--ink-dim); margin: 2px 0; font-size: 0.92rem; }
.coupon__code {
	position: relative; display: inline-block; padding: 9px 24px; margin: 2px 0 4px;
	border-radius: var(--r); border: 2px dashed rgba(var(--promo), 0.75);
	background: rgba(0, 0, 0, 0.28);
}
.coupon__code-val { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; letter-spacing: 3px; color: #fff; }
.coupon__copy { position: relative; }
.coupon__copy.is-copied { background: linear-gradient(135deg, #1aa463, #2dd4bf); }
.coupon__link { position: relative; display: inline-flex; align-items: center; gap: 6px; color: var(--blue-2); font-weight: 600; font-size: 0.9rem; }
.coupon__link:hover { color: #fff; }
.coupon__note { position: relative; color: var(--ink-mute); font-size: 0.8rem; margin-top: 6px; }
.coupon--compact { padding: 22px 18px; gap: 8px; }
.coupon--compact .coupon__code { padding: 7px 18px; }
.coupon--compact .coupon__code-val { font-size: 1.2rem; letter-spacing: 2px; }

/* ------------------------------- theme studio ------------------------------- */
.ed-section-label { font-family: var(--font-head); font-weight: 600; color: var(--cyan); font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; margin: 22px 0 10px; }
.ed-section-label:first-child { margin-top: 0; }
.ed-btn--wide { width: 100%; justify-content: center; }
.theme-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.theme-sw {
	position: relative; display: flex; align-items: center; gap: 10px;
	padding: 11px 13px; border-radius: var(--r); cursor: pointer; text-align: left;
	border: 1.5px solid var(--stroke); background: rgba(var(--chip-rgb), 0.1); color: var(--ink);
	font: inherit; transition: border-color 0.15s, transform 0.15s;
}
.theme-sw { min-width: 0; }
.theme-sw:hover { transform: translateY(-2px); border-color: var(--stroke-bright); }
.theme-sw.is-active { border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan), var(--glow); }
.theme-sw__dots { display: inline-flex; flex-shrink: 0; }
.theme-sw__dots i { width: 15px; height: 15px; border-radius: 50%; margin-left: -5px; border: 2px solid rgba(0, 0, 0, 0.3); }
.theme-sw__dots i:first-child { margin-left: 0; }
.theme-sw__name { font-size: 0.86rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1; }
.theme-sw__tools { position: absolute; top: 4px; right: 4px; display: none; gap: 2px; }
.theme-sw--custom:hover .theme-sw__tools, .theme-sw--custom.is-active .theme-sw__tools { display: flex; }
.theme-sw__tools button { display: grid; place-items: center; width: 22px; height: 22px; border: 0; border-radius: 7px; background: rgba(0, 0, 0, 0.5); color: var(--ink-dim); cursor: pointer; }
.theme-sw__tools button:hover { color: #fff; }
.theme-sw__tools .icon { width: 13px; height: 13px; }
.particle-glyphs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.particle-glyph { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(var(--chip-rgb), 0.16); }
.particle-glyph .icon { width: 22px; height: 22px; color: var(--blue-2); }
.particle-glyph img { width: 26px; height: 26px; object-fit: contain; }
.particle-glyph span { font-size: 22px; }
.particle-glyph button { position: absolute; top: -6px; right: -6px; width: 19px; height: 19px; border: 0; border-radius: 50%; background: var(--danger); color: #fff; cursor: pointer; display: grid; place-items: center; }
.particle-glyph button .icon { width: 11px; height: 11px; color: #fff; }
.ed-panel--studio { width: min(380px, 94vw); }
.studio-colors { display: grid; gap: 10px; }
.studio-color { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.studio-color input[type="color"] {
	width: 52px; height: 44px; flex-shrink: 0; padding: 0; border: 1.5px solid var(--stroke-bright);
	border-radius: 12px; background: none; cursor: pointer;
}
.studio-color input[type="color"]::-webkit-color-swatch-wrapper { padding: 4px; }
.studio-color input[type="color"]::-webkit-color-swatch { border: none; border-radius: 8px; }
.studio-color span { display: grid; min-width: 0; }
.studio-color strong { color: #fff; font-size: 0.95rem; }
.studio-color small { color: var(--ink-mute); font-size: 0.8rem; }
.studio-color { min-width: 0; }

/* creator page: edit-URL chip */
.creator__url-edit {
	display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
	padding: 6px 13px; border-radius: var(--r-pill); cursor: pointer;
	border: 1.5px dashed var(--stroke-bright); background: rgba(var(--chip-rgb), 0.14);
	color: var(--blue-2); font: 600 0.82rem var(--font-body);
}
.creator__url-edit:hover { color: #fff; border-style: solid; }
.creator__url-edit .icon { width: 14px; height: 14px; }

/* image position & zoom modal */
.adjust {
	position: relative; background: var(--glass-2); border: 1px solid var(--stroke-bright);
	border-radius: var(--r-lg); padding: 28px; width: min(560px, 100%);
	box-shadow: var(--glow-strong); display: grid; gap: 14px; justify-items: center;
}
.adjust__title { color: #fff; font-size: 1.4rem; margin: 0; }
.adjust__hint { color: var(--ink-mute); font-size: 0.9rem; margin: -8px 0 0; text-align: center; }
.adjust__frame {
	width: min(420px, 100%); max-height: 50vh; overflow: hidden; border-radius: var(--r);
	border: 2px solid var(--stroke-bright); cursor: grab; touch-action: none;
	background: var(--bg-2);
}
.adjust__frame:active { cursor: grabbing; }
.adjust__frame--round { border-radius: 50%; }
.adjust__frame img { width: 100%; height: 100%; object-fit: cover; user-select: none; pointer-events: none; }
.adjust__presets {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px;
	width: 92px; aspect-ratio: 1; padding: 5px; border-radius: 12px;
	border: 1px solid var(--stroke); background: rgba(var(--chip-rgb), 0.12);
}
.adjust__preset {
	border: 1.5px solid var(--stroke-bright); border-radius: 5px;
	background: rgba(var(--chip-rgb), 0.2); cursor: pointer; transition: all 0.15s;
}
.adjust__preset:hover { background: rgba(var(--glow-rgb), 0.35); }
.adjust__preset.is-on { background: var(--cyan); border-color: var(--cyan); }
.adjust__zoom { display: flex; align-items: center; gap: 12px; width: min(360px, 100%); color: var(--ink-dim); }
.adjust__zoom input { flex: 1; accent-color: var(--blue); }
.adjust__row { display: flex; gap: 12px; }

/* ------------------------------- responsive -------------------------------- */
@media (max-width: 1020px) {
	.hero { grid-template-columns: 1fr; }
	.hero__side { justify-items: start; }
	.hero__about { max-width: none; }
	.watch { grid-template-columns: 1fr; }
	.watch-grid { grid-template-columns: 1fr; }
	.watch-grid > .watch__card--large { grid-column: span 1; }
	.feature, .case { grid-template-columns: 1fr; }
	.feature--reverse .feature__media { order: 0; }
	.sponsor, .sponsor--coupon { grid-template-columns: 240px 1fr; }
	.sponsor--coupon .sponsor__coupon { grid-column: 1 / -1; }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.stats-bar { grid-template-columns: 1fr 1fr; }
	.stats-bar__item + .stats-bar__item::before { display: none; }
	.stat-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
	body { font-size: 15.5px; }
	.sec { padding: 40px 0; }
	.container { width: calc(100% - 32px); }

	.nav__links {
		position: fixed; top: var(--nav-h); left: 12px; right: 12px;
		flex-direction: column; padding: 10px; z-index: 49;
		background: rgba(6, 13, 36, 0.97); border-radius: var(--r-lg);
		box-shadow: var(--glow-strong);
		display: none;
	}
	body.nav-open .nav__links { display: flex; }
	.nav__link { padding: 12px 18px; text-align: center; }
	.nav__burger { display: grid; }
	.nav__connect span { display: none; }
	.nav__connect { padding: 10px 14px; }
	.nav__admin span { display: none; }

	.page-hero { grid-template-columns: 1fr; text-align: center; }
	.page-hero__tagline, .page-hero__note { margin-inline: auto; }

	.discord-cta { grid-template-columns: 1fr; text-align: center; justify-items: center; }
	.involve { grid-template-columns: 1fr; }
	.event { grid-template-columns: 76px 1fr; }
	.event__art { display: none; }
	.sponsor { grid-template-columns: 1fr; }
	.about-intro { grid-template-columns: 1fr; justify-items: center; }
	.watch__tiktoks { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
	.watch__tiktoks .watch__tiktok:nth-child(3) { display: none; }
	.footer__grid { grid-template-columns: 1fr; gap: 26px; }
	.pack-banner { flex-wrap: wrap; }
	.pack-banner__art { width: 72px; height: 72px; }
	.creator__card { padding: 24px; }
	.creator__top { justify-content: center; text-align: center; }

	.edit-bar { border-radius: var(--r-lg); padding: 10px 14px; }
	.edit-bar__left { display: none; }
	.edit-bar__right { width: 100%; justify-content: center; }
}

/* --------------------------- reduced motion -------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; }
	.hero__ring { animation: none; }
}
