/* ============================================================
   BATTALIA FAN ZONE — MEMBER SURFACE STYLESHEET
   ------------------------------------------------------------
   Layer 0 (below): design tokens.
   Layer 1          the member-surface base (app shell, dashboard,
                    discussion, drawer) relocated from battalia.css.
   Layer 2 (below)  the 2026 premium redesign: maroon + gold,
                    dark, card-based, mobile-first.

   Enqueued only on fan surfaces + single-gkfc_match (see
   GKFC\Core\Setup\Assets::is_fan_surface), so the marketing site
   never downloads any of this.
   ============================================================ */

/* ---------- Layer 0 — design tokens ---------- */

body.gkfc-fan-app {
	/* Surfaces — near-black warmed by maroon, never pure grey. */
	--fz-bg: #0a0607;
	--fz-bg-elev: #120b0d;
	--fz-surface: #171012;
	--fz-surface-2: #1e1417;
	--fz-surface-3: #261a1d;

	/* Hairlines — one border weight everywhere so cards read as one system. */
	--fz-line: rgba(255, 255, 255, 0.08);
	--fz-line-2: rgba(255, 255, 255, 0.14);

	/* Type */
	--fz-text: #f6f2f0;
	--fz-muted: #b3a0a2;
	--fz-faint: #857476;

	/* Club maroon — identity colour for surfaces, headers, avatars. */
	--fz-maroon: #831d21;
	--fz-maroon-deep: #5f1216;
	--fz-maroon-soft: rgba(131, 29, 33, 0.22);
	--fz-maroon-line: rgba(131, 29, 33, 0.42);

	/* Gold — the single accent for CTAs, points, active states. */
	--fz-gold: #f6c51d;
	--fz-gold-deep: #d4a200;
	--fz-gold-soft: rgba(246, 197, 29, 0.14);
	--fz-gold-line: rgba(246, 197, 29, 0.42);

	/* Status */
	--fz-ok: #3ecf7e;
	--fz-ok-soft: rgba(62, 207, 126, 0.14);
	--fz-bad: #ff6b6b;
	--fz-bad-soft: rgba(255, 107, 107, 0.14);

	/* Radii */
	--fz-r-sm: 10px;
	--fz-r: 14px;
	--fz-r-lg: 20px;
	--fz-r-xl: 26px;

	/* Elevation — restrained; depth comes from surface steps, not glow. */
	--fz-shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.32);
	--fz-shadow: 0 12px 32px rgba(0, 0, 0, 0.44);
	--fz-shadow-lg: 0 22px 56px rgba(0, 0, 0, 0.55);

	/* Motion */
	--fz-speed: 0.22s;
	--fz-ease: cubic-bezier(0.4, 0, 0.2, 1);

	/* Chrome metrics — bottom nav reserves its own height + safe area. */
	--fz-bar-h: 70px;
	--fz-nav-h: 60px;

	/* Safe-area insets as tokens so the WebView override (§2.21) can
	   zero them in one place — the Battalia FZ app reports the system
	   bars as insets even though it is not edge-to-edge. */
	--fz-sat: env(safe-area-inset-top, 0px);
	--fz-sab: env(safe-area-inset-bottom, 0px);

	/* Type stack — heading font first so the brand voice survives. */
	--fz-font-head: var(--gkfc-font-heading, 'Montserrat', 'Oswald', 'Arial Narrow', sans-serif);
	--fz-font-body: var(--gkfc-font-body, 'Inter', 'Segoe UI', system-ui, sans-serif);

	/* Layout */
	--fz-gutter: clamp(0.9rem, 2.6vw, 1.6rem);
	--fz-max: 1320px;

	/* Legacy aliases — the relocated base (Layer 1) still reads the
	   original --gkfc-app-* and --gkfc-* tokens; map them onto the new
	   palette so every inherited rule follows the redesign automatically. */
	--gkfc-app-bg: var(--fz-bg);
	--gkfc-app-panel: var(--fz-surface-2);
	--gkfc-app-line: var(--fz-line);
	--gkfc-app-text: var(--fz-text);
	--gkfc-app-muted: var(--fz-muted);
	--gkfc-app-accent: var(--fz-gold);
	--gkfc-app-bar-h: var(--fz-bar-h);
}

/* ============================================================
   BATTALIA Member Dashboard (/fan-dashboard/) - premium shell
   ============================================================ */

.gkfc-fzd {
	--fzd-line: var(--gkfc-border);
	display: flex;
	gap: clamp(1rem, 2.5vw, 2rem);
	align-items: flex-start;
	width: 100%;
	max-width: var(--gkfc-container, 1200px);
	margin: 0 auto;
	padding: 0 clamp(1rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.5rem);
	color: var(--gkfc-text);
}

.gkfc-fzd-sidebar {
	position: sticky;
	top: clamp(72px, 10vh, 100px);
	flex: 0 0 248px;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 1.3rem 1rem;
	border: 1px solid var(--fzd-line);
	border-radius: var(--gkfc-radius-lg);
	background: linear-gradient(180deg, var(--gkfc-surface) 0%, var(--gkfc-bg-alt) 100%);
	box-shadow: var(--gkfc-shadow);
}

.gkfc-fzd-brand {
	display: flex;
	flex-direction: column;
	margin-bottom: 0.8rem;
	color: #fff;
	font-family: var(--gkfc-font-heading);
	font-size: 1.2rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-decoration: none;
}

.gkfc-fzd-brand span {
	color: var(--gkfc-accent);
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.gkfc-fzd-nav { display: flex; flex-direction: column; gap: 0.15rem; }

.gkfc-fzd-nav__link {
	display: block;
	padding: 0.6rem 0.75rem;
	border-radius: 8px;
	color: var(--gkfc-text-muted);
	font-family: var(--gkfc-font-heading);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
	transition: background var(--gkfc-speed) var(--gkfc-ease), color var(--gkfc-speed) var(--gkfc-ease);
}

.gkfc-fzd-nav__link:hover,
.gkfc-fzd-nav__link.is-active {
	background: rgba(255, 123, 43, 0.12);
	color: #fff;
}

.gkfc-fzd-sidebar__foot {
	margin-top: 0.8rem;
	padding-top: 0.9rem;
	border-top: 1px solid var(--fzd-line);
}

.gkfc-fzd-sidebar__foot .gkfc-logout-form button {
	width: 100%;
	margin-top: 0.5rem;
}

.gkfc-fzd-main {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: clamp(1rem, 2vw, 1.4rem);
}

.gkfc-fzd-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: clamp(1.2rem, 3vw, 1.8rem);
	border: 1px solid var(--fzd-line);
	border-radius: var(--gkfc-radius-lg);
	background:
		linear-gradient(160deg, rgba(16, 8, 9, 0.82) 0%, rgba(16, 8, 9, 0.93) 100%),
		url("../images/dash-header-bg.svg") center / cover no-repeat,
		radial-gradient(520px 220px at 100% 0%, rgba(255, 123, 43, 0.16), transparent 62%),
		linear-gradient(160deg, var(--gkfc-surface) 0%, var(--gkfc-bg-alt) 100%);
	box-shadow: var(--gkfc-shadow);
}

.gkfc-fzd-hello {
	margin: 0;
	color: var(--gkfc-text-muted);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.gkfc-fzd-name {
	margin: 0.1rem 0 0.3rem;
	color: #fff;
	font-family: var(--gkfc-font-heading);
	font-size: clamp(1.5rem, 4vw, 2.2rem);
	font-weight: 800;
	line-height: 1;
}

.gkfc-fzd-sub { margin: 0; color: var(--gkfc-accent); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em; }

.gkfc-fzd-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 66px;
	height: 66px;
	border-radius: 50%;
	border: 2px solid rgba(255, 123, 43, 0.6);
	overflow: hidden;
	background: linear-gradient(135deg, var(--gkfc-primary), var(--gkfc-accent));
	color: #fff;
	font-family: var(--gkfc-font-heading);
	font-size: 1.4rem;
	font-weight: 800;
}

.gkfc-fzd-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.gkfc-fzd-avatar span { display: inline-flex; }

.gkfc-fzd-avatar--crest {
	background-image: url("../images/avatar-crest.svg");
	background-size: cover;
	background-position: center;
}

.gkfc-fzd-avatar--crest span { position: relative; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7); }

.gkfc-fzd-card {
	padding: clamp(1.2rem, 3vw, 1.7rem);
	border: 1px solid var(--fzd-line);
	border-radius: var(--gkfc-radius-lg);
	background: linear-gradient(160deg, var(--gkfc-surface) 0%, var(--gkfc-bg-alt) 100%);
	box-shadow: var(--gkfc-shadow-sm, var(--gkfc-shadow));
}

.gkfc-fzd-card__head,
.gkfc-fzd-block__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.gkfc-fzd-card__head h3,
.gkfc-fzd-block__head h3 {
	margin: 0;
	color: #fff;
	font-family: var(--gkfc-font-heading);
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.gkfc-fzd-block__head span,
.gkfc-fzd-block__head a { color: var(--gkfc-text-muted); font-size: 0.78rem; text-decoration: none; }
.gkfc-fzd-block__head a:hover { color: var(--gkfc-accent); }

.gkfc-fzd-leveltag {
	padding: 0.25rem 0.65rem;
	border-radius: 999px;
	background: rgba(255, 123, 43, 0.14);
	color: var(--gkfc-accent);
	font-family: var(--gkfc-font-heading);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Points hero card */
.gkfc-fzd-points {
	position: relative;
	overflow: hidden;
	text-align: center;
	background:
		radial-gradient(560px 260px at 50% -20%, rgba(255, 123, 43, 0.26), transparent 64%),
		linear-gradient(160deg, rgba(131, 29, 33, 0.5), var(--gkfc-bg-alt) 72%);
}

.gkfc-fzd-points__label {
	margin: 0;
	color: var(--gkfc-text-muted);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.gkfc-fzd-points__value {
	margin: 0.35rem 0 0.2rem;
	color: #fff;
	font-family: var(--gkfc-font-heading);
	font-size: clamp(2.6rem, 9vw, 4.2rem);
	font-weight: 800;
	line-height: 1;
}

.gkfc-fzd-points__sub { margin: 0 0 1.2rem; color: var(--gkfc-text-muted); font-size: 0.88rem; }

.gkfc-fzd-cta {
	display: inline-block;
	padding: 0.85rem 1.7rem;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--gkfc-primary), var(--gkfc-accent));
	color: #fff;
	font-family: var(--gkfc-font-heading);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-decoration: none;
	text-transform: uppercase;
	box-shadow: 0 0 24px rgba(255, 123, 43, 0.35);
}

/* Level progress */
.gkfc-fzd-level { display: flex; flex-direction: column; gap: 0.6rem; }

.gkfc-fzd-level__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	color: var(--gkfc-text-muted);
	font-size: 0.85rem;
}

.gkfc-fzd-level__row strong { color: #fff; font-family: var(--gkfc-font-heading); font-size: 1.05rem; }

.gkfc-fzd-level__row--meta { font-size: 0.78rem; }

.gkfc-fzd-progress {
	height: 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.09);
	overflow: hidden;
}

.gkfc-fzd-progress > span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--gkfc-primary), var(--gkfc-accent));
	box-shadow: 0 0 18px rgba(255, 123, 43, 0.5);
	transition: width 1.1s var(--gkfc-ease);
}

/* Metrics */
.gkfc-fzd-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
.gkfc-fzd-metrics--4 { grid-template-columns: repeat(4, 1fr); }

.gkfc-fzd-metric {
	padding: 1.05rem 0.9rem;
	border: 1px solid var(--fzd-line);
	border-radius: var(--gkfc-radius);
	background: rgba(255, 255, 255, 0.03);
	text-align: center;
}

.gkfc-fzd-metric__value {
	display: block;
	color: #fff;
	font-family: var(--gkfc-font-heading);
	font-size: 1.3rem;
	font-weight: 800;
}

