:root {
    color-scheme: dark;
    --space-black: #02060d;
    --space-panel: #07111f;
    --space-panel-2: #0a1628;
    --space-line: rgba(255, 255, 255, 0.12);
    --space-line-strong: rgba(74, 167, 255, 0.48);
    --space-blue: #1b8dff;
    --space-blue-2: #68c7ff;
    --space-white: #f7fbff;
    --space-muted: #a8b5c4;
    --space-soft: rgba(255, 255, 255, 0.08);
    --space-danger: #ff5d7a;
    --space-success: #5fffc2;
    --space-premium-green: #36d17c;
    --space-lifetime-purple: #a678ff;
    --space-lifetime-purple-soft: #c9b2ff;
    --member-accent: var(--space-blue-2);
    --member-accent-rgb: 104, 199, 255;
    --member-accent-contrast: var(--space-white);
    --space-radius: 8px;
    --space-shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
    --space-max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--space-black);
}

body.space-body,
.space-body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background: var(--space-black);
    color: var(--space-white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0;
}

.space-body.is-member-premium {
    --member-accent: var(--space-premium-green);
    --member-accent-rgb: 54, 209, 124;
    --member-accent-contrast: #06110b;
}

.space-body.is-member-lifetime {
    --member-accent: var(--space-lifetime-purple);
    --member-accent-rgb: 166, 120, 255;
    --member-accent-contrast: var(--space-white);
}

.space-body.has-modal-open {
    overflow: hidden;
}

@keyframes spaceReveal {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes spaceCartHit {
    0% {
        transform: scale(1);
        border-color: var(--space-line);
        box-shadow: none;
    }
    45% {
        transform: scale(1.035);
        border-color: var(--space-success);
        box-shadow: 0 0 0 6px rgba(95, 255, 194, 0.12);
    }
    100% {
        transform: scale(1);
        border-color: var(--space-line);
        box-shadow: none;
    }
}

@keyframes spaceButtonGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(27, 141, 255, 0.34);
    }
    100% {
        box-shadow: 0 0 0 12px rgba(27, 141, 255, 0);
    }
}

@keyframes spacePlansPulse {
    0% {
        filter: brightness(1);
    }
    45% {
        filter: brightness(1.18);
    }
    100% {
        filter: brightness(1);
    }
}

@keyframes csaHomeFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -10px, 0);
    }
}

@keyframes csaHomeScan {
    0% {
        transform: translateX(-120%);
        opacity: 0;
    }
    18% {
        opacity: 1;
    }
    58% {
        opacity: 0.78;
    }
    100% {
        transform: translateX(120%);
        opacity: 0;
    }
}

@keyframes csaHomeSignal {
    0%,
    100% {
        border-color: rgba(243, 255, 0, 0.26);
        box-shadow: 0 0 0 rgba(243, 255, 0, 0);
    }
    50% {
        border-color: rgba(243, 255, 0, 0.62);
        box-shadow: 0 0 26px rgba(243, 255, 0, 0.16);
    }
}

.space-body a {
    color: inherit;
    text-decoration: none;
}

.space-body img {
    max-width: 100%;
    display: block;
}

.space-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(180deg, #02060d 0%, #06101d 54%, #02060d 100%);
}

.space-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 78%);
}

.space-stars {
    position: absolute;
    inset: 0;
    background-repeat: repeat;
    opacity: 0.45;
}

.space-stars-a {
    background-image:
        radial-gradient(#fff 1px, transparent 1px),
        radial-gradient(#68c7ff 1px, transparent 1px);
    background-size: 130px 130px, 210px 210px;
    background-position: 24px 44px, 90px 120px;
}

.space-stars-b {
    background-image: radial-gradient(rgba(255, 255, 255, 0.75) 1px, transparent 1px);
    background-size: 280px 280px;
    background-position: 160px 80px;
    opacity: 0.28;
}

.space-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 22px;
    align-items: center;
    min-height: 76px;
    padding: 14px clamp(18px, 4vw, 52px);
    border-bottom: 1px solid var(--space-line);
    background: rgba(2, 6, 13, 0.82);
    backdrop-filter: blur(18px);
}

.space-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    font-weight: 800;
}

.space-brand img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.space-brand span {
    font-size: 0.95rem;
}

.space-nav {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.space-nav-link,
.space-lang a,
.space-cart-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid transparent;
    border-radius: var(--space-radius);
    color: var(--space-muted);
    font-size: 0.92rem;
    white-space: nowrap;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.space-nav-badge {
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #ff4f72;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 950;
    line-height: 1;
    box-shadow: 0 0 0 1px rgba(255, 79, 114, 0.38), 0 0 18px rgba(255, 79, 114, 0.34);
}

.space-nav-link.has-forum-notification {
    border-color: rgba(255, 79, 114, 0.34);
    color: var(--space-white);
}

.space-nav-link[data-nav-page="Discord"] {
    position: relative;
    justify-content: center;
}

.space-nav-discord-icon {
    position: absolute;
    top: calc(50% + 12px);
    left: 50%;
    width: 18px;
    height: 14px;
    transform: translateX(-50%);
    fill: #fff;
    pointer-events: none;
}

.space-nav-discord-eye {
    fill: #02060d;
}

.space-nav-link:hover,
.space-nav-link.is-active,
.space-lang a:hover,
.space-lang a.is-active,
.space-cart-link:hover {
    color: var(--space-white);
    border-color: var(--space-line);
    background: var(--space-soft);
    transform: translateY(-1px);
}

.space-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.space-lang {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 2px;
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: rgba(255, 255, 255, 0.04);
}

.space-lang select {
    min-height: 32px;
    border: 0;
    background: transparent;
    color: var(--space-white);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    outline: 0;
}

.space-lang option {
    background-color: #0f172a !important;
    color: #e5eefb !important;
}

.space-lang a {
    min-height: 32px;
    padding: 0 9px;
    font-size: 0.78rem;
}

.space-socials {
    display: inline-flex;
    gap: 5px;
}

.space-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--space-radius);
    background: rgba(255, 255, 255, 0.025);
    color: rgba(247, 251, 255, 0.62);
    opacity: 0.82;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, opacity 160ms ease;
}

.space-socials svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.space-socials a:hover {
    border-color: rgba(104, 199, 255, 0.3);
    color: var(--space-blue-2);
    opacity: 1;
    transform: translateY(-1px);
}

.space-button,
.space-button-ghost,
.space-nav-toggle,
.space-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid var(--space-line-strong);
    border-radius: var(--space-radius);
    background: var(--space-blue);
    color: var(--space-white);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.space-button:hover,
.space-link-button:hover {
    transform: translateY(-1px);
    background: #0f78e5;
}

.space-button:disabled,
.space-link-button:disabled {
    cursor: not-allowed;
    opacity: 0.56;
    transform: none;
}

.space-button:disabled:hover,
.space-link-button:disabled:hover {
    background: var(--space-blue);
    transform: none;
}

.space-button:active,
.space-button-ghost:active,
.space-link-button:active,
.space-nav-toggle:active {
    transform: translateY(0) scale(0.98);
}

.space-button.is-action-pulse,
.space-button-ghost.is-action-pulse,
.space-link-button.is-action-pulse {
    animation: spaceButtonGlow 420ms ease-out;
}

.space-modal-premium-grid.space-pulse {
    animation: spacePlansPulse 720ms ease-out;
}

.space-button-ghost,
.space-nav-toggle {
    background: rgba(255, 255, 255, 0.04);
    color: var(--space-white);
    border-color: var(--space-line);
}

.space-button-ghost:hover,
.space-nav-toggle:hover {
    border-color: var(--space-line-strong);
    background: rgba(27, 141, 255, 0.12);
}

.space-cart-link {
    gap: 9px;
    min-height: 42px;
    padding: 0 12px 0 14px;
    border-color: rgba(104, 199, 255, 0.46);
    background:
        linear-gradient(180deg, rgba(27, 141, 255, 0.28), rgba(27, 141, 255, 0.11)),
        rgba(7, 17, 31, 0.78);
    color: var(--space-white);
    font-weight: 900;
    box-shadow: 0 0 0 1px rgba(27, 141, 255, 0.08), 0 10px 26px rgba(27, 141, 255, 0.12);
}

.space-cart-link strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: var(--space-radius);
    background: var(--space-blue);
    color: var(--space-white);
    font-size: 0.82rem;
    line-height: 1;
}

.space-cart-link:hover {
    border-color: rgba(104, 199, 255, 0.72);
    background:
        linear-gradient(180deg, rgba(27, 141, 255, 0.38), rgba(27, 141, 255, 0.16)),
        rgba(7, 17, 31, 0.9);
}

.space-mobile-cart-link {
    display: none;
}

.space-profile-button {
    gap: 8px;
    min-width: 0;
    align-items: center;
    padding: 0 12px;
    border-color: rgba(104, 199, 255, 0.3);
    background: rgba(255, 255, 255, 0.045);
}

.space-profile-button::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--space-blue-2);
    box-shadow: 0 0 14px rgba(104, 199, 255, 0.72);
}

.space-profile-button .space-profile-label {
    color: var(--space-blue-2);
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.space-profile-button .space-profile-name {
    display: block;
    max-width: 120px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1;
}

.space-profile-button:hover {
    border-color: rgba(104, 199, 255, 0.62);
    background: rgba(27, 141, 255, 0.14);
}

.space-profile-tier,
.space-member-pill,
.space-home-member-pill,
.space-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 10px;
    border: 1px solid rgba(var(--member-accent-rgb), 0.42);
    border-radius: var(--space-radius);
    background: rgba(var(--member-accent-rgb), 0.12);
    color: var(--member-accent);
    font-size: 0.66rem;
    font-weight: 950;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
    white-space: nowrap;
}

.space-profile-tier {
    min-height: 24px;
    padding: 0 9px;
    font-size: 0.62rem;
}

.space-body.is-member-premium .space-profile-button,
.space-body.is-member-lifetime .space-profile-button {
    border-color: rgba(var(--member-accent-rgb), 0.44);
    background:
        linear-gradient(180deg, rgba(var(--member-accent-rgb), 0.14), rgba(var(--member-accent-rgb), 0.05)),
        rgba(7, 17, 31, 0.82);
    box-shadow: 0 0 0 1px rgba(var(--member-accent-rgb), 0.08), 0 12px 30px rgba(var(--member-accent-rgb), 0.12);
}

.space-body.is-member-premium .space-profile-button::before,
.space-body.is-member-lifetime .space-profile-button::before {
    background: var(--member-accent);
    box-shadow: 0 0 16px rgba(var(--member-accent-rgb), 0.78);
}

.space-body.is-member-premium .space-profile-button .space-profile-label,
.space-body.is-member-lifetime .space-profile-button .space-profile-label {
    color: var(--member-accent);
}

.space-body.is-member-premium .space-profile-button:hover,
.space-body.is-member-lifetime .space-profile-button:hover {
    border-color: rgba(var(--member-accent-rgb), 0.68);
    background: rgba(var(--member-accent-rgb), 0.16);
}

.space-nav-toggle {
    display: none;
}

.space-main {
    min-height: calc(100vh - 160px);
    max-width: 100vw;
    overflow-x: hidden;
}

.space-section {
    width: min(var(--space-max), calc(100% - 36px));
    margin: 0 auto;
    padding: 84px 0;
}

.space-hero {
    position: relative;
    display: block;
    min-height: calc(100vh - 170px);
    padding-top: 62px;
    padding-bottom: 42px;
    overflow: hidden;
}

.space-hero > div:first-child {
    position: relative;
    z-index: 2;
    width: min(760px, 100%);
}

.space-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--space-blue-2);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.space-kicker::before {
    content: "";
    width: 36px;
    height: 1px;
    background: var(--space-blue-2);
}

.space-title {
    max-width: 840px;
    margin: 0;
    color: var(--space-white);
    font-size: 5.6rem;
    line-height: 0.96;
    font-weight: 900;
}

.space-page-title {
    max-width: 760px;
    margin: 0;
    color: var(--space-white);
    font-size: 4.25rem;
    line-height: 1;
    font-weight: 900;
}

.space-lead {
    max-width: 700px;
    margin: 22px 0 0;
    color: var(--space-muted);
    font-size: 1.12rem;
}

.space-member-callout {
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(100%, 570px);
    margin-top: 24px;
    padding: 12px 14px;
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: rgba(7, 17, 31, 0.72);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.16);
}

.space-member-callout strong,
.space-member-card strong {
    display: block;
    color: var(--space-white);
    font-size: 0.98rem;
}

.space-member-callout small,
.space-member-card small {
    display: block;
    margin-top: 2px;
    color: var(--space-muted);
    font-size: 0.82rem;
    line-height: 1.35;
}

.space-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.space-visual {
    position: absolute;
    z-index: 1;
    right: 0;
    top: 50%;
    width: min(46%, 520px);
    min-height: 520px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
    pointer-events: none;
}

.space-visual::before {
    content: "";
    position: absolute;
    inset: 28px;
    border: 1px solid rgba(104, 199, 255, 0.22);
    border-radius: 50%;
}

.space-visual::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 180px;
    height: 180px;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.space-visual-core {
    position: absolute;
    inset: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--space-line);
    border-radius: 50%;
    background: rgba(2, 6, 13, 0.62);
    text-align: center;
}

.space-visual-core img {
    width: min(190px, 48%);
    margin-bottom: 18px;
}

.space-visual-core strong {
    font-size: 1.15rem;
}

.space-visual-core span {
    color: var(--space-success);
    font-size: 0.88rem;
}

.space-home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.86fr);
    gap: 48px;
    align-items: center;
    min-height: 640px;
    padding-top: 54px;
    padding-bottom: 54px;
}

.space-home-hero > div:first-child {
    width: 100%;
    max-width: 680px;
}

.space-home-hero .space-title {
    font-size: 5.15rem;
}

.space-home-console {
    position: relative;
    z-index: 2;
    right: auto;
    top: auto;
    width: 100%;
    transform: none;
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(104, 199, 255, 0.28);
    border-radius: var(--space-radius);
    background:
        linear-gradient(180deg, rgba(27, 141, 255, 0.16), rgba(7, 17, 31, 0.88)),
        rgba(7, 17, 31, 0.92);
    box-shadow: 0 28px 100px rgba(0, 0, 0, 0.42);
    animation: spaceReveal 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.space-home-console-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
}

.space-home-console-head > div {
    min-width: 0;
}

.space-home-console-head > div > span {
    display: block;
    color: var(--space-blue-2);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.space-home-console-head > div > strong {
    display: block;
    color: var(--space-white);
    font-size: 1.15rem;
}

.space-home-console-head .space-button {
    min-height: 34px;
    font-size: 0.78rem;
}

.space-home-member-pill {
    display: inline-flex;
    flex: 0 0 auto;
    align-self: center;
    margin-left: auto;
}

.space-home-device {
    width: 100%;
    height: clamp(300px, 34vw, 480px);
    object-fit: contain;
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background:
        radial-gradient(circle at 50% 42%, rgba(243, 255, 0, 0.16), transparent 54%),
        rgba(2, 6, 13, 0.66);
    padding: clamp(14px, 3vw, 32px);
}

.space-home-plan-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.space-home-plan-strip button {
    display: grid;
    gap: 4px;
    min-height: 68px;
    padding: 10px;
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: rgba(2, 6, 13, 0.48);
    color: var(--space-white);
    font: inherit;
    cursor: pointer;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.space-home-plan-strip button:hover {
    transform: translateY(-1px);
    border-color: var(--space-line-strong);
    background: rgba(27, 141, 255, 0.14);
}

.space-home-plan-strip span {
    color: var(--space-muted);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.2;
}

.space-home-plan-strip strong {
    color: var(--space-blue-2);
    font-size: 0.82rem;
}

.space-home-v2-hero {
    grid-template-columns: minmax(0, 1fr) minmax(430px, 0.92fr);
    gap: 44px;
    align-items: center;
    min-height: 680px;
    padding-top: 48px;
    padding-bottom: 46px;
}

.space-home-v2-copy {
    display: grid;
    gap: 20px;
    min-width: 0;
    max-width: 760px;
}

.space-home-v2-hero .space-title {
    max-width: 760px;
    font-size: 4.7rem;
    line-height: 0.96;
}

.space-home-v2-hero .space-lead {
    max-width: 660px;
    color: #d3dde8;
}

.space-home-v2-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-width: 690px;
}

.space-home-v2-badge {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 2px 12px;
    min-width: 0;
    min-height: 96px;
    padding: 14px;
    border: 1px solid rgba(104, 199, 255, 0.22);
    border-radius: var(--space-radius);
    background:
        linear-gradient(135deg, rgba(27, 141, 255, 0.12), rgba(243, 255, 0, 0.04)),
        rgba(7, 17, 31, 0.68);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.22);
}

.space-home-v2-badge span {
    grid-row: 1 / 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(243, 255, 0, 0.44);
    border-radius: var(--space-radius);
    background: rgba(243, 255, 0, 0.09);
    color: #f3ff00;
    font-size: 0.76rem;
    font-weight: 950;
}

.space-home-v2-badge strong {
    min-width: 0;
    color: var(--space-white);
    font-size: 0.98rem;
    line-height: 1.18;
    overflow-wrap: break-word;
}

.space-home-v2-badge small {
    min-width: 0;
    color: #aebcca;
    font-size: 0.78rem;
    line-height: 1.36;
    overflow-wrap: break-word;
}

.space-home-v2-actions {
    margin-top: 2px;
}

.space-home-support {
    position: relative;
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 14px;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    min-height: 430px;
    padding: clamp(28px, 5vw, 58px);
    overflow: hidden;
    border: 1px solid rgba(124, 137, 255, 0.48);
    border-radius: var(--space-radius);
    background: #07111f;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.4);
}

.space-home-support::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: #5865f2;
}

.space-home-support-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: var(--space-radius);
    background: #5865f2;
    box-shadow: 0 16px 38px rgba(88, 101, 242, 0.28);
}

.space-home-support-icon svg,
.space-home-support-button svg {
    width: 34px;
    height: 34px;
    fill: #fff;
}

.space-home-support .space-kicker {
    margin: 8px 0 -6px;
    color: #8e9aff;
}

.space-home-support h2 {
    margin: 0;
    color: var(--space-white);
    font-size: clamp(1.9rem, 3.4vw, 3rem);
    line-height: 1.05;
}

.space-home-support > p:not(.space-kicker) {
    max-width: 470px;
    margin: 0;
    color: #c2cedb;
    font-size: 1rem;
    line-height: 1.65;
}

.space-home-support-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 220px;
    min-height: 58px;
    margin-top: 8px;
    padding: 0 24px;
    border: 1px solid #7f89ff;
    border-radius: var(--space-radius);
    background: #5865f2;
    color: #fff;
    font-size: 1rem;
    font-weight: 950;
    text-decoration: none;
    transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.space-home-support-button svg {
    width: 26px;
    height: 26px;
}

.space-home-support-button:hover {
    transform: translateY(-2px);
    background: #6975f5;
    box-shadow: 0 14px 34px rgba(88, 101, 242, 0.34);
}

.space-home-support-button:focus-visible {
    outline: 3px solid rgba(142, 154, 255, 0.55);
    outline-offset: 3px;
}

.space-home-v2-stage {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 620px;
    overflow: hidden;
    border: 1px solid rgba(104, 199, 255, 0.28);
    border-radius: var(--space-radius);
    background:
        linear-gradient(145deg, rgba(2, 6, 13, 0.96), rgba(9, 28, 49, 0.9) 52%, rgba(3, 9, 16, 0.98)),
        rgba(7, 17, 31, 0.92);
    box-shadow: 0 32px 110px rgba(0, 0, 0, 0.48);
    animation: spaceReveal 560ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.space-home-v2-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, transparent, rgba(104, 199, 255, 0.16), rgba(243, 255, 0, 0.12), transparent),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 36px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 38px);
    opacity: 0.62;
}

.space-home-v2-stage::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 42%;
    background: linear-gradient(90deg, transparent, rgba(104, 199, 255, 0.18), transparent);
    animation: csaHomeScan 6.8s ease-in-out infinite;
}

.space-home-v2-stage-grid {
    position: absolute;
    inset: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--space-radius);
    pointer-events: none;
}

.space-home-v2-stage-grid span {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(243, 255, 0, 0.22), transparent);
}

.space-home-v2-stage-grid span:nth-child(1),
.space-home-v2-stage-grid span:nth-child(2) {
    left: 14%;
    right: 14%;
    height: 1px;
}

.space-home-v2-stage-grid span:nth-child(1) {
    top: 32%;
}

.space-home-v2-stage-grid span:nth-child(2) {
    bottom: 31%;
}

.space-home-v2-stage-grid span:nth-child(3),
.space-home-v2-stage-grid span:nth-child(4) {
    top: 12%;
    bottom: 12%;
    width: 1px;
    background: linear-gradient(0deg, transparent, rgba(104, 199, 255, 0.2), transparent);
}

.space-home-v2-stage-grid span:nth-child(3) {
    left: 28%;
}

.space-home-v2-stage-grid span:nth-child(4) {
    right: 28%;
}

