/* SPACEBOP ACADEMY public website. Tokens follow the app asset pack (ui/tokens.css). */
@font-face { font-family: "Saira Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/saira-condensed-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Saira Condensed"; font-weight: 800; font-style: normal; font-display: swap; src: url(../fonts/saira-condensed-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/nunito-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/nunito-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/nunito-sans-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 800; font-style: normal; font-display: swap; src: url(../fonts/nunito-sans-latin-800-normal.woff2) format("woff2"); }

:root {
	--sv-canvas: #081526;
	--sv-canvas-deep: #050e1b;
	--sv-surface: #122741;
	--sv-surface-raised: #193550;
	--sv-border: #49627D;
	--sv-text: #F5F8FF;
	--sv-text-muted: #C0CFE0;
	--sv-action: #FFD25C;
	--sv-action-hover: #FFE08F;
	--sv-action-text: #081526;
	--sv-focus: #75DFFF;
	--sv-cyan: #63D7FF;
	--sv-success: #78E9BC;
	--sv-danger: #FFADB4;
	--sv-radius-button: 10px;
	--sv-radius-card: 14px;
	--sv-radius-pill: 999px;
	--sv-font-display: "Saira Condensed", "Arial Narrow", system-ui, sans-serif;
	--sv-font-ui: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--sv-wrap: 1200px;
	--sv-gutter: clamp(16px, 4vw, 32px);
	--sv-header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--sv-header-h) + 12px); }
body {
	margin: 0; background: var(--sv-canvas); color: var(--sv-text);
	font: 400 17px/1.6 var(--sv-font-ui);
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--sv-focus); text-underline-offset: 3px; }
a:hover { color: #A9ECFF; }
:focus-visible { outline: 3px solid var(--sv-focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--sv-font-display); font-weight: 800; line-height: 1.08; letter-spacing: .005em; margin: 0 0 .5em; color: var(--sv-text); }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 700; }
p { margin: 0 0 1em; }
.sv-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sv-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--sv-action); color: var(--sv-action-text); padding: 10px 16px; border-radius: 8px; font-weight: 800; }
.sv-skip:focus { top: 12px; }
.sv-wrap { width: min(100% - 2 * var(--sv-gutter), var(--sv-wrap)); margin-inline: auto; }
.sv-main { display: block; min-height: 60vh; outline: none; }
.sv-eyebrow { font: 800 .82rem/1.2 var(--sv-font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--sv-cyan); margin-bottom: .8em; }
.sv-eyebrow a { color: inherit; text-decoration: none; }

