/* ============================================================================
   Zeal.Maui public site — compiled styles (mirrors Zeal.Blazor.Web home page).
   Hand-authored CSS (no SCSS pipeline here yet); .scss sources kept alongside.
   ========================================================================== */

/*#region FONTS*/
@font-face {
	font-family: "WhitneySSmBold";
	src: url("/css/fonts/Whitney-Bold.woff2") format("woff2"), url("/css/fonts/Whitney-Bold.woff") format("woff");
	font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
	font-family: "Font Awesome 6 Pro";
	font-style: normal; font-weight: 900;
	src: url("/css/fonts/fa-solid-900.woff2") format("woff2");
}
.fi { font-family: "Font Awesome 6 Pro"; font-weight: 900; font-style: normal; line-height: 1; }
.fi-bars::before { content: "\f0c9"; }
.fi-expand::before { content: "\f065"; }
.fi-compress::before { content: "\f066"; }
.fi-phone::before { content: "\f095"; }
.fi-envelope::before { content: "\f0e0"; }
.fi-info::before { content: "\f05a"; }
.fi-lock::before { content: "\f023"; }
.fi-user::before { content: "\f007"; }
.fi-clock::before { content: "\f017"; }
.fi-globe::before { content: "\f0ac"; }
.fi-server::before { content: "\f233"; }
.fi-xmark::before { content: "\f057"; }
.fi-dollar::before { content: "\f155"; }
.fi-atom::before { content: "\f5d2"; }
.fi-chart::before { content: "\f1fe"; }
.fi-dish::before { content: "\f7c0"; }
.fi-users::before { content: "\f0c0"; }
.fi-grad::before { content: "\f19d"; }
.fi-check::before { content: "\f560"; }
.fi-file::before { content: "\f15c"; }
/*#endregion FONTS*/

/*#region BASE*/
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
	font-family: "Montserrat", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	background-color: #333333; color: #ffffff;
	/* ⚠️ NO -webkit-font-smoothing: antialiased — THIS WAS THE FUZZY TEXT (Vince, 2026-08-06).
	   On Windows it switches Chrome/Edge from ClearType SUBPIXEL antialiasing to GREYSCALE, which throws away
	   two thirds of the horizontal resolution the OS uses to draw stems. Every glyph on every page went soft.
	   It reads as a "smoothing" improvement and is one on a Mac; on Windows it is strictly a downgrade.
	   zt-ui.css already refused it for the same reason — this line was overriding that decision site-wide. */
}
a { text-decoration: none; color: inherit; }
.page { padding-bottom: 60px; } /* room for the fixed bottom navbar */
/*#endregion BASE*/

/*#region HTML ELEMENTS (sections)*/
/* ⚠️ THE LIST RULES ARE SCOPED TO .section ON PURPOSE (Vince, 2026-08-26). This file loads GLOBALLY
   (App.razor), so the old bare `ul li` selectors put the 17pt gold circle-check marketing bullet on EVERY
   unordered list in the app — FOUR places had already patched around it (.validation-errors,
   .zt-rte-surface, .zt-dup-list, .zt-album-scope) before the email preview became the fifth victim.
   The gold-bullet look belongs to the home page's marketing .section blocks and nothing else.
   ⛔ Never add a bare element selector to this file — it is a global stylesheet, not a page one. */
h2 { font-family: WhitneySSmBold; font-size: 32pt; margin: 0 0 .5rem 0; }
h2 .fi, h2 .zt-fa { color: gold; margin-right: .5rem; }
.section ul { list-style: none; padding: 0 0 0 15px; margin: 0; text-align: left; }
.section ul li { position: relative; padding-left: 1.6em; font-size: 17pt; margin: .35em 0; }
.section ul li::before { content: "\f058"; font-family: "Font Awesome 6 Pro"; font-weight: 900; position: absolute; left: 0; top: .15em; color: gold; }

@media (max-width: 1024px) { h2 { font-size: 19pt; } .section ul li { font-size: 13pt; } }
@media (max-width: 640px)  { h2 { font-size: 18pt; } .section ul li { font-size: 11pt; } }
/*#endregion*/