.space-home-v2-core {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    display: grid;
    justify-items: center;
    gap: 8px;
    width: 230px;
    min-height: 230px;
    padding: 28px 18px;
    border: 1px solid rgba(243, 255, 0, 0.34);
    border-radius: 50%;
    background: rgba(2, 6, 13, 0.84);
    box-shadow: 0 24px 68px rgba(0, 0, 0, 0.52);
    transform: translate(-50%, -50%);
    animation: csaHomeSignal 4.8s ease-in-out infinite;
}

.space-home-v2-core img {
    width: 108px;
    height: 108px;
    object-fit: contain;
    filter: drop-shadow(0 12px 28px rgba(243, 255, 0, 0.2));
}

.space-home-v2-core strong,
.space-home-v2-core small {
    max-width: 172px;
    text-align: center;
    line-height: 1.22;
}

.space-home-v2-core strong {
    color: var(--space-white);
    font-size: 1rem;
}

.space-home-v2-core small {
    color: #f3ff00;
    font-size: 0.78rem;
    font-weight: 850;
}

.space-home-v2-visual {
    position: absolute;
    z-index: 2;
    display: grid;
    gap: 10px;
    width: 190px;
    min-height: 184px;
    padding: 12px;
    border: 1px solid rgba(104, 199, 255, 0.24);
    border-radius: var(--space-radius);
    background: rgba(7, 17, 31, 0.82);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.34);
    animation: csaHomeFloat 5.8s ease-in-out infinite;
}

.space-home-v2-visual img {
    width: 100%;
    height: 112px;
    object-fit: contain;
    border-radius: calc(var(--space-radius) - 2px);
    background: rgba(2, 6, 13, 0.64);
}

.space-home-v2-visual div {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.space-home-v2-visual strong {
    color: var(--space-white);
    font-size: 0.9rem;
    line-height: 1.15;
    overflow-wrap: break-word;
}

.space-home-v2-visual small {
    color: var(--space-muted);
    font-size: 0.75rem;
    line-height: 1.25;
    overflow-wrap: break-word;
}

.space-home-v2-visual-0 {
    left: 30px;
    top: 42px;
}

.space-home-v2-visual-1 {
    right: 28px;
    top: 72px;
    animation-delay: 540ms;
}

.space-home-v2-visual-2 {
    left: 42px;
    bottom: 74px;
    animation-delay: 940ms;
}

.space-home-v2-visual-3 {
    right: 40px;
    bottom: 46px;
    animation-delay: 1380ms;
}

.space-home-v2-live {
    position: absolute;
    z-index: 4;
    display: grid;
    gap: 2px;
    max-width: 220px;
    padding: 12px 14px;
    border: 1px solid rgba(95, 255, 194, 0.28);
    border-radius: var(--space-radius);
    background: rgba(2, 6, 13, 0.82);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}

.space-home-v2-live span {
    color: var(--space-blue-2);
    font-size: 0.68rem;
    font-weight: 950;
    text-transform: uppercase;
}

.space-home-v2-live strong {
    color: var(--space-white);
    font-size: 0.94rem;
    line-height: 1.18;
}

.space-home-v2-live small {
    color: var(--space-muted);
    font-size: 0.72rem;
    line-height: 1.26;
}

.space-home-v2-live-delivery {
    left: 50%;
    top: 26px;
    transform: translateX(-50%);
}

.space-home-v2-live-input {
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    border-color: rgba(243, 255, 0, 0.28);
}

.space-telemetry {
    position: absolute;
    inset: auto 18px 18px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.space-chip {
    min-height: 72px;
    padding: 12px;
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: rgba(2, 6, 13, 0.72);
}

.space-chip span {
    display: block;
    color: var(--space-muted);
    font-size: 0.74rem;
    text-transform: uppercase;
}

.space-chip strong {
    display: block;
    margin-top: 5px;
    color: var(--space-white);
    font-size: 0.95rem;
}

.space-stats,
.space-grid-cards,
.space-pricing-grid,
.space-steps {
    display: grid;
    gap: 16px;
}

.space-stats {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 30px;
}

.space-stat,
.space-card,
.space-price,
.space-step,
.space-form-panel {
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: rgba(7, 17, 31, 0.78);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.space-section-head,
.space-stat,
.space-card,
.space-price,
.space-step,
.space-form-panel,
.space-shop-highlight,
.space-interface-panel {
    animation: spaceReveal 420ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.space-stat {
    padding: 18px;
    color: var(--space-muted);
}

.space-stat strong {
    display: block;
    color: var(--space-white);
    font-size: 1.35rem;
}

.space-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 28px;
}

.space-section-head p {
    max-width: 560px;
    margin: 0;
    color: var(--space-muted);
}

.space-grid-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.space-card {
    min-height: 218px;
    padding: 24px;
}

.space-card span,
.space-step-number,
.space-price-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    margin-bottom: 18px;
    border: 1px solid var(--space-line-strong);
    border-radius: var(--space-radius);
    color: var(--space-blue-2);
    font-weight: 900;
}

.space-card h3,
.space-price h3,
.space-step h3 {
    margin: 0 0 10px;
    color: var(--space-white);
    font-size: 1.1rem;
}

.space-card p,
.space-price p,
.space-step p {
    margin: 0;
    color: var(--space-muted);
}

.space-band {
    width: 100%;
    margin: 32px 0 0;
    padding: 48px clamp(18px, 5vw, 70px);
    border-top: 1px solid var(--space-line);
    border-bottom: 1px solid var(--space-line);
    background:
        linear-gradient(90deg, rgba(27, 141, 255, 0.16), rgba(255, 255, 255, 0.04)),
        rgba(2, 6, 13, 0.72);
}

.space-band-inner {
    width: min(var(--space-max), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    align-items: center;
}

.space-band h2 {
    margin: 0;
    font-size: 3rem;
}

.space-band p {
    margin: 0;
    color: var(--space-muted);
}

.space-pricing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.space-price {
    display: flex;
    flex-direction: column;
    min-height: 270px;
    padding: 24px;
}

.space-price.is-featured {
    border-color: var(--space-line-strong);
    background: rgba(27, 141, 255, 0.16);
}

.space-price-tag {
    width: max-content;
    padding: 0 12px;
    color: var(--space-white);
    background: rgba(27, 141, 255, 0.22);
}

.space-price .space-button,
.space-price .space-button-ghost {
    margin-top: auto;
}

.space-form-panel {
    margin-top: 18px;
    padding: 24px;
}

.space-profile-side .space-form-panel {
    margin-top: 22px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.space-inline-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    margin-top: 18px;
}

.space-reseller-code-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
    align-items: end;
    gap: 18px;
    margin-top: 22px;
    border-color: rgba(104, 199, 255, 0.26);
    background:
        linear-gradient(135deg, rgba(27, 141, 255, 0.12), rgba(95, 255, 194, 0.06)),
        rgba(7, 17, 31, 0.86);
}

.space-reseller-code-copy span {
    display: block;
    margin-bottom: 6px;
    color: var(--space-blue-2);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.space-reseller-code-copy h2 {
    margin: 0;
    color: var(--space-white);
    font-size: 1.35rem;
}

.space-reseller-code-copy p {
    max-width: 760px;
    margin: 8px 0 0;
    color: var(--space-muted);
    line-height: 1.5;
}

.space-reseller-code-form {
    margin-top: 0;
}

.space-input,
.space-form input,
.space-form select,
.space-form textarea {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: rgba(2, 6, 13, 0.72);
    color: var(--space-white);
    font: inherit;
}

.space-input,
.space-form input,
.space-form select,
.space-form textarea,
.space-lang select {
    color-scheme: dark;
}

.space-form select option,
.space-form select optgroup,
.space-lang select option,
.space-lang select optgroup {
    background-color: #0f172a !important;
    color: #e5eefb !important;
}

.space-form select option:checked,
.space-form select option:hover,
.space-form select option:focus,
.space-lang select option:checked,
.space-lang select option:hover,
.space-lang select option:focus {
    background-color: #1d4ed8 !important;
    color: #ffffff !important;
}

.space-form select option:disabled,
.space-lang select option:disabled {
    background-color: #111827 !important;
    color: #64748b !important;
}

.space-input:focus,
.space-form input:focus,
.space-form select:focus,
.space-form textarea:focus {
    border-color: var(--space-line-strong);
    box-shadow: 0 0 0 3px rgba(27, 141, 255, 0.18);
}

.space-form textarea,
textarea.space-input {
    min-height: 92px;
    padding-top: 12px;
    resize: vertical;
}

.space-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.space-guide-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.82fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    padding-top: 58px;
    padding-bottom: 52px;
}

.space-guide-hero-copy {
    display: grid;
    gap: 18px;
    max-width: 720px;
}

.space-guide-hero-copy .space-page-title {
    max-width: 720px;
    font-size: clamp(3.2rem, 6.2vw, 5.6rem);
    line-height: 0.96;
}

.space-guide-hero-copy > p:not(.space-kicker) {
    max-width: 660px;
    margin: 0;
    color: #d1dbe7;
    font-size: 1.06rem;
    line-height: 1.68;
}

.space-guide-hero-visual {
    position: relative;
    isolation: isolate;
    min-height: 560px;
    overflow: hidden;
    border: 1px solid rgba(104, 199, 255, 0.28);
    border-radius: var(--space-radius);
    background:
        linear-gradient(145deg, rgba(2, 6, 13, 0.96), rgba(9, 28, 49, 0.88) 52%, rgba(3, 9, 16, 0.98)),
        rgba(7, 17, 31, 0.9);
    box-shadow: 0 32px 110px rgba(0, 0, 0, 0.42);
    animation: spaceReveal 560ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.space-guide-hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent, rgba(104, 199, 255, 0.15), rgba(243, 255, 0, 0.1), transparent),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 40px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.032) 0 1px, transparent 1px 42px);
    opacity: 0.72;
    animation: csaHomeScan 7.2s ease-in-out infinite;
}

.space-guide-core {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    display: grid;
    justify-items: center;
    gap: 8px;
    width: 214px;
    min-height: 214px;
    padding: 24px 16px;
    border: 1px solid rgba(243, 255, 0, 0.34);
    border-radius: 50%;
    background: rgba(2, 6, 13, 0.84);
    box-shadow: 0 24px 68px rgba(0, 0, 0, 0.52);
    transform: translate(-50%, -50%);
    animation: csaHomeSignal 4.8s ease-in-out infinite;
}

.space-guide-core img {
    width: 92px;
    height: 92px;
    object-fit: contain;
}

.space-guide-core strong,
.space-guide-core span {
    max-width: 150px;
    text-align: center;
    line-height: 1.2;
}

.space-guide-core strong {
    color: var(--space-white);
    font-size: 1rem;
}

.space-guide-core span {
    color: #f3ff00;
    font-size: 0.78rem;
    font-weight: 900;
}

.space-guide-visual-card {
    position: absolute;
    z-index: 2;
    display: grid;
    gap: 8px;
    width: 172px;
    min-height: 162px;
    padding: 10px;
    border: 1px solid rgba(104, 199, 255, 0.24);
    border-radius: var(--space-radius);
    background: rgba(7, 17, 31, 0.84);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.34);
    animation: csaHomeFloat 6s ease-in-out infinite;
}

.space-guide-visual-card img {
    width: 100%;
    height: 106px;
    object-fit: contain;
    border-radius: calc(var(--space-radius) - 2px);
    background: rgba(2, 6, 13, 0.58);
}

.space-guide-visual-card strong {
    color: var(--space-white);
    font-size: 0.86rem;
    line-height: 1.14;
}

.space-guide-visual-card.is-forceone {
    left: 28px;
    top: 38px;
}

.space-guide-visual-card.is-software {
    right: 28px;
    top: 74px;
    animation-delay: 420ms;
}

.space-guide-visual-card.is-joystick {
    left: 42px;
    bottom: 64px;
    animation-delay: 820ms;
}

.space-guide-visual-card.is-crosshair {
    right: 38px;
    bottom: 42px;
    animation-delay: 1280ms;
}

.space-guide-steps-section {
    padding-top: 42px;
    padding-bottom: 38px;
}

.space-guide-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.space-guide-step {
    position: relative;
    display: grid;
    align-content: start;
    min-height: 298px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid rgba(104, 199, 255, 0.22);
    border-radius: var(--space-radius);
    background:
        linear-gradient(180deg, rgba(27, 141, 255, 0.11), rgba(255, 255, 255, 0.018)),
        rgba(7, 17, 31, 0.76);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
    animation: spaceReveal 480ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.space-guide-step::after {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(104, 199, 255, 0), rgba(104, 199, 255, 0.68), rgba(104, 199, 255, 0));
    opacity: 0.55;
}

.space-guide-step.is-product::after {
    background: linear-gradient(90deg, rgba(243, 255, 0, 0), rgba(243, 255, 0, 0.72), rgba(243, 255, 0, 0));
}

.space-guide-step.is-premium::after {
    background: linear-gradient(90deg, rgba(95, 255, 194, 0), rgba(95, 255, 194, 0.72), rgba(95, 255, 194, 0));
}

.space-guide-step .space-step-number {
    border-radius: 50%;
}

.space-guide-step h3 {
    margin: 0 0 10px;
    color: var(--space-white);
    font-size: 1.18rem;
    line-height: 1.18;
}

.space-guide-step p {
    margin: 0;
    color: var(--space-muted);
    font-size: 0.94rem;
    line-height: 1.6;
}

.space-guide-step .space-cta-row {
    margin-top: auto;
    padding-top: 22px;
}

.space-guide-products {
    padding-top: 42px;
    padding-bottom: 44px;
}

.space-guide-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.space-guide-product-card {
    display: grid;
    grid-template-rows: 150px minmax(0, 1fr) auto;
    gap: 14px;
    min-height: 430px;
    padding: 14px;
    border: 1px solid rgba(104, 199, 255, 0.22);
    border-radius: var(--space-radius);
    background: rgba(7, 17, 31, 0.78);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
    transition: transform 170ms ease, border-color 170ms ease, background 170ms ease;
}

.space-guide-product-card:hover {
    transform: translateY(-2px);
    border-color: rgba(243, 255, 0, 0.32);
    background:
        linear-gradient(180deg, rgba(243, 255, 0, 0.06), rgba(27, 141, 255, 0.08)),
        rgba(7, 17, 31, 0.84);
}

.space-guide-product-card > img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--space-radius);
    background: rgba(2, 6, 13, 0.52);
}

.space-guide-product-card div {
    display: grid;
    align-content: start;
    gap: 8px;
}

.space-guide-product-card span {
    color: #f3ff00;
    font-size: 0.74rem;
    font-weight: 950;
    text-transform: uppercase;
}

.space-guide-product-card h3 {
    margin: 0;
    color: var(--space-white);
    font-size: 1rem;
    line-height: 1.18;
}

.space-guide-product-card p {
    margin: 0;
    color: var(--space-muted);
    font-size: 0.84rem;
    line-height: 1.5;
}

.space-guide-product-card .space-button-ghost {
    width: 100%;
}

.space-guide-apply {
    padding-top: 34px;
}

.space-guide-apply-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
    gap: 18px;
    align-items: stretch;
    padding: 20px;
    border: 1px solid rgba(104, 199, 255, 0.28);
    border-radius: var(--space-radius);
    background:
        linear-gradient(135deg, rgba(27, 141, 255, 0.16), rgba(7, 17, 31, 0.72) 48%, rgba(95, 255, 194, 0.08)),
        rgba(7, 17, 31, 0.86);
    box-shadow: 0 26px 90px rgba(0, 0, 0, 0.34);
    animation: spaceReveal 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.space-guide-apply-panel h2 {
    max-width: 780px;
    margin: 0 0 12px;
    color: var(--space-white);
    font-size: clamp(2.1rem, 4vw, 3.3rem);
    line-height: 1;
}

.space-guide-apply-panel p {
    max-width: 720px;
    margin: 0;
    color: var(--space-muted);
    line-height: 1.65;
}

.space-guide-checks {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.space-guide-checks li {
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 10px 12px;
    border: 1px solid rgba(104, 199, 255, 0.2);
    border-radius: var(--space-radius);
    background: rgba(2, 6, 13, 0.44);
    color: #dce8f3;
    font-size: 0.88rem;
    font-weight: 850;
}

.space-guide-checks li::before {
    content: "";
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    margin-right: 10px;
    border-radius: 50%;
    background: #5fffc2;
    box-shadow: 0 0 14px rgba(95, 255, 194, 0.52);
}

.space-guide-compact {
    padding-top: 46px;
    padding-bottom: 28px;
}

.space-guide-compact-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: end;
    padding: 20px;
    border: 1px solid rgba(104, 199, 255, 0.24);
    border-radius: var(--space-radius);
    background:
        linear-gradient(135deg, rgba(27, 141, 255, 0.13), rgba(95, 255, 194, 0.06)),
        rgba(7, 17, 31, 0.8);
    box-shadow: 0 22px 72px rgba(0, 0, 0, 0.28);
    animation: spaceReveal 420ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.space-guide-compact-head .space-kicker {
    margin-bottom: 10px;
}

.space-guide-compact-head .space-page-title {
    max-width: 720px;
    margin: 0;
    font-size: clamp(2.35rem, 5vw, 4.1rem);
    line-height: 1;
}

.space-guide-compact-head p {
    max-width: 780px;
    margin: 12px 0 0;
    color: var(--space-muted);
    font-size: 1rem;
    line-height: 1.58;
}

.space-guide-compact-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.space-guide-compact-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.space-guide-compact-step {
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 226px;
    padding: 16px;
    border: 1px solid rgba(104, 199, 255, 0.22);
    border-radius: var(--space-radius);
    background: rgba(7, 17, 31, 0.78);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.space-guide-compact-step:hover {
    transform: translateY(-2px);
    border-color: rgba(95, 255, 194, 0.32);
    background:
        linear-gradient(180deg, rgba(27, 141, 255, 0.08), rgba(95, 255, 194, 0.04)),
        rgba(7, 17, 31, 0.82);
}

.space-guide-compact-step > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 32px;
    border: 1px solid rgba(243, 255, 0, 0.32);
    border-radius: var(--space-radius);
    color: #f3ff00;
    font-size: 0.72rem;
    font-weight: 950;
}

.space-guide-compact-step h2 {
    margin: 0;
    color: var(--space-white);
    font-size: 1.08rem;
    line-height: 1.18;
}

.space-guide-compact-step p {
    margin: 0;
    color: var(--space-muted);
    font-size: 0.88rem;
    line-height: 1.48;
}

.space-guide-compact-step .space-button-ghost {
    align-self: end;
    width: fit-content;
    margin-top: auto;
}

.space-guide-compact-step-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-self: end;
    margin-top: auto;
}

.space-guide-compact-step-actions .space-button-ghost {
    margin-top: 0;
}

.space-guide-compact-products {
    padding-top: 26px;
    padding-bottom: 28px;
}

.space-guide-mini-products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.space-guide-mini-product {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 12px;
    min-height: 210px;
    padding: 12px;
    border: 1px solid rgba(104, 199, 255, 0.2);
    border-radius: var(--space-radius);
    background: rgba(7, 17, 31, 0.78);
    box-shadow: 0 16px 46px rgba(0, 0, 0, 0.2);
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.space-guide-mini-product:hover {
    transform: translateY(-2px);
    border-color: rgba(243, 255, 0, 0.3);
    background:
        linear-gradient(180deg, rgba(243, 255, 0, 0.045), rgba(27, 141, 255, 0.07)),
        rgba(7, 17, 31, 0.84);
}

.space-guide-mini-product img {
    width: 82px;
    height: 82px;
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--space-radius);
    background: rgba(2, 6, 13, 0.48);
}

.space-guide-mini-product div {
    display: grid;
    align-content: start;
    gap: 5px;
    min-width: 0;
}

.space-guide-mini-product span {
    color: var(--space-blue-2);
    font-size: 0.68rem;
    font-weight: 950;
    text-transform: uppercase;
}

.space-guide-mini-product h3 {
    margin: 0;
    color: var(--space-white);
    font-size: 0.96rem;
    line-height: 1.16;
}

.space-guide-mini-product p {
    margin: 0;
    color: var(--space-muted);
    font-size: 0.8rem;
    line-height: 1.42;
}

.space-guide-mini-product .space-button-ghost {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 38px;
}

.space-guide-compact-final {
    padding-top: 22px;
}

.space-guide-compact-final-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(95, 255, 194, 0.26);
    border-radius: var(--space-radius);
    background:
        linear-gradient(90deg, rgba(27, 141, 255, 0.11), rgba(95, 255, 194, 0.08)),
        rgba(7, 17, 31, 0.82);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
}

.space-guide-compact-final-panel strong {
    display: block;
    color: var(--space-white);
    font-size: 1.18rem;
    line-height: 1.2;
}

.space-guide-compact-final-panel p {
    max-width: 760px;
    margin: 5px 0 0;
    color: var(--space-muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.space-guide-compact-final-panel ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
    max-width: 390px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.space-guide-compact-final-panel li {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid rgba(95, 255, 194, 0.22);
    border-radius: var(--space-radius);
    background: rgba(2, 6, 13, 0.42);
    color: #dce8f3;
    font-size: 0.72rem;
    font-weight: 850;
    white-space: nowrap;
}

.space-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.space-step {
    padding: 26px;
}

.space-step-number {
    border-radius: 50%;
}

.space-auth-wrap {
    width: min(1040px, calc(100% - 36px));
    min-height: 100vh;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 430px);
    gap: clamp(28px, 6vw, 80px);
    align-items: center;
    padding: 38px 0;
}

.space-auth-copy {
    max-width: 560px;
}

.space-auth-panel {
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: rgba(7, 17, 31, 0.86);
    box-shadow: var(--space-shadow);
    padding: 26px;
}

.space-auth-page {
    width: min(1160px, calc(100% - 36px));
    padding-top: 58px;
    padding-bottom: 70px;
}

.space-auth-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.98fr) minmax(340px, 440px);
    gap: clamp(28px, 6vw, 74px);
    align-items: center;
    min-height: calc(100vh - 260px);
}