/* ---------- Logo ---------- */
.sv-logo { display: inline-block; line-height: 0; }
.sv-logo__svg { width: 168px; height: auto; overflow: visible; }
.sv-logo__text { font-family: var(--sv-font-display); font-weight: 800; font-size: 38px; fill: #fff; letter-spacing: .5px; transform: skewX(-12deg); transform-origin: 18px 42px; }
.sv-logo__sub { font-family: var(--sv-font-display); font-weight: 800; font-size: 13px; fill: #FFD25C; transform: skewX(-12deg); transform-origin: 21px 60px; }
.sv-logo--footer .sv-logo__svg { width: 200px; }

/* ---------- Buttons ---------- */
.sv-btn, .elementor-widget-button .elementor-button {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: .75em 1.4em; border-radius: var(--sv-radius-button);
	font: 800 1rem/1.1 var(--sv-font-ui); letter-spacing: .01em; text-decoration: none; cursor: pointer;
	border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.sv-btn--primary, .elementor-widget-button .elementor-button { background: var(--sv-action); color: var(--sv-action-text); box-shadow: 0 6px 22px rgba(255, 210, 92, .22); }
.sv-btn--primary:hover, .elementor-widget-button .elementor-button:hover { background: var(--sv-action-hover); color: var(--sv-action-text); transform: translateY(-1px); }
.sv-btn--ghost, .elementor-widget-button.sv-btn-ghost .elementor-button { background: transparent; color: var(--sv-text); border-color: var(--sv-border); box-shadow: none; }
.sv-btn--ghost:hover, .elementor-widget-button.sv-btn-ghost .elementor-button:hover { border-color: var(--sv-focus); color: var(--sv-text); background: rgba(117, 223, 255, .08); }
.sv-btn--sm { min-height: 44px; padding: .55em 1.05em; font-size: .95rem; }
.sv-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.sv-header { position: sticky; top: 0; z-index: 100; background: rgba(8, 21, 38, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(73, 98, 125, .45); }
.admin-bar .sv-header { top: 32px; }
.sv-header__inner { width: min(100% - 2 * var(--sv-gutter), 1320px); margin-inline: auto; height: var(--sv-header-h); display: flex; align-items: center; gap: 24px; }
.sv-header__brand { display: inline-flex; align-items: center; margin-right: auto; }
.sv-nav { display: flex; align-items: center; gap: 28px; }
.sv-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.sv-nav__list a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--sv-text); text-decoration: none; font-weight: 700; font-size: .98rem; }
.sv-nav__list a:hover, .sv-nav__list .current-menu-item > a, .sv-nav__list .current_page_item > a { color: var(--sv-action); background: rgba(255, 255, 255, .04); }
.sv-nav__actions { display: flex; gap: 10px; align-items: center; }
.sv-header__toggle { display: none; background: transparent; border: 0; color: var(--sv-text); width: 48px; height: 48px; border-radius: 10px; cursor: pointer; }
.sv-burger { display: grid; gap: 5px; width: 24px; margin: auto; }
.sv-burger span { display: block; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.sv-header__toggle[aria-expanded="true"] .sv-burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.sv-header__toggle[aria-expanded="true"] .sv-burger span:nth-child(2) { opacity: 0; }
.sv-header__toggle[aria-expanded="true"] .sv-burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.sv-account-chip { display: inline-flex; align-items: center; gap: 8px; }
.sv-account-chip img { width: 28px; height: 28px; border-radius: 50%; background: var(--sv-surface-raised); object-fit: cover; }

@media (max-width: 1080px) {
	.sv-header__toggle { display: inline-flex; align-items: center; justify-content: center; }
	.sv-nav { position: fixed; inset: var(--sv-header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px; padding: 16px var(--sv-gutter) 28px; background: var(--sv-canvas); border-bottom: 1px solid var(--sv-border); box-shadow: 0 24px 48px rgba(0, 0, 0, .45); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility 0s .18s; max-height: calc(100vh - var(--sv-header-h)); overflow: auto; }
	.admin-bar .sv-nav { top: calc(var(--sv-header-h) + 46px); }
	.sv-nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .18s, transform .18s; }
	.sv-nav__list { flex-direction: column; }
	.sv-nav__list a { padding: 14px 12px; font-size: 1.08rem; border-bottom: 1px solid rgba(73, 98, 125, .35); border-radius: 0; }
	.sv-nav__actions .sv-btn { flex: 1; }
}
@media (max-width: 782px) { .admin-bar .sv-header { top: 46px; } }

/* ---------- Footer ---------- */
.sv-footer { background: var(--sv-canvas-deep); border-top: 1px solid rgba(73, 98, 125, .45); margin-top: 0; }
.sv-footer__inner { width: min(100% - 2 * var(--sv-gutter), var(--sv-wrap)); margin-inline: auto; padding: 56px 0 28px; display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.sv-footer__tag { color: var(--sv-text-muted); max-width: 30ch; margin-top: 14px; }
.sv-footer__h { font: 800 .8rem/1 var(--sv-font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--sv-cyan); margin-bottom: 14px; }
.sv-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sv-footer__col a { color: var(--sv-text); text-decoration: none; display: inline-block; padding: 6px 0; }
.sv-footer__col a:hover { color: var(--sv-action); }
.sv-footer__apps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.sv-store { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 14px; border: 1.5px solid var(--sv-border); border-radius: 12px; color: var(--sv-text); text-decoration: none; font-weight: 800; line-height: 1.1; }
.sv-store svg { width: 22px; height: 22px; }
.sv-store small { display: block; font-weight: 600; font-size: .72rem; color: var(--sv-text-muted); }
.sv-store:hover { border-color: var(--sv-focus); color: var(--sv-text); }
.sv-footer__legal { width: min(100% - 2 * var(--sv-gutter), var(--sv-wrap)); margin-inline: auto; padding: 20px 0 36px; border-top: 1px solid rgba(73, 98, 125, .35); color: var(--sv-text-muted); font-size: .88rem; }
.sv-footer__legal p { margin: 0 0 6px; }
@media (max-width: 900px) { .sv-footer__inner { grid-template-columns: 1fr 1fr; } .sv-footer__brand { grid-column: 1 / -1; } }

/* ---------- Generic pages (non-Elementor) ---------- */
.sv-page__head { padding: clamp(48px, 7vw, 88px) 0 24px; background: radial-gradient(1200px 400px at 80% -10%, rgba(99, 215, 255, .16), transparent 60%); }
.sv-page__title { margin: 0; }
.sv-page__media { margin-bottom: 24px; }
.sv-page__media img { border-radius: var(--sv-radius-card); width: 100%; }
.sv-prose { max-width: 760px; padding-bottom: 72px; }
.sv-prose h2 { margin-top: 1.6em; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.sv-prose h3 { margin-top: 1.4em; }
.sv-prose ul, .sv-prose ol { padding-left: 1.3em; }
.sv-prose li { margin-bottom: .4em; }
.sv-prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; }
.sv-prose th, .sv-prose td { border: 1px solid var(--sv-border); padding: 10px 12px; text-align: left; vertical-align: top; }
.sv-prose th { background: var(--sv-surface); }
.sv-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; padding-bottom: 72px; }
.sv-empty { color: var(--sv-text-muted); padding: 24px 0 72px; }
.nav-links { display: flex; gap: 8px; padding-bottom: 72px; }
.page-numbers { padding: 8px 14px; border: 1px solid var(--sv-border); border-radius: 8px; color: var(--sv-text); text-decoration: none; }
.page-numbers.current { background: var(--sv-action); color: var(--sv-action-text); border-color: var(--sv-action); }
.sv-404 { padding: clamp(56px, 9vw, 120px) 0; }
.sv-404__inner { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }

/* ---------- Cards and chips (shared by Elementor widgets from the platform plugin) ---------- */
.sv-card { background: var(--sv-surface); border: 1px solid rgba(73, 98, 125, .6); border-radius: var(--sv-radius-card); overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, transform .15s, box-shadow .15s; }
.sv-card:hover { border-color: var(--sv-focus); }
.sv-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--sv-surface-raised); }
.sv-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sv-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sv-card__title { font-family: var(--sv-font-display); font-size: 1.45rem; font-weight: 800; margin: 0; line-height: 1.1; }
.sv-card__title a { color: var(--sv-text); text-decoration: none; }
.sv-card__title a::after { content: ""; position: absolute; inset: 0; }
.sv-card { position: relative; }
.sv-card p { margin: 0; color: var(--sv-text-muted); }
.sv-card__foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.sv-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 3px 12px; border-radius: var(--sv-radius-pill); background: var(--sv-surface-raised); font: 800 .8rem/1.2 var(--sv-font-ui); color: var(--sv-text); }
.sv-chip--free { color: var(--sv-focus); }
.sv-chip--owned { color: var(--sv-success); }
.sv-chip--premium { color: var(--sv-action); }
.sv-chip--soon { color: var(--sv-text-muted); }
.sv-chip svg { width: 14px; height: 14px; }
.sv-price { font-weight: 800; color: var(--sv-text); }