/*#region SECTIONS*/
.section { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.section-content { position: relative; z-index: 2; display: flex; width: 100%; height: 100%; }
.section-content-col { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 4rem; text-align: left; overflow: hidden; }
.section-content-col img { max-width: 100%; max-height: 95%; height: auto; }

@media (max-width: 1024px) { .section-content-col { padding: 3rem; } }
@media (max-width: 640px) {
	.section { min-height: auto; }
	.section-content { flex-direction: column; }
	.section-content-col { width: 100%; flex: none; padding: 1rem 2rem; }
}

.dark-section { background-color: #333333; color: #fff; }
.tiffany-section { background-color: rgb(241, 250, 255); color: #222; }
.white-section { background-color: #fafafa; color: #222; }
.connected-section { background: linear-gradient(135deg,#1b1f2a 0%,#2a3140 45%,#1d2733 100%); color: #fff; }
.documents-section { background: linear-gradient(135deg,#12212a 0%,#1c3340 45%,#14242e 100%); color: #fff; }
.welcome-section { background: linear-gradient(135deg,#211c16 0%,#3a2f20 45%,#1f1d18 100%); color: #fff; margin-bottom: 60px; }
.billing-section { background: linear-gradient(135deg,#14182a 0%,#232c4a 45%,#161b2e 100%); color: #fff; }
.communications-section { background: linear-gradient(135deg,#1b1726 0%,#2d2442 45%,#191a2e 100%); color: #fff; }
.programs-section { background: linear-gradient(135deg,#102220 0%,#1b3a32 45%,#122420 100%); color: #fff; }

/* reverse columns on wide screens */
.reverse-section .section-content { flex-direction: row-reverse; }
@media (max-width: 640px) { .reverse-section .section-content { flex-direction: column; } }
/*#endregion*/

/*#region HERO*/
.hero-section .section-content-col .logo { max-width: 80%; height: auto; }
.hero-section .hero-intro { margin-top: 15px; padding-left: 25px; font-weight: 700; font-size: 16pt; }
/* STACK THE PRIMARY (SCHEDULE A DEMO) ROW ABOVE THE SECONDARY (CALL/CONTACT) ROW — the legacy home's
   hierarchy. INLINE-FLEX shrinks the column to the wider (secondary) row so the primary button can stretch
   to exactly the combined width of Call us + Contact us. */
.hero-section .hero-buttons { padding-left: 25px; margin-top: 1rem; display: inline-flex; flex-direction: column; gap: 12px; align-items: stretch; }
.hero-buttons-primary { display: flex; }
.hero-buttons-primary .ztbtn { width: 100%; }
/* CALL US + CONTACT US each take HALF the row, so the two rows are always the SAME total width — the
   production hierarchy (the big Schedule button spans exactly the pair below it). */
.hero-buttons-secondary { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-buttons-secondary .ztbtn { flex: 1 1 0; }

/* CALL ZEAL MODAL — the legacy proportions: roomier body text and a clear gap between the question and
   the Cancel/Call row (the default modal rhythm sat them too tight for a one-line confirm). */
#CallZealModal .zt-modal-body { padding: 1.35rem 1.35rem 0.5rem; font-size: 1.05rem; }
#CallZealModal .zt-modal-footer { padding: 1rem 1.35rem 1.35rem; }
/* THE LEGACY'S fa-beat PULSE on the Schedule-a-Demo calendar icon (FA's animation class isn't in our subset,
   so the equivalent keyframes live here). Honors reduced-motion via the shared media query below. */
@keyframes zt-beat { 0%, 90%, 100% { transform: scale(1); } 45% { transform: scale(1.25); } }
.hero-buttons-primary .ztbtn .zt-fa { animation: zt-beat 1.5s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .hero-buttons-primary .ztbtn .zt-fa { animation: none !important; } }
@media (max-width: 640px) { .hero-section .hero-intro, .hero-section .hero-buttons { padding-left: 15px; } }
/*#endregion*/

/*#region WAVES*/
.zt-waves { position: absolute; inset: 0; width: 100%; height: 39vh; overflow: hidden; z-index: 0; pointer-events: none; clip-path: polygon(0 0,100% 0,100% 40%,0 75%); box-shadow: 0 12px 25px rgba(0,0,0,.25); opacity: .3; }
.wave-layer { position: absolute; inset: 0; top: -26vh; mix-blend-mode: screen; filter: saturate(160%) contrast(125%); }
.wave-layer.w-gold-1 { opacity: .99; } .wave-layer.w-gray-1 { opacity: .60; }
.wave-layer.w-gold-2 { opacity: .75; } .wave-layer.w-gray-2 { opacity: .45; }
.wave-svg { position: absolute; top: 0; left: 0; width: 330%; height: 90%; }
@keyframes wave-slide { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.w-gold-1 .wave-svg { animation: wave-slide 33s linear infinite; }
.w-gray-1 .wave-svg { animation: wave-slide 22s linear infinite reverse; }
.w-gold-2 .wave-svg { animation: wave-slide 14s linear infinite; }
.w-gray-2 .wave-svg { animation: wave-slide 18s linear infinite reverse; }
@media (prefers-reduced-motion: reduce) { .wave-svg { animation: none !important; } }
/*#endregion*/

/*#region BUTTONS*/
.zt-btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; flex: 0 0 auto; white-space: nowrap; border: none; border-radius: 8px; padding: .9rem 1.6rem; font-size: 15pt; font-weight: 700; cursor: pointer; color: #fff; }
.zt-btn-success { background-color: #2d602d; }
.zt-btn-success:hover { background-color: #357a35; }
.zt-btn .fi { font-size: 1.3em; }
/*#endregion*/

/*#region NAVBAR (fixed bottom)*/
/* 🐛 THE REAL BAR LOST ITS VERTICAL CENTRE (Vince, 2026-11-24: "everything looks like it's kind of aligned to the bottom… we
   have the same problem in production"). This rule is the LEGACY static bar's (Shared/NavBar/ZtNavBar.razor, a <div>), but
   it was written as a bare `.zt-navbar`, so it ALSO hit the real bar (App.Ui's <nav class="zt-navbar">). zt-ui.css loads
   after this file and wins wherever both set a property, and until 2026-10-29 that included `height`. Then the Android fix
   moved zt-ui.css to `min-height`, and this forgotten `height: 60px` took over. The bar needs 67px (8px + 50px tiles + 8px
   + the 1px top border), so it overflowed its 60px box: every item started 9px below the top and ended about 1px from the
   bottom. ⭐ `:where(div.zt-navbar)` keeps the rule on the legacy bar ONLY, with zero specificity, so zt-ui.css still
   wins on that bar exactly as before. ⛔ Never write a bare `.zt-navbar` rule in this file again. */
:where(div.zt-navbar) { position: fixed; bottom: 0; left: 0; right: 0; height: 60px; background: #333333; display: flex; align-items: center; padding: 0 16px; z-index: 1000; box-shadow: 0 -2px 10px rgba(0,0,0,.4); }
.zt-navbar .menu-btn { color: #fff; font-size: 26px; cursor: pointer; padding: 6px 12px 6px 0; }
.zt-navbar .zeal-logo img { height: 34px; }
.zt-navbar .spacer { flex: 1; }
.zt-navbar .min-max { color: #fff; font-size: 22px; cursor: pointer; padding: 6px; background: none; border: none; }
/*#endregion*/

/*#region SLIDE-OUT MENU (CSS checkbox toggle)*/
#menuToggle, #infoToggle { position: absolute; opacity: 0; pointer-events: none; }
.navmenu-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.85); z-index: 1500; display: none; }
#menuToggle:checked ~ .navmenu-overlay { display: block; }
.navmenu-panel { position: fixed; top: 20px; left: 20px; z-index: 1600; display: none; }
#menuToggle:checked ~ .navmenu-panel { display: block; }
/* matches ZtNavGroup/ZtNavButton: translucent 68px tiles, no card panel */
.nav-group { margin: 20px 0 0 0; }
.nav-group-title { color: #fff; font-weight: 600; font-size: 10pt; display: flex; align-items: center; gap: 4px; margin-bottom: 10px; }
.nav-group-buttons { display: grid; grid-auto-flow: column; gap: 10px; }
.nav-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 68px; height: 68px; background: rgba(255,255,255,0.20); opacity: .90; border-radius: 3px; color: #fff; cursor: pointer; border: none; text-decoration: none; transition: all .2s ease; }
.nav-btn .fi { font-size: 14pt; }
.nav-btn .nav-label { font-size: 7pt; font-weight: 500; }
.nav-btn:hover { opacity: 1; color: #ffcb04; }
.nav-btn:hover .fi { color: #ffcb04; transform: scale(1.2); }
/*#endregion*/

/*#region INFO MODAL (CSS checkbox toggle)*/
.info-modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 2000; display: none; align-items: flex-start; justify-content: center; }
#infoToggle:checked ~ .info-modal-backdrop { display: flex; }
.info-modal { background: #fff; color: #222; width: 620px; max-width: 92vw; margin-top: 90px; border-radius: 10px; overflow: hidden; box-shadow: 0 16px 50px rgba(0,0,0,.5); }
.info-modal-header { background: #ffcb04; color: #222; display: flex; align-items: center; gap: 12px; padding: 16px 20px; font-size: 22px; font-weight: 700; }
.info-modal-header .fi { font-size: 22px; }
.info-modal-header .info-close { margin-left: auto; cursor: pointer; color: #222; font-size: 24px; }
.info-modal-body { padding: 18px 22px; }
.info-row { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 16px; color: #333; }
.info-row .fi { color: #555; width: 22px; text-align: center; }
.info-row img { height: 18px; }
/*#endregion*/

/*#region CONTENT PAGES (WaveLayout: waves + centered white card)*/
.fi-sms::before { content: "\f7cd"; }
.fi-person-q::before { content: "\e542"; }
.fi-database::before { content: "\f1c0"; }

/* WAVES BACKDROP (distinct class so it doesn't clash with the hero .zt-waves) */
.wl-waves { position: fixed; top: -78vh; left: 0; width: 100%; height: 160vh; z-index: 0; pointer-events: none; overflow: hidden; clip-path: polygon(0 0,100% 0,100% 75%,0 90%); box-shadow: 0 12px 25px rgba(0,0,0,.25); }
.wl-layer { position: absolute; inset: 0; mix-blend-mode: screen; filter: saturate(115%) contrast(105%); }
.wl-layer.w-gold-1 { opacity: .9; } .wl-layer.w-gray-1 { opacity: .6; }
.wl-layer.w-gold-2 { opacity: .55; } .wl-layer.w-gray-2 { opacity: .45; }

/* PAGE + CENTERED WHITE CARD */
.zeal-content-page { position: relative; z-index: 2; min-height: 100vh; display: flex; align-items: flex-start; justify-content: center; padding: 7vh 0 90px; }
.zeal-content-card { position: relative; z-index: 2; width: min(92vw, 560px); background: #fff; color: #222; border: 1px solid #999; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.45); padding: clamp(20px,4vw,34px); }
/* THE LOGO LINES UP WITH THE SECTION ICONS BENEATH IT, not with the card's own edge. The sections inside this
   card are ZtPageSections, and each one insets its icon by its own 1.5em left padding — so a logo flush to the
   card padding sat ~24px to the LEFT of every icon below it and read as misaligned. Matching that 1.5em puts the
   logo on the same vertical line the whole page is built on. Keep the two values the same: if
   .zt-page-section's horizontal padding ever changes, this follows it. */
.zeal-card-logo { margin-bottom: 1.2rem; padding-left: 1.5em; }
.zeal-card-logo img { height: 48px; }

/* DOC SECTIONS INSIDE THE WHITE CARD (dark text, gold icons) — public legal pages only.
   Renamed from .zt-page-section to avoid colliding with the RCL ZtPageSection component class. */
.zt-doc-section { padding: 14px 0; border-bottom: 1px solid #ececec; }
.zt-doc-section:last-child { border-bottom: none; padding-bottom: 0; }
.zt-doc-section h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-family: WhitneySSmBold; font-size: 14pt; color: #222; }
.zt-doc-section h3 .fi { color: #ebb41f; font-size: 15pt; }
.zt-doc-section p { margin: 0; font-size: 11.5pt; line-height: 1.5; color: #444; }
.zt-doc-section a { color: #b8860b; text-decoration: underline; }
/*#endregion*/

/*#region 404 / NOT FOUND*/
.fi-home::before { content: "\f015"; }
.zt-404 { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem 1.5rem 90px; gap: .6rem; position: relative; overflow: hidden; }
.zt-404::before { content: ""; position: absolute; top: 42%; left: 50%; width: 80vmax; height: 80vmax; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(235,180,31,.13) 0%, rgba(235,180,31,0) 60%); pointer-events: none; }
.zt-404 > * { position: relative; z-index: 1; }
.zt-404-logo { width: min(70%, 300px); margin-bottom: .4rem; }
.zt-404-code { font-family: WhitneySSmBold; font-size: clamp(64pt, 18vw, 110pt); line-height: 1; color: #ffcb04; text-shadow: 0 6px 30px rgba(235,180,31,.35); }
.zt-404-title { font-family: WhitneySSmBold; font-size: clamp(20pt, 6vw, 30pt); color: #fff; margin: 0; }
.zt-404-msg { color: #b8b8b8; font-size: clamp(12pt, 3.4vw, 15pt); max-width: 460px; margin: .2rem 0 1rem; line-height: 1.5; }
.zt-404-btn { margin-top: .4rem; }
/*#endregion*/

/*#region ZEAL MODS — THE PUBLIC HOME (zm-, zeal-mods U1, 2026-11-23)
   Vince, on mod.io's home: "really take a very, very hard look at the way these guys did theirs… This is like what we want
   our homepage, the experience, to be like." Black page, big bold headings, an eyebrow + headline per section, two rows
   of game art sliding in opposite directions, a numbers band, step cards and feature cards. Zeal blue (brightened for the
   dark, U8) is the ONE accent; the logo's gold appears only on the Support pill.
   📐 THE LADDER ONLY (CLAUDE.md §3.7a): 1199 / 839 / 599. ⛔ No three-value padding. Everything is scoped under .zm-landing.
   ♿ The sliding rows STOP for anyone whose OS asks for reduced motion, and pause under the pointer. */
.zm-landing {
	--zm-accent: #3b8bff; --zm-gold: #deb92c; --zm-panel: #19191c; --zm-panel-2: #222226; --zm-chip: #2b2b30;
	--zm-line: rgba(255,255,255,.07); --zm-muted: #b5b5bd;
	background: #000; color: #fff; min-height: 100vh; overflow-x: hidden;
	font-family: "Montserrat", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.zm-landing.zm-signed-in { padding-bottom: 90px; } /* ROOM FOR THE FIXED BOTTOM NAV */
.zm-wrap { width: min(1200px, calc(100% - 2rem)); margin-inline: auto; }
.zm-center { display: flex; flex-direction: column; align-items: center; text-align: center; }

/* THE TOP BAR */
.zm-top { position: sticky; top: 0; z-index: 20; background: rgba(0,0,0,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--zm-line); }
.zm-top-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.zm-brand { display: inline-flex; align-items: center; gap: .6rem; font-family: WhitneySSmBold; font-size: 1.35rem; color: #fff; }
.zm-brand img { width: 40px; height: 40px; }

/* ① THE HERO */
.zm-hero { position: relative; padding-block: clamp(3rem, 8vw, 6rem); }
.zm-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(55% 60% at 78% 45%, rgba(59,139,255,.22), transparent 70%), radial-gradient(40% 40% at 6% 0%, rgba(222,185,44,.10), transparent 70%); }
.zm-hero > * { position: relative; }
.zm-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.zm-h1 { font-family: WhitneySSmBold; font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 1.25rem; }
.zm-lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.55; color: #c9c9cf; max-width: 36rem; margin: 0 0 1.5rem; }
.zm-ticks { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: .65rem; }
.zm-ticks li { display: flex; align-items: center; gap: .7rem; font-size: 1.05rem; color: #e8e8ec; }
.zm-ticks li > :first-child { color: var(--zm-accent); width: 1.3rem; flex: none; text-align: center; }
.zm-platforms { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2rem; }
.zm-platform { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .8rem; border: 1px solid var(--zm-line); border-radius: 999px; background: rgba(255,255,255,.03); color: #d6d6db; font-size: .88rem; font-weight: 600; }
.zm-hero-actions { display: flex; flex-wrap: wrap; gap: var(--zt-button-gap, .4rem); }
.zm-hero-actions--center { justify-content: center; margin-top: 2rem; }

/* THE DRAWN PRODUCT ART — a Zeal Mods window, tilted, with two cards floating over it (mod.io's "Verifying mod") */
.zm-hero-art { position: relative; padding-block: 2.5rem; }
.zm-mock { background: linear-gradient(180deg, #141417, #0c0c0e); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; overflow: hidden;
	box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(59,139,255,.15), 0 0 80px rgba(59,139,255,.18);
	transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); }
.zm-mock--app { transform: none; }
.zm-mock-bar { display: flex; align-items: center; gap: .4rem; padding: .7rem 1rem; border-bottom: 1px solid var(--zm-line); }
.zm-dot { width: .6rem; height: .6rem; border-radius: 50%; background: #3a3a40; }
.zm-mock-title { margin-left: .6rem; display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 700; letter-spacing: .12em; color: #9a9aa3; }
.zm-mock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; padding: 1rem; }
.zm-mock-tile { background: #1c1c20; border: 1px solid rgba(255,255,255,.06); border-radius: 8px; overflow: hidden; }
.zm-mock-tile img, .zm-mock-art { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.zm-mock-art { background: linear-gradient(135deg, #1f3a73, #0f1a33); }
.zm-mock-lines { display: grid; gap: .3rem; padding: .5rem .6rem; }
.zm-mock-lines span { height: .4rem; border-radius: 4px; background: #2e2e34; }
.zm-mock-lines span + span { width: 60%; }
.zm-mock-meta { display: flex; gap: .35rem; padding: .25rem .6rem; }
.zm-mock-meta span { width: 1.6rem; height: .35rem; border-radius: 4px; background: rgba(59,139,255,.45); }
.zm-float { position: absolute; min-width: 12rem; padding: .9rem 1rem; border: 1px solid rgba(59,139,255,.55); border-radius: 12px;
	background: rgba(12,12,14,.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
	box-shadow: 0 18px 50px rgba(0,0,0,.6), 0 0 30px rgba(59,139,255,.25); }
.zm-float-scan { left: -1.5rem; top: 0; }
.zm-float-order { right: -1rem; bottom: 0; }
.zm-float-title { font-family: WhitneySSmBold; font-size: 1rem; letter-spacing: .04em; margin-bottom: .6rem; }
.zm-check { display: flex; align-items: center; gap: .5rem; padding-block: .2rem; font-size: .85rem; color: #e6e6ea; }
.zm-check > :first-child { color: #3ddc84; }
.zm-order-row { display: flex; align-items: center; gap: .6rem; padding-block: .35rem; }
.zm-order-n { display: grid; place-items: center; width: 1.4rem; height: 1.4rem; flex: none; border-radius: 6px; background: #26262b; font-size: .75rem; font-weight: 700; color: #cfcfd6; }
.zm-bar { flex: 1; min-width: 4rem; height: .45rem; border-radius: 4px; background: #2e2e34; }
.zm-switch { position: relative; width: 1.9rem; height: 1.05rem; flex: none; border-radius: 999px; background: var(--zm-accent); }
.zm-switch::after { content: ""; position: absolute; top: .15rem; right: .15rem; width: .75rem; height: .75rem; border-radius: 50%; background: #fff; }
.zm-switch--off { background: #3a3a40; }
.zm-switch--off::after { right: auto; left: .15rem; }

/* ② YOU (signed in) — the profile and contact requests, the app's own section cards */
.zm-you { padding-bottom: clamp(2rem, 5vw, 3rem); }
/* NOTHING WAITING → NO GAP. Contact requests draw nothing when none wait, and the profile moved to the menu (2026-11-23),
   so an empty band must not leave its padding behind. ZtPageSection renders .zt-action-card. */
.zm-you:not(:has(.zt-action-card)) { padding-bottom: 0; }
.zm-you-stack { display: flex; flex-direction: column; gap: var(--zt-section-gap, 1rem); }

/* SECTIONS — an eyebrow, a headline, a line under it */
.zm-section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
#zm-games { scroll-margin-top: 72px; }
.zm-eyebrow { margin: 0 0 .75rem; color: var(--zm-accent); font-size: .95rem; font-weight: 700; letter-spacing: .08em; }
.zm-h2 { font-family: WhitneySSmBold; font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.08; max-width: 22ch; margin: 0 0 1rem; }
.zm-sub { margin: 0; max-width: 44rem; color: var(--zm-muted); font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.6; }

/* ③ THE GAMES — one pass drawn twice, slid by exactly one pass (-50%), so the loop never shows a seam */
.zm-marquee { display: grid; gap: .75rem; margin-top: clamp(2rem, 4vw, 3rem);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.zm-marquee-row { overflow: hidden; }
.zm-marquee-track { display: flex; width: max-content; animation: zm-marquee var(--zm-marquee-duration, 60s) linear infinite; }
.zm-marquee-row--reverse .zm-marquee-track { animation-direction: reverse; }
.zm-marquee:hover .zm-marquee-track { animation-play-state: paused; }
@keyframes zm-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* THE GAP IS A RIGHT MARGIN ON EVERY TILE, NOT flex gap — so both halves are exactly the same width and -50% lands on the seam */
.zm-tile { flex: none; width: clamp(200px, 22vw, 300px); aspect-ratio: 16 / 9; margin-right: .75rem; overflow: hidden; border: 1px solid rgba(255,255,255,.06); border-radius: 10px; background: #161618; }
.zm-tile img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.zm-tile:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
	.zm-marquee-track { animation: none; }
	.zm-marquee-row { overflow-x: auto; }
}
.zm-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; margin-top: clamp(2.5rem, 5vw, 4rem); text-align: center; }
.zm-stat { display: flex; flex-direction: column; gap: .4rem; }
.zm-stat-n { font-family: WhitneySSmBold; font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1; }
.zm-stat-l { color: #a7a7ad; font-size: .8rem; font-weight: 600; letter-spacing: .1em; }

/* ④ FOUR SIMPLE STEPS + ⑤⑥ FEATURE CARDS */
.zm-steps, .zm-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; margin-top: clamp(2rem, 4vw, 3rem); }
.zm-step { display: flex; flex-direction: column; gap: 1rem; min-height: 22rem; padding: 1.75rem 1.5rem; border: 1px solid var(--zm-line); border-radius: 14px; background: var(--zm-panel); }
.zm-step-head { display: flex; align-items: center; gap: .8rem; font-family: WhitneySSmBold; font-size: 1.4rem; }
.zm-step-n { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; flex: none; border: 2px solid #fff; border-radius: 50%; font-size: 1.1rem; }
.zm-step p { margin: 0; color: var(--zm-muted); line-height: 1.55; }
.zm-step-art { display: grid; gap: .55rem; margin-top: auto; padding: 1rem; border: 1px solid var(--zm-line); border-radius: 10px; background: var(--zm-panel-2); }
.zm-search { display: flex; align-items: center; gap: .6rem; padding: .55rem .75rem; border-radius: 8px; background: var(--zm-chip); color: #9a9aa3; }
.zm-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.zm-chip { padding: .3rem .7rem; border-radius: 999px; background: var(--zm-chip); color: #d0d0d6; font-size: .8rem; font-weight: 600; }
.zm-chip--on { background: var(--zm-accent); color: #fff; }
.zm-progress { position: relative; display: flex; align-items: center; height: 1.9rem; overflow: hidden; border-radius: 6px; background: var(--zm-chip); }
.zm-progress-fill { position: absolute; top: 0; bottom: 0; left: 0; width: 68%; background: linear-gradient(90deg, #1e5fd6, var(--zm-accent)); }
.zm-progress-text { position: relative; padding-inline: .75rem; font-size: .72rem; font-weight: 700; letter-spacing: .1em; }
.zm-tip { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .55rem .75rem; border-radius: 8px; background: var(--zm-gold); color: #111; font-size: .9rem; font-weight: 700; }
.zm-card { display: flex; flex-direction: column; gap: .65rem; padding: 1.5rem; border: 1px solid var(--zm-line); border-radius: 14px; background: var(--zm-panel); transition: border-color .2s ease, transform .2s ease; }
.zm-card:hover { border-color: rgba(59,139,255,.5); transform: translateY(-2px); }
.zm-card > :first-child { color: var(--zm-accent); font-size: 1.6rem; }
.zm-card h3 { margin: 0; font-size: 1.1rem; font-weight: 700; }
.zm-card p { margin: 0; color: #b0b0b8; font-size: .95rem; line-height: 1.55; }

/* ⑦ PLAY — the split card (mod.io's "Toolkit") */
.zm-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
	margin-top: clamp(2rem, 4vw, 3rem); padding: clamp(1.25rem, 3vw, 2.5rem); border: 1px solid var(--zm-line); border-radius: 16px; background: var(--zm-panel); }
.zm-app { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 1rem; padding: 1rem; }
.zm-app-game { position: relative; overflow: hidden; border-radius: 8px; }
.zm-app-game img, .zm-app-game .zm-mock-art { display: block; width: 100%; height: 100%; min-height: 10rem; object-fit: cover; }
.zm-app-badge { position: absolute; left: .5rem; bottom: .5rem; padding: .25rem .5rem; border-radius: 6px; background: rgba(0,0,0,.75); font-size: .72rem; font-weight: 700; }
.zm-h3 { display: flex; align-items: center; gap: .6rem; margin: 0 0 .75rem; font-family: WhitneySSmBold; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.zm-h3 img { width: 2.2rem; height: 2.2rem; }
.zm-split-copy p { margin: 0 0 1.25rem; color: var(--zm-muted); line-height: 1.6; }
.zm-split-copy .zm-ticks { margin-bottom: 0; }

/* ⑧ THE CLOSE + FOOTER */
.zm-close { background: radial-gradient(ellipse at 50% 100%, rgba(59,139,255,.22), transparent 60%); }
/* 📏 TIGHTER (Vince, 2026-11-25, on the stacked footer: "can we tighten that up a little bit vertically") — band 1.25rem (was 2rem),
   rows .4rem apart (was .75rem), the two links .15rem apart (was .35rem). */
.zm-footer { padding-block: 1.25rem; border-top: 1px solid var(--zm-line); }
/* 🦶 STACKED UNDER THE BRAND (Vince, 2026-11-25: "it should say Zeal mods and then underneath terms of use, privacy policy, and then the
   copyright all stacked vertically under where it says Zeal mods in the footer") — one left-aligned column, on every Zeal Mods page. */
.zm-footer-row { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; }
.zm-footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; }
.zm-footer-links a { display: inline-flex; align-items: center; gap: .45rem; color: #a7a7ad; font-size: .95rem; line-height: 1.35; }
.zm-footer-links a:hover { color: #fff; }
.zm-footer-copy { color: #77777f; font-size: .85rem; }

/* 📐 EXPANDED (≤ 1199): four across → two */
@media (max-width: 1199px) {
	.zm-steps, .zm-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* 📐 MEDIUM (≤ 839 — a Z Fold unfolded): the hero and the split card stack; the art comes second */
@media (max-width: 839px) {
	.zm-hero-grid, .zm-split { grid-template-columns: minmax(0, 1fr); }
	.zm-mock { transform: none; }
	.zm-float-scan { left: .5rem; }
	.zm-float-order { right: .5rem; }
}
/* 📐 COMPACT (≤ 599 — every phone): one column, two numbers per row, the floating cards sit under the window */
@media (max-width: 599px) {
	.zm-steps, .zm-cards { grid-template-columns: minmax(0, 1fr); }
	.zm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.zm-step { min-height: 0; }
	.zm-hero-art { padding-block: 0; display: grid; gap: .75rem; }
	.zm-float { position: static; }
	.zm-mock-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.zm-mock-tile:nth-child(n + 5) { display: none; }
	.zm-app { grid-template-columns: minmax(0, 1fr); }
	.zm-brand span { display: none; }
}
/*#endregion*/

/*#region ZEALPAY.ME — THE PUBLIC FRONT PAGE (zp-, 2026-11-25)
   Vince: "I need ZealPay to have this same treatment… Again, the green theme, green accents." The page wears `zm-landing zp-landing`,
   so EVERY shape, size and media query above is Zeal Mods' own; this block only turns Zeal Mods' blue into zealpay.me's green (the
   logo's #009444, brightened for the black page) and adds the drawings Zeal Mods doesn't have — the invoice, the Paid and QR cards, the
   three doors, the sliding work pills and the Activity list.
   📐 THE LADDER ONLY (CLAUDE.md §3.7a): 1199 / 839 / 599. ⛔ No three-value padding. Everything is scoped under .zp-landing. */
.zp-landing { --zm-accent: #22c55e; --zp-deep: #009444; --zp-glow: rgba(34,197,94,.22); --zp-ring: rgba(34,197,94,.55); }

/* ZEAL MODS' HARD-CODED BLUES, RE-TINTED */
.zp-landing .zm-hero::before { background: radial-gradient(55% 60% at 78% 40%, var(--zp-glow), transparent 70%), radial-gradient(40% 40% at 6% 0%, rgba(0,148,68,.14), transparent 70%); }
.zp-landing .zm-mock { box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(34,197,94,.15), 0 0 80px rgba(34,197,94,.18); }
.zp-landing .zm-float { border-color: var(--zp-ring); box-shadow: 0 18px 50px rgba(0,0,0,.6), 0 0 30px rgba(34,197,94,.25); }
.zp-landing .zm-card:hover { border-color: rgba(34,197,94,.5); }
.zp-landing .zm-close { background: radial-gradient(ellipse at 50% 100%, var(--zp-glow), transparent 60%); }

/* ① THE DRAWN INVOICE */
.zp-inv { display: grid; gap: .55rem; padding: 1.25rem 1.4rem; }
.zp-inv-head { display: flex; align-items: center; gap: .75rem; margin-bottom: .5rem; }
.zp-inv-badge { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; flex: none; border-radius: 50%; background: var(--zp-deep); color: #fff; font-size: 1.1rem; }
.zp-inv-who { display: grid; flex: 1; gap: .35rem; min-width: 0; }
.zp-inv-who .zm-bar + .zm-bar { width: 55%; flex: none; }
.zp-inv-due { flex: none; padding: .25rem .6rem; border-radius: 999px; background: rgba(34,197,94,.14); color: var(--zm-accent); font-size: .7rem; font-weight: 700; letter-spacing: .08em; }
.zp-inv-line { display: flex; justify-content: space-between; gap: 1rem; padding-block: .45rem; border-bottom: 1px solid var(--zm-line); color: #d6d6db; font-size: .95rem; }
.zp-inv-line > :last-child { font-variant-numeric: tabular-nums; }
.zp-inv-total { border-bottom: 0; color: #fff; font-family: WhitneySSmBold; font-size: 1.15rem; }
.zp-inv-pay { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1rem; border-radius: 8px; background: linear-gradient(90deg, var(--zp-deep), var(--zm-accent)); color: #fff; font-weight: 700; }

/* THE TWO FLOATING CARDS — at Zeal Mods' scan / load-order positions */
.zp-float-paid { left: -1.5rem; top: 0; }
.zp-float-qr { right: -1rem; bottom: 0; text-align: center; }
.zp-amount { font-family: WhitneySSmBold; font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1.1; color: var(--zm-accent); font-variant-numeric: tabular-nums; }
.zp-qr { display: grid; place-items: center; width: 5.5rem; height: 5.5rem; margin: 0 auto .5rem; border-radius: 10px; background: #fff; color: #111; font-size: 4rem; }
.zp-qr-handle { color: #d6d6db; font-size: .85rem; }
.zp-qr-handle b { color: var(--zm-accent); }

/* THE THREE DOORS — Receive money, Send money, I'm already a Zeal member (or Your ZealPay home) */
.zp-doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: clamp(2rem, 5vw, 3.5rem); }
.zp-door { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; padding: 1.75rem 1.5rem; border: 1px solid var(--zm-line); border-radius: 16px;
	background: linear-gradient(180deg, rgba(34,197,94,.08), rgba(34,197,94,0) 55%), var(--zm-panel); transition: border-color .2s ease, transform .2s ease; }
.zp-door:hover { border-color: var(--zp-ring); transform: translateY(-2px); }
.zp-door-icon { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: rgba(34,197,94,.14); color: var(--zm-accent); font-size: 1.5rem; }
.zp-door-title { margin: 0; font-family: WhitneySSmBold; font-size: 1.45rem; line-height: 1.15; }
.zp-door p { flex: 1; margin: 0; color: var(--zm-muted); line-height: 1.55; }
/* "NOT A ZEAL MEMBER? CLICK HERE TO GET STARTED." */
.zp-join { display: flex; align-items: center; justify-content: center; gap: .55rem; margin: 1.75rem 0 0; color: #d6d6db; font-size: 1.05rem; text-align: center; }
.zp-join .zp-join-icon { flex: none; color: var(--zm-accent); }

/* ② THE WORK PEOPLE GET PAID FOR — Zeal Mods' sliding rows, holding pills. The gap is each pill's right margin (the seam rule above). */
.zp-marquee .zm-marquee-track { animation-duration: 90s; }   /* ≈ ZEAL MODS' OWN PACE (a ~4,500px pass at about 50px a second) */
.zp-pill { display: inline-flex; align-items: center; gap: .6rem; flex: none; margin-right: .75rem; padding: 1rem 1.6rem; border: 1px solid var(--zm-line); border-radius: 999px; background: var(--zm-panel); color: #e8e8ec; font-size: 1.15rem; font-weight: 600; white-space: nowrap; }
.zp-pill > :first-child { color: var(--zm-accent); font-size: 1.25rem; }

/* ③ THE STEPS' DRAWINGS */
.zp-handle { display: flex; align-items: center; gap: .15rem; padding: .55rem .75rem; border-radius: 8px; background: var(--zm-chip); color: #9a9aa3; overflow: hidden; }
.zp-handle b { color: #fff; }

/* ⑥ THE DRAWN ACTIVITY */
.zp-activity { display: grid; gap: .25rem; padding: 1rem; }
.zp-act-row { display: flex; align-items: center; gap: .75rem; padding: .6rem .5rem; border-bottom: 1px solid var(--zm-line); }
.zp-act-row:last-child { border-bottom: 0; }
.zp-act-icon { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; flex: none; border-radius: 50%; background: rgba(34,197,94,.14); color: var(--zm-accent); }
.zp-act-icon--out { background: rgba(255,255,255,.06); color: #cfcfd6; }
.zp-act-icon--wait, .zp-act-wait { color: #f59e0b; }   /* 🟠 ORANGE = PENDING (the colour law) */
.zp-act-icon--wait { background: rgba(245,158,11,.14); }
.zp-act-what { display: grid; flex: 1; gap: .3rem; min-width: 0; font-size: .92rem; font-weight: 600; }
.zp-act-what .zm-bar { width: 45%; flex: none; height: .35rem; }
.zp-act-amt { flex: none; font-weight: 700; font-variant-numeric: tabular-nums; color: #e8e8ec; }
.zp-act-in { color: var(--zm-accent); }

/* ⑦ QUESTIONS — Zeal Mods' feature cards, two across, led by their question (no icon, so the heading is the card's first child) */
.zp-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: clamp(2rem, 4vw, 3rem); }
.zp-faq .zm-card > h3:first-child { color: #fff; font-size: 1.15rem; }

/* 📐 MEDIUM (≤ 839 — a Z Fold unfolded): the doors stack; the floating cards come in from the edges (Zeal Mods' own rule) */
@media (max-width: 839px) {
	.zp-doors { grid-template-columns: minmax(0, 1fr); }
	.zp-float-paid { left: .5rem; }
	.zp-float-qr { right: .5rem; }
}
/* 📐 COMPACT (≤ 599 — every phone): the questions stack, the pills shrink, and the two floating cards go — stacked under the invoice
   (Zeal Mods' phone rule) they pushed the three doors, the reason anyone is here, a whole screen further down. */
@media (max-width: 599px) {
	.zp-landing .zp-float-paid, .zp-landing .zp-float-qr { display: none; }
	.zp-faq { grid-template-columns: minmax(0, 1fr); }
	.zp-pill { padding: .65rem 1.1rem; font-size: .95rem; }
	.zp-join { align-items: flex-start; text-align: left; }
}
/*#endregion*/

/*#region ZEAL MODS — THE GAMES BROWSER AND A GAME'S PAGE (zm-, 2026-11-23)
   zealmods.com/games and zealmods.com/<web address name>. Same palette, type and ladder (1199 / 839 / 599) as the home above. */

/* A SLIDING TILE IS A LINK NOW — it opens its game. */
a.zm-tile { display: block; }
a.zm-tile:focus-visible { outline: 2px solid var(--zm-accent); outline-offset: 2px; }

/* THE BROWSER */
.zm-browse { padding-block: clamp(2rem, 5vw, 3.5rem); }
.zm-browse-title { margin: 0 0 1.5rem; }

/* THE FEATURED CARDS — two across on a desktop, one-and-a-bit on a phone so the swipe is obvious. */
.zm-feature-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc(50% - .5rem); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); scrollbar-width: thin; }
.zm-feature { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--zm-line); border-radius: 14px; background: var(--zm-panel); color: #fff; scroll-snap-align: start; }
.zm-feature img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.zm-feature:hover img { transform: scale(1.03); }
.zm-feature-info { position: absolute; inset-inline: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; min-height: 45%; padding: 1rem 1.25rem; background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,0)); }
.zm-feature-name { font-family: WhitneySSmBold; font-size: clamp(1.1rem, 2vw, 1.5rem); line-height: 1.15; min-width: 0; }
.zm-feature-platforms { display: inline-flex; gap: .6rem; color: #d6d6db; flex: none; }

/* "N GAMES SHOWN" AND THE FILTERS */
.zm-browse-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.zm-browse-count { font-weight: 700; }
.zm-browse-filters { display: flex; flex-wrap: wrap; gap: 1rem; }
.zm-browse-group { display: flex; flex-wrap: wrap; gap: var(--zt-button-gap, .4rem); }
.zm-browse-empty { padding-block: 2rem; }

/* THE GRID OF TALL TILES — the portrait picture, or the key art cropped to 3:4 when a game has none. */
.zm-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.25rem; }
.zm-gtile { --zm-tile-accent: var(--zm-accent); display: flex; flex-direction: column; gap: .35rem; min-width: 0; color: #fff; }
.zm-gtile-art { display: block; aspect-ratio: 3 / 4; overflow: hidden; border: 2px solid transparent; border-radius: 10px; background: var(--zm-panel); transition: border-color .2s ease; }
.zm-gtile-art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
/* ✏️ BUILD 55 — THE TILE IS A BOX: the link (art, name, numbers) and, under it, the platforms row — which holds the owner's Edit, since a
   button can't sit inside a link. The hover and the keyboard focus still light the whole tile. */
.zm-gtile-link { display: flex; flex-direction: column; gap: .35rem; min-width: 0; color: inherit; text-decoration: none; }
.zm-gtile:hover .zm-gtile-art, .zm-gtile-link:focus-visible .zm-gtile-art { border-color: var(--zm-tile-accent); }
.zm-gtile:hover img { transform: scale(1.04); }
.zm-gtile-link:focus-visible { outline: none; }
.zm-gtile-name { font-family: WhitneySSmBold; font-size: 1rem; line-height: 1.2; margin-top: .35rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zm-gtile-platforms { display: inline-flex; align-items: center; gap: .55rem; color: #a7a7ad; font-size: .85rem; }
/* THE OWNER'S EDIT — a bare blue pencil (ZtIconOnlyButton) at the logos' own size, so it reads as one more glyph on the line (build 58). */
.zm-gtile-edit.ztbtn.ztbtn-icon-only { font-size: .85rem; padding: .1rem; }

/* 🔦 BUILD 58 — A WAVE EDITOR ON A ZEAL MODS PAGE SHOWS THE TEMPLATE, NOT THE PAGE (Vince: "I should just see my template in the background
   there. And if I close it, I should go right back to where I was"). The shell does this for its own pages (.zt-shell-page); these pages
   are not in the shell, so they do it here. VISIBILITY, never display: the page keeps its layout and its scroll, and the wave overlay
   re-asserts its own visibility. ZealModsBackdrop is what shows through. */
body:has(.zt-wave-overlay:not(.zt-wave-under)) .zm-landing { visibility: hidden; }
/* 📊 U1 (build 38) — A TILE'S NUMBERS, under its name. */
.zm-gtile-stats, .zm-feature-stats { color: #c9c9cf; font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* THE FEATURED CARD'S NAME AND NUMBERS STACK IN THEIR OWN COLUMN, so the numbers keep the regular face (not the name's bold one). */
.zm-feature-text { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.zm-feature-stats { font-size: .9rem; }

/* ONE GAME'S PAGE — the key art as a wide hero, darkened toward the bottom-left where the words sit; the accent colours the
   eyebrows and a rule along the hero's foot. */
.zm-game { --zm-game-accent: var(--zm-accent); }
.zm-game-hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(320px, 52vw, 560px); overflow: hidden; border-bottom: 3px solid var(--zm-game-accent); }
.zm-game-hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.zm-game-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.1) 100%), linear-gradient(to right, rgba(0,0,0,.6), rgba(0,0,0,0) 60%); }
.zm-game-hero-body { position: relative; z-index: 1; padding-block: clamp(1.5rem, 4vw, 3rem); }
.zm-crumb { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: 1rem; color: #d6d6db; font-weight: 600; }
.zm-crumb:hover { color: #fff; }
.zm-game-title { margin: 0 0 .5rem; }
.zm-game-publisher { margin: 0 0 1.25rem; color: #c9c9cf; font-size: 1.05rem; }
.zm-game .zm-platforms { margin: 0; }
/* ✏️ BUILD 59 — THE OWNER'S EDIT CHIP, last on the platforms line: the platform chips' own pill (padding, radius, type size), in Edit's
   blue with its pencil (the button verb law). Two classes deep so it out-weighs zt-ui.css's .ztbtn, which loads after this sheet. */
.zm-platforms .zm-platform-edit.ztbtn { min-height: 0; padding: .35rem .8rem; border-radius: 999px; font-size: .88rem; font-weight: 600; line-height: normal; }
.zm-game-eyebrow { color: var(--zm-game-accent); }
.zm-game-about { padding-block: clamp(2rem, 5vw, 3.5rem); border-bottom: 1px solid var(--zm-line); }
.zm-game-summary { margin: 0; max-width: 60rem; color: #c9c9cf; font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.7; white-space: pre-line; }

/* 🔍 THE SEARCH BOX (2026-11-24) — in the top bar of every Zeal Mods page, and the games browser's own box. The library's
   ZtFilterInput is a light pill; on Zeal Mods' dark pages it wears the panel colours. The results drop below the box, over the
   page, and scroll on their own when there are many. On a phone the box takes its own full-width line under the brand. */
.zm-search { position: relative; flex: 1 1 18rem; max-width: 30rem; min-width: 0; }
.zm-search .zt-filter, .zm-browse-search.zt-filter { width: 100%; max-width: none; background: var(--zm-panel-2); border-color: rgba(255,255,255,.12); }
.zm-search .zt-filter-input, .zm-browse-search .zt-filter-input { color: #fff; }
.zm-search .zt-filter-icon, .zm-search .zt-filter-clear, .zm-browse-search .zt-filter-icon, .zm-browse-search .zt-filter-clear { color: var(--zm-muted); }
.zm-search-results { position: absolute; top: calc(100% + .5rem); left: 0; right: 0; z-index: 30; display: flex; flex-direction: column; gap: .15rem; max-height: 70vh; overflow-y: auto; padding: .5rem; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: var(--zm-panel); box-shadow: 0 18px 40px rgba(0,0,0,.55); }
.zm-search-head { margin: 0; padding: .5rem .5rem; color: var(--zm-accent); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.zm-search-empty { margin: 0; padding: .75rem .5rem; color: var(--zm-muted); }
.zm-search-row { display: flex; align-items: center; gap: .75rem; padding: .45rem .5rem; border-radius: 8px; color: #fff; }
.zm-search-row:hover, .zm-search-row:focus-visible { background: var(--zm-chip); }
.zm-search-art { flex: none; width: 4.5rem; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: var(--zm-panel-2); }
.zm-search-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zm-search-badge { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--zm-panel-2); color: var(--zm-accent); font-size: 1.4rem; }
.zm-search-text { display: flex; flex-direction: column; min-width: 0; }
.zm-search-name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zm-search-sub { color: var(--zm-muted); font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zm-browse-search.zt-filter { flex: 1 1 14rem; max-width: 22rem; }
@media (max-width: 599px) {
	.zm-top-row { flex-wrap: wrap; padding-block: .6rem; }
	.zm-search { order: 3; flex-basis: 100%; max-width: none; }
	.zm-browse-search.zt-filter { max-width: none; }
}

/* 👤 A MEMBER'S PAGE (D61, 2026-11-24) — zealmods.com/<username>: a round badge beside @username, the display name and the
   joined date, over a soft wash of Zeal Mods blue. Stacks and centres on a phone. */
.zm-member-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem); border-bottom: 1px solid var(--zm-line); background: radial-gradient(ellipse at 15% 0%, rgba(59,139,255,.18), rgba(59,139,255,0) 60%); }
.zm-member-hero-body { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); }
.zm-member-badge { display: inline-flex; align-items: center; justify-content: center; flex: none; width: clamp(5rem, 12vw, 8rem); height: clamp(5rem, 12vw, 8rem); border: 3px solid var(--zm-accent); border-radius: 50%; background: var(--zm-panel-2); color: var(--zm-accent); font-size: clamp(2.5rem, 6vw, 4rem); }
/* 🖼️ BUILD 55 (2026-11-25) — A MEMBER'S OWN ZEAL MODS PICTURE AND COVER (Vince: "have it still fit this style"). The hero is its own
   stacking context, so the cover sits BEHIND the in-flow name and buttons (z -1) without positioning the hero body; a dark gradient
   keeps white type readable on any photo. The camera buttons are the Zeal profile header's: a dark glass circle, revealed on hover,
   always shown on touch (no hover there). The cover's sits in the hero's bottom padding, clear of the text it would otherwise sit under. */
/* 🐛 BUILD 55 REVIEW — NO STACKING LAYER: an `isolation` here trapped the Report wave's fixed overlay inside the hero, under the sticky
   top bar. Instead the cover comes FIRST and the picture and the name are positioned, so they paint over it in DOM order. */
.zm-member-hero { position: relative; overflow: hidden; }
.zm-member-cover { position: absolute; inset: 0; }
.zm-member-id { position: relative; }
.zm-member-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.zm-member-cover:not(.zm-member-cover--none)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,12,.88) 0%, rgba(10,10,12,.55) 55%, rgba(10,10,12,.35) 100%), linear-gradient(0deg, rgba(10,10,12,.7), rgba(10,10,12,0) 45%); pointer-events: none; }
/* A COVER MAKES THE HERO TALLER — read from the page itself (:has), so a FIRST cover grows it at once, not on the next load. */
.zm-member-hero--cover, .zm-member-hero:has(.zm-member-cover img) { min-height: clamp(14rem, 22vw, 20rem); display: flex; align-items: center; }
.zm-member-hero--cover .zm-member-hero-body, .zm-member-hero:has(.zm-member-cover img) .zm-member-hero-body { width: min(1200px, calc(100% - 2rem)); }
.zm-member-badge { position: relative; }
.zm-member-badge--photo { overflow: visible; background: var(--zm-panel-2); }
.zm-member-badge--photo img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.zm-photo-edit.ztbtn.ztbtn-icon { position: absolute; z-index: 2; width: 2.4rem; height: 2.4rem; min-width: 0; padding: 0; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: rgba(10,10,12,.62); color: #fff; opacity: 0; transition: opacity .18s ease, background-color .18s ease; }
.zm-photo-edit.ztbtn.ztbtn-icon:hover, .zm-photo-edit.ztbtn.ztbtn-icon:focus-visible { background: rgba(10,10,12,.85); }
.zm-photo-edit-avatar.ztbtn.ztbtn-icon { right: 0; bottom: 0; }
.zm-photo-edit-cover.ztbtn.ztbtn-icon { right: .75rem; bottom: .6rem; }
.zm-member-badge:hover .zm-photo-edit-avatar, .zm-member-hero:hover .zm-photo-edit-cover, .zm-photo-edit.ztbtn.ztbtn-icon:focus-visible { opacity: 1; }
@media (pointer: coarse) { .zm-photo-edit.ztbtn.ztbtn-icon { opacity: 1; } }
.zm-member-id { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.zm-member-name { margin: 0; overflow-wrap: anywhere; }
.zm-member-display { margin: 0; color: #d6d6db; font-size: 1.15rem; font-weight: 600; overflow-wrap: anywhere; }
.zm-member-joined { display: inline-flex; align-items: center; gap: .45rem; margin: 0; color: var(--zm-muted); }
/* 👤 BUILD 60 (2026-11-25) — THE MEMBER HERO, TIGHTENED (Vince: "the vertical spacing between the handle and the 2 content items below
   it… and that report button needs to be tucked up a little bit further. The vertical spacing should be consistent there. The report
   button needs to be quite a bit… more discrete… the height of the profile picture should be… that high").
     · ONE GAP between every line of the column — the follow row's own bottom margin (1rem, there for other pages) is dropped here.
     · REPORT: its own width (not the column's), small, no box until you point at it — still a button, still keyboard-reachable.
     · THE PICTURE spans the column: from the top of @handle to the foot of Report (3.24rem name + three 1.5rem lines + three .5rem gaps
       ≈ 9.25rem on a desktop); it still shrinks with the screen (12vw) and the phone layout stacks as before. */
.zm-member-id { gap: .5rem; }
.zm-member-id .zm-follow { margin: 0; }
.zm-member-id .zm-report.ztbtn { align-self: flex-start; min-height: 0; padding: .15rem .45rem; margin-left: -.45rem; border-color: transparent; background: transparent; color: var(--zm-muted); font-size: .82rem; font-weight: 600; line-height: 1.2; box-shadow: none; }
.zm-member-id .zm-report.ztbtn:hover, .zm-member-id .zm-report.ztbtn:focus-visible { background: rgba(255,255,255,.06); color: #fff; }
.zm-member-hero .zm-member-badge { width: clamp(6rem, 15vw, 11rem); height: clamp(6rem, 15vw, 11rem); }
@media (max-width: 599px) { .zm-member-id .zm-report.ztbtn { align-self: center; margin-left: 0; } }
/* 👤 BUILD 62 (2026-11-25) — THE MEMBER PAGE, SECOND PASS (Vince: "there's a lot of blank, empty vertical space… my profile picture
   could be bigger or all that text could be smaller… the vertical space there doesn't seem to be super consistent… let's really try
   to sexy that up").
     · THE PICTURE is bigger (11rem, was 9.25rem — the rule above) and @handle a size smaller, so the face leads.
     · EDIT, FOLLOWERS AND REPORT SHARE ONE ROW (.zm-member-actions) instead of a line each.
     · ONE RHYTHM DOWN THE PAGE (--zm-member-gap): each band starts that far below the last and adds nothing under itself, so the gap
       between any two bands, and before the footer, is the same number. It replaces the landing pages' tall band padding HERE only.
     · THE MODS BAND is left-aligned with a small heading; "none yet" is one quiet panel with an ordinary button, not a centred hero. */
.zm-member { --zm-member-gap: clamp(1.5rem, 3vw, 2.25rem); }
.zm-member .zm-section { padding-block: var(--zm-member-gap) 0; }
.zm-member .zm-footer { margin-top: var(--zm-member-gap); }
.zm-member-name.zm-h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.zm-member-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; }
.zm-member-actions .zm-report.ztbtn { align-self: center; margin-left: 0; }
.zm-member-h.zm-h2 { max-width: none; margin: 0 0 .9rem; font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.zm-member-empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; padding: 1rem 1.25rem; border: 1px solid var(--zm-line); border-radius: 12px; background: var(--zm-panel); }
.zm-member .zm-mod-list { margin-top: 0; }
@media (max-width: 599px) { .zm-member-actions { justify-content: center; } }
/* 🧩 A PERSON'S MODS ON THEIR PAGE (D64) — cards in a grid, the game in the accent blue over the mod's name and summary. */
.zm-mod-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); gap: 1rem; margin-top: 2rem; text-align: left; }
.zm-mod-card { display: flex; flex-direction: column; gap: .35rem; min-width: 0; padding: 1.25rem 1.25rem; border: 1px solid var(--zm-line); border-radius: 12px; background: var(--zm-panel); color: #fff; transition: border-color .15s ease, background .15s ease; }
.zm-mod-card:hover, .zm-mod-card:focus-visible { border-color: var(--zm-accent); background: var(--zm-panel-2); }
.zm-mod-game { color: var(--zm-accent); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.zm-mod-name { font-family: WhitneySSmBold; font-size: 1.15rem; overflow-wrap: anywhere; }
.zm-mod-summary { color: var(--zm-muted); line-height: 1.5; overflow-wrap: anywhere; }
/* 🧩 A MOD'S PAGE (build 14, 2026-11-24) — the game hero's shape, plus "by @username", the two counts (D69), the facts as pills, the
   download band with its scan line (D30), and the versions as cards. Stacks on a phone (the grid already does; the band wraps). */
.zm-mod-by { color: #fff; font-weight: 700; }
.zm-mod-by:hover { color: var(--zm-game-accent); }
.zm-mod-counts { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1.25rem; color: #d6d6db; font-weight: 600; }
.zm-mod-fact { border-color: var(--zm-game-accent); }
.zm-mod-download { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.zm-mod-latest { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.zm-mod-version { font-family: WhitneySSmBold; font-size: 1.35rem; }
.zm-mod-meta { color: var(--zm-muted); overflow-wrap: anywhere; }
.zm-mod-scan { display: inline-flex; align-items: center; gap: .45rem; color: #c9c9cf; font-size: .92rem; }
.zm-mod-scan .zt-fa { color: var(--zm-game-accent); }
.zm-mod-changelog { color: #d6d6db; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.zm-mod-version-card { align-items: flex-start; }
/* ⭐ THE RATING (D70) — the average beside the counts, the 0–100 box and its button in a row that wraps on a phone. */
.zm-rating { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin: 0 0 1.25rem; }
.zm-rating-score { display: inline-flex; align-items: center; gap: .5rem; color: #fff; font-family: WhitneySSmBold; font-size: 1.1rem; }
.zm-rating-score .zt-fa { color: var(--zeal-gold, #deb92c); }
.zm-rating-form { width: 9rem; }
.zm-rating-mine { color: var(--zm-muted); font-size: .92rem; }
/* 💬 THE COMMENTS (D71) — the photos' thread on Zeal Mods' dark page, in a light panel so its own colours read as they do on a photo. */
.zm-mod-comments .ca-comments { padding: 1rem 1rem; border-radius: 12px; background: #f7f7f8; }
/* 🖼️▶️ PICTURES & VIDEO (D72) — a grid of 16:9 tiles: pictures (open full size) and YouTube players side by side; one column on a phone. */
.zm-mod-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: 1rem; }
.zm-mod-picture, .zm-mod-video { display: block; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--zm-line); border-radius: 12px; background: var(--zm-panel); }
.zm-mod-picture img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.zm-mod-picture:hover img { transform: scale(1.03); }
.zm-mod-video iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (prefers-reduced-motion: reduce) { .zm-mod-picture img { transition: none; } .zm-mod-picture:hover img { transform: none; } }

/* 👤 A MEMBER'S ABOUT (build 34) — the links as the platform chips, wrapping. */
.zm-member-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.zm-member-links a { color: #fff; }

/* ⭐ FOLLOW (build 28) — the count and the button on one line, wrapping on a phone. */
.zm-follow { display: flex; flex-wrap: wrap; align-items: center; gap: var(--zt-button-gap, .4rem); margin: 0 0 1rem; }
.zm-follow-count { display: inline-flex; align-items: center; gap: .45rem; color: #d6d6db; font-weight: 600; }

/* 🪟 "INSTALL WITH ZEAL MODS" BESIDE DOWNLOAD (build 24) — they wrap onto their own lines on a phone; the note takes a full line. */
.zm-mod-install { display: flex; flex-wrap: wrap; align-items: center; gap: var(--zt-button-gap, .4rem); }
.zm-mod-install .zm-mod-meta { flex-basis: 100%; font-size: .88rem; }

/* 🔗 A MOD'S REQUIREMENTS (D15 / D16, build 22) — the off-site box sits under the Zeal Mods list, its links underlined. */
.zm-mod-offsite { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.5rem; max-width: 60rem; }
.zm-mod-offsite-list { display: flex; flex-direction: column; gap: .4rem; margin: 0; padding-left: 1.25rem; }
.zm-mod-offsite-list a { color: #fff; text-decoration: underline; overflow-wrap: anywhere; }

/* 🧩 A GAME'S MODS GRID (U4 / D75, build 18, 2026-11-24) — wide 16:9 tiles: the mod's first picture (the game's art until it has
   one), then the name, "by @username", the numbers line and the facts. The tile wears the game's accent on hover. auto-fill with a
   min of 16rem gives 4 across on a desktop, 2 on an unfolded foldable, 1 on a phone — no breakpoint of its own. The category
   buttons sit on their own row under the bar, and wrap. */
.zm-mods-categories { margin: -0.5rem 0 1.5rem; }
.zm-mods-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: 1.25rem; }
.zm-mtile { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--zm-line); border-radius: 12px; background: var(--zm-panel); color: #fff; transition: border-color .2s ease; }
.zm-mtile:hover, .zm-mtile:focus-visible { border-color: var(--zm-game-accent, var(--zm-accent)); outline: none; }
.zm-mtile-art { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--zm-panel-2); }
.zm-mtile-art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.zm-mtile:hover .zm-mtile-art img { transform: scale(1.04); }
.zm-mtile-body { display: flex; flex-direction: column; gap: .3rem; min-width: 0; padding: .9rem 1rem; }
.zm-mtile-name { font-family: WhitneySSmBold; font-size: 1.05rem; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zm-mtile-by { color: var(--zm-muted); font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zm-mtile-stats { display: inline-flex; align-items: center; gap: .45rem; color: #d6d6db; font-size: .88rem; font-weight: 600; }
.zm-mtile-stats .zt-fa { color: var(--zm-game-accent, var(--zm-accent)); }
.zm-mtile-facts { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .2rem; }
.zm-mtile-facts .zm-platform { font-size: .78rem; }
@media (prefers-reduced-motion: reduce) { .zm-mtile-art img { transition: none; } .zm-mtile:hover .zm-mtile-art img { transform: none; } }

@media (prefers-reduced-motion: reduce) {
	.zm-feature img, .zm-gtile-art img { transition: none; }
	.zm-feature:hover img, .zm-gtile:hover img { transform: none; }
}
@media (max-width: 1199px) {
	.zm-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 839px) {
	.zm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
	.zm-feature-row { grid-auto-columns: 85%; }
}
@media (max-width: 599px) {
	.zm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.zm-feature-row { grid-auto-columns: 88%; }
	.zm-feature-platforms { display: none; }
	.zm-browse-bar { flex-direction: column; align-items: flex-start; }
	.zm-member-hero-body { flex-direction: column; text-align: center; }
	.zm-member-id { align-items: center; }
}
/*#endregion*/