.space-auth-copy-page {
    max-width: 650px;
}

.space-auth-copy-page .space-page-title {
    max-width: 620px;
}

.space-auth-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 28px;
}

.space-auth-benefits div {
    min-height: 118px;
    padding: 14px;
    border: 1px solid rgba(104, 199, 255, 0.2);
    border-radius: var(--space-radius);
    background:
        linear-gradient(180deg, rgba(27, 141, 255, 0.1), rgba(255, 255, 255, 0.025)),
        rgba(7, 17, 31, 0.68);
}

.space-auth-benefits span {
    display: block;
    margin-bottom: 8px;
    color: var(--space-blue-2);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.space-auth-benefits strong {
    display: block;
    color: var(--space-white);
    font-size: 0.9rem;
    line-height: 1.35;
}

.space-auth-panel-page {
    position: relative;
    overflow: hidden;
}

.space-auth-panel-page::before {
    content: "";
    position: absolute;
    inset: 0;
    border-top: 1px solid rgba(104, 199, 255, 0.42);
    background: linear-gradient(120deg, rgba(27, 141, 255, 0.14), transparent 45%);
    pointer-events: none;
}

.space-auth-panel-page > * {
    position: relative;
    z-index: 1;
}

.space-auth-panel-page .space-panel-head {
    margin-bottom: 18px;
}

.space-auth-panel-page .space-panel-head h2 {
    margin: 0;
    color: var(--space-white);
    font-size: 1.45rem;
}

.space-auth-note {
    margin: 18px 0 0;
    color: var(--space-muted);
    font-size: 0.95rem;
}

.space-auth-note a {
    color: var(--space-blue-2);
    font-weight: 800;
}

.space-form {
    display: grid;
    gap: 14px;
}

.space-form label {
    display: grid;
    gap: 8px;
    color: var(--space-muted);
    font-size: 0.9rem;
}

.space-field-label {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.space-required-star {
    color: #ff6f87;
    font-size: 1.05rem;
    font-weight: 950;
    line-height: 1;
}

.space-alert {
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 93, 122, 0.45);
    border-radius: var(--space-radius);
    background: rgba(255, 93, 122, 0.12);
    color: var(--space-white);
}

.space-alert-success {
    border-color: rgba(95, 255, 194, 0.42);
    background: rgba(95, 255, 194, 0.1);
}

.space-cart-success-next {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 12px;
    margin-bottom: 14px;
    padding: 18px;
    border: 1px solid rgba(95, 255, 194, 0.32);
    border-radius: var(--space-radius);
    background:
        linear-gradient(135deg, rgba(95, 255, 194, 0.12), rgba(27, 141, 255, 0.08)),
        rgba(7, 17, 31, 0.8);
}

.space-cart-success-next span {
    display: block;
    margin-bottom: 6px;
    color: var(--space-blue-2);
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.space-cart-success-next h2 {
    margin: 0;
    color: var(--space-white);
    font-size: 1.24rem;
}

.space-cart-success-next p {
    max-width: 820px;
    margin: 8px 0 0;
    color: var(--space-muted);
    line-height: 1.55;
}

.space-cart-success-next .space-button {
    flex: 0 0 auto;
}

.space-profile-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
    gap: 18px;
}

.space-profile-side,
.space-profile-data {
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: rgba(7, 17, 31, 0.78);
    padding: 24px;
}

.space-profile-avatar-card {
    display: grid;
    justify-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 16px;
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background:
        radial-gradient(circle at 30% 15%, rgba(255, 255, 255, 0.1), transparent 32%),
        rgba(7, 17, 31, 0.58);
}

.space-profile-avatar-preview {
    position: relative;
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    overflow: hidden;
    border: 1px solid rgba(104, 199, 255, 0.35);
    border-radius: 18px;
    background:
        radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.28), transparent 34%),
        linear-gradient(135deg, var(--profile-avatar-color, #68c7ff), rgba(7, 17, 31, 0.96));
    color: var(--space-white);
    font-size: 1.4rem;
    font-weight: 950;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.space-profile-avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.space-profile-avatar-form {
    display: block;
}

.space-profile-avatar-file {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    opacity: 0;
    pointer-events: none;
}

.space-profile-avatar-edit {
    position: absolute;
    right: 6px;
    bottom: 6px;
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid rgba(104, 199, 255, 0.58);
    border-radius: 999px;
    background: #1b8dff;
    color: var(--space-white);
    cursor: pointer;
    box-shadow: 0 14px 32px rgba(27, 141, 255, 0.36), 0 8px 18px rgba(0, 0, 0, 0.32);
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.space-profile-avatar-edit svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.space-profile-avatar-edit:hover {
    transform: translateY(-2px) scale(1.04);
    background: #38bdf8;
    border-color: rgba(224, 242, 254, 0.9);
    box-shadow: 0 18px 40px rgba(56, 189, 248, 0.34), 0 10px 22px rgba(0, 0, 0, 0.34);
}

.space-profile-avatar-edit:focus-visible {
    outline: 2px solid rgba(224, 242, 254, 0.95);
    outline-offset: 3px;
}

.space-avatar-cropper {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: start center;
    padding: clamp(14px, 4vh, 34px) 20px 20px;
    overflow-y: auto;
    background: rgba(2, 6, 13, 0.76);
    backdrop-filter: blur(14px);
}

.space-avatar-cropper[hidden] {
    display: none;
}

.space-avatar-cropper-panel {
    width: min(520px, calc(100vw - 28px));
    max-height: calc(100vh - 40px);
    padding: 18px;
    overflow-y: auto;
    border: 1px solid rgba(104, 199, 255, 0.24);
    border-radius: var(--space-radius);
    background: rgba(7, 17, 31, 0.98);
    box-shadow: 0 26px 82px rgba(0, 0, 0, 0.52);
}

.space-avatar-cropper-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.space-avatar-cropper-head span,
.space-avatar-zoom-control span {
    color: var(--space-blue-2);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.space-avatar-cropper-head h3 {
    margin: 4px 0 0;
    color: var(--space-white);
    font-size: 1.42rem;
}

.space-avatar-cropper-close {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: rgba(2, 6, 13, 0.52);
    color: var(--space-white);
    font-size: 1.35rem;
    cursor: pointer;
}

.space-avatar-cropper-stage {
    position: relative;
    width: min(360px, calc(100vw - 72px), calc(100vh - 260px));
    min-width: min(260px, calc(100vw - 72px));
    aspect-ratio: 1;
    margin: 0 auto 16px;
    overflow: hidden;
    border: 1px solid rgba(104, 199, 255, 0.34);
    border-radius: 18px;
    background:
        linear-gradient(45deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.04) 75%),
        linear-gradient(45deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.04) 75%),
        rgba(2, 6, 13, 0.88);
    background-position: 0 0, 12px 12px;
    background-size: 24px 24px;
    touch-action: none;
    cursor: grab;
}

.space-avatar-cropper-stage.is-dragging {
    cursor: grabbing;
}

.space-avatar-cropper-stage img {
    position: absolute;
    left: 0;
    top: 0;
    max-width: none;
    transform-origin: 0 0;
    user-select: none;
    pointer-events: none;
}

.space-avatar-cropper-frame {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(224, 242, 254, 0.88);
    border-radius: 18px;
    box-shadow: inset 0 0 0 999px rgba(2, 6, 13, 0.08);
    pointer-events: none;
}

.space-avatar-zoom-control {
    display: grid;
    gap: 8px;
}

.space-avatar-zoom-control input {
    width: 100%;
    accent-color: var(--space-blue);
}

.space-avatar-cropper-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
}

.space-member-card {
    display: grid;
    gap: 7px;
    margin-top: 18px;
    padding: 14px;
    border: 1px solid var(--space-line);
    border-left: 4px solid var(--member-accent);
    border-radius: var(--space-radius);
    background: rgba(2, 6, 13, 0.48);
    box-shadow: none;
}

.space-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.space-coin-transfer {
    display: grid;
    gap: 16px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--space-line);
}

.space-coin-transfer-balance {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 0;
}

.space-coin-transfer-balance img {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    object-fit: cover;
}

.space-coin-transfer-balance div {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.space-coin-transfer-balance span {
    color: var(--space-muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.space-coin-transfer-balance strong {
    color: #ffe05d;
    font-size: 1.55rem;
    line-height: 1;
}

.space-coin-transfer-head h3 {
    margin: 0;
    color: var(--space-white);
    font-size: 1rem;
}

.space-coin-transfer-form {
    gap: 12px;
}

.space-coin-transfer-modal {
    position: fixed;
    inset: 0;
    z-index: 1600;
    display: grid;
    place-items: center;
    padding: 18px;
}

.space-coin-transfer-modal[hidden] {
    display: none;
}

.space-coin-transfer-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(1, 5, 12, 0.8);
    backdrop-filter: blur(10px);
    cursor: default;
    opacity: 0;
    transition: opacity 180ms ease;
}

.space-coin-transfer-dialog {
    position: relative;
    z-index: 1;
    width: min(460px, calc(100vw - 28px));
    padding: 24px;
    border: 1px solid rgba(104, 199, 255, 0.34);
    border-radius: 8px;
    background: #091524;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.58);
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    transition: opacity 180ms ease, transform 180ms ease;
}

.space-coin-transfer-modal.is-open .space-coin-transfer-backdrop,
.space-coin-transfer-modal.is-open .space-coin-transfer-dialog {
    opacity: 1;
}

.space-coin-transfer-modal.is-open .space-coin-transfer-dialog {
    transform: translateY(0) scale(1);
}

.space-coin-transfer-dialog h2 {
    margin: 0 42px 20px 0;
    color: var(--space-white);
    font-size: 1.3rem;
}

.space-coin-transfer-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--space-line);
    border-radius: 7px;
    background: #111c2b;
    color: var(--space-white);
    font-size: 1.2rem;
    cursor: pointer;
}

.space-coin-transfer-summary {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--space-line);
    border-bottom: 1px solid var(--space-line);
}

.space-coin-transfer-summary > div {
    display: grid;
    gap: 5px;
    padding: 16px 0;
}

.space-coin-transfer-summary > div + div {
    border-top: 1px solid var(--space-line);
}

.space-coin-transfer-summary span,
.space-coin-transfer-summary small {
    color: var(--space-muted);
    font-size: 0.8rem;
}

.space-coin-transfer-summary strong {
    font-size: 1.25rem;
}

.space-coin-transfer-summary .is-debit strong {
    color: #ff6685;
}

.space-coin-transfer-summary .is-credit strong {
    color: #4ce3a5;
}

.space-coin-transfer-summary small {
    overflow-wrap: anywhere;
}

.space-coin-transfer-dialog-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

body.has-coin-transfer-modal {
    overflow: hidden;
}

.space-data-list {
    display: grid;
    gap: 10px;
}

.space-data-row {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid var(--space-line);
}

.space-data-row.is-member-premium,
.space-data-row.is-member-lifetime {
    padding: 13px 12px;
    border: 1px solid rgba(var(--member-accent-rgb), 0.26);
    border-radius: var(--space-radius);
    background: rgba(var(--member-accent-rgb), 0.08);
}

.space-data-row-status strong,
.space-data-row-days strong {
    color: var(--member-accent);
}

.space-data-row:last-child {
    border-bottom: 0;
}

.space-data-row span {
    color: var(--space-muted);
}

.space-data-row strong {
    min-width: 0;
    overflow-wrap: anywhere;
}

.space-product-card small {
    display: block;
    margin-top: 14px;
    color: var(--space-blue-2);
    line-height: 1.4;
}

.space-home-shop-preview {
    padding-top: 34px;
    padding-bottom: 58px;
}

.space-home-v2-strip {
    padding-top: 8px;
    padding-bottom: 28px;
}

.space-home-premium-access-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    border: 1px solid rgba(95, 255, 194, 0.26);
    border-radius: var(--space-radius);
    background:
        linear-gradient(90deg, rgba(27, 141, 255, 0.12), rgba(95, 255, 194, 0.09), rgba(243, 255, 0, 0.05)),
        rgba(7, 17, 31, 0.78);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
}

.space-home-premium-access-panel div {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.space-home-premium-access-panel span {
    color: var(--space-blue-2);
    font-size: 0.72rem;
    font-weight: 950;
    text-transform: uppercase;
}

.space-home-premium-access-panel strong {
    color: var(--space-white);
    font-size: clamp(1.02rem, 2vw, 1.36rem);
    line-height: 1.22;
    overflow-wrap: break-word;
}

.space-home-premium-access-panel p {
    max-width: 820px;
    margin: 0;
    color: var(--space-muted);
    font-size: 0.92rem;
    line-height: 1.48;
}

.space-home-premium-access-panel .space-button {
    flex: 0 0 auto;
}

.space-home-v2-compat-track {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(104, 199, 255, 0.2);
    border-radius: var(--space-radius);
    background:
        linear-gradient(90deg, rgba(27, 141, 255, 0.1), rgba(243, 255, 0, 0.06), rgba(95, 255, 194, 0.08)),
        rgba(7, 17, 31, 0.66);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
}

.space-home-v2-compat-track span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--space-radius);
    background: rgba(2, 6, 13, 0.48);
    color: #d7e5f2;
    font-size: 0.78rem;
    font-weight: 850;
    line-height: 1.1;
}

.space-home-v2-flow {
    padding-top: 40px;
    padding-bottom: 38px;
}

.space-home-v2-flow .space-section-head,
.space-home-v2-product-cloud .space-shop-highlight {
    animation: spaceReveal 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.space-home-v2-flow-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.space-home-v2-flow-grid article {
    display: grid;
    align-content: start;
    min-height: 206px;
    padding: 20px;
    border: 1px solid rgba(104, 199, 255, 0.24);
    border-radius: var(--space-radius);
    background:
        linear-gradient(180deg, rgba(27, 141, 255, 0.1), rgba(255, 255, 255, 0.02)),
        rgba(7, 17, 31, 0.74);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.23);
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.space-home-v2-flow-grid article:hover {
    transform: translateY(-2px);
    border-color: rgba(243, 255, 0, 0.32);
    background:
        linear-gradient(180deg, rgba(243, 255, 0, 0.08), rgba(27, 141, 255, 0.08)),
        rgba(7, 17, 31, 0.8);
}

.space-home-v2-flow-grid span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 32px;
    margin-bottom: 18px;
    border: 1px solid rgba(243, 255, 0, 0.3);
    border-radius: var(--space-radius);
    color: #f3ff00;
    font-size: 0.72rem;
    font-weight: 950;
}

.space-home-v2-flow-grid h3 {
    margin: 0 0 10px;
    color: var(--space-white);
    font-size: 1.18rem;
    line-height: 1.16;
}

.space-home-v2-flow-grid p {
    margin: 0;
    color: var(--space-muted);
    font-size: 0.94rem;
    line-height: 1.58;
}

.space-home-v2-product-cloud {
    padding-top: 28px;
    padding-bottom: 34px;
}

.space-home-v2-feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    min-width: 280px;
}

.space-home-v2-feature-list span {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 10px 12px;
    border: 1px solid rgba(104, 199, 255, 0.2);
    border-radius: var(--space-radius);
    background: rgba(2, 6, 13, 0.44);
    color: #dce8f3;
    font-size: 0.86rem;
    font-weight: 850;
    line-height: 1.2;
}

.space-home-v2-feature-list span::before {
    content: "";
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin-right: 10px;
    border-radius: 50%;
    background: #f3ff00;
    box-shadow: 0 0 12px rgba(243, 255, 0, 0.55);
}

.space-home-remap {
    padding-top: 52px;
    padding-bottom: 44px;
}

.space-home-remap .space-section-head {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(320px, 0.72fr);
    gap: clamp(28px, 6vw, 88px);
    align-items: center;
    margin-bottom: 24px;
}

.space-home-remap .space-section-head > div {
    max-width: 620px;
}

.space-home-remap .space-section-head .space-page-title {
    max-width: 620px;
    font-size: 2.72rem;
    line-height: 1.08;
}

.space-home-remap .space-section-head > p {
    justify-self: end;
    max-width: 560px;
    border-left: 1px solid rgba(104, 199, 255, 0.28);
    padding-left: 24px;
    color: #bdc8d5;
    font-size: 1rem;
    line-height: 1.72;
}

.space-home-remap-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.space-home-remap-grid article {
    display: grid;
    align-content: start;
    min-height: 188px;
    padding: 20px;
    border: 1px solid rgba(104, 199, 255, 0.22);
    border-radius: var(--space-radius);
    background:
        linear-gradient(180deg, rgba(27, 141, 255, 0.11), rgba(255, 255, 255, 0.018)),
        rgba(7, 17, 31, 0.76);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
}

.space-home-remap-grid span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 16px;
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    color: var(--space-blue-2);
    font-size: 0.76rem;
    font-weight: 900;
}

.space-home-remap-grid h3 {
    margin: 0 0 10px;
    color: var(--space-white);
    font-size: 1.16rem;
}

.space-home-remap-grid p {
    margin: 0;
    color: var(--space-muted);
    font-size: 0.94rem;
    line-height: 1.6;
}

.space-home-product-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.space-home-product-guide-card {
    min-height: 520px;
}

.space-home-product-guide-card .space-product-image {
    max-height: 168px;
}

.space-home-product-guide-card .space-shop-card-body {
    gap: 10px;
    padding: 14px;
}

.space-home-product-guide-card .space-shop-card-body h3 {
    margin: 0;
    color: var(--space-white);
    font-size: 1.05rem;
    line-height: 1.18;
}

.space-home-product-description {
    min-height: 68px;
    margin: 0;
    color: var(--space-muted);
    font-size: 0.86rem;
    line-height: 1.48;
}

.space-home-product-details {
    margin-top: 0;
}

.space-home-product-steps {
    display: grid;
    gap: 8px;
    margin: 10px 0;
    padding: 0;
    list-style: none;
    counter-reset: csaHomeProductStep;
}

.space-home-product-steps li {
    position: relative;
    min-height: 40px;
    padding: 9px 10px 9px 38px;
    border: 1px solid rgba(104, 199, 255, 0.16);
    border-radius: var(--space-radius);
    background: rgba(2, 6, 13, 0.34);
    color: var(--space-muted);
    font-size: 0.8rem;
    line-height: 1.42;
}

.space-home-product-steps li::before {
    counter-increment: csaHomeProductStep;
    content: counter(csaHomeProductStep);
    position: absolute;
    left: 9px;
    top: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(104, 199, 255, 0.34);
    border-radius: var(--space-radius);
    color: var(--space-blue-2);
    font-size: 0.68rem;
    font-weight: 900;
}

.space-home-product-steps strong {
    display: block;
    margin-bottom: 3px;
    color: var(--space-white);
    font-size: 0.78rem;
}

.space-home-product-actions {
    margin-top: auto;
}

.space-home-mission {
    padding-top: 38px;
    padding-bottom: 38px;
}

.space-home-mission-panel {
    display: grid;
    grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
    gap: 16px;
    align-items: stretch;
    border: 1px solid rgba(104, 199, 255, 0.28);
    border-radius: var(--space-radius);
    background:
        linear-gradient(135deg, rgba(27, 141, 255, 0.17), rgba(7, 17, 31, 0.72) 46%, rgba(2, 6, 13, 0.9)),
        rgba(7, 17, 31, 0.86);
    box-shadow: 0 26px 90px rgba(0, 0, 0, 0.34);
    padding: 18px;
    overflow: hidden;
    animation: spaceReveal 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.space-home-mission-copy {
    display: grid;
    align-content: center;
    gap: 14px;
    padding: clamp(10px, 2vw, 20px);
}

.space-home-mission-copy .space-kicker {
    margin: 0;
}

.space-home-mission-copy h2 {
    max-width: 680px;
    margin: 0;
    color: var(--space-white);
    font-size: 3.05rem;
    line-height: 1;
}

.space-home-mission-copy p {
    max-width: 720px;
    margin: 0;
    color: var(--space-muted);
    font-size: 1rem;
    line-height: 1.65;
}

.space-home-mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.space-home-mission-grid article {
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 0;
    padding: 16px;
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: rgba(2, 6, 13, 0.52);
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.space-home-mission-grid article:hover {
    transform: translateY(-2px);
    border-color: rgba(104, 199, 255, 0.34);
    background: rgba(27, 141, 255, 0.11);
}

.space-home-mission-grid span {
    color: var(--space-blue-2);
    font-size: 0.76rem;
    font-weight: 900;
}

.space-home-mission-grid h3 {
    margin: 0;
    color: var(--space-white);
    font-size: 1.08rem;
    line-height: 1.2;
}

.space-home-mission-grid p {
    margin: 0;
    color: var(--space-muted);
    font-size: 0.86rem;
    line-height: 1.55;
}

.space-home-product-grid {
    grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
    gap: 14px;
}

.space-home-product-card .space-product-image {
    max-height: 146px;
}

.space-home-product-card .space-shop-card-body p {
    min-height: 42px;
    margin: 0;
}

.space-home-flow {
    padding-top: 34px;
}

.space-product-matrix {
    display: grid;
    gap: 18px;
}

.space-product-item {
    display: grid;
    grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
    gap: 22px;
    align-items: stretch;
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: rgba(7, 17, 31, 0.74);
    overflow: hidden;
}

.space-product-media {
    min-height: 260px;
    background-color: #03070f;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    position: relative;
}

.space-product-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 13, 0.06), rgba(2, 6, 13, 0.78));
}

