/* ============================================================
   AUTH SURFACE — the two logged-out login pages, in Panel v2.

   ONE stylesheet for both:
   - customer  /sspanel/           (sspanel.tpl)
   - Death Star /sspanel/deathstar/ (sspanel-deathstar.tpl)

   Scope is body.pv2auth, added by BOTH templates under exactly the
   condition that renders the login markup. It cannot be body.pnv2 /
   body.dsv2 tokens alone: the customer page is PRE-AUTH, so pnv2 never
   applies there and panel-v2-core.css is not even loaded. So the
   --pv2-* tokens are redeclared here (same names, same values as
   panel-v2-core.css / deathstar-v2-core.css — one palette) and every
   component is namespaced .pv2a-* inside a .pv2a wrapper, so nothing
   leaks into the order form that shares sspanel.tpl.

   Design contract: CLAUDE-DESIGN-SYSTEM.md.
   ============================================================ */

body.pv2auth {
	--pv2-surface: #1a1a1b;      /* deep chrome: card headers */
	--pv2-panel: #212122;        /* card body */
	--pv2-raised: #252526;
	--pv2-field: #2d2d2e;        /* inputs, wells, SSO buttons */
	--pv2-hover: #333333;
	--pv2-border: #3a3a3b;
	--pv2-border-strong: #4c4c4d;
	--pv2-line: #2c2c2d;
	--pv2-text: #ffffff;
	--pv2-text-soft: #cccccc;
	--pv2-text-muted: #999999;
	--pv2-text-dim: #666666;
	--pv2-accent: #d5a84a;
	--pv2-gold: #eaa824;
	--pv2-gold-deep: #db9b15;
	--pv2-ok: #64d977;
	--pv2-danger: #f25757;
	--pv2-radius: 4px;           /* controls */
	--pv2-radius-lg: 6px;        /* cards */
	/* the auth surface's ONE control height. Deliberately taller than the
	   panel's 32px toolbar height: this is the single form every customer
	   types into, and 32px reads thin on a centred card. Every control
	   inside a card is this height, so the one-height-per-row rule holds. */
	--pv2a-ctl: 38px;
	/* THE WEAVE — the house texture, declared in public-v2-core.css as
	   --pv2p-weave and repeated here for the same reason the two panel
	   sheets repeat it: these sheets never load each other. Same angle,
	   same alpha, same pitch. */
	--pv2-weave: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.014) 0 1px, rgba(255, 255, 255, 0) 1px 8px);
}

/* ---------- wrapper ----------
   THE RAIL IS THE SITE RAIL. This was 900px, which floated the two cards
   135px inboard of the logo directly above them at 1600 — the page read as a
   narrow strip on a wide screen and lined up with no other edge on it.
   1170px is the header's own `.container`, so nothing here invents a width.

   And NO horizontal padding, because the gutter is that container's job:
   layout.css already pads it 15px and .pv2a sits inside it, so a padding of
   its own was simply a second gutter. It left the cards 16px inboard of the
   logo above them on one side and 16px inboard of the nav on the other.
   Without it the rail's own edges ARE the card edges, and they land on 230
   and 1370 at 1600 — the logo and the nav exactly. Phones put a gutter back
   in the media query at the bottom, where the container's 15px on its own is
   tighter than a touch target wants. */
body.pv2auth .pv2a {
	/* the site rail, not a rail of its own. At 1920 this row was 1140 wide
	   while the footer beneath it ran 1560 - two different rails stacked on
	   one page, which is exactly what reads as 'why is it shorter'. */
	/* Ryan: the top margin has to match the bottom. The page reads as one
	   band between the header and the reviews strip, so both ends get the
	   same 60. It was 34 top against 60 bottom, and the title block adds
	   its own space on top of that, so the gap above ran visibly larger. */
	max-width: 1560px; margin: 60px auto 60px; padding: 0 30px;
	width: 100%; box-sizing: border-box;
	font-family: 'Open Sans', Arial, sans-serif;
	color: var(--pv2-text-soft);
}
body.pv2auth .pv2a *, body.pv2auth .pv2a *:before, body.pv2auth .pv2a *:after { box-sizing: border-box; }

/* page heading. BOTH pages print it here now: the customer page used to carry
   its title in a parallax band, which cut the page in half exactly where the
   backdrop should run unbroken, so the band went and its h1 moved in here with
   its wording untouched. Still exactly one title per page. */
body.pv2auth .pv2a-head { text-align: center; margin: 0 0 22px; }
/* balance the wrap: on phones the title broke as "SURVIVAL SERVERS CONTROL /
   PANEL" and the line under it stranded "account." alone — a centred lockup
   with an orphan word is the "weirdly in the middle" read again, one screen
   size later. Balance splits both onto even lines; browsers without it keep
   today's wrap, which is the same as not shipping this. */
body.pv2auth .pv2a-head h1 {
	margin: 0; color: #fff; line-height: 1.25;
	font-family: 'Open Sans', Arial, sans-serif; font-size: 24px; font-weight: 400;
	text-transform: uppercase; letter-spacing: .02em;
	text-wrap: balance;
}
body.pv2auth .pv2a-head p { margin: 7px 0 0; font-size: 13px; color: var(--pv2-text-muted); text-wrap: balance; }

/* ---------- the two-card grid (customer) ----------
   THE TWO CARDS ARE ONE PAIR, so they are the same size. This was
   `align-items: flex-start`, which let each card take its natural height —
   467px against 661px, measured live — and two boxes of visibly different
   height sitting side by side read as an accident rather than a choice.

   Equal height alone is not the fix, though: stretching the shorter card
   just moves the 194px somewhere else as dead air, which is the gap that got
   rejected the first time this was tried. The height comes out of the
   CONTENT instead — the sign-up form's four stacked fields become two rows
   of two (.pv2a-frow below), which is what the wider rail is for. That takes
   the 194px down to 32px (499 against 467, measured live at 1600), and stretch
   closes the rest into the one place it does not read as a hole: above the
   primary button, so both gold CTAs share a baseline. */
body.pv2auth .pv2a-grid {
	display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch;
}
body.pv2auth .pv2a-col { flex: 1 1 0; min-width: 300px; display: flex; }
body.pv2auth .pv2a-col > .pv2a-card { flex: 1 1 auto; display: flex; flex-direction: column; }
body.pv2auth .pv2a-col > .pv2a-card > .pv2a-cbody { flex: 1 1 auto; display: flex; flex-direction: column; }
/* whatever slack is left lands in ONE place — above the primary button — so
   the two gold CTAs sit on a single baseline on the bottom edge of both
   cards instead of the slack scattering through the field rhythm. */
body.pv2auth .pv2a-col > .pv2a-card > .pv2a-cbody > .pv2a-btn.primary { margin-top: auto; }