.gkfc-fzd-metric__label {
	display: block;
	margin-top: 0.25rem;
	color: var(--gkfc-text-muted);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

/* ---- Championship note under the metrics strip ---- */
.gkfc-fzd-metric__note {
	margin: 0.85rem 0 0;
	color: var(--gkfc-text-muted);
	font-size: 0.82rem;
	text-align: center;
}

/* ---- Refer & earn card ---- */
.gkfc-fzd-refer {
	text-align: center;
	background:
		radial-gradient(480px 220px at 50% -30%, rgba(255, 123, 43, 0.18), transparent 64%),
		linear-gradient(160deg, var(--gkfc-surface) 0%, var(--gkfc-bg-alt) 100%);
}

.gkfc-fzd-refer__intro {
	margin: 0 auto 1.1rem;
	max-width: 44ch;
	color: var(--gkfc-text-muted);
	font-size: 0.9rem;
}

.gkfc-fzd-refer__code {
	display: inline-block;
	min-width: 260px;
	margin: 0 auto 1.1rem;
	padding: 0.9rem 1.6rem;
	border: 1px solid var(--fzd-line);
	border-radius: var(--gkfc-radius-lg);
	background: linear-gradient(135deg, rgba(131, 29, 33, 0.55), var(--gkfc-bg-alt) 80%);
	color: #fff;
	cursor: pointer;
	font-family: var(--gkfc-font-heading);
	text-align: center;
	transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.gkfc-fzd-refer__code:hover,
.gkfc-fzd-refer__code:focus-visible {
	border-color: var(--gkfc-accent);
	box-shadow: 0 0 0 3px rgba(255, 123, 43, 0.18);
	outline: none;
}

.gkfc-fzd-refer__code:active { transform: translateY(1px); }

.gkfc-fzd-refer__code span {
	display: block;
	font-size: 1.6rem;
	font-weight: 800;
	letter-spacing: 0.24em;
	line-height: 1.2;
}

.gkfc-fzd-refer__code small {
	display: block;
	margin-top: 0.35rem;
	color: var(--gkfc-text-muted);
	font-family: var(--gkfc-font-body, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.gkfc-fzd-refer__code.is-copied { border-color: #3fbc6d; }
.gkfc-fzd-refer__code.is-copied small { color: #7fe0a4; }

.gkfc-fzd-refer__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	align-items: center;
	justify-content: center;
}

.gkfc-fzd-refer__btn {
	display: inline-block;
	padding: 0.55rem 1.1rem;
	border: 1px solid var(--fzd-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	color: var(--gkfc-text-muted);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-decoration: none;
	cursor: pointer;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.gkfc-fzd-refer__btn:hover,
.gkfc-fzd-refer__btn:focus-visible {
	color: #fff;
	border-color: var(--gkfc-accent);
	outline: none;
}

.gkfc-fzd-refer__btn.is-copied { color: #7fe0a4; border-color: #3fbc6d; }

/* ---- Task checklist (nav target: #gkfc-fzd-tasks) ---- */
.gkfc-fzd-tasks {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gkfc-fzd-task {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.55rem;
	padding: 0.6rem 0.75rem;
	border: 1px solid var(--fzd-line);
	border-radius: var(--gkfc-radius);
	background: rgba(255, 255, 255, 0.03);
}

.gkfc-fzd-task__title {
	flex: 1 1 auto;
	min-width: 0;
	color: #fff;
	font-size: 0.92rem;
	font-weight: 600;
}

.gkfc-fzd-task__freq {
	color: var(--gkfc-text-muted);
	font-size: 0.75rem;
	text-transform: capitalize;
}

.gkfc-fzd-task__pts {
	color: var(--gkfc-accent);
	font-family: var(--gkfc-font-heading);
	font-size: 0.78rem;
	font-weight: 700;
}

.gkfc-fzd-task__status {
	color: var(--gkfc-text-muted);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.gkfc-fzd-task--completed { opacity: 0.6; }

.gkfc-fzd-task--completed .gkfc-fzd-task__pts { color: var(--gkfc-text-muted); }

/* ---- Giveaways list (nav target: #gkfc-fzd-giveaways) ---- */
.gkfc-fzd-giveaways {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gkfc-fzd-giveaway {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	padding: 0.65rem 0.75rem;
	border: 1px solid var(--fzd-line);
	border-radius: var(--gkfc-radius);
	background: rgba(255, 255, 255, 0.03);
}

.gkfc-fzd-giveaway__title {
	flex: 1 1 auto;
	min-width: 0;
	color: #fff;
	font-size: 0.95rem;
	font-weight: 600;
}

.gkfc-fzd-giveaway__prize {
	flex: 1 1 100%;
	color: var(--gkfc-text-muted);
	font-size: 0.85rem;
}

.gkfc-fzd-giveaway__entry,
.gkfc-fzd-giveaway__count,
.gkfc-fzd-giveaway__closes {
	color: var(--gkfc-text-muted);
	font-size: 0.75rem;
}

.gkfc-fzd-giveaway__entry {
	color: var(--gkfc-accent);
	font-weight: 700;
}

.gkfc-fzd-giveaway__badge {
	padding: 0.2rem 0.5rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: var(--gkfc-text-muted);
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.gkfc-fzd-giveaway__badge.is-won {
	border: 1px solid var(--gkfc-accent);
	background: transparent;
	color: var(--gkfc-accent);
}

/* ---- Anchor offset under the sticky header ----
   Every sidebar nav item is an in-page anchor, so the target section has to
   clear the sticky site header or its heading is hidden on jump. Mirrors the
   site-wide .gkfc-sec offset set in the theme stylesheet. */
#gkfc-fzd-top,
#gkfc-fzd-sidebar,
.gkfc-fzd-block {
	scroll-margin-top: 92px;
}

.gkfc-fzd-block {
	padding: clamp(1.2rem, 3vw, 1.7rem);
	border: 1px solid var(--fzd-line);
	border-radius: var(--gkfc-radius-lg);
	background: linear-gradient(160deg, var(--gkfc-surface) 0%, var(--gkfc-bg-alt) 100%);
	box-shadow: var(--gkfc-shadow-sm, var(--gkfc-shadow));
}

/* Opportunities */
.gkfc-fzd-opps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }

.gkfc-fzd-opp {
	position: relative;
	padding: 1.1rem 1.1rem 1rem;
	border: 1px solid var(--fzd-line);
	border-radius: var(--gkfc-radius);
	background: rgba(255, 255, 255, 0.03);
}

.gkfc-fzd-opp__pts {
	display: inline-block;
	margin-bottom: 0.5rem;
	padding: 0.2rem 0.6rem;
	border-radius: 999px;
	background: rgba(255, 123, 43, 0.16);
	color: var(--gkfc-accent);
	font-family: var(--gkfc-font-heading);
	font-size: 0.82rem;
	font-weight: 800;
}

.gkfc-fzd-opp h4 {
	margin: 0 0 0.35rem;
	color: #fff;
	font-family: var(--gkfc-font-heading);
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.gkfc-fzd-opp p { margin: 0 0 0.7rem; color: var(--gkfc-text-muted); font-size: 0.85rem; line-height: 1.5; }

.gkfc-fzd-opp__cta {
	color: var(--gkfc-accent);
	font-family: var(--gkfc-font-heading);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.gkfc-fzd-opp--completed { opacity: 0.6; }
.gkfc-fzd-opp--completed .gkfc-fzd-opp__pts { background: rgba(255, 255, 255, 0.08); color: var(--gkfc-text-muted); }

/* Reward progress */
.gkfc-fzd-reward { display: flex; flex-direction: column; gap: 0.7rem; }

.gkfc-fzd-reward__media {
	border: 1px solid var(--fzd-line);
	border-radius: var(--gkfc-radius);
	overflow: hidden;
}

.gkfc-fzd-reward__media img { display: block; width: 100%; height: 130px; object-fit: cover; }

.gkfc-fzd-reward__top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }

.gkfc-fzd-reward__top h4 {
	margin: 0;
	color: #fff;
	font-family: var(--gkfc-font-heading);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.gkfc-fzd-reward__top span { color: var(--gkfc-accent); font-size: 0.82rem; font-weight: 700; }

.gkfc-fzd-reward__meta { color: var(--gkfc-text-muted); font-size: 0.8rem; }

/* Badges */
.gkfc-fzd-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.gkfc-fzd-badge {
	padding: 0.5rem 0.9rem;
	border: 1px solid rgba(255, 123, 43, 0.4);
	border-radius: 999px;
	background: rgba(255, 123, 43, 0.1);
	color: #fff;
	font-size: 0.8rem;
	font-weight: 600;
}

/* Passport preview */
.gkfc-fzd-passport {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	gap: 1.2rem;
	padding: 1.2rem;
	border: 1px solid rgba(255, 123, 43, 0.35);
	border-radius: var(--gkfc-radius);
	background: linear-gradient(135deg, rgba(131, 29, 33, 0.4), rgba(255, 255, 255, 0.03));
}

.gkfc-fzd-passport::after {
	content: "";
	position: absolute;
	right: -1.6rem;
	bottom: -2rem;
	width: 150px;
	height: 150px;
	background: url("../images/passport-seal.svg") center / contain no-repeat;
	opacity: 0.14;
	pointer-events: none;
}

.gkfc-fzd-passport__stamp,
.gkfc-fzd-passport__info { position: relative; z-index: 1; }

.gkfc-fzd-passport__stamp {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: 0 0 74px;
	width: 74px;
	height: 74px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--gkfc-primary), var(--gkfc-accent));
	color: #fff;
}

.gkfc-fzd-passport__stamp span { font-family: var(--gkfc-font-heading); font-size: 1.5rem; font-weight: 800; }
.gkfc-fzd-passport__stamp small { font-size: 0.58rem; letter-spacing: 0.14em; text-transform: uppercase; }

.gkfc-fzd-passport__info p { margin: 0; }
.gkfc-fzd-passport__info p:first-child { color: #fff; font-family: var(--gkfc-font-heading); font-weight: 700; }
.gkfc-fzd-passport__info p:last-child { margin-top: 0.25rem; color: var(--gkfc-text-muted); font-size: 0.82rem; }

/* Rank */
.gkfc-fzd-rank { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

.gkfc-fzd-rank__pos {
	font-family: var(--gkfc-font-heading);
	font-size: clamp(1.6rem, 5vw, 2.4rem);
	font-weight: 800;
	color: var(--gkfc-accent);
}

.gkfc-fzd-rank__info { flex: 1 1 auto; }
.gkfc-fzd-rank__info p { margin: 0; color: #fff; font-size: 0.92rem; }
.gkfc-fzd-rank__info .gkfc-fzd-rank__meta { color: var(--gkfc-text-muted); font-size: 0.8rem; }

.gkfc-fzd-rank__link {
	color: var(--gkfc-accent);
	font-family: var(--gkfc-font-heading);
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
}

/* Activity */
.gkfc-fzd-activity { margin-top: 0.2rem; }

/* Guard screen */
.gkfc-fzd-guard {
	max-width: 520px;
	margin: clamp(2rem, 6vw, 4rem) auto;
	padding: clamp(2rem, 5vw, 3rem);
	border: 1px solid rgba(255, 123, 43, 0.35);
	border-radius: var(--gkfc-radius-lg);
	background:
		linear-gradient(160deg, rgba(131, 29, 33, 0.55) 0%, rgba(16, 8, 9, 0.94) 72%),
		url("../images/guard-bg.svg") center / cover no-repeat;
	box-shadow: var(--gkfc-shadow);
	text-align: center;
}

.gkfc-fzd-guard h2 {
	margin: 0 0 0.6rem;
	color: #fff;
	font-family: var(--gkfc-font-heading);
	font-size: clamp(1.5rem, 4vw, 2.1rem);
	font-weight: 800;
	text-transform: uppercase;
}

.gkfc-fzd-guard p { margin: 0 0 1.4rem; color: var(--gkfc-text-muted); }

/* Email-verification gate */
.gkfc-fzd-guard--verify { border-color: rgba(255, 190, 92, 0.45); }

.gkfc-fzd-guard--verify .gkfc-fz-eyebrow { margin-bottom: 0.7rem; }

.gkfc-fzd-guard--verify p strong {
	color: var(--gkfc-text);
	font-weight: 700;
	word-break: break-word;
}

.gkfc-fzd-guard__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	justify-content: center;
	margin-bottom: 0.9rem !important;
}

.gkfc-fzd-guard__actions .gkfc-fz-btn {
	min-height: 48px;
	padding: 0 1.5rem;
}

.gkfc-fzd-guard__actions button.gkfc-fz-btn {
	font: inherit;
	cursor: pointer;
}

.gkfc-fzd-guard__actions button.gkfc-fz-btn[disabled] {
	opacity: 0.65;
	cursor: progress;
}

.gkfc-fzd-guard__note {
	margin: 0 !important;
	min-height: 1.3em;
	font-size: 0.85rem;
	font-weight: 600;
}

.gkfc-fzd-guard__note:empty { display: none; }

.gkfc-fzd-guard__note.is-ok { color: #7ee0a4; }
.gkfc-fzd-guard__note.is-err { color: #ff8a8a; }

.gkfc-fzd-guard__change { margin-bottom: 0.8rem !important; text-align: center; }

.gkfc-fzd-guard__change .gkfc-auth-link__btn {
	background: none;
	border: 0;
	padding: 0;
	color: var(--gkfc-link, #ff9d5c);
	font: inherit;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}

.gkfc-fzd-guard__change-panel:not([hidden]) {
	margin: 0 auto 1rem;
	max-width: 420px;
	text-align: left;
}

.gkfc-fzd-guard__change-panel .gkfc-field__err.is-ok,
.gkfc-fzd-settings .gkfc-field__err.is-ok { color: #7ee0a4; }

@media (max-width: 560px) {
	.gkfc-fzd-guard__actions { flex-direction: column; align-items: stretch; }
	.gkfc-fzd-guard__actions .gkfc-fz-btn { width: 100%; }
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
	.gkfc-fz-grid--6 { grid-template-columns: repeat(3, 1fr); }
	.gkfc-fz-grid--cards,
	.gkfc-fz-steps__list { grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
}

@media (max-width: 900px) {
	.gkfc-fz-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.gkfc-fz-journey__inner { grid-template-columns: 1fr; }
.gkfc-fz-grid--cards,
	.gkfc-fz-steps__list { grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }

	.gkfc-fzd-sidebar {
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		z-index: 90;
		width: min(84vw, 320px);
		border-radius: 0;
		overflow-y: auto;
		transform: translateX(-104%);
		transition: transform 0.3s var(--gkfc-ease);
	}

	.gkfc-fzd-sidebar:target { transform: none; }
	.gkfc-fzd-main { width: 100%; }
}

@media (max-width: 620px) {
	.gkfc-fz-grid--3,
	.gkfc-fz-grid--4,
	.gkfc-fz-grid--6 { grid-template-columns: 1fr; }
	.gkfc-fz-grid--cards,
	.gkfc-fz-steps__list { grid-template-columns: 1fr; }
	.gkfc-fz-journey__stats { grid-template-columns: repeat(2, 1fr); }
	.gkfc-fz-hero__actions { flex-direction: column; align-items: stretch; }
	.gkfc-fz-hero__actions .gkfc-btn,
	.gkfc-fz-btn {
		width: 100%;
		min-height: 48px;
		/* .gkfc-btn is white-space:nowrap with 0.08em tracking and
		   .gkfc-fz-btn pads 2.1rem per side, which made the longest
		   label ("Join BATTALIA - it's free") 312.8px wide - wider
		   than the 294.2px available inside the hero at 375px. Tighten
		   both so the label stays on one line and keeps a 48px target. */
		padding: 0.9rem 1.1rem;
		letter-spacing: 0.05em;
		text-align: center;
	}
	.gkfc-fz-board__row { grid-template-columns: 2.2rem minmax(0, 1fr) auto; gap: 0.7rem; padding: 0.9rem 1rem; }
	.gkfc-fz-passport__meta { flex-direction: column; gap: 0.4rem; }

	.gkfc-fzd-metrics { grid-template-columns: repeat(2, 1fr); }
	.gkfc-fzd-metrics--4 { grid-template-columns: repeat(2, 1fr); }
	.gkfc-fzd-opps { grid-template-columns: 1fr; }
	.gkfc-fzd-reward__top { flex-direction: column; gap: 0.3rem; }
}

/* At 360px and below the longest CTA label can no longer fit on one line,
   and .gkfc-btn's white-space:nowrap would then set a min-content floor
   wider than the screen, pushing the .gkfc-content grid track past the
   viewport (body clips overflow-x, so the right edge was cut off).
   Wrapping keeps the min-content floor at the longest single word.
   Above 360px there is at least 240px of content box for a 230px label,
   so the CTA stays on one line. */
@media (max-width: 360px) {
	.gkfc-fz-hero__actions .gkfc-btn,
	.gkfc-fz-btn {
		white-space: normal;
		text-wrap: balance;
	}
}

/* ---------- Motion safety ---------- */

@media (prefers-reduced-motion: reduce) {
	.gkfc-fz-hero::after,
	.gkfc-fz-cta__glow,
	.gkfc-fan-auth__brand::before,
	.gkfc-fan-auth__brand::after,
	.gkfc-fan-auth__logo,
	.gkfc-fan-auth__panel.is-active { animation: none; }
	.gkfc-fz-hero__actions .gkfc-btn,
	.gkfc-fz-feature,
	.gkfc-fz-stat,
	.gkfc-zone-links a,
	.gkfc-fz-prop,
	.gkfc-fz-step,
	.gkfc-fz-reward,
	.gkfc-fz-badge,
	.gkfc-fz-cta__chip,
	.gkfc-fzd-progress > span { transition: none; transform: none; }
	.gkfc-fz [data-reveal],
	.gkfc-fzd [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Fan dashboard: Settings ---------- */

.gkfc-fzd-settings { display: flex; flex-direction: column; gap: 1.1rem; color-scheme: dark; }

.gkfc-fzd-settings__lead { margin: 0; color: var(--gkfc-text-muted); font-size: 0.9rem; line-height: 1.5; }

.gkfc-fzd-settings form { display: flex; flex-direction: column; gap: 1rem; }

.gkfc-fzd-settings__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }

.gkfc-fzd-settings .gkfc-field { margin: 0; }

.gkfc-fzd-settings label {
	display: block;
	margin-bottom: 0.45rem;
	color: var(--gkfc-text-muted);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.gkfc-fzd-settings input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
.gkfc-fzd-settings input[type="text"],
.gkfc-fzd-settings input[type="tel"],
.gkfc-fzd-settings input[type="date"],
.gkfc-fzd-settings input[type="password"],
.gkfc-fzd-settings select {
	width: 100%;
	min-height: 46px;
	padding: 0.75rem 0.9rem;
	background: var(--gkfc-surface-2);
	border: 1px solid var(--gkfc-border-dark);
	border-radius: 8px;
	color: var(--gkfc-text);
	font-family: inherit;
	font-size: 0.95rem;
	transition: border-color var(--gkfc-speed) var(--gkfc-ease), box-shadow var(--gkfc-speed) var(--gkfc-ease);
}

.gkfc-fzd-settings input::placeholder { color: rgba(255, 255, 255, 0.35); }

.gkfc-fzd-settings input:focus,
.gkfc-fzd-settings select:focus {
	outline: none;
	border-color: var(--gkfc-accent);
	box-shadow: 0 0 0 3px rgba(255, 123, 43, 0.18);
}

.gkfc-fzd-settings input.is-invalid,
.gkfc-fzd-settings input[aria-invalid="true"],
.gkfc-fzd-settings select.is-invalid {
	border-color: #ff6b6b;
	box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.16);
}

.gkfc-fzd-settings .gkfc-field__err {
	margin: 0.4rem 0 0;
	color: #ff8a8a;
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1.35;
}

.gkfc-fzd-settings .gkfc-field__err:empty { display: none; }

.gkfc-fzd-settings .gkfc-field__wrap { position: relative; }

.gkfc-fzd-settings .gkfc-field__wrap input { padding-right: 4.6rem; }

.gkfc-fzd-settings .gkfc-pass-toggle {
	position: absolute;
	right: 0.3rem;
	top: 50%;
	transform: translateY(-50%);
	min-height: 34px;
	padding: 0 0.6rem;
	border: 0;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.06);
	color: var(--gkfc-text-muted);
	font-family: var(--gkfc-font-heading);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: color var(--gkfc-speed) var(--gkfc-ease), background var(--gkfc-speed) var(--gkfc-ease);
}

.gkfc-fzd-settings .gkfc-pass-toggle:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }
.gkfc-fzd-settings .gkfc-pass-toggle[aria-pressed="true"] { color: var(--gkfc-accent); }
.gkfc-fzd-settings .gkfc-pass-toggle:focus-visible { outline: 2px solid var(--gkfc-accent); outline-offset: 1px; }

.gkfc-fzd-settings__msg {
	margin: 0;
	padding: 0.75rem 0.95rem;
	border-radius: 8px;
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.45;
	display: none;
}

.gkfc-fzd-settings__msg.is-error { display: block; background: rgba(183, 28, 28, 0.16); color: #ff8a8a; }
.gkfc-fzd-settings__msg.is-ok { display: block; background: rgba(27, 94, 32, 0.22); color: #a5e0ab; }

.gkfc-fzd-settings__submit {
	align-self: flex-start;
	padding: 0.8rem 1.6rem;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--gkfc-primary), var(--gkfc-accent));
	color: #fff;
	font-family: var(--gkfc-font-heading);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
}

.gkfc-fzd-settings__divider { width: 100%; border: 0; border-top: 1px solid var(--fzd-line); }

.gkfc-fzd-settings__subhead {
	margin: 0;
	color: #fff;
	font-family: var(--gkfc-font-heading);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.gkfc-fzd-settings__hint { margin: 0; color: var(--gkfc-text-muted); font-size: 0.88rem; line-height: 1.5; }

@media (max-width: 620px) {
	.gkfc-fzd-settings__row { grid-template-columns: 1fr; }
	.gkfc-fzd-settings__submit { align-self: stretch; }
}

/* ---------- Fan auth: State / District selects ---------- */

.gkfc-fan-auth select {
	width: 100%;
	min-height: 48px;
	padding: 0.85rem 1rem;
	background: var(--gkfc-surface-2);
	border: 1px solid var(--gkfc-border-dark);
	border-radius: 8px;
	color: var(--gkfc-text);
	font-family: inherit;
	font-size: 0.98rem;
	color-scheme: dark;
	transition: border-color var(--gkfc-speed) var(--gkfc-ease), box-shadow var(--gkfc-speed) var(--gkfc-ease);
}

.gkfc-fan-auth select:focus {
	outline: none;
	border-color: var(--gkfc-accent);
	box-shadow: 0 0 0 3px rgba(255, 123, 43, 0.18);
}

.gkfc-fan-auth select.is-invalid {
	border-color: #ff6b6b;
	box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.16);
}

/* ---------- Fan dashboard: locked Country chip ---------- */

.gkfc-fzd-settings .gkfc-field--locked { display: flex; flex-direction: column; justify-content: flex-end; }

.gkfc-fzd-settings__locked {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: 0.55rem;
	min-height: 46px;
	margin: 0;
	padding: 0.6rem 0.9rem;
	border: 1px dashed var(--gkfc-border-dark);
	border-radius: 8px;
	background: var(--gkfc-surface-2);
	color: var(--gkfc-text);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.05em;
}

.gkfc-fzd-settings__flag { font-size: 1.2rem; line-height: 1; }

.gkfc-fzd-settings__locked span {
	color: var(--gkfc-text-muted);
	font-size: 0.66rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* ---------- Fan dashboard: Logout ghost pill ---------- */

.gkfc-fzd-sidebar__foot .gkfc-logout-form button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	width: 100%;
	margin-top: 0.5rem;
	padding: 0.6rem 1.2rem;
	border: 1px solid var(--gkfc-border-dark);
	border-radius: 999px;
	background: transparent;
	color: var(--gkfc-text-muted);
	font-family: var(--gkfc-font-heading);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
	transition: color var(--gkfc-speed) var(--gkfc-ease), border-color var(--gkfc-speed) var(--gkfc-ease), background var(--gkfc-speed) var(--gkfc-ease);
}

.gkfc-fzd-sidebar__foot .gkfc-logout-form .gkfc-app-icon {
	width: 15px;
	height: 15px;
	flex: 0 0 auto;
}

.gkfc-fzd-sidebar__foot .gkfc-logout-form button:hover,
.gkfc-fzd-sidebar__foot .gkfc-logout-form button:focus-visible {
	color: #ff8a8a;
	border-color: rgba(255, 120, 120, 0.55);
	background: rgba(255, 120, 120, 0.08);
}
/* ---------- Standalone /fan-settings/ page ---------- */

.gkfc-fzd--settings-page {
	max-width: 720px;
	margin: 0 auto;
	padding: clamp(1.75rem, 4vw, 3rem) 0 3.5rem;
}

.gkfc-fzd-settings-guard {
	max-width: 560px;
	margin: clamp(3rem, 10vw, 6rem) auto;
}

/* ---------- /fan-settings/ layout + UI/UX pass ---------- */

.gkfc-fzd--settings-page { max-width: 960px; }

.gkfc-fzd-settings__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	align-items: start;
}

.gkfc-fzd-settings__card { min-width: 0; }

.gkfc-fzd-settings__card-head { margin-bottom: 1.1rem; }

.gkfc-fzd-settings__card-head h3 {
	margin: 0;
	color: #fff;
	font-family: var(--gkfc-font-heading);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.gkfc-fzd-settings__card-head h3::after {
	content: "";
	display: block;
	width: 28px;
	height: 2px;
	margin: 0.5rem 0 0;
	border-radius: 999px;
	background: var(--gkfc-accent);
}

.gkfc-fzd-settings__card-head p {
	margin: 0.6rem 0 0;
	color: var(--gkfc-text-muted);
	font-size: 0.85rem;
	line-height: 1.5;
}

.gkfc-fzd-settings .gkfc-field__meter { margin: 0.6rem 0 0; }

.gkfc-fzd-settings .gkfc-field__meter-bar {
	display: block;
	height: 5px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	overflow: hidden;
}

.gkfc-fzd-settings .gkfc-field__meter-fill {
	display: block;
	height: 100%;
	width: 0;
	border-radius: 999px;
	background: #ff6b6b;
	transition: width 0.25s var(--gkfc-ease), background 0.25s var(--gkfc-ease);
}

.gkfc-fzd-settings .gkfc-field__meter-text {
	margin: 0.35rem 0 0;
	color: var(--gkfc-text-muted);
	font-size: 0.75rem;
	font-weight: 600;
}

.gkfc-fzd-settings .gkfc-field__meter[data-score="2"] .gkfc-field__meter-fill { background: #ffb648; }
.gkfc-fzd-settings .gkfc-field__meter[data-score="3"] .gkfc-field__meter-fill { background: #a3e635; }
.gkfc-fzd-settings .gkfc-field__meter[data-score="4"] .gkfc-field__meter-fill { background: #4ade80; }

.gkfc-fzd-settings__submit {
	transition: filter var(--gkfc-speed) var(--gkfc-ease), transform var(--gkfc-speed) var(--gkfc-ease), box-shadow var(--gkfc-speed) var(--gkfc-ease);
}

.gkfc-fzd-settings__submit:hover {
	filter: brightness(1.12);
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(255, 123, 43, 0.25);
}

.gkfc-fzd-settings__submit:focus-visible {
	outline: 2px solid var(--gkfc-accent);
	outline-offset: 3px;
}

.gkfc-fzd-settings__submit:disabled,
.gkfc-fzd-settings__submit.is-loading {
	opacity: 0.6;
	cursor: wait;
	transform: none;
	box-shadow: none;
}

@media (max-width: 979px) {
	.gkfc-fzd-settings__grid { grid-template-columns: 1fr; }
	.gkfc-fzd-settings__submit { align-self: stretch; }
}

/* ---------- /fan-settings/ profile + security rearrangement ---------- */

.gkfc-fzd-settings__grid { align-items: stretch; }

.gkfc-fzd-settings__card { display: flex; flex-direction: column; }

.gkfc-fzd-settings__card form { flex: 1; }

.gkfc-fzd-settings__actions {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	margin-top: auto;
}

.gkfc-fzd-settings__phone-wrap { position: relative; }

.gkfc-fzd-settings__phone-wrap input { padding-left: 3.4rem; }

.gkfc-fzd-settings__phone-prefix {
	position: absolute;
	left: 0.9rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--gkfc-text-muted);
	font-size: 0.95rem;
	font-weight: 700;
	pointer-events: none;
}

/* ---------- /fan-settings/ single-column guided pass ---------- */

.gkfc-fzd-settings--guided {
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.gkfc-fzd-settings--guided .gkfc-fzd-settings__card { display: flex; flex-direction: column; }

.gkfc-fzd-settings__row--full { grid-template-columns: 1fr; }

.gkfc-fzd-settings__group {
	padding-top: 1.35rem;
	margin-top: 1.35rem;
	border-top: 1px solid var(--fzd-line);
}

.gkfc-fzd-settings__card--profile .gkfc-fzd-settings__group:first-child {
	padding-top: 0;
	margin-top: 0;
	border-top: 0;
}

.gkfc-fzd-settings__group-label {
	margin: 0;
	color: #fff;
	font-family: var(--gkfc-font-heading);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.gkfc-fzd-settings__group-label::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 0.55rem;
	border-radius: 2px;
	background: var(--gkfc-accent);
	transform: translateY(-1px);
}

.gkfc-fzd-settings__group-help {
	margin: 0.4rem 0 0.95rem;
	color: var(--gkfc-text-muted);
	font-size: 0.85rem;
	line-height: 1.5;
}

.gkfc-fzd-settings__req {
	color: var(--gkfc-accent);
	font-weight: 700;
}

/* ---------- /fan-settings/ two-column dashboard layout ---------- */

.gkfc-fzd-settings--guided {
	max-width: 100%;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
	align-items: stretch;
}

@media (max-width: 899px) {
	.gkfc-fzd-settings--guided { grid-template-columns: 1fr; }
}

/* ---------- /fan-settings/ full-width title band ---------- */

.gkfc-fzd--settings-page { max-width: none; }

.gkfc-fzd-settings--guided {
	max-width: 960px;
	margin: 0 auto;
}

/* ---------- /fan-settings/ stack header above settings ---------- */

.gkfc-fzd--settings-page {
	align-items: flex-start;
}

/* Content column across the member side panel / drawer. */
.gkfc-fzd-settings-page__body {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}

/* -- Party popper (fan registration success) ------------------- */

.gkfc-confetti {
	position: fixed;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 2147483000;
}

.gkfc-confetti__piece {
	position: absolute;
	border-radius: 2px;
	opacity: 0;
	animation-name: gkfc-confetti-fall;
	animation-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
	animation-fill-mode: forwards;
}

.gkfc-confetti__piece--round {
	border-radius: 50%;
}

@keyframes gkfc-confetti-fall {
	0% { opacity: 1; transform: translate(0, 0) rotate(0deg); }
	70% { opacity: 1; }
	100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); }
}

/* ============================================================
   BATTALIA Match Discussions (/fan-dashboard/ → Discussion)
   ============================================================ */

.gkfc-fzd-discussion { min-width: 0; }

.gkfc-disc-layout {
	display: grid;
	grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
	gap: clamp(0.9rem, 2vw, 1.2rem);
	align-items: start;
}

.gkfc-disc-avatar {
	display: inline-flex;
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid var(--fzd-line);
	background: linear-gradient(160deg, var(--gkfc-surface-2), var(--gkfc-primary));
}

.gkfc-disc-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.gkfc-disc-avatar--crest {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-family: var(--gkfc-font-heading);
	font-size: 0.9rem;
	font-weight: 800;
	letter-spacing: 0.05em;
}

.gkfc-disc-avatar--sm { width: 34px; height: 34px; }
.gkfc-disc-avatar--xs { width: 26px; height: 26px; border-width: 1px; }

/* Completed matches list */
.gkfc-disc-matches__label {
	margin: 0 0 0.55rem;
	color: var(--gkfc-text-muted);
	font-family: var(--gkfc-font-heading);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.gkfc-disc-matches__list { display: flex; flex-direction: column; gap: 0.5rem; }

.gkfc-disc-matches.is-collapsed { display: none; }

.gkfc-disc-layout--full { grid-template-columns: minmax(0, 1fr); }

.gkfc-disc-feed__bar {
	display: flex;
	align-items: center;
	gap: 0.45rem;
}

.gkfc-disc-feed__bar-label {
	margin-left: auto;
	color: var(--gkfc-text-muted);
	font-family: var(--gkfc-font-heading);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.gkfc-disc-panel-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.4rem 0.8rem;
	border: 1px solid var(--fzd-line);
	border-radius: 999px;
	background: transparent;
	color: var(--gkfc-text);
	font-family: var(--gkfc-font-heading);
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1;
	text-transform: uppercase;
	cursor: pointer;
	transition: border-color var(--gkfc-speed) var(--gkfc-ease), color var(--gkfc-speed) var(--gkfc-ease), background var(--gkfc-speed) var(--gkfc-ease);
}

.gkfc-disc-panel-toggle:hover { border-color: var(--gkfc-accent); color: var(--gkfc-accent); }

.gkfc-disc-panel-toggle__arrow {
	width: 7px;
	height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform var(--gkfc-speed) var(--gkfc-ease);
}

.gkfc-disc-layout--full .gkfc-disc-panel-toggle__arrow { transform: rotate(225deg); }

.gkfc-disc-matches__btn {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-rows: auto auto;
	gap: 0.15rem 0.6rem;
	width: 100%;
	padding: 0.75rem 0.85rem;
	border: 1px solid var(--fzd-line);
	border-radius: var(--gkfc-radius);
	background: rgba(255, 255, 255, 0.03);
	color: var(--gkfc-text);
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: border-color var(--gkfc-speed) var(--gkfc-ease), background var(--gkfc-speed) var(--gkfc-ease);
}

.gkfc-disc-matches__btn:hover { border-color: var(--gkfc-accent); }

.gkfc-disc-matches__btn.is-active {
	border-color: var(--gkfc-accent);
	background: rgba(255, 123, 43, 0.1);
	box-shadow: 0 0 0 1px var(--gkfc-accent) inset;
}

.gkfc-disc-matches__fixture {
	grid-column: 1;
	grid-row: 1;
	overflow: hidden;
	color: #fff;
	font-size: 0.85rem;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.gkfc-disc-matches__score {
	grid-column: 2;
	grid-row: 1;
	align-self: center;
	color: var(--gkfc-accent);
	font-family: var(--gkfc-font-heading);
	font-size: 0.95rem;
	font-weight: 800;
}

.gkfc-disc-matches__date {
	grid-column: 1 / -1;
	grid-row: 2;
	color: var(--gkfc-text-muted);
	font-size: 0.72rem;
}

/* Timeline feed */
.gkfc-disc-feed {
	display: flex;
	flex-direction: column;
	gap: clamp(0.9rem, 2vw, 1.2rem);
	min-width: 0;
	border: 1px solid var(--fzd-line);
	border-radius: var(--gkfc-radius-lg);
	padding: clamp(1rem, 2.4vw, 1.4rem);
	background: linear-gradient(160deg, var(--gkfc-surface) 0%, var(--gkfc-bg-alt) 100%);
}

.gkfc-disc-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem 1rem;
	padding-bottom: 0.9rem;
	border-bottom: 1px solid var(--fzd-line);
}

.gkfc-disc-head__match { color: #fff; font-family: var(--gkfc-font-heading); font-size: 1.05rem; font-weight: 800; }

.gkfc-disc-head__score { color: var(--gkfc-accent); font-family: var(--gkfc-font-heading); font-weight: 800; }

.gkfc-disc-head__meta { margin-left: auto; color: var(--gkfc-text-muted); font-size: 0.78rem; }

.gkfc-disc-head__meta span { color: var(--fzd-line); }

/* Composer */
.gkfc-disc-composer {
	display: flex;
	gap: 0.7rem;
	padding: 0.9rem;
	border: 1px solid var(--fzd-line);
	border-radius: var(--gkfc-radius);
	background: rgba(255, 255, 255, 0.03);
}

.gkfc-disc-composer__body { flex: 1 1 auto; min-width: 0; }

.gkfc-disc-composer textarea {
	width: 100%;
	min-height: 54px;
	resize: vertical;
	padding: 0.55rem 0.6rem;
	border: 1px solid var(--fzd-line);
	border-radius: var(--gkfc-radius);
	background: var(--gkfc-surface);
	color: var(--gkfc-text);
	font: inherit;
	font-size: 0.9rem;
}

.gkfc-disc-composer textarea:focus { border-color: var(--gkfc-accent); outline: none; }

.gkfc-disc-composer textarea::placeholder { color: var(--gkfc-text-muted); }

.gkfc-disc-composer__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.55rem;
	margin-top: 0.55rem;
}

.gkfc-disc-composer__submit {
	margin-left: auto;
	padding: 0.5rem 1.1rem;
	border: 0;
	border-radius: 999px;
	background: var(--gkfc-accent);
	color: #1a0e02;
	font-family: var(--gkfc-font-heading);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform var(--gkfc-speed) var(--gkfc-ease), opacity var(--gkfc-speed) var(--gkfc-ease);
}

.gkfc-disc-composer__submit:hover { transform: translateY(-1px); }
.gkfc-disc-composer__submit:disabled { opacity: 0.55; cursor: default; transform: none; }

/* Photo picker */
.gkfc-disc-photo { display: flex; align-items: center; gap: 0.5rem; }

.gkfc-disc-photo__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.45rem 0.8rem;
	border: 1px solid var(--fzd-line);
	border-radius: 999px;
	background: transparent;
	color: var(--gkfc-text-muted);
	font-size: 0.8rem;
	cursor: pointer;
	transition: border-color var(--gkfc-speed) var(--gkfc-ease), color var(--gkfc-speed) var(--gkfc-ease);
}

.gkfc-disc-photo__btn:hover { border-color: var(--gkfc-accent); color: #fff; }

.gkfc-disc-photo__preview { display: inline-flex; align-items: center; gap: 0.35rem; }

.gkfc-disc-photo__preview img { width: 44px; height: 44px; border-radius: var(--gkfc-radius); object-fit: cover; }

.gkfc-disc-photo__preview button {
	width: 20px;
	height: 20px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 0.85rem;
	line-height: 1;
	cursor: pointer;
}

/* Mood strip */
.gkfc-disc-mood { display: inline-flex; gap: 0.2rem; }

.gkfc-disc-mood__btn {
	width: 32px;
	height: 32px;
	border: 1px solid var(--fzd-line);
	border-radius: 50%;
	background: transparent;
	font-size: 1.05rem;
	line-height: 1;
	cursor: pointer;
	opacity: 0.55;
	filter: grayscale(1);
	transition: opacity var(--gkfc-speed) var(--gkfc-ease), transform var(--gkfc-speed) var(--gkfc-ease), border-color var(--gkfc-speed) var(--gkfc-ease);
}

.gkfc-disc-mood__btn:hover,
.gkfc-disc-mood__btn.is-active { opacity: 1; filter: none; transform: translateY(-2px); border-color: var(--gkfc-accent); }

/* Composer message + hidden utility */
.gkfc-disc-composer__hint { margin: 0.35rem 0 0; font-size: 0.75rem; color: var(--gkfc-text-muted); }

.gkfc-disc-composer__msg { margin: 0.5rem 0 0; font-size: 0.8rem; }
.gkfc-disc-composer__msg.is-error { color: #ff6b6b; }
.gkfc-disc-composer__msg.is-ok { color: #4cd07d; }
.gkfc-disc-composer__msg[hidden],
.gkfc-disc-photo__preview[hidden],
.gkfc-disc-replies[hidden],
.gkfc-disc-reply-form[hidden],
.gkfc-disc-report__menu[hidden] { display: none !important; }

/* Posts */
.gkfc-disc-posts { display: flex; flex-direction: column; gap: 0.4rem; }

.gkfc-disc-posts__list { display: flex; flex-direction: column; gap: 0.9rem; }

.gkfc-disc-empty { margin: 0; }

.gkfc-disc-post {
	padding: 0.9rem;
	border: 1px solid var(--fzd-line);
	border-radius: var(--gkfc-radius);
	background: rgba(255, 255, 255, 0.03);
}

.gkfc-disc-post__head { display: flex; align-items: center; gap: 0.65rem; }

.gkfc-disc-post__who { display: flex; flex-direction: column; min-width: 0; }

.gkfc-disc-post__name { color: #fff; font-size: 0.88rem; font-weight: 700; }

.gkfc-disc-post__time { color: var(--gkfc-text-muted); font-size: 0.72rem; }

.gkfc-disc-post__mood { margin-left: auto; align-self: flex-start; font-size: 1.05rem; }

.gkfc-disc-post__text { margin: 0.65rem 0 0; color: var(--gkfc-text); font-size: 0.92rem; line-height: 1.55; overflow-wrap: anywhere; }

.gkfc-disc-post__photo { display: block; margin-top: 0.65rem; border-radius: var(--gkfc-radius); overflow: hidden; }

.gkfc-disc-post__photo img { display: block; width: 100%; max-height: 460px; object-fit: cover; }

/* Post actions */
.gkfc-disc-post__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-top: 0.7rem;
	padding-top: 0.7rem;
	border-top: 1px solid var(--fzd-line);
}

.gkfc-disc-react { display: flex; flex-wrap: wrap; gap: 0.3rem; }

.gkfc-disc-react__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.28rem 0.6rem;
	border: 1px solid var(--fzd-line);
	border-radius: 999px;
	background: transparent;
	color: var(--gkfc-text-muted);
	font-size: 0.8rem;
	line-height: 1;
	cursor: pointer;
	transition: border-color var(--gkfc-speed) var(--gkfc-ease), background var(--gkfc-speed) var(--gkfc-ease), color var(--gkfc-speed) var(--gkfc-ease);
}

.gkfc-disc-react__btn:hover { border-color: var(--gkfc-accent); color: #fff; }

.gkfc-disc-react__btn.is-active {
	border-color: var(--gkfc-accent);
	background: rgba(255, 123, 43, 0.14);
	color: #fff;
}

.gkfc-disc-react__emoji { font-size: 0.95rem; }
.gkfc-disc-react__count { font-variant-numeric: tabular-nums; }

.gkfc-disc-post__tools { display: inline-flex; align-items: center; gap: 0.4rem; }

.gkfc-disc-tool {
	padding: 0.28rem 0.6rem;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--gkfc-text-muted);
	font-size: 0.78rem;
	cursor: pointer;
	transition: color var(--gkfc-speed) var(--gkfc-ease), background var(--gkfc-speed) var(--gkfc-ease);
}

.gkfc-disc-tool:hover { color: var(--gkfc-accent); background: rgba(255, 123, 43, 0.1); }
.gkfc-disc-tool.gkfc-disc-report--done { color: #4cd07d; }

.gkfc-disc-reportwrap { position: relative; }

.gkfc-disc-report__menu {
	position: absolute;
	right: 0;
	bottom: calc(100% + 6px);
	z-index: 20;
	min-width: 190px;
	padding: 0.35rem;
	border: 1px solid var(--fzd-line);
	border-radius: var(--gkfc-radius);
	background: var(--gkfc-surface-2);
	box-shadow: var(--gkfc-shadow);
	animation: gkfc-disc-pop 0.16s var(--gkfc-ease);
}

@keyframes gkfc-disc-pop { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.gkfc-disc-report__menu button {
	display: block;
	width: 100%;
	padding: 0.5rem 0.65rem;
	border: 0;
	border-radius: var(--gkfc-radius);
	background: transparent;
	color: var(--gkfc-text);
	font: inherit;
	font-size: 0.82rem;
	text-align: left;
	cursor: pointer;
}

.gkfc-disc-report__menu button:hover { background: rgba(255, 123, 43, 0.12); color: #fff; }

/* Own-post options (3-dot menu: Edit Message / Delete Message) */
.gkfc-disc-post__ownmenu { position: relative; display: inline-flex; flex-shrink: 0; }

.gkfc-disc-post__kebab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--gkfc-text-muted);
	cursor: pointer;
	transition: color var(--gkfc-speed) var(--gkfc-ease), background var(--gkfc-speed) var(--gkfc-ease);
}

.gkfc-disc-post__kebab:hover,
.gkfc-disc-post__kebab:focus-visible { color: #fff; background: rgba(255, 123, 43, 0.14); }

.gkfc-disc-post__kebab-icon { width: 20px; height: 20px; fill: currentColor; }

.gkfc-disc-post__menu {
	position: absolute;
	right: 0;
	top: calc(100% + 6px);
	z-index: 20;
	min-width: 190px;
	padding: 0.35rem;
	border: 1px solid var(--fzd-line);
	border-radius: var(--gkfc-radius);
	background: var(--gkfc-surface-2);
	box-shadow: var(--gkfc-shadow);
	animation: gkfc-disc-pop 0.16s var(--gkfc-ease);
}

.gkfc-disc-post__menu[hidden] { display: none !important; }

.gkfc-disc-post__menu button {
	display: block;
	width: 100%;
	padding: 0.5rem 0.65rem;
	border: 0;
	border-radius: var(--gkfc-radius);
	background: transparent;
	color: var(--gkfc-text);
	font: inherit;
	font-size: 0.82rem;
	text-align: left;
	cursor: pointer;
}

.gkfc-disc-post__menu button:hover { background: rgba(255, 123, 43, 0.12); color: #fff; }

.gkfc-disc-post__menu .gkfc-disc-post__menu-danger { color: #ff6b6b; }

.gkfc-disc-post__menu .gkfc-disc-post__menu-danger:hover { background: rgba(255, 107, 107, 0.14); color: #ff8a8a; }

.gkfc-disc-post__menu .gkfc-disc-post__menu-danger.is-confirming { background: rgba(255, 107, 107, 0.2); color: #fff; }

/* "(edited)" marker + inline edit block */
.gkfc-disc-post__edited { display: inline-block; margin-top: 0.1rem; color: var(--gkfc-text-muted); font-size: 0.66rem; font-style: italic; }

.gkfc-disc-post__edit { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.65rem; }

.gkfc-disc-post__edit-input {
	width: 100%;
	padding: 0.6rem 0.7rem;
	border: 1px solid var(--fzd-line);
	border-radius: var(--gkfc-radius);
	background: rgba(255, 255, 255, 0.04);
	color: var(--gkfc-text);
	font: inherit;
	font-size: 0.92rem;
	line-height: 1.5;
	resize: vertical;
}

.gkfc-disc-post__edit-input:focus { outline: none; border-color: var(--gkfc-accent); }

.gkfc-disc-post__edit-actions { display: flex; align-items: center; gap: 0.5rem; }

.gkfc-disc-tool.gkfc-disc-edit-save { background: rgba(255, 123, 43, 0.14); color: var(--gkfc-accent); }

.gkfc-disc-tool.gkfc-disc-edit-save:hover { background: linear-gradient(135deg, var(--gkfc-primary), var(--gkfc-accent)); color: #fff; }

/* Replies */
.gkfc-disc-replies {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	margin-top: 0.7rem;
	padding: 0.7rem 0.8rem;
	border-radius: var(--gkfc-radius);
	background: rgba(0, 0, 0, 0.18);
}

.gkfc-disc-reply { display: flex; gap: 0.5rem; }

.gkfc-disc-reply__body { flex: 1 1 auto; min-width: 0; }

.gkfc-disc-reply__name { color: var(--gkfc-text-muted); font-size: 0.72rem; font-weight: 700; }

.gkfc-disc-reply__text { margin: 0.1rem 0 0; color: var(--gkfc-text); font-size: 0.84rem; line-height: 1.5; overflow-wrap: anywhere; }

.gkfc-disc-reply__time { color: var(--gkfc-text-muted); font-size: 0.68rem; }

.gkfc-disc-reply-form { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.7rem; }

.gkfc-disc-reply-form input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0.5rem 0.6rem;
	border: 1px solid var(--fzd-line);
	border-radius: var(--gkfc-radius);
	background: var(--gkfc-surface);
	color: var(--gkfc-text);
	font: inherit;
	font-size: 0.84rem;
}

.gkfc-disc-reply-form input:focus { border-color: var(--gkfc-accent); outline: none; }

.gkfc-disc-reply-form button {
	padding: 0.5rem 0.9rem;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 123, 43, 0.16);
	color: var(--gkfc-accent);
	font-family: var(--gkfc-font-heading);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	cursor: pointer;
}

/* Load more */
.gkfc-disc-more {
	align-self: center;
	margin-top: 0.4rem;
	padding: 0.5rem 1.1rem;
	border: 1px solid var(--fzd-line);
	border-radius: 999px;
	background: transparent;
	color: var(--gkfc-text-muted);
	font-size: 0.78rem;
	cursor: pointer;
	transition: border-color var(--gkfc-speed) var(--gkfc-ease), color var(--gkfc-speed) var(--gkfc-ease);
}

.gkfc-disc-more:hover { border-color: var(--gkfc-accent); color: #fff; }

.gkfc-disc-more--replies { align-self: flex-start; margin: 0; font-size: 0.74rem; }

@media (max-width: 900px) {
	.gkfc-disc-layout { grid-template-columns: 1fr; }

	/* Match picker becomes a horizontal swipable chip strip. */
	.gkfc-disc-matches__list {
		flex-direction: row;
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: 0.3rem;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}
	.gkfc-disc-matches__list::-webkit-scrollbar { display: none; }
	.gkfc-disc-matches__btn {
		flex: 0 0 auto;
		width: auto;
		min-width: 190px;
		padding: 0.55rem 0.75rem;
	}
	.gkfc-disc-matches__fixture { max-width: 11rem; }
	.gkfc-disc-matches__date { display: none; }

	/* Zero-count reaction badges are hidden on mobile; desktop keeps them. */
	.gkfc-disc-react__btn.is-zero { display: none; }

	/* Timeline head reads better stacked on small screens. */
	.gkfc-disc-head { flex-direction: column; align-items: flex-start; gap: 0.3rem; }
	.gkfc-disc-head__meta { margin-left: 0; }
}

/* ============================================================
   BATTALIA Fan Zone — mobile member-nav drawer + page head
   ============================================================ */

/* Off-canvas menu trigger (only visible below 900px). */
.gkfc-fzd-menu-btn {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	flex-shrink: 0;
	padding: 0.55rem 0.9rem;
	border: 1px solid rgba(255, 123, 43, 0.55);
	border-radius: 999px;
	background: rgba(255, 123, 43, 0.06);
	color: var(--gkfc-accent);
	font-family: var(--gkfc-font-heading);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1;
	text-transform: uppercase;
	cursor: pointer;
	transition: color var(--gkfc-speed) var(--gkfc-ease), background var(--gkfc-speed) var(--gkfc-ease), border-color var(--gkfc-speed) var(--gkfc-ease);
}

.gkfc-fzd-menu-btn:hover,
.gkfc-fzd-menu-btn:focus-visible {
	background: linear-gradient(135deg, var(--gkfc-primary), var(--gkfc-accent));
	border-color: transparent;
	color: #fff;
}

.gkfc-fzd-menu__icon { width: 16px; height: 16px; fill: currentColor; }

/* Drawer close button */
.gkfc-fzd-sidebar__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.8rem;
}

.gkfc-fzd-sidebar__head .gkfc-fzd-brand { margin-bottom: 0; }

.gkfc-fzd-nav-close {
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	color: var(--gkfc-text-muted);
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	transition: color var(--gkfc-speed) var(--gkfc-ease), background var(--gkfc-speed) var(--gkfc-ease);
}

.gkfc-fzd-nav-close:hover,
.gkfc-fzd-nav-close:focus-visible { color: #fff; background: rgba(255, 123, 43, 0.14); }

/* Scrim behind the open drawer */
.gkfc-fzd-scrim {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 89;
	background: rgba(4, 2, 2, 0.6);
	backdrop-filter: blur(2px);
}

body.gkfc-fzd-menu-open { overflow: hidden; }

@media (max-width: 900px) {
	.gkfc-fzd-menu-btn { display: inline-flex; }
	body.gkfc-fzd-menu-open .gkfc-fzd-sidebar { transform: none; box-shadow: 22px 0 60px rgba(0, 0, 0, 0.45); }
	body.gkfc-fzd-menu-open .gkfc-fzd-scrim { display: block; }

	/* Mobile-only polish for the dashboard header card: tighter padding,
	   smaller avatar/type and a cap on the greeting so the row reads as
	   one compact block instead of competing with the bottom nav. Desktop
	   keeps the exact existing layout. */
	.gkfc-fzd-header { padding: clamp(1rem, 3vw, 1.3rem); gap: 0.8rem; }
	.gkfc-fzd-header .gkfc-fzd-name { font-size: clamp(1.25rem, 5vw, 1.6rem); }
	.gkfc-fzd-header .gkfc-fzd-avatar { width: 54px; height: 54px; font-size: 1.15rem; }
	.gkfc-fzd-header .gkfc-fzd-hello { font-size: 0.72rem; }
	.gkfc-fzd-header .gkfc-fzd-sub { font-size: 0.78rem; }
}

/* Desktop uses the old sticky side panel; the drawer close button is
   a mobile-only affordance. */
@media (min-width: 901px) {
	.gkfc-fzd-nav-close { display: none; }
	.gkfc-fzd-sidebar__head { margin-bottom: 1.1rem; }
}

/* ---------- /fan-discussion/ + /fan-settings/ + /fan-zone/ pages ---------- */

.gkfc-fzd--settings-page { padding-top: clamp(1.1rem, 2.5vw, 1.75rem); padding-bottom: 2.25rem; }

/* Per-page title block that sits below the shared identity header. */
.gkfc-fzd-page-title { margin: 1.5rem 0 0.25rem; }

.gkfc-fzd-page-title h2 {
	margin: 0;
	color: #fff;
	font-family: var(--gkfc-font-heading);
	font-size: clamp(1.5rem, 4vw, 2rem);
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1.1;
	text-transform: uppercase;
}

.gkfc-fzd-page-title__sub { margin: 0.35rem 0 0; color: var(--gkfc-text-muted); font-size: 0.9rem; }

/* ---------- Match discussion total-message badge ---------- */

.gkfc-disc-head__msgs {
	margin-left: 0.5rem;
	padding: 0.3rem 0.7rem;
	border: 1px solid rgba(255, 123, 43, 0.4);
	border-radius: 999px;
	background: rgba(255, 123, 43, 0.12);
	color: var(--gkfc-accent);
	font-family: var(--gkfc-font-heading);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	white-space: nowrap;
}

/* ============================================================
   MOBILE HARDENING (mobile audit 2026-10-09 · GKFC 1.9.6)
   ============================================================ */
@media (max-width: 480px) {
	/* Fan-zone metrics: 3 columns + 0.9rem gap crams the value/label
	   pair below 320–360px. Two columns keep digits readable. */
	.gkfc-fzd-metrics { grid-template-columns: repeat(2, 1fr); }

	/* Discussion post head: let the mood wrap under the identity instead
	   of squeezing inside a 320px column. */
	.gkfc-disc-post__head { flex-wrap: wrap; }
	.gkfc-disc-post__mood { margin-left: 0; }

	/* Composer: drop the author avatar and give the Post pill its own
	   row so it is an easy full-width tap target. */
	.gkfc-disc-composer__author { display: none; }
	.gkfc-disc-composer__submit { flex-basis: 100%; margin-left: 0; padding: 0.6rem 1.1rem; text-align: center; }
	.gkfc-disc-mood__btn { width: 30px; height: 30px; }
}

@media (max-width: 360px) {
	/* Referral code block: min-width:260px is wider than a 320px
	   dashboard panel and would paint off-screen. Relax to full width. */
	.gkfc-fzd-refer__code {
		min-width: 0;
		width: 100%;
		padding-left: 1.1rem;
		padding-right: 1.1rem;
	}
}

@media (max-width: 380px) {
	/* Narrow handsets: stack the auth form's side-by-side rows so each
	   field keeps a full-width tap target (no 160px-cramped inputs). */
	.gkfc-fan-auth .gkfc-field-row { grid-template-columns: 1fr; }
	.gkfc-fan-auth__brand { padding: 1.5rem 1.1rem; }
}

/* ============================================================
   STANDALONE FAN ZONE APP SHELL (GKFC v1.7.0)
   Full-page app layout: no site header/footer, compact top bar,
   fixed bottom navigation and slide-up bottom sheets. The shortcode
   shells (.gkfc-fzd, .gkfc-fan-auth, .gkfc-fz-hero) render inside
   <main> unchanged; this section scopes the app chrome and the
   ambient full-viewport background to body.gkfc-fan-app.
   ============================================================ */

body.gkfc-fan-app {
	--gkfc-app-bar-h: clamp(58px, 8vh, 68px);
	--gkfc-app-bg: #0f0809;
	--gkfc-app-panel: #1c1012;
	--gkfc-app-line: rgba(255, 255, 255, 0.08);
	--gkfc-app-text: #f5f2ef;
	--gkfc-app-muted: #b9a3a0;
	--gkfc-app-accent: #ff7b2b;
	margin: 0;
	min-height: 100dvh;
	overflow-x: clip;
	background:
		radial-gradient(720px 380px at 88% -10%, rgba(255, 123, 43, 0.16), transparent 62%),
		radial-gradient(560px 360px at -10% 112%, rgba(131, 29, 33, 0.32), transparent 60%),
		linear-gradient(165deg, #150b0c 0%, var(--gkfc-app-bg) 100%);
	color: var(--gkfc-app-text);
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: rgba(255, 123, 43, 0.18);
	text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
}

/* Native-app feel: no double-tap zoom on chrome controls. */
.gkfc-fan-app a,
.gkfc-fan-app button,
.gkfc-fan-app input,
.gkfc-fan-app select,
.gkfc-fan-app textarea {
	touch-action: manipulation;
}

.gkfc-app-skip {
	position: fixed;
	top: -100px;
	left: 1rem;
	z-index: 200;
	padding: 0.6rem 1rem;
	border-radius: 8px;
	background: var(--gkfc-app-accent);
	color: #17110c;
	font-weight: 700;
	text-decoration: none;
}

.gkfc-app-skip:focus { top: 1rem; }

.gkfc-fan-app {
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
}

.gkfc-fan-app__main { flex: 1 1 auto; min-width: 0; width: 100%; }

/* ---------- Top app bar ---------- */

.gkfc-app-bar {
	position: sticky;
	top: 0;
	z-index: 60;
	padding-top: var(--fz-sat);
	background: rgba(15, 8, 9, 0.92);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--gkfc-app-line);
}

.gkfc-app-bar__inner {
	height: var(--gkfc-app-bar-h);
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 clamp(1rem, 3vw, 2rem);
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1rem;
}

.gkfc-app-bar__brand {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	justify-self: start;
	min-width: 0;
	text-decoration: none;
}

.gkfc-app-bar__logo {
	height: 52px;
	width: auto;
	max-width: 42vw;
	object-fit: contain;
}

.gkfc-app-bar__title {
	justify-self: center;
	max-width: 38vw;
	overflow: hidden;
	color: var(--gkfc-app-muted);
	font-family: var(--gkfc-font-heading, inherit);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.gkfc-app-bar__actions {
	justify-self: end;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.gkfc-app-bar__btn {
	position: relative;
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--gkfc-app-line);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.04);
	color: #fff;
	cursor: pointer;
	transition: background 0.2s var(--gkfc-ease, ease), border-color 0.2s var(--gkfc-ease, ease), transform 0.2s var(--gkfc-ease, ease);
}

.gkfc-app-bar__btn:hover,
.gkfc-app-bar__btn:focus-visible {
	outline: none;
	background: rgba(255, 123, 43, 0.14);
	border-color: rgba(255, 123, 43, 0.45);
}

.gkfc-app-bar__btn:active { transform: scale(0.94); }

.gkfc-app-bar__avatar {
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	overflow: hidden;
	background: linear-gradient(160deg, #831d21, #4d0f12);
	color: #fff;
	font-size: 0.78rem;
	font-weight: 800;
}

.gkfc-app-bar__avatar img { width: 100%; height: 100%; object-fit: cover; }

.gkfc-app-bar__dot {
	position: absolute;
	top: -3px;
	right: -3px;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: var(--gkfc-app-accent);
	color: #17110c;
	font-size: 0.62rem;
	font-weight: 800;
}

.gkfc-app-bar__dot.is-zero { display: none; }

/* Shared stroke icons */
.gkfc-app-icon {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.gkfc-app-bar__bell .gkfc-app-icon { width: 20px; height: 20px; }

/* ---------- Fixed bottom navigation ---------- */

.gkfc-app-nav {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 80;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	height: calc(64px + var(--fz-sab));
	padding: 0 0.4rem calc(0.4rem + var(--fz-sab));
	border-top: 1px solid var(--gkfc-app-line);
	background: rgba(15, 8, 9, 0.96);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.gkfc-app-nav__link {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 100%;
	border-radius: 14px;
	color: var(--gkfc-app-muted);
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	user-select: none;
	-webkit-user-select: none;
	transition: color 0.2s var(--gkfc-ease, ease), background 0.2s var(--gkfc-ease, ease), transform 0.12s var(--gkfc-ease, ease);
}

.gkfc-app-nav__link .gkfc-app-icon { width: 24px; height: 24px; }

.gkfc-app-nav__link:hover,
.gkfc-app-nav__link:focus-visible { outline: none; color: #fff; }

.gkfc-app-nav__link:active { transform: scale(0.9); }

.gkfc-app-nav__link.is-active { color: var(--gkfc-app-accent); background: rgba(255, 123, 43, 0.12); }

/* Active-tab indicator notch */
.gkfc-app-nav__link.is-active::before {
	content: '';
	position: absolute;
	top: 4px;
	left: 50%;
	transform: translateX(-50%);
	width: 22px;
	height: 3px;
	border-radius: 999px;
	background: var(--gkfc-app-accent);
}

/* ---------- Bottom sheets ---------- */

.gkfc-app-scrim {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 120;
	background: rgba(4, 2, 2, 0.62);
	backdrop-filter: blur(2px);
}

body.gkfc-app-sheet-open { overflow: hidden; }

body.gkfc-app-sheet-open .gkfc-app-scrim { display: block; }

.gkfc-app-sheet {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 121;
	max-width: 560px;
	margin: 0 auto;
	max-height: 72dvh;
	display: flex;
	flex-direction: column;
	padding-bottom: var(--fz-sab);
	border-radius: 18px 18px 0 0;
	border-top: 1px solid var(--gkfc-app-line);
	background: var(--gkfc-app-panel);
	box-shadow: 0 -14px 44px rgba(0, 0, 0, 0.5);
	transform: translateY(102%);
	transition: transform 0.32s var(--gkfc-ease, cubic-bezier(0.4, 0, 0.2, 1));
}

.gkfc-app-sheet.is-open { transform: none; }

.gkfc-app-sheet__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.25rem 0.75rem;
	border-bottom: 1px solid var(--gkfc-app-line);
}

.gkfc-app-sheet__head h2 {
	margin: 0;
	color: #fff;
	font-family: var(--gkfc-font-heading, inherit);
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.gkfc-app-sheet__close {
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	color: var(--gkfc-app-muted);
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	transition: color 0.2s var(--gkfc-ease, ease), background 0.2s var(--gkfc-ease, ease);
}

.gkfc-app-sheet__close:hover,
.gkfc-app-sheet__close:focus-visible { outline: none; color: #fff; background: rgba(255, 123, 43, 0.14); }

.gkfc-app-sheet__body { overflow-y: auto; padding: 0.75rem 1.25rem 1.25rem; }

/* ---------- Notification list ---------- */

.gkfc-app-notif {
	display: block;
	padding: 0.85rem 0.6rem;
	border-bottom: 1px solid var(--gkfc-app-line);
	text-decoration: none;
}

.gkfc-app-notif:last-child { border-bottom: 0; }

.gkfc-app-notif.is-unread {
	padding-left: 0.8rem;
	border-left: 3px solid var(--gkfc-app-accent);
}

.gkfc-app-notif__title {
	display: block;
	color: var(--gkfc-app-text);
	font-weight: 700;
	font-size: 0.9rem;
}

.gkfc-app-notif.is-unread .gkfc-app-notif__title { color: #fff; }

.gkfc-app-notif__msg {
	display: block;
	margin-top: 0.15rem;
	color: var(--gkfc-app-muted);
	font-size: 0.82rem;
}

.gkfc-app-notif__time {
	display: block;
	margin-top: 0.35rem;
	color: var(--gkfc-app-muted);
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.gkfc-app-notif.is-unread .gkfc-app-notif__time { color: var(--gkfc-app-accent); }

.gkfc-app-sheet__empty {
	margin: 0;
	padding: 2rem 0;
	color: var(--gkfc-app-muted);
	text-align: center;
	font-size: 0.9rem;
}

/* ---------- Profile sheet ---------- */

.gkfc-app-me {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	padding: 0.25rem 0 0.9rem;
	border-bottom: 1px solid var(--gkfc-app-line);
}

.gkfc-app-avatar {
	width: 52px;
	height: 52px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	overflow: hidden;
	background: linear-gradient(160deg, #831d21, #4d0f12);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 1rem;
	font-weight: 800;
}

.gkfc-app-avatar img { width: 100%; height: 100%; object-fit: cover; }

.gkfc-app-me__meta { min-width: 0; }

.gkfc-app-me__name {
	margin: 0;
	color: #fff;
	font-family: var(--gkfc-font-heading, inherit);
	font-size: 1rem;
	font-weight: 800;
}

.gkfc-app-me__sub {
	margin: 0.1rem 0 0;
	color: var(--gkfc-app-muted);
	font-size: 0.78rem;
}

.gkfc-app-rows {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding-top: 0.75rem;
}

.gkfc-app-row {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0.8rem 0.75rem;
	border: 0;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.03);
	color: var(--gkfc-app-text);
	font: inherit;
	font-size: 0.92rem;
	font-weight: 600;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s var(--gkfc-ease, ease), color 0.2s var(--gkfc-ease, ease);
}

.gkfc-app-row .gkfc-app-icon { width: 18px; height: 18px; flex: 0 0 auto; }

.gkfc-app-row:hover,
.gkfc-app-row:focus-visible { outline: none; background: rgba(255, 123, 43, 0.12); color: #fff; }

.gkfc-app-logout { padding: 0; background: none; }

/* ---------- Shell integration ---------- */

@media (max-width: 900px) {
	body.gkfc-fan-app .gkfc-fzd {
		padding-bottom: calc(5.25rem + var(--fz-sab));
	}
	/* The fixed bottom bar must never cover the auth card or the landing
	   hero either; give every app-shell child the same clear-bottom space. */
	body.gkfc-fan-app .gkfc-fan-auth,
	body.gkfc-fan-app .gkfc-fz,
	body.gkfc-fan-app .gkfc-fz-hero {
		padding-bottom: calc(5.25rem + var(--fz-sab));
	}
	.gkfc-app-bar__title { display: none; }
}

@media (min-width: 901px) {
	.gkfc-app-nav { display: none; }
	body.gkfc-fan-app .gkfc-fzd-sidebar { top: calc(var(--gkfc-app-bar-h) + 1.25rem); }
}

/* ============================================================
   Layer 2 — REDESIGN
   ============================================================ */

/* ---------- 2.1  App document ---------- */

body.gkfc-fan-app {
	margin: 0;
	min-height: 100dvh;
	overflow-x: clip;
	background:
		radial-gradient(900px 460px at 88% -12%, rgba(246, 197, 29, 0.07), transparent 62%),
		radial-gradient(760px 520px at -12% 108%, rgba(131, 29, 33, 0.4), transparent 60%),
		linear-gradient(168deg, #150a0c 0%, var(--fz-bg) 55%, #080506 100%);
	background-attachment: fixed;
	color: var(--fz-text);
	font-family: var(--fz-font-body);
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: rgba(246, 197, 29, 0.16);
	text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
}

body.gkfc-fan-app *,
body.gkfc-fan-app *::before,
body.gkfc-fan-app *::after { box-sizing: border-box; }

/* Native-app feel: no double-tap zoom on chrome controls. */
.gkfc-fan-app a,
.gkfc-fan-app button,
.gkfc-fan-app input,
.gkfc-fan-app select,
.gkfc-fan-app textarea {
	touch-action: manipulation;
}

/* One focus treatment across the whole app: a gold ring, keyboard only. */
.gkfc-fan-app a:focus-visible,
.gkfc-fan-app button:focus-visible,
.gkfc-fan-app input:focus-visible,
.gkfc-fan-app select:focus-visible,
.gkfc-fan-app textarea:focus-visible,
.gkfc-fan-app [tabindex]:focus-visible {
	outline: 2px solid var(--fz-gold);
	outline-offset: 2px;
	border-radius: var(--fz-r-sm);
}

/* GKFC Buddy must never render inside the app shell: the floating bubble
   would sit on top of the fixed bottom nav in the Battalia FZ WebView. */
body.gkfc-fan-app .gkfc-chat,
body.gkfc-fan-app #gkfc-chat { display: none !important; }

.gkfc-app-skip {
	position: fixed;
	top: -100px;
	left: 1rem;
	z-index: 200;
	padding: 0.65rem 1.1rem;
	border-radius: var(--fz-r-sm);
	background: var(--fz-gold);
	color: #1a1206;
	font-family: var(--fz-font-head);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	transition: top var(--fz-speed) var(--fz-ease);
}

.gkfc-app-skip:focus { top: 1rem; }

.gkfc-fan-app {
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
}

.gkfc-fan-app__main {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	padding: var(--fz-gutter);
	padding-bottom: calc(var(--fz-nav-h) + 1.25rem + var(--fz-sab));
}

@media (min-width: 901px) {
	.gkfc-fan-app__main {
		padding: clamp(1.4rem, 2.6vw, 2.2rem) var(--fz-gutter) clamp(2rem, 3vw, 3rem);
	}
}

/* ---------- 2.2  Top app bar ---------- */

.gkfc-app-bar {
	position: sticky;
	top: 0;
	z-index: 60;
	padding-top: var(--fz-sat);
	background: rgba(10, 6, 7, 0.86);
	backdrop-filter: blur(16px) saturate(1.3);
	-webkit-backdrop-filter: blur(16px) saturate(1.3);
	border-bottom: 1px solid var(--fz-line);
}

.gkfc-app-bar__inner {
	height: var(--fz-bar-h);
	max-width: var(--fz-max);
	margin: 0 auto;
	padding: 0 var(--fz-gutter);
	display: grid;
	/* minmax(0, auto) lets the left cluster (hamburger + logo) shrink
	   below its max-content so a wide logo can never overflow into the
	   right actions column (bell + avatar) on narrow Android WebViews. */
	grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.75rem;
}

/* Left cluster: hamburger + brand in one flex cell so the 3-column grid
   stays stable when the hamburger hides itself on desktop. */
.gkfc-app-bar__left {
	justify-self: start;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.gkfc-app-bar__brand {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	min-width: 0;
	text-decoration: none;
}

.gkfc-app-bar__logo {
	height: 52px;
	width: auto;
	max-width: 34vw;
	object-fit: contain;
}

.gkfc-app-bar__title {
	justify-self: center;
	max-width: 34vw;
	overflow: hidden;
	color: var(--fz-muted);
	font-family: var(--fz-font-head);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.gkfc-app-bar__actions {
	justify-self: end;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.gkfc-app-bar__btn {
	position: relative;
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--fz-line);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.04);
	color: var(--fz-text);
	cursor: pointer;
	transition:
		background var(--fz-speed) var(--fz-ease),
		border-color var(--fz-speed) var(--fz-ease),
		transform 0.12s var(--fz-ease),
		color var(--fz-speed) var(--fz-ease);
}

.gkfc-app-bar__btn:hover,
.gkfc-app-bar__btn:focus-visible {
	background: var(--fz-gold-soft);
	border-color: var(--fz-gold-line);
	color: #fff;
}

.gkfc-app-bar__btn:active { transform: scale(0.93); }

/* Hamburger — mobile only; desktop shows the sidebar instead. */
.gkfc-app-bar__menu { display: inline-flex; }

@media (min-width: 901px) {
	.gkfc-app-bar__menu { display: none; }
}

.gkfc-app-bar__avatar {
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	overflow: hidden;
	background: linear-gradient(160deg, var(--fz-maroon), var(--fz-maroon-deep));
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: #fff;
	font-family: var(--fz-font-head);
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.gkfc-app-bar__avatar img { width: 100%; height: 100%; object-fit: cover; }

.gkfc-app-bar__dot {
	position: absolute;
	top: -3px;
	right: -3px;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: var(--fz-gold);
	color: #1a1206;
	font-family: var(--fz-font-head);
	font-size: 0.6rem;
	font-weight: 800;
	box-shadow: 0 0 0 2px var(--fz-bg);
}

.gkfc-app-bar__dot.is-zero { display: none; }

/* Shared stroke icons */
.gkfc-app-icon {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.gkfc-app-bar__btn .gkfc-app-icon { width: 20px; height: 20px; }

/* ---------- 2.3  Fixed bottom navigation ---------- */

.gkfc-app-nav {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 80;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	height: calc(var(--fz-nav-h) + var(--fz-sab));
	padding: 0 0.35rem calc(0.25rem + var(--fz-sab));
	border-top: 1px solid var(--fz-line);
	background: rgba(10, 6, 7, 0.94);
	backdrop-filter: blur(18px) saturate(1.3);
	-webkit-backdrop-filter: blur(18px) saturate(1.3);
}

.gkfc-app-nav__link {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 100%;
	border-radius: var(--fz-r-sm);
	color: var(--fz-muted);
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	user-select: none;
	-webkit-user-select: none;
	transition:
		color var(--fz-speed) var(--fz-ease),
		background var(--fz-speed) var(--fz-ease),
		transform 0.12s var(--fz-ease);
}

.gkfc-app-nav__link .gkfc-app-icon { width: 23px; height: 23px; }

.gkfc-app-nav__link:hover,
.gkfc-app-nav__link:focus-visible { outline: none; color: #fff; background: rgba(255, 255, 255, 0.05); }

.gkfc-app-nav__link:active { transform: scale(0.9); }

.gkfc-app-nav__link.is-active { color: var(--fz-gold); background: var(--fz-gold-soft); }

/* Active-tab indicator notch */
.gkfc-app-nav__link.is-active::before {
	content: '';
	position: absolute;
	top: 3px;
	left: 50%;
	transform: translateX(-50%);
	width: 20px;
	height: 3px;
	border-radius: 999px;
	background: var(--fz-gold);
}

/* ---------- 2.4  Bottom sheets ---------- */

.gkfc-app-scrim {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 120;
	background: rgba(6, 3, 4, 0.66);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
}

body.gkfc-app-sheet-open { overflow: hidden; }

body.gkfc-app-sheet-open .gkfc-app-scrim { display: block; }

.gkfc-app-sheet {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 121;
	max-width: 560px;
	margin: 0 auto;
	max-height: 76dvh;
	display: flex;
	flex-direction: column;
	padding-bottom: var(--fz-sab);
	border-radius: var(--fz-r-xl) var(--fz-r-xl) 0 0;
	border-top: 1px solid var(--fz-line-2);
	background: linear-gradient(180deg, var(--fz-surface-2) 0%, var(--fz-surface) 100%);
	box-shadow: var(--fz-shadow-lg);
	transform: translateY(102%);
	transition: transform 0.3s var(--fz-ease);
}

.gkfc-app-sheet.is-open { transform: none; }

/* Drag handle — a purely decorative affordance for the slide-up sheet. */
.gkfc-app-sheet::before {
	content: '';
	position: absolute;
	top: 8px;
	left: 50%;
	transform: translateX(-50%);
	width: 38px;
	height: 4px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
}

.gkfc-app-sheet__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.35rem 1.25rem 0.75rem;
	border-bottom: 1px solid var(--fz-line);
}

.gkfc-app-sheet__head h2 {
	margin: 0;
	color: #fff;
	font-family: var(--fz-font-head);
	font-size: 0.92rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.gkfc-app-sheet__close {
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--fz-line);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.05);
	color: var(--fz-muted);
	font-size: 1.2rem;
	line-height: 1;
	cursor: pointer;
	transition: color var(--fz-speed) var(--fz-ease), background var(--fz-speed) var(--fz-ease);
}

.gkfc-app-sheet__close:hover,
.gkfc-app-sheet__close:focus-visible { outline: none; color: #fff; background: var(--fz-gold-soft); }

.gkfc-app-sheet__body {
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 0.6rem 1.1rem 1.25rem;
}

/* ---------- 2.5  Notification list ---------- */

.gkfc-app-notif {
	display: block;
	padding: 0.85rem 0.5rem;
	border-bottom: 1px solid var(--fz-line);
	text-decoration: none;
	transition: background var(--fz-speed) var(--fz-ease);
}

.gkfc-app-notif:last-child { border-bottom: 0; }

.gkfc-app-notif:hover { background: rgba(255, 255, 255, 0.03); }

.gkfc-app-notif.is-unread {
	padding-left: 0.75rem;
	border-left: 3px solid var(--fz-gold);
}

.gkfc-app-notif__title {
	display: block;
	color: var(--fz-text);
	font-weight: 700;
	font-size: 0.9rem;
}

.gkfc-app-notif.is-unread .gkfc-app-notif__title { color: #fff; }

.gkfc-app-notif__msg {
	display: block;
	margin-top: 0.15rem;
	color: var(--fz-muted);
	font-size: 0.82rem;
	line-height: 1.45;
}

.gkfc-app-notif__time {
	display: block;
	margin-top: 0.35rem;
	color: var(--fz-faint);
	font-family: var(--fz-font-head);
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.gkfc-app-notif.is-unread .gkfc-app-notif__time { color: var(--fz-gold); }

.gkfc-app-sheet__empty {
	margin: 0;
	padding: 2.2rem 0.5rem;
	color: var(--fz-muted);
	text-align: center;
	font-size: 0.9rem;
	line-height: 1.5;
}

/* ---------- 2.6  Profile sheet ---------- */

.gkfc-app-me {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	padding: 0.35rem 0 0.9rem;
	border-bottom: 1px solid var(--fz-line);
}

.gkfc-app-avatar {
	width: 52px;
	height: 52px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	border-radius: 50%;
	overflow: hidden;
	background: linear-gradient(160deg, var(--fz-maroon), var(--fz-maroon-deep));
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: #fff;
	font-family: var(--fz-font-head);
	font-size: 1rem;
	font-weight: 800;
}

.gkfc-app-avatar img { width: 100%; height: 100%; object-fit: cover; }

.gkfc-app-me__meta { min-width: 0; }

.gkfc-app-me__name {
	margin: 0;
	color: #fff;
	font-family: var(--fz-font-head);
	font-size: 1rem;
	font-weight: 800;
}

.gkfc-app-me__sub {
	margin: 0.15rem 0 0;
	color: var(--fz-muted);
	font-size: 0.78rem;
}

.gkfc-app-rows {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding-top: 0.75rem;
}

.gkfc-app-row {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0.85rem 0.8rem;
	border: 1px solid transparent;
	border-radius: var(--fz-r-sm);
	background: rgba(255, 255, 255, 0.03);
	color: var(--fz-text);
	font: inherit;
	font-size: 0.92rem;
	font-weight: 600;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
	transition: background var(--fz-speed) var(--fz-ease), color var(--fz-speed) var(--fz-ease), border-color var(--fz-speed) var(--fz-ease);
}

.gkfc-app-row .gkfc-app-icon { width: 18px; height: 18px; flex: 0 0 auto; }

.gkfc-app-row:hover,
.gkfc-app-row:focus-visible {
	outline: none;
	background: var(--fz-gold-soft);
	border-color: var(--fz-gold-line);
	color: #fff;
}

.gkfc-app-logout { padding: 0; background: none; }



/* ---------- 2.7  Shell integration (final) ----------
   Layer 1's integration block above still runs after its own rules but
   before this one. These lines reconcile it with the new chrome so the
   bottom bar, the safe-area inset and the sidebar offset all agree. */

@media (min-width: 901px) {
	/* Desktop replaces the fixed bar with the sidebar. */
	.gkfc-app-nav { display: none !important; }
}

@media (max-width: 900px) {
	/* main carries the bottom clearance; the inner wrappers must not
	   stack a second one on top of it. */
	body.gkfc-fan-app .gkfc-fzd,
	body.gkfc-fan-app .gkfc-fan-auth,
	body.gkfc-fan-app .gkfc-fz,
	body.gkfc-fan-app .gkfc-fz-hero {
		padding-bottom: 0;
	}
}

/* Sidebar offset tracks the new bar height token — desktop only. On mobile
   the sidebar is the full-height off-canvas drawer (top: 0 from Layer 1);
   this rule used to leak into that breakpoint and float the drawer ~76px
   down, leaving a dead gap under the status bar. */
@media (min-width: 901px) {
	body.gkfc-fan-app .gkfc-fzd-sidebar { top: calc(var(--fz-bar-h) + 1.25rem); }
}

/* ---------- 2.8  Reduced motion & contrast ---------- */

@media (prefers-reduced-motion: reduce) {
	.gkfc-fan-app *,
	.gkfc-fan-app *::before,
	.gkfc-fan-app *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

@media (prefers-contrast: more) {
	body.gkfc-fan-app {
		--fz-line: rgba(255, 255, 255, 0.28);
		--fz-line-2: rgba(255, 255, 255, 0.42);
		--fz-muted: #d6c7c9;
		--fz-faint: #b8a9ab;
	}
}


/* ---------- 2.9  Sidebar: grouped navigation ---------- */

.gkfc-fzd-sidebar {
	background: linear-gradient(180deg, var(--fz-surface-2) 0%, var(--fz-bg-elev) 100%);
	border-color: var(--fz-line);
	box-shadow: var(--fz-shadow);
}

.gkfc-fzd-brand { color: #fff; }

.gkfc-fzd-brand span { color: var(--fz-gold); }

.gkfc-fzd-nav__label {
	margin: 1rem 0 0.3rem;
	padding: 0 0.75rem;
	color: var(--fz-faint);
	font-family: var(--fz-font-head);
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.gkfc-fzd-nav__label:first-child { margin-top: 0; }

.gkfc-fzd-nav__group {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.gkfc-fzd-nav__link {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.58rem 0.75rem;
	border-radius: var(--fz-r-sm);
	font-family: var(--fz-font-head);
	font-size: 0.74rem;
	letter-spacing: 0.07em;
	color: var(--fz-muted);
	transition:
		background var(--fz-speed) var(--fz-ease),
		color var(--fz-speed) var(--fz-ease);
}

/* v1.28.1 — inline icon inside every sidebar link; without this size the
   SVG falls back to its intrinsic dimensions (~300×150px). */
.gkfc-fzd-nav__link .gkfc-app-icon {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
}

.gkfc-fzd-nav__link:hover,
.gkfc-fzd-nav__link:focus-visible {
	outline: none;
	background: rgba(255, 255, 255, 0.05);
	color: #fff;
}

.gkfc-fzd-nav__link.is-active {
	background: var(--fz-gold-soft);
	color: var(--fz-gold);
	box-shadow: inset 3px 0 0 var(--fz-gold);
}

.gkfc-fzd-nav-close:hover,
.gkfc-fzd-nav-close:focus-visible { outline: none; color: #fff; background: var(--fz-gold-soft); }

/* ---------- 2.10  Dashboard grid (.fz-dash) ---------- */

.fz-dash {
	display: grid;
	gap: clamp(0.9rem, 2vw, 1.25rem);
}

.fz-dash__stats {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(0.9rem, 2vw, 1.1rem);
}

.fz-dash__body {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(0.9rem, 2vw, 1.25rem);
	align-items: start;
}

.fz-dash__col {
	display: flex;
	flex-direction: column;
	gap: clamp(0.9rem, 2vw, 1.25rem);
	min-width: 0;
}

@media (min-width: 620px) {
	.fz-dash__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1000px) {
	.fz-dash__stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
	.fz-dash__body { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
	/* The discussion column is tall; pin the sidebar so it stays in
	   view while the fan scrolls the feed. */
	.fz-dash__col--side {
		position: sticky;
		top: calc(var(--fz-bar-h) + 1.25rem);
		max-height: calc(100dvh - var(--fz-bar-h) - 2.5rem);
		overflow-y: auto;
		overscroll-behavior: contain;
		scrollbar-width: thin;
		scrollbar-color: var(--fz-line-2) transparent;
		padding-right: 2px;
	}
	.fz-dash__col--side::-webkit-scrollbar { width: 5px; }
	.fz-dash__col--side::-webkit-scrollbar-thumb {
		background: var(--fz-line-2);
		border-radius: 999px;
	}
}

/* The discussion block is the centerpiece: give it a taller minimum so it
   always reads as the primary surface, even when the feed is short. */
.gkfc-fzd-discussion { min-height: 22rem; }

/* ---------- 2.11  Card surface restyle ---------- */

.gkfc-fzd-card,
.gkfc-fzd-block,
.gkfc-fzd-discussion {
	background: var(--fz-surface);
	border: 1px solid var(--fz-line);
	border-radius: var(--fz-r-lg);
	box-shadow: var(--fz-shadow-sm);
}

.gkfc-fzd-card__head h3,
.gkfc-fzd-block__head h3 {
	color: #fff;
	font-family: var(--fz-font-head);
	font-size: 0.88rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.gkfc-fzd-card__head span {
	color: var(--fz-gold);
	font-family: var(--fz-font-head);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.gkfc-fzd-points {
	background:
		radial-gradient(120% 90% at 100% 0%, rgba(246, 197, 29, 0.14), transparent 55%),
		linear-gradient(155deg, var(--fz-maroon-deep) 0%, #2a0c0e 100%);
	border-color: var(--fz-maroon-line);
}

.gkfc-fzd-points__value {
	color: #fff;
	font-family: var(--fz-font-head);
	font-size: clamp(2.1rem, 6vw, 2.9rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1;
}

.gkfc-fzd-points__label {
	color: var(--fz-gold);
	font-family: var(--fz-font-head);
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.gkfc-fzd-points__sub { color: rgba(246, 242, 240, 0.72); }

.gkfc-fzd-cta {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0.55rem 1.15rem;
	border-radius: 999px;
	background: var(--fz-gold);
	color: #1a1206;
	font-family: var(--fz-font-head);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background var(--fz-speed) var(--fz-ease), transform 0.12s var(--fz-ease);
}

.gkfc-fzd-cta:hover,
.gkfc-fzd-cta:focus-visible { outline: none; background: #fff; color: #1a1206; }

.gkfc-fzd-cta:active { transform: scale(0.97); }

.gkfc-fzd-leveltag {
	display: inline-flex;
	align-items: center;
	padding: 0.28rem 0.65rem;
	border-radius: 999px;
	background: var(--fz-gold-soft);
	border: 1px solid var(--fz-gold-line);
	color: var(--fz-gold);
}

.gkfc-fzd-progress {
	background: rgba(255, 255, 255, 0.08);
	border-radius: 999px;
	overflow: hidden;
}

.gkfc-fzd-progress span {
	background: linear-gradient(90deg, var(--fz-maroon) 0%, var(--fz-gold) 100%);
	border-radius: 999px;
}

.gkfc-fzd-metrics {
	background: var(--fz-surface);
	border: 1px solid var(--fz-line);
	border-radius: var(--fz-r-lg);
	padding: 0.85rem 0.5rem;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.4rem;
}

.gkfc-fzd-metric {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.2rem;
	padding: 0.55rem 0.4rem;
	border-radius: var(--fz-r-sm);
	text-align: center;
	transition: background var(--fz-speed) var(--fz-ease);
}

.gkfc-fzd-metric:hover { background: rgba(255, 255, 255, 0.04); }

.gkfc-fzd-metric__value {
	color: #fff;
	font-family: var(--fz-font-head);
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1;
}

.gkfc-fzd-metric__label {
	color: var(--fz-faint);
	font-family: var(--fz-font-head);
	font-size: 0.58rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.gkfc-fzd-refer__code {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.2rem;
	padding: 0.85rem 1rem;
	border: 1px dashed var(--fz-gold-line);
	border-radius: var(--fz-r);
	background: var(--fz-gold-soft);
	color: var(--fz-gold);
	font-family: var(--fz-font-head);
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: 0.22em;
	cursor: pointer;
	transition: background var(--fz-speed) var(--fz-ease), border-color var(--fz-speed) var(--fz-ease);
}

.gkfc-fzd-refer__code small {
	color: var(--fz-muted);
	font-family: var(--fz-font-body);
	font-size: 0.66rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: none;
}

.gkfc-fzd-refer__code:hover,
.gkfc-fzd-refer__code:focus-visible {
	outline: none;
	background: rgba(246, 197, 29, 0.22);
	border-color: var(--fz-gold);
}

.gkfc-fzd-refer__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.55rem;
}

.gkfc-fzd-refer__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0.55rem 0.85rem;
	border: 1px solid var(--fz-line-2);
	border-radius: var(--fz-r-sm);
	background: rgba(255, 255, 255, 0.04);
	color: var(--fz-text);
	font-family: var(--fz-font-head);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: background var(--fz-speed) var(--fz-ease), border-color var(--fz-speed) var(--fz-ease), color var(--fz-speed) var(--fz-ease);
}

.gkfc-fzd-refer__btn:hover,
.gkfc-fzd-refer__btn:focus-visible {
	outline: none;
	background: var(--fz-gold-soft);
	border-color: var(--fz-gold-line);
	color: #fff;
}


/* ---------- 2.12  Progress & club widgets ---------- */

/* Challenges */
.gkfc-fzd-opps { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }

.gkfc-fzd-opp {
	background: var(--fz-surface);
	border: 1px solid var(--fz-line);
	border-radius: var(--fz-r);
	padding: 1rem;
	transition: border-color var(--fz-speed) var(--fz-ease), transform var(--fz-speed) var(--fz-ease);
}

.gkfc-fzd-opp:hover { border-color: var(--fz-line-2); }

.gkfc-fzd-opp h4 {
	color: #fff;
	font-family: var(--fz-font-head);
	font-size: 0.9rem;
	font-weight: 700;
}

.gkfc-fzd-opp p { color: var(--fz-muted); }

.gkfc-fzd-opp__pts {
	display: inline-flex;
	align-items: center;
	padding: 0.28rem 0.7rem;
	border-radius: 999px;
	background: var(--fz-gold-soft);
	border: 1px solid var(--fz-gold-line);
	color: var(--fz-gold);
	font-family: var(--fz-font-head);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.06em;
}

.gkfc-fzd-opp__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0.5rem 1rem;
	border-radius: var(--fz-r-sm);
	background: var(--fz-gold);
	color: #1a1206;
	font-family: var(--fz-font-head);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
	transition: background var(--fz-speed) var(--fz-ease), transform 0.12s var(--fz-ease);
}

.gkfc-fzd-opp__cta:hover,
.gkfc-fzd-opp__cta:focus-visible { outline: none; background: #fff; color: #1a1206; }

.gkfc-fzd-opp--completed { opacity: 0.55; }

/* Tasks */
.gkfc-fzd-task {
	background: var(--fz-surface);
	border: 1px solid var(--fz-line);
	border-radius: var(--fz-r);
	padding: 0.9rem 1rem;
}

.gkfc-fzd-task__title {
	color: #fff;
	font-family: var(--fz-font-head);
	font-size: 0.86rem;
	font-weight: 700;
}

.gkfc-fzd-task__freq,
.gkfc-fzd-task__status { color: var(--fz-muted); font-size: 0.78rem; }

.gkfc-fzd-task__pts {
	display: inline-flex;
	align-items: center;
	padding: 0.24rem 0.6rem;
	border-radius: 999px;
	background: var(--fz-gold-soft);
	color: var(--fz-gold);
	font-family: var(--fz-font-head);
	font-size: 0.68rem;
	font-weight: 800;
}

.gkfc-fzd-task--completed { opacity: 0.55; }
.gkfc-fzd-task--completed .gkfc-fzd-task__pts { background: rgba(255, 255, 255, 0.06); color: var(--fz-muted); }

/* Rewards */
.gkfc-fzd-reward {
	background: var(--fz-surface);
	border: 1px solid var(--fz-line);
	border-radius: var(--fz-r);
	overflow: hidden;
}

.gkfc-fzd-reward__media { background: var(--fz-surface-3); border-radius: 0; }

.gkfc-fzd-reward__media img { border-radius: 0; }

.gkfc-fzd-reward__top h4 {
	color: #fff;
	font-family: var(--fz-font-head);
	font-size: 0.88rem;
	font-weight: 700;
}

.gkfc-fzd-reward__top span { color: var(--fz-gold); }

.gkfc-fzd-reward__meta { color: var(--fz-muted); }

.gkfc-fzd-progress--reward {
	background: rgba(255, 255, 255, 0.08);
	border-radius: 999px;
	overflow: hidden;
}

.gkfc-fzd-progress--reward span {
	background: linear-gradient(90deg, var(--fz-maroon), var(--fz-gold));
}

/* Giveaways */
.gkfc-fzd-giveaway {
	background: var(--fz-surface);
	border: 1px solid var(--fz-line);
	border-radius: var(--fz-r);
	padding: 1rem;
}

.gkfc-fzd-giveaway__title {
	color: #fff;
	font-family: var(--fz-font-head);
	font-size: 0.9rem;
	font-weight: 700;
}

.gkfc-fzd-giveaway__prize { color: var(--fz-gold); font-weight: 700; }

.gkfc-fzd-giveaway__closes { color: var(--fz-faint); font-size: 0.78rem; }

.gkfc-fzd-giveaway__count {
	color: var(--fz-muted);
	font-family: var(--fz-font-head);
	font-size: 0.74rem;
	font-weight: 700;
}

.gkfc-fzd-giveaway__entry {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0.5rem 1rem;
	border-radius: var(--fz-r-sm);
	background: var(--fz-gold);
	color: #1a1206;
	font-family: var(--fz-font-head);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
	transition: background var(--fz-speed) var(--fz-ease);
}

.gkfc-fzd-giveaway__entry:hover,
.gkfc-fzd-giveaway__entry:focus-visible { outline: none; background: #fff; color: #1a1206; }

.gkfc-fzd-giveaway__badge {
	display: inline-flex;
	align-items: center;
	padding: 0.22rem 0.6rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	color: var(--fz-muted);
	font-family: var(--fz-font-head);
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.gkfc-fzd-giveaway__badge.is-won { background: var(--fz-gold-soft); color: var(--fz-gold); }

/* Badges */
.gkfc-fzd-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.4rem 0.8rem;
	border-radius: 999px;
	background: var(--fz-surface-2);
	border: 1px solid var(--fz-line);
	color: var(--fz-text);
	font-family: var(--fz-font-head);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

/* Passport */
.gkfc-fzd-passport {
	background:
		radial-gradient(110% 120% at 100% 0%, rgba(246, 197, 29, 0.16), transparent 55%),
		linear-gradient(150deg, var(--fz-maroon) 0%, var(--fz-maroon-deep) 100%);
	border: 1px solid var(--fz-maroon-line);
}

.gkfc-fzd-passport__stamp {
	background: rgba(0, 0, 0, 0.22);
	border: 1px solid rgba(255, 255, 255, 0.16);
	color: var(--fz-gold);
}

.gkfc-fzd-passport__info p:first-child { color: #fff; }

.gkfc-fzd-passport__info p:last-child { color: rgba(246, 242, 240, 0.72); }

/* Leaderboard */
.gkfc-fz-board__row {
	background: var(--fz-surface);
	border: 1px solid var(--fz-line);
	border-radius: var(--fz-r-sm);
	color: var(--fz-text);
}

.gkfc-fz-board__row--you {
	background: var(--fz-gold-soft);
	border-color: var(--fz-gold-line);
}

.gkfc-fz-board__name { color: #fff; }

.gkfc-fzd-rank__pos {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--fz-gold-soft);
	border: 1px solid var(--fz-gold-line);
	color: var(--fz-gold);
	font-family: var(--fz-font-head);
	font-size: 0.92rem;
	font-weight: 800;
}

.gkfc-fzd-rank__info p { color: #fff; }

.gkfc-fzd-rank__info .gkfc-fzd-rank__meta { color: var(--fz-muted); }

.gkfc-fzd-rank__link {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 0.45rem 0.95rem;
	border-radius: 999px;
	background: var(--fz-gold);
	color: #1a1206;
	font-family: var(--fz-font-head);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
	transition: background var(--fz-speed) var(--fz-ease);
}

.gkfc-fzd-rank__link:hover,
.gkfc-fzd-rank__link:focus-visible { outline: none; background: #fff; color: #1a1206; }

/* ---------- 2.13  Tickets (had no stylesheet rules of its own) ---------- */

.gkfc-ticket-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.gkfc-ticket-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas:
		'match  status'
		'date   category'
		'dl     dl';
	gap: 0.2rem 0.75rem;
	padding: 0.85rem 1rem;
	background: var(--fz-surface);
	border: 1px solid var(--fz-line);
	border-radius: var(--fz-r-sm);
}

.gkfc-ticket-match {
	grid-area: match;
	color: #fff;
	font-family: var(--fz-font-head);
	font-size: 0.86rem;
	font-weight: 700;
	overflow-wrap: anywhere;
}

.gkfc-ticket-date { grid-area: date; color: var(--fz-muted); font-size: 0.78rem; }

.gkfc-ticket-category { grid-area: category; color: var(--fz-faint); font-size: 0.74rem; }

.gkfc-ticket-status {
	grid-area: status;
	align-self: start;
	display: inline-flex;
	align-items: center;
	padding: 0.2rem 0.6rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	color: var(--fz-muted);
	font-family: var(--fz-font-head);
	font-size: 0.6rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
}

.gkfc-ticket-status--confirmed,
.gkfc-ticket-status--active { background: var(--fz-ok-soft); color: var(--fz-ok); }

.gkfc-ticket-status--pending { background: var(--fz-gold-soft); color: var(--fz-gold); }

.gkfc-ticket-status--cancelled,
.gkfc-ticket-status--refunded { background: var(--fz-bad-soft); color: var(--fz-bad); }

/* v1.17.9: per-row PDF download (client-side composer). */

.gkfc-ticket-dl {
	grid-area: dl;
	justify-self: start;
	margin-top: 0.35rem;
	padding: 0.4rem 0.85rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.05);
	color: #fff;
	font-family: var(--fz-font-head);
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.gkfc-ticket-dl:hover,
.gkfc-ticket-dl:focus-visible {
	background: var(--fz-brand, #7a0019);
	border-color: var(--fz-brand, #7a0019);
	color: #fff;
}

.gkfc-ticket-dl[disabled] {
	opacity: 0.55;
	pointer-events: none;
}

/* v1.17.22: the control is now an anchor to the server PDF endpoint. */
a.gkfc-ticket-dl {
	display: inline-block;
	text-decoration: none;
}

/* ---------- 2.14  Recent activity (had no stylesheet rules of its own) ---------- */

.gkfc-zone-activity {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.gkfc-zone-activity li {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.45rem;
	padding: 0.65rem 0.85rem;
	background: var(--fz-surface);
	border: 1px solid var(--fz-line);
	border-radius: var(--fz-r-sm);
	font-size: 0.82rem;
}

.gkfc-zone-activity-type {
	color: var(--fz-text);
	font-family: var(--fz-font-head);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

.gkfc-zone-activity-points {
	color: var(--fz-gold);
	font-family: var(--fz-font-head);
	font-size: 0.76rem;
	font-weight: 800;
}

.gkfc-zone-activity-note { color: var(--fz-muted); overflow-wrap: anywhere; }

.gkfc-zone-activity time {
	margin-left: auto;
	color: var(--fz-faint);
	font-family: var(--fz-font-head);
	font-size: 0.6rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* ---------- 2.15  Section page title ---------- */

.gkfc-fzd-page-title h2 {
	color: #fff;
	font-family: var(--fz-font-head);
	font-size: clamp(1.15rem, 3.4vw, 1.4rem);
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* ---------- 2.16  Empty states ---------- */

.gkfc-fzd .gkfc-empty,
.gkfc-fzd-settings-page__body .gkfc-empty,
.gkfc-fzd-discussion .gkfc-empty {
	margin: 0;
	padding: 1.4rem 0.5rem;
	color: var(--fz-muted);
	text-align: center;
	font-size: 0.86rem;
	line-height: 1.55;
}


/* ---------- 2.17  Discussion feed ---------- */

.gkfc-disc-layout { gap: 0.85rem; }

/* Match picker — horizontal chip rail on mobile, stacked list on desktop. */
.gkfc-disc-matches__label {
	color: var(--fz-faint);
	font-family: var(--fz-font-head);
	font-size: 0.6rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.gkfc-disc-matches__btn {
	background: var(--fz-surface);
	border: 1px solid var(--fz-line);
	border-radius: var(--fz-r-sm);
	color: var(--fz-muted);
	transition:
		background var(--fz-speed) var(--fz-ease),
		border-color var(--fz-speed) var(--fz-ease),
		color var(--fz-speed) var(--fz-ease);
}

.gkfc-disc-matches__btn:hover,
.gkfc-disc-matches__btn:focus-visible {
	outline: none;
	background: var(--fz-surface-2);
	border-color: var(--fz-line-2);
	color: #fff;
}

.gkfc-disc-matches__btn.is-active {
	background: var(--fz-gold-soft);
	border-color: var(--fz-gold-line);
	color: #fff;
}

.gkfc-disc-matches__fixture { color: #fff; }

.gkfc-disc-matches__score { color: var(--fz-gold); }

.gkfc-disc-matches__date { color: var(--fz-faint); }

.gkfc-disc-panel-toggle {
	background: var(--fz-surface);
	border: 1px solid var(--fz-line);
	border-radius: var(--fz-r-sm);
	color: var(--fz-muted);
}

.gkfc-disc-panel-toggle:hover,
.gkfc-disc-panel-toggle:focus-visible { outline: none; border-color: var(--fz-gold-line); color: var(--fz-gold); }

.gkfc-disc-feed {
	background: transparent;
	border: 0;
	box-shadow: none;
}

/* Match header strip */
.gkfc-disc-head {
	background: linear-gradient(140deg, var(--fz-maroon-deep) 0%, #1e0a0c 100%);
	border: 1px solid var(--fz-maroon-line);
	border-radius: var(--fz-r);
}

.gkfc-disc-head__match { color: #fff; }

.gkfc-disc-head__score { color: var(--fz-gold); }

.gkfc-disc-head__meta { color: rgba(246, 242, 240, 0.66); }

.gkfc-disc-head__msgs { color: var(--fz-gold); }

/* Composer */
.gkfc-disc-composer {
	background: var(--fz-surface);
	border: 1px solid var(--fz-line);
	border-radius: var(--fz-r);
}

.gkfc-disc-composer textarea {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--fz-line);
	border-radius: var(--fz-r-sm);
	color: var(--fz-text);
	resize: vertical;
	transition: border-color var(--fz-speed) var(--fz-ease), background var(--fz-speed) var(--fz-ease);
}

.gkfc-disc-composer textarea:focus {
	outline: none;
	background: rgba(255, 255, 255, 0.05);
	border-color: var(--fz-gold-line);
}

.gkfc-disc-composer textarea::placeholder { color: var(--fz-faint); }

.gkfc-disc-composer__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0.5rem 1.15rem;
	border: 0;
	border-radius: 999px;
	background: var(--fz-gold);
	color: #1a1206;
	font-family: var(--fz-font-head);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background var(--fz-speed) var(--fz-ease), transform 0.12s var(--fz-ease), opacity var(--fz-speed) var(--fz-ease);
}

.gkfc-disc-composer__submit:hover,
.gkfc-disc-composer__submit:focus-visible { outline: none; background: #fff; color: #1a1206; transform: translateY(-1px); }

.gkfc-disc-composer__submit:active { transform: none; }

.gkfc-disc-composer__submit:disabled { opacity: 0.5; cursor: default; transform: none; background: var(--fz-gold); }

/* Character counter — appears only when the limit is near. */
.gkfc-disc-composer__count {
	margin-left: auto;
	color: var(--fz-faint);
	font-family: var(--fz-font-head);
	font-size: 0.66rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.04em;
	transition: color var(--fz-speed) var(--fz-ease);
}

.gkfc-disc-composer__count.is-near { color: var(--fz-gold); }

.gkfc-disc-composer__count.is-over { color: var(--fz-bad); }

.gkfc-disc-photo__btn {
	background: rgba(255, 255, 255, 0.04);
	border: 1px dashed var(--fz-line-2);
	border-radius: var(--fz-r-sm);
	color: var(--fz-muted);
	cursor: pointer;
	transition: border-color var(--fz-speed) var(--fz-ease), color var(--fz-speed) var(--fz-ease);
}

.gkfc-disc-photo__btn:hover,
.gkfc-disc-photo__btn:focus-visible { outline: none; border-color: var(--fz-gold-line); border-style: solid; color: #fff; }

.gkfc-disc-photo__preview img { border-radius: var(--fz-r-sm); }

.gkfc-disc-mood__btn {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--fz-line);
	border-radius: 50%;
	opacity: 0.7;
	cursor: pointer;
	transition: border-color var(--fz-speed) var(--fz-ease), transform 0.14s var(--fz-ease), opacity var(--fz-speed) var(--fz-ease), background var(--fz-speed) var(--fz-ease);
}

.gkfc-disc-mood__btn:hover,
.gkfc-disc-mood__btn:focus-visible,
.gkfc-disc-mood__btn.is-active {
	outline: none;
	opacity: 1;
	background: var(--fz-gold-soft);
	border-color: var(--fz-gold-line);
	transform: translateY(-2px);
}

.gkfc-disc-composer__hint { color: var(--fz-faint); }

.gkfc-disc-composer__msg.is-error { color: var(--fz-bad); }
.gkfc-disc-composer__msg.is-ok { color: var(--fz-ok); }

/* Post card */
.gkfc-disc-post {
	background: var(--fz-surface);
	border: 1px solid var(--fz-line);
	border-radius: var(--fz-r);
	padding: 1rem;
	transition: border-color var(--fz-speed) var(--fz-ease);
}

.gkfc-disc-post:hover { border-color: var(--fz-line-2); }

.gkfc-disc-post.is-pending { opacity: 0.6; }

.gkfc-disc-post.is-new {
	animation: fz-post-in 0.35s var(--fz-ease) both;
}

@keyframes fz-post-in {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: none; }
}

.gkfc-disc-post__name { color: #fff; }

.gkfc-disc-post__time { color: var(--fz-faint); }

.gkfc-disc-post__text { color: var(--fz-text); }

.gkfc-disc-post__photo { border-radius: var(--fz-r-sm); }

.gkfc-disc-post__actions { border-top: 1px solid var(--fz-line); }

/* Reactions */
.gkfc-disc-react__btn {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--fz-line);
	border-radius: 999px;
	color: var(--fz-muted);
	cursor: pointer;
	transition:
		background var(--fz-speed) var(--fz-ease),
		border-color var(--fz-speed) var(--fz-ease),
		color var(--fz-speed) var(--fz-ease),
		transform 0.12s var(--fz-ease);
}

.gkfc-disc-react__btn:hover,
.gkfc-disc-react__btn:focus-visible {
	outline: none;
	background: var(--fz-gold-soft);
	border-color: var(--fz-gold-line);
	color: #fff;
}

.gkfc-disc-react__btn:active { transform: scale(0.93); }

.gkfc-disc-react__btn.is-active {
	background: var(--fz-gold-soft);
	border-color: var(--fz-gold);
	color: #fff;
}

.gkfc-disc-react__count { font-variant-numeric: tabular-nums; }

/* Reply / report tools */
.gkfc-disc-tool {
	background: transparent;
	border: 0;
	border-radius: var(--fz-r-sm);
	color: var(--fz-muted);
	cursor: pointer;
	transition: color var(--fz-speed) var(--fz-ease), background var(--fz-speed) var(--fz-ease);
}

.gkfc-disc-tool:hover,
.gkfc-disc-tool:focus-visible { outline: none; color: var(--fz-gold); background: var(--fz-gold-soft); }

.gkfc-disc-tool.gkfc-disc-report--done { color: var(--fz-ok); }

.gkfc-disc-tool.gkfc-disc-edit-save {
	background: var(--fz-gold-soft);
	color: var(--fz-gold);
}

.gkfc-disc-tool.gkfc-disc-edit-save:hover,
.gkfc-disc-tool.gkfc-disc-edit-save:focus-visible { background: var(--fz-gold); color: #1a1206; }

.gkfc-disc-report__menu {
	background: var(--fz-surface-2);
	border: 1px solid var(--fz-line-2);
	border-radius: var(--fz-r-sm);
	box-shadow: var(--fz-shadow);
}

.gkfc-disc-report__menu button { color: var(--fz-muted); }

.gkfc-disc-report__menu button:hover,
.gkfc-disc-report__menu button:focus-visible { outline: none; background: var(--fz-gold-soft); color: #fff; }

.gkfc-disc-post__kebab {
	background: transparent;
	border: 0;
	border-radius: var(--fz-r-sm);
	color: var(--fz-muted);
	cursor: pointer;
	transition: color var(--fz-speed) var(--fz-ease), background var(--fz-speed) var(--fz-ease);
}

.gkfc-disc-post__kebab:hover,
.gkfc-disc-post__kebab:focus-visible { outline: none; color: #fff; background: var(--fz-gold-soft); }

.gkfc-disc-post__menu {
	background: var(--fz-surface-2);
	border: 1px solid var(--fz-line-2);
	border-radius: var(--fz-r-sm);
	box-shadow: var(--fz-shadow);
}

.gkfc-disc-post__menu button { color: var(--fz-muted); }

.gkfc-disc-post__menu button:hover,
.gkfc-disc-post__menu button:focus-visible { outline: none; background: var(--fz-gold-soft); color: #fff; }

.gkfc-disc-post__menu .gkfc-disc-post__menu-danger { color: var(--fz-bad); }

.gkfc-disc-post__menu .gkfc-disc-post__menu-danger:hover,
.gkfc-disc-post__menu .gkfc-disc-post__menu-danger:focus-visible { background: var(--fz-bad-soft); color: #ff8a8a; }

.gkfc-disc-post__edited { color: var(--fz-faint); }

.gkfc-disc-post__edit-input {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--fz-line);
	border-radius: var(--fz-r-sm);
	color: var(--fz-text);
}

.gkfc-disc-post__edit-input:focus { outline: none; border-color: var(--fz-gold-line); }

/* Replies */
.gkfc-disc-replies {
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid var(--fz-line);
	border-radius: var(--fz-r-sm);
}

.gkfc-disc-reply__name { color: var(--fz-muted); }

.gkfc-disc-reply__text { color: var(--fz-text); }

.gkfc-disc-reply__time { color: var(--fz-faint); }

.gkfc-disc-reply-form input {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--fz-line);
	border-radius: 999px;
	color: var(--fz-text);
	transition: border-color var(--fz-speed) var(--fz-ease);
}

.gkfc-disc-reply-form input:focus { outline: none; border-color: var(--fz-gold-line); }

.gkfc-disc-reply-form input::placeholder { color: var(--fz-faint); }

.gkfc-disc-reply-form button {
	background: var(--fz-gold-soft);
	border: 1px solid var(--fz-gold-line);
	border-radius: 999px;
	color: var(--fz-gold);
	cursor: pointer;
	transition: background var(--fz-speed) var(--fz-ease), color var(--fz-speed) var(--fz-ease);
}

.gkfc-disc-reply-form button:hover,
.gkfc-disc-reply-form button:focus-visible { outline: none; background: var(--fz-gold); color: #1a1206; }

/* Load more */
.gkfc-disc-more {
	background: var(--fz-surface);
	border: 1px solid var(--fz-line);
	border-radius: 999px;
	color: var(--fz-muted);
	cursor: pointer;
	transition: border-color var(--fz-speed) var(--fz-ease), color var(--fz-speed) var(--fz-ease), background var(--fz-speed) var(--fz-ease);
}

.gkfc-disc-more:hover,
.gkfc-disc-more:focus-visible { outline: none; border-color: var(--fz-gold-line); color: #fff; background: var(--fz-gold-soft); }

/* Skeleton loading rows — shown while a page of posts is in flight. */
.gkfc-disc-skeleton {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

.gkfc-disc-skeleton__row {
	height: 6.5rem;
	border-radius: var(--fz-r);
	background: linear-gradient(90deg, var(--fz-surface) 25%, var(--fz-surface-2) 50%, var(--fz-surface) 75%);
	background-size: 200% 100%;
	animation: fz-shimmer 1.3s linear infinite;
}

@keyframes fz-shimmer {
	from { background-position: 200% 0; }
	to { background-position: -200% 0; }
}

/* The composer's busy state: dim the form and lock the button. */
.gkfc-disc-composer.is-busy { opacity: 0.65; pointer-events: none; }

.gkfc-disc-feed.is-loading .gkfc-disc-posts { opacity: 0.55; transition: opacity var(--fz-speed) var(--fz-ease); }

/* Toast — replaces the old alert() confirmations. */
.gkfc-fz-toast {
	position: fixed;
	left: 50%;
	bottom: calc(var(--fz-nav-h) + 1.25rem + var(--fz-sab));
	z-index: 200;
	transform: translateX(-50%) translateY(12px);
	max-width: min(92vw, 380px);
	padding: 0.7rem 1.1rem;
	border-radius: 999px;
	background: var(--fz-surface-2);
	border: 1px solid var(--fz-line-2);
	box-shadow: var(--fz-shadow);
	color: var(--fz-text);
	font-size: 0.84rem;
	font-weight: 600;
	text-align: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--fz-speed) var(--fz-ease), transform var(--fz-speed) var(--fz-ease);
}

.gkfc-fz-toast.is-visible {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.gkfc-fz-toast.is-error { border-color: rgba(255, 107, 107, 0.5); color: #ffb3b3; }

@media (min-width: 901px) {
	/* Bottom nav is gone on desktop, so the toast needs its own floor. */
	.gkfc-fz-toast { bottom: 1.75rem; }
}


/* ---------- 2.18  Member-surface token remap ----------
   Settings, section pages and the single-match discussion all style
   themselves against the theme's --gkfc-* tokens, which are tuned for
   the marketing site (white panels, orange accent). Re-map just those
   tokens onto the redesign palette for every member container. The
   marketing landing never renders inside .gkfc-fzd / .gkfc-disc-*
   / .gkfc-fzd-settings-page__body, so it keeps the original values. */

.gkfc-fzd,
.gkfc-fzd-settings-page__body,
.gkfc-disc-layout,
.gkfc-disc-feed,
.gkfc-disc-single,
.gkfc-fzd-guard {
	--gkfc-accent: var(--fz-gold);
	--gkfc-primary: var(--fz-maroon);
	--gkfc-text: var(--fz-text);
	--gkfc-text-muted: var(--fz-muted);
	--gkfc-bg: var(--fz-bg);
	--gkfc-bg-alt: var(--fz-bg-elev);
	--gkfc-surface: var(--fz-surface);
	--gkfc-radius: var(--fz-r-sm);
	--gkfc-radius-lg: var(--fz-r-lg);
	--gkfc-border: var(--fz-line);
	color: var(--fz-text);
}

/* ---------- 2.19  Settings + section page refinements ---------- */

.gkfc-fzd-settings-page__body {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	padding: 0;
}

.gkfc-fzd-settings .gkfc-field input,
.gkfc-fzd-settings .gkfc-field select,
.gkfc-fzd-settings input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
.gkfc-fzd-settings input[type="text"],
.gkfc-fzd-settings input[type="tel"],
.gkfc-fzd-settings input[type="date"],
.gkfc-fzd-settings input[type="password"],
.gkfc-fzd-settings select {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--fz-line);
	border-radius: var(--fz-r-sm);
	color: var(--fz-text);
	transition: border-color var(--fz-speed) var(--fz-ease), background var(--fz-speed) var(--fz-ease);
}

.gkfc-fzd-settings input:focus,
.gkfc-fzd-settings select:focus {
	outline: none;
	background: rgba(255, 255, 255, 0.05);
	border-color: var(--fz-gold-line);
}

.gkfc-fzd-settings input::placeholder { color: var(--fz-faint); }

.gkfc-fzd-settings label {
	color: var(--fz-muted);
	font-family: var(--fz-font-head);
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.gkfc-fzd-settings__card {
	background: var(--fz-surface);
	border: 1px solid var(--fz-line);
	border-radius: var(--fz-r-lg);
	padding: 1.15rem;
}

.gkfc-fzd-settings__card-head h3 {
	color: #fff;
	font-family: var(--fz-font-head);
	font-size: 0.88rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.gkfc-fzd-settings__card-head p { color: var(--fz-muted); }

.gkfc-fzd-settings__card-head h3::after { background: var(--fz-gold); }

.gkfc-fzd-settings__subhead {
	color: var(--fz-faint);
	font-family: var(--fz-font-head);
	font-size: 0.64rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.gkfc-fzd-settings__hint { color: var(--fz-muted); }

.gkfc-fzd-settings__divider { border-top-color: var(--fz-line); }

.gkfc-fzd-settings__msg { border-radius: var(--fz-r-sm); }

.gkfc-fzd-settings__msg.is-error { background: var(--fz-bad-soft); color: #ffb3b3; }

.gkfc-fzd-settings__msg.is-ok { background: var(--fz-ok-soft); color: #a9e8c0; }

.gkfc-fzd-settings .gkfc-field__err.is-ok { color: var(--fz-ok); }

.gkfc-fzd-settings .gkfc-field__err { color: var(--fz-bad); }

.gkfc-fzd-settings__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.65rem 1.4rem;
	border: 0;
	border-radius: 999px;
	background: var(--fz-gold);
	color: #1a1206;
	font-family: var(--fz-font-head);
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background var(--fz-speed) var(--fz-ease), transform 0.12s var(--fz-ease), opacity var(--fz-speed) var(--fz-ease);
}

.gkfc-fzd-settings__submit:hover,
.gkfc-fzd-settings__submit:focus-visible { outline: none; background: #fff; color: #1a1206; }

.gkfc-fzd-settings__submit:active { transform: scale(0.98); }

.gkfc-fzd-settings__submit:disabled,
.gkfc-fzd-settings__submit.is-loading { opacity: 0.5; cursor: default; }

.gkfc-fzd-settings__card--danger { border-color: rgba(255, 107, 107, 0.4); }

.gkfc-fzd-settings__card--danger .gkfc-fzd-settings__card-head h3 { color: #ffb3b3; }

.gkfc-fzd-settings__card--danger .gkfc-fzd-settings__card-head h3::after { background: var(--fz-bad); }

.gkfc-fzd-settings__submit--danger { background: var(--fz-bad); color: #2a0505; }

.gkfc-fzd-settings__submit--danger:hover,
.gkfc-fzd-settings__submit--danger:focus-visible { outline: none; background: #ff8080; color: #2a0505; }

.gkfc-delete-form .gkfc-field input { text-transform: none; }

#gkfc-del-confirm { letter-spacing: 0.1em; text-transform: none; }

.gkfc-fzd-settings .gkfc-pass-toggle {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--fz-line);
	border-radius: 50%;
	color: var(--fz-muted);
}

.gkfc-fzd-settings .gkfc-pass-toggle:hover,
.gkfc-fzd-settings .gkfc-pass-toggle:focus-visible {
	outline: none;
	background: var(--fz-gold-soft);
	color: #fff;
}

.gkfc-fzd-settings .gkfc-pass-toggle[aria-pressed="true"] { color: var(--fz-gold); }

.gkfc-fzd-settings .gkfc-pass-toggle:focus-visible { outline: 2px solid var(--fz-gold); outline-offset: 1px; }

.gkfc-fzd-settings__locked {
	background: rgba(255, 255, 255, 0.03);
	border: 1px dashed var(--fz-line-2);
	border-radius: var(--fz-r-sm);
	color: var(--fz-muted);
}

.gkfc-fzd-settings .gkfc-field__meter-bar { background: rgba(255, 255, 255, 0.08); border-radius: 999px; }

.gkfc-fzd-settings .gkfc-field__meter-fill { border-radius: 999px; background: var(--fz-gold); }

.gkfc-fzd-settings .gkfc-field__meter-text { color: var(--fz-faint); }

.gkfc-fzd-settings__group-label {
	color: var(--fz-gold);
	font-family: var(--fz-font-head);
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.gkfc-fzd-settings__group-label::before { background: var(--fz-gold); }

.gkfc-fzd-settings__group-help { color: var(--fz-muted); }

.gkfc-fzd-settings__phone-prefix {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--fz-line);
	border-right: 0;
	border-radius: var(--fz-r-sm) 0 0 var(--fz-r-sm);
	color: var(--fz-muted);
}

/* Verification / members-only guard cards */
.gkfc-fzd-guard,
.gkfc-fzd-settings-guard {
	background: var(--fz-surface);
	border: 1px solid var(--fz-line);
	border-radius: var(--fz-r-lg);
}

.gkfc-fzd-guard h2,
.gkfc-fzd-settings-guard h2 {
	color: #fff;
	font-family: var(--fz-font-head);
	font-size: 1.15rem;
	font-weight: 800;
}

.gkfc-fzd-guard p { color: var(--fz-muted); }

/* ---------- 2.20  Layout + mobile fixes (2026-10-10) ---------- */

/* One gutter owner: the app-shell <main>. The member wrappers (.gkfc-fzd,
   .gkfc-fz) used to carry their own horizontal padding + a 1200px cap on
   top of main's Layer-2 padding, so content was double-inset per side and
   misaligned with the 1320px top bar. Zero the wrappers here and cap main
   at the shared --fz-max token instead. */
.gkfc-fan-app__main {
	max-width: var(--fz-max);
	margin-inline: auto;
}

body.gkfc-fan-app .gkfc-fzd,
body.gkfc-fan-app .gkfc-fz {
	padding-left: 0;
	padding-right: 0;
	max-width: none;
}

/* iOS Safari ignores background-attachment: fixed (and it repaints badly
   during scroll); fall back to scroll on the mobile breakpoint. */
@media (max-width: 900px) {
	body.gkfc-fan-app { background-attachment: scroll; }
}

/* iOS auto-zooms any focused input whose font-size is under 16px, which
   breaks the fixed app chrome. Floor every fan-app field at 16px. */
.gkfc-fan-app input,
.gkfc-fan-app select,
.gkfc-fan-app textarea {
	font-size: max(16px, 1em);
}

/* ---------- 2.21  WebView insets + desktop header scale (2026-10-10) ---------- */

/* The Battalia FZ Android WebView reports the status/navigation bars as
   safe-area insets even though the app window is not edge-to-edge, so the
   token-based padding above added dark strips top and bottom. The head
   script flags the WebView; zero the tokens there. Real browsers keep
   full notch handling. */
html.gkfc-webview body.gkfc-fan-app {
	--fz-sat: 0px;
	--fz-sab: 0px;
}

/* Desktop: taller bar + larger brand logo. --fz-bar-h feeds the sticky
   offsets (sidebar top, dash column, sheets) via calc(), so they follow. */
@media (min-width: 901px) {
	body.gkfc-fan-app { --fz-bar-h: 84px; }
	.gkfc-app-bar__logo { height: 70px; }
}

/* ---------- 2.22  Match scoreboard header (2026-10-10) ---------- */

/* Rebuilt match tile: HOME · score · AWAY on the board row, status chip +
   competition + date + message pill on the meta row. The old flat-text
   selectors (__match / inline "Final Score:") are gone from the markup;
   these rules own the tile. */
.gkfc-disc-head {
	display: grid;
	grid-template-areas: 'board' 'meta';
	gap: 0.55rem;
	padding: 0.9rem 1rem 0.85rem;
}

.gkfc-disc-head__board {
	grid-area: board;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 0.6rem 0.9rem;
}

.gkfc-disc-head__team {
	color: var(--fz-muted);
	font-family: var(--fz-font-head);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.25;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

.gkfc-disc-head__team--home { text-align: right; }
.gkfc-disc-head__team--away { text-align: left; }
.gkfc-disc-head__team.is-club { color: #fff; }

.gkfc-disc-head__score {
	display: inline-flex;
	align-items: baseline;
	gap: 0.35rem;
	font-family: var(--fz-font-head);
	line-height: 1;
	white-space: nowrap;
}

.gkfc-disc-head__num {
	color: rgba(246, 242, 240, 0.82);
	font-size: clamp(1.55rem, 4.5vw, 2.05rem);
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.gkfc-disc-head__num.is-club { color: var(--fz-gold); }

.gkfc-disc-head__dash {
	color: var(--fz-faint);
	font-size: 1.1rem;
	font-weight: 600;
}

.gkfc-disc-head__meta {
	grid-area: meta;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 0.65rem;
	color: rgba(246, 242, 240, 0.66);
	font-size: 0.76rem;
}

/* Scoped under __meta so the stale Layer-1 rule
   (.gkfc-disc-head__meta span → var(--fzd-line), 0,1,1) cannot win. */
.gkfc-disc-head__meta .gkfc-disc-head__ft {
	padding: 0.18rem 0.55rem;
	border: 1px solid var(--fz-gold-line);
	border-radius: 999px;
	background: var(--fz-gold-soft);
	color: var(--fz-gold);
	font-family: var(--fz-font-head);
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	white-space: nowrap;
}

.gkfc-disc-head__meta .gkfc-disc-head__comp { color: rgba(246, 242, 240, 0.8); }
.gkfc-disc-head__meta .gkfc-disc-head__date { color: rgba(246, 242, 240, 0.55); }

.gkfc-disc-head__meta .gkfc-disc-head__msgs {
	margin-left: auto;
	padding: 0.24rem 0.65rem;
	border: 1px solid var(--fz-gold-line);
	border-radius: 999px;
	background: var(--fz-gold-soft);
	color: var(--fz-gold);
	font-family: var(--fz-font-head);
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	white-space: nowrap;
}

/* Narrow phones: team names wrap to two lines, score stays centred. */
@media (max-width: 600px) {
	.gkfc-disc-head__board { gap: 0.45rem 0.55rem; }
	.gkfc-disc-head__team { font-size: 0.64rem; letter-spacing: 0.05em; }
	.gkfc-disc-head__num { font-size: clamp(1.4rem, 6vw, 1.8rem); }
	.gkfc-disc-head__meta .gkfc-disc-head__msgs { margin-left: 0; }
}

/* --- 2.23 Profile sheet: camera badge + referral row; Settings: photo card --- */

.gkfc-app-me__avatar-wrap {
	position: relative;
	display: inline-flex;
	flex: 0 0 auto;
}

.gkfc-app-avatar__cam {
	position: absolute;
	right: -3px;
	bottom: -3px;
	width: 22px;
	height: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--fz-gold, #f0b429);
	color: #1a1210;
	border: 2px solid #14100e;
	text-decoration: none;
	transition: transform 0.15s var(--gkfc-ease, ease);
}

.gkfc-app-avatar__cam:hover,
.gkfc-app-avatar__cam:focus-visible { transform: scale(1.08); outline: none; }

.gkfc-app-avatar__cam .gkfc-app-icon { width: 12px; height: 12px; }

.gkfc-app-row.gkfc-app-refer span {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
	min-width: 0;
}

.gkfc-app-row.gkfc-app-refer small {
	color: var(--gkfc-app-muted, rgba(255, 255, 255, 0.55));
	font-size: 0.72rem;
	font-weight: 500;
}

.gkfc-app-row.gkfc-app-refer.is-copied,
.gkfc-app-row.gkfc-app-refer.is-copied small { color: #7fe0a4; }

.gkfc-set-photo {
	display: flex;
	align-items: center;
	gap: 1.1rem;
	flex-wrap: wrap;
}

.gkfc-set-photo__preview {
	width: 88px;
	height: 88px;
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	overflow: hidden;
	background: linear-gradient(160deg, #831d21, #4d0f12);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 1.6rem;
	font-weight: 800;
}

.gkfc-set-photo__preview img { width: 100%; height: 100%; object-fit: cover; }

.gkfc-set-photo__side {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.45rem;
	min-width: 0;
}

.gkfc-set-photo__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.55rem 1rem;
	border-radius: 999px;
	border: 1px solid var(--fz-gold-line, rgba(240, 180, 41, 0.4));
	background: var(--fz-gold-soft, rgba(240, 180, 41, 0.1));
	color: var(--fz-gold, #f0b429);
	font-size: 0.85rem;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s var(--gkfc-ease, ease);
}

.gkfc-set-photo__btn:hover,
.gkfc-set-photo__btn:focus-visible {
	background: var(--fz-gold-soft, rgba(240, 180, 41, 0.2));
	outline: none;
}

.gkfc-set-photo__btn .gkfc-app-icon { width: 15px; height: 15px; }

.gkfc-set-photo__hint {
	margin: 0;
	color: var(--fz-muted, rgba(246, 242, 240, 0.55));
	font-size: 0.78rem;
}

.gkfc-set-photo .gkfc-photo-msg { flex-basis: 100%; margin: 0; }

.gkfc-set-photo.is-busy { opacity: 0.6; pointer-events: none; }
/* ---------- 2.24 Settings page fixes: input types, page cap, photo card ---------- */

/* The email (and any future) input type was missing from the old
   text/tel/date/password lists above and rendered as a default white
   browser field on the dark cards. The catch-all selectors added in
   Layer 1 + 2 cover it; this floors every settings field at 16px so
   iOS never auto-zooms on focus (the generic .gkfc-fan-app floor loses
   the specificity battle to the per-type rules). */
.gkfc-fan-app .gkfc-fzd-settings input,
.gkfc-fan-app .gkfc-fzd-settings select {
	font-size: 16px;
}

/* Section 2.20 zeroes horizontal padding + max-width on every
   body.gkfc-fan-app .gkfc-fzd wrapper so the dashboard/discussion
   columns align with the top bar. Sub-pages (settings, sections,
   discussion) share that same shell: cap them at the shared --fz-max
   token so every member page matches /fan-dashboard/'s content width
   exactly instead of the old narrower 960px. */
body.gkfc-fan-app .gkfc-fzd--settings-page {
	max-width: var(--fz-max);
	margin-inline: auto;
}

/* Narrow phones: keep the photo preview from crowding the upload
   button -- stack the card content vertically, preview centred. */
@media (max-width: 420px) {
	.gkfc-set-photo { flex-direction: column; align-items: center; text-align: center; }
	.gkfc-set-photo__side { align-items: center; width: 100%; }
	.gkfc-set-photo__btn { width: 100%; justify-content: center; }
}
/* ---------- 2.25 Fan-app cropper restyle (avatar upload) ---------- */

/* The shared form-cropper ships a green confirm button; match the
   BATTALIA gold palette when it runs inside the fan app shell. The
   dialog is appended to <body>, which carries .gkfc-fan-app, so this
   scope reaches it. */
body.gkfc-fan-app .gkfc-cropper__use {
	background: var(--fz-gold);
	border-color: #c9921d;
	color: #1a1206;
	font-weight: 700;
}

body.gkfc-fan-app .gkfc-cropper__use:hover,
body.gkfc-fan-app .gkfc-cropper__use:focus-visible {
	background: #d9a62e;
	border-color: #b3841a;
}
/* ---------- 2.26 Settings: spacing rhythm, maroon buttons, avatar ratio ---------- */

/* The guided stack double-spaced groups: the form's 1rem flex gap stacked
   on top of each group's own margin-top + padding-top (~3.7rem total).
   Let the group borders alone own the rhythm so "Where you are",
   "Contact" and the email card breathe evenly. The :first-child
   exemption now covers every card (it was profile-only), which removes
   the stray divider that rendered directly under the Email card head. */
.gkfc-fzd-settings--guided form { gap: 0; }

.gkfc-fzd-settings__group {
	margin-top: 1.2rem;
	padding-top: 1.2rem;
}

.gkfc-fzd-settings__card .gkfc-fzd-settings__group:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.gkfc-fzd-settings--guided .gkfc-fzd-settings__actions { margin-top: 1.35rem; }

/* Club maroon replaces the gold CTA on every settings-page button.
   The danger submit stays red on purpose: maroon is too close to red
   to carry a delete warning. */
body.gkfc-fan-app .gkfc-fzd-settings__submit {
	background: var(--fz-maroon);
	color: #fff;
}

body.gkfc-fan-app .gkfc-fzd-settings__submit:hover,
body.gkfc-fan-app .gkfc-fzd-settings__submit:focus-visible {
	background: var(--fz-maroon-deep);
	color: #fff;
}

body.gkfc-fan-app .gkfc-set-photo__btn {
	background: var(--fz-maroon);
	border-color: var(--fz-maroon-deep);
	color: #fff;
}

body.gkfc-fan-app .gkfc-set-photo__btn:hover,
body.gkfc-fan-app .gkfc-set-photo__btn:focus-visible {
	background: var(--fz-maroon-deep);
	border-color: var(--fz-maroon);
	color: #fff;
}

body.gkfc-fan-app .gkfc-cropper__use {
	background: var(--fz-maroon);
	border-color: var(--fz-maroon-deep);
	color: #fff;
}

body.gkfc-fan-app .gkfc-cropper__use:hover,
body.gkfc-fan-app .gkfc-cropper__use:focus-visible {
	background: var(--fz-maroon-deep);
	border-color: var(--fz-maroon);
	color: #fff;
}

/* The camera icon was hardcoded 15px against 0.85rem text (13.6px).
   1em keeps icon and label the same size at any font size. */
.gkfc-set-photo__btn .gkfc-app-icon {
	width: 1em;
	height: 1em;
	flex: 0 0 auto;
}

/* Header avatars (top bar, profile sheet, dashboard header): force an
   explicit square so the photo can never render stretched -- width and
   height 100% alone can resolve against an inline baseline. */
.gkfc-app-bar__avatar,
.gkfc-app-avatar,
.gkfc-fzd-avatar { aspect-ratio: 1 / 1; }

.gkfc-app-bar__avatar img,
.gkfc-app-avatar img,
.gkfc-fzd-avatar img {
	display: block;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}
/* ---------- 2.27 Header logo: bigger for the new 6:1 mark ---------- */

/* The swapped-in FAN ZONE mark is 437x73 (~6:1) vs the old 320x100
   (3.2:1). At the old max-width caps the browser shrinks it to ~22px
   tall on a phone (width cap binds first) -- visibly smaller than
   before even though the CSS height said 52px. Raise the width cap so
   phones get ~35-40px of logo height, and keep height as the ceiling
   for tablets. The calc() term reserves space for the right actions
   cluster (bell + avatar ≈ 88px) plus gutters, so a wide logo can
   never run under the notification icon on narrow WebViews. */
.gkfc-app-bar__logo {
	height: 56px;
	max-width: min(56vw, calc(100vw - 230px));
}

/* Desktop: matched to the base 56px mark in a 72px bar (8px per side).
   The 2026-10-19 cut takes the logo from 80px (≈480px wide — it
   dominated the header) down to the 56px used on mobile. Sticky
   offsets follow the token via calc(). */
@media (min-width: 901px) {
	body.gkfc-fan-app { --fz-bar-h: 72px; }
	.gkfc-app-bar__logo { height: 56px; max-width: 40vw; }
}
/* ---------- 2.28 Discussion feed: reclaim post width on mobile ---------- */

/* The BATTALIA pass (2.17) made .gkfc-disc-feed a transparent, borderless
   wrapper around the post cards but kept the Layer-1 card padding -- on a
   390px phone that wasted 16px per side (32px total) of post width with
   nothing visible in the gap. Zero it; the posts are the cards now. */
.gkfc-disc-feed { padding: 0; }
/* ---------- 2.29 Discussion mobile: reactions back + wider posts ---------- */

/* The <=900px rule in the base layer hid every .is-zero reaction BUTTON
   (not just a count badge), so posts nobody had reacted to yet showed no
   reaction controls at all on phones. Show them again with their counts,
   same as desktop. */
@media (max-width: 900px) {
	.gkfc-disc-react__btn.is-zero { display: inline-flex; }
}

/* Tighter app gutter on phones. Header and <main> both consume
   --fz-gutter, so alignment is preserved while every member page --
   discussion posts included -- gains ~8-10px of usable width on a
   375-430px screen. The landing page defines its own gutter token and
   is unaffected. */
body.gkfc-fan-app {
	--fz-gutter: clamp(0.6rem, 2.2vw, 1.6rem);
}
/* ---------- 2.30 Mobile: drop the welcome tile, one-line reactions ---------- */

/* The "Welcome back," eyebrow above the fan name is redundant on phones
   (the name + level line already identifies the account) and eats a
   full line of vertical space in the compact dashboard header. Hide it
   on mobile; desktop keeps it. */
@media (max-width: 900px) {
	.gkfc-fzd-hello { display: none; }
}

/* Part C: the whole identity tile is desktop-dashboard only. PHP already
   restricts it to /fan-dashboard/ (removed from section/settings/discussion
   pages); this hides it at every mobile viewport, including the dashboard.
   The per-page h2 titles remain as the visible headings. */
@media (max-width: 900px) {
	.gkfc-fzd-header { display: none; }
}

/* Keep the five reaction pills on a single row on phones instead of
   wrapping one-per-line. Tighten the per-pill padding and the row gap so
   they comfortably fit a 360-430px screen; desktop is unaffected. */
@media (max-width: 900px) {
	.gkfc-disc-react { flex-wrap: nowrap; gap: 0.25rem; }
	.gkfc-disc-react__btn { padding: 0.28rem 0.45rem; }
}
/* ---------- 2.31 Refer & earn: centre the lone Copy-link button ---------- */

/* The actions row was a 1fr 1fr grid for two buttons (Copy link +
   Share on WhatsApp). With the WhatsApp button removed the single
   Copy-link button landed in the left column of an empty 2-col grid,
   rendering left-aligned. Switch the row to a centred flex so the lone
   button sits in the middle. */
.gkfc-fzd-refer__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	grid-template-columns: none;
	gap: 0.55rem;
}

/* ---------- 2.32 Leaderboard: Top-10 fans list with podium highlight ---------- */

/* Rendered only on /fan-zone/leaderboard/ below the "Your position" tile.
   Rows reuse the member-surface surface/line tokens; the rank badge gets a
   gold / silver / bronze treatment for 1st / 2nd / 3rd. The viewer's own
   row (when inside the top 10) reuses the existing "--you" gold tint. */
.gkfc-fzd-top {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.gkfc-fzd-top__row {
	display: grid;
	grid-template-columns: 2.4rem minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.85rem;
	padding: 0.7rem 0.9rem;
	background: var(--fz-surface);
	border: 1px solid var(--fz-line);
	border-radius: var(--fz-r-sm);
	color: var(--fz-text);
}

.gkfc-fzd-top__pos {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.2rem;
	height: 2.2rem;
	border-radius: 50%;
	background: var(--fz-surface-3, var(--fz-surface-2));
	border: 1px solid var(--fz-line-2, var(--fz-line));
	color: var(--fz-muted);
	font-family: var(--fz-font-head);
	font-size: 0.85rem;
	font-weight: 800;
}

.gkfc-fzd-top__name {
	min-width: 0;
	color: #fff;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.gkfc-fzd-top__you {
	font-style: normal;
	color: var(--fz-gold);
	font-size: 0.78rem;
	font-weight: 700;
}

.gkfc-fzd-top__pts {
	color: var(--fz-gold);
	font-family: var(--fz-font-head);
	font-weight: 700;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

/* Podium: 1st gold, 2nd silver, 3rd bronze — badge fill + row accent. */
.gkfc-fzd-top__row--1 {
	background: var(--fz-gold-soft);
	border-color: var(--fz-gold-line);
}

.gkfc-fzd-top__row--1 .gkfc-fzd-top__pos {
	background: var(--fz-gold);
	border-color: var(--fz-gold-deep, var(--fz-gold));
	color: #1a1206;
}

.gkfc-fzd-top__row--2 {
	background: rgba(192, 192, 192, 0.1);
	border-color: rgba(192, 192, 192, 0.38);
}

.gkfc-fzd-top__row--2 .gkfc-fzd-top__pos {
	background: #c0c0c0;
	border-color: #9e9e9e;
	color: #1a1206;
}

.gkfc-fzd-top__row--3 {
	background: rgba(205, 127, 50, 0.1);
	border-color: rgba(205, 127, 50, 0.38);
}

.gkfc-fzd-top__row--3 .gkfc-fzd-top__pos {
	background: #cd7f32;
	border-color: #a8621f;
	color: #1a1206;
}

/* Viewer's own row wins over the podium tint when both apply. */
.gkfc-fzd-top__row--you {
	background: var(--fz-gold-soft);
	border-color: var(--fz-gold-line);
}

.gkfc-fzd-top__row--you .gkfc-fzd-top__name { color: var(--fz-gold); }

/* ---------- 2.33 Discussion replies: own-menu, reactions, report, edit ---------- */

/* Mirror of the post-card chrome scaled to the compact reply row. The
   reply body gains a head (name + edited + 3-dot menu) and a foot (time +
   reaction pills + report dropdown). */
.gkfc-disc-reply__head {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	flex-wrap: wrap;
}

.gkfc-disc-reply__edited {
	color: var(--gkfc-text-muted);
	font-size: 0.64rem;
	font-style: italic;
}

.gkfc-disc-reply__ownmenu { position: relative; display: inline-flex; flex-shrink: 0; margin-left: auto; }

.gkfc-disc-reply__kebab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--gkfc-text-muted);
	cursor: pointer;
	transition: color var(--gkfc-speed) var(--gkfc-ease), background var(--gkfc-speed) var(--gkfc-ease);
}

.gkfc-disc-reply__kebab:hover,
.gkfc-disc-reply__kebab:focus-visible { color: #fff; background: rgba(255, 123, 43, 0.14); }

.gkfc-disc-reply__menu {
	position: absolute;
	right: 0;
	top: calc(100% + 4px);
	z-index: 20;
	min-width: 170px;
	padding: 0.3rem;
	border: 1px solid var(--fzd-line);
	border-radius: var(--gkfc-radius);
	background: var(--gkfc-surface-2);
	box-shadow: var(--gkfc-shadow);
	animation: gkfc-disc-pop 0.16s var(--gkfc-ease);
}

.gkfc-disc-reply__menu[hidden] { display: none !important; }

.gkfc-disc-reply__menu button {
	display: block;
	width: 100%;
	padding: 0.42rem 0.6rem;
	border: 0;
	border-radius: var(--gkfc-radius);
	background: transparent;
	color: var(--gkfc-text);
	font: inherit;
	font-size: 0.78rem;
	text-align: left;
	cursor: pointer;
}

.gkfc-disc-reply__menu button:hover { background: rgba(255, 123, 43, 0.12); color: #fff; }

.gkfc-disc-reply__menu .gkfc-disc-reply__menu-danger { color: #ff6b6b; }

.gkfc-disc-reply__menu .gkfc-disc-reply__menu-danger:hover { background: rgba(255, 107, 107, 0.14); color: #ff8a8a; }

.gkfc-disc-reply__menu .gkfc-disc-reply__menu-danger.is-confirming { background: rgba(255, 107, 107, 0.2); color: #fff; }

/* Foot: time on the left, reactions + report pushed right. */
.gkfc-disc-reply__foot {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
	margin-top: 0.25rem;
}

.gkfc-disc-reply__foot .gkfc-disc-react { margin-left: auto; }

/* Smaller reaction pills inside the reply foot. */
.gkfc-disc-react--xs { gap: 0.15rem; }

.gkfc-disc-react--xs .gkfc-disc-react__btn { padding: 0.18rem 0.32rem; font-size: 0.7rem; }

.gkfc-disc-react--xs .gkfc-disc-react__emoji { font-size: 0.78rem; }

.gkfc-disc-react--xs .gkfc-disc-react__count { font-size: 0.62rem; }

/* Inline reply edit block (reuses the post edit input styling). */
.gkfc-disc-reply__edit { display: flex; flex-direction: column; gap: 0.45rem; margin-top: 0.4rem; }
/* Push deep-link highlight: target reply/post flashed after a notification tap. */
.gkfc-disc-highlight,
.gkfc-disc-post.gkfc-disc-highlight,
.gkfc-disc-reply.gkfc-disc-highlight {
	outline: 2px solid #ff7b2b;
	outline-offset: 2px;
	border-radius: 10px;
	background: rgba(255, 123, 43, 0.12);
	box-shadow: 0 0 0 4px rgba(255, 123, 43, 0.18);
	transition: background 0.4s ease, box-shadow 0.4s ease;
}

/* Quiz cards on the Challenges page. */
.gkfc-fzd-opp__meta { display: block; font-size: 0.72rem; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.55); margin: 0.35rem 0 0.5rem; }
.gkfc-fzd-opp--done { opacity: 0.6; }
.gkfc-fzd-opp--quiz .gkfc-fz-btn { margin-top: 0.35rem; align-self: flex-start; }

/* Quiz player modal. */
.gkfc-quiz-modal-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.62); z-index: 10050; }
.gkfc-quiz-modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(640px, calc(100vw - 2rem)); max-height: 86vh; overflow-y: auto; background: #14141a; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 14px; z-index: 10060; padding: 1.25rem 1.35rem 1.4rem; }
.gkfc-quiz-modal__head { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.9rem; }
.gkfc-quiz-modal__titles { flex: 1; min-width: 0; }
.gkfc-quiz-modal__title { margin: 0; font-size: 1.05rem; color: #fff; }
.gkfc-quiz-modal__desc { margin: 0.25rem 0 0; font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); }
.gkfc-quiz-modal__timer { flex: 0 0 auto; font-variant-numeric: tabular-nums; font-weight: 700; font-size: 0.95rem; color: #F6C51D; background: rgba(246, 197, 29, 0.12); border-radius: 8px; padding: 0.25rem 0.55rem; }
.gkfc-quiz-modal__close { flex: 0 0 auto; background: transparent; border: 0; color: rgba(255, 255, 255, 0.6); font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 0.1rem 0.35rem; }
.gkfc-quiz-modal__close:hover { color: #fff; }
.gkfc-quiz-modal__questions { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.gkfc-quiz-modal__q { border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 10px; padding: 0.8rem 0.9rem; background: rgba(255, 255, 255, 0.03); }
.gkfc-quiz-modal__qtext { margin: 0 0 0.55rem; color: #fff; font-size: 0.9rem; }
.gkfc-quiz-modal__options { display: flex; flex-direction: column; gap: 0.35rem; }
.gkfc-quiz-modal__option { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.85); cursor: pointer; padding: 0.35rem 0.5rem; border-radius: 8px; }
.gkfc-quiz-modal__option:hover { background: rgba(255, 255, 255, 0.05); }
.gkfc-quiz-modal__option input { accent-color: #F6C51D; }
.gkfc-quiz-modal__text { width: 100%; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 8px; color: #fff; padding: 0.45rem 0.6rem; font-size: 0.85rem; }
.gkfc-quiz-modal__msg { margin: 0.9rem 0 0.4rem; font-size: 0.82rem; min-height: 1.1rem; }
.gkfc-quiz-modal__msg.is-error { color: #ff7b7b; }
.gkfc-quiz-modal__msg.is-ok { color: #7bffa3; }
.gkfc-quiz-modal__result { text-align: center; padding: 1.1rem 0 0.8rem; }
.gkfc-quiz-modal__score { margin: 0; font-size: 2rem; font-weight: 800; color: #F6C51D; }
.gkfc-quiz-modal__points { margin: 0.3rem 0 1rem; color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; }


/* ============================================================
   LAYER 3 — POLISH (2026-10-12)
   ------------------------------------------------------------
   Audit-driven normalization for the member dashboard. This
   section only ADDS rules; no earlier layer is modified.
   Later declarations win at equal specificity, which is how
   every fix below re-asserts defeated or broken styling.
   Ordered: tokens → selector fixes → type → spacing/cards →
   touch targets → button vocabulary → focus → mobile → desktop.
   ============================================================ */

/* ---------- 3.0  Design tokens: spacing, type, touch scale ---------- */

body.gkfc-fan-app {
	--fz-space-2xs: 0.35rem;
	--fz-space-xs: 0.5rem;
	--fz-space-sm: 0.75rem;
	--fz-space-md: 1rem;
	--fz-space-lg: 1.4rem;
	--fz-space-xl: clamp(1.2rem, 3vw, 1.7rem); /* canonical card padding */
	--fz-tap: 44px;                             /* minimum touch target */
	--fz-fs-xs: 0.68rem;
	--fz-fs-sm: 0.78rem;
	--fz-fs-md: 0.86rem;
	--fz-fs-title: clamp(1.15rem, 3.4vw, 1.4rem);
}

/* ---------- 3.1  Broken / defeated selector fixes ---------- */

/* PHP emits class="gkfc empty" (two classes). The 2.16 block targeted
   the nonexistent .gkfc-empty, so every empty state rendered unstyled.
   Cover the real markup globally — centered, muted, consistent rhythm. */
.gkfc.empty {
	margin: 0;
	padding: 1.5rem 0.5rem;
	color: var(--fz-muted);
	text-align: center;
	font-size: var(--fz-fs-md);
	line-height: 1.55;
}

/* The --4 metric strip was overridden to 2 columns at equal specificity
   by the later .gkfc-fzd-metrics rule. Re-assert 4-up and collapse
   gracefully on small screens. */
.gkfc-fzd-metrics--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 560px) {
	.gkfc-fzd-metrics--4 { grid-template-columns: repeat(2, 1fr); }
}

/* Layer 1 styles the referral-code <span> at 1.6rem / 0.24em, silently
   defeating the Layer 2 parent restyle (1.05rem). Align the child. */
.gkfc-fzd-refer__code span {
	font-size: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	line-height: 1.3;
}

/* ---------- 3.2  Typography hierarchy ---------- */

.gkfc-fzd-page-title { margin: 1.25rem 0 0.75rem; }

.gkfc-fzd-page-title h1,
.gkfc-fzd-page-title h2 {
	margin: 0;
	color: #fff;
	font-family: var(--fz-font-head);
	font-size: var(--fz-fs-title);
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-transform: uppercase;
}

.gkfc-fzd-page-title__sub {
	margin: 0.4rem 0 0;
	color: var(--fz-muted);
	font-size: var(--fz-fs-md);
	line-height: 1.5;
}

/* One block-head rhythm across every card and section. */
.gkfc-fzd-block__head,
.gkfc-fzd-card__head {
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.9rem;
}

.gkfc-fzd-block__head h3,
.gkfc-fzd-card__head h3 {
	font-size: 0.82rem;
	letter-spacing: 0.09em;
	line-height: 1.25;
}

.gkfc-fzd-block__head span,
.gkfc-fzd-card__head span {
	font-size: var(--fz-fs-xs);
	line-height: 1.3;
}

/* Body copy rhythm inside cards. */
.gkfc-fzd-opp p,
.gkfc-fzd-refer__intro { line-height: 1.55; }

/* ---------- 3.3  Spacing & card system ---------- */

/* One surface language for every card-like element. */
.gkfc-fzd-card,
.gkfc-fzd-block,
.gkfc-fzd-opp,
.gkfc-fzd-giveaway,
.gkfc-fzd-reward {
	background: var(--fz-surface);
	border: 1px solid var(--fz-line);
}

.gkfc-fzd-card,
.gkfc-fzd-block {
	padding: var(--fz-space-xl);
	border-radius: var(--fz-r-lg);
}

.gkfc-fzd-opp,
.gkfc-fzd-giveaway {
	padding: 1rem;
	border-radius: var(--fz-r);
}

/* Even vertical rhythm between stacked blocks on section pages. */
.gkfc-fzd-settings-page__body > .gkfc-fzd-block + .gkfc-fzd-block,
.gkfc-fzd-settings-page__body > .gkfc-fzd-opps + .gkfc-fzd-block,
.gkfc-fzd-settings-page__body > .gkfc-fzd-block + .gkfc-fzd-opps {
	margin-top: 0.9rem;
}

/* One gap scale across dashboard + grids. */
.gkfc-fzd-opps { gap: 0.85rem; }
.fz-dash { gap: clamp(0.85rem, 2vw, 1.15rem); }
.fz-dash__stats,
.fz-dash__body { gap: clamp(0.85rem, 2vw, 1.15rem); }

/* Giveaway row: prize always on its own line; meta chips stay compact;
   the entry action goes full-width on small phones for thumb reach. */
.gkfc-fzd-giveaway { row-gap: 0.4rem; }
.gkfc-fzd-giveaway__prize { flex-basis: 100%; margin: 0; }
.gkfc-fzd-giveaway__closes,
.gkfc-fzd-giveaway__count { white-space: nowrap; }
.gkfc-fzd-giveaway__entry { text-decoration: none; }

/* ---------- 3.4  Touch targets (>= 44px) ---------- */

.gkfc-fzd-opp__cta,
.gkfc-fzd-giveaway__entry { min-height: var(--fz-tap); }

.gkfc-fzd-settings__submit,
.gkfc-auth-submit,
.gkfc-zone-button,
.gkfc-fzd-refer__btn,
.gkfc-fz-btn { min-height: 46px; }

.gkfc-fzd-nav__link {
	display: flex;
	align-items: center;
	min-height: 42px;
	padding: 0.65rem 0.75rem;
}

.gkfc-app-row { min-height: 48px; }

/* Quiz modal: thumb-sized close control and option rows. */
.gkfc-quiz-modal__close {
	min-width: var(--fz-tap);
	min-height: var(--fz-tap);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.gkfc-quiz-modal__option { padding: 0.55rem 0.6rem; }

/* ---------- 3.5  Primary-action vocabulary (visual unification) ---------- */

/* Six class vocabularies share one action language: brand head font,
   uppercase, tracked, one height class, one hover family. Class names
   and call sites are untouched — this is presentation only. */
.gkfc-fz-btn,
.gkfc-fzd-settings__submit,
.gkfc-auth-submit,
.gkfc-zone-button,
.gkfc-fzd-refer__btn,
.gkfc-fzd-cta,
.gkfc-fzd-opp__cta,
.gkfc-fzd-giveaway__entry {
	font-family: var(--fz-font-head);
	font-weight: 800;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	transition:
		background var(--fz-speed) var(--fz-ease),
		color var(--fz-speed) var(--fz-ease),
		border-color var(--fz-speed) var(--fz-ease),
		transform 0.12s var(--fz-ease);
}

/* Dashboard "Earn more points" CTA joins the gold-CTA hover family. */
.gkfc-fzd-cta:hover,
.gkfc-fzd-cta:focus-visible {
	outline: none;
	background: #fff;
	color: #1a1206;
}

/* ---------- 3.6  Focus visibility ---------- */

.gkfc-fzd a:focus-visible,
.gkfc-fzd button:focus-visible,
.gkfc-fzd-settings-page a:focus-visible,
.gkfc-fzd-settings-page button:focus-visible,
.gkfc-app-sheet a:focus-visible,
.gkfc-app-sheet button:focus-visible,
.gkfc-fan-auth a:focus-visible,
.gkfc-fan-auth button:focus-visible {
	outline: 2px solid var(--fz-gold);
	outline-offset: 2px;
}

/* ---------- 3.7  Mobile hardening ---------- */

/* Long names never force horizontal overflow inside cards. */
.gkfc-fzd-opp h4,
.gkfc-fzd-giveaway__title,
.gkfc-ticket-item__match,
.gkfc-fzd-top__name,
.gkfc-fzd-rank__info {
	min-width: 0;
	overflow-wrap: anywhere;
}

@media (max-width: 600px) {
	.gkfc-fzd-page-title { margin-top: 1rem; }
	.gkfc-fzd-card,
	.gkfc-fzd-block { padding: 1.05rem; }
	.gkfc-fzd-giveaway__entry { width: 100%; }
}

/* Quiz modal: fits small phones without clipping. */
@media (max-width: 480px) {
	.gkfc-quiz-modal {
		width: calc(100vw - 1rem);
		max-height: 82dvh;
		padding: 1rem 0.9rem 1.1rem;
		border-radius: var(--fz-r);
	}
	.gkfc-quiz-modal__head { flex-wrap: wrap; }
}

/* ---------- 3.8  Desktop balance ---------- */

@media (min-width: 1000px) {
	.fz-dash__body { gap: 1.25rem; }
	.fz-dash__stats { gap: 1.15rem; }
}

/* Member content never stretches on ultra-wide screens. */
.gkfc-fan-app__main .gkfc-fzd-settings-page__body,
.gkfc-fan-app__main .gkfc-fzd-main {
	width: 100%;
	max-width: var(--fz-max);
	margin-inline: auto;
}

/* ============================================================
   LAYER 4 — ID CARD + MATCH CARDS (2026-10-12)
   ============================================================
   Battalia Passport premium ID card (.gkfc-idcard*) and the Match
   Discussion result cards (.gkfc-disc-card* + .gkfc-disc-pill*).
   New namespaces so Layers 1-3 stay untouched. */

/* ---------- 4.1  Battalia Passport ID card ---------- */

.gkfc-idcard {
	position: relative;
	container-type: inline-size;
	overflow: hidden;
	border: 1px solid var(--fz-line);
	border-radius: var(--fz-r-lg, 18px);
	background:
		radial-gradient(120% 90% at 85% -10%, rgba(246, 197, 29, 0.09), transparent 55%),
		radial-gradient(90% 70% at 10% 110%, rgba(255, 123, 43, 0.08), transparent 50%),
		linear-gradient(165deg, #17121a 0%, #0e0a0d 58%, #120d12 100%);
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
	color: var(--fz-text);
}

.gkfc-idcard__band {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.8rem 1.05rem;
	background: linear-gradient(90deg, rgba(246, 197, 29, 0.16), rgba(246, 197, 29, 0.03) 55%, transparent);
	border-bottom: 1px solid rgba(246, 197, 29, 0.22);
}

.gkfc-idcard__seal {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	object-fit: contain;
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

.gkfc-idcard__club {
	font-family: var(--fz-font-heading, inherit);
	font-size: 0.92rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #fff;
}

.gkfc-idcard__brand {
	margin-left: auto;
	font-size: 0.58rem;
	font-weight: 700;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--fz-gold);
	white-space: nowrap;
}

.gkfc-idcard__body {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-areas:
		'photo id'
		'stats stats';
	gap: 0.9rem 1.1rem;
	padding: 1.1rem 1.15rem 0.95rem;
}

.gkfc-idcard__photo {
	grid-area: photo;
	align-self: start;
	width: 84px;
	height: 84px;
	border-radius: 50%;
	padding: 3px;
	background: linear-gradient(160deg, var(--fz-gold), #ff7b2b);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.gkfc-idcard__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	border: 2px solid #0e0a0d;
	background: #1a1418;
}

.gkfc-idcard__crest {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	border: 2px solid #0e0a0d;
	background: #1a1418 url("../images/avatar-crest.svg") center / 68% no-repeat;
}

.gkfc-idcard__id {
	grid-area: id;
	min-width: 0;
	align-self: center;
}

.gkfc-idcard__name {
	margin: 0 0 0.45rem;
	font-family: var(--fz-font-heading, inherit);
	font-size: clamp(1.05rem, 3.4vw, 1.3rem);
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
	overflow-wrap: anywhere;
}

.gkfc-idcard__row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem 0.6rem;
	margin: 0.15rem 0 0;
	font-size: 0.72rem;
}

.gkfc-idcard__row span {
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--fz-muted);
}

.gkfc-idcard__row strong {
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.08em;
	color: var(--fz-text);
}

.gkfc-idcard__stats {
	grid-area: stats;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gkfc-idcard__stats li {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	padding: 0.5rem 0.6rem;
	border: 1px solid var(--fz-line);
	border-radius: var(--fz-r-sm, 10px);
	background: rgba(255, 255, 255, 0.03);
	min-width: 0;
}

.gkfc-idcard__stats span {
	font-size: 0.56rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--fz-muted);
}

.gkfc-idcard__stats strong {
	font-size: 0.92rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	color: var(--fz-gold);
	overflow-wrap: anywhere;
}

.gkfc-idcard__barcode {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.3rem;
	padding: 0.75rem 1.15rem 0.95rem;
	border-top: 1px solid var(--fz-line);
	background: rgba(0, 0, 0, 0.25);
}

.gkfc-idcard__bars {
	display: block;
	width: min(260px, 82%);
	height: 46px;
	fill: #efe9df;
}

.gkfc-idcard__barcode-id {
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.34em;
	color: var(--fz-muted);
	font-variant-numeric: tabular-nums;
}

@container (max-width: 380px) {
	.gkfc-idcard__body {
		grid-template-columns: 1fr;
		grid-template-areas:
			'photo'
			'id'
			'stats';
		justify-items: center;
		text-align: center;
	}
	.gkfc-idcard__id { width: 100%; }
	.gkfc-idcard__row { justify-content: center; }
	.gkfc-idcard__brand { display: none; }
}

/* ---------- 4.2  Match discussion result cards ---------- */

.gkfc-disc-card {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	align-items: stretch;
	gap: 0.75rem 1.25rem;
	width: 100%;
	padding: 1rem 1.15rem;
	border: 1px solid var(--fz-line);
	border-radius: var(--fz-r-lg);
	background:
		radial-gradient(120% 100% at 0% 0%, rgba(131, 29, 33, 0.14), transparent 55%),
		var(--fz-surface, #171012);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
	color: var(--fz-text);
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.18s ease, background 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
}

.gkfc-disc-card:hover {
	border-color: rgba(246, 197, 29, 0.45);
	background:
		radial-gradient(120% 100% at 0% 0%, rgba(131, 29, 33, 0.2), transparent 55%),
		var(--fz-surface-2, #1e1417);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
	transform: translateY(-1px);
}

.gkfc-disc-card:active {
	transform: scale(0.995);
}

.gkfc-disc-card.is-active {
	border-color: var(--fz-gold);
	background:
		radial-gradient(120% 100% at 0% 0%, rgba(131, 29, 33, 0.18), transparent 55%),
		var(--fz-gold-soft, rgba(246, 197, 29, 0.08));
}

.gkfc-disc-card__col {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.gkfc-disc-card__col--result {
	gap: 0.55rem;
	justify-content: center;
}

.gkfc-disc-card__col--info {
	gap: 0.5rem;
	align-items: flex-end;
	justify-content: center;
	text-align: right;
	padding-left: 1.25rem;
	border-left: 1px solid var(--fz-line);
}

.gkfc-disc-card__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	align-items: center;
}

.gkfc-disc-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.22rem 0.58rem;
	border-radius: 999px;
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border: 1px solid transparent;
	white-space: nowrap;
}

.gkfc-disc-pill--ft {
	color: #e8e2e3;
	border-color: rgba(255, 255, 255, 0.16);
	background: rgba(255, 255, 255, 0.1);
}

.gkfc-disc-pill--live {
	color: #ffd7d7;
	border-color: rgba(255, 92, 92, 0.5);
	background: rgba(255, 92, 92, 0.14);
}

.gkfc-disc-pill__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #ff5c5c;
	box-shadow: 0 0 0 0 rgba(255, 92, 92, 0.5);
	animation: gkfc-disc-live 1.6s ease-out infinite;
}

@keyframes gkfc-disc-live {
	0% { box-shadow: 0 0 0 0 rgba(255, 92, 92, 0.5); }
	70% { box-shadow: 0 0 0 6px rgba(255, 92, 92, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 92, 92, 0); }
}

.gkfc-disc-pill--won {
	color: #fff;
	background: #14682f;
	border-color: #1b8440;
}

.gkfc-disc-pill--lost {
	color: #fff;
	background: #831d21;
	border-color: #a12830;
}

.gkfc-disc-pill--draw {
	color: var(--fz-text);
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.2);
}

.gkfc-disc-card__board {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 0.55rem;
}

.gkfc-disc-card__team {
	min-width: 0;
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--fz-muted);
	overflow-wrap: anywhere;
}

.gkfc-disc-card__team.is-club {
	color: #fff;
	font-weight: 800;
}

.gkfc-disc-card__team--home { text-align: right; }
.gkfc-disc-card__team--away { text-align: left; }

.gkfc-disc-card__score {
	display: inline-flex;
	align-items: baseline;
	gap: 0.45rem;
	font-variant-numeric: tabular-nums;
}

.gkfc-disc-card__num {
	font-family: var(--fz-font-heading, inherit);
	font-size: 1.55rem;
	font-weight: 800;
	line-height: 1;
	color: rgba(246, 242, 240, 0.9);
}

.gkfc-disc-card__num.is-club {
	color: var(--fz-gold);
}

.gkfc-disc-card__dash {
	color: var(--fz-muted);
	font-weight: 700;
	font-size: 1.05rem;
}

.gkfc-disc-card__comp {
	font-size: 0.74rem;
	font-weight: 600;
	color: var(--fz-text);
	overflow-wrap: anywhere;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
}

.gkfc-disc-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.4rem 0.6rem;
	font-size: 0.7rem;
	color: var(--fz-muted);
}

.gkfc-disc-card__date {
	white-space: nowrap;
}

.gkfc-disc-card__msgs {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	border: 1px solid rgba(246, 197, 29, 0.28);
	background: rgba(246, 197, 29, 0.1);
	color: var(--fz-gold);
	font-size: 0.68rem;
	font-weight: 700;
	white-space: nowrap;
}

.gkfc-disc-card__chaticon {
	width: 13px;
	height: 13px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex: 0 0 auto;
}

/* Scoreboard head pills sit inline in the meta row. */
.gkfc-disc-head__meta .gkfc-disc-pill {
	margin-right: 0.3rem;
}

@media (max-width: 720px) {
	.gkfc-disc-card {
		grid-template-columns: minmax(0, 1fr);
		gap: 0.7rem;
		padding: 0.95rem 1rem;
	}

	.gkfc-disc-card__col--info {
		align-items: flex-start;
		text-align: left;
		padding-left: 0;
		padding-top: 0.65rem;
		border-left: 0;
		border-top: 1px solid var(--fz-line);
	}

	.gkfc-disc-card__meta {
		justify-content: flex-start;
	}

	.gkfc-disc-card__num { font-size: 1.35rem; }
	.gkfc-disc-card__team { font-size: 0.7rem; }
}

@media (prefers-reduced-motion: reduce) {
	.gkfc-disc-card { transition: none; }
	.gkfc-disc-card:hover { transform: none; }
}

/* ---------- 4.3  Discussion photo lightbox ---------- */

.gkfc-disc-post__photo img {
	cursor: zoom-in;
}

.gkfc-lb-backdrop {
	position: fixed;
	inset: 0;
	z-index: 10050;
	background: rgba(0, 0, 0, 0.82);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.gkfc-lb {
	position: relative;
	max-width: min(94vw, 900px);
	max-height: 86vh;
}

.gkfc-lb img {
	display: block;
	max-width: 100%;
	max-height: 86vh;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: var(--fz-r-sm, 10px);
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
}

.gkfc-lb__close {
	position: absolute;
	top: -0.35rem;
	right: -0.35rem;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--fz-line);
	border-radius: 50%;
	background: rgba(10, 6, 7, 0.9);
	color: #fff;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
}

.gkfc-lb__close:hover,
.gkfc-lb__close:focus-visible {
	border-color: var(--fz-gold);
	color: var(--fz-gold);
}

/* ────────────────────────────────────────────────────────────────────────
   LAYER 5 — Quiz player: one-question-at-a-time stepper + question image
   ──────────────────────────────────────────────────────────────────────── */

.gkfc-quiz-modal__step {
  margin: 0 0 .6rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--fz-muted, rgba(255, 255, 255, .55));
}

.gkfc-quiz-modal__questions { margin: 0; }
.gkfc-quiz-modal__q { display: none; }
.gkfc-quiz-modal__q.is-active { display: block; }

.gkfc-quiz-modal__img {
  display: block;
  width: 100%;
  max-height: 42vh;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: .75rem;
  background: rgba(255, 255, 255, .04);
}

.gkfc-quiz-modal__nav {
  display: flex;
  gap: .6rem;
  align-items: center;
  margin-top: .9rem;
}
.gkfc-quiz-modal__nav .gkfc-quiz-modal__prev { margin-right: auto; }
.gkfc-quiz-modal__prev {
  background: transparent;
  color: var(--fz-text, #f4f4f6);
  border: 1px solid rgba(255, 255, 255, .18);
}
.gkfc-quiz-modal__prev:disabled { opacity: .35; cursor: default; }

/* ---------- Fan auth: login / register redesign ---------- */

.gkfc-fan-auth {
	--gkfc-accent: var(--fz-gold);
	position: relative;
	display: flex;
	flex-direction: column;
	max-width: 440px;
	margin: clamp(1.2rem, 4vh, 3rem) auto;
	border: 1px solid var(--fz-line-2);
	border-radius: var(--fz-r-lg);
	background:
		radial-gradient(520px 220px at 50% -8%, var(--fz-maroon-soft), transparent 70%),
		linear-gradient(170deg, var(--fz-surface-2) 0%, var(--fz-surface) 55%, var(--fz-bg-elev) 100%);
	box-shadow: var(--fz-shadow-lg);
	overflow: hidden;
}

.gkfc-fan-auth::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		repeating-linear-gradient(90deg, transparent 0 46px, rgba(255, 255, 255, 0.018) 46px 47px),
		radial-gradient(340px 340px at 50% 118%, rgba(246, 197, 29, 0.06), transparent 65%);
}

.gkfc-fan-auth__brand,
.gkfc-fan-auth__form { position: relative; z-index: 1; }

.gkfc-fan-auth__brand {
	padding: 1.9rem 1.6rem 0.3rem;
	background: none;
	border: 0;
	text-align: center;
}

.gkfc-fan-auth__brand::before,
.gkfc-fan-auth__brand::after { display: none; }

.gkfc-fan-auth__logo {
	width: min(230px, 72%);
	height: auto;
	margin: 0 auto;
	animation: none;
	filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
}

@media (min-width: 900px) {
	.gkfc-fan-auth__brand { border-right: 0; }
}

.gkfc-fan-auth__form { padding: 0.9rem 1.6rem 1.9rem; }

.gkfc-fan-auth__panel-title {
	font-family: var(--fz-font-head);
	font-size: 1.45rem;
	font-weight: 800;
	color: var(--fz-text);
	text-align: center;
	letter-spacing: -0.01em;
}

.gkfc-fan-auth__lead {
	margin-bottom: 1.35rem;
	text-align: center;
	color: var(--fz-muted);
	font-size: 0.92rem;
	line-height: 1.55;
}

.gkfc-fan-auth__tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
	padding: 4px;
	margin-bottom: 1.4rem;
	border: 1px solid var(--fz-line);
	border-radius: 999px;
	background: var(--fz-surface-3);
}

.gkfc-fan-auth__tab {
	min-height: 44px;
	border-radius: 999px;
	letter-spacing: 0.08em;
	transition:
		background var(--fz-speed) var(--fz-ease),
		color var(--fz-speed) var(--fz-ease),
		box-shadow var(--fz-speed) var(--fz-ease);
}

.gkfc-fan-auth__tab.is-active {
	background: linear-gradient(135deg, var(--fz-gold) 0%, var(--fz-gold-deep) 100%);
	color: #1a1012;
	box-shadow: 0 4px 14px rgba(246, 197, 29, 0.28);
}

.gkfc-fan-auth__tab:focus-visible { outline-color: var(--fz-gold); }

.gkfc-fan-auth .gkfc-field label {
	color: var(--fz-muted);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.gkfc-fan-auth input:not([type="checkbox"]):not([type="hidden"]),
.gkfc-fan-auth select {
	min-height: 48px;
	border: 1px solid var(--fz-line-2);
	border-radius: var(--fz-r);
	background: var(--fz-surface-2);
	color: var(--fz-text);
	transition:
		border-color var(--fz-speed) var(--fz-ease),
		box-shadow var(--fz-speed) var(--fz-ease);
}

.gkfc-fan-auth input:not([type="checkbox"]):not([type="hidden"])::placeholder { color: var(--fz-faint); }

.gkfc-fan-auth input:not([type="checkbox"]):not([type="hidden"]):focus,
.gkfc-fan-auth select:focus {
	outline: none;
	border-color: var(--fz-gold-line);
	box-shadow: 0 0 0 3px var(--fz-gold-soft);
}

.gkfc-fan-auth input[aria-invalid="true"],
.gkfc-fan-auth select.is-invalid { border-color: var(--fz-bad); }

.gkfc-fan-auth input[name="login"],
.gkfc-fan-auth input[name="email"],
.gkfc-fan-auth input[name="phone"],
.gkfc-fan-auth input[type="password"] {
	padding-left: 2.55rem;
	background-repeat: no-repeat;
	background-position: 0.95rem center;
	background-size: 1.05rem;
}

.gkfc-fan-auth input[name="login"] {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3a0a2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
}

.gkfc-fan-auth input[name="email"] {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3a0a2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E");
}

.gkfc-fan-auth input[name="phone"] {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3a0a2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.08 4.18 2 2 0 0 1 4.07 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.gkfc-fan-auth input[type="password"] {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3a0a2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E");
}

.gkfc-fan-auth .gkfc-pass-toggle { color: var(--fz-muted); }
.gkfc-fan-auth .gkfc-pass-toggle:hover { color: var(--fz-gold); }

.gkfc-fan-auth .gkfc-auth-submit {
	width: 100%;
	min-height: 52px;
	margin-top: 0.4rem;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--fz-gold) 0%, var(--fz-gold-deep) 100%);
	color: #1a1012;
	font-family: var(--fz-font-head);
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	box-shadow: 0 10px 26px rgba(246, 197, 29, 0.22);
	transition:
		filter var(--fz-speed) var(--fz-ease),
		box-shadow var(--fz-speed) var(--fz-ease),
		transform var(--fz-speed) var(--fz-ease);
}

.gkfc-fan-auth .gkfc-auth-submit:hover {
	filter: brightness(1.05);
	box-shadow: 0 14px 32px rgba(246, 197, 29, 0.3);
}

.gkfc-fan-auth .gkfc-auth-submit:active { transform: translateY(1px); }

.gkfc-fan-auth .gkfc-auth-submit[disabled],
.gkfc-fan-auth .gkfc-auth-submit.is-loading { opacity: 0.75; }

.gkfc-fan-auth .gkfc-auth-link {
	margin-top: 0.85rem;
	text-align: center;
	color: var(--fz-muted);
	font-size: 0.88rem;
}

.gkfc-fan-auth .gkfc-auth-link a {
	color: var(--fz-gold);
	font-weight: 700;
	text-decoration: none;
}

.gkfc-fan-auth .gkfc-auth-link a:hover { text-decoration: underline; }

.gkfc-fan-auth .gkfc-auth-link__btn { color: var(--fz-muted); }
.gkfc-fan-auth .gkfc-auth-link__btn:hover { color: var(--fz-gold); }

@media (max-width: 480px) {
	.gkfc-fan-auth {
		margin: 0.6rem auto;
		border-radius: var(--fz-r);
	}
	.gkfc-fan-auth__brand { padding: 1.5rem 1.1rem 0.2rem; }
	.gkfc-fan-auth__form { padding: 0.9rem 1.1rem 1.5rem; }
}

@media (max-width: 900px) {
	body.gkfc-fan-app--auth .gkfc-app-bar { display: none; }
	body.gkfc-fan-app--auth .gkfc-fan-app__main {
		padding: calc(var(--fz-gutter) + var(--fz-sat)) var(--fz-gutter)
			calc(var(--fz-gutter) + var(--fz-sab));
	}
}

/* ============================================================
   LAYER 6 — Quiz attempt: mobile fullscreen + Time Left timer
   ------------------------------------------------------------
   Add-only layer (same convention as Layers 3–5). Scoped strictly
   to the attempt modal (.gkfc-quiz-modal*): the management dashboard
   and every other surface are untouched. Desktop keeps the centred
   dialog; phones (≤640px) get a native-app-like fullscreen player
   with safe-area padding, a sticky timer chip and a fixed action bar.
   ============================================================ */

/* Timer chip — "Time Left" label + tabular MM:SS / HH:MM:SS value. */
.gkfc-quiz-modal__timer {
	display: inline-flex;
	align-items: baseline;
	gap: 0.4rem;
	flex: 0 0 auto;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	font-size: 0.95rem;
	color: #F6C51D;
	background: rgba(246, 197, 29, 0.12);
	border: 1px solid rgba(246, 197, 29, 0.28);
	border-radius: 999px;
	padding: 0.3rem 0.75rem;
	line-height: 1.2;
	white-space: nowrap;
}
.gkfc-quiz-modal__timer-label {
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(246, 197, 29, 0.9);
}
.gkfc-quiz-modal__timer-val { font-size: 1rem; }

/* Final-minute warning: club red + soft pulse. */
.gkfc-quiz-modal__timer.is-urgent {
	color: #fff;
	background: #C1121F;
	border-color: rgba(255, 255, 255, 0.28);
	animation: gkfc-quiz-timer-pulse 1s ease-in-out infinite;
}
.gkfc-quiz-modal__timer.is-urgent .gkfc-quiz-modal__timer-label {
	color: rgba(255, 255, 255, 0.88);
}
@keyframes gkfc-quiz-timer-pulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(193, 18, 31, 0.55); }
	50% { box-shadow: 0 0 0 6px rgba(193, 18, 31, 0); }
}

/* Lock background scroll while the attempt is open (the modal is a
   direct body child, so body.gkfc-fan-app rules do not cover it). */
body.gkfc-quiz-open { overflow: hidden; }

/* The modal lives outside .gkfc-fan-app, so the WebView safe-area
   zeroing (§ html.gkfc-webview body.gkfc-fan-app) does not reach it —
   re-scope the tokens here while the quiz is open. */
html.gkfc-webview body.gkfc-quiz-open {
	--fz-sat: 0px;
	--fz-sab: 0px;
}

@media (max-width: 640px) {
	/* Fullscreen attempt surface: edge-to-edge, viewport-height correct
       (dvh tracks mobile browser chrome; vh is the fallback), no
       horizontal scroll, no rounded card chrome. */
	.gkfc-quiz-modal {
		position: fixed;
		inset: 0;
		top: 0;
		left: 0;
		transform: none;
		width: 100%;
		height: 100vh;
		height: 100dvh;
		max-height: none;
		border-radius: 0;
		border: 0;
		box-shadow: none;
		padding: calc(0.9rem + var(--fz-sat, 0px)) 0.9rem calc(1rem + var(--fz-sab, 0px));
		display: flex;
		flex-direction: column;
		overflow: hidden;
	}

	/* Head pins to the top; the form area owns the only scroll. */
	.gkfc-quiz-modal__head {
		flex: 0 0 auto;
		flex-wrap: wrap;
		align-items: center;
		margin-bottom: 0.7rem;
		padding-bottom: 0.55rem;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	}
	.gkfc-quiz-modal__timer { order: 3; margin-left: auto; }
	.gkfc-quiz-modal__close { order: 4; min-width: 44px; min-height: 44px; }

	.gkfc-quiz-modal__form {
		flex: 1 1 auto;
		min-height: 0;
		display: flex;
		flex-direction: column;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
	}

	/* Action bar sits at the bottom of the viewport; the gradient
       fades content scrolling beneath it. */
	.gkfc-quiz-modal__nav {
		position: sticky;
		bottom: 0;
		flex: 0 0 auto;
		margin-top: auto;
		padding-top: 0.75rem;
		background: linear-gradient(180deg, rgba(20, 20, 26, 0) 0%, #14141a 32%);
	}
	.gkfc-quiz-modal__nav .gkfc-btn {
		flex: 1;
		min-height: 48px;
	}

	/* Comfortable touch targets; 1rem text also blocks iOS zoom. */
	.gkfc-quiz-modal__option {
		min-height: 48px;
		padding: 0.55rem 0.65rem;
		font-size: 1rem;
	}
	.gkfc-quiz-modal__option input { width: 20px; height: 20px; }
	.gkfc-quiz-modal__text { min-height: 48px; font-size: 1rem; }
	.gkfc-quiz-modal__qtext { font-size: 1rem; }
	.gkfc-quiz-modal__img { max-height: 34vh; }
	.gkfc-quiz-modal__result { margin: auto 0; }
}
/* == Layer 7 -- v1.16.0 Booking CTA, Book Tickets page, countdown == */

.gkfc-fzd-book-cta { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; margin: 0 0 18px; }
.gkfc-fzd-book-cta__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gkfc-fzd-book-cta__badge { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: #7a7a7a; }
.gkfc-fzd-book-cta__state { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: #eee; color: #444; }
.gkfc-fzd-book-cta__state--open { background: rgba(193, 18, 31, 0.12); color: #c1121f; }
.gkfc-fzd-book-cta__fixture { font-size: 1.15rem; font-weight: 700; margin: 2px 0 0; }
.gkfc-fzd-book-cta__meta { font-size: 0.85rem; color: #7a7a7a; margin: 0; }
.gkfc-fzd-book-cta__countdown { font-size: 0.85rem; color: #555; margin: 2px 0 6px; }
.gkfc-fzd-book-cta__countdown strong { font-variant-numeric: tabular-nums; color: #c1121f; font-weight: 700; }
.gkfc-fzd-book-cta__countdown strong.is-expired { color: #999; }
.gkfc-fzd-book-cta__btn { align-self: flex-start; }

.gkfc-fzd-book__match { margin: 0 0 16px; }
.gkfc-fzd-book__match h4 { font-size: 1.15rem; font-weight: 700; margin: 0 0 4px; }
.gkfc-fzd-book__match p { font-size: 0.85rem; color: #7a7a7a; margin: 0 0 8px; }
.gkfc-fzd-book__status { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 0.85rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: #eee; color: #444; margin: 0; }
.gkfc-fzd-book__status--open { background: rgba(193, 18, 31, 0.12); color: #c1121f; }
.gkfc-fzd-book__status--closed { background: #eee; color: #888; }
.gkfc-fzd-book__status strong { font-variant-numeric: tabular-nums; }
.gkfc-fzd-book__status strong.is-expired { color: #999; }
.gkfc-fzd-book__status-time { font-weight: 400; color: #7a7a7a; }

.gkfc-ticket-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.gkfc-ticket-item { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px 14px; border-radius: 10px; background: rgba(0, 0, 0, 0.03); border: 1px solid rgba(0, 0, 0, 0.06); }
.gkfc-ticket-match { font-weight: 700; font-size: 0.9rem; }
.gkfc-ticket-date, .gkfc-ticket-category { font-size: 0.8rem; color: #7a7a7a; }
.gkfc-ticket-status { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 2px 8px; border-radius: 999px; background: #eee; color: #444; margin-left: auto; }
.gkfc-ticket-status--valid, .gkfc-ticket-status--active { background: rgba(193, 18, 31, 0.12); color: #c1121f; }
.gkfc-ticket-status--used { background: rgba(22, 163, 74, 0.12); color: #16a34a; }
.gkfc-ticket-qr { font-size: 0.8rem; font-weight: 700; color: #c1121f; text-decoration: none; }
.gkfc-ticket-qr:hover { text-decoration: underline; }

html.gkfc-webview body .gkfc-fzd-book-cta__btn { min-height: 48px; }

/* == Layer 7 -- match push card (wp-admin) == */
.gkfc-mb-card--match-push { border-left: 3px solid #c1121f; }
.gkfc-push-preview { margin: 12px 0; }
.gkfc-push-preview__card { display: flex; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #f6f6f7; border: 1px solid #ddd; max-width: 380px; }
.gkfc-push-preview__icon { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; }
.gkfc-push-preview__body { min-width: 0; }
.gkfc-push-preview__head { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; color: #888; margin-bottom: 2px; }
.gkfc-push-preview__title { font-weight: 700; font-size: 13px; }
.gkfc-push-preview__text { font-size: 12px; color: #444; white-space: pre-line; }
.gkfc-push-preview__cta { margin-top: 6px; font-size: 12px; font-weight: 700; color: #c1121f; }
.gkfc-mb-actions { display: flex; gap: 10px; margin-top: 8px; }
.gkfc-push-history__title { margin: 18px 0 6px; font-size: 13px; }
.gkfc-push-history { font-size: 12px; }

/* == Layer 8 -- v1.17.2 Book Tickets premium match cards ==
   Scoped to /fan-zone/book-tickets/ only (.gkfc-fzd-book--v2 + card
   classes). Dark card system on the fan surface tokens, GKFC brand
   accents: Deep Maroon #7A0019, GKFC Red #C1121F, Gold #F4C430. */

.gkfc-fzd-book--v2 .gkfc-fzd-book__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	margin: 0 0 18px;
}
@media (min-width: 720px) {
	.gkfc-fzd-book--v2 .gkfc-fzd-book__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}

.gkfc-fzd-mcard {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 18px 18px 16px;
	border-radius: var(--fz-r-lg, 20px);
	background: var(--fz-surface, #171012);
	border: 1px solid var(--fz-line, rgba(255, 255, 255, 0.08));
	box-shadow: var(--fz-shadow-sm, 0 2px 10px rgba(0, 0, 0, 0.32));
	overflow: hidden;
	transition: transform var(--fz-speed, 0.22s) var(--fz-ease, ease), box-shadow var(--fz-speed, 0.22s) var(--fz-ease, ease);
}
@media (hover: hover) {
	.gkfc-fzd-mcard:hover { transform: translateY(-2px); box-shadow: var(--fz-shadow, 0 12px 32px rgba(0, 0, 0, 0.44)); }
}
.gkfc-fzd-mcard:focus-within { box-shadow: 0 0 0 2px var(--fz-gold, #f6c51d); }

/* Optional match-post poster behind a cinematic maroon scrim. */
.gkfc-fzd-mcard::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(160deg, rgba(122, 0, 25, 0.88) 0%, rgba(10, 6, 7, 0.94) 62%, rgba(10, 6, 7, 0.99) 100%),
		var(--fzd-poster, none);
	background-size: cover;
	background-position: center;
	opacity: 1;
	pointer-events: none;
}
.gkfc-fzd-mcard > * { position: relative; z-index: 1; }

.gkfc-fzd-mcard.is-selected {
	box-shadow: 0 0 0 2px var(--fz-gold, #f6c51d), var(--fz-shadow, 0 12px 32px rgba(0, 0, 0, 0.44));
}

.gkfc-fzd-mcard__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gkfc-fzd-mcard__comp {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #f4c430;
}
.gkfc-fzd-mcard__badge {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 3px 10px;
	border-radius: 999px;
	background: rgba(193, 18, 31, 0.22);
	color: #ff8b8b;
	border: 1px solid rgba(193, 18, 31, 0.45);
	white-space: nowrap;
}

.gkfc-fzd-mcard__crests {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: start;
	gap: 8px;
	padding: 6px 0 2px;
}
.gkfc-fzd-mcard__side {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	min-width: 0;
	text-align: center;
}
.gkfc-fzd-mcard__logo {
	width: 56px;
	height: 56px;
	object-fit: contain;
	filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}
.gkfc-fzd-mcard__mono {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--fz-surface-3, #261a1d);
	border: 1px solid var(--fz-gold-line, rgba(246, 197, 29, 0.42));
	color: var(--fz-gold, #f6c51d);
	font-family: var(--fz-font-head, 'Montserrat', sans-serif);
	font-weight: 800;
	font-size: 1rem;
	letter-spacing: 0.04em;
}
.gkfc-fzd-mcard__team {
	font-family: var(--fz-font-head, 'Montserrat', sans-serif);
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--fz-text, #f6f2f0);
	overflow-wrap: anywhere;
}
.gkfc-fzd-mcard__vs {
	align-self: center;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.14em;
	color: #f4c430;
	padding-top: 18px;
}

.gkfc-fzd-mcard__info {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	font-size: 0.82rem;
	color: var(--fz-muted, #b3a0a2);
	text-align: center;
}

.gkfc-fzd-mcard__countdown {
	margin: 0;
	font-size: 0.78rem;
	color: var(--fz-muted, #b3a0a2);
	text-align: center;
}
.gkfc-fzd-mcard__countdown strong {
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	color: #f4c430;
}
.gkfc-fzd-mcard__countdown strong.is-expired { color: var(--fz-faint, #857476); }

.gkfc-fzd-mcard__price {
	margin: 0;
	font-size: 0.85rem;
	font-weight: 600;
	text-align: center;
	color: var(--fz-text, #f6f2f0);
}

.gkfc-fzd-mcard__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin-top: auto;
	padding: 12px 18px;
	border-radius: var(--fz-r, 14px);
	background: linear-gradient(135deg, #c1121f 0%, #7a0019 100%);
	border: 1px solid rgba(244, 196, 48, 0.35);
	color: #fff;
	font-family: var(--fz-font-head, 'Montserrat', sans-serif);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	transition: filter var(--fz-speed, 0.22s) var(--fz-ease, ease), transform var(--fz-speed, 0.22s) var(--fz-ease, ease);
}
@media (hover: hover) {
	.gkfc-fzd-mcard__cta:hover { filter: brightness(1.1); transform: translateY(-1px); }
}
.gkfc-fzd-mcard__cta:active { transform: translateY(0); }
.gkfc-fzd-mcard__cta:focus-visible { outline: 2px solid var(--fz-gold, #f6c51d); outline-offset: 2px; }
html.gkfc-webview .gkfc-fzd-mcard__cta { min-height: 48px; }

/* Empty state. */
.gkfc-fzd-book__empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 34px 22px;
	margin: 0 0 18px;
	text-align: center;
	border-radius: var(--fz-r-lg, 20px);
	background: var(--fz-surface, #171012);
	border: 1px dashed var(--fz-line-2, rgba(255, 255, 255, 0.14));
}
.gkfc-fzd-book__empty-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--fz-maroon-soft, rgba(131, 29, 33, 0.22));
	border: 1px solid var(--fz-gold-line, rgba(246, 197, 29, 0.42));
	color: #f4c430;
	font-family: var(--fz-font-head, 'Montserrat', sans-serif);
	font-weight: 800;
	font-size: 0.72rem;
	letter-spacing: 0.08em;
}
.gkfc-fzd-book__empty h4 {
	margin: 2px 0 0;
	font-family: var(--fz-font-head, 'Montserrat', sans-serif);
	font-size: 1.05rem;
	color: var(--fz-text, #f6f2f0);
}
.gkfc-fzd-book__empty p {
	margin: 0;
	max-width: 420px;
	font-size: 0.86rem;
	line-height: 1.55;
	color: var(--fz-muted, #b3a0a2);
}

/* Selected-match booking panel (hosts the unchanged wizard). */
.gkfc-fzd-book__panel { margin: 6px 0 4px; scroll-margin-top: 16px; }
.gkfc-fzd-book__panel .gkfc-fzd-book__match {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-align: center;
	margin: 0 0 16px;
}
.gkfc-fzd-book__match-crests { display: flex; align-items: center; gap: 14px; }
.gkfc-fzd-book__match-crests .gkfc-fzd-mcard__logo,
.gkfc-fzd-book__match-crests .gkfc-fzd-mcard__mono { width: 48px; height: 48px; }
.gkfc-fzd-book__match-vs {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.14em;
	color: #f4c430;
}

@media (prefers-reduced-motion: reduce) {
	.gkfc-fzd-mcard, .gkfc-fzd-mcard__cta { transition: none; }
	.gkfc-fzd-mcard:hover, .gkfc-fzd-mcard__cta:hover { transform: none; }
}

/* == Layer 9 -- v1.17.4 Animated flip-counter (dashboard booking CTA) ==
   Segmented Days/Hours/Minutes/Seconds tiles on the light dashboard
   surface. Each cell is fixed-width (tabular) so the strip never
   reflows; a changed digit re-triggers a short slide+glow tick. */

.gkfc-fzd-cta-cd {
	display: flex;
	align-items: stretch;
	gap: 8px;
	margin: 2px 0 8px;
}
.gkfc-fzd-cta-cd__unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	min-width: 56px;
	padding: 8px 10px 6px;
	border-radius: 12px;
	background: linear-gradient(180deg, #ffffff 0%, #f4f4f5 100%);
	border: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	position: relative;
	overflow: hidden;
}
.gkfc-fzd-cta-cd__num {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.45rem;
	font-weight: 800;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	color: #7a0019;
	min-width: 2ch;
	text-align: center;
	display: inline-block;
}
.gkfc-fzd-cta-cd__lbl {
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #7a7a7a;
}
/* Subtle brand shimmer sweeping the tile on each tick. */
.gkfc-fzd-cta-cd__unit::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, transparent 30%, rgba(244, 196, 48, 0.22) 50%, transparent 70%);
	transform: translateX(-120%);
	pointer-events: none;
}
.gkfc-fzd-cta-cd__num.is-tick { animation: gkfc-cd-tick 0.45s ease; }
.gkfc-fzd-cta-cd__unit:has(.is-tick)::after { animation: gkfc-cd-sheen 0.55s ease; }

@keyframes gkfc-cd-tick {
	0% { transform: translateY(-70%); opacity: 0; }
	55% { transform: translateY(4%); opacity: 1; }
	100% { transform: translateY(0); opacity: 1; }
}
@keyframes gkfc-cd-sheen {
	0% { transform: translateX(-120%); }
	100% { transform: translateX(120%); }
}
.gkfc-fzd-cta-cd.is-expired {
	display: inline-flex;
	align-items: center;
	font-size: 0.85rem;
	font-weight: 700;
	color: #999;
}

html.gkfc-webview body .gkfc-fzd-cta-cd__unit { min-width: 60px; min-height: 48px; }

@media (prefers-reduced-motion: reduce) {
	.gkfc-fzd-cta-cd__num.is-tick,
	.gkfc-fzd-cta-cd__unit:has(.is-tick)::after { animation: none; }
}

/* ---------- Global app footer (v1.17.18) ---------- */

.gkfc-app-foot {
	margin: 2rem 0 0;
	padding: 0.9rem 0 0.25rem;
	border-top: 1px solid var(--fz-line);
	text-align: center;
}

.gkfc-app-foot p {
	margin: 0;
	color: var(--fz-muted);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.5;
}

@media (min-width: 901px) {
	.gkfc-app-foot { margin-top: 2.5rem; }
}

/* ---------- Promotional poster (v1.17.21) ---------- */

.gkfc-fzd-promo {
	display: block;
	width: 100%;
	margin: 0;
	min-width: 0;
}

.gkfc-fzd-promo__link {
	display: block;
	overflow: hidden;
	border-radius: var(--gkfc-radius-lg, 16px);
}

.gkfc-fzd-promo img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--gkfc-radius-lg, 16px);
	border: 1px solid var(--fzd-line, rgba(255, 255, 255, 0.09));
	box-shadow: var(--gkfc-shadow, 0 10px 28px rgba(0, 0, 0, 0.28));
	background: var(--gkfc-surface, #16100f);
	transition: transform 0.25s ease;
}

.gkfc-fzd-promo__link:hover img { transform: scale(1.02); }

.gkfc-fzd-promo__link:focus-visible {
	outline: 2px solid var(--gkfc-accent, #ff7b2b);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.gkfc-fzd-promo img { transition: none; }
	.gkfc-fzd-promo__link:hover img { transform: none; }
}

/* ---------- Notifications: clear + deep-link focus (v1.17.22) ---------- */

.gkfc-app-sheet__clear {
	margin-left: auto;
	padding: 0.32rem 0.72rem;
	border: 1px solid var(--fz-line, rgba(255, 255, 255, 0.14));
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	color: var(--fz-muted, #9c9497);
	font-family: var(--fz-font-head, inherit);
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.gkfc-app-sheet__clear:hover,
.gkfc-app-sheet__clear:focus-visible {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.4);
}

.gkfc-app-sheet__clear[disabled] {
	opacity: 0.55;
	pointer-events: none;
}

/* Deep-link focus: clear the sticky app bar when scrolled into view. */
.gkfc-disc-post,
.gkfc-disc-reply {
	scroll-margin-top: calc(var(--fz-bar-h, 64px) + 1rem);
}

/* ---------- Rewards marketplace (v1.18.0): fan zone ---------- */

/* Balance chip in the block head (shared by Rewards + My Redemptions). */
.gkfc-fz-rewards__balance {
	color: var(--fz-muted, #9c9497);
	font-family: var(--fz-font-head, inherit);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
}

.gkfc-fz-rewards__balance b {
	color: var(--fz-gold, #e9b949);
	font-size: 0.95rem;
	font-weight: 800;
}

/* Closest-reward progress block. */
.gkfc-fz-rewards__near {
	margin-top: 0.9rem;
	padding: 0.85rem 0.95rem;
	border: 1px solid var(--fz-line, rgba(255, 255, 255, 0.14));
	border-radius: var(--fz-r-sm, 10px);
	background: var(--fz-surface, #16100f);
}

.gkfc-fz-rewards__near-top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.55rem;
	color: var(--fz-muted, #9c9497);
	font-size: 0.76rem;
}

.gkfc-fz-rewards__near-top span:first-child {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.gkfc-fz-rewards__near-top span:last-child {
	color: var(--fz-gold, #e9b949);
	font-weight: 700;
	white-space: nowrap;
}

.gkfc-fz-rewards__near-meta {
	display: block;
	margin-top: 0.45rem;
	color: var(--fz-faint, #6f6669);
	font-size: 0.72rem;
}

/* Category chips: horizontally scrollable on phones. */
.gkfc-fz-rewards__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 1rem 0 0.9rem;
}

.gkfc-fz-rewards__chips .gkfc-fz-chip {
	min-height: 34px;
	font-family: inherit;
	cursor: pointer;
	transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.gkfc-fz-rewards__chips .gkfc-fz-chip.is-active {
	border-color: rgba(255, 123, 43, 0.65);
	background: rgba(255, 123, 43, 0.14);
	color: #fff;
}

.gkfc-fz-chip--link {
	text-decoration: none;
	white-space: nowrap;
}

.gkfc-fz-chip--link:hover,
.gkfc-fz-chip--link:focus-visible {
	color: #fff;
	border-color: rgba(255, 123, 43, 0.65);
}

/* Catalog grid: auto-fill cards so a growing catalog just reflows. */
.gkfc-fz-rewards__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 0.85rem;
}

@media (min-width: 640px) {
	.gkfc-fz-rewards__grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
}

/* Card refinements on top of the base .gkfc-fz-reward (battalia.css):
   media flush to the card edge, content padded, CTA pinned to the bottom. */
.gkfc-fz-rewards__grid .gkfc-fz-reward {
	padding: 0;
	overflow: hidden;
	border-radius: var(--fz-r-lg, 16px);
}

.gkfc-fz-rewards__grid .gkfc-fz-reward__media {
	aspect-ratio: 16 / 11;
	margin: 0;
	border-radius: 0;
	background: var(--fz-surface-3, #1f1918);
}

.gkfc-fz-reward__media-ph {
	color: rgba(255, 255, 255, 0.22);
	font-size: 2.4rem;
	line-height: 1;
}

.gkfc-fz-reward__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.4rem;
	padding: 0.85rem;
}

.gkfc-fz-reward__top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.6rem;
}

.gkfc-fz-reward__top h4 {
	margin: 0;
	color: #fff;
	font-family: var(--fz-font-head, inherit);
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1.25;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	overflow-wrap: anywhere;
}

.gkfc-fz-reward__pts {
	flex-shrink: 0;
	color: var(--fz-gold, #e9b949);
	font-family: var(--fz-font-head, inherit);
	font-size: 0.76rem;
	font-weight: 800;
	white-space: nowrap;
}

.gkfc-fz-reward__desc {
	margin: 0;
	color: var(--fz-muted, #9c9497);
	font-size: 0.74rem;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.gkfc-fz-reward__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem 0.6rem;
	color: var(--fz-faint, #6f6669);
	font-size: 0.66rem;
	letter-spacing: 0.03em;
}

.gkfc-fz-reward__method,
.gkfc-fz-reward__stock {
	display: inline-flex;
	align-items: center;
	padding: 0.12rem 0.5rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
	white-space: nowrap;
}

.gkfc-fz-reward__cta {
	margin-top: auto;
	padding-top: 0.55rem;
}

.gkfc-fz-reward__btn {
	width: 100%;
	min-height: var(--fz-tap, 44px);
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, #831d21 0%, #ff7b2b 100%);
	color: #fff;
	font-family: var(--fz-font-head, inherit);
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-align: center;
	cursor: pointer;
	transition: filter 0.15s ease, transform 0.15s ease;
}

.gkfc-fz-reward__btn:hover { filter: brightness(1.1); }

.gkfc-fz-reward__btn.is-disabled {
	background: rgba(255, 255, 255, 0.05);
	border: 1px dashed var(--fz-line-2, rgba(255, 255, 255, 0.18));
	color: var(--fz-muted, #9c9497);
	cursor: not-allowed;
}

.gkfc-fz-reward__btn.is-done {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: var(--fz-tap, 44px);
	border: 1px solid var(--fz-line, rgba(255, 255, 255, 0.14));
	background: rgba(255, 255, 255, 0.04);
	color: var(--fz-ok, #22a366);
	font-family: var(--fz-font-head, inherit);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* Redeem confirm sheet (content cloned from the reward template). */
.gkfc-fz-redeem {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	padding-top: 0.5rem;
}

.gkfc-fz-redeem__head {
	display: flex;
	align-items: center;
	gap: 0.8rem;
}

.gkfc-fz-redeem__head img {
	width: 60px;
	height: 60px;
	flex-shrink: 0;
	object-fit: cover;
	border-radius: var(--fz-r-sm, 10px);
	border: 1px solid var(--fz-line, rgba(255, 255, 255, 0.14));
	background: var(--fz-surface-3, #1f1918);
}

.gkfc-fz-redeem__head h4 {
	margin: 0 0 0.25rem;
	color: #fff;
	font-family: var(--fz-font-head, inherit);
	font-size: 0.95rem;
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

.gkfc-fz-redeem__method {
	display: inline-block;
	color: var(--fz-muted, #9c9497);
	font-size: 0.7rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.gkfc-fz-redeem__facts {
	margin: 0;
	padding: 0;
	list-style: none;
	border: 1px solid var(--fz-line, rgba(255, 255, 255, 0.14));
	border-radius: var(--fz-r-sm, 10px);
	background: var(--fz-surface, #16100f);
	overflow: hidden;
}

.gkfc-fz-redeem__facts li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.55rem 0.8rem;
	border-bottom: 1px solid var(--fz-line, rgba(255, 255, 255, 0.14));
	font-size: 0.78rem;
}

.gkfc-fz-redeem__facts li:last-child { border-bottom: 0; }

.gkfc-fz-redeem__facts span { color: var(--fz-muted, #9c9497); }

.gkfc-fz-redeem__facts b {
	color: #fff;
	font-weight: 700;
	text-align: right;
	overflow-wrap: anywhere;
}

.gkfc-fz-redeem__note {
	margin: 0;
	color: var(--fz-muted, #9c9497);
	font-size: 0.78rem;
	line-height: 1.5;
}

.gkfc-fz-redeem__note br { line-height: 1.6; }

.gkfc-fz-redeem__terms {
	margin: 0;
	color: var(--fz-faint, #6f6669);
	font-size: 0.7rem;
	line-height: 1.5;
}

.gkfc-fz-redeem__result {
	padding: 0.75rem 0.85rem;
	border-radius: var(--fz-r-sm, 10px);
	font-size: 0.8rem;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.gkfc-fz-redeem__result[hidden] { display: none; }

.gkfc-fz-redeem__result.is-ok {
	background: var(--fz-ok-soft, rgba(34, 163, 102, 0.14));
	color: var(--fz-ok, #22a366);
}

.gkfc-fz-redeem__result.is-error {
	background: var(--fz-bad-soft, rgba(193, 18, 31, 0.14));
	color: var(--fz-bad, #ff6b6b);
}

.gkfc-fz-redeem__done { display: flex; flex-direction: column; gap: 0.4rem; }

.gkfc-fz-redeem__done strong {
	font-family: var(--fz-font-head, inherit);
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.gkfc-fz-redeem__done p { margin: 0; font-size: 0.78rem; }

.gkfc-fz-redeem__done ul {
	margin: 0.1rem 0 0;
	padding-left: 1.05rem;
	font-size: 0.78rem;
}

.gkfc-fz-redeem__code {
	margin: 0.15rem 0 0;
	font-size: 0.78rem;
	overflow-wrap: anywhere;
}

.gkfc-fz-redeem__code code {
	padding: 0.15rem 0.45rem;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.08);
	color: var(--fz-gold, #e9b949);
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	word-break: break-all;
}

.gkfc-fz-redeem__actions {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	padding-top: 0.2rem;
}

.gkfc-fz-redeem__actions .gkfc-btn {
	width: 100%;
	min-height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	font-family: var(--fz-font-head, inherit);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
}

.gkfc-fz-redeem__actions .gkfc-btn--primary {
	background: linear-gradient(135deg, #831d21 0%, #ff7b2b 100%);
	color: #fff;
}

.gkfc-fz-redeem__actions .gkfc-btn[hidden] { display: none; }

.gkfc-fz-redeem__actions .gkfc-btn:not(.gkfc-btn--primary) {
	border: 1px solid var(--fz-line, rgba(255, 255, 255, 0.14));
	background: rgba(255, 255, 255, 0.04);
	color: #fff;
}

.gkfc-fz-redeem__actions .gkfc-btn:disabled {
	opacity: 0.55;
	cursor: wait;
}

/* My Redemptions list. */
.gkfc-fz-redemptions__list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}

.gkfc-fz-redemption {
	display: flex;
	gap: 0.8rem;
	padding: 0.9rem;
	border: 1px solid var(--fz-line, rgba(255, 255, 255, 0.14));
	border-radius: var(--fz-r-lg, 16px);
	background: var(--fz-surface, #16100f);
}

.gkfc-fz-redemption__media {
	width: 54px;
	height: 54px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-radius: var(--fz-r-sm, 10px);
	border: 1px solid var(--fz-line, rgba(255, 255, 255, 0.14));
	background: var(--fz-surface-3, #1f1918);
}

.gkfc-fz-redemption__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.gkfc-fz-redemption__media .dashicons {
	color: rgba(255, 255, 255, 0.28);
	font-size: 26px;
	width: 26px;
	height: 26px;
}

.gkfc-fz-redemption__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.4rem;
	min-width: 0;
}

.gkfc-fz-redemption__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.6rem;
}

.gkfc-fz-redemption__top h4 {
	margin: 0;
	color: #fff;
	font-family: var(--fz-font-head, inherit);
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	overflow-wrap: anywhere;
}

.gkfc-fz-redemption__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.7rem;
	color: var(--fz-faint, #6f6669);
	font-size: 0.7rem;
}

.gkfc-fz-redemption__ref {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	color: var(--fz-muted, #9c9497);
	letter-spacing: 0.04em;
}

/* Issued code / PIN panel — rendered only for the owning fan and only
   once the redemption is approved or beyond. */
.gkfc-fz-redemption__code {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.5rem;
	margin-top: 0.2rem;
	padding: 0.55rem 0.7rem;
	border: 1px dashed rgba(255, 123, 43, 0.45);
	border-radius: var(--fz-r-sm, 10px);
	background: rgba(255, 123, 43, 0.07);
}

.gkfc-fz-redemption__code-label {
	color: var(--fz-faint, #6f6669);
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.gkfc-fz-redemption__code code {
	color: var(--fz-gold, #e9b949);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	word-break: break-all;
}

.gkfc-fz-reward__copy {
	margin-left: auto;
	min-height: 32px;
	padding: 0.25rem 0.75rem;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	font-family: var(--fz-font-head, inherit);
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	white-space: nowrap;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.gkfc-fz-reward__copy:hover,
.gkfc-fz-reward__copy:focus-visible {
	color: #fff;
	border-color: rgba(255, 123, 43, 0.65);
}

.gkfc-fz-redemption__note {
	margin: 0.1rem 0 0;
	color: var(--fz-muted, #9c9497);
	font-size: 0.72rem;
	line-height: 1.5;
}

.gkfc-fz-redemption__note br { line-height: 1.6; }

/* Phone tuning. */
@media (max-width: 640px) {
	.gkfc-fz-rewards__chips {
		flex-wrap: nowrap;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 0.25rem;
		scrollbar-width: none;
	}

	.gkfc-fz-rewards__chips::-webkit-scrollbar { display: none; }

	.gkfc-fz-rewards__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }

	.gkfc-fz-reward__body { padding: 0.7rem; }

	.gkfc-fz-redemption__media { width: 46px; height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
	.gkfc-fz-reward,
	.gkfc-fz-reward__btn,
	.gkfc-fz-chip,
	.gkfc-fz-reward__copy { transition: none; }
}
/* ============================================================
   HELP & SUPPORT PORTAL (v1.28.0)
   ============================================================ */

.gkfc-help-quicklinks {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.7rem;
	margin-bottom: 1rem;
}

.gkfc-help-quicklinks__item {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	padding: 0.9rem 1rem;
	background: var(--fz-surface-2, #1e1417);
	border: 1px solid var(--fz-line, rgba(255, 255, 255, 0.08));
	border-radius: 10px;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.gkfc-help-quicklinks__item:hover {
	border-color: var(--fz-gold, #f6c51d);
	background: var(--fz-surface-3, #261a1d);
}

.gkfc-help-quicklinks__item strong {
	font-size: 0.95rem;
	color: var(--fz-text, #f6f2f0);
}

.gkfc-help-quicklinks__item span {
	font-size: 0.8rem;
	color: var(--fz-muted, #b3a0a2);
}

/* Tab bar */
.gkfc-help-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin-bottom: 1rem;
	border-bottom: 1px solid var(--fz-line, rgba(255, 255, 255, 0.08));
	padding-bottom: 0.5rem;
}

.gkfc-help-tab {
	appearance: none;
	background: transparent;
	border: 1px solid transparent;
	color: var(--fz-muted, #b3a0a2);
	padding: 0.45rem 0.8rem;
	border-radius: 999px;
	font-size: 0.85rem;
	cursor: pointer;
	transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.gkfc-help-tab:hover {
	color: var(--fz-text, #f6f2f0);
	background: var(--fz-surface-2, #1e1417);
}

.gkfc-help-tab.is-active {
	color: var(--fz-bg, #0a0607);
	background: var(--fz-gold, #f6c51d);
	border-color: var(--fz-gold, #f6c51d);
	font-weight: 600;
}

.gkfc-help-panel[hidden] { display: none; }
.gkfc-help-panel { animation: gkfc-help-fade 0.2s ease; }

@keyframes gkfc-help-fade {
	from { opacity: 0; transform: translateY(2px); }
	to { opacity: 1; transform: none; }
}

/* Search */
.gkfc-help-search-label {
	display: block;
	font-size: 0.85rem;
	color: var(--fz-muted, #b3a0a2);
	margin-bottom: 0.4rem;
}

.gkfc-help-search-input {
	width: 100%;
	padding: 0.7rem 0.9rem;
	background: var(--fz-surface-2, #1e1417);
	border: 1px solid var(--fz-line, rgba(255, 255, 255, 0.08));
	border-radius: 10px;
	color: var(--fz-text, #f6f2f0);
	font-size: 0.95rem;
}

.gkfc-help-search-input:focus {
	outline: none;
	border-color: var(--fz-gold, #f6c51d);
}

.gkfc-help-search-hits {
	list-style: none;
	margin: 0.8rem 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.gkfc-help-search-hits li {
	padding: 0.7rem 0.9rem;
	background: var(--fz-surface-2, #1e1417);
	border: 1px solid var(--fz-line, rgba(255, 255, 255, 0.08));
	border-radius: 10px;
}

.gkfc-help-search-hits__cat {
	display: inline-block;
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--fz-gold, #f6c51d);
	margin-bottom: 0.2rem;
}

.gkfc-help-search-hits strong {
	display: block;
	color: var(--fz-text, #f6f2f0);
	font-size: 0.9rem;
}

.gkfc-help-search-hits p {
	margin: 0.2rem 0 0;
	font-size: 0.8rem;
	color: var(--fz-muted, #b3a0a2);
}

/* FAQ */
.gkfc-help-faq-cat { margin-bottom: 1.1rem; }

.gkfc-help-faq-cat__title {
	margin: 0 0 0.5rem;
	font-size: 0.95rem;
	color: var(--fz-gold, #f6c51d);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.gkfc-help-faq-item {
	background: var(--fz-surface-2, #1e1417);
	border: 1px solid var(--fz-line, rgba(255, 255, 255, 0.08));
	border-radius: 10px;
	margin-bottom: 0.5rem;
	overflow: hidden;
}

.gkfc-help-faq-item summary {
	padding: 0.75rem 0.9rem;
	cursor: pointer;
	font-weight: 600;
	color: var(--fz-text, #f6f2f0);
	font-size: 0.9rem;
	list-style: none;
	position: relative;
}

.gkfc-help-faq-item summary::-webkit-details-marker { display: none; }

.gkfc-help-faq-item summary::after {
	content: '+';
	position: absolute;
	right: 0.9rem;
	color: var(--fz-muted, #b3a0a2);
	font-weight: 400;
}

.gkfc-help-faq-item[open] summary::after { content: '\2013'; }

.gkfc-help-faq-item__body {
	padding: 0 0.9rem 0.9rem;
	font-size: 0.85rem;
	color: var(--fz-muted, #b3a0a2);
	line-height: 1.55;
}

.gkfc-help-faq-item__body p { margin: 0 0 0.5rem; }

/* Guides */
.gkfc-help-guide {
	background: var(--fz-surface-2, #1e1417);
	border: 1px solid var(--fz-line, rgba(255, 255, 255, 0.08));
	border-radius: 10px;
	padding: 1rem;
	margin-bottom: 0.8rem;
}

.gkfc-help-guide__title {
	margin: 0 0 0.4rem;
	font-size: 0.95rem;
	color: var(--fz-text, #f6f2f0);
}

.gkfc-help-guide__body {
	margin: 0 0 0.6rem;
	font-size: 0.85rem;
	color: var(--fz-muted, #b3a0a2);
	line-height: 1.55;
}

.gkfc-help-guide__steps {
	margin: 0.4rem 0 0.8rem;
	padding-left: 1.3rem;
	font-size: 0.85rem;
	color: var(--fz-muted, #b3a0a2);
	line-height: 1.7;
}

.gkfc-help-guide__link {
	font-size: 0.85rem;
	color: var(--fz-gold, #f6c51d);
	text-decoration: none;
	font-weight: 600;
}

.gkfc-help-guide__link:hover { text-decoration: underline; }

/* Report form */
.gkfc-help-report label {
	display: block;
	font-size: 0.85rem;
	color: var(--fz-muted, #b3a0a2);
	margin: 0.8rem 0 0.3rem;
}

.gkfc-help-report input[type="text"],
.gkfc-help-report input[type="search"],
.gkfc-help-report input[type="file"],
.gkfc-help-report select,
.gkfc-help-report textarea {
	width: 100%;
	padding: 0.65rem 0.85rem;
	background: var(--fz-surface-2, #1e1417);
	border: 1px solid var(--fz-line, rgba(255, 255, 255, 0.08));
	border-radius: 10px;
	color: var(--fz-text, #f6f2f0);
	font-size: 0.9rem;
}

.gkfc-help-report textarea { resize: vertical; }

.gkfc-help-report input:focus,
.gkfc-help-report select:focus,
.gkfc-help-report textarea:focus {
	outline: none;
	border-color: var(--fz-gold, #f6c51d);
}

.gkfc-help-report__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.7rem;
}

.gkfc-help-report__intro {
	font-size: 0.85rem;
	color: var(--fz-muted, #b3a0a2);
	margin: 0 0 0.8rem;
}

.gkfc-help-report__msg {
	margin: 0.8rem 0;
	padding: 0.7rem 0.9rem;
	border-radius: 10px;
	font-size: 0.85rem;
}

.gkfc-help-report__msg.is-ok {
	background: rgba(0, 163, 42, 0.12);
	border: 1px solid rgba(0, 163, 42, 0.4);
	color: #7ee2a8;
}

.gkfc-help-report__msg.is-error {
	background: rgba(214, 54, 56, 0.12);
	border: 1px solid rgba(214, 54, 56, 0.4);
	color: #f2a1a2;
}

.gkfc-help-report__submit { margin-top: 1rem; }

.gkfc-help-ticket-link {
	display: inline-block;
	margin-top: 0.4rem;
	color: var(--fz-gold, #f6c51d);
	font-weight: 600;
	text-decoration: none;
}

.gkfc-help-ticket-link:hover { text-decoration: underline; }

/* v1.28.2 — post-submit confirmation panel (replaces the report form). */
.gkfc-help-success[hidden] { display: none; }

.gkfc-help-success {
	text-align: center;
	padding: 1.6rem 1.2rem 1.4rem;
	border: 1px solid rgba(0, 163, 42, 0.35);
	border-radius: 14px;
	background: rgba(0, 163, 42, 0.08);
	animation: gkfc-help-fade 0.25s ease;
}

.gkfc-help-success__icon {
	width: 46px;
	height: 46px;
	fill: none;
	stroke: #35c759;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	margin-bottom: 0.5rem;
}

.gkfc-help-success__title {
	margin: 0 0 0.55rem;
	font-size: 1.2rem;
	font-weight: 800;
	color: #eafff0;
}

.gkfc-help-success__ref {
	margin: 0 0 0.6rem;
	font-family: var(--fz-font-head, inherit);
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	color: var(--fz-gold, #f6c51d);
	user-select: all;
}

.gkfc-help-success__copy {
	margin: 0 auto 1.1rem;
	max-width: 40ch;
	font-size: 0.84rem;
	color: var(--fz-muted, #b3a0a2);
	line-height: 1.55;
}

.gkfc-help-success__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	justify-content: center;
}

/* Tips */
.gkfc-help-tips {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.7rem;
}

.gkfc-help-tip {
	background: var(--fz-surface-2, #1e1417);
	border: 1px solid var(--fz-line, rgba(255, 255, 255, 0.08));
	border-radius: 10px;
	padding: 0.9rem 1rem;
}

.gkfc-help-tip__title {
	margin: 0 0 0.3rem;
	font-size: 0.9rem;
	color: var(--fz-gold, #f6c51d);
}

.gkfc-help-tip__body {
	margin: 0;
	font-size: 0.82rem;
	color: var(--fz-muted, #b3a0a2);
	line-height: 1.55;
}

/* My Support list */
.gkfc-help-ticket-list { margin-top: 1rem; }

.gkfc-help-ticket-item__link {
	display: grid;
	grid-template-columns: auto 1fr auto;
	grid-template-areas: 'ref status date' 'title title title' 'cat cat cat';
	gap: 0.15rem 0.6rem;
	align-items: center;
	text-decoration: none;
	color: inherit;
	padding: 0.2rem 0;
}

.gkfc-help-ticket-item__ref {
	grid-area: ref;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 0.78rem;
	color: var(--fz-gold, #f6c51d);
	font-weight: 600;
}

.gkfc-help-ticket-item .gkfc-ticket-match { grid-area: title; color: var(--fz-text, #f6f2f0); font-weight: 600; }
.gkfc-help-ticket-item .gkfc-ticket-date { grid-area: cat; font-size: 0.78rem; color: var(--fz-muted, #b3a0a2); }
.gkfc-help-ticket-item .gkfc-ticket-status { grid-area: status; justify-self: end; }
.gkfc-help-ticket-item__date { grid-area: date; justify-self: end; font-size: 0.75rem; color: var(--fz-faint, #857476); }

/* Detail view */
.gkfc-help-back {
	display: inline-block;
	margin-bottom: 0.8rem;
	font-size: 0.85rem;
	color: var(--fz-gold, #f6c51d);
	text-decoration: none;
}

.gkfc-help-back:hover { text-decoration: underline; }

.gkfc-help-detail {
	background: var(--fz-surface-2, #1e1417);
	border: 1px solid var(--fz-line, rgba(255, 255, 255, 0.08));
	border-radius: 12px;
	padding: 1.1rem;
}

.gkfc-help-detail__title {
	margin: 0 0 0.5rem;
	font-size: 1.05rem;
	color: var(--fz-text, #f6f2f0);
}

.gkfc-help-detail__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.9rem;
	font-size: 0.78rem;
	color: var(--fz-muted, #b3a0a2);
	margin-bottom: 0.8rem;
}

.gkfc-help-detail__body {
	font-size: 0.9rem;
	color: var(--fz-text, #f6f2f0);
	line-height: 1.6;
}

.gkfc-help-detail__body p { margin: 0 0 0.5rem; }

.gkfc-help-detail__attachment {
	display: inline-block;
	margin-top: 0.6rem;
	font-size: 0.85rem;
	color: var(--fz-gold, #f6c51d);
}

/* Thread */
.gkfc-help-thread { margin-top: 1.1rem; }

.gkfc-help-thread__head {
	margin: 0 0 0.6rem;
	font-size: 0.85rem;
	color: var(--fz-muted, #b3a0a2);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.gkfc-help-reply {
	padding: 0.7rem 0.9rem;
	border-radius: 10px;
	margin-bottom: 0.5rem;
}

.gkfc-help-reply--staff {
	background: var(--fz-maroon-soft, rgba(131, 29, 33, 0.22));
	border: 1px solid var(--fz-maroon-line, rgba(131, 29, 33, 0.42));
}

.gkfc-help-reply--fan {
	background: var(--fz-surface-3, #261a1d);
	border: 1px solid var(--fz-line, rgba(255, 255, 255, 0.08));
}

.gkfc-help-reply__author {
	font-weight: 700;
	font-size: 0.82rem;
	color: var(--fz-text, #f6f2f0);
}

.gkfc-help-reply__date {
	font-size: 0.72rem;
	color: var(--fz-faint, #857476);
	margin-left: 0.5rem;
}

.gkfc-help-reply__body {
	margin-top: 0.3rem;
	font-size: 0.87rem;
	color: var(--fz-muted, #b3a0a2);
	line-height: 1.55;
}

.gkfc-help-reply__body p { margin: 0 0 0.4rem; }

/* Reply form + reopen */
.gkfc-help-reply-form { margin-top: 1.1rem; }

.gkfc-help-reply-form label {
	display: block;
	font-size: 0.85rem;
	color: var(--fz-muted, #b3a0a2);
	margin-bottom: 0.3rem;
}

.gkfc-help-reply-form textarea {
	width: 100%;
	padding: 0.65rem 0.85rem;
	background: var(--fz-surface-3, #261a1d);
	border: 1px solid var(--fz-line, rgba(255, 255, 255, 0.08));
	border-radius: 10px;
	color: var(--fz-text, #f6f2f0);
	font-size: 0.9rem;
	resize: vertical;
}

.gkfc-help-reply-form button { margin-top: 0.6rem; }

.gkfc-help-reopen { margin-top: 1rem; }

/* Guidelines */
.gkfc-help-guidelines__intro {
	font-size: 0.9rem;
	color: var(--fz-muted, #b3a0a2);
	line-height: 1.6;
	margin: 0 0 1rem;
}

.gkfc-help-guidelines__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}

.gkfc-help-guidelines__item {
	background: var(--fz-surface-2, #1e1417);
	border: 1px solid var(--fz-line, rgba(255, 255, 255, 0.08));
	border-radius: 10px;
	padding: 0.9rem 1rem;
}

.gkfc-help-guidelines__item h4 {
	margin: 0 0 0.3rem;
	font-size: 0.92rem;
	color: var(--fz-gold, #f6c51d);
}

.gkfc-help-guidelines__item p {
	margin: 0;
	font-size: 0.85rem;
	color: var(--fz-muted, #b3a0a2);
	line-height: 1.55;
}

.gkfc-help-guidelines__foot {
	margin-top: 1.2rem;
	padding-top: 1rem;
	border-top: 1px solid var(--fz-line, rgba(255, 255, 255, 0.08));
}

.gkfc-help-guidelines__foot p {
	font-size: 0.85rem;
	color: var(--fz-muted, #b3a0a2);
	margin: 0 0 0.8rem;
}

/* Footer legal links */
.gkfc-app-foot__links {
	display: flex;
	justify-content: center;
	gap: 1.2rem;
	margin-top: 0.4rem;
}

.gkfc-app-foot__links a {
	font-size: 0.78rem;
	color: var(--fz-muted, #b3a0a2);
	text-decoration: none;
}

.gkfc-app-foot__links a:hover {
	color: var(--fz-gold, #f6c51d);
	text-decoration: underline;
}

@media (max-width: 600px) {
	.gkfc-help-quicklinks { grid-template-columns: 1fr; }
	.gkfc-help-tips { grid-template-columns: 1fr; }
	.gkfc-help-report__row { grid-template-columns: 1fr; }
}