.space-product-media span {
    position: absolute;
    z-index: 1;
    left: 16px;
    bottom: 16px;
    padding: 7px 10px;
    border: 1px solid var(--space-line-strong);
    border-radius: var(--space-radius);
    background: rgba(2, 6, 13, 0.78);
    color: var(--space-blue-2);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.space-product-copy {
    padding: 26px 26px 26px 0;
}

.space-product-copy h2,
.space-premium-focus h2,
.space-shop-highlight h2,
.space-interface-panel h2 {
    margin: 0;
    color: var(--space-white);
    font-size: 1.65rem;
}

.space-product-copy p,
.space-premium-focus p,
.space-shop-highlight p,
.space-interface-panel p {
    margin: 12px 0 0;
    color: var(--space-muted);
}

.space-product-copy strong {
    display: block;
    margin-top: 14px;
    color: var(--space-blue-2);
}

.space-mini-label,
.space-premium-focus span,
.space-shop-highlight span {
    display: block;
    margin: 0 0 8px;
    color: var(--space-blue-2);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.space-premium-focus,
.space-shop-highlight,
.space-interface-panel {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    align-items: center;
    margin: 0 0 20px;
    padding: 24px;
    border: 1px solid var(--space-line-strong);
    border-radius: var(--space-radius);
    background: rgba(27, 141, 255, 0.14);
}

.space-interface-panel {
    display: block;
    margin: 22px 0 0;
    border-color: var(--space-line);
    background: rgba(2, 6, 13, 0.36);
}

.is-hidden {
    display: none !important;
}

.space-profile-orders {
    margin-top: 22px;
}

.space-profile-orders .space-section-head h2 {
    margin: 4px 0 0;
    color: var(--space-white);
    font-size: 1.65rem;
}

.space-orders-grid {
    display: grid;
    gap: 16px;
}

.space-order-filters {
    position: relative;
    display: flex;
    justify-content: flex-end;
    margin: 0 0 16px;
    padding: 0;
    border: 0;
    background: transparent;
    z-index: 3;
}

.space-order-filter-bar {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
}

.space-order-filter-bar strong {
    color: var(--space-white);
    font-size: 0.92rem;
}

.space-order-filter-toggle[aria-expanded="true"] {
    border-color: var(--space-line-strong);
    background: rgba(27, 141, 255, 0.16);
    color: var(--space-white);
}

.space-order-filter-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    display: grid;
    gap: 14px;
    width: min(520px, calc(100vw - 36px));
    max-height: min(620px, calc(100vh - 180px));
    padding: 16px;
    overflow: auto;
    border: 1px solid rgba(104, 199, 255, 0.24);
    border-radius: var(--space-radius);
    background: rgba(7, 17, 31, 0.98);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.44);
}

.space-order-filter-panel[hidden] {
    display: none;
}

.space-order-filter-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.space-order-filter-head span,
.space-order-filter-groups legend {
    color: var(--space-blue-2);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.space-order-filter-head strong {
    display: block;
    margin-top: 4px;
    color: var(--space-white);
}

.space-order-filter-groups {
    display: grid;
    gap: 13px;
}

.space-order-filter-groups fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.space-order-filter-groups fieldset > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.space-order-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 36px;
    padding: 8px 10px;
    border: 1px solid rgba(154, 168, 189, 0.22);
    border-radius: var(--space-radius);
    background: rgba(2, 6, 13, 0.52);
    color: var(--space-muted);
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.space-order-filter-chip input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--space-blue);
}

.space-order-filter-chip span {
    min-width: 0;
    color: inherit;
    font-size: 0.86rem;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.space-order-filter-chip:hover {
    border-color: rgba(104, 199, 255, 0.46);
    color: var(--space-white);
    transform: translateY(-1px);
}

.space-order-filter-chip:has(input:checked) {
    border-color: rgba(39, 224, 154, 0.42);
    background: rgba(39, 224, 154, 0.12);
    color: var(--space-white);
}

.space-order-filter-chip input:focus-visible {
    outline: 2px solid rgba(104, 199, 255, 0.55);
    outline-offset: 2px;
}

.space-order-filter-empty {
    margin-top: 14px;
}

.space-order-card {
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: rgba(7, 17, 31, 0.78);
    padding: 18px;
}

.space-order-card-focus {
    max-width: 980px;
}

.space-order-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.space-order-card-head span,
.space-tracking-head span {
    color: var(--space-blue-2);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.space-order-card-head h2,
.space-order-card-head h3 {
    margin: 4px 0 2px;
    color: var(--space-white);
    font-size: 1.25rem;
}

.space-order-card-head small,
.space-order-products small,
.space-tracking-head small,
.space-tracking-timeline small,
.space-tracking-event small {
    color: var(--space-muted);
}

.space-order-card-head > strong {
    color: var(--space-white);
    font-size: 1.15rem;
    white-space: nowrap;
}

.space-order-products {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.space-order-products span {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid rgba(104, 199, 255, 0.12);
    padding-top: 8px;
    color: var(--space-white);
}

.space-order-products span:first-child {
    border-top: 0;
    padding-top: 0;
}

.space-order-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}

.space-order-actions > span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    border: 1px solid rgba(104, 199, 255, 0.26);
    border-radius: var(--space-radius);
    background: rgba(27, 141, 255, 0.1);
    color: var(--space-blue-2);
    font-size: 0.85rem;
    font-weight: 900;
    padding: 0 11px;
}

.space-order-tracking {
    margin-top: 18px;
    border-top: 1px solid var(--space-line);
    padding-top: 18px;
}

.space-tracking-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.space-tracking-head strong {
    display: block;
    margin-top: 3px;
    color: var(--space-white);
    font-size: 1.1rem;
}

.space-order-tracking p {
    margin: 12px 0 0;
    color: var(--space-muted);
    line-height: 1.55;
}

.space-tracking-number {
    color: var(--space-white) !important;
    font-weight: 850;
}

.space-tracking-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.space-tracking-timeline {
    display: grid;
    gap: 0;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.space-tracking-timeline li {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 12px;
    position: relative;
    min-height: 56px;
    padding: 0 0 14px;
}

.space-tracking-timeline li::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 20px;
    bottom: -2px;
    width: 2px;
    background: rgba(104, 199, 255, 0.16);
}

.space-tracking-timeline li:last-child::before {
    display: none;
}

.space-tracking-dot {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(154, 168, 189, 0.55);
    border-radius: 50%;
    background: rgba(7, 17, 31, 0.95);
    margin-top: 2px;
}

.space-tracking-timeline li.is-active .space-tracking-dot {
    border-color: var(--space-blue-2);
    background: var(--space-blue);
    box-shadow: 0 0 0 5px rgba(27, 141, 255, 0.12);
}

.space-tracking-timeline strong,
.space-tracking-event strong {
    display: block;
    color: var(--space-white);
}

.space-tracking-timeline small,
.space-tracking-timeline em {
    display: block;
    margin-top: 3px;
    font-style: normal;
}

.space-tracking-timeline em {
    color: var(--space-blue-2);
    font-size: 0.78rem;
    font-weight: 850;
}

.space-tracking-events {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.space-tracking-event {
    border-top: 1px solid rgba(104, 199, 255, 0.12);
    padding-top: 10px;
}

.space-tracking-empty {
    margin: 14px 0 0;
    color: var(--space-muted);
}

.space-order-track-page .space-section-head {
    max-width: 980px;
}

.space-access-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.space-access-list span,
.space-access-list a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: rgba(2, 6, 13, 0.52);
    color: var(--space-white);
    font-size: 0.9rem;
}

.space-access-list a:hover {
    border-color: var(--space-line-strong);
    color: var(--space-blue-2);
}

.space-shop-section {
    padding-top: 46px;
    width: min(1440px, calc(100% - 36px));
}

.space-shop-section .space-kicker {
    margin-bottom: 10px;
}

.space-shop-section .space-section-head {
    align-items: center;
    margin-bottom: 18px;
}

.space-shop-section .space-page-title {
    font-size: 3.05rem;
}

.space-shop-section .space-section-head p {
    max-width: 480px;
    font-size: 0.95rem;
}

.space-shop-section .space-shop-highlight {
    margin-bottom: 0;
    padding: 16px;
}

.space-shop-section .space-shop-highlight h2 {
    font-size: 1.28rem;
}

.space-shop-section .space-shop-highlight p {
    font-size: 0.88rem;
}

.space-shop-section .space-shop-highlight .space-button {
    min-height: 36px;
    font-size: 0.82rem;
}

.space-shop-layout {
    display: grid;
    grid-template-columns: minmax(230px, 0.25fr) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.space-catalog-flow {
    display: grid;
    gap: 14px;
}

.space-catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.space-catalog-grid-unified {
    grid-template-columns: repeat(auto-fill, minmax(218px, 1fr));
    gap: 12px;
    align-items: stretch;
}

.space-shop-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 492px;
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
        rgba(7, 17, 31, 0.82);
    overflow: hidden;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
    animation: spaceReveal 440ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.space-shop-card:hover {
    border-color: rgba(104, 199, 255, 0.34);
    background:
        linear-gradient(180deg, rgba(27, 141, 255, 0.1), rgba(255, 255, 255, 0.018)),
        rgba(7, 17, 31, 0.88);
    transform: translateY(-2px);
}

.space-shop-card.is-adding,
.space-premium-card.is-adding {
    border-color: var(--space-success);
    box-shadow: 0 0 0 4px rgba(95, 255, 194, 0.1);
}

.space-catalog-grid-unified .space-shop-card:nth-child(1) { animation-delay: 20ms; }
.space-catalog-grid-unified .space-shop-card:nth-child(2) { animation-delay: 55ms; }
.space-catalog-grid-unified .space-shop-card:nth-child(3) { animation-delay: 90ms; }
.space-catalog-grid-unified .space-shop-card:nth-child(4) { animation-delay: 125ms; }
.space-catalog-grid-unified .space-shop-card:nth-child(5) { animation-delay: 160ms; }
.space-catalog-grid-unified .space-shop-card:nth-child(6) { animation-delay: 195ms; }
.space-catalog-grid-unified .space-shop-card:nth-child(n+7) { animation-delay: 230ms; }

.space-product-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 142px;
    object-fit: contain;
    border-bottom: 1px solid var(--space-line);
    background: #02060d;
    transition: opacity 180ms ease, transform 220ms ease, filter 220ms ease;
}

.space-product-image.is-switching {
    opacity: 0.74;
    transform: scale(0.985);
    filter: saturate(1.25) brightness(1.14);
}

.space-shop-card-body {
    display: grid;
    gap: 8px;
    flex: 1;
    align-content: start;
    padding: 12px;
}

.space-shop-card-body h2 {
    margin: 0;
    color: var(--space-white);
    font-size: 1rem;
    line-height: 1.18;
}

.space-shop-card-body p {
    color: var(--space-muted);
    font-size: 0.84rem;
    line-height: 1.38;
}

.space-shop-card-body strong {
    display: block;
    margin: 0;
    color: var(--space-blue-2);
    font-size: 1rem;
}

.space-section-head-compact {
    margin: 22px 0 0;
}

.space-section-head-compact .space-page-title {
    font-size: 2.35rem;
}

.space-small-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    width: max-content;
    margin: 0;
    padding: 0 10px;
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: rgba(255, 255, 255, 0.04);
    color: var(--space-white);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
}

.space-small-toggle:hover,
.space-small-toggle[aria-expanded="true"] {
    border-color: var(--space-line-strong);
    background: rgba(27, 141, 255, 0.14);
}

.space-product-details {
    max-height: 0;
    overflow: hidden;
    border-top: 1px solid transparent;
    opacity: 0;
    transition: max-height 220ms ease, opacity 180ms ease, border-color 180ms ease;
}

.space-product-details.is-open {
    border-color: var(--space-line);
    opacity: 1;
}

.space-product-details p {
    margin: 9px 0;
    font-size: 0.8rem;
}

.space-product-details strong {
    display: inline;
    margin: 0;
    color: var(--space-white);
    font-size: inherit;
}

.space-product-quickfacts {
    display: grid;
    gap: 7px;
    margin: 4px 0;
}

.space-product-quickfacts span {
    display: grid;
    grid-template-columns: minmax(58px, auto) minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-height: 34px;
    padding: 7px 8px;
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: rgba(2, 6, 13, 0.38);
}

.space-product-quickfacts em {
    color: var(--space-muted);
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
}

.space-product-quickfacts strong,
.space-shop-card-body .space-product-quickfacts strong {
    min-width: 0;
    color: var(--space-white);
    font-size: 0.76rem;
    line-height: 1.25;
    overflow-wrap: break-word;
}

.space-add-cart-form {
    margin-top: 10px;
    gap: 10px;
}

.space-product-purchase {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0;
    min-height: 492px;
}

.space-product-purchase .space-color-field {
    padding: 8px 10px 0;
}

.space-product-purchase .space-shop-card-body {
    padding-top: 10px;
}

.space-color-field {
    min-width: 0;
    margin: 0 0 2px;
    padding: 0;
    border: 0;
}

.space-color-field legend {
    margin-bottom: 8px;
    color: var(--space-muted);
    font-size: 0.9rem;
}

.space-color-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.space-color-option {
    position: relative;
    display: grid;
    width: 46px;
    gap: 3px;
    cursor: pointer;
}

.space-color-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.space-color-thumb {
    display: block;
    width: 46px;
    aspect-ratio: 1 / 0.72;
    overflow: hidden;
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: rgba(2, 6, 13, 0.58);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.space-color-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.space-color-name {
    display: block;
    min-height: 12px;
    color: var(--space-muted);
    font-size: 0.58rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
}

.space-color-option:hover .space-color-thumb,
.space-color-option input:checked + .space-color-thumb {
    border-color: var(--space-line-strong);
    box-shadow: 0 0 0 3px rgba(27, 141, 255, 0.18);
    transform: translateY(-1px);
}

.space-color-option input:checked + .space-color-thumb {
    animation: spaceButtonGlow 360ms ease-out;
}

.space-color-option input:checked + .space-color-thumb + .space-color-name {
    color: var(--space-white);
}

.space-color-option input:focus-visible + .space-color-thumb {
    outline: 2px solid var(--space-blue-2);
    outline-offset: 3px;
}

.space-product-price {
    font-size: 1rem;
}

.space-price-stack {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.space-price-stack .space-price-old {
    order: 1;
}

.space-price-stack .space-product-price {
    order: 2;
}

.space-price-stack .space-promo-badge {
    order: 3;
    margin-left: auto;
}

.space-price-stack .space-stock-badge {
    order: 4;
}

.space-shop-card-body .space-price-stack strong,
.space-price-stack .space-product-price {
    display: inline-flex;
    margin: 0;
    color: var(--space-blue-2);
    font-size: 0.98rem;
    white-space: nowrap;
}

.space-delivery-estimate {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin-top: -2px;
    color: var(--space-muted);
    font-size: 0.68rem;
    line-height: 1.25;
}

.space-delivery-estimate span {
    color: var(--space-muted);
    font-size: inherit;
    font-weight: 800;
    text-transform: none;
}

.space-delivery-estimate strong,
.space-shop-card-body .space-delivery-estimate strong {
    color: var(--space-blue-2);
    font-size: inherit;
    line-height: inherit;
    white-space: normal;
}

.space-price-old {
    color: var(--space-muted);
    font-size: 0.74rem;
    font-weight: 800;
    text-decoration: line-through;
}

.space-promo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 21px;
    padding: 0 7px;
    border: 1px solid rgba(95, 255, 194, 0.46);
    border-radius: var(--space-radius);
    background: rgba(95, 255, 194, 0.11);
    color: var(--space-success);
    font-size: 0.66rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.space-promo-countdown {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 23px;
    margin: 2px 0 0;
    padding: 0 8px;
    border: 1px solid rgba(94, 219, 255, 0.34);
    border-radius: var(--space-radius);
    background: rgba(94, 219, 255, 0.08);
    color: var(--space-blue-2);
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
}

.space-promo-countdown.is-countdown-expired {
    border-color: rgba(255, 93, 122, 0.42);
    background: rgba(255, 93, 122, 0.1);
    color: #ff8fa1;
}

.space-stock-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 21px;
    padding: 0 7px;
    border: 1px solid rgba(255, 93, 122, 0.45);
    border-radius: var(--space-radius);
    background: rgba(255, 93, 122, 0.11);
    color: #ff8fa1;
    font-size: 0.66rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.space-stock-badge-ok {
    border-color: rgba(95, 255, 194, 0.42);
    background: rgba(95, 255, 194, 0.1);
    color: var(--space-success);
}

.space-shop-card.is-out-of-stock .space-product-image {
    filter: saturate(0.72) brightness(0.82);
}

.space-cart-stock-warning {
    color: #ff8fa1;
    font-weight: 900;
}

.space-bonus-line,
.space-shop-card-body .space-bonus-line {
    margin: -2px 0 0;
    color: var(--space-success);
    font-size: 0.76rem;
    font-weight: 800;
}

.space-card-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: auto;
}

.space-shop-card-body > .space-button:last-child {
    margin-top: auto;
    width: 100%;
}

.space-card-actions .space-button,
.space-card-actions .space-button-ghost {
    width: 100%;
    min-height: 34px;
    padding: 0 9px;
    font-size: 0.76rem;
}

.space-download-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    align-items: stretch;
    margin-top: 6px;
}

.space-download-row .space-download-button {
    width: 100%;
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.78rem;
}

.space-download-count {
    display: inline-flex;
    align-items: center;
    min-height: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--space-muted);
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.25;
    padding: 0;
    white-space: nowrap;
}

.space-download-path {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: var(--space-muted);
    font-size: 0.68rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.space-subscription-sidebar,
.space-shop-sidebar {
    display: grid;
    gap: 12px;
    align-self: start;
}

.space-cart-sidebar {
    position: sticky;
    top: 96px;
    z-index: 2;
}

.space-shop-panel {
    border: 1px solid rgba(104, 199, 255, 0.2);
    background:
        linear-gradient(180deg, rgba(27, 141, 255, 0.11), rgba(7, 17, 31, 0.9)),
        rgba(7, 17, 31, 0.94);
}

.space-premium-sticky {
    position: sticky;
    top: 96px;
    z-index: 2;
    padding: 16px;
    border: 1px solid rgba(104, 199, 255, 0.32);
    border-radius: var(--space-radius);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.34);
}

.space-panel-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
}

.space-panel-head span,
.space-premium-sticky > span {
    display: block;
    margin-bottom: 5px;
    color: var(--space-blue-2);
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.space-panel-head strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: rgba(255, 255, 255, 0.06);
    color: var(--space-white);
    font-size: 0.82rem;
}

.space-premium-sticky h2 {
    margin: 0;
    color: var(--space-white);
    font-size: 1.45rem;
}

.space-premium-sticky p {
    margin: 9px 0 0;
    color: var(--space-muted);
    font-size: 0.84rem;
}

.space-premium-options {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.space-premium-sticky > .space-premium-options:first-child {
    margin-top: 0;
}

.space-premium-card {
    display: grid;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: rgba(2, 6, 13, 0.5);
    animation: spaceReveal 380ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.space-premium-card.is-best-seller {
    border-color: rgba(255, 100, 52, 0.82);
    background: rgba(255, 76, 35, 0.09);
    box-shadow: 0 0 0 1px rgba(255, 100, 52, 0.2), 0 14px 30px rgba(0, 0, 0, 0.24);
}

.space-premium-card:hover {
    border-color: var(--space-line-strong);
    background: rgba(27, 141, 255, 0.12);
    transform: translateY(-1px);
}

.space-premium-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 8.4;
    max-height: 94px;
    object-fit: cover;
    object-position: center;
    border: 1px solid rgba(104, 199, 255, 0.24);
    border-radius: calc(var(--space-radius) - 2px);
    background: #02060d;
}

.space-premium-card-modal .space-premium-image {
    max-height: 118px;
}

.space-premium-card .space-button {
    width: 100%;
    min-height: 34px;
    font-size: 0.78rem;
}

.space-premium-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.space-premium-title-row strong {
    color: var(--space-white);
    font-size: 0.9rem;
}

.space-hot-offer-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 22px;
    padding: 0 8px;
    border: 1px solid rgba(255, 100, 52, 0.62);
    border-radius: var(--space-radius);
    background: rgba(255, 76, 35, 0.16);
    color: #ff9b5c;
    font-size: 0.66rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
}

.space-hot-offer-badge svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
    flex: 0 0 auto;
}