/* ---------- a two-up field row ----------
   Only ever used where the rail is wide enough to pay for it. Each field
   keeps its own label, id, name, autocomplete and validation exactly as it
   was — this wraps two of them, it does not touch either. */
body.pv2auth .pv2a-frow { display: flex; gap: 14px; align-items: flex-start; }
body.pv2auth .pv2a-frow > .pv2a-field { flex: 1 1 0; min-width: 0; }
/* below this the two columns are narrower than the placeholder text they
   have to hold ("4 to 15 letters and numbers"), so the row goes back to a
   stack and the fields keep their own 14px bottom margin. */
@media (max-width: 600px) {
	body.pv2auth .pv2a-frow { display: block; }
}

/* a single centred card: forgot password, SSO name completion, waits */
body.pv2auth .pv2a-solo { max-width: 420px; margin: 0 auto; width: 100%; }

/* ---------- card ---------- */
body.pv2auth .pv2a-card {
	background: var(--pv2-panel); border: 1px solid var(--pv2-border);
	border-radius: var(--pv2-radius-lg); overflow: hidden;
	box-shadow: 0 12px 34px rgba(0, 0, 0, 0.38);
	margin: 0;
}
/* The card head is the public site's card head. `.pv2p-chead.bloom` over
   there is "a gold bloom from the top right over a fine diagonal weave",
   and it is the one piece of card vocabulary these four screens did not
   have — they were a flat strip of deep chrome while every card on the
   marketing site had the treatment. Same bloom, same weave, same 44px
   strip, so a customer arriving from a game page meets the same object. */
body.pv2auth .pv2a-chead {
	display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px;
	background-color: var(--pv2-surface);
	background-image:
		radial-gradient(300px 120px at 100% -40%, rgba(234, 168, 36, 0.15), rgba(234, 168, 36, 0) 72%),
		var(--pv2-weave);
	border-bottom: 1px solid var(--pv2-line);
}
body.pv2auth .pv2a-chead h2 {
	margin: 0; color: #fff; text-transform: uppercase; letter-spacing: .05em;
	font-family: 'Open Sans', Arial, sans-serif; font-size: 13px; font-weight: 600;
}
body.pv2auth .pv2a-chead i { color: var(--pv2-accent); font-size: 14px; }
body.pv2auth .pv2a-cbody { padding: 18px; }

/* ---------- alerts ----------
   These are the screens a customer only ever sees because something already
   went wrong, so they get a real component rather than tinted text: a state
   glyph in its own lane, the message on the optical baseline beside it, and
   a left edge in the state colour so the two states are told apart before a
   word is read. The glyph is drawn by CSS — the message text in the
   templates is untouched. */
