/*
 * Guess the Space Photo. ASCII only.
 *
 * Traps this file is written around (see CONTRACT.md):
 *  1. display:flex/grid beats the [hidden] attribute, so the first rule below
 *     forces it. Screens use classes (.is-on / .is-off), not [hidden].
 *  2. Every area JS fills has a reserved size: photo frame is a fixed 4:3 box,
 *     choices have a min-height per breakpoint, the status line has a height.
 *  3. Screen swaps never use absolute positioning. The stage gets an inline
 *     min-height while two screens swap, then releases it.
 *  4. stroke inherits in SVG; no SVG class shares the body class name.
 *  5. One blanket prefers-reduced-motion rule at the end.
 */
[hidden] { display: none !important; }

:root {
	--bg: #04050d;
	--ink: #e9edff;
	--mute: #a3acd1;
	--line: rgba(160, 178, 255, .2);
	--glass: rgba(13, 16, 38, .66);
	--cyan: #6ee7ff;
	--violet: #9b8cff;
	--gold: #ffd36b;
	--green: #5cf2a6;
	--red: #ff6b81;
	--a1: #ffd36b;
	--a2: #5cf2a6;
	--a3: #ff9f5c;
	--a4: #7d89c4;
	--head: "Chakra Petch", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body.gsp-body {
	margin: 0;
	min-height: 100vh;
	background: radial-gradient(120% 80% at 50% -10%, #0e1233 0%, #070920 45%, var(--bg) 100%);
	color: var(--ink);
	font: 16px/1.55 var(--body);
	overflow-x: hidden;
	overflow-wrap: break-word;
}

/* -------------------------------------------------------------- background */

.gsp-sky, .gsp-nebula { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.gsp-fx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 60; }
.gsp-nebula { overflow: hidden; }
.gsp-nebula i {
	position: absolute;
	width: 90vmax; height: 90vmax;
	border-radius: 50%;
	opacity: .5;
	will-change: transform;
}
.gsp-nebula i:nth-child(1) { left: -30vmax; top: -35vmax; background: radial-gradient(closest-side, rgba(110, 80, 255, .38), transparent); animation: gsp-drift1 70s ease-in-out infinite alternate; }
.gsp-nebula i:nth-child(2) { right: -40vmax; top: 10vh; background: radial-gradient(closest-side, rgba(40, 170, 255, .26), transparent); animation: gsp-drift2 90s ease-in-out infinite alternate; }
.gsp-nebula i:nth-child(3) { left: -10vmax; bottom: -55vmax; background: radial-gradient(closest-side, rgba(255, 90, 170, .2), transparent); animation: gsp-drift3 80s ease-in-out infinite alternate; }

.gsp-wrap, .gsp-article, .gsp-foot-credit, .la-footer { position: relative; z-index: 1; }
.gsp-wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; overflow-x: clip; }

.gsp-sr {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

a { color: var(--cyan); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* ------------------------------------------------------------------ header */

.gsp-head { text-align: center; padding: 22px 0 0; }
.gsp-title {
	margin: 6px 0 4px;
	font: 700 clamp(24px, 7.2vw, 44px)/1.12 var(--head);
	letter-spacing: .02em;
	white-space: nowrap;
	background: linear-gradient(100deg, #fff 0%, #bfe9ff 28%, #c9bbff 48%, #ffe3a3 68%, #fff 100%);
	background-size: 260% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	animation: gsp-shimmer 10s linear infinite;
}
.gsp-sub { margin: 0; min-height: 1.6em; font-size: 14px; color: var(--mute); }
.gsp-sub-sep { margin: 0 6px; opacity: .6; }
.gsp-sub-back { margin-left: 10px; padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; text-decoration: none; color: var(--cyan); white-space: nowrap; }

.gsp-hud {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	max-width: 400px; margin: 14px auto 0; padding: 10px 18px;
	border: 1px solid var(--line); border-radius: 999px; background: var(--glass);
	min-height: 56px;
}
.gsp-orbs { display: flex; gap: 14px; margin: 0; padding: 0; list-style: none; }
.gsp-orb {
	position: relative; width: 22px; height: 22px; border-radius: 50%;
	border: 2px solid rgba(160, 178, 255, .35); background: rgba(255, 255, 255, .05);
	transition: background .5s, box-shadow .5s, border-color .5s, transform .3s;
}
.gsp-orb.is-current { border-color: var(--cyan); animation: gsp-orbpulse 1.8s ease-in-out infinite; }
.gsp-orb.is-done { border-color: transparent; background: radial-gradient(circle at 35% 30%, #fff 0, var(--oc, var(--a1)) 42%, var(--oc, var(--a1)) 100%); box-shadow: 0 0 14px var(--oc, var(--a1)); }
.gsp-orb[data-att="1"] { --oc: var(--a1); }
.gsp-orb[data-att="2"] { --oc: var(--a2); }
.gsp-orb[data-att="3"] { --oc: var(--a3); }
.gsp-orb[data-att="4"] { --oc: var(--a4); }
.gsp-orb.is-pop { animation: gsp-orbpop .7s cubic-bezier(.2, .9, .3, 1.4); }
.gsp-score { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.gsp-score-lbl { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.gsp-score b { display: inline-block; min-width: 4ch; text-align: right; font: 700 26px/1 var(--head); font-variant-numeric: tabular-nums; color: #fff; text-shadow: 0 0 18px rgba(110, 231, 255, .5); }
.gsp-score b.is-tick { animation: gsp-bump .6s ease; }

/* ------------------------------------------------------------------- stage */

.gsp-app { margin-top: 16px; }
.gsp-stage { position: relative; }
.gsp-empty { text-align: center; color: var(--mute); padding: 40px 0; }

.gsp-card, .gsp-end-in {
	position: relative; isolation: isolate;
	max-width: 720px; margin: 0 auto; padding: 12px;
	border-radius: 22px; border: 1px solid var(--line);
	background: var(--glass);
	box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.gsp-card::before, .gsp-end-in::before {
	content: ""; position: absolute; inset: -16px; z-index: -1; border-radius: 36px;
	background: radial-gradient(60% 60% at 50% 40%, rgba(110, 150, 255, .3), transparent 72%);
	animation: gsp-breathe 7s ease-in-out infinite alternate;
	pointer-events: none;
}

.gsp-card { --dc: var(--green); }
.gsp-card[data-diff="medium"] { --dc: #ffc24d; }
.gsp-card[data-diff="hard"] { --dc: #ff6fa8; }
.gsp-badge {
	display: inline-flex; align-items: center; gap: 9px; margin: 2px 0 10px 4px;
	font: 600 12px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: #cdd5ff;
}
.gsp-badge-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--dc); box-shadow: 0 0 10px var(--dc); }

.gsp-photo {
	position: relative; margin: 0; aspect-ratio: 4 / 3; max-height: min(62vh, 640px); width: 100%; overflow: hidden;
	border-radius: 14px; background: #0b0e24 center / cover no-repeat;
	box-shadow: 0 0 0 1px rgba(160, 178, 255, .16), 0 0 38px rgba(110, 150, 255, .18);
}
.gsp-photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 46px rgba(0, 0, 0, .4); pointer-events: none; }
.gsp-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .9s ease; transform-origin: 50% 50%; }
.gsp-img.is-loaded { opacity: 1; }
.gsp-photo.is-kb .gsp-img { animation: gsp-kb 28s ease-out forwards; }
.gsp-sheen {
	position: absolute; inset: 0; z-index: 2; pointer-events: none;
	background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, .13) 50%, transparent 58%);
	transform: translateX(-130%); animation: gsp-sheen 8s ease-in-out 2s infinite;
}
.gsp-pts { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.gsp-pts-item {
	position: absolute; left: 50%; bottom: 14%;
	font: 700 clamp(40px, 12vw, 64px)/1 var(--head); color: var(--gold);
	text-shadow: 0 0 24px rgba(255, 211, 107, .8), 0 3px 0 rgba(0, 0, 0, .35);
	animation: gsp-float 1.6s cubic-bezier(.2, .7, .3, 1) forwards;
	white-space: nowrap;
}
.gsp-pts-item.is-att2 { color: var(--green); text-shadow: 0 0 24px rgba(92, 242, 166, .8), 0 3px 0 rgba(0, 0, 0, .35); }
.gsp-pts-item.is-att3 { color: var(--a3); text-shadow: 0 0 24px rgba(255, 159, 92, .8), 0 3px 0 rgba(0, 0, 0, .35); }
.gsp-pts-item.is-att4 { color: var(--a4); text-shadow: 0 3px 0 rgba(0, 0, 0, .35); }

.gsp-status { margin: 12px 4px 8px; min-height: 1.5em; text-align: center; font-size: 15px; color: var(--mute); transition: color .3s; }
.gsp-status.is-bad { color: #ffb3bf; }
.gsp-status.is-good { color: #b7ffd9; }

/* ----------------------------------------------------------------- choices */

.gsp-choices { display: grid; grid-template-columns: 1fr; gap: 10px; min-height: 262px; align-content: start; }
.gsp-choice {
	position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px;
	min-height: 58px; width: 100%; padding: 10px 16px;
	border-radius: 14px; border: 1px solid var(--line);
	background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
	color: var(--ink); font: 600 17px/1.25 var(--body); text-align: left; cursor: pointer;
	transition: transform .15s ease, border-color .2s, background .25s, box-shadow .25s, opacity .3s, color .3s;
	animation: gsp-pop .55s cubic-bezier(.2, .9, .3, 1.2) backwards;
	-webkit-tap-highlight-color: transparent;
}
.gsp-choice:hover:not(:disabled) { transform: translateY(-2px); border-color: rgba(110, 231, 255, .65); box-shadow: 0 10px 28px rgba(80, 140, 255, .25); }
.gsp-choice:active:not(:disabled) { transform: scale(.98); }
.gsp-key {
	flex: none; display: inline-flex; align-items: center; justify-content: center;
	width: 26px; height: 26px; border-radius: 8px; background: rgba(255, 255, 255, .1);
	font: 600 13px/1 var(--head); color: #cdd5ff;
}
.gsp-choice-txt { min-width: 0; overflow-wrap: anywhere; }
.gsp-choice:disabled { cursor: default; }
.gsp-choice.is-wrong {
	border-color: rgba(255, 107, 129, .45); background: rgba(255, 107, 129, .12);
	color: #ffb9c3; opacity: .72;
}
.gsp-choice.is-wrong .gsp-choice-txt { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: rgba(255, 107, 129, .9); }
.gsp-choice.is-shake { animation: gsp-shake .5s ease, gsp-redfade .9s ease forwards; }
.gsp-choice.is-correct {
	border-color: var(--green); color: #effff7; opacity: 1;
	background: linear-gradient(180deg, rgba(92, 242, 166, .38), rgba(92, 242, 166, .14));
	box-shadow: 0 0 0 2px rgba(92, 242, 166, .55), 0 0 36px rgba(92, 242, 166, .6);
	animation: gsp-correct .7s ease;
}
.gsp-choice.is-correct .gsp-key { background: rgba(92, 242, 166, .35); color: #fff; }
.gsp-choice.is-dim { opacity: .3; transform: scale(.97); }
.gsp-ripple {
	position: absolute; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%;
	background: rgba(255, 255, 255, .6); pointer-events: none; animation: gsp-rip .85s ease-out forwards;
}

/* ------------------------------------------------------------------ reveal */

.gsp-reveal { text-align: center; padding: 6px 4px 4px; }
.gsp-reveal.is-in { animation: gsp-rise .6s cubic-bezier(.2, .9, .3, 1) both; }
.gsp-reveal-kicker { margin: 4px 0 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.gsp-reveal-name {
	margin: 2px 0 2px; font: 700 clamp(28px, 8vw, 40px)/1.15 var(--head); overflow-wrap: anywhere;
	background: linear-gradient(100deg, #fff1c2, var(--gold) 50%, #ffb347); -webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
}
.gsp-reveal-title { margin: 0 0 8px; font-style: italic; color: #c6cdf0; overflow-wrap: anywhere; }
.gsp-credit { margin: 0 auto; max-width: 560px; font-size: 13.5px; color: var(--mute); overflow-wrap: anywhere; }

/* ----------------------------------------------------------------- buttons */

.gsp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 24px; border-radius: 999px;
	border: 1px solid var(--line); background: rgba(255, 255, 255, .08);
	color: var(--ink); font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer;
	transition: transform .15s, background .2s, box-shadow .2s, border-color .2s;
}
.gsp-btn:hover { transform: translateY(-2px); border-color: rgba(110, 231, 255, .6); background: rgba(255, 255, 255, .13); }
.gsp-btn--primary, .gsp-btn--next {
	border-color: transparent; color: #06081a;
	background: linear-gradient(100deg, var(--cyan), var(--violet));
	box-shadow: 0 8px 28px rgba(110, 150, 255, .4);
}
.gsp-btn--primary:hover, .gsp-btn--next:hover { background: linear-gradient(100deg, #9af0ff, #b4a8ff); border-color: transparent; }
.gsp-btn--next { margin-top: 14px; min-width: 200px; animation: gsp-nudge 2.4s ease-in-out 1.2s infinite; }

/* -------------------------------------------------------- stage transitions */

.gsp-card.is-out, .gsp-end-in.is-out { animation: gsp-out .38s cubic-bezier(.5, 0, .9, .4) forwards; }
.gsp-card.is-in, .gsp-end-in.is-in { animation: gsp-in .56s cubic-bezier(.2, .8, .2, 1) both; }

/* -------------------------------------------------------------- end screen */

.gsp-end { display: none; }
.gsp-end.is-on, html.gsp-pre-end .gsp-end { display: block; }
.gsp-play.is-off, html.gsp-pre-end .gsp-play { display: none; }
.gsp-end-in { text-align: center; padding: 22px 16px 20px; }

.gsp-ring { position: relative; width: min(240px, 68vw); aspect-ratio: 1; margin: 4px auto 6px; }
.gsp-ring svg { display: block; width: 100%; height: 100%; overflow: visible; }
.gsp-ring-track { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 12; }
.gsp-ring-bar {
	fill: none; stroke-width: 12; stroke-linecap: round;
	stroke-dasharray: 540.35; stroke-dashoffset: 540.35;
	filter: drop-shadow(0 0 8px rgba(130, 160, 255, .7));
}
.gsp-ring-num { position: absolute; inset: 0; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gsp-ring-num b { font: 700 clamp(46px, 15vw, 62px)/1 var(--head); font-variant-numeric: tabular-nums; color: #fff; text-shadow: 0 0 26px rgba(110, 231, 255, .55); }
.gsp-ring-num span { margin-top: 4px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.gsp-end[data-band="perfect"] .gsp-ring-bar { filter: drop-shadow(0 0 14px rgba(255, 211, 107, .9)); }
.gsp-end[data-band="perfect"] .gsp-ring-num b { color: var(--gold); text-shadow: 0 0 30px rgba(255, 211, 107, .8); }

.gsp-rating { margin: 6px auto 14px; min-height: 3.1em; max-width: 440px; font: 600 clamp(17px, 4.6vw, 20px)/1.35 var(--body); }

.gsp-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 auto 6px; padding: 0; list-style: none; max-width: 480px; }
.gsp-res { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.gsp-res-dot { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .1); border: 2px solid rgba(160, 178, 255, .3); }
.gsp-res-dot[data-att="1"] { background: radial-gradient(circle at 35% 30%, #fff, var(--a1) 45%); box-shadow: 0 0 16px var(--a1); border-color: transparent; }
.gsp-res-dot[data-att="2"] { background: radial-gradient(circle at 35% 30%, #fff, var(--a2) 45%); box-shadow: 0 0 16px var(--a2); border-color: transparent; }
.gsp-res-dot[data-att="3"] { background: radial-gradient(circle at 35% 30%, #fff, var(--a3) 45%); box-shadow: 0 0 16px var(--a3); border-color: transparent; }
.gsp-res-dot[data-att="4"] { background: radial-gradient(circle at 35% 30%, #fff, var(--a4) 45%); border-color: transparent; }
.gsp-end.is-on .gsp-res-dot { animation: gsp-orbpop .8s cubic-bezier(.2, .9, .3, 1.4) backwards; }
.gsp-end.is-on .gsp-res:nth-child(1) .gsp-res-dot { animation-delay: .9s; }
.gsp-end.is-on .gsp-res:nth-child(2) .gsp-res-dot { animation-delay: 1.1s; }
.gsp-end.is-on .gsp-res:nth-child(3) .gsp-res-dot { animation-delay: 1.3s; }
.gsp-res-lbl { font: 600 12px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; color: #cdd5ff; }
.gsp-res-det { font-size: 12.5px; color: var(--mute); white-space: nowrap; }

.gsp-note { margin: 18px 0 8px; font-size: 16px; }
.gsp-count { display: block; margin-top: 4px; color: var(--mute); font-size: 14px; }
.gsp-count b { font: 700 18px/1 var(--head); font-variant-numeric: tabular-nums; color: var(--cyan); letter-spacing: .04em; }
.gsp-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 12px 0 4px; }

.gsp-credits { margin: 20px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); list-style: none; text-align: left; font-size: 13px; color: var(--mute); }
.gsp-cr { display: flex; gap: 10px; margin: 0 0 10px; }
.gsp-cr-n { flex: none; width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, .1); font: 600 11px/20px var(--head); text-align: center; color: #cdd5ff; }
.gsp-cr-body { min-width: 0; }
.gsp-cr-name { display: block; color: var(--ink); font-size: 14px; }
.gsp-cr-line { display: block; overflow-wrap: anywhere; }

/* ----------------------------------------------------------------- archive */

.gsp-archive { max-width: 720px; margin: 36px auto 0; }
.gsp-archive-h { margin: 0 0 14px; font: 700 22px/1.2 var(--head); letter-spacing: .02em; text-align: center; }
.gsp-pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gsp-pg-side {
	flex: 0 0 168px; display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 8px 14px;
	border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .04);
	color: var(--ink); text-decoration: none; transition: border-color .2s, background .2s;
}
.gsp-pg-next { justify-content: flex-end; text-align: right; }
a.gsp-pg-side:hover { border-color: rgba(110, 231, 255, .6); background: rgba(110, 231, 255, .08); }
.gsp-pg-side.is-off { opacity: .38; }
.gsp-pg-arr { font: 700 28px/1 var(--head); color: var(--cyan); }
.gsp-pg-side.is-off .gsp-pg-arr { color: var(--mute); }
.gsp-pg-txt { display: flex; flex-direction: column; min-width: 0; }
.gsp-pg-txt b { font: 700 15px/1.2 var(--head); letter-spacing: .02em; }
.gsp-pg-txt small { font-size: 12px; color: var(--mute); white-space: nowrap; }
.gsp-pg-list { flex: 1 1 auto; display: flex; justify-content: center; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; min-width: 0; }
.gsp-pg-gap { width: 16px; text-align: center; color: var(--mute); font-weight: 700; }
.gsp-pg-day {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
	width: 48px; height: 52px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04);
	color: var(--ink); text-decoration: none; transition: border-color .2s, background .2s;
}
.gsp-pg-day b { font: 700 17px/1 var(--head); }
.gsp-pg-day small { font-size: 10px; color: var(--mute); white-space: nowrap; }
.gsp-pg-day:hover { border-color: rgba(110, 231, 255, .6); }
.gsp-pg-day.is-current { background: rgba(110, 231, 255, .16); border-color: var(--cyan); }
.gsp-pg-day.is-current small { color: var(--ink); }

@media (max-width: 640px) {
	.gsp-pager { flex-wrap: wrap; }
	.gsp-pg-list { order: -1; flex: 1 1 100%; gap: 4px; }
	.gsp-pg-side { flex: 1 1 0; min-width: 0; }
	.gsp-pg-day { width: 38px; height: 48px; border-radius: 10px; }
	.gsp-pg-day b { font-size: 15px; }
	.gsp-pg-day small { font-size: 9px; }
	.gsp-pg-gap { width: 10px; }
}

/* ----------------------------------------------------------------- article */

.gsp-article {
	width: calc(100% - 32px); max-width: 760px; margin: 44px auto 0; padding: 28px 22px;
	border: 1px solid var(--line); border-radius: 20px; background: rgba(9, 11, 28, .78);
	color: #d7dcf7; font-size: 17px; line-height: 1.7;
}
.gsp-article > :first-child { margin-top: 0; }
.gsp-article h2 { margin: 1.7em 0 .5em; font: 700 26px/1.2 var(--head); color: #fff; }
.gsp-article > h2:first-child { margin-top: 0; }
.gsp-article h3 { margin: 1.3em 0 .3em; font: 600 18px/1.35 var(--body); color: #fff; }
.gsp-article p { margin: 0 0 1em; }
.gsp-tablewrap { overflow-x: auto; margin: 0 0 1.2em; -webkit-overflow-scrolling: touch; }
.gsp-article table { border-collapse: collapse; width: 100%; font-size: 16px; }
@media (max-width: 480px) { .gsp-article table { font-size: 14px; } .gsp-article th, .gsp-article td { padding-left: 6px !important; padding-right: 6px !important; } }
.gsp-article th, .gsp-article td { padding: 8px 12px; border: 1px solid var(--line); text-align: center; }
.gsp-article th { background: rgba(110, 150, 255, .14); font-weight: 600; }
.gsp-article td:first-child, .gsp-article th:first-child { text-align: left; }
.gsp-morelist { margin: 0; padding-left: 1.2em; }
.gsp-morelist li { margin: .25em 0; }

.gsp-foot-credit { max-width: 760px; margin: 22px auto 40px; padding: 0 16px; text-align: center; font-size: 12.5px; color: var(--mute); }

/* ------------------------------------------------------------- site header */

.gsp-site { position: relative; z-index: 50; background: #fff; border-bottom: 1px solid #e6e8ef; color: #222; font: 15px/1.4 var(--body); }
.gsp-site-in { max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 76px; display: flex; align-items: center; gap: 20px; }
.gsp-logo { flex: none; display: block; line-height: 0; }
.gsp-logo img { display: block; width: auto; height: 50px; }
.gsp-nav { margin-left: auto; }
.gsp-menu, .gsp-menu .sub-menu { margin: 0; padding: 0; list-style: none; }
.gsp-menu { display: flex; align-items: center; gap: 2px; }
.gsp-menu > li { position: relative; display: flex; align-items: center; }
.gsp-menu a { display: block; color: #222; text-decoration: none; font-weight: 600; }
.gsp-menu > li > a { padding: 10px; font-size: 14px; letter-spacing: .01em; border-radius: 8px; }
.gsp-menu > li > a:hover, .gsp-menu > li.current-menu-ancestor > a, .gsp-menu > li.current-menu-parent > a { color: #2d53fe; }
.gsp-sub-btn { width: 22px; height: 30px; margin-left: -8px; padding: 0; border: 0; background: none; cursor: pointer; color: #555; }
.gsp-sub-btn::before { content: ""; display: block; width: 7px; height: 7px; margin: -4px auto 0; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.gsp-menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 240px; padding: 8px; background: #fff;
	border: 1px solid #e6e8ef; border-radius: 12px; box-shadow: 0 14px 36px rgba(10, 14, 40, .18);
	visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility 0s .15s;
}
.gsp-menu > li:last-child .sub-menu, .gsp-menu > li:nth-last-child(2) .sub-menu { left: auto; right: 0; }
.gsp-menu > li:hover > .sub-menu, .gsp-menu > li:focus-within > .sub-menu, .gsp-menu > li.is-sub-open > .sub-menu {
	visibility: visible; opacity: 1; transform: none; transition: opacity .15s, transform .15s;
}
.gsp-menu .sub-menu a { padding: 8px 12px; font-size: 14px; font-weight: 500; border-radius: 8px; }
.gsp-menu .sub-menu a:hover { background: #f1f4ff; color: #2d53fe; }
.gsp-menu .sub-menu .current-menu-item > a { background: #eef2ff; color: #2d53fe; }
.gsp-menu-btn { display: none; }

@media (max-width: 1080px) {
	.gsp-site-in { height: 64px; padding: 0 16px; }
	.gsp-logo img { height: 40px; }
	.gsp-menu-btn {
		display: flex; align-items: center; justify-content: center; margin-left: auto;
		width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px; background: none; cursor: pointer; color: #222;
	}
	.gsp-menu-ico { display: flex; flex-direction: column; gap: 5px; width: 22px; }
	.gsp-menu-ico i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
	.gsp-menu-btn[aria-expanded="true"] .gsp-menu-ico i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.gsp-menu-btn[aria-expanded="true"] .gsp-menu-ico i:nth-child(2) { opacity: 0; }
	.gsp-menu-btn[aria-expanded="true"] .gsp-menu-ico i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.gsp-nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0;
		max-height: calc(100vh - 64px); overflow-y: auto; background: #fff; border-bottom: 1px solid #e6e8ef;
		box-shadow: 0 18px 30px rgba(10, 14, 40, .25);
	}
	.gsp-nav.is-open { display: block; }
	.gsp-menu { display: block; padding: 8px 12px 14px; }
	.gsp-menu > li { flex-wrap: wrap; border-bottom: 1px solid #f0f1f5; }
	.gsp-menu > li > a { flex: 1 1 auto; padding: 13px 6px; font-size: 16px; }
	.gsp-sub-btn { width: 44px; height: 44px; margin: 0; }
	.gsp-menu > li.is-sub-open > .gsp-sub-btn::before { transform: rotate(-135deg); margin-top: 2px; }
	.gsp-menu .sub-menu {
		position: static; display: none; flex: 1 1 100%; min-width: 0; padding: 0 0 8px 10px;
		border: 0; border-radius: 0; box-shadow: none; visibility: visible; opacity: 1; transform: none; transition: none;
	}
	.gsp-menu > li.is-sub-open > .sub-menu { display: block; }
	.gsp-menu .sub-menu a { font-size: 15px; padding: 10px 8px; }
}

/* ---------------------------------------- site footer (child theme partial)
 * footer.css is loaded as-is; these are the parent-theme base rules it leans
 * on, which never load on this page. */

.la-footer { font: 14px/1.6 var(--body); text-align: left; }
.la-footer .bg-wrap { position: relative; z-index: 0; }
.la-footer .bg-wrap:before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; }
.la-footer .wrap { max-width: 1170px; margin: 0 auto; padding: 0 35px; }
.la-footer ul { list-style: none; margin: 0; padding: 0; }
.la-footer a { text-decoration: none; }
.la-footer .lower-footer { padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.la-footer .tsi { display: none; }
.la-footer .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 540px) { .la-footer .wrap { padding: 0 22px; } }

/* -------------------------------------------------------------- breakpoints */

@media (min-width: 560px) {
	.gsp-choices { grid-template-columns: 1fr 1fr; min-height: 126px; }
	.gsp-card { padding: 16px; }
	.gsp-end-in { padding: 28px 24px 24px; }
	.gsp-hud { max-width: 440px; }
}
@media (max-width: 400px) {
	.gsp-wrap { padding: 0 12px; }
	.gsp-site-in { padding: 0 12px; }
	.gsp-logo img { height: 36px; }
	.gsp-card::before, .gsp-end-in::before { inset: -6px; }
	.gsp-article { width: calc(100% - 24px); padding: 22px 16px; }
	.gsp-choice { font-size: 16px; }
	.gsp-btn--next { width: 100%; }
}

/* --------------------------------------------------------------- keyframes */

@keyframes gsp-shimmer { to { background-position: -260% 0; } }
@keyframes gsp-drift1 { to { transform: translate3d(14vmax, 10vmax, 0) rotate(20deg); } }
@keyframes gsp-drift2 { to { transform: translate3d(-16vmax, 8vmax, 0) scale(1.15); } }
@keyframes gsp-drift3 { to { transform: translate3d(12vmax, -14vmax, 0) scale(.9); } }
@keyframes gsp-breathe { from { opacity: .45; transform: scale(.98); } to { opacity: 1; transform: scale(1.03); } }
@keyframes gsp-kb { from { transform: scale(1) translate3d(0, 0, 0); } to { transform: scale(1.09) translate3d(-1.2%, -1%, 0); } }
@keyframes gsp-sheen { 0%, 62% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
@keyframes gsp-orbpulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(110, 231, 255, .55); } 50% { box-shadow: 0 0 0 8px rgba(110, 231, 255, 0); } }
@keyframes gsp-orbpop { 0% { transform: scale(.4); } 55% { transform: scale(1.55); } 100% { transform: scale(1); } }
@keyframes gsp-bump { 0% { transform: scale(1); } 30% { transform: scale(1.25); color: var(--gold); } 100% { transform: scale(1); } }
@keyframes gsp-pop { from { opacity: 0; transform: translateY(16px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes gsp-shake { 0%, 100% { transform: translateX(0); } 18% { transform: translateX(-9px); } 36% { transform: translateX(8px); } 54% { transform: translateX(-6px); } 72% { transform: translateX(4px); } }
@keyframes gsp-redfade { from { background-color: rgba(255, 107, 129, .6); } to { background-color: rgba(255, 107, 129, .12); } }
@keyframes gsp-correct { 0% { transform: scale(1); } 35% { transform: scale(1.04); } 100% { transform: scale(1); } }
@keyframes gsp-rip { from { transform: scale(1); opacity: .7; } to { transform: scale(26); opacity: 0; } }
@keyframes gsp-float { 0% { opacity: 0; transform: translate(-50%, 10px) scale(.5); } 18% { opacity: 1; transform: translate(-50%, -10px) scale(1.2); } 100% { opacity: 0; transform: translate(-50%, -110px) scale(1); } }
@keyframes gsp-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes gsp-nudge { 0%, 88%, 100% { transform: translateY(0); } 94% { transform: translateY(-4px); } }
@keyframes gsp-out { to { opacity: 0; transform: translateX(-70px) scale(.9) rotate(-1.5deg); filter: blur(8px); } }
@keyframes gsp-in { from { opacity: 0; transform: translateX(70px) scale(1.06) rotate(1.5deg); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }

/* One blanket rule for reduced motion. */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .001ms !important;
		animation-delay: 0s !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
		scroll-behavior: auto !important;
	}
	.gsp-photo.is-kb .gsp-img { animation: none !important; }
	.gsp-pts-item { display: none; }
}