.space-premium-option {
    display: flex;
    width: 100%;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: rgba(2, 6, 13, 0.5);
    color: var(--space-white);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.space-premium-option:hover {
    border-color: var(--space-line-strong);
    background: rgba(27, 141, 255, 0.16);
}

.space-premium-option span,
.space-premium-option strong {
    display: block;
    margin: 0;
}

.space-premium-option strong {
    color: var(--space-blue-2);
    white-space: nowrap;
}

.space-cart-panel {
    margin-top: 0;
    display: grid;
    gap: 12px;
    padding: 16px;
}

.space-cart-link.is-cart-hit,
.space-mobile-cart-link.is-cart-hit,
.space-cart-panel.is-cart-hit,
.space-premium-sticky.is-cart-hit {
    animation: spaceCartHit 520ms ease-out;
}

.space-cart-toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 10000;
    max-width: min(320px, calc(100vw - 36px));
    padding: 12px 14px;
    border: 1px solid rgba(95, 255, 194, 0.42);
    border-radius: var(--space-radius);
    background:
        linear-gradient(180deg, rgba(95, 255, 194, 0.16), rgba(27, 141, 255, 0.08)),
        rgba(7, 17, 31, 0.96);
    color: var(--space-white);
    font-size: 0.88rem;
    font-weight: 800;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.46);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px) scale(0.98);
    transition: opacity 160ms ease, transform 180ms ease;
}

.space-cart-toast.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.space-cart-toast-error {
    border-color: rgba(255, 93, 122, 0.48);
    background:
        linear-gradient(180deg, rgba(255, 93, 122, 0.16), rgba(27, 141, 255, 0.06)),
        rgba(7, 17, 31, 0.96);
}

.space-cart-list {
    display: grid;
    gap: 8px;
    max-height: min(46vh, 410px);
    margin: 0;
    padding-right: 4px;
    overflow: auto;
}

.space-cart-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: rgba(2, 6, 13, 0.42);
}

.space-cart-row > div:first-of-type {
    min-width: 0;
}

.space-cart-row strong {
    display: block;
    color: var(--space-white);
    font-size: 0.86rem;
    line-height: 1.25;
    overflow-wrap: break-word;
    word-break: normal;
}

.space-cart-row small {
    display: block;
    color: var(--space-muted);
    font-size: 0.72rem;
}

.space-cart-promo,
.space-cart-row .space-cart-promo {
    color: var(--space-success);
    font-weight: 800;
}

.space-cart-bonus,
.space-cart-row .space-cart-bonus {
    color: var(--space-blue-2);
    font-weight: 800;
}

.space-cart-row input {
    width: 56px;
    min-height: 32px;
    padding: 0 8px;
}

.space-cart-row .space-button-ghost {
    min-height: 30px;
    padding: 0 8px;
    font-size: 0.72rem;
}

.space-cart-controls {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
}

.space-cart-price {
    justify-self: end;
    color: var(--space-blue-2);
    font-size: 0.88rem;
    font-weight: 900;
}

.space-empty-cart {
    margin: 0;
    padding: 18px;
    border: 1px dashed var(--space-line);
    border-radius: var(--space-radius);
    color: var(--space-muted);
    text-align: center;
}

.space-cart-footer {
    display: grid;
    gap: 12px;
    padding-top: 4px;
}

.space-cart-total {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0 0;
    border-top: 1px solid var(--space-line);
    color: var(--space-muted);
    font-size: 0.92rem;
}

.space-cart-total strong {
    color: var(--space-white);
}

.space-cart-checkout {
    width: 100%;
}

.space-fly-to-cart {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    border: 1px solid rgba(104, 199, 255, 0.55);
    border-radius: var(--space-radius);
    background:
        linear-gradient(135deg, rgba(27, 141, 255, 0.9), rgba(95, 255, 194, 0.82)),
        rgba(7, 17, 31, 0.96);
    color: var(--space-white);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42), 0 0 28px rgba(27, 141, 255, 0.28);
    overflow: hidden;
    transform-origin: center;
}

.space-fly-to-cart img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.space-fly-to-cart span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0 12px;
    color: var(--space-white);
    font-size: 0.76rem;
    font-weight: 900;
    text-align: center;
}

.space-cart-page-section {
    width: min(1320px, calc(100% - 36px));
    padding-top: 46px;
}

.space-cart-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.32fr);
    gap: 16px;
    align-items: start;
}

.space-cart-page-list,
.space-cart-summary-panel,
.space-cart-empty-page {
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
        rgba(7, 17, 31, 0.84);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.space-cart-page-list {
    display: grid;
    gap: 10px;
    padding: 12px;
}

.space-cart-page-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: rgba(2, 6, 13, 0.46);
}

.space-cart-page-toolbar span,
.space-cart-summary-lines span,
.space-cart-summary-total span,
.space-cart-page-price span {
    display: block;
    color: var(--space-muted);
    font-size: 0.78rem;
}

.space-cart-page-toolbar strong {
    display: block;
    color: var(--space-white);
    font-size: 1.35rem;
    line-height: 1;
}

.space-cart-page-item {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr) minmax(155px, auto) minmax(104px, auto);
    gap: 14px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: rgba(2, 6, 13, 0.42);
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.space-cart-page-item:hover {
    border-color: rgba(104, 199, 255, 0.34);
    background: rgba(27, 141, 255, 0.08);
    transform: translateY(-1px);
}

.space-cart-page-item img {
    width: 128px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: #02060d;
}

.space-cart-page-info {
    min-width: 0;
}

.space-cart-page-title-row {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 10px;
}

.space-cart-page-title-row h2 {
    margin: 0;
    color: var(--space-white);
    font-size: 1.02rem;
    line-height: 1.25;
    overflow-wrap: break-word;
    word-break: normal;
}

.space-cart-page-info p {
    margin: 7px 0 0;
    color: var(--space-muted);
    font-size: 0.84rem;
}

.space-cart-page-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.space-cart-page-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 8px;
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: rgba(255, 255, 255, 0.045);
    color: var(--space-muted);
    font-size: 0.72rem;
    font-weight: 800;
}

.space-cart-page-quantity {
    display: grid;
    grid-template-columns: 82px auto;
    gap: 8px;
    align-items: end;
}

.space-cart-page-quantity label {
    display: grid;
    gap: 6px;
    color: var(--space-muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.space-cart-page-quantity input {
    width: 82px;
    min-height: 36px;
}

.space-cart-page-quantity > div {
    display: flex;
    align-items: end;
    gap: 6px;
}

.space-cart-page-quantity .space-button-ghost,
.space-cart-page-quantity .space-link-button {
    min-height: 36px;
    padding: 0 9px;
    font-size: 0.74rem;
}

.space-cart-row.is-cart-updating,
.space-cart-page-quantity.is-cart-updating {
    opacity: 0.72;
}

.space-cart-page-price {
    display: grid;
    justify-items: end;
    gap: 4px;
    text-align: right;
}

.space-cart-page-price strong {
    color: var(--space-blue-2);
    font-size: 1.02rem;
}

.space-cart-summary-panel {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 14px;
    padding: 16px;
}

.space-cart-summary-panel h2 {
    margin: 0;
    color: var(--space-white);
}

.space-cart-summary-lines {
    display: grid;
    gap: 10px;
}

.space-cart-summary-lines > div,
.space-cart-summary-total {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid var(--space-line);
}

.space-cart-summary-lines strong {
    color: var(--space-white);
    font-size: 0.86rem;
    text-align: right;
}

.space-cart-summary-total {
    align-items: end;
    border-bottom: 0;
    border-top: 1px solid var(--space-line);
    padding-top: 14px;
}

.space-cart-summary-total strong {
    color: var(--space-blue-2);
    font-size: 1.35rem;
}

.space-cart-summary-panel .space-button,
.space-cart-summary-panel .space-button-ghost {
    width: 100%;
}

.space-cart-empty-page {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px;
}

.space-cart-empty-page span {
    display: block;
    margin-bottom: 6px;
    color: var(--space-blue-2);
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.space-cart-empty-page h2 {
    margin: 0;
    color: var(--space-white);
}

.space-cart-empty-page p {
    margin: 8px 0 0;
    color: var(--space-muted);
}

.space-premium-modal[hidden] {
    display: none;
}

.space-premium-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

.space-premium-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.space-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 13, 0.72);
    backdrop-filter: blur(18px);
}

.space-modal-panel {
    position: relative;
    z-index: 1;
    width: min(840px, 100%);
    max-height: min(86vh, 780px);
    overflow: auto;
    padding: 20px;
    border: 1px solid rgba(104, 199, 255, 0.34);
    border-radius: var(--space-radius);
    background:
        linear-gradient(180deg, rgba(27, 141, 255, 0.16), rgba(7, 17, 31, 0.96)),
        rgba(7, 17, 31, 0.98);
    box-shadow: 0 30px 120px rgba(0, 0, 0, 0.58);
    transform: translateY(18px) scale(0.98);
    transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.space-premium-modal.is-open .space-modal-panel {
    transform: translateY(0) scale(1);
}

.space-modal-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.space-modal-head span {
    display: block;
    margin-bottom: 6px;
    color: var(--space-blue-2);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.space-modal-head h2 {
    margin: 0;
    color: var(--space-white);
    font-size: 2rem;
}

.space-modal-head p {
    max-width: 520px;
    margin: 8px 0 0;
    color: var(--space-muted);
    font-size: 0.92rem;
}

.space-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: rgba(255, 255, 255, 0.05);
    color: var(--space-white);
    font: inherit;
    font-size: 1.3rem;
    cursor: pointer;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.space-modal-close:hover {
    transform: translateY(-1px);
    border-color: var(--space-line-strong);
    background: rgba(27, 141, 255, 0.16);
}

.space-modal-premium-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.space-premium-card-modal {
    min-height: 150px;
}

.space-modal-foot {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--space-line);
}

.space-install-help-panel {
    width: min(920px, 100%);
}

.space-install-help-body {
    display: grid;
    gap: 14px;
}

.space-install-help-summary {
    display: grid;
    gap: 8px;
    padding: 13px 14px;
    border: 1px solid rgba(104, 199, 255, 0.24);
    border-radius: var(--space-radius);
    background: rgba(2, 6, 13, 0.34);
    color: var(--space-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.space-install-help-summary strong {
    color: var(--space-white);
}

.space-install-help-steps {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: install-step;
}

.space-install-help-steps li {
    counter-increment: install-step;
    position: relative;
    display: grid;
    gap: 5px;
    min-height: 58px;
    padding: 12px 12px 12px 54px;
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: rgba(2, 6, 13, 0.42);
    color: var(--space-muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.space-install-help-steps li::before {
    content: counter(install-step, decimal-leading-zero);
    position: absolute;
    left: 12px;
    top: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(104, 199, 255, 0.38);
    border-radius: 999px;
    background: rgba(27, 141, 255, 0.12);
    color: var(--space-blue-2);
    font-size: 0.72rem;
    font-weight: 950;
}

.space-install-help-steps strong {
    color: var(--space-white);
}

.space-install-help-note {
    padding: 12px 14px;
    border: 1px solid rgba(246, 162, 58, 0.32);
    border-radius: var(--space-radius);
    background: rgba(246, 162, 58, 0.08);
    color: #ffd8a8;
    font-size: 0.9rem;
    line-height: 1.45;
}

.space-install-help-note strong {
    color: #fff3dd;
}

.space-checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
    gap: 18px;
    align-items: start;
}

.space-checkout-form,
.space-order-summary {
    margin-top: 0;
}

.space-checkout-form h2,
.space-order-summary h2 {
    margin: 0 0 14px;
    color: var(--space-white);
}

.space-checkout-group {
    display: grid;
    gap: 14px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--space-line);
}

.space-checkout-group:last-of-type {
    border-bottom: 0;
}

.space-address-autocomplete {
    position: relative;
}

.space-address-autocomplete .is-address-suggest-host {
    position: relative;
    z-index: 12;
}

.space-address-autocomplete-copy,
.space-address-autocomplete-status {
    margin: 0;
    color: var(--space-muted);
    font-size: 13px;
    font-weight: 700;
}

.space-address-autocomplete-status {
    border: 1px solid rgba(104, 199, 255, 0.18);
    border-radius: 8px;
    background: rgba(104, 199, 255, 0.08);
    color: #d5ebff;
    padding: 10px 12px;
}

.space-address-autocomplete-status[data-address-status-mode="error"] {
    border-color: rgba(255, 93, 122, 0.34);
    background: rgba(255, 93, 122, 0.1);
    color: #ffd7df;
}

.space-address-autocomplete-status[data-address-status-mode="disabled"],
.space-address-autocomplete-status[data-address-status-mode="empty"] {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: var(--space-muted);
}

.space-address-suggestions {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 7px);
    z-index: 95;
    display: grid;
    gap: 6px;
    width: 100%;
    max-height: min(320px, 46vh);
    overflow: auto;
    border: 1px solid rgba(104, 199, 255, 0.34);
    border-radius: 10px;
    background: rgba(5, 12, 22, 0.98);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.48);
    padding: 8px;
}

.space-address-suggestions[hidden],
.space-address-autocomplete-status[hidden] {
    display: none !important;
}

.space-address-suggestion {
    appearance: none;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: var(--space-white);
    cursor: pointer;
    display: grid;
    gap: 3px;
    padding: 10px 11px;
    text-align: left;
    width: 100%;
}

.space-address-suggestion:hover,
.space-address-suggestion:focus-visible {
    border-color: rgba(104, 199, 255, 0.45);
    background: rgba(27, 141, 255, 0.18);
    outline: none;
}

.space-address-suggestion strong {
    color: var(--space-white);
    font-size: 14px;
    font-weight: 850;
    line-height: 1.25;
}

.space-address-suggestion small {
    color: var(--space-muted);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.25;
}

.space-payment-options {
    display: grid;
    gap: 10px;
}

.space-payment-choice {
    display: grid;
    gap: 0;
}

.space-payment-option {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: rgba(2, 6, 13, 0.42);
    cursor: pointer;
}

.space-payment-option input {
    position: static;
    width: 22px;
    height: 22px;
    margin: 0;
    accent-color: var(--space-blue);
}

.space-payment-option-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.space-payment-option strong {
    color: var(--space-white);
}

.space-payment-option-text {
    color: var(--space-muted);
    font-size: 0.88rem;
}

.space-payment-option:has(input:checked) {
    border-color: var(--space-line-strong);
    background: rgba(27, 141, 255, 0.14);
}

.space-card-inline-fields {
    display: grid;
    gap: 10px;
    max-height: 0;
    margin: 0;
    padding: 0 14px;
    overflow: hidden;
    border: 1px solid transparent;
    border-top: 0;
    border-radius: 0 0 var(--space-radius) var(--space-radius);
    background: rgba(2, 6, 13, 0.28);
    opacity: 0;
    transform: translateY(-4px);
    transition: max-height 0.24s ease, padding 0.24s ease, border-color 0.24s ease, opacity 0.18s ease, transform 0.18s ease;
}

.space-card-inline-fields.is-open {
    max-height: 420px;
    padding: 14px;
    border-color: var(--space-line);
    opacity: 1;
    transform: translateY(0);
}

.space-card-inline-fields--inline {
    max-height: none;
    padding: 14px;
    overflow: visible;
    border-color: var(--space-line);
    opacity: 1;
    transform: none;
}

.space-card-inline-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.space-card-inline-head > span {
    color: var(--space-muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.space-card-inline-head small {
    color: #69e6bf;
    font-size: 0.78rem;
    font-weight: 900;
}

.space-card-field-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(130px, 0.7fr) minmax(110px, 0.55fr);
    gap: 10px;
}

.space-stripe-split-field {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.space-stripe-split-field > span {
    color: var(--space-muted);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.space-card-element,
.space-stripe-split-element {
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: rgba(7, 17, 31, 0.88);
}

.space-stripe-split-element {
    display: block;
    width: 100%;
    cursor: text;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.space-stripe-split-element.StripeElement,
.space-stripe-split-element > div,
.space-stripe-split-element iframe {
    width: 100% !important;
}

.space-stripe-split-element > div {
    min-height: 24px;
}

.space-stripe-split-element iframe {
    min-height: 24px !important;
}

.space-stripe-split-field:focus-within .space-stripe-split-element,
.space-stripe-split-field.is-focused .space-stripe-split-element {
    border-color: var(--space-line-strong);
    background: rgba(7, 17, 31, 0.98);
    box-shadow: 0 0 0 3px rgba(27, 141, 255, 0.14);
}

.space-stripe-split-field.is-complete .space-stripe-split-element {
    border-color: rgba(54, 209, 124, 0.54);
}

.space-stripe-split-field.is-invalid .space-stripe-split-element {
    border-color: rgba(255, 93, 122, 0.78);
    box-shadow: 0 0 0 1px rgba(255, 93, 122, 0.15);
}

.space-card-brand-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    justify-content: flex-end;
}

.space-card-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 24px;
    padding: 0 7px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 5px;
    background: #f8fbff;
    color: #07111f;
    font-size: 0.68rem;
    font-weight: 950;
    letter-spacing: 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.space-card-brand.is-visa {
    color: #1434cb;
}

.space-card-brand.is-mastercard {
    background: #101827;
    color: #ffb545;
}

.space-card-brand.is-cb {
    background: #0f9f75;
    color: #ffffff;
}

.space-card-brand.is-amex {
    background: #2e77bc;
    color: #ffffff;
}

.space-stripe-inline-panel {
    gap: 18px;
}

.space-stripe-inline-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--space-line);
}

.space-stripe-inline-head span,
.space-stripe-method-row span {
    color: var(--space-muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.space-stripe-inline-head strong {
    color: var(--space-white);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    white-space: nowrap;
}

.space-stripe-inline-copy {
    margin: 0;
    color: var(--space-muted);
    line-height: 1.6;
}

.space-stripe-method-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: rgba(2, 6, 13, 0.42);
}

.space-stripe-method-row strong {
    display: block;
    margin-top: 4px;
    color: var(--space-white);
}

.space-stripe-payment-element {
    min-height: 220px;
    padding: 14px;
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: rgba(2, 6, 13, 0.42);
}

.space-stripe-message {
    margin: 14px 0 0;
}

.space-stripe-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.space-stripe-actions .space-button,
.space-stripe-actions .space-button-ghost {
    min-width: min(220px, 100%);
}

.space-order-summary {
    position: sticky;
    top: 96px;
}

.space-summary-list {
    display: grid;
    gap: 10px;
    margin: 16px 0;
}

.space-summary-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--space-line);
}

.space-summary-row:last-child {
    border-bottom: 0;
}

.space-summary-row small {
    display: block;
    color: var(--space-muted);
}

.space-checkout-totals {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.space-checkout-totals > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    border-top: 1px solid var(--space-line);
}

.space-checkout-totals span {
    display: grid;
    gap: 2px;
    color: var(--space-muted);
    font-weight: 800;
}

.space-checkout-totals small {
    color: var(--space-blue-2);
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.space-checkout-totals strong {
    color: var(--space-white);
    text-align: right;
    white-space: nowrap;
}

.space-checkout-totals .space-cart-total {
    margin-top: 4px;
    border-top-color: var(--space-line-strong);
}

.space-shop-products {
    display: grid;
    gap: 10px;
}

.space-shop-product {
    display: grid;
    gap: 4px;
    min-height: 92px;
    padding: 16px;
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: rgba(7, 17, 31, 0.78);
}

.space-shop-product.is-selected,
.space-shop-product:hover {
    border-color: var(--space-line-strong);
    background: rgba(27, 141, 255, 0.14);
}

.space-shop-product span,
.space-shop-product strong {
    color: var(--space-white);
}

.space-shop-product small {
    color: var(--space-muted);
}

.space-checkout-panel {
    margin-top: 0;
}

.space-admin-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.space-admin-table {
    overflow-x: auto;
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: rgba(7, 17, 31, 0.78);
}

.space-admin-table table {
    width: 100%;
    min-width: 1040px;
    border-collapse: collapse;
}

.space-admin-table th,
.space-admin-table td {
    padding: 14px;
    border-bottom: 1px solid var(--space-line);
    color: var(--space-muted);
    text-align: left;
    vertical-align: top;
}

.space-admin-table th {
    color: var(--space-white);
    font-size: 0.82rem;
    text-transform: uppercase;
}

.space-admin-table strong {
    color: var(--space-white);
}

.space-admin-table small {
    color: var(--space-muted);
}

.space-admin-order-form {
    display: grid;
    gap: 8px;
    min-width: 220px;
}

.space-promo-admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 18px 0 22px;
}

.space-promo-admin-card {
    padding: 18px;
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: rgba(7, 17, 31, 0.78);
}

.space-promo-admin-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: start;
}

.space-promo-admin-head span,
.space-admin-muted {
    color: var(--space-muted);
    font-size: 0.82rem;
}

.space-promo-admin-head h3 {
    margin: 4px 0 0;
    color: var(--space-white);
    font-size: 1.05rem;
}

.space-admin-muted {
    margin: 0;
}

.space-admin-muted span {
    margin-left: 8px;
    text-decoration: line-through;
}

.space-checkline {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 34px;
    color: var(--space-white);
}

.space-checkline input {
    width: 18px;
    min-height: 18px;
}

.space-footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 32px clamp(18px, 4vw, 52px);
    border-top: 1px solid var(--space-line);
    color: var(--space-muted);
}

.space-footer strong {
    margin-right: 12px;
    color: var(--space-white);
}

.space-footer-links {
    display: flex;
    gap: 18px;
}