/* ---------- Elementor integration ---------- */
.elementor-widget-heading .elementor-heading-title { font-family: var(--sv-font-display); font-weight: 800; color: var(--sv-text); line-height: 1.08; }
.elementor-widget-text-editor { color: var(--sv-text-muted); font-size: 1.06rem; }
.elementor-widget-text-editor strong { color: var(--sv-text); }
.elementor-widget-text-editor a { color: var(--sv-focus); }
.elementor-widget-icon-list .elementor-icon-list-text { color: var(--sv-text); }
.elementor-widget-icon-list .elementor-icon-list-icon svg { fill: var(--sv-action); width: 20px; height: 20px; }
.elementor-widget-icon-list .elementor-icon-list-icon i { color: var(--sv-action); }
.elementor-widget-image img { border-radius: var(--sv-radius-card); }
.elementor-widget-image.sv-plain img { border-radius: 0; }
.sv-eyebrow .elementor-heading-title, .elementor-widget-heading.sv-eyebrow .elementor-heading-title { font: 800 .82rem/1.2 var(--sv-font-ui) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--sv-cyan) !important; }
.sv-lead .elementor-widget-container, .sv-lead { font-size: 1.2rem; color: var(--sv-text-muted); }
.sv-gold .elementor-heading-title, .sv-gold { color: var(--sv-action) !important; }