body.pv2auth .pv2a-alert {
	display: flex; align-items: flex-start; gap: 10px;
	border: 1px solid; border-left-width: 3px; border-radius: var(--pv2-radius);
	padding: 10px 12px; margin: 0 0 14px; font-size: 13px; line-height: 1.45;
}
body.pv2auth .pv2a-alert:before {
	font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 13px;
	line-height: 1.45; flex: 0 0 auto;
}
body.pv2auth .pv2a-alert.danger { background: rgba(242, 87, 87, 0.10); border-color: rgba(242, 87, 87, 0.42); border-left-color: var(--pv2-danger); color: #f79a9a; }
body.pv2auth .pv2a-alert.danger:before { content: "\f06a"; color: var(--pv2-danger); }
body.pv2auth .pv2a-alert.ok { background: rgba(100, 217, 119, 0.10); border-color: rgba(100, 217, 119, 0.42); border-left-color: var(--pv2-ok); color: #93e3a3; }
body.pv2auth .pv2a-alert.ok:before { content: "\f058"; color: var(--pv2-ok); }

/* ---------- SSO buttons — the order flow's DOOR ROW, whole ----------
   Ryan 2026-08-18: "I like the one that we have on the order form way better,
   just showing the icons. Why do we need to waste huge rows for buttons?" The
   previous stack of three full-width bars spent 130px of card before the
   username field for a three-way choice between recognizable logos.

   This is #ssdoors' recipe (sspanel.tpl, the order console's Log-in-with row)
   verbatim, not a lookalike: a short label, then square white chips with the
   gold hairline, the real brand SVG centred, and the gold glow on hover. The
   one deliberate difference is size — the chip is var(--pv2a-ctl) so it obeys
   this surface's one-control-height rule (38px, stepping to 44 on phones where
   the order row steps to 46). If the door recipe changes THERE, change it HERE
   in the same commit; two drifting copies of this row is the thing Ryan keeps
   catching. */
body.pv2auth .pv2a-sso { display: flex; align-items: center; gap: 8px; }
body.pv2auth .pv2a-ssolbl {
	flex: none; white-space: nowrap; color: #fff;
	font-size: 13px; font-weight: 300; margin-right: 2px;
}
body.pv2auth .pv2a-ssobtn {
	display: flex; flex: 0 0 auto; width: var(--pv2a-ctl); height: var(--pv2a-ctl);
	align-items: center; justify-content: center; line-height: 1;
	margin: 0; padding: 0;
	background: #fff; border: 1px solid rgba(234, 168, 36, .5);
	border-radius: var(--pv2-radius); cursor: pointer;
	text-shadow: none; box-shadow: none;
	transition: border-color .12s, box-shadow .12s;
}
body.pv2auth .pv2a-ssobtn:hover { background: #fff; border-color: #EAA824; box-shadow: 0 0 6px rgba(234, 168, 36, .55); }
body.pv2auth .pv2a-ssobtn img { display: block; width: 19px; height: 19px; }
@media (max-width: 700px) {
	/* the chip is 44px here (the --pv2a-ctl step); the mark steps with it,
	   mirroring the order row's 46/23 pairing */
	body.pv2auth .pv2a-ssobtn img { width: 23px; height: 23px; }
}

/* ---------- "or" rule ---------- */
body.pv2auth .pv2a-or {
	display: flex; align-items: center; gap: 12px;
	margin: 16px 0; color: var(--pv2-text-dim);
	font-size: 11px; font-weight: 600; letter-spacing: .10em; text-transform: uppercase;
}
body.pv2auth .pv2a-or:before, body.pv2auth .pv2a-or:after {
	content: ""; flex: 1 1 auto; height: 1px; background: var(--pv2-line);
}

/* ---------- fields ---------- */
body.pv2auth .pv2a-field { margin: 0 0 14px; }
body.pv2auth .pv2a-labelrow { display: flex; align-items: baseline; gap: 10px; margin: 0 0 6px; }
body.pv2auth .pv2a-labelrow .pv2a-flabel { margin: 0; }
body.pv2auth .pv2a-labelrow a { margin-left: auto; font-size: 11.5px; color: var(--pv2-accent); text-decoration: none; white-space: nowrap; }
body.pv2auth .pv2a-labelrow a:hover { color: var(--pv2-gold); text-decoration: none; }
body.pv2auth .pv2a-flabel {
	display: block; margin: 0 0 6px; color: var(--pv2-text-muted);
	font-family: 'Open Sans', Arial, sans-serif; font-size: 11px; font-weight: 600;
	letter-spacing: .06em; text-transform: uppercase;
}
body.pv2auth .pv2a-input {
	display: block; width: 100%; height: var(--pv2a-ctl); padding: 0 12px; margin: 0;
	background: var(--pv2-field); border: 1px solid var(--pv2-border);
	border-radius: var(--pv2-radius); color: #fff;
	font-family: 'Open Sans', Arial, sans-serif; font-size: 13px; font-weight: 400;
	box-shadow: none; transition: border-color .12s;
}
/* ONE focus indicator: the gold border the field draws for itself. No ring,
   no halo — the double-gold-border fix at the end of css/sspanel/style.css
   already clears the global :focus-visible outline for text inputs, and
   nothing here puts a second line back. */
body.pv2auth .pv2a-input:focus {
	outline: none; box-shadow: none; background: var(--pv2-field);
	border-color: var(--pv2-accent);
}
body.pv2auth .pv2a-input::placeholder { color: var(--pv2-text-dim); opacity: 1; }
/* Chrome paints its own pale autofill background over dark fields */
body.pv2auth .pv2a-input:-webkit-autofill,
body.pv2auth .pv2a-input:-webkit-autofill:hover,
body.pv2auth .pv2a-input:-webkit-autofill:focus {
	-webkit-text-fill-color: #fff;
	-webkit-box-shadow: 0 0 0 1000px var(--pv2-field) inset;
	caret-color: #fff;
}

/* ---------- buttons ---------- */
body.pv2auth .pv2a-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: var(--pv2a-ctl); padding: 0 16px; margin: 0;
	background: transparent; border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: var(--pv2-radius); color: #fff; cursor: pointer;
	font-family: 'Open Sans', Arial, sans-serif; font-size: 13px; font-weight: 400;
	line-height: 1; white-space: nowrap; text-decoration: none;
	text-shadow: none; box-shadow: none;
	transition: background-color .12s, border-color .12s;
}
body.pv2auth .pv2a-btn:hover, body.pv2auth .pv2a-btn:focus, body.pv2auth .pv2a-btn:active {
	background-color: var(--pv2-hover); color: #fff; text-decoration: none; box-shadow: none;
}
body.pv2auth .pv2a-btn.primary {
	background: var(--pv2-gold); border-color: var(--pv2-gold); color: #fff; font-weight: 600;
}
body.pv2auth .pv2a-btn.primary:hover, body.pv2auth .pv2a-btn.primary:focus, body.pv2auth .pv2a-btn.primary:active {
	background: var(--pv2-gold-deep); border-color: var(--pv2-gold-deep); color: #fff;
}
body.pv2auth .pv2a-btn.block { display: flex; width: 100%; }

/* action row under a form: primary fills, quiet link sits beside it */
body.pv2auth .pv2a-actions { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
body.pv2auth .pv2a-actions .pv2a-btn { flex: 1 1 auto; }
body.pv2auth .pv2a-actions .pv2a-quiet { flex: 0 0 auto; }
body.pv2auth .pv2a-quiet { color: var(--pv2-text-muted); font-size: 12.5px; text-decoration: none; }
body.pv2auth .pv2a-quiet:hover { color: var(--pv2-gold); text-decoration: none; }
/* the SSO cancel controls stay <button type=button> (a submit inside a form
   with required fields pops a validation bubble on Cancel) — strip the chrome
   so they read as the quiet link they are */
body.pv2auth button.pv2a-quiet {
	background: transparent; border: 0; padding: 0; margin: 0; cursor: pointer;
	font-family: 'Open Sans', Arial, sans-serif; font-weight: 400; line-height: var(--pv2a-ctl);
	box-shadow: none; text-shadow: none;
}

/* ---------- checkbox (THE panel checkbox, mirrored for the pre-auth page) ---------- */
body.pv2auth .pv2a-check {
	display: flex; align-items: flex-start; gap: 9px; margin: 0 0 14px;
	font-size: 12.5px; line-height: 1.45; color: var(--pv2-text-muted); cursor: pointer;
}
body.pv2auth .pv2a-check input[type="checkbox"] {
	-webkit-appearance: none; appearance: none;
	width: 16px; height: 16px; margin: 1px 0 0; padding: 0; flex-shrink: 0;
	background: var(--pv2-field); border: 1px solid var(--pv2-border-strong);
	border-radius: 3px; cursor: pointer; position: relative;
	transition: background-color .12s, border-color .12s;
}
body.pv2auth .pv2a-check input[type="checkbox"]:hover { border-color: var(--pv2-accent); }
body.pv2auth .pv2a-check input[type="checkbox"]:checked { background: var(--pv2-gold); border-color: var(--pv2-gold); }
body.pv2auth .pv2a-check input[type="checkbox"]:checked:after {
	content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
	font-size: 10px; line-height: 1; color: #fff;
	position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
}
body.pv2auth .pv2a-check a { color: var(--pv2-accent); text-decoration: none; }
body.pv2auth .pv2a-check a:hover { color: var(--pv2-gold); text-decoration: none; }

/* ---------- waiting cards (login2/3/4, cancelsignup1, forgot2) ---------- */
body.pv2auth .pv2a-wait { padding: 26px 18px 28px; text-align: center; }
body.pv2auth .pv2a-wait i {
	display: block; margin: 0 auto 14px; width: 26px; height: 26px; line-height: 26px;
	color: var(--pv2-gold); font-size: 24px;
}
body.pv2auth .pv2a-wait p { margin: 0; font-size: 13px; color: var(--pv2-text-muted); }
/* the RESET-PASSWORD success state reuses the wait card - same centred stack,
   but it reports an outcome rather than a wait, so it carries a heading and the
   tick is green. Kept on .pv2a-wait rather than a card of its own because the
   two screens are one flow and the box must not change size between them. */
body.pv2auth .pv2a-wait h3 { margin: 0 0 8px; font-size: 16px; font-weight: 600; color: var(--pv2-text); }
body.pv2auth .pv2a-wait i.pv2a-done { color: var(--pv2-ok); font-size: 40px; width: 40px; height: 40px; line-height: 40px; }

/* field hint - the line the sky-form used to hang off the input as a tooltip.
   Same words, but a tooltip needs the sky-forms sheet to mean anything and this
   card is not a sky-form, so it reads as a quiet line under the field instead. */
body.pv2auth .pv2a-hint { display: block; margin-top: 6px; font-size: 11.5px; color: var(--pv2-text-muted); }

/* the JS-only panels are display:none inline AND via the head <style>; the
   stack below them must not inherit a stray legacy margin when jQuery
   .show()s them back to display:block */
body.pv2auth .pv2a-solo + .pv2a-solo { margin-top: 20px; }

/* FA6 Free solid glyphs only exist at weight 900 — a stray weight reset
   renders every icon as a tofu box */
body.pv2auth .pv2a i.fa, body.pv2auth .pv2a i.fas, body.pv2auth .pv2a i.fa-solid { font-weight: 900 !important; }

/* ---------- Death Star: the shell has no title band, so the auth surface
   owns its own vertical rhythm and must not sit against the header ---------- */
/* 420, not 430, and it is the SAME 420 .pv2a-solo uses. The wrapper used to
   be 430 with 16px of its own padding, which made the staff sign-in card 398
   wide while the customer's forgot-password card — the same component, on the
   same set — was 420. Two cards that are supposed to be siblings were 22px
   apart. Now every single-card screen on both surfaces is one width. */
body.pv2auth.dsv2 .pv2a { max-width: 420px; margin: 56px auto 72px; }

/* ---------- the SIGN-OUT screens ----------
   Both sign-outs are the same component as a sign-in waiting card, on purpose:
   the two screens a session opens and closes with should read as one pair. The
   only differences are the width (one card, so the customer page drops its
   two-column rail) and the extra breathing room the sign-in gets from its form.

   These screens live for about a second before their meta refresh fires, so
   nothing here fades or slides in — an entrance animation on a screen with a
   1s life just reads as a flicker. */
/* The extra .pv2a in the selector is load-bearing: the staff rule above matches
   body.pv2auth.dsv2 .pv2a, which also matches the staff SIGN-OUT, and it would
   otherwise keep handing this screen the sign-in's margin. Same weight, later in
   the file, so the sign-outs win on both surfaces. */
body.pv2auth .pv2a.pv2a-bye {
	max-width: 420px;
	/* 101px lands the title exactly where the staff sign-in puts it — see the
	   vertical-rhythm note on the customer sign-in's margin below. */
	margin: 101px auto 72px;
	/* A sign-out card is short, and the backdrop's one real element is fixed to
	   the bottom of the VIEWPORT — so on a screen this size the station and the
	   globe both ended up behind the footer, and the backdrop the sign-out is
	   supposed to share with the sign-in was a flat gradient. This holds the
	   content area open to the height the sign-in's own surface has (363px), so
	   the footer lands in the same place on all four screens.
	   The content sits at the TOP of that box rather than centred in it: centred,
	   the title dropped ~85px the moment you signed out, and the two screens a
	   session opens and closes with are supposed to read as one pair. */
	min-height: 363px;
	display: flex; flex-direction: column; justify-content: flex-start;
}
body.pv2auth .pv2a-bye .pv2a-wait { padding: 30px 18px 32px; }

/* the sign-out shells are the two PANELS, and each hands the content area a
   navigation bar plus a repeating checker plate that belongs to the session
   that just ended. Clear both so the screen is the backdrop, the card and
   nothing else — which is exactly what the two sign-in pages are. */
body.pv2auth section[style*="service-headers/sspanel.jpg"] {
	background-image: none !important; background-color: transparent !important;
}
body.pv2auth nav.navbar.navbar-inverse,
body.pv2auth #dsv2Rail,
body.pv2auth .c2titleband,
body.pv2auth .parallax.parallax-1 { display: none !important; }
/* the staff-presence strip polls with a session that no longer exists, so it
   sits on the sign-out screen reading "Loading staff presence..." forever */
body.pv2auth .alert.alert-default:has(#ssStaffPresence) { display: none !important; }

/* The brand row's "My Servers" button is a link to /sspanel/ — which is this
   page, on the sign-in, and where you have just been signed out of, on the
   sign-out. It is the zero-duplicate rule the header itself cites for dropping
   Contact Us, and it costs 130px that the nav rail needs: with the button in
   place the rail runs out of room and ellipses every label down to "GAME SE...".
   The staff sign-in has never carried it (the Death Star's brand row is socials
   and nothing else), so removing it here is also what makes the two match.

   The extra class and the !important are both load-bearing: header-v2-preview.css
   sets display on this exact selector at this exact specificity, and it is linked
   from inside the body, so it wins the tie on source order no matter what this
   sheet does from the head. */
/* REVERSED 2026-08-05. Ryan, three times: the button has to be there. The
   self-link argument was fair when it said "My Servers" and pointed at the page
   you were already on, but it is Command Center now and its absence is what
   makes this header a different shape from every other page on the site — which
   is the thing he actually kept seeing. The 130px argument is also spent: the
   header row here was running in a narrower container than the rest of the
   site, and widening that (below) gives the rail its room back. */
body.pv2auth #c2brand .c2rgt .c2myservers { display: inline-flex !important; }

/* the brand row uses the SITE rail here too. It was rendering inside a narrow
   container, so the logo started at 380 on this page against 185 everywhere
   else — the header visibly changed shape when you landed on sign-in. */
/* ABOVE 1400 ONLY, which is where the site rail widens. Every other surface
   guards this expression the same way - body.pnv2 .container in panel-v2-core.css,
   body.dsv2 .container in deathstar-v2-core.css, body.pubv2 #c2brand .container
   in public-v2-core.css - and unguarded it is actively harmful: 100vw - 180 is
   210px on a 390px phone, so the header collapsed to a fifth of the screen. */
@media (min-width: 1400px) {
	body.pv2auth #c2brand > .container,
	body.pv2auth #c2brand .container.c2snav-row {
		max-width: min(1560px, calc(100vw - 180px)) !important;
		width: 100%;
	}
}

/* ---------- the header keeps its shape on a phone too ----------
   panel-sitenav.css hides the logo, the badge and the whole right-hand group on
   .v2hdr-panel below 990, and that is right INSIDE the customer panel: the
   collapsed panel header (.pv2-mobrand) carries the logo and the account cell
   there, and showing them twice is the bug that rule prevents.

   The auth surface has no panel chrome. It carries v2hdr-panel because it sets
   panel_v2, but there is no .pv2-mobrand on it and nothing else to fall back to,
   so the rule was taking the mark AND the Command Center off the sign-in and
   sign-out and leaving a bare nav strip - a different header shape again, on the
   screens Ryan was already reporting for exactly that. The Death Star's own auth
   screens keep both (body.dsv2 never matched that rule), which is the shape
   every other page on the site has, so the customer pair matches it here.

   Specificity + !important are both load-bearing: the rule being answered is
   itself !important at (1,5,1). Ordering mirrors the Death Star's row. */
@media (max-width: 990px) {
	body.pv2auth.v2hdr.v2hdr-panel #c2brand .container.c2snav-row > .c2logo,
	body.pv2auth.v2hdr.v2hdr-panel #c2brand .container.c2snav-row > .c2rgt {
		display: flex !important;
	}
	body.pv2auth.v2hdr.v2hdr-panel #c2brand .container.c2snav-row > .c2logo { order: 1; margin: 8px 0 8px 14px; }
	body.pv2auth.v2hdr.v2hdr-panel #c2brand .container.c2snav-row > .c2rgt { order: 3; margin-right: 14px; }
}

/* ---------- responsive ---------- */
@media (max-width: 820px) {
	body.pv2auth .pv2a { margin-top: 24px; }
	body.pv2auth .pv2a-col { flex: 1 1 100%; min-width: 0; }
}
@media (max-width: 700px) {
	/* touch sizing — same step My Account takes on phones */
	body.pv2auth { --pv2a-ctl: 44px; }
	body.pv2auth .pv2a { padding: 0 14px; margin: 20px auto 44px; }
	body.pv2auth.dsv2 .pv2a { margin: 28px auto 48px; }
	body.pv2auth .pv2a-grid { gap: 16px; }
	body.pv2auth .pv2a-cbody { padding: 16px; }
	body.pv2auth .pv2a-head h1 { font-size: 20px; }
	body.pv2auth .pv2a-actions { flex-wrap: wrap; }
	body.pv2auth .pv2a-actions .pv2a-btn { flex: 1 1 100%; }
	body.pv2auth .pv2a-actions .pv2a-quiet { flex: 1 1 100%; text-align: center; }
}


/* ============================================================
   THE BACKDROPS — one construction, two skins
   ------------------------------------------------------------
   All four auth screens sit on a backdrop, and both backdrops are built the
   same way, because they have to hold together as a set:

     - ONE fixed pseudo-element on <body> carrying every flat layer (the
       washes, the point field, the grid), drifting on one keyframe;
     - REAL elements for anything that needs its own geometry, because a
       recessed dish or a wireframe limb does not survive being faked as one
       more entry in a background-image stack.

   The staff skin is pure CSS; the customer skin carries a real image since
   2026-08-18 (Ryan asked for one — see its own header below). Everything sits
   at z-index -1: that paints above the body's own background colour and behind
   every element on the page, so no card needs a z-index of its own and nothing
   can end up underneath the backdrop.

   The skins are split on .dsv2 — the STAFF pages get to have fun with the
   name, and the CUSTOMER pages, which are the front door every paying account
   comes through, get our own story instead.
   ============================================================ */

/* #wrapper carries the theme's opaque page grey, which would sit right on top of
   the backdrop and hide it completely. Only the shell is cleared — the header,
   footer and every card keep their own surfaces. */
body.pv2auth #wrapper { background: transparent; }

body.dsv2.pv2auth { background-color: #07080b; }

/* deep space: a cool wash off the top-right, a faint gold rise from the
   bottom (our accent, so it still reads as ours), and three star layers at
   different sizes so the field has depth instead of looking like noise */
body.dsv2.pv2auth::before {
	content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
	background-image:
		radial-gradient(2.4px 2.4px at 18% 22%, rgba(255,255,255,1), transparent 60%),
		radial-gradient(2.1px 2.1px at 73% 12%, rgba(255,255,255,.95), transparent 60%),
		radial-gradient(2.2px 2.2px at 41% 68%, rgba(255,255,255,.92), transparent 60%),
		radial-gradient(1.9px 1.9px at 88% 54%, rgba(255,255,255,.88), transparent 60%),
		radial-gradient(1.7px 1.7px at 8% 76%, rgba(255,255,255,.85), transparent 60%),
		radial-gradient(1.6px 1.6px at 58% 33%, rgba(255,255,255,.80), transparent 60%),
		radial-gradient(1.3px 1.3px at 29% 8%, rgba(255,255,255,.75), transparent 60%),
		radial-gradient(1.3px 1.3px at 95% 84%, rgba(255,255,255,.70), transparent 60%),
		radial-gradient(1.3px 1.3px at 64% 92%, rgba(255,255,255,.65), transparent 60%),
		radial-gradient(1.3px 1.3px at 3% 44%, rgba(255,255,255,.75), transparent 60%),
		radial-gradient(1.3px 1.3px at 47% 47%, rgba(255,255,255,.70), transparent 60%),
		radial-gradient(1.3px 1.3px at 80% 70%, rgba(255,255,255,.68), transparent 60%),
		radial-gradient(1100px 640px at 80% -12%, rgba(64, 92, 148, 0.42), transparent 64%),
		radial-gradient(900px 520px at 10% 4%, rgba(112, 72, 140, 0.26), transparent 62%),
		radial-gradient(1500px 900px at 50% 118%, rgba(234, 168, 36, 0.13), transparent 62%);
	background-size: 640px 640px, 640px 640px, 520px 520px, 520px 520px, 400px 400px,
		400px 400px, 300px 300px, 300px 300px, 240px 240px, 240px 240px, 180px 180px, 180px 180px,
		100% 100%, 100% 100%, 100% 100%;
	background-repeat: repeat, repeat, repeat, repeat, repeat, repeat, repeat, repeat,
		repeat, repeat, repeat, repeat, no-repeat, no-repeat, no-repeat;
	animation: dsv2drift 240s linear infinite;
}

/* ---------- the station ----------
   Real elements, not more stacked gradients: the dish reads as a recess and
   the trench as a channel only with their own geometry. Rebuilt 2026-08-18 -
   Ryan: "it needs to be much more Death Star-like. It's too subtle." The old
   sphere was a near-black moon at opacity .72 with a whisper of a dish; what
   NAMES the thing is the plating, the equatorial trench and the green-eyed
   superlaser dish, so all three are now unmistakable. This is the one surface
   in the product where louder is correct - no customer ever sees it.

   Layer order (pseudo painting order does the masking):
     .dsv2-station        base shading + plate patchwork + night-side lights
     .dsv2-station::before panel seams (sector lines + fine plating)
     .dsv2-station::after  rim light + limb darkening ON TOP, so the seams
                           die at the terminator instead of gridding the dark
     .dsv2-trench / .dsv2-dish  their own geometry, above all of it */
body.dsv2.pv2auth .dsv2-station {
	--ds: clamp(680px, 96vh, 980px);
	position: fixed; z-index: -1; pointer-events: none;
	/* sat so the equator and trench cross the visible area well above the fold */
	right: calc(var(--ds) * -0.20); bottom: calc(var(--ds) * -0.18);
	width: var(--ds); height: var(--ds); border-radius: 50%;
	/* clip the trench and dish to the sphere - without this the trench runs
	   straight out of the circle as a full-width bar */
	overflow: hidden;
	background-image:
		/* night-side city lights, warm pinpricks past the terminator */
		radial-gradient(2.2px 2.2px at 61% 71%, rgba(255,214,140,.40), transparent 70%),
		radial-gradient(1.8px 1.8px at 66% 62%, rgba(255,214,140,.32), transparent 70%),
		radial-gradient(1.8px 1.8px at 55% 79%, rgba(255,214,140,.28), transparent 70%),
		radial-gradient(1.6px 1.6px at 71% 74%, rgba(255,214,140,.24), transparent 70%),
		radial-gradient(1.6px 1.6px at 50% 68%, rgba(255,214,140,.20), transparent 70%),
		/* plate patchwork: no-repeat tonal rectangles so the surface reads as
		   built, not cast - sized/positioned in the lists below */
		linear-gradient(rgba(255,255,255,.010), rgba(255,255,255,.010)),
		linear-gradient(rgba(255,255,255,.015), rgba(255,255,255,.015)),
		linear-gradient(rgba(0,0,0,.10), rgba(0,0,0,.10)),
		linear-gradient(rgba(255,255,255,.013), rgba(255,255,255,.013)),
		linear-gradient(rgba(0,0,0,.08), rgba(0,0,0,.08)),
		linear-gradient(rgba(255,255,255,.020), rgba(255,255,255,.020)),
		/* base shading: proper gunmetal now, lit from the upper left,
		   terminator falling away to the lower right */
		radial-gradient(circle at 27% 24%, #40464f 0%, #363c45 26%, #292e36 52%, #1b1f26 74%, #12151a 90%, #0c0e12 100%);
	background-size:
		100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%,
		13% 7%, 9% 10%, 11% 5%, 7% 8%, 8% 6%, 15% 6%,
		100% 100%;
	background-position:
		0 0, 0 0, 0 0, 0 0, 0 0,
		12% 34%, 38% 16%, 58% 44%, 22% 58%, 44% 30%, 30% 70%,
		0 0;
	background-repeat: no-repeat;
	box-shadow:
		inset -34px -30px 110px rgba(0,0,0,.85),      /* dark limb */
		inset 14px 12px 40px rgba(160,180,215,.06),   /* soft fill on the lit side */
		0 0 150px rgba(0,0,0,.7);
	opacity: .96;
}
/* panel seams: two sector-line scales over a fine plating grid. Straight lines
   on a sphere are the wrong projection and the right look - at this alpha they
   read as plating, and the ::after limb shade kills them where they would lie. */
body.dsv2.pv2auth .dsv2-station::before {
	content: ""; position: absolute; inset: 0; border-radius: 50%;
	background-image:
		repeating-linear-gradient(0deg, rgba(0,0,0,.30) 0 1.5px, transparent 1.5px 92px),
		repeating-linear-gradient(90deg, rgba(0,0,0,.24) 0 1.5px, transparent 1.5px 116px),
		repeating-linear-gradient(0deg, rgba(0,0,0,.15) 0 1px, transparent 1px 25px),
		repeating-linear-gradient(90deg, rgba(0,0,0,.12) 0 1px, transparent 1px 33px);
}
/* rim light on the lit edge - what sells it as a sphere - plus the limb
   darkening painted ABOVE the seams so the grid fades into the night side */
body.dsv2.pv2auth .dsv2-station::after {
	content: ""; position: absolute; inset: 0; border-radius: 50%;
	background:
		radial-gradient(circle at 27% 24%, rgba(190,210,240,.10) 0 30%, transparent 56%),
		radial-gradient(circle at 27% 24%, transparent 0 52%, rgba(0,0,0,.42) 80%, rgba(0,0,0,.78) 100%);
}
/* equatorial trench: a real channel now - lip shadow, deep floor, a hard catch
   of light on the lower lip, and a run of docking-bay lights along it */
body.dsv2.pv2auth .dsv2-trench {
	position: absolute; left: 0; right: 0; top: 47.4%; height: 4.8%;
	background:
		repeating-linear-gradient(90deg, rgba(255,236,180,.38) 0 2px, transparent 2px 34px) 0 60% / 100% 2px no-repeat,
		linear-gradient(to bottom,
			rgba(140,160,190,.16) 0%, rgba(0,0,0,.55) 9%,
			rgba(0,0,0,.85) 38%, rgba(0,0,0,.85) 60%,
			rgba(195,215,245,.32) 65%, rgba(0,0,0,.38) 74%, rgba(0,0,0,0) 100%);
}
/* superlaser dish: bigger, concentric focusing rings, the recess shaded
   opposite the sphere so it reads concave - and the eye is GREEN, because
   that is the one colour the whole galaxy remembers */
body.dsv2.pv2auth .dsv2-dish {
	position: absolute; left: 16%; top: 15%; width: 27%; height: 27%;
	border-radius: 50%;
	border: 1px solid rgba(175,200,235,.30);
	background:
		radial-gradient(circle at 50% 50%, rgba(140,235,180,.55) 0 4.5%, rgba(120,220,165,.16) 4.5% 11%, transparent 17%),
		repeating-radial-gradient(circle at 50% 50%, rgba(0,0,0,.17) 0 1.5px, transparent 1.5px 15.5%),
		radial-gradient(circle at 66% 72%, #343a43 0%, #23272e 42%, #15181d 78%, #0e1014 100%);
	box-shadow:
		inset 10px 10px 28px rgba(0,0,0,.88),
		inset -5px -5px 16px rgba(160,185,225,.10),
		0 0 36px rgba(0,0,0,.55);
}
/* the recess breathes a little of that green out over the plating */
body.dsv2.pv2auth .dsv2-dish::after {
	content: ""; position: absolute; inset: -20%; border-radius: 50%;
	background: radial-gradient(circle at 50% 50%, rgba(120,230,170,.10), transparent 62%);
}

@keyframes dsv2drift {
	from { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0; }
	to   { background-position: 640px 320px, -640px 320px, 520px 260px, -520px 260px, 400px 200px,
		-400px 200px, 300px 150px, -300px 150px, 240px 120px, -240px 120px, 180px 90px, -180px 90px,
		0 0, 0 0, 0 0; }
}
@media (prefers-reduced-motion: reduce) {
	body.dsv2.pv2auth::before { animation: none; }
}

/* the card sits on starfield now, so it needs to hold its own: a touch more
   contrast and a real drop shadow instead of floating flat on grey */
body.dsv2.pv2auth .pv2a-card {
	background: rgba(33, 33, 34, 0.92);
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(2px);
}
body.dsv2.pv2auth .pv2a-head h1 { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8); }

/* phones: the station would eat the form, so shrink it and drop it lower */
@media (max-width: 700px) {
	body.dsv2.pv2auth .dsv2-station {
		--ds: 132vw;
		right: -36vw; bottom: -48vw;
		opacity: .62;
	}
}

/* ---------- the jump: STAFF SIGN-OUT ONLY ----------
   The sign-out screen is the sign-in screen — same starfield, same station in
   the same corner, same card — plus this. It is the one thing the sign-out has
   that the sign-in does not, and it earns its place by being what the copy
   already says: "Standby for take-off".

   Radial speed lines from a repeating-conic-gradient, masked to a ring so the
   centre stays clear behind the card, scaling outward on a loop. Sits at
   z-index -1 with the rest of the backdrop, so the streaks pass BEHIND the
   card rather than washing over the text. */
body.dsv2.pv2auth .dsv2-jump {
	position: fixed; inset: -25%; z-index: -1; pointer-events: none;
	background: repeating-conic-gradient(from 0deg at 50% 44%,
		rgba(255,255,255,0) 0deg 1.05deg,
		rgba(198,222,255,.20) 1.05deg 1.30deg,
		rgba(255,255,255,0) 1.30deg 2.55deg);
	-webkit-mask-image: radial-gradient(circle at 50% 44%, transparent 0 15%, #000 58%, transparent 86%);
	mask-image: radial-gradient(circle at 50% 44%, transparent 0 15%, #000 58%, transparent 86%);
	animation: dsv2jump 2.8s cubic-bezier(.42, 0, .78, .34) infinite;
	will-change: transform, opacity;
}
@keyframes dsv2jump {
	from { transform: scale(1);    opacity: .14; }
	55%  {                         opacity: .58; }
	to   { transform: scale(2.15); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
	body.dsv2.pv2auth .dsv2-jump { animation: none; opacity: .3; }
}


/* ============================================================
   CUSTOMER BACKDROP — the /sspanel/ sign-in and sign-out
   ------------------------------------------------------------
   A REAL image now, not a CSS construction. The node-field-on-a-grid that
   stood here was built to avoid an image request, and it failed the only
   test that matters: on a real screen it read as nothing at all. Ryan
   2026-08-18: "not having a background ... looks freaking weird" / "we need
   a background image for the customer one. For both login and logout."

   The image is service-headers/game/default.webp — the site's own dark
   tech-console art, the same file the Death Star's legacy band and every
   game hero without art of its own already uses. Already shipped, already
   warm in the CDN cache, and its path is never overwritten (the 30-day
   image-cache rule), so nothing here can go stale.

   Composition is the site's hero-band discipline (public-v2-core.css §5.1):
   the art at the bottom of the stack, one scrim above it — darkest at the
   ends so the header melts in and the reviews strip lands on quiet ground,
   most open through the middle where the cards sit — and the gold rise from
   the bottom so the room still reads as ours. The pseudo-element itself is
   position:fixed, which is what makes the image viewport-fixed everywhere
   (background-attachment:fixed is ignored on iOS; this is not).

   Both customer screens sit on it: the sign-out page's <body> carries
   pv2auth too (sspanel-user-main.tpl), so login and logout share this skin
   by scope, not by copy. Scoped :not(.dsv2) so the staff starfield above
   stays untouched.
   ============================================================ */
body.pv2auth:not(.dsv2) { background-color: #0a0c10; }

body.pv2auth:not(.dsv2)::before {
	/* inset overscans the viewport so the blur below has no bright edge bleed */
	content: ""; position: fixed; inset: -28px; z-index: -1; pointer-events: none;
	background-color: #0a0c10;
	background-image:
		/* the gold rise — our accent, above the scrim so it survives it */
		radial-gradient(1600px 920px at 50% 117%, rgba(234, 168, 36, 0.13), transparent 62%),
		/* the scrim: header end and footer end nearly opaque, the middle open —
		   but less open since 2026-08-18. Ryan: "a little bit loud." The art
		   was competing with the sign-in cards, so the middle stops came up
		   (.46 → .60, .60 → .70) and the filter below mutes what remains. */
		linear-gradient(to bottom,
			rgba(10, 12, 16, 0.92) 0%,
			rgba(10, 12, 16, 0.70) 26%,
			rgba(10, 12, 16, 0.60) 58%,
			rgba(10, 12, 16, 0.92) 100%),
		/* the art */
		url(/ss/themes/epona/images/service-headers/game/default.webp);
	background-size: 100% 100%, 100% 100%, cover;
	background-position: center;
	background-repeat: no-repeat;
	/* the volume knob: the art keeps its read but sits BEHIND the page now —
	   softened, drained, dimmed. Filter is on the pseudo itself (a filtered
	   ANCESTOR would break fixed positioning; self is safe). */
	filter: saturate(.58) brightness(.82) blur(2.2px);
}

/* ---------- the globe ----------
   Real elements for the same reason the station uses them: a wireframe limb
   has to curve. Orthographic from the equator, which is why the meridians are
   concentric ellipses and the latitudes are straight lines — that is what the
   projection actually does, so it reads as a sphere and not as a grid in a
   circle. Cropped by the viewport corner so it reads as scale, and kept quiet
   enough that it never competes with the form. */
/* RETIRED 2026-08-05. Ryan: "it still shows the Death Star background, that's
   wrong." He was right, and the colour was never the problem - a sphere cropped
   into the bottom-right corner IS the Death Star composition, so any sphere
   there reads as that screen no matter what it is made of. The customer
   backdrop is now the room, the node field and the grid floor, with no object
   in the corner at all. */
body.pv2auth:not(.dsv2) .pv2a-globe { display: none !important; }
body.pv2auth:not(.dsv2) .pv2a-globe-RETIRED {
	position: fixed; z-index: -1; pointer-events: none;
	right: -138px; bottom: -104px; width: 580px; height: 580px;
	border-radius: 50%; overflow: hidden;
	background: radial-gradient(circle at 31% 25%,
		#1e2833 0%, #18212b 33%, #111821 62%, #0b0f15 85%, #080b0f 100%);
	box-shadow:
		inset -38px -32px 104px rgba(0, 0, 0, 0.9),
		inset 14px 12px 38px rgba(122, 172, 222, 0.06),
		0 0 140px rgba(0, 0, 0, 0.6);
	opacity: .68;
}
/* the lit face, so the sphere has a light source instead of reading flat */
body.pv2auth:not(.dsv2) .pv2a-globe::before {
	content: ""; position: absolute; inset: 0; border-radius: 50%;
	background: radial-gradient(circle at 31% 25%, rgba(160,200,245,.07) 0 32%, transparent 58%);
}
/* latitudes — straight in this projection. The sphere's own inset shadow eats
   them at the limb, which is what stops uniform spacing from looking wrong. */
body.pv2auth:not(.dsv2) .pv2a-glat {
	position: absolute; inset: 0;
	background-image: repeating-linear-gradient(0deg,
		rgba(150,195,240,.085) 0 1px, transparent 1px 44px);
	background-position: 0 -6px;
}
/* meridians — four ellipse rings sharing a centre, the outermost being the limb */
body.pv2auth:not(.dsv2) .pv2a-glon {
	position: absolute; inset: 0; border-radius: 50%;
	background-image:
		radial-gradient(ellipse 12% 50% at 50% 50%, transparent 0 98.4%, rgba(150,195,240,.10) 98.4% 100%, transparent 100%),
		radial-gradient(ellipse 26% 50% at 50% 50%, transparent 0 99.2%, rgba(150,195,240,.09) 99.2% 100%, transparent 100%),
		radial-gradient(ellipse 39% 50% at 50% 50%, transparent 0 99.5%, rgba(150,195,240,.075) 99.5% 100%, transparent 100%),
		radial-gradient(ellipse 50% 50% at 50% 50%, transparent 0 99.6%, rgba(150,195,240,.11) 99.6% 100%, transparent 100%);
}
/* the locations. Four on the lit face, breathing on a long loop. */
body.pv2auth:not(.dsv2) .pv2a-gnodes {
	position: absolute; inset: 0;
	background-image:
		radial-gradient(3px 3px at 30% 32%, rgba(240,186,66,.95), rgba(240,186,66,0) 70%),
		radial-gradient(14px 14px at 30% 32%, rgba(240,186,66,.20), rgba(240,186,66,0) 70%),
		radial-gradient(2.6px 2.6px at 46% 22%, rgba(240,186,66,.75), rgba(240,186,66,0) 70%),
		radial-gradient(2.4px 2.4px at 22% 52%, rgba(240,186,66,.65), rgba(240,186,66,0) 70%),
		radial-gradient(2.2px 2.2px at 44% 58%, rgba(150,205,245,.60), rgba(150,205,245,0) 70%);
	animation: pv2anodes 7s ease-in-out infinite;
}
@keyframes pv2anodes {
	0%, 100% { opacity: .75; }
	50%      { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
	body.pv2auth:not(.dsv2) .pv2a-gnodes { animation: none; }
}

/* the cards sit on a backdrop now, so they need to hold their own — same step
   the staff cards take above, same values, so the four screens match */
body.pv2auth:not(.dsv2) .pv2a-card {
	background: rgba(33, 33, 34, 0.92);
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(2px);
}
body.pv2auth:not(.dsv2) .pv2a-head h1 { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8); }

/* the customer page has no title band of its own any more (the h1 moved into
   .pv2a-head so the backdrop is unbroken), so it owns its vertical rhythm.

   VERTICAL RHYTHM, all four screens. Each of the three shells hands the auth
   surface a different amount of padding above it — 60px on the staff sign-in's
   section, 10px on the customer sign-in's, 15px on the container both sign-outs
   sit inside — so the same title was landing anywhere from 62px to 198px below
   the site header depending on which screen you were on. Each screen's top
   margin is therefore set to whatever lands it 117px below the header, which is
   what the staff sign-in already does and is the screen the other three match. */
body.pv2auth:not(.dsv2) .pv2a:not(.pv2a-bye) { margin: 107px auto 72px; }

/* phones: the globe would eat the form, so shrink it and drop it lower */
@media (max-width: 700px) {
	/* RETIRED 2026-08-05. Ryan: "it still shows the Death Star background, that's
   wrong." He was right, and the colour was never the problem - a sphere cropped
   into the bottom-right corner IS the Death Star composition, so any sphere
   there reads as that screen no matter what it is made of. The customer
   backdrop is now the room, the node field and the grid floor, with no object
   in the corner at all. */
body.pv2auth:not(.dsv2) .pv2a-globe { display: none !important; }
body.pv2auth:not(.dsv2) .pv2a-globe-RETIRED {
		right: -34vw; bottom: -22vh; width: 92vw; height: 92vw; opacity: .42;
	}
	body.pv2auth:not(.dsv2) .pv2a { margin: 24px auto 48px; }
}


/* ---------- the auth page uses the SITE rail, not Bootstrap's ----------
   The 1560 cap on .pv2a could never take effect: .pv2a sits inside a Bootstrap
   .container, which is 1170 wide, so the parent was the real ceiling and the
   card row stayed 1140 while the footer beneath it ran 1560. Widen the wrapper
   itself, and pin the vertical rhythm here too - the earlier margin was being
   outranked, computing to 107 top against 72 bottom. */
body.pv2auth #wrapper .container:has(> .pv2a),
body.pv2auth .container:has(> .pv2a) {
	width: 100%;
	padding-left: 15px;
	padding-right: 15px;
}
/* the SITE rail - min(1560, 100vw - 180) - and ONLY above 1400, which is the
   breakpoint every other surface widens its rail at. Applied at every width it
   was crushing the phone layout instead: the expression is 210px at 390, so the
   sign-in cards were rendering a fifth of the screen wide with every OAuth
   button reading "Conti...". Below 1400 the Bootstrap container it sits in is
   already the right rail and needs no override. */
@media (min-width: 1400px) {
	body.pv2auth #wrapper .container:has(> .pv2a),
	body.pv2auth .container:has(> .pv2a) {
		max-width: min(1560px, calc(100vw - 180px));
	}
}
body.pv2auth .pv2a.pv2a {
	max-width: 100%;
	/* !important because the shell adds its own vertical space to this block
	   from outside this sheet - the computed values were 107 top against 72
	   bottom no matter what was set here. This is one page-scoped rule on one
	   surface, not a pattern to copy. */
	/* The two numbers are deliberately unequal so the GAPS come out equal.
	   The header contributes 10px of its own below itself and the reviews strip
	   contributes 37px above itself, so a symmetric 60/60 rendered as a 70px
	   gap above and a 97px gap below. Measured, not guessed. */
	margin-top: 60px !important;
	margin-bottom: 33px !important;
	padding-left: 0;
	padding-right: 0;
}
@media (max-width: 991px) {
	body.pv2auth .pv2a.pv2a { margin-top: 34px !important; margin-bottom: 34px !important; }
}

/* ---------- CUSTOMER bottom margin matches the Death Star ----------
   Ryan 2026-08-18: "I like how the Death Star has a margin at the bottom, but
   the customer one does not." Measured live: the staff sign-in's card sits
   120px above the reviews strip (its shell section pads below the card); the
   customer cards sat 70px above it. The 33px rule above equalised the page's
   own gaps, but the page Ryan compares it to is the OTHER login, so the
   bottom-of-cards air is what has to match. 84px margin + the strip's own
   37px top padding lands the same ~120. Customer only — the staff pages
   already have their room and must not grow. */
body.pv2auth:not(.dsv2) .pv2a.pv2a { margin-bottom: 84px !important; }
@media (max-width: 991px) {
	body.pv2auth:not(.dsv2) .pv2a.pv2a { margin-bottom: 56px !important; }
}