.space-footer-links a:hover {
    color: var(--space-white);
}

.space-body--legacy .space-main {
    width: min(1500px, calc(100% - 24px));
    margin: 0 auto;
}

.space-body--legacy .space-main--forceone,
.space-body--legacy .space-main--forceonemini {
    width: 100%;
    max-width: none;
    margin: 0;
}

.space-body--legacy.space-page--forceone .space-main,
.space-body--legacy.space-page--forceonemini .space-main {
    width: 100%;
    max-width: none;
    margin: 0;
}

.space-forum-list {
    margin-top: 18px;
}

.ForumBox {
    display: grid;
    gap: 14px;
}

.ForumMessage {
    display: grid;
    grid-template-columns: minmax(150px, 0.28fr) minmax(0, 1fr) auto;
    gap: 18px;
    padding: 18px;
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: rgba(7, 17, 31, 0.78);
}

.ForumPseudo,
.ForumTitle {
    color: var(--space-white);
    font-weight: 900;
}

.ForumDate,
.ForumText,
.Certif,
.ValidationCount {
    color: var(--space-muted);
}

.ForumText {
    margin-top: 8px;
}

.btnValidate,
.delete {
    color: var(--space-blue-2);
    cursor: pointer;
}

.btnValidate.red {
    color: var(--space-danger);
}

.BoutonDelete {
    align-self: start;
}

.space-form textarea.space-input {
    min-height: 140px;
    padding-top: 12px;
    resize: vertical;
}

@media (max-width: 1080px) {
    .space-header {
        grid-template-columns: auto auto 1fr;
    }

    .space-nav-toggle {
        display: inline-flex;
        justify-self: start;
    }

    .space-nav {
        position: fixed;
        left: 18px;
        right: 18px;
        top: 82px;
        display: none;
        flex-direction: column;
        padding: 12px;
        border: 1px solid var(--space-line);
        border-radius: var(--space-radius);
        background: rgba(2, 6, 13, 0.96);
        box-shadow: var(--space-shadow);
    }

    .space-nav.is-open {
        display: flex;
    }

    .space-actions {
        justify-self: end;
    }

    .space-button {
        padding: 0 12px;
    }

    .space-band-inner,
    .space-profile-grid,
    .space-product-item,
    .space-home-mission-panel,
    .space-auth-page-grid,
    .space-shop-layout,
    .space-cart-page-layout,
    .space-checkout-layout {
        grid-template-columns: 1fr;
    }

    .space-shop-sidebar,
    .space-premium-sticky,
    .space-cart-panel,
    .space-cart-summary-panel,
    .space-order-summary {
        position: static;
    }

    .space-product-copy {
        padding: 0 24px 24px;
    }

    .space-title {
        font-size: 4.3rem;
    }

    .space-page-title {
        font-size: 3.35rem;
    }

    .space-band h2 {
        font-size: 2.45rem;
    }

    .space-home-hero {
        grid-template-columns: 1fr;
        gap: 28px;
        min-height: auto;
    }

    .space-home-hero .space-title {
        font-size: 4.2rem;
    }

    .space-visual {
        right: -70px;
        width: 420px;
        min-height: 420px;
        opacity: 0.5;
    }

    .space-home-console {
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        margin-top: 28px;
        transform: none;
    }

    .space-grid-cards,
    .space-pricing-grid,
    .space-catalog-grid,
    .space-home-product-guide-grid,
    .space-home-remap-grid,
    .space-admin-stats,
    .space-promo-admin-grid,
    .space-modal-premium-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .space-home-mission-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .space-header {
        grid-template-columns: auto auto;
        gap: 12px;
        justify-content: space-between;
        padding: 12px 18px;
    }

    .space-brand span {
        display: none;
    }

    .space-nav-toggle {
        grid-column: 2;
        grid-row: 1;
        width: 42px;
        min-height: 42px;
        padding: 0;
    }

    .space-nav-toggle span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .space-nav-toggle::before {
        content: "";
        width: 18px;
        height: 2px;
        border-radius: 999px;
        background: var(--space-white);
        box-shadow: 0 -6px 0 var(--space-white), 0 6px 0 var(--space-white);
    }

    .space-actions {
        display: grid;
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        grid-column: 1 / -1;
        width: 100%;
        max-width: calc(100vw - 36px);
        min-width: 0;
        gap: 8px;
    }

    .space-socials {
        display: none;
    }

    .space-lang,
    .space-cart-link {
        width: 100%;
        min-width: 0;
    }

    .space-actions .space-button,
    .space-cart-link {
        width: 100%;
        min-width: 0;
    }

    .space-actions .space-button {
        grid-column: 1 / -1;
        padding: 0 10px;
    }

    .space-profile-button .space-profile-tier {
        display: none;
    }

    .space-profile-button .space-profile-name {
        max-width: 90px;
    }

    .space-section {
        width: min(var(--space-max), calc(100vw - 36px));
        max-width: calc(100vw - 36px);
        padding: 58px 0;
    }

    .space-hero {
        min-height: auto;
        padding-top: 32px;
    }

    .space-title {
        font-size: 2.75rem;
    }

    .space-home-hero .space-title {
        width: 100%;
        max-width: calc(100vw - 36px);
        overflow-wrap: anywhere;
        font-size: 2.28rem;
    }

    .space-home-hero > div:first-child,
    .space-home-hero .space-lead,
    .space-home-hero .space-cta-row,
    .space-home-stats {
        width: 100%;
        max-width: calc(100vw - 36px);
    }

    .space-page-title {
        font-size: 2.35rem;
    }

    .space-home-remap .space-section-head .space-page-title,
    .space-home-mission-copy h2 {
        font-size: 2.2rem;
    }

    .space-home-remap .space-section-head > p {
        border-left: 0;
        padding-left: 0;
    }

    .space-lead {
        font-size: 1rem;
    }

    .space-member-callout {
        align-items: flex-start;
        display: grid;
        width: 100%;
    }

    .space-band h2 {
        font-size: 2rem;
    }

    .space-visual {
        display: none;
    }

    .space-home-console {
        padding: 12px;
    }

    .space-home-console-head,
    .space-home-flow .space-shop-highlight,
    .space-cart-success-next {
        display: grid;
    }

    .space-home-plan-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .space-download-row {
        grid-template-columns: 1fr;
    }

    .space-home-mission-panel {
        padding: 14px;
    }

    .space-telemetry,
    .space-stats,
    .space-grid-cards,
    .space-home-remap-grid,
    .space-home-mission-grid,
    .space-home-product-guide-grid,
    .space-catalog-grid,
    .space-pricing-grid,
    .space-steps,
    .space-form-row,
    .space-admin-stats,
    .space-promo-admin-grid,
    .space-modal-premium-grid,
    .space-auth-benefits,
    .space-auth-wrap,
    .space-reseller-code-panel,
    .space-inline-form {
        grid-template-columns: 1fr;
    }

    .space-home-product-description {
        min-height: 0;
    }

    .space-premium-modal {
        padding: 10px;
    }

    .space-modal-panel {
        padding: 14px;
    }

    .space-modal-head {
        gap: 12px;
    }

    .space-modal-head h2 {
        font-size: 1.55rem;
    }

    .space-premium-focus,
    .space-shop-highlight {
        display: grid;
    }

    .space-section-head {
        display: block;
    }

    .space-section-head p {
        margin-top: 14px;
    }

    .space-auth-wrap {
        min-height: auto;
        padding-top: 24px;
    }

    .space-auth-page {
        padding-top: 32px;
        padding-bottom: 48px;
    }

    .space-auth-page-grid {
        min-height: auto;
        gap: 22px;
    }

    .space-auth-benefits div {
        min-height: auto;
    }

    .space-data-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .space-order-card-head,
    .space-tracking-head,
    .space-order-products span,
    .space-order-actions,
    .space-tracking-actions {
        display: grid;
        justify-items: start;
    }

    .space-order-card-head > strong {
        white-space: normal;
    }

    .space-order-card {
        padding: 14px;
    }

    .space-footer {
        display: grid;
    }

    .space-card-actions {
        grid-template-columns: 1fr;
    }

    .space-cart-page-toolbar,
    .space-cart-empty-page {
        display: grid;
    }

    .space-cart-page-item {
        grid-template-columns: 92px minmax(0, 1fr);
        align-items: start;
    }

    .space-cart-page-item img {
        width: 92px;
    }

    .space-cart-page-title-row {
        display: grid;
    }

    .space-cart-page-quantity,
    .space-cart-page-price {
        grid-column: 1 / -1;
        justify-items: start;
        text-align: left;
    }

    .space-cart-page-quantity > div {
        width: 100%;
    }

    .space-cart-page-quantity .space-button-ghost,
    .space-cart-page-quantity .space-link-button {
        flex: 1;
    }

    .space-order-filters {
        justify-content: stretch;
    }

    .space-order-filter-bar {
        width: 100%;
        justify-content: space-between;
    }

    .space-order-filter-panel {
        position: static;
        width: 100%;
        max-height: none;
        margin-top: 8px;
    }

    .space-order-filter-groups fieldset > div {
        grid-template-columns: 1fr;
    }

    .space-payment-option {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .space-payment-option .space-card-brand-icons {
        grid-column: 2;
        justify-content: flex-start;
    }

    .space-card-field-grid {
        grid-template-columns: 1fr;
    }

    .space-stripe-method-row {
        display: grid;
        justify-items: start;
    }

    .space-stripe-method-row .space-card-brand-icons {
        justify-content: flex-start;
    }
}

/* Public responsive hardening pass for core pages. */
.space-main,
.space-section,
.space-auth-wrap,
.space-auth-page-grid,
.space-shop-layout,
.space-catalog-flow,
.space-catalog-grid,
.space-cart-page-layout,
.space-checkout-layout,
.space-checkout-form,
.space-order-summary,
.space-form,
.space-form-panel {
    min-width: 0;
}

.space-main,
.space-shop-card,
.space-premium-card,
.space-cart-page-item,
.space-checkout-panel,
.space-form-panel {
    overflow-wrap: break-word;
}

.space-main,
.space-section,
.space-auth-wrap,
.space-page-title,
.space-title,
.space-section-head h1,
.space-section-head h2,
.space-section-head h3 {
    overflow-wrap: break-word;
    word-break: normal;
}

.space-section {
    width: min(var(--space-max), calc(100vw - clamp(24px, 5vw, 44px)));
}

.space-button,
.space-button-ghost,
.space-link-button,
.space-cart-link,
.space-nav-link,
.space-lang a {
    min-width: 0;
    max-width: 100%;
    text-align: center;
}

.space-button,
.space-button-ghost {
    white-space: normal;
    line-height: 1.12;
}

.space-form input,
.space-form select,
.space-form textarea,
.space-input {
    min-width: 0;
    max-width: 100%;
}

.space-catalog-grid,
.space-catalog-grid-unified,
.space-home-product-guide-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.space-shop-card,
.space-product-purchase {
    min-height: auto;
}

.space-shop-card-body {
    min-width: 0;
}

.space-product-image,
.space-premium-image {
    max-width: 100%;
}

.space-cart-page-item,
.space-payment-option,
.space-stripe-inline-head,
.space-stripe-method-row,
.space-checkout-totals > div {
    min-width: 0;
}

.space-card-brand-icons {
    min-width: 0;
}

@media (max-width: 1080px) {
    .space-shop-sidebar,
    .space-premium-sticky,
    .space-cart-summary-panel,
    .space-order-summary {
        width: 100%;
    }

    .space-catalog-grid,
    .space-catalog-grid-unified {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    }
}

@media (max-width: 760px) {
    .space-section {
        width: min(var(--space-max), calc(100vw - 24px));
        max-width: calc(100vw - 24px);
        padding: 42px 0;
    }

    .space-header {
        padding-left: 12px;
        padding-right: 12px;
    }

    .space-nav {
        left: 12px;
        right: 12px;
    }

    .space-actions {
        max-width: calc(100vw - 24px);
    }

    .space-page-title,
    .space-title,
    .space-home-hero .space-title,
    .space-auth-copy-page .space-page-title,
    .space-shop-section .space-page-title {
        max-width: 100%;
        overflow-wrap: break-word;
        word-break: normal;
    }

    .space-home-remap .space-section-head {
        display: block;
        grid-template-columns: 1fr;
        gap: 0;
        min-width: 0;
    }

    .space-home-remap .space-section-head > div,
    .space-home-remap .space-section-head > p,
    .space-home-remap .space-section-head .space-page-title {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .space-home-remap .space-section-head .space-page-title {
        font-size: clamp(1.85rem, 8.5vw, 2.2rem);
        line-height: 1.08;
    }

    .space-home-remap .space-section-head > p {
        justify-self: stretch;
        margin-top: 14px;
        border-left: 0;
        padding-left: 0;
    }

    .space-shop-section .space-section-head p,
    .space-home-product-description,
    .space-shop-card-body p,
    .space-auth-note,
    .space-checkout-form p {
        overflow-wrap: break-word;
    }

    .space-shop-card,
    .space-premium-card,
    .space-form-panel,
    .space-auth-panel-page,
    .space-checkout-form,
    .space-order-summary,
    .space-cart-summary-panel {
        width: 100%;
    }

    .space-product-image {
        max-height: 176px;
    }

    .space-card-actions,
    .space-home-product-actions,
    .space-stripe-actions {
        grid-template-columns: 1fr;
    }

    .space-card-actions .space-button,
    .space-card-actions .space-button-ghost,
    .space-home-product-actions .space-button,
    .space-home-product-actions .space-button-ghost,
    .space-stripe-actions .space-button,
    .space-stripe-actions .space-button-ghost,
    .space-cart-summary-panel .space-button,
    .space-cart-summary-panel .space-button-ghost {
        width: 100%;
    }

    .space-payment-option {
        gap: 10px;
        padding: 12px;
    }

    .space-stripe-inline-head,
    .space-stripe-method-row,
    .space-checkout-totals > div {
        grid-template-columns: 1fr;
    }

    .space-stripe-inline-head strong {
        white-space: normal;
    }
}

@media (max-width: 620px) {
    .space-actions {
        grid-template-columns: 1fr;
    }

    .space-lang,
    .space-cart-link,
    .space-actions .space-button,
    .space-profile-button {
        grid-column: 1;
    }

    .space-home-hero,
    .space-home-hero > div:first-child,
    .space-home-hero .space-title,
    .space-home-hero .space-lead,
    .space-home-hero .space-cta-row,
    .space-home-stats {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
}

@media (max-width: 420px) {
    .space-header {
        gap: 10px;
    }

    .space-actions {
        grid-template-columns: 1fr;
    }

    .space-lang,
    .space-cart-link,
    .space-actions .space-button {
        grid-column: 1;
    }

    .space-page-title {
        font-size: clamp(1.85rem, 10vw, 2.25rem);
    }

    .space-title,
    .space-home-hero .space-title {
        font-size: clamp(1.9rem, 11vw, 2.3rem);
    }

    .space-cart-page-item {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 10px;
        padding: 10px;
    }

    .space-cart-page-item img {
        width: 76px;
    }

    .space-cart-page-title-row h2,
    .space-cart-page-meta,
    .space-cart-page-info p {
        overflow-wrap: anywhere;
    }

    .space-cart-page-quantity > div {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .space-cart-page-quantity input {
        width: 100%;
    }

    .space-card-brand-icons {
        justify-content: flex-start;
    }
}

@media (max-width: 340px) {
    .space-section {
        width: min(var(--space-max), calc(100vw - 18px));
        max-width: calc(100vw - 18px);
    }

    .space-header {
        padding-left: 9px;
        padding-right: 9px;
    }

    .space-cart-page-item {
        grid-template-columns: 1fr;
    }

    .space-cart-page-item img {
        width: 100%;
        max-height: 160px;
        object-fit: contain;
    }
}

@media (max-width: 1120px) {
    .space-guide-compact-head,
    .space-guide-compact-final-panel {
        grid-template-columns: 1fr;
    }

    .space-guide-compact-actions,
    .space-guide-compact-final-panel ul {
        justify-content: flex-start;
    }

    .space-guide-mini-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .space-guide-hero {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .space-guide-hero-copy,
    .space-guide-hero-copy .space-page-title,
    .space-guide-hero-copy > p:not(.space-kicker) {
        max-width: 100%;
    }

    .space-guide-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .space-guide-apply-panel {
        grid-template-columns: 1fr;
    }

    .space-home-v2-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        min-height: auto;
    }

    .space-home-v2-copy,
    .space-home-v2-hero .space-title,
    .space-home-v2-hero .space-lead {
        max-width: 100%;
    }

    .space-home-v2-hero .space-title {
        font-size: 3.75rem;
    }

    .space-home-v2-stage {
        min-height: 560px;
    }

    .space-home-v2-flow-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .space-guide-compact,
    .space-guide-compact-products,
    .space-guide-compact-final {
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
        margin-left: auto;
        margin-right: auto;
    }

    .space-guide-compact {
        padding-top: 34px;
        padding-bottom: 22px;
    }

    .space-guide-compact-head {
        padding: 14px;
    }

    .space-guide-compact-head .space-page-title {
        font-size: clamp(2rem, 9vw, 2.55rem);
    }

    .space-guide-compact-actions,
    .space-guide-compact-actions .space-button,
    .space-guide-compact-actions .space-button-ghost {
        width: 100%;
    }

    .space-guide-compact-steps,
    .space-guide-mini-products {
        grid-template-columns: 1fr;
    }

    .space-guide-compact-step {
        min-height: auto;
        padding: 14px;
    }

    .space-guide-compact-step .space-button-ghost {
        width: 100%;
    }

    .space-guide-compact-step-actions {
        width: 100%;
    }

    .space-guide-compact-step-actions .space-button-ghost {
        width: 100%;
    }

    .space-guide-mini-product {
        min-height: auto;
    }

    .space-guide-compact-final-panel {
        padding: 14px;
    }

    .space-guide-compact-final-panel .space-button {
        width: 100%;
    }

    .space-guide-hero,
    .space-guide-steps-section,
    .space-guide-products,
    .space-guide-apply {
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
        margin-left: auto;
        margin-right: auto;
    }

    .space-guide-hero {
        padding-top: 34px;
        padding-bottom: 34px;
    }

    .space-guide-hero-copy {
        gap: 16px;
    }

    .space-guide-hero-copy .space-page-title {
        font-size: clamp(2.15rem, 10.5vw, 3rem);
        line-height: 1.02;
    }

    .space-guide-hero-copy > p:not(.space-kicker) {
        font-size: 1rem;
    }

    .space-guide-hero-visual {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        min-height: 0;
        padding: 10px;
    }

    .space-guide-hero-visual::before {
        animation: none;
    }

    .space-guide-core,
    .space-guide-visual-card,
    .space-guide-visual-card.is-forceone,
    .space-guide-visual-card.is-software,
    .space-guide-visual-card.is-joystick,
    .space-guide-visual-card.is-crosshair {
        position: relative;
        inset: auto;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        width: 100%;
        min-height: 0;
        transform: none;
        animation: none;
    }

    .space-guide-core {
        grid-column: 1 / -1;
        border-radius: var(--space-radius);
        padding: 18px 12px;
    }

    .space-guide-core img {
        width: 82px;
        height: 82px;
    }

    .space-guide-visual-card {
        padding: 8px;
    }

    .space-guide-visual-card img {
        height: 82px;
    }

    .space-guide-steps,
    .space-guide-product-grid {
        grid-template-columns: 1fr;
    }

    .space-guide-step,
    .space-guide-product-card {
        min-height: auto;
    }

    .space-guide-product-card {
        grid-template-rows: 150px auto auto;
    }

    .space-guide-apply-panel {
        padding: 14px;
    }

    .space-guide-apply-panel h2 {
        font-size: clamp(1.9rem, 8.5vw, 2.3rem);
    }

    .space-home-v2-hero,
    .space-home-v2-strip,
    .space-home-v2-flow,
    .space-home-v2-product-cloud,
    .space-home-remap,
    .space-home-mission {
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
        margin-left: auto;
        margin-right: auto;
    }

    .space-home-v2-hero {
        padding-top: 26px;
        padding-bottom: 30px;
    }

    .space-home-v2-hero .space-title {
        font-size: 2.45rem;
        line-height: 1.02;
    }

    .space-home-v2-badges,
    .space-home-v2-flow-grid,
    .space-home-v2-feature-list {
        grid-template-columns: 1fr;
    }

    .space-home-v2-badge {
        min-height: auto;
    }

    .space-home-v2-flow,
    .space-home-v2-product-cloud,
    .space-home-remap,
    .space-home-mission {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .space-home-v2-flow-grid article {
        min-height: auto;
    }

    .space-home-v2-feature-list {
        min-width: 0;
    }

    .space-home-v2-compat-track {
        gap: 6px;
        padding: 10px;
    }

    .space-home-premium-access-panel {
        display: grid;
        gap: 14px;
        padding: 14px;
    }

    .space-home-premium-access-panel .space-button {
        width: 100%;
    }

    .space-home-v2-compat-track span {
        min-height: 32px;
        padding: 0 10px;
        font-size: 0.74rem;
    }
}

@media (max-width: 540px) {
    .space-home-support {
        min-height: 0;
        padding: 28px 22px;
    }

    .space-home-support-icon {
        width: 60px;
        height: 60px;
    }

    .space-home-support-button {
        width: 100%;
    }

    .space-home-v2-stage {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        min-height: 0;
        padding: 10px;
        overflow: hidden;
    }

    .space-home-v2-stage::after,
    .space-home-v2-stage-grid {
        display: none;
    }

    .space-home-v2-core,
    .space-home-v2-visual,
    .space-home-v2-live,
    .space-home-v2-live-delivery,
    .space-home-v2-live-input {
        position: relative;
        inset: auto;
        left: auto;
        top: auto;
        right: auto;
        bottom: auto;
        transform: none;
        width: 100%;
        max-width: none;
        animation: none;
    }

    .space-home-v2-core {
        grid-column: 1 / -1;
        min-height: 168px;
        padding: 18px 12px;
        border-radius: var(--space-radius);
    }

    .space-home-v2-core img {
        width: 82px;
        height: 82px;
    }

    .space-home-v2-core strong,
    .space-home-v2-core small {
        max-width: 100%;
    }

    .space-home-v2-visual {
        min-height: 150px;
        padding: 8px;
    }

    .space-home-v2-visual img {
        height: 76px;
    }

    .space-home-v2-visual strong {
        font-size: 0.78rem;
    }

    .space-home-v2-visual small {
        font-size: 0.68rem;
    }

    .space-home-v2-live {
        grid-column: 1 / -1;
    }

    .space-home-v2-live-delivery {
        order: -1;
    }
}

@media (max-width: 420px) {
    .space-guide-hero-visual {
        grid-template-columns: 1fr;
    }

    .space-guide-core {
        grid-column: 1;
    }

    .space-guide-step {
        padding: 18px;
    }

    .space-home-v2-hero .space-title {
        font-size: 2.08rem;
    }

    .space-home-v2-badge {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 2px 10px;
        padding: 12px;
    }

    .space-home-v2-badge span {
        width: 40px;
        height: 40px;
        font-size: 0.68rem;
    }
}

@media (max-width: 340px) {
    .space-home-v2-stage {
        grid-template-columns: 1fr;
    }

    .space-home-v2-core,
    .space-home-v2-live {
        grid-column: 1;
    }
}

@media (max-width: 760px) {
    .space-header {
        grid-template-columns: auto minmax(0, 1fr) auto auto;
        gap: 8px;
        align-items: center;
        justify-content: stretch;
        min-height: 62px;
        padding: 9px 12px;
    }

    .space-brand {
        grid-column: 1;
        grid-row: 1;
        gap: 9px;
        min-width: 0;
    }

    .space-brand img {
        width: 34px;
        height: 34px;
    }

    .space-brand span {
        display: inline;
        max-width: 112px;
        overflow: hidden;
        font-size: 0.82rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .space-mobile-cart-link {
        grid-column: 3;
        grid-row: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        min-width: 76px;
        min-height: 42px;
        padding: 0 11px;
        border: 1px solid rgba(104, 199, 255, 0.5);
        border-radius: var(--space-radius);
        background:
            linear-gradient(180deg, rgba(27, 141, 255, 0.28), rgba(27, 141, 255, 0.1)),
            rgba(7, 17, 31, 0.82);
        color: var(--space-white);
        font-size: 0.84rem;
        font-weight: 900;
        box-shadow: 0 10px 24px rgba(27, 141, 255, 0.12);
    }

    .space-mobile-cart-link strong {
        display: inline-grid;
        place-items: center;
        min-width: 20px;
        height: 20px;
        padding: 0 6px;
        border-radius: 999px;
        background: var(--space-blue);
        color: var(--space-white);
        font-size: 0.72rem;
        line-height: 1;
    }

    .space-nav-toggle {
        grid-column: 4;
        grid-row: 1;
        display: inline-flex;
        width: 42px;
        min-width: 42px;
        min-height: 42px;
        padding: 0;
        border-radius: 12px;
    }

    .space-nav-toggle span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .space-nav-toggle::before,
    .space-nav-toggle::after {
        content: "";
        position: absolute;
        width: 18px;
        height: 2px;
        border-radius: 999px;
        background: var(--space-white);
        transition: transform 180ms ease, box-shadow 180ms ease;
    }

    .space-nav-toggle::before {
        transform: translateY(-4px);
        box-shadow: 0 8px 0 var(--space-white);
    }

    .space-nav-toggle::after {
        transform: translateY(4px);
    }

    .space-nav-toggle[aria-expanded="true"]::before {
        transform: rotate(45deg);
        box-shadow: none;
    }

    .space-nav-toggle[aria-expanded="true"]::after {
        transform: rotate(-45deg);
    }

    .space-nav {
        position: static;
        grid-column: 1 / -1;
        grid-row: 2;
        display: none;
        width: 100%;
        margin-top: 8px;
        padding: 8px;
        border: 1px solid var(--space-line);
        border-radius: 14px 14px 0 0;
        background: rgba(4, 12, 22, 0.98);
        box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
    }

    .space-nav.is-open {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .space-nav-link {
        width: 100%;
        min-height: 44px;
        justify-content: space-between;
        padding: 0 12px;
        border-color: rgba(255, 255, 255, 0.08);
        background: rgba(255, 255, 255, 0.035);
        color: var(--space-white);
    }

    .space-nav-link.is-active {
        border-color: rgba(104, 199, 255, 0.55);
        background:
            linear-gradient(180deg, rgba(27, 141, 255, 0.24), rgba(27, 141, 255, 0.08)),
            rgba(7, 17, 31, 0.9);
    }

    .space-actions {
        grid-column: 1 / -1;
        grid-row: 3;
        display: none;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-top: -1px;
        padding: 8px;
        border: 1px solid var(--space-line);
        border-top: 0;
        border-radius: 0 0 14px 14px;
        background: rgba(4, 12, 22, 0.98);
        box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
    }

    .space-nav.is-open + .space-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .space-actions > .space-cart-link {
        display: none;
    }

    .space-lang {
        width: 100%;
        min-width: 0;
        padding: 3px;
    }

    .space-lang select {
        width: 100%;
        min-height: 40px;
        text-align: center;
    }

    .space-actions .space-button,
    .space-actions .space-button-ghost,
    .space-profile-button {
        grid-column: auto;
        width: 100%;
        min-width: 0;
        min-height: 44px;
        justify-content: center;
        padding: 0 12px;
    }

    .space-profile-button .space-profile-name {
        max-width: 150px;
    }

    .space-profile-button .space-profile-tier {
        display: inline-flex;
    }

    .space-socials {
        display: flex;
        justify-content: center;
        gap: 8px;
        padding-top: 2px;
    }

    .space-socials a {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 380px) {
    .space-brand span {
        display: none;
    }

    .space-mobile-cart-link {
        min-width: 70px;
        padding: 0 9px;
    }
}

.media-page {
    padding-top: 54px;
}

.media-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: end;
    margin-bottom: 22px;
}

.media-hero .space-page-title {
    margin-bottom: 12px;
}

.media-hero p:not(.space-kicker) {
    max-width: 680px;
    color: var(--space-muted);
}

.media-alert {
    margin-bottom: 18px;
    padding: 13px 14px;
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: rgba(7, 17, 31, 0.82);
    font-weight: 800;
}

.media-alert-success {
    border-color: rgba(95, 255, 194, 0.34);
    color: var(--space-success);
}

.media-alert-error {
    border-color: rgba(255, 93, 122, 0.34);
    color: var(--space-danger);
}

.media-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
    gap: 18px;
    align-items: start;
}

.media-upload-panel,
.media-feed-wrap {
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: rgba(7, 17, 31, 0.72);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.media-upload-panel {
    position: sticky;
    top: 94px;
    display: grid;
    gap: 18px;
    padding: 18px;
}

.media-upload-panel > div:first-child span {
    color: var(--space-blue-2);
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.media-upload-panel h2 {
    margin: 6px 0 8px;
    font-size: 1.35rem;
}

.media-upload-panel p,
.media-empty-panel,
.media-login-card p {
    margin: 0;
    color: var(--space-muted);
}

.media-upload-form {
    display: grid;
    gap: 12px;
}

.media-upload-form label {
    display: grid;
    gap: 7px;
    color: var(--space-white);
    font-size: 0.86rem;
    font-weight: 900;
}

.media-upload-form input[type="text"],
.media-upload-form textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: rgba(2, 6, 13, 0.72);
    color: var(--space-white);
    font: inherit;
}

.media-upload-form input[type="text"] {
    min-height: 42px;
    padding: 0 12px;
}

.media-upload-form textarea {
    min-height: 94px;
    padding: 11px 12px;
    resize: vertical;
}

.media-file-drop {
    position: relative;
    align-items: center;
    justify-items: center;
    min-height: 132px;
    padding: 18px;
    border: 1px dashed rgba(104, 199, 255, 0.38);
    border-radius: var(--space-radius);
    background: rgba(27, 141, 255, 0.06);
    text-align: center;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    user-select: none;
}

.media-file-drop.is-dragover,
.media-file-drop:focus-within {
    border-color: rgba(95, 255, 194, 0.78);
    background: rgba(95, 255, 194, 0.11);
    box-shadow: 0 0 0 3px rgba(95, 255, 194, 0.1), 0 16px 34px rgba(0, 0, 0, 0.22);
}

.media-file-drop.is-dragover {
    transform: translateY(-1px);
}

.media-file-drop input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.media-file-drop span {
    color: var(--space-white);
    font-size: 1rem;
}

.media-file-drop small {
    max-width: 100%;
    color: var(--space-muted);
    overflow-wrap: anywhere;
}

.media-upload-progress {
    display: grid;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(104, 199, 255, 0.22);
    border-radius: var(--space-radius);
    background: rgba(27, 141, 255, 0.08);
}

.media-upload-progress[hidden] {
    display: none;
}

.media-upload-progress > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--space-muted);
    font-size: 0.83rem;
    font-weight: 900;
}

.media-upload-progress strong {
    color: var(--space-white);
    font-variant-numeric: tabular-nums;
}

.media-upload-progress-bar {
    display: block;
    overflow: hidden;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.media-upload-progress-bar span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--space-blue), var(--space-green));
    transition: width 0.18s ease;
}

.media-upload-form.is-uploading button[type="submit"] {
    opacity: 0.7;
    pointer-events: none;
}

.media-login-card,
.media-empty-panel {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--space-line);
    border-radius: var(--space-radius);
    background: rgba(255, 255, 255, 0.04);
}

.media-feed-wrap {
    overflow: hidden;
}

.media-feed {
    height: min(780px, calc(100dvh - 112px));
    min-height: 620px;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(104, 199, 255, 0.5) rgba(255, 255, 255, 0.08);
}

.media-clip {
    position: relative;
    display: grid;
    min-height: min(780px, calc(100dvh - 112px));
    scroll-snap-align: start;
    overflow: hidden;
    background: #02060d;
}

.media-clip:fullscreen,
.media-clip:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    background: #000;
}

.media-player {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(2, 6, 13, 0.18), rgba(2, 6, 13, 0.84)),
        #02060d;
}