/* Section helpers used as Elementor container CSS classes */
.sv-section { padding-block: clamp(56px, 8vw, 104px); }
.sv-section--tight { padding-block: clamp(36px, 5vw, 64px); }
.sv-section--alt { background: linear-gradient(180deg, rgba(18, 39, 65, .55), rgba(18, 39, 65, .15)); border-block: 1px solid rgba(73, 98, 125, .3); }
.sv-panel { background: var(--sv-surface); border: 1px solid rgba(73, 98, 125, .6); border-radius: var(--sv-radius-card); padding: 26px 24px !important; }
.sv-panel--raised { background: var(--sv-surface-raised); }
.sv-panel h3, .sv-panel .elementor-heading-title { margin-bottom: 6px; }

/* Hero */
.sv-hero { position: relative; overflow: hidden; min-height: min(86vh, 760px); isolation: isolate; }
.sv-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--sv-hero-img, none) center / cover no-repeat; }
.sv-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 21, 38, .96) 0%, rgba(8, 21, 38, .82) 38%, rgba(8, 21, 38, .25) 70%, rgba(8, 21, 38, .1) 100%), linear-gradient(0deg, var(--sv-canvas) 0%, transparent 28%); }
.sv-hero .elementor-heading-title { text-shadow: 0 4px 30px rgba(0, 0, 0, .5); }
.sv-hero h1.elementor-heading-title { font-size: clamp(2.8rem, 6.4vw, 5.4rem); }
.sv-hero-tag .elementor-heading-title { font-family: var(--sv-font-ui) !important; font-weight: 800 !important; letter-spacing: .02em; color: var(--sv-text) !important; font-size: clamp(1.05rem, 1.6vw, 1.3rem) !important; }
.sv-hero-tag .elementor-heading-title span { color: var(--sv-action); }
@media (max-width: 767px) {
	.sv-hero::before { background-position: 70% center; }
	.sv-hero::after { background: linear-gradient(180deg, rgba(8, 21, 38, .55) 0%, rgba(8, 21, 38, .9) 55%, var(--sv-canvas) 100%); }
}

/* Starfield background helper */
.sv-stars { background-color: var(--sv-canvas); background-image:
	radial-gradient(1px 1px at 20px 30px, rgba(255,255,255,.8), transparent 50%),
	radial-gradient(1px 1px at 120px 80px, rgba(255,255,255,.6), transparent 50%),
	radial-gradient(1.5px 1.5px at 200px 150px, rgba(255,255,255,.7), transparent 50%),
	radial-gradient(1px 1px at 300px 40px, rgba(255,255,255,.5), transparent 50%),
	radial-gradient(1px 1px at 360px 190px, rgba(255,255,255,.6), transparent 50%);
	background-size: 400px 220px; }

/* Character art inside Elementor image widgets */
.sv-character img { border-radius: 0 !important; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45)); }

/* Steps (How it works) */
.sv-step-num .elementor-heading-title { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--sv-action); color: var(--sv-action-text) !important; font-size: 1.5rem !important; }