.media-player::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(2, 6, 13, 0.72), rgba(2, 6, 13, 0.08) 30%, rgba(2, 6, 13, 0.08) 58%, rgba(2, 6, 13, 0.86)),
        linear-gradient(90deg, rgba(2, 6, 13, 0.32), transparent 42%, rgba(2, 6, 13, 0.24));
    pointer-events: none;
}

.media-player video {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    background: #000;
    cursor: pointer;
}

.media-clip-info {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    display: grid;
    gap: 12px;
    width: min(640px, calc(100% - 170px));
    max-width: calc(100% - 36px);
    pointer-events: none;
}

.media-author-row {
    width: fit-content;
    max-width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 11px 7px 7px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(2, 6, 13, 0.6);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(12px);
}

.media-author-row .forum-avatar {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: var(--forum-user-color, var(--space-blue));
    color: #fff;
    font-size: 0.82rem;
    font-weight: 950;
}

.media-author-row .forum-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-author-row strong,
.media-author-row small {
    display: block;
}

.media-author-row small {
    color: rgba(247, 251, 255, 0.72);
    font-size: 0.78rem;
}

.media-title-block {
    display: grid;
    gap: 7px;
    max-width: 100%;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
}

.media-title-block h2 {
    margin: 0;
    color: var(--space-white);
    font-size: clamp(1.26rem, 2.25vw, 2.15rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.media-title-block p {
    max-width: 620px;
    margin: 0;
    color: rgba(247, 251, 255, 0.86);
    overflow-wrap: anywhere;
}

.media-clip-badges {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
    max-width: 142px;
    pointer-events: none;
}

.media-clip-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--space-white);
    font-size: 0.74rem;
    font-weight: 900;
}

.media-controls {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 54px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(2, 6, 13, 0.78);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.44);
    backdrop-filter: blur(16px);
}

.media-control-button {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    min-height: 38px;
    flex: 0 0 38px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--space-white);
    font-size: 1rem;
    font-weight: 950;
    line-height: 1;
    cursor: pointer;
}

.media-control-button:hover,
.media-control-button:focus-visible {
    border-color: rgba(104, 199, 255, 0.6);
    background: rgba(27, 141, 255, 0.28);
    outline: none;
}