/* Pathway badges */
.sv-path { border-left: 4px solid var(--sv-path, var(--sv-focus)) !important; }
.sv-path--1 { --sv-path: #FFD25C; } .sv-path--2 { --sv-path: #78E9BC; } .sv-path--3 { --sv-path: #75DFFF; } .sv-path--4 { --sv-path: #B9A4FF; } .sv-path--5 { --sv-path: #FF9FB0; }

/* Accordion / toggle (FAQs) */
.elementor-widget-accordion .elementor-accordion-item, .elementor-widget-toggle .elementor-toggle-item { border: 1px solid rgba(73, 98, 125, .6) !important; border-radius: 12px; margin-bottom: 10px; overflow: hidden; background: var(--sv-surface); }
.elementor-widget-accordion .elementor-tab-title, .elementor-widget-toggle .elementor-tab-title { border: 0 !important; padding: 18px 20px !important; }
.elementor-widget-accordion .elementor-tab-title a, .elementor-widget-toggle .elementor-tab-title a, .elementor-tab-title .elementor-toggle-title { color: var(--sv-text) !important; font-weight: 800; font-size: 1.05rem; text-decoration: none; }
.elementor-widget-accordion .elementor-tab-content, .elementor-widget-toggle .elementor-tab-content { border: 0 !important; color: var(--sv-text-muted); padding: 0 20px 18px !important; }
.elementor-tab-title .elementor-toggle-icon, .elementor-accordion-icon { color: var(--sv-action) !important; }
details.sv-faq { border: 1px solid rgba(73, 98, 125, .6); border-radius: 12px; margin-bottom: 10px; background: var(--sv-surface); }
details.sv-faq summary { cursor: pointer; padding: 18px 20px; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.sv-faq summary::after { content: "+"; color: var(--sv-action); font-size: 1.4rem; line-height: 1; }
details.sv-faq[open] summary::after { content: "–"; }
details.sv-faq summary::-webkit-details-marker { display: none; }
details.sv-faq > div { padding: 0 20px 18px; color: var(--sv-text-muted); }

/* Forms (contact / support) */
.sv-form { display: grid; gap: 16px; max-width: 640px; }
.sv-form label { display: grid; gap: 6px; font-weight: 700; }
.sv-form input, .sv-form select, .sv-form textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--sv-border); background: var(--sv-canvas); color: var(--sv-text); font: inherit; }
.sv-form textarea { min-height: 150px; resize: vertical; }
.sv-form input:focus, .sv-form select:focus, .sv-form textarea:focus { border-color: var(--sv-focus); outline: none; box-shadow: 0 0 0 3px rgba(117, 223, 255, .25); }
.sv-form .sv-hint { font-weight: 400; color: var(--sv-text-muted); font-size: .9rem; }
.sv-form .sv-hp { position: absolute; left: -9999px; }
.sv-notice { padding: 14px 16px; border-radius: 10px; border: 1px solid; margin-bottom: 16px; }
.sv-notice--ok { border-color: var(--sv-success); background: rgba(120, 233, 188, .1); }
.sv-notice--err { border-color: var(--sv-danger); background: rgba(255, 173, 180, .1); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Elementor page helpers
   Added for the content built by _build/setup/03-content.php. Apply them through
   Elementor > Advanced > CSS Classes. Nothing above this block is changed.
   ========================================================================== */

/* Elementor resets every container's radius through a CSS variable; pass the card radius through. */
.e-con.sv-panel { --border-radius: var(--sv-radius-card); }

/* Header band for Elementor pages (the same glow as .sv-page__head on non-Elementor pages). */
.sv-pagehead { background: radial-gradient(1200px 420px at 80% -10%, rgba(99, 215, 255, .16), transparent 60%); }

/* Small print under buttons and grids (text-editor widget). */
.elementor-widget-text-editor.sv-note { font-size: .95rem; color: var(--sv-text-muted); }

/* Text widgets: no trailing gap after the last paragraph or list. */
.elementor-widget-text-editor > :last-child, .elementor-widget-text-editor .elementor-widget-container > :last-child { margin-bottom: 0; }

/* Highlighted note, e.g. "Draft for legal review before launch." (text-editor widget). */
.elementor-widget-text-editor.sv-callout { border-left: 4px solid var(--sv-action); background: rgba(255, 210, 92, .09); border-radius: 0 12px 12px 0; padding: 14px 18px; color: var(--sv-text); }

/* Status label as a heading widget, e.g. "Available now" / "Coming soon". */
.sv-tag .elementor-heading-title { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 12px; border-radius: var(--sv-radius-pill); background: var(--sv-surface-raised); font: 800 .8rem/1.2 var(--sv-font-ui) !important; letter-spacing: .02em; color: var(--sv-focus) !important; }
.sv-tag.sv-tag--soon .elementor-heading-title { color: var(--sv-text-muted) !important; }

/* Elementor resets every image inside .elementor (border, radius, shadow), which cancels the rounded
   corners above; restore them for image widgets other than .sv-plain and the cartoon guides. */
.elementor .elementor-widget-image:not(.sv-plain):not(.sv-character) img { border-radius: var(--sv-radius-card); }

/* Landscape art in a framed 16:9 card (image widget). */
.elementor .sv-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid rgba(73, 98, 125, .6); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }

/* Number above a step title: tighter spacing under .sv-step-num. */
.sv-step-num .elementor-heading-title { margin-bottom: 4px; }

/* Long-form legal text (Privacy, Terms) in a text-editor widget. */
.sv-legal { color: var(--sv-text-muted); }
.sv-legal h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 1.8em 0 .5em; }
.sv-legal h3 { font-size: 1.22rem; margin: 1.4em 0 .4em; }
.sv-legal > h2:first-child, .sv-legal .elementor-widget-container > h2:first-child { margin-top: 0; }
.sv-legal ul, .sv-legal ol { padding-left: 1.3em; margin: 0 0 1em; }
.sv-legal li { margin-bottom: .4em; }
.sv-legal strong { color: var(--sv-text); }
.sv-legal .sv-todo { background: rgba(255, 210, 92, .16); color: var(--sv-action); padding: 0 .35em; border-radius: 4px; font-weight: 700; }

/* Icon lists: keep the icon size fixed when the text wraps. */
.elementor-widget-icon-list .elementor-icon-list-icon { flex-shrink: 0; }

/* A section right after a page header band on the same background needs less space above it. */
.e-con.sv-pagehead + .e-con.sv-section:not(.sv-section--alt):not(.sv-stars) { padding-top: clamp(8px, 2vw, 24px); }

/* Platform widgets (spaceverse-platform/assets/public.css): a few generic selectors there out-rank the
   intended colours of nested elements, so restore them here. */
.svp-plan > p.svp-plan__price { color: var(--sv-action); }
.svp-plan > p.sv-eyebrow { color: var(--sv-cyan); }
.svp-detail__facts .sv-chip { text-transform: none; letter-spacing: 0; font-size: .8rem; }
.svp-detail__facts .sv-chip--free { color: var(--sv-focus); }
.svp-detail__facts .sv-chip--premium { color: var(--sv-action); }
.svp-detail__facts .sv-chip--owned { color: var(--sv-success); }

/* Footer menu (Appearance → Menus → Footer menu) shown as a links row above the copyright. */
.sv-footer__menu ul { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.sv-footer__menu a { color: var(--sv-text); text-decoration: none; display: inline-block; padding: 8px 0; font-weight: 700; font-size: .92rem; }
.sv-footer__menu a:hover { color: var(--sv-action); }

/* =====================================================================================================
   Exciting page heroes (sv3_pagehead in _build/setup/03-content.php): twinkling starfield, shooting star,
   nebula glow, a round "portal" showing the page's art, spinning orbits with a rocket and a satellite,
   sparkles, a floating guide and a speech bubble. The global reduced-motion rule above stops all of it.
   ===================================================================================================== */
.e-con.sv-pagehead--fun {
	position: relative; overflow: hidden; isolation: isolate;
	background:
		radial-gradient(520px 340px at 80% 48%, rgba(123, 92, 255, .32), transparent 65%),
		radial-gradient(480px 300px at 62% -5%, rgba(99, 215, 255, .24), transparent 60%),
		radial-gradient(460px 300px at 0% 100%, rgba(255, 120, 180, .16), transparent 60%),
		linear-gradient(180deg, #0c1f3c 0%, #081526 100%) !important;
	padding-top: clamp(36px, 6vw, 80px) !important; padding-bottom: clamp(40px, 6vw, 88px) !important;
}
.e-con.sv-pagehead--fun::before {
	content: "" !important; display: block !important; position: absolute !important; inset: 0 !important; z-index: -1; pointer-events: none;
	opacity: 1 !important; mix-blend-mode: normal !important; border-radius: 0 !important;
	background-image:
		radial-gradient(1.6px 1.6px at 8% 18%, #fff 50%, transparent 55%), radial-gradient(1.2px 1.2px at 22% 64%, #cfe9ff 50%, transparent 55%),
		radial-gradient(2px 2px at 37% 12%, #fff 50%, transparent 55%), radial-gradient(1.2px 1.2px at 46% 82%, #fff 50%, transparent 55%),
		radial-gradient(1.8px 1.8px at 58% 30%, #ffe9a8 50%, transparent 55%), radial-gradient(1.2px 1.2px at 71% 70%, #fff 50%, transparent 55%),
		radial-gradient(2.2px 2.2px at 84% 16%, #fff 50%, transparent 55%), radial-gradient(1.4px 1.4px at 93% 54%, #cfe9ff 50%, transparent 55%),
		radial-gradient(1.2px 1.2px at 15% 90%, #fff 50%, transparent 55%), radial-gradient(1.6px 1.6px at 66% 92%, #fff 50%, transparent 55%);
	background-size: 560px 380px;
	animation: sv-twinkle 3.2s ease-in-out infinite alternate;
}
.e-con.sv-pagehead--fun::after {
	content: ""; position: absolute; z-index: -1; pointer-events: none; top: 62%; left: -12%;
	width: 160px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .95));
	box-shadow: 0 0 8px rgba(255, 255, 255, .8); opacity: 0; transform: rotate(-18deg);
	animation: sv-shoot 8s ease-in 1.5s infinite;
}
.e-con.sv-pagehead--fun > .e-con-inner { position: relative; z-index: 1; }

/* headline with a gold swoosh underneath */
.sv-pagehead__title .elementor-heading-title { position: relative; padding-bottom: 16px; text-shadow: 0 6px 30px rgba(99, 215, 255, .25); }
.sv-pagehead__title .elementor-heading-title::after {
	content: ""; position: absolute; left: 2px; bottom: 0; width: min(240px, 70%); height: 14px;
	background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 240 14%22%3E%3Cpath d=%22M3 10 C 60 2, 150 0, 237 6%22 fill=%22none%22 stroke=%22%23FFD25C%22 stroke-width=%225%22 stroke-linecap=%22round%22/%3E%3C/svg%3E") left center / 100% 100% no-repeat;
}

/* sticker chips under the buttons */
.sv-funchips { display: flex; flex-wrap: wrap; gap: 8px; }
.sv-funchip { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 6px 14px; border-radius: 999px; font: 800 .88rem/1 var(--sv-font-ui); background: rgba(255, 255, 255, .06); border: 1.5px solid currentColor; }
.sv-funchip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.sv-funchip--gold { color: var(--sv-action); } .sv-funchip--cyan { color: var(--sv-focus); } .sv-funchip--green { color: var(--sv-success); }

/* the scene */
.e-con.sv-scene { position: relative !important; display: block !important; width: min(100%, 470px) !important; aspect-ratio: 1 / 1; margin-inline: auto !important; --min-height: 0px; }
.e-con.sv-scene > .e-con.sv-scene__portal {
	position: absolute !important; inset: 15%; width: auto !important; min-height: 0 !important; border-radius: 50% !important; overflow: hidden;
	box-shadow: 0 0 0 6px rgba(255, 210, 92, .2), 0 0 70px 14px rgba(99, 215, 255, .38), 0 0 140px 40px rgba(123, 92, 255, .25);
	animation: sv-pan 14s ease-in-out infinite alternate;
}
.e-con.sv-scene > .e-con.sv-scene__portal::after {
	content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
	background: radial-gradient(circle at 30% 24%, rgba(255, 255, 255, .28), transparent 38%), radial-gradient(circle at 50% 50%, transparent 55%, rgba(8, 21, 38, .55) 100%);
}
.e-con.sv-scene > .elementor-widget-html.sv-scene__orbit { position: absolute !important; inset: 0; width: 100% !important; z-index: 2; pointer-events: none; }
.sv-scene__orbit .elementor-widget-container, .sv-orbit { position: absolute; inset: 0; }
.sv-orbit__ring { position: absolute; border-radius: 50%; }
.sv-orbit__ring--a { inset: 7%; border: 2px dashed rgba(255, 210, 92, .55); animation: sv-spin 16s linear infinite; }
.sv-orbit__ring--b { inset: 0; border: 2px dotted rgba(117, 223, 255, .45); animation: sv-spin 28s linear infinite reverse; }
.sv-orbit__rider { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); line-height: 0; }
.sv-orbit__rider--rocket svg { transform: rotate(90deg); filter: drop-shadow(0 0 10px rgba(255, 159, 67, .85)); }
.sv-orbit__rider--sat { top: 100%; }
.sv-orbit__rider--sat svg { filter: drop-shadow(0 0 8px rgba(117, 223, 255, .7)); animation: sv-spin 9s linear infinite; }
.sv-spark { position: absolute; width: 16px; height: 16px; background: #fff; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); animation: sv-sparkle 2.8s ease-in-out infinite; }
.sv-spark:nth-child(odd) { background: #FFD25C; width: 12px; height: 12px; }
.e-con.sv-scene > .elementor-widget-image.sv-scene__guide { position: absolute !important; right: -12%; bottom: -10%; width: 74% !important; z-index: 3; animation: sv-float 4.6s ease-in-out infinite; }
.sv-scene__guide img { width: 100% !important; height: auto; border-radius: 0 !important; box-shadow: none !important; filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .55)) drop-shadow(0 0 24px rgba(99, 215, 255, .35)); }
.e-con.sv-scene > .elementor-widget-heading.sv-bubble { position: absolute !important; left: -4%; top: 2%; width: auto !important; max-width: 64%; z-index: 4; animation: sv-pop .7s cubic-bezier(.2, 1.5, .4, 1) .5s both, sv-bob 3.4s ease-in-out 1.4s infinite; }
.sv-bubble .elementor-heading-title {
	position: relative; display: inline-block; background: #fff; color: #0b1a2e !important; padding: 12px 16px; border-radius: 20px 20px 20px 6px;
	font: 800 1.05rem/1.25 var(--sv-font-ui) !important; letter-spacing: 0 !important; text-transform: none !important; box-shadow: 0 14px 34px rgba(0, 0, 0, .45);
}
.sv-bubble .elementor-heading-title::after { content: ""; position: absolute; right: 28px; bottom: -11px; border: 12px solid transparent; border-top-color: #fff; border-bottom: 0; transform: skewX(-25deg); }

@keyframes sv-spin { to { transform: rotate(360deg); } }
@keyframes sv-float { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-16px) rotate(1.5deg); } }
@keyframes sv-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes sv-pop { from { opacity: 0; transform: scale(.5) translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes sv-sparkle { 0%, 100% { opacity: .15; transform: scale(.45) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }
@keyframes sv-twinkle { from { opacity: .5; } to { opacity: 1; } }
@keyframes sv-pan { from { background-position: 28% 50%; } to { background-position: 72% 50%; } }
@keyframes sv-shoot { 0% { opacity: 0; transform: translate(0, 0) rotate(-18deg); } 3% { opacity: 1; } 11% { opacity: 0; transform: translate(1100px, -360px) rotate(-18deg); } 100% { opacity: 0; transform: translate(1100px, -360px) rotate(-18deg); } }

@media (max-width: 767px) {
	.e-con.sv-scene { width: min(88%, 340px) !important; }
	.sv-bubble .elementor-heading-title { font-size: .92rem !important; padding: 10px 12px; }
	.e-con.sv-scene > .elementor-widget-heading.sv-bubble { left: -6%; max-width: 70%; }
	.sv-orbit__rider svg { width: 30px; height: 30px; }
}