.media-time {
    min-width: 44px;
    color: rgba(247, 251, 255, 0.82);
    font-size: 0.78rem;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.media-seek {
    width: 100%;
    min-width: 80px;
    height: 22px;
    flex: 1 1 auto;
    accent-color: var(--space-blue-2);
    cursor: pointer;
}

.media-volume {
    width: 112px;
    min-width: 82px;
    max-width: 128px;
    height: 22px;
    flex: 0 1 112px;
    accent-color: var(--space-green);
    cursor: pointer;
}

.media-seek:focus-visible,
.media-volume:focus-visible {
    outline: 2px solid rgba(104, 199, 255, 0.72);
    outline-offset: 3px;
}

.media-clip-empty {
    place-items: center;
    padding: 24px;
    text-align: center;
}

.media-clip-empty > div {
    display: grid;
    gap: 8px;
    max-width: 360px;
}

.media-clip-empty span {
    font-size: 1.35rem;
    font-weight: 950;
}

.media-clip-empty p {
    margin: 0;
    color: var(--space-muted);
}

@media (max-width: 1080px) {
    .media-layout {
        grid-template-columns: 1fr;
    }

    .media-upload-panel {
        position: static;
    }

    .media-feed {
        height: min(820px, calc(100dvh - 82px));
    }

    .media-clip {
        min-height: min(820px, calc(100dvh - 82px));
    }
}

@media (max-width: 760px) {
    .media-page {
        padding-top: 34px;
    }

    .media-hero {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .media-hero .space-button {
        width: 100%;
    }

    .media-upload-panel,
    .media-feed-wrap {
        border-radius: 0;
        margin-left: -12px;
        margin-right: -12px;
        border-left: 0;
        border-right: 0;
    }

    .media-feed {
        min-height: calc(100dvh - 76px);
        height: calc(100dvh - 76px);
    }

    .media-clip {
        min-height: calc(100dvh - 76px);
    }

    .media-clip-info {
        top: 14px;
        left: 14px;
        width: calc(100% - 28px);
    }

    .media-clip-badges {
        top: auto;
        right: auto;
        left: 14px;
        bottom: 82px;
        max-width: calc(100% - 28px);
        justify-content: flex-start;
    }

    .media-title-block h2 {
        font-size: clamp(1.08rem, 6vw, 1.62rem);
    }

    .media-title-block p {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .media-controls {
        left: 10px;
        right: 10px;
        bottom: 10px;
        flex-wrap: wrap;
        gap: 7px;
        padding: 8px;
    }

    .media-control-button {
        width: 36px;
        height: 36px;
        min-height: 36px;
        flex-basis: 36px;
    }

    .media-time {
        min-width: 38px;
        font-size: 0.72rem;
    }

    .media-seek {
        order: -1;
        min-width: 100%;
        flex-basis: 100%;
    }

    .media-volume {
        min-width: 76px;
        flex: 1 1 76px;
        max-width: none;
    }

    .media-clip-badges {
        bottom: 118px;
    }
}

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

    .space-main,
    .space-auth-wrap,
    .space-section-head,
    .space-stat,
    .space-card,
    .space-price,
    .space-step,
    .space-form-panel,
    .space-shop-highlight,
    .space-interface-panel,
    .space-shop-card,
    .space-premium-card,
    .space-home-v2-stage,
    .space-home-v2-stage::after,
    .space-home-v2-core,
    .space-home-v2-visual {
        animation: none !important;
    }
}

/* Email two-factor authentication */
.space-profile-security {
    display: grid;
    gap: 16px;
    margin-top: 22px;
    padding: 20px;
    border: 1px solid rgba(104, 199, 255, 0.28);
    border-radius: 8px;
    background: rgba(8, 23, 39, 0.82);
}

.space-profile-security-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.space-profile-security-head span {
    color: var(--space-blue-2);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.space-profile-security-head h2 {
    margin: 5px 0 0;
    color: var(--space-white);
    font-size: 1.15rem;
}

.space-profile-security > p {
    margin: 0;
    color: var(--space-muted);
    line-height: 1.55;
}

.space-profile-security-status {
    flex: 0 0 auto;
    padding: 6px 10px;
    border: 1px solid rgba(255, 111, 135, 0.4);
    border-radius: 999px;
    background: rgba(255, 111, 135, 0.1);
    color: #ff9bad;
    font-size: 0.76rem;
}

.space-profile-security-status.is-enabled {
    border-color: rgba(76, 227, 165, 0.45);
    background: rgba(76, 227, 165, 0.1);
    color: #68efb6;
}

.space-profile-security-form {
    grid-template-columns: minmax(190px, 0.9fr) minmax(230px, 1.1fr);
    align-items: end;
}

.space-profile-security-form > .space-button {
    grid-column: 1 / -1;
    justify-self: end;
    width: min(100%, 240px);
    min-height: 44px;
    white-space: normal;
}

.space-profile-security-control {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 12px;
    border: 1px solid var(--space-line);
    border-radius: 7px;
    background: rgba(3, 11, 20, 0.58);
}

.space-profile-security-control strong,
.space-profile-security-control small {
    display: block;
}

.space-profile-security-control strong {
    color: var(--space-white);
    font-size: 0.9rem;
}

.space-profile-security-control small {
    margin-top: 3px;
    color: var(--space-muted);
    font-size: 0.74rem;
}

.space-toggle {
    position: relative;
    display: inline-flex !important;
    flex: 0 0 auto;
    width: 48px;
    height: 26px;
    cursor: pointer;
}

.space-toggle input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.space-toggle span {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(142, 164, 190, 0.42);
    border-radius: 999px;
    background: #172334;
    transition: background 160ms ease, border-color 160ms ease;
}

.space-toggle span::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #dce9f6;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    transition: transform 160ms ease, background 160ms ease;
}

.space-toggle input:checked + span {
    border-color: rgba(76, 227, 165, 0.7);
    background: #15966b;
}

.space-toggle input:checked + span::after {
    transform: translateX(22px);
    background: #fff;
}

.space-toggle input:focus-visible + span {
    outline: 2px solid var(--space-blue-2);
    outline-offset: 3px;
}

.space-two-factor-wrap {
    min-height: 100dvh;
}

.space-two-factor-expiry {
    width: fit-content;
    min-width: 70px;
    margin: 20px 0 0;
    color: #68efb6;
    font-size: 1.1rem;
    font-variant-numeric: tabular-nums;
    font-weight: 900;
}

.space-two-factor-code {
    text-align: center;
    font-size: 1.45rem;
    font-variant-numeric: tabular-nums;
    font-weight: 900;
    letter-spacing: 0.28em;
}

.space-two-factor-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

@media (max-width: 1080px) {
    .space-profile-security-form {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .space-profile-security-form {
        grid-template-columns: 1fr;
    }

    .space-profile-security-form > .space-button {
        grid-column: auto;
        justify-self: stretch;
        width: 100%;
    }

    .space-profile-security-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .space-two-factor-wrap {
        padding-bottom: 28px;
    }
}

@media (max-width: 420px) {
    .space-profile-security {
        padding: 15px;
    }

    .space-profile-security-control {
        align-items: flex-start;
    }

    .space-two-factor-actions {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .space-toggle span,
    .space-toggle span::after {
        transition: none;
    }
}
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: csaPageLeave 140ms ease both;
}

::view-transition-new(root) {
  animation: csaPageEnter 190ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes csaPageLeave {
  to { opacity: 0.88; }
}

@keyframes csaPageEnter {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}

.space-nav-link[data-nav-page="Menu"] {
    border-color: transparent;
    background: transparent;
    color: #78c8ff;
    font-weight: 800;
    box-shadow: none;
}

.space-nav-link[data-nav-page="Menu"]:hover,
.space-nav-link[data-nav-page="Menu"]:focus-visible,
.space-nav-link[data-nav-page="Menu"].is-active {
    border-color: transparent;
    background: transparent;
    color: #a6ddff;
    box-shadow: none;
}

.space-nav-link[data-nav-page="Guide"] {
    border-color: transparent;
    background: transparent;
    color: #efb77b;
    font-weight: 800;
    box-shadow: none;
}

.space-nav-link[data-nav-page="Guide"]:hover,
.space-nav-link[data-nav-page="Guide"]:focus-visible,
.space-nav-link[data-nav-page="Guide"].is-active {
    border-color: transparent;
    background: transparent;
    color: #ffd1a1;
    box-shadow: none;
}

.coin-purchase-modal {
    z-index: 12000;
}

.coin-purchase-panel {
    width: min(460px, calc(100vw - 28px));
    display: grid;
    gap: 24px;
    padding: 28px;
}

.coin-purchase-question {
    display: grid;
    gap: 16px;
    justify-items: center;
    text-align: center;
}

.coin-purchase-question h2 {
    margin: 0;
    color: #f6f9ff;
    font-size: clamp(1.25rem, 4vw, 1.7rem);
    line-height: 1.25;
}

.coin-purchase-debit {
    color: #ff5573;
    font-size: clamp(1.45rem, 5vw, 2rem);
    line-height: 1;
    text-shadow: 0 0 18px rgba(255, 66, 103, .24);
}

.coin-purchase-actions {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.coin-purchase-actions > button {
    min-height: 46px;
    width: 100%;
}

.coin-delivery-page {
    width: min(1200px, calc(100% - 36px));
    margin-inline: auto;
    padding-top: 46px;
}

.coin-delivery-head {
    align-items: flex-end;
    margin-bottom: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid #1d2d3e;
}

.coin-delivery-head > div {
    max-width: 760px;
}

.coin-delivery-head .space-kicker {
    margin-bottom: 8px;
}

.coin-delivery-head .space-page-title {
    max-width: none;
    margin: 0;
    font-size: clamp(2.15rem, 5vw, 4rem);
    line-height: .98;
}

.coin-delivery-head p:last-child {
    margin: 12px 0 0;
    color: #9fb0c3;
    font-size: .96rem;
}

.coin-delivery-page-alert {
    margin-bottom: 18px;
}

.coin-delivery-page-alert.is-balance-error,
.coin-delivery-inline-error {
    border-color: rgba(255, 82, 112, .55);
    background: rgba(105, 18, 39, .34);
    color: #ffb2c0;
}

.coin-delivery-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 390px);
    gap: 24px;
    align-items: start;
}

.coin-delivery-form {
    display: grid;
    gap: 0;
    padding: 0;
    overflow: hidden;
    border-color: #23384d;
    border-radius: 8px;
    background: #091522;
}

.coin-delivery-form-head {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 19px 22px;
    border-bottom: 1px solid #203449;
    background: #0c1b2a;
}

.coin-delivery-step {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border: 1px solid #2c9df2;
    border-radius: 50%;
    background: rgba(31, 143, 234, .13);
    color: #61c8ff;
    font-weight: 950;
}

.coin-delivery-form-head > div > span {
    display: block;
    margin-bottom: 2px;
    color: #66c9ff;
    font-size: .68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.coin-delivery-form-head h2 {
    margin: 0;
    font-size: 1.08rem;
}

.coin-delivery-form-body {
    display: grid;
    gap: 15px;
    padding: 22px;
}

.coin-delivery-form label {
    display: grid;
    gap: 7px;
}

.coin-delivery-form label > span {
    color: #aebed0;
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.coin-delivery-form input {
    width: 100%;
    min-height: 46px;
    padding: 0 13px;
    border: 1px solid #2a4056;
    border-radius: 6px;
    outline: 0;
    background: #07111d;
    color: #f5f9ff;
    transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.coin-delivery-form input:hover {
    border-color: #3b5872;
}

.coin-delivery-form input:focus {
    border-color: #2c9df2;
    background: #091624;
    box-shadow: 0 0 0 3px rgba(44, 157, 242, .13);
}

.coin-delivery-fields-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.coin-delivery-confirm {
    width: calc(100% - 44px);
    min-height: 48px;
    margin: 0 22px 22px;
}

.coin-delivery-inline-error {
    margin: -8px 22px 22px;
}

.coin-delivery-summary {
    position: sticky;
    top: 88px;
    display: grid;
    gap: 0;
    padding: 0;
    overflow: hidden;
    border-color: #27435e;
    border-radius: 8px;
    background: #091725;
}

.coin-delivery-wallet-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 65px;
    padding: 10px 14px 10px 17px;
    border-bottom: 1px solid #21384e;
    background: #0c1c2b;
}

.coin-delivery-wallet-row > span {
    color: #9fb2c7;
    font-size: .75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.coin-delivery-wallet {
    min-height: 40px;
    pointer-events: none;
}

.coin-delivery-product-art {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 16 / 9;
    padding: 12px;
    overflow: hidden;
    border-bottom: 1px solid #20374d;
    background: #06101b;
}

.coin-delivery-product-art > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 5px;
}

.coin-delivery-product-copy {
    padding: 17px 18px 15px;
}

.coin-delivery-product-copy > span {
    color: #66c9ff;
    font-size: .68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.coin-delivery-product-copy h2 {
    margin: 6px 0 3px;
    font-size: 1.3rem;
}

.coin-delivery-product-copy p {
    margin: 0;
    color: #a8b9cb;
    font-size: .88rem;
}

.coin-delivery-summary dl {
    display: grid;
    gap: 0;
    margin: 0;
    border-top: 1px solid #20374d;
}

.coin-delivery-summary dl > div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 18px;
    border-bottom: 1px solid #20374d;
}

.coin-delivery-summary dt {
    color: #9db0c5;
}

.coin-delivery-summary dd {
    margin: 0;
    color: #eef7ff;
    font-weight: 800;
    text-align: right;
}

.coin-delivery-summary .coin-delivery-total dd {
    color: #ffe35a;
}

.coin-delivery-summary .coin-delivery-total {
    background: rgba(255, 226, 67, .035);
}

.coin-delivery-summary .coin-delivery-remaining {
    border-bottom: 0;
    background: rgba(34, 207, 143, .07);
}

.coin-delivery-summary .coin-delivery-remaining dt,
.coin-delivery-summary .coin-delivery-remaining dd {
    color: #62e9b0;
    font-weight: 900;
}

.coin-delivery-summary .coin-delivery-remaining.is-insufficient {
    background: rgba(255, 76, 108, .09);
}

.coin-delivery-summary .coin-delivery-remaining.is-insufficient dt,
.coin-delivery-summary .coin-delivery-remaining.is-insufficient dd {
    color: #ff7089;
}

@media (max-width: 820px) {
    .coin-delivery-layout {
        grid-template-columns: 1fr;
    }

    .coin-delivery-summary {
        position: static;
        order: -1;
    }

    .coin-delivery-head .space-page-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}

@media (max-width: 560px) {
    .coin-delivery-page {
        width: min(100% - 20px, 1180px);
    }

    .coin-delivery-fields-two {
        grid-template-columns: 1fr;
    }

    .coin-delivery-head {
        align-items: stretch;
        flex-direction: column;
    }

    .coin-delivery-head .space-button-ghost {
        width: 100%;
    }

    .coin-delivery-form-head,
    .coin-delivery-form-body {
        padding-inline: 15px;
    }

    .coin-delivery-confirm {
        width: calc(100% - 30px);
        margin-inline: 15px;
    }

    .coin-delivery-inline-error {
        margin-inline: 15px;
    }
}

/* Boutique v3 */
.shop-v3 {
    width: min(1240px, calc(100% - 36px));
    padding-top: 54px;
}

.shop-v3-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.shop-v3-head .space-kicker {
    margin-bottom: 10px;
}

.shop-v3-head h1 {
    margin: 0;
    color: #f7fbff;
    font-size: clamp(2.25rem, 5vw, 3.65rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.shop-v3-wallet {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 8px 14px;
    border: 1px solid #725f1b;
    border-radius: 6px;
    background: #15160d;
    color: #ffe45c;
    font-weight: 900;
    text-decoration: none;
    transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.shop-v3-wallet:hover {
    border-color: #ffe45c;
    background: #202015;
    transform: translateY(-2px);
}

.shop-v3-wallet img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.shop-v3-premium {
    margin: 0 0 22px;
}

.shop-v3-premium-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.shop-v3-premium-heading h2 {
    margin: 0;
    color: #f7fbff;
    font-size: 1.05rem;
    letter-spacing: 0;
}

.shop-v3-premium-notice {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-left: 3px solid #f3a84b;
    background: #16130f;
    color: #d9e2ee;
    font-size: 0.86rem;
    line-height: 1.5;
}

.shop-v3-premium-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.shop-v3-premium-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #2c4055;
    border-radius: 8px;
    background: #0a131f;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.shop-v3-premium-card:hover {
    border-color: #62b9ff;
    transform: translateY(-3px);
    box-shadow: 0 19px 40px rgba(0, 0, 0, 0.3);
}

.shop-v3-premium-card form {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    margin: 0;
}

.shop-v3-premium-art {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-bottom: 1px solid #2c4055;
    background: #101b2a;
}

.shop-v3-premium-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 240ms ease;
}

.shop-v3-premium-card:hover .shop-v3-premium-art img {
    transform: scale(1.025);
}

.shop-v3-premium-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px 12px;
    padding: 12px;
}

.shop-v3-premium-body h3 {
    min-width: 0;
    margin: 0;
    color: #f7fbff;
    font-size: 0.92rem;
    line-height: 1.25;
    letter-spacing: 0;
}

.shop-v3-premium-price {
    display: grid;
    justify-items: end;
    gap: 1px;
    white-space: nowrap;
}

.shop-v3-premium-price del {
    color: #6f8297;
    font-size: 0.66rem;
}

.shop-v3-premium-price strong {
    color: #ffe45c;
    font-size: 0.88rem;
    line-height: 1.2;
}

.shop-v3-premium-body .space-button {
    grid-column: 1 / -1;
    min-height: 38px;
    padding: 8px 12px;
}

.shop-v3-filters {
    display: flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
    max-width: 100%;
    margin: 24px 0 22px;
    padding: 4px;
    overflow-x: auto;
    border: 1px solid #26384c;
    border-radius: 7px;
    background: #080f18;
    scrollbar-width: none;
}

.shop-v3-filters::-webkit-scrollbar {
    display: none;
}

.shop-v3-filters button {
    min-height: 38px;
    padding: 0 17px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #9fb0c3;
    font: inherit;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    transition: color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.shop-v3-filters button:hover {
    color: #ffffff;
}

.shop-v3-filters button.is-active {
    background: #218cff;
    color: #ffffff;
}

.shop-v3-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    min-height: 280px;
}

.shop-v3-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #25374a;
    border-radius: 8px;
    background: #0a131f;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease, opacity 130ms ease;
    animation: shopV3CardIn 220ms both;
}

.shop-v3-card[hidden] {
    display: none;
}

.shop-v3-card:hover {
    border-color: #3e9eff;
    transform: translateY(-5px);
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.32);
}

.shop-v3-card.is-featured {
    border-color: #725f1b;
}

.shop-v3-card.is-unavailable {
    opacity: 0.72;
}

.shop-v3-card > form {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    margin: 0;
}

.shop-v3-visual {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-bottom: 1px solid #25374a;
    background: #101b2a;
}

.shop-v3-visual.is-premium {
    background: #16170e;
}

.shop-v3-visual > img {
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover;
    transition: transform 260ms ease, opacity 160ms ease;
}

.shop-v3-card:hover .shop-v3-visual > img {
    transform: scale(1.035);
}

.shop-v3-visual > img.is-switching {
    opacity: 0.25;
    transform: scale(0.98);
}

.shop-v3-badge {
    position: absolute;
    z-index: 2;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 9px;
    border: 1px solid #5cb5ff;
    border-radius: 5px;
    background: #176eb7;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.shop-v3-badge.is-included {
    border-color: #3bd69c;
    background: #126b50;
}

.shop-v3-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 15px;
    padding: 16px;
}

.shop-v3-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    min-height: 51px;
}

.shop-v3-title-row h2 {
    margin: 0;
    color: #f5f9ff;
    font-size: 1.08rem;
    line-height: 1.25;
    letter-spacing: 0;
}

.shop-v3-title-row p {
    margin: 5px 0 0;
    color: #8fa2b8;
    font-size: 0.79rem;
    line-height: 1.35;
}

.shop-v3-stock {
    flex: 0 0 auto;
    color: #ff7078;
    font-size: 0.7rem;
    font-weight: 900;
    white-space: nowrap;
}

.shop-v3-stock.is-available {
    color: #43d996;
}

.shop-v3-title-actions {
    display: grid;
    justify-items: end;
    gap: 7px;
    flex: 0 0 auto;
}

.shop-v3-interface-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 29px;
    padding: 5px 9px;
    border: 1px solid rgba(84, 179, 255, 0.46);
    border-radius: 5px;
    background: rgba(24, 140, 255, 0.1);
    color: #9fd4ff;
    font-size: 0.66rem;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
    transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.shop-v3-interface-link:hover {
    border-color: #54b3ff;
    background: rgba(24, 140, 255, 0.2);
    color: #ffffff;
}

.shop-v3-swatches {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.shop-v3-swatches legend {
    margin-bottom: 8px;
    color: #8295aa;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.shop-v3-swatches > div {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.shop-v3-swatch {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin: 0;
    cursor: pointer;
}

.shop-v3-swatch input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.shop-v3-swatch > span {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.32);
    border-radius: 50%;
    background: var(--shop-swatch, #64748b);
    box-shadow: 0 0 0 2px transparent;
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.shop-v3-swatch:hover > span {
    transform: scale(1.12);
}

.shop-v3-swatch input:checked + span {
    box-shadow: 0 0 0 2px #0a131f, 0 0 0 4px #54b3ff;
}

.shop-v3-swatch > img {
    display: none;
}

.shop-v3-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 3px;
}

.shop-v3-price-row > div {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.shop-v3-price-row del {
    color: #6f8297;
    font-size: 0.76rem;
}

.shop-v3-price-row strong {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 0.98rem;
    line-height: 1.2;
}

.shop-v3-price-row strong > span:first-child {
    color: #ffe45c;
    font-size: 1.06rem;
}

.shop-v3-price-row strong > span:last-child {
    color: #57b7ff;
}

.shop-v3-delivery-time {
    flex: 0 0 auto;
    color: #8fd0ff;
    font-size: 0.76rem;
    font-weight: 900;
    line-height: 1.25;
    text-align: right;
    white-space: nowrap;
}

.shop-v3-promo-countdown {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 28px;
    padding: 5px 9px;
    border: 1px solid rgba(255, 202, 69, 0.38);
    border-radius: 5px;
    background: rgba(255, 183, 35, 0.09);
    color: #ffd45a;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1.25;
    font-variant-numeric: tabular-nums;
}

.shop-v3-promo-countdown::before {
    content: "";
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border-radius: 50%;
    background: #ffbd35;
    box-shadow: 0 0 10px rgba(255, 189, 53, 0.72);
}

.shop-v3-promo-countdown.is-countdown-expired {
    border-color: rgba(255, 112, 120, 0.35);
    background: rgba(255, 82, 94, 0.08);
    color: #ff8b92;
}

.shop-v3-promo-countdown.is-countdown-expired::before {
    background: #ff7078;
    box-shadow: none;
}

.shop-v3-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.shop-v3-card[data-shop-v3-card="software"] .shop-v3-actions {
    margin-top: auto;
}

.shop-v3-actions .space-button,
.shop-v3-actions .space-button-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 42px;
    padding: 9px 10px;
    text-align: center;
}

.shop-v3-reseller {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 28px;
    padding: 16px;
    border: 1px solid #26384c;
    border-radius: 7px;
    background: #080f18;
}

.shop-v3-reseller > div {
    display: grid;
    gap: 3px;
}

.shop-v3-reseller span {
    color: #58b7ff;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.shop-v3-reseller strong {
    color: #f4f8fc;
}

.shop-v3-reseller form {
    display: flex;
    gap: 8px;
    width: min(100%, 480px);
}

.shop-v3-reseller .space-input {
    flex: 1;
    min-width: 0;
}

/* Fiche produit */
.product-v3 {
    width: min(1180px, calc(100% - 36px));
    padding-top: 34px;
}

.product-v3-back {
    display: inline-flex;
    margin-bottom: 22px;
    color: #9db1c6;
    font-weight: 800;
    text-decoration: none;
    transition: color 150ms ease, transform 150ms ease;
}

.product-v3-back::before {
    content: "\2190";
    margin-right: 8px;
}

.product-v3-back:hover {
    color: #ffffff;
    transform: translateX(-3px);
}

.product-v3-main {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
    gap: 22px;
    align-items: stretch;
}

.product-v3-gallery,
.product-v3-buy {
    position: relative;
    min-width: 0;
    border: 1px solid #26384c;
    border-radius: 8px;
    background: #0a131f;
}

.product-v3-gallery {
    display: grid;
    place-items: center;
    min-height: 500px;
    overflow: hidden;
    background: #101b2a;
}

.product-v3-gallery > img {
    width: 100%;
    height: 100%;
    max-height: 610px;
    padding: 28px;
    object-fit: contain;
    transition: opacity 160ms ease, transform 200ms ease;
}

.product-v3-gallery > img.is-switching {
    opacity: 0.25;
    transform: scale(0.98);
}

.product-v3-buy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(24px, 4vw, 42px);
}

.product-v3-kind {
    color: #54b3ff;
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.product-v3-buy h1 {
    margin: 8px 0 0;
    color: #f7fbff;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1;
    letter-spacing: 0;
}

.product-v3-summary {
    margin: 18px 0 24px;
    color: #a9b8c9;
    line-height: 1.7;
}

.product-v3-console-note {
    display: grid;
    gap: 5px;
    margin: -8px 0 22px;
    padding: 13px 14px;
    border-left: 3px solid #54b3ff;
    background: rgba(30, 141, 229, 0.1);
    color: #a9c9e5;
    font-size: 0.82rem;
    line-height: 1.5;
}

.product-v3-console-note strong {
    color: #79c6ff;
    font-size: 0.74rem;
    text-transform: uppercase;
}

.product-v3-console-note p {
    margin: 0;
}

.product-v3-console-note p + p {
    margin-top: 5px;
}

.product-v3-promo-countdown {
    margin: -8px 0 20px;
}

.product-v3-buy form {
    display: grid;
    gap: 18px;
}

.product-v3-colors {
    padding: 14px 0 2px;
    border-top: 1px solid #223448;
}

.product-v3-purchase-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid #223448;
}

.product-v3-price {
    display: grid;
    gap: 3px;
}

.product-v3-price del {
    color: #7f91a5;
}

.product-v3-price strong {
    color: #ffe45c;
    font-size: 1.55rem;
}

.product-v3-quantity {
    display: grid;
    gap: 5px;
    width: 86px;
    color: #8fa2b8;
    font-size: 0.72rem;
    font-weight: 800;
}

.product-v3-quantity input {
    width: 100%;
    min-height: 40px;
    border: 1px solid #324b65;
    border-radius: 5px;
    background: #07101a;
    color: #ffffff;
    text-align: center;
}

.product-v3-primary {
    width: 100%;
    min-height: 48px;
}

.product-v3-interface-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
}

.product-v3-bonus,
.product-v3-included {
    margin: 0;
    color: #43d996;
    font-weight: 800;
}

.product-v3-status {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #223448;
    color: #94a7ba;
    font-size: 0.8rem;
}

.product-v3-status strong {
    color: #dce8f4;
}

.product-v3-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: 22px;
    overflow: hidden;
    border: 1px solid #26384c;
    border-radius: 8px;
    background: #26384c;
}

.product-v3-details section {
    min-width: 0;
    padding: 25px;
    background: #0a131f;
}

.product-v3-details section > span {
    color: #54b3ff;
    font-size: 0.7rem;
    font-weight: 900;
}

.product-v3-details h2 {
    margin: 9px 0 10px;
    color: #f1f7fd;
    font-size: 1rem;
    letter-spacing: 0;
}

.product-v3-details p {
    margin: 0;
    color: #9db0c3;
    line-height: 1.65;
}

.product-v3-empty {
    display: grid;
    justify-items: start;
    gap: 15px;
}

.product-v3-empty > span {
    color: #54b3ff;
    font-weight: 900;
}

.product-v3-empty h1 {
    margin: 0;
    color: #ffffff;
}

@keyframes shopV3CardIn {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
    .shop-v3-premium-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-v3-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-v3-main {
        grid-template-columns: 1fr;
    }

    .product-v3-gallery {
        min-height: min(64vw, 540px);
    }
}

@media (max-width: 680px) {
    .shop-v3,
    .product-v3 {
        width: min(100% - 20px, 1240px);
        padding-top: 26px;
    }

    .shop-v3-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .shop-v3-head h1 {
        font-size: 2.55rem;
    }

    .shop-v3-filters {
        width: 100%;
    }

    .shop-v3-premium-grid {
        gap: 10px;
    }

    .shop-v3-premium-body {
        padding: 10px;
    }

    .shop-v3-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .shop-v3-visual {
        aspect-ratio: 16 / 11;
    }

    .shop-v3-actions {
        grid-template-columns: 1fr;
    }

    .shop-v3-reseller,
    .shop-v3-reseller form {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .product-v3-gallery {
        min-height: 330px;
    }

    .product-v3-gallery > img {
        padding: 16px;
    }

    .product-v3-buy {
        padding: 22px 18px;
    }

    .product-v3-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 410px) {
    .shop-v3-actions {
        grid-template-columns: 1fr;
    }

    .product-v3-purchase-row {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shop-v3-card,
    .shop-v3-premium-card,
    .shop-v3-premium-art img,
    .shop-v3-visual > img,
    .product-v3-gallery > img {
        animation: none;
        transition: none;
    }
}
