/* ── Striqr marketing home (Stytch-inspired, light-only) ── */

.marketing-site {
    --st-bg: #ffffff;
    --st-bg-elevated: #ffffff;
    --st-bg-sunken: #f6f6f8;
    --st-ink: #121212;
    --st-ink-muted: #5c5c5c;
    --st-ink-faint: #8a8a8a;
    --st-line: rgba(18, 18, 18, 0.08);
    --st-line-strong: rgba(18, 18, 18, 0.14);
    --st-accent: #7c3aed;
    --st-accent-deep: #5b21b6;
    --st-yellow: #ffe234;
    --st-yellow-ink: #1a1600;
    --st-grid: 72px;
    --st-font-display: "Outfit", "DM Sans", system-ui, sans-serif;
    --st-font-ui: "DM Sans", system-ui, sans-serif;
    --st-font-mono: "IBM Plex Mono", ui-monospace, monospace;
    --st-nav-h: 64px;
    --st-outline-w: min(1120px, calc(100% - 40px));
    --st-outline-left: max(20px, calc(50% - var(--st-outline-w) / 2));
    --st-inset: 36px;
    --st-frame-bolt: 34px;

    background: var(--st-bg);
    color: var(--st-ink);
    color-scheme: light;
    overflow-x: clip;
}

.marketing-site .ambient-bg {
    display: none;
}

/* ── Stytch-style marketing header ── */

.marketing-site .st-nav.topnav {
    position: sticky;
    top: 0;
    z-index: 500;
    display: block;
    height: auto;
    padding: 0;
    background: var(--st-bg);
    border: 0;
    backdrop-filter: none;
}

.marketing-site .st-nav.topnav::after {
    display: none;
}

.st-nav-bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    width: var(--st-outline-w);
    max-width: calc(100% - 40px);
    margin: 0 auto;
    min-height: var(--st-nav-h);
    padding: 0 var(--st-inset);
    box-sizing: border-box;
    overflow: visible;
}

.st-nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--st-ink);
}

.st-nav-bolt {
    flex: 0 0 auto;
    color: var(--st-accent);
    filter: drop-shadow(0 1px 4px rgba(124, 58, 237, 0.35));
}

.st-nav-logo {
    font-family: var(--st-font-ui);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.st-nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px 4px;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    overflow: visible;
}

.st-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--st-ink);
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}

.st-nav-link:hover,
.st-nav-link.is-active {
    color: var(--st-ink);
    background: rgba(18, 18, 18, 0.04);
}

.st-nav-chevron {
    opacity: 0.55;
    margin-top: 1px;
    transition: transform 0.15s;
}

.st-nav-item.is-open .st-nav-chevron,
.st-nav-item:hover .st-nav-chevron {
    transform: rotate(180deg);
}

/* Nav dropdown panels */
.st-nav-item {
    position: relative;
}

@media (min-width: 901px) {
    .st-nav-item::after {
        content: "";
        position: absolute;
        left: -24px;
        right: -24px;
        top: 100%;
        height: 18px;
        display: none;
    }

    .st-nav-item:hover::after,
    .st-nav-item.is-open::after,
    .st-nav-item:focus-within::after {
        display: block;
    }
}

.st-nav-trigger {
    border: 0;
    background: none;
    cursor: pointer;
    font: inherit;
}

.st-nav-panel {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    width: min(420px, calc(100vw - 32px));
    background: #fff;
    border: 1px solid var(--st-line-strong);
    border-radius: 14px;
    box-shadow: 0 22px 60px rgba(18, 18, 18, 0.14);
    overflow: hidden;
    z-index: 510;
}

.st-nav-panel::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
}

@media (min-width: 901px) {
    .st-nav-panel {
        display: none;
    }

    .st-nav-item:hover .st-nav-panel,
    .st-nav-item:focus-within .st-nav-panel,
    .st-nav-item.is-open .st-nav-panel {
        display: block;
    }
}

.st-nav-panel-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 6px;
}

.st-nav-panel-body--list {
    grid-template-columns: 1fr;
    max-height: 320px;
    overflow-y: auto;
}

.st-nav-panel-link {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--st-ink);
    transition: background 0.12s;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.st-nav-panel-link:hover {
    background: rgba(18, 18, 18, 0.04);
}

.st-nav-panel-link--blog {
    border-bottom: 1px solid var(--st-line);
    border-radius: 0;
}

.st-nav-panel-link--blog:last-of-type {
    border-bottom: 0;
}

.st-nav-panel-title {
    font-family: var(--st-font-ui);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--st-ink);
}

.st-nav-panel-desc {
    font-family: var(--st-font-ui);
    font-size: 12px;
    line-height: 1.4;
    color: var(--st-ink-muted);
}

.st-nav-panel-empty {
    margin: 0;
    padding: 16px 14px;
    font-size: 13px;
    color: var(--st-ink-muted);
}

.st-nav-panel-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: var(--st-yellow);
    border-top: 1px solid rgba(26, 22, 0, 0.1);
    color: var(--st-yellow-ink);
    text-decoration: none;
    font-family: var(--st-font-mono);
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.35;
    transition: filter 0.15s;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.st-nav-panel-foot:hover {
    filter: brightness(0.98);
}

.st-nav-panel-foot-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--st-accent);
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
}

.st-nav-panel-foot:hover .st-nav-panel-foot-cta {
    background: var(--st-accent-deep);
}

.st-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.st-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 8px;
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.st-nav-btn--outline {
    border: 1px solid rgba(18, 18, 18, 0.18);
    background: #fff;
    color: var(--st-ink);
}

.st-nav-btn--outline:hover {
    border-color: rgba(18, 18, 18, 0.28);
    background: #fff;
}

.st-nav-btn--solid {
    border: 1px solid var(--st-ink);
    background: var(--st-ink);
    color: #fff;
}

.st-nav-btn--solid:hover {
    background: #000;
    border-color: #000;
}

.st-nav-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(18, 18, 18, 0.12);
    border-radius: 8px;
    background: #fff;
    color: var(--st-ink);
    cursor: pointer;
}

/* Blueprint outline lines */

.st-layout {
    position: relative;
}

.st-outline-h {
    height: 1px;
    background: rgba(18, 18, 18, 0.12);
    pointer-events: none;
}

.st-outline-h--full {
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.st-outline-v {
    position: fixed;
    top: calc(var(--st-nav-h) + 1px);
    bottom: 0;
    width: 1px;
    background: rgba(18, 18, 18, 0.12);
    pointer-events: none;
    z-index: 50;
}

/* Homepage: keep the page frame, but start it after the hero */
body.st-home-page > .st-outline-v,
body.st-dash-page > .st-outline-v {
    top: var(--st-outline-top, 100vh);
}

body.st-home-page > .st-frame-bolt {
    display: none;
}

body.st-dash-page > .st-frame-bolt {
    top: var(--st-outline-top, 100vh);
}

.st-outline-v--left {
    left: max(20px, calc(50% - var(--st-outline-w) / 2));
}

.st-outline-v--right {
    right: max(20px, calc(50% - var(--st-outline-w) / 2));
}

.st-frame-bolt {
    position: fixed;
    z-index: 250;
    width: var(--st-frame-bolt);
    height: var(--st-frame-bolt);
    color: var(--st-accent);
    opacity: 1;
    pointer-events: none;
}

.st-frame-bolt svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.st-frame-bolt--tl {
    top: calc(var(--st-nav-h) + 1px);
    left: max(20px, calc(50% - var(--st-outline-w) / 2));
    transform: translate(-50%, -50%);
}

.st-frame-bolt--tr {
    top: calc(var(--st-nav-h) + 1px);
    right: max(20px, calc(50% - var(--st-outline-w) / 2));
    transform: translate(50%, -50%);
}

.st-shell {
    width: var(--st-outline-w);
    max-width: calc(100% - 40px);
    margin: 0 auto;
    box-sizing: border-box;
    padding-left: var(--st-inset);
    padding-right: var(--st-inset);
}

.marketing-site .site-footer {
    position: relative;
    z-index: 1;
    margin-top: 0;
    overflow: visible;
    background: var(--st-bg);
    color: var(--st-ink-muted);
}

.marketing-site .site-footer::before {
    display: none;
}

.marketing-site .site-footer a {
    color: var(--st-ink-muted);
    text-decoration: none;
}

.marketing-site .site-footer a:hover {
    color: var(--st-ink);
}

/* Stytch-style footer */
.st-footer-grid {
    display: grid;
    grid-template-columns: minmax(140px, 1.1fr) repeat(3, minmax(0, 1fr));
    max-width: var(--st-outline-w);
    margin: 0 auto;
    padding: 0 var(--st-inset);
    box-sizing: border-box;
}

.st-footer-brand-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 40px 32px 36px 0;
    border-right: 1px solid var(--st-line);
}

.st-footer-lang {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
    width: min(100%, 360px);
}

.st-footer-lang-label {
    font-family: var(--st-font-ui);
    font-size: 12px;
    font-weight: 650;
    color: var(--st-ink-muted);
}

.st-footer-lang-select {
    width: 100%;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--st-line);
    border-radius: 8px;
    background: var(--st-bg-elevated);
    color: var(--st-ink);
    font-family: var(--st-font-ui);
    font-size: 13px;
}

.st-lang-combo {
    position: relative;
    width: min(100%, 340px);
}

.st-footer-lang .st-lang-combo {
    width: 100%;
}

    .st-lang-combo-btn {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 8px;
    width: 100%;
    min-height: 38px;
    padding: 7px 32px 7px 12px;
    border: 1px solid var(--st-line, rgba(18, 18, 18, 0.14));
    border-radius: 10px;
    background: var(--st-bg-elevated, #fff);
    color: var(--st-ink, #121212);
    font-family: var(--st-font-ui, "DM Sans", system-ui, sans-serif);
    text-align: left;
    cursor: pointer;
}

.st-lang-combo-native {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.st-lang-combo-name {
    font-size: 11px;
    color: var(--st-ink-muted, #666);
}

.st-lang-combo-chevron {
    position: absolute;
    right: 12px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 1.6px solid currentColor;
    border-bottom: 1.6px solid currentColor;
    transform: translateY(-70%) rotate(45deg);
    opacity: 0.55;
    pointer-events: none;
}

.st-lang-combo.is-open .st-lang-combo-chevron {
    transform: translateY(-20%) rotate(225deg);
}

.st-lang-combo-drop {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 40;
    display: flex;
    flex-direction: column;
    max-height: min(420px, 70vh);
    padding: 8px;
    border: 1px solid var(--st-line, rgba(18, 18, 18, 0.14));
    border-radius: 12px;
    background: var(--st-bg-elevated, #fff);
    box-shadow: 0 16px 40px rgba(18, 18, 18, 0.14);
}

.st-lang-combo-drop[hidden] {
    display: none !important;
}

.st-lang-combo-search {
    width: 100%;
    height: 44px;
    margin-bottom: 6px;
    padding: 0 10px;
    border: 1px solid var(--st-line, rgba(18, 18, 18, 0.14));
    border-radius: 8px;
    background: var(--st-bg, #fff);
    color: var(--st-ink, #121212);
    font-family: inherit;
    font-size: 13px;
}

.st-lang-combo-list {
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-height: 0;
}

.st-lang-combo-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.st-lang-combo-option-copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.st-lang-combo-option strong {
    font-size: 13px;
    font-weight: 700;
}

.st-lang-combo-option small {
    font-size: 11px;
    color: var(--st-ink-muted, #666);
}

.st-lang-combo-code {
    flex-shrink: 0;
    font-family: var(--st-font-mono, ui-monospace, monospace);
    font-size: 10px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--st-ink-muted, #888);
}

.st-lang-combo-option.is-active {
    background: rgba(124, 58, 237, 0.1);
}

.st-lang-combo-option.is-focused,
.st-lang-combo-option:hover {
    background: rgba(124, 58, 237, 0.16);
}

.st-lang-combo-empty {
    margin: 8px 4px;
    font-size: 13px;
    color: var(--st-ink-muted, #666);
}

.st-lang-pop .st-lang-combo,
.st-set-pref .st-lang-combo {
    width: 100%;
}

.st-set-pref--lang {
    align-items: flex-start;
}

.st-set-pref--lang .st-lang-combo {
    flex: 0 0 min(280px, 100%);
    width: min(280px, 100%);
}

html[data-theme="dark"] .st-lang-combo-btn,
html[data-theme="dark"] .st-lang-combo-drop,
html[data-theme="dark"] .st-lang-combo-search {
    background: #1f2024;
    color: #f3f3f5;
    border-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .st-lang-combo-name,
html[data-theme="dark"] .st-lang-combo-option small,
html[data-theme="dark"] .st-lang-combo-code,
html[data-theme="dark"] .st-lang-combo-empty {
    color: #b8b8c0;
}

.st-lang-pop {
    position: fixed;
    top: 76px;
    right: 16px;
    z-index: 9600;
    width: min(340px, calc(100vw - 24px));
    padding: 16px 40px 16px 16px;
    background: #fff;
    border: 1px solid rgba(18, 18, 18, 0.12);
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(18, 18, 18, 0.16);
    color: #121212;
}

.st-lang-pop-x {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.45;
}

.st-lang-pop-x:hover {
    opacity: 0.9;
    background: rgba(18, 18, 18, 0.06);
}

.st-lang-pop[hidden] {
    display: none !important;
}

.st-lang-pop-q,
.st-lang-pop-stay,
.st-lang-pop-or span {
    margin: 0;
    font-family: "DM Sans", system-ui, sans-serif;
}

.st-lang-pop-q {
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.st-lang-pop-stay {
    margin: 14px 0 8px;
    font-size: 13px;
    color: #555;
}

.st-lang-pop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px solid rgba(18, 18, 18, 0.14);
    background: #fff;
    color: #121212;
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
}

.st-lang-pop-btn--primary {
    background: #7c3aed;
    border-color: #7c3aed;
    color: #fff;
}

.st-lang-pop-or {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 16px;
    font-size: 12px;
    color: #555;
}

.st-lang-pop-select {
    width: 100%;
    height: 36px;
    padding: 0 10px;
    border: 1px solid rgba(18, 18, 18, 0.14);
    border-radius: 8px;
    background: #fff;
    color: #121212;
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 13px;
}

html[data-theme="dark"] .st-lang-pop,
html[data-theme="dark"] .st-lang-pop-btn,
html[data-theme="dark"] .st-lang-pop-select {
    background: #1f2024;
    color: #f3f3f5;
    border-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .st-lang-pop-stay,
html[data-theme="dark"] .st-lang-pop-or span {
    color: #b8b8c0;
}

html[data-theme="dark"] .st-lang-pop-x:hover {
    background: rgba(255, 255, 255, 0.08);
}

body:not(.marketing-site) .st-lang-pop {
    top: 16px;
}

html[dir="rtl"] .st-lang-pop {
    right: auto;
    left: 16px;
}

.st-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--st-ink);
    text-decoration: none;
}

.st-footer-logo-bolt {
    color: var(--st-accent);
    flex-shrink: 0;
}

.st-footer-logo-text {
    font-family: var(--st-font-display);
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}

.st-footer-col {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 40px 28px 36px;
    border-right: 1px solid var(--st-line);
}

.st-footer-col:last-child {
    border-right: none;
}

.st-footer-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.st-footer-heading {
    margin: 0 0 10px;
    font-family: var(--st-font-ui);
    font-size: 14px;
    font-weight: 700;
    color: var(--st-ink);
    letter-spacing: -0.01em;
}

.st-footer-group a {
    display: block;
    padding: 5px 0;
    font-family: var(--st-font-ui);
    font-size: 14px;
    line-height: 1.45;
    color: var(--st-ink-muted);
    transition: color 0.14s;
}

.st-footer-group a:hover {
    color: var(--st-ink);
}

.st-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    max-width: var(--st-outline-w);
    margin: 0 auto;
    padding: 24px var(--st-inset) 36px;
    border-top: none;
    box-sizing: border-box;
    font-family: var(--st-font-ui);
    font-size: 13px;
    color: var(--st-ink-faint);
}

.st-footer-copy {
    color: var(--st-ink-faint);
}

.st-footer-legal {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.st-footer-legal a,
.st-footer-legal .st-cookie-settings-btn {
    font-size: 13px;
    font-weight: 500;
    color: var(--st-ink-muted);
}

.st-footer-legal a:hover,
.st-footer-legal .st-cookie-settings-btn:hover {
    color: var(--st-ink);
}

/* Legal pages */
.st-legal-shell {
    max-width: 720px;
}

.st-legal-head {
    margin-bottom: 32px;
}

.st-legal-updated {
    margin: 8px 0 0;
    font-family: var(--st-font-mono);
    font-size: 12px;
    color: var(--st-ink-faint);
}

.st-legal-body {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.st-legal-section-title {
    margin: 0 0 8px;
    font-family: var(--st-font-ui);
    font-size: 16px;
    font-weight: 700;
    color: var(--st-ink);
}

.st-legal-section p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: var(--st-ink-muted);
}

.st-legal-nav {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--st-line);
}

.st-legal-nav a {
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--st-ink-muted);
    text-decoration: none;
}

.st-legal-nav a.is-active,
.st-legal-nav a:hover {
    color: var(--st-accent-deep);
}

@media (max-width: 900px) {
    .st-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .st-footer-brand-col {
        grid-column: 1 / -1;
        border-right: none;
        border-bottom: 1px solid var(--st-line);
        padding: 32px 0 24px;
    }

    .st-footer-col {
        border-right: none;
        padding: 28px 0;
    }

    .st-footer-col:nth-child(odd) {
        padding-right: 16px;
        border-right: 1px solid var(--st-line);
    }
}

@media (max-width: 600px) {
    .st-footer-grid {
        grid-template-columns: 1fr;
    }

    .st-footer-col,
    .st-footer-col:nth-child(odd) {
        border-right: none;
        padding: 20px 0;
        border-bottom: 1px solid var(--st-line);
    }

    .st-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 24px;
        padding-right: 24px;
    }
}

/* Grid + lightning corner accents */

.st-grid-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.st-grid-lines {
    position: absolute;
    inset: -1px;
    background-image:
        linear-gradient(to right, rgba(18, 18, 18, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(18, 18, 18, 0.06) 1px, transparent 1px);
    background-size: var(--st-grid) var(--st-grid);
    background-position: var(--st-outline-left) 0;
    mask-image: radial-gradient(ellipse 90% 75% at 50% 35%, #000 15%, transparent 75%);
}

.st-bolt-corner {
    position: absolute;
    width: 26px;
    height: 26px;
    color: rgba(124, 58, 237, 0.5);
}

.st-bolt-corner svg {
    display: block;
    width: 100%;
    height: 100%;
}

.st-bolt-corner--ne,
.st-bolt-corner--nw,
.st-bolt-corner--se,
.st-bolt-corner--sw { transform: translate(-50%, -50%); }

/* Hero keeps grid overlay on top of outline frame */

.st-section {
    position: relative;
    padding: 88px 0;
}

.st-section--tight {
    padding: 56px 0;
}

/* Hero */

.st-hero {
    position: relative;
    padding: 56px 0 88px;
    overflow: visible;
    background: transparent;
    min-height: 560px;
}

.st-hero-inner {
    position: relative;
    z-index: 4;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    pointer-events: auto;
}

/* ── Lightning storm intro ─────────────────────────────── */
.st-storm {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

/* Big jagged lightning bolts that "strike" across the hero on load */
.st-bolts {
    position: absolute;
    inset: -40px 0;
    width: 100%;
    height: calc(100% + 80px);
    overflow: visible;
}

.st-strike {
    fill: none;
    stroke: #a855f7;
    stroke-width: 7;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1600;
    stroke-dashoffset: 1600;
    opacity: 0;
    filter: drop-shadow(0 0 6px #c084fc) drop-shadow(0 0 16px #7c3aed) drop-shadow(0 0 34px #7c3aed);
    animation: st-strike-draw 4.2s ease-out var(--sd, 0s) forwards;
}

.st-strike--gold {
    stroke: #ffcf33;
    filter: drop-shadow(0 0 6px #ffe234) drop-shadow(0 0 16px #f5a623) drop-shadow(0 0 34px #f5a623);
}

.st-strike--1 { --sd: 0.10s; }
.st-strike--2 { --sd: 0.34s; }
.st-strike--3 { --sd: 0.02s; stroke-width: 9; }
.st-strike--4 { --sd: 0.55s; }
.st-strike--5 { --sd: 0.42s; }

/* Small icon bolts that keep drifting around after the strike */
.st-lb {
    position: absolute;
    width: 130px;
    height: 130px;
    color: var(--st-accent);
    opacity: 0;
    will-change: transform;
    animation: st-float var(--fdur, 13s) ease-in-out var(--fdelay, 0s) infinite;
}

.st-lb svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
    opacity: 0;
    filter: drop-shadow(0 0 14px currentColor);
    transform-origin: 50% 50%;
    animation: st-pop 3.4s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s) both;
}

.st-lb--gold { color: #f5a623; }

.st-lb--1 { left: 5%;  top: 6%;    width: 170px; height: 170px; --rot: -14deg; --d: 0.7s;  --fdur: 14s; --fdelay: 3.6s; }
.st-lb--2 { right: 6%; top: 10%;   width: 130px; height: 130px; --rot: 12deg;  --d: 0.9s;  --fdur: 11s; --fdelay: 3.9s; }
.st-lb--3 { left: 17%; bottom: 4%; width: 110px; height: 110px; --rot: 7deg;   --d: 1.05s; --fdur: 12.5s; --fdelay: 4.1s; }
.st-lb--4 { right: 20%; bottom: -2%; width: 96px; height: 96px; --rot: -9deg;  --d: 0.8s;  --fdur: 10s; --fdelay: 3.7s; }
.st-lb--5 { left: 45%; top: -8%;   width: 230px; height: 230px; --rot: 5deg;   --d: 1.15s; --fdur: 16s; --fdelay: 4.4s; }
.st-lb--6 { right: 3%; bottom: 24%; width: 122px; height: 122px; --rot: 16deg; --d: 0.95s; --fdur: 12s; --fdelay: 4s; }

/* Full-hero flash that lights the whole top up while lightning strikes */
.st-storm-flash {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient(ellipse 90% 80% at 50% 18%, rgba(168, 85, 247, 0.65), rgba(124, 58, 237, 0.25) 45%, transparent 72%);
    opacity: 0;
    animation: st-flash 4.2s ease-out forwards;
}

/* Draw the bolt fast (strike), flicker bright, then fade out */
@keyframes st-strike-draw {
    0%   { stroke-dashoffset: 1600; opacity: 0; }
    2%   { opacity: 1; }
    6%   { stroke-dashoffset: 0; opacity: 1; }
    8%   { opacity: 0.1; }
    10%  { opacity: 1; }
    13%  { opacity: 0.25; }
    16%  { opacity: 1; }
    22%  { opacity: 0.5; }
    28%  { opacity: 0.9; }
    45%  { opacity: 0.35; }
    100% { stroke-dashoffset: 0; opacity: 0; }
}

/* Bright bursts synced to the strikes — tints the white hero purple */
@keyframes st-flash {
    0%, 1% { opacity: 0; }
    4%     { opacity: 0.9; }
    8%     { opacity: 0.1; }
    11%    { opacity: 0.7; }
    15%    { opacity: 0.05; }
    20%    { opacity: 0.6; }
    26%    { opacity: 0; }
    34%    { opacity: 0.3; }
    40%    { opacity: 0; }
    100%   { opacity: 0; }
}

/* Icon bolts pop in after the strike, then settle into an ambient float */
@keyframes st-pop {
    0%   { opacity: 0; transform: scale(0.4); }
    30%  { opacity: 1; transform: scale(1.12); }
    45%  { opacity: 0.85; transform: scale(1); }
    100% { opacity: var(--amb, 0.2); transform: scale(1); }
}

.st-lb--gold svg { --amb: 0.32; }

@keyframes st-float {
    0%, 100% { transform: rotate(var(--rot, 0deg)) translate(0, 0); }
    50%      { transform: rotate(calc(var(--rot, 0deg) + 4deg)) translate(14px, -18px); }
}

@media (prefers-reduced-motion: reduce) {
    .st-storm { display: none; }
}

/* ── Hero text entrance ─────────────────────────────────── */
.st-rise {
    opacity: 0;
    animation: st-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) var(--rd, 0s) both;
}

@keyframes st-rise {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Visually hidden but present in the DOM for crawlers and screen readers */
.st-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* Pixel-glitch headline (canvas rendered) */
.st-glitch-title {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.st-glitch-line {
    display: block;
    line-height: 1.02;
    min-height: 1.02em;
}

.st-glitch-canvas {
    display: block;
    max-width: 100%;
}

.st-glitch-line.is-fallback {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: inherit;
}

@media (prefers-reduced-motion: reduce) {
    .st-rise {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

.st-banner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 6px;
    background: var(--st-yellow);
    border: 1px solid rgba(26, 22, 0, 0.14);
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--st-yellow-ink);
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}

.st-banner:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 226, 52, 0.4);
}

.st-banner-bolt {
    color: var(--st-accent-deep);
}

.st-banner-here {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    border-radius: 5px;
    background: var(--st-accent);
    color: #fff;
    font-weight: 700;
    transition: transform 0.15s, background 0.15s;
}

.st-banner:hover .st-banner-here {
    transform: translateX(3px);
    background: var(--st-accent-deep);
}

.st-hero-title {
    margin: 26px 0 0;
    font-family: var(--st-font-display);
    font-size: clamp(2.6rem, 6.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.035em;
    color: var(--st-ink);
}

.st-hero-sub {
    margin: 20px auto 0;
    max-width: 580px;
    font-family: var(--st-font-ui);
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.65;
    color: var(--st-ink-muted);
}

.st-hero-highlight {
    display: inline;
    padding: 0.08em 0.42em;
    margin: 0 0.08em;
    border-radius: 3px;
    background: #ffe234;
    color: #1a1600;
    font-weight: 800;
    font-style: normal;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    box-shadow: 0 2px 0 rgba(245, 166, 35, 0.55);
    white-space: nowrap;
}

.st-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.st-hero-pad {
    position: relative;
    z-index: 6;
    width: min(720px, 100%);
    margin: 32px auto 0;
    text-align: left;
    overflow: visible;
}

.st-hero-pad-top {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 8px;
}

.st-hero-filename {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    height: 42px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid var(--st-line-strong);
    background: var(--st-bg-elevated);
    box-shadow: 0 1px 2px rgba(18, 18, 18, 0.04);
    font-family: var(--st-font-mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--st-ink);
    outline: none;
    transition: width 0.24s cubic-bezier(0.22, 1, 0.36, 1), flex-basis 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.st-hero-pad-top.is-compact .st-hero-filename {
    flex: 0 0 auto;
    width: var(--st-file-width, 9.5rem);
    max-width: calc(100% - 400px);
}

.st-hero-filename:focus {
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

/* Off-screen twin used to measure the typed file name so the input can hug it. */
.st-hero-filename-mirror {
    position: absolute;
    left: -9999px;
    top: 0;
    visibility: hidden;
    white-space: pre;
    font-family: var(--st-font-mono);
    font-size: 13px;
    font-weight: 500;
}

.st-hero-lang {
    position: relative;
    z-index: 30;
    flex: 0 0 240px;
    width: 240px;
    max-width: 42%;
    transition: width 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.st-hero-docker {
    position: relative;
    z-index: 30;
    flex: 0 0 210px;
    width: 210px;
    max-width: 40%;
}

.st-hero-docker-btn {
    gap: 8px;
}

.st-hero-docker-logo {
    width: 28px;
    height: 28px;
    border-radius: 8px;
}

.st-hero-docker-value {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.st-hero-pad-top.is-compact .st-hero-lang {
    flex: 0 0 220px;
}

/* Extension-driven picking: menu opens rightwards from its shifted position. */
.st-hero-pad-top.is-compact .st-hero-lang-dropdown {
    right: auto;
    left: 0;
}

.st-hero-lang-dropdown.is-filename-mode .st-hero-lang-search {
    display: none;
}

.st-hero-lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    width: min(420px, 88vw);
    min-width: 320px;
    max-height: 440px;
    display: none;
    flex-direction: column;
    padding: 6px;
    border-radius: 10px;
    border: 1px solid var(--st-line-strong);
    background: var(--st-bg-elevated);
    box-shadow: 0 16px 40px rgba(18, 18, 18, 0.12);
    z-index: 40;
}

.st-hero-lang-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    height: 42px;
    padding: 0 10px 0 12px;
    border-radius: 8px;
    border: 1px solid var(--st-line-strong);
    background: var(--st-bg-elevated);
    box-shadow: 0 1px 2px rgba(18, 18, 18, 0.04);
    color: var(--st-ink);
    cursor: pointer;
}

.st-hero-lang-btn[aria-expanded="true"] {
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.st-hero-lang-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    line-height: 1.15;
}

.st-hero-lang-copy strong {
    font-family: var(--st-font-ui);
    font-size: 13px;
    font-weight: 650;
}

.st-hero-lang-copy small {
    font-family: var(--st-font-mono);
    font-size: 11px;
    color: var(--st-ink-faint);
}

.st-hero-lang-chevron {
    flex-shrink: 0;
    opacity: 0.6;
    transition: transform 0.18s;
}

.st-hero-lang-btn[aria-expanded="true"] .st-hero-lang-chevron {
    transform: rotate(180deg);
}

.st-hero-lang-dropdown.is-open {
    display: flex;
}

.st-hero-lang-search {
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    flex: 0 0 64px;
    flex-shrink: 0;
    width: 100%;
    min-height: 64px;
    height: 64px;
    margin-bottom: 8px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px solid var(--st-line);
    background: var(--st-bg-sunken);
    font-family: var(--st-font-ui);
    font-size: 16px;
    line-height: normal;
    color: var(--st-ink);
    outline: none;
}

.st-hero-lang-search::-webkit-search-decoration,
.st-hero-lang-search::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.st-hero-lang-list {
    overflow: auto;
    max-height: 360px;
}

.st-hero-lang-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 9px 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--st-ink);
    cursor: pointer;
    text-align: left;
}

.st-hero-lang-option:hover,
.st-hero-lang-option.is-active {
    background: #f6f1ff;
}

.st-hero-lang-option strong {
    display: block;
    font-family: var(--st-font-ui);
    font-size: 13px;
    font-weight: 650;
}

.st-hero-lang-option small {
    font-family: var(--st-font-mono);
    font-size: 11px;
    color: var(--st-ink-faint);
}

.st-hero-editor {
    position: relative;
    border-radius: 12px;
    border: 1px solid var(--st-line-strong);
    background: var(--st-bg-elevated);
    box-shadow: 0 8px 28px rgba(18, 18, 18, 0.06);
    overflow: hidden;
}

.st-hero-code {
    display: block;
    width: 100%;
    min-height: 220px;
    margin: 0;
    padding: 16px 16px 64px;
    border: 0;
    resize: vertical;
    background: #fbfbfe;
    color: var(--st-ink);
    font-family: var(--st-font-mono);
    font-size: 13px;
    line-height: 1.6;
    outline: none;
}

.st-hero-code::placeholder {
    color: var(--st-ink-faint);
}

.st-hero-editor .CodeMirror {
    height: auto;
    min-height: 240px;
    padding: 10px 0 56px;
    background: #fbfbfe;
    color: var(--st-ink);
    font-family: var(--st-font-mono);
    font-size: 13px;
    line-height: 1.6;
}

.st-hero-editor .CodeMirror-scroll {
    min-height: 240px;
}

.st-hero-editor .CodeMirror-gutters {
    border-right: 1px solid var(--st-line);
    background: #fbfbfe;
}

.st-hero-editor .CodeMirror-linenumber {
    padding-right: 10px;
    color: var(--st-ink-faint);
    font-size: 11px;
}

.st-hero-editor .CodeMirror-cursor {
    border-left: 1.6px solid var(--st-accent);
}

.st-hero-editor .CodeMirror-activeline-background {
    background: rgba(124, 58, 237, 0.05);
}

.st-hero-editor .CodeMirror-selected {
    background: rgba(124, 58, 237, 0.16);
}

.st-hero-editor .CodeMirror-placeholder {
    color: var(--st-ink-faint);
}

.st-hero-pad-placeholder {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    margin: 0;
    padding: 16px 16px 64px 44px;
    cursor: text;
    color: var(--st-ink-faint);
}

.st-hero-pad-placeholder-text {
    margin: 0;
    max-width: calc(100% - 8px);
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    color: inherit;
    pointer-events: none;
    overflow-wrap: anywhere;
}

.st-hero-pad-placeholder.is-hidden,
.st-hero-pad-placeholder[hidden] {
    display: none;
}

.st-hero-detect {
    position: absolute;
    left: 12px;
    bottom: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(124, 58, 237, 0.22);
    background: #f6f1ff;
    color: var(--st-accent-deep);
    font-family: var(--st-font-mono);
    font-size: 11px;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, bottom 0.18s ease;
}

.st-hero-detect.is-visible {
    opacity: 1;
}

.st-hero-editor:has(.st-hero-clear.is-visible) .st-hero-detect {
    bottom: 56px;
}

.st-hero-clear {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 4;
    display: none;
    min-height: 40px;
    padding: 0 16px;
}

.st-btn.st-hero-clear {
    display: none;
}

.st-btn.st-hero-clear.is-visible {
    display: inline-flex;
}

.st-hero-launch {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 4;
    min-height: 40px;
    padding: 0 18px;
}

.st-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 8px;
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s, transform 0.18s, box-shadow 0.18s;
    border: 1px solid transparent;
    text-decoration: none;
}

.st-btn:hover {
    transform: translateY(-1px);
}

.st-btn--primary {
    background: var(--st-accent);
    color: #fff;
    border: 1px solid var(--st-accent);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.25);
}

.st-btn--primary:hover {
    background: var(--st-accent-deep);
    border-color: var(--st-accent-deep);
}

.st-btn--ghost {
    background: var(--st-bg-elevated);
    border-color: var(--st-line-strong);
    color: var(--st-ink);
}

.st-btn--ghost:hover {
    border-color: rgba(18, 18, 18, 0.22);
}

.st-btn--accent {
    background: var(--st-accent);
    color: #fff;
}

.st-hero-launch-line {
    margin: 22px 0 0;
    font-family: var(--st-font-mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--st-ink-faint);
}

.st-launch-btn {
    display: inline;
    padding: 0 2px;
    border: 0;
    background: none;
    font: inherit;
    font-weight: 600;
    color: var(--st-accent-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.st-launch-btn:hover {
    color: var(--st-accent);
}

.st-launch-btn.is-loading {
    opacity: 0.6;
    cursor: wait;
}

/* Frame dividers with lightning-bolt intersections */

.st-divider {
    position: relative;
    z-index: 80;
    height: 1px;
    width: 100%;
    background: rgba(18, 18, 18, 0.12);
}

.st-divider-bolt {
    position: absolute;
    top: 0;
    z-index: 81;
    width: var(--st-frame-bolt);
    height: var(--st-frame-bolt);
    color: var(--st-accent);
    opacity: 1;
    pointer-events: none;
}

.st-divider-bolt svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.st-divider-bolt--l {
    left: max(20px, calc(50% - var(--st-outline-w) / 2));
    transform: translate(-50%, -50%);
}

.st-divider-bolt--r {
    right: max(20px, calc(50% - var(--st-outline-w) / 2));
    transform: translate(50%, -50%);
}

/* Stack / logo strip */

/* ── Starter stacks + catalog strip ── */

.st-stacks {
    padding: 34px 0;
    background: transparent;
    scroll-margin-top: calc(var(--st-nav-h) + 12px);
}

.st-stacks-grid {
    display: block;
}

.st-stacks-launch {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.st-stacks-label {
    margin: 0 0 16px;
    padding-left: 0;
    font-family: var(--st-font-mono);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--st-ink-muted);
}

.st-stacks-mark {
    padding: 1px 6px;
    border-radius: 4px;
    background: var(--st-yellow);
    color: var(--st-yellow-ink);
    font-weight: 600;
    /* Wraps as one unit so narrow screens never split the yellow box in half. */
    white-space: nowrap;
}

.st-stacks-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.st-stacks-carousel {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    max-width: 100%;
}

.st-stacks-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.st-stacks-toolbar.st-shell {
    display: flex;
}

.st-stacks-toolbar .st-stacks-label {
    margin: 0;
    flex: 1 1 auto;
}

.st-stacks-search {
    position: relative;
    flex: 0 0 auto;
    width: min(280px, 46vw);
    margin-left: auto;
}

.st-stacks-search-ico {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: #7c3aed;
    pointer-events: none;
}

.st-stacks-search-input {
    width: 100%;
    height: 40px;
    padding: 0 14px 0 36px;
    border-radius: 999px;
    border: 1.5px solid color-mix(in srgb, #7c3aed 28%, var(--st-line, #e6e1f2));
    background: var(--st-bg-elevated, #fff);
    color: var(--st-ink);
    font-family: var(--st-font-ui);
    font-size: 13px;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.08);
}

.st-stacks-search-input::placeholder {
    color: color-mix(in srgb, #7c3aed 45%, #9ca3af);
}

.st-stacks-search-input:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.16);
}

.st-stacks-stage {
    position: relative;
    width: var(--st-outline-w);
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding: 12px 40px 16px;
    box-sizing: border-box;
    min-width: 0;
    overflow: hidden;
}

.st-stacks-viewport {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 2px 12px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.st-stacks-viewport::-webkit-scrollbar {
    display: none;
}

.st-stacks-track.st-stacks-row,
.st-stacks-track {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    width: max-content;
    min-width: 100%;
}

.st-stacks-track .st-fwcard {
    flex: 0 0 260px;
    width: 260px;
    scroll-snap-align: start;
}

.st-stacks-track .st-fwcard[hidden] {
    display: none;
}

.st-stacks-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: #7c3aed;
    color: #fff;
    box-shadow: 0 8px 18px rgba(124, 58, 237, 0.3);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

.st-stacks-arrow svg {
    width: 16px;
    height: 16px;
    display: block;
}

.st-stacks-arrow--prev {
    left: 0;
}

.st-stacks-arrow--next {
    right: 0;
}

.st-stacks-arrow:hover:not(:disabled) {
    background: #6d28d9;
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.4);
}

.st-stacks-arrow:disabled {
    opacity: 0.45;
    cursor: default;
    box-shadow: 0 8px 18px rgba(124, 58, 237, 0.2);
}

.st-stacks-empty {
    margin: 0;
    font-family: var(--st-font-ui);
    font-size: 13px;
    color: var(--st-ink-muted);
}

.st-stacks-carousel--contained {
    max-width: 100%;
}

.st-stacks-carousel--contained .st-stacks-stage {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-left: 40px;
    padding-right: 40px;
}

.st-stacks-carousel--contained .st-stacks-arrow--prev { left: 0; }
.st-stacks-carousel--contained .st-stacks-arrow--next { right: 0; }

.st-stacks-carousel--discover .st-stacks-toolbar {
    margin-top: 8px;
}

@media (max-width: 720px) {
    .st-stacks-toolbar {
        flex-wrap: wrap;
    }

    .st-stacks-search {
        width: 100%;
    }

    .st-stacks-stage {
        padding-left: 40px;
        padding-right: 40px;
    }

    .st-stacks-arrow {
        width: 26px;
        height: 38px;
        border-radius: 9px;
    }

    #workshopPicker {
        padding-left: 0;
        padding-right: 0;
    }

    #workshopPicker .st-stacks-stage {
        padding-left: 36px;
        padding-right: 36px;
    }

    #workshopPicker .st-stacks-arrow {
        display: flex;
    }

    #workshopPicker .st-stacks-viewport {
        overflow-x: auto;
        overflow-y: hidden;
    }

    #workshopPicker .st-stacks-track.st-stacks-row,
    #workshopPicker .st-stacks-track {
        display: flex;
        grid-template-columns: none;
        width: max-content;
        min-width: 100%;
    }

    #workshopPicker .st-stacks-track .st-fwcard {
        flex: 0 0 min(240px, 74vw);
        width: min(240px, 74vw);
        min-width: 0;
    }

    .st-stacks-track .st-fwcard {
        flex-basis: min(240px, 74vw);
        width: min(240px, 74vw);
    }
}

/* ── Framework starter card ── */

.st-fwcard {
    --fw: var(--st-accent);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 84px;
    padding: 14px 16px 14px 74px;
    border-radius: 16px;
    border: 2px solid var(--fw);
    background: var(--st-bg-elevated);
    text-align: left;
    cursor: pointer;
    transition: transform 0.16s, box-shadow 0.16s, background 0.16s;
}

.st-fwcard--node {
    --fw: #5fa04e;
}

.st-fwcard--flask {
    --fw: #3babc3;
}

.st-fwcard--jupyter {
    --fw: #f37626;
}

.st-fwcard--ruby {
    --fw: #cc342d;
}

.st-fwcard--blank {
    --fw: #7c3aed;
}

.st-fwcard.is-soon {
    cursor: not-allowed;
    opacity: 0.72;
}

.st-fwcard.is-soon:hover {
    transform: none;
    box-shadow: none;
    background: var(--st-bg-elevated);
}

.st-fwcard.is-soon:hover .st-fwcard-glyph {
    transform: none;
}

.st-fwcard-soon {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 2px 7px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--fw) 14%, var(--st-bg-elevated));
    color: var(--fw);
    font-family: var(--st-font-ui);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.st-workshop-fw-label {
    margin-bottom: 14px;
    text-align: left;
}

.st-workshop-fw-row {
    grid-template-columns: none;
}

#workshopPicker {
    padding: 6px 24px 4px;
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 980px) {
    .st-stacks-row {
        grid-template-columns: none;
    }

    #workshopPicker {
        padding-left: 0;
        padding-right: 0;
    }

    .st-workshop-github {
        width: 100%;
        max-width: none;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        padding-right: 0;
    }

    .st-workshop-gh-grid {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        gap: 14px;
        width: 100%;
    }

    .st-workshop-gh-panel {
        width: 90%;
        max-width: none;
        min-width: 0;
    }

    .st-workshop-gh-form {
        flex-direction: column;
        align-items: stretch;
    }

    .st-workshop-gh-launch {
        width: 100%;
    }
}

/* Brand halo bleeding out of the corner, behind the glyph. */
.st-fwcard::before {
    content: "";
    position: absolute;
    top: -46px;
    left: -46px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--fw) 22%, transparent), transparent 68%);
    pointer-events: none;
}

/* Oversized and cropped by the card edge — the icon is meant to run off. */
.st-fwcard-glyph {
    position: absolute;
    top: -14px;
    left: -16px;
    width: 86px;
    height: 86px;
    color: var(--fw);
    pointer-events: none;
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.st-fwcard-glyph svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Flask's mark sits low in its viewBox, so it needs a shallower crop to stay legible. */
.st-fwcard--flask .st-fwcard-glyph {
    top: -4px;
    left: -10px;
    width: 78px;
    height: 78px;
}

.st-fwcard-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.st-fwcard-name {
    font-family: var(--st-font-display);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #121212;
}

.st-fwcard-sub {
    font-family: var(--st-font-ui);
    font-size: 12px;
    font-weight: 500;
    color: var(--st-ink-muted);
}

.st-fwcard:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px color-mix(in srgb, var(--fw) 34%, transparent);
    background: color-mix(in srgb, var(--fw) 5%, var(--st-bg-elevated));
}

.st-fwcard:hover .st-fwcard-glyph {
    transform: scale(1.08) rotate(-4deg);
}

.st-fwcard:focus-visible {
    outline: 2px solid var(--fw);
    outline-offset: 3px;
}

.st-fwcard.is-loading {
    opacity: 0.65;
    pointer-events: none;
}

/* ── Catalog card ── */

.st-catcard {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    min-height: 172px;
    padding: 24px;
    border-radius: 22px;
    background:
        radial-gradient(ellipse 120% 90% at 100% 0%, rgba(255, 226, 52, 0.3), transparent 62%),
        linear-gradient(140deg, #7c3aed 0%, #5b21b6 58%, #3b1178 100%);
    color: #fff;
    text-decoration: none;
    transition: transform 0.18s, box-shadow 0.18s;
}

.st-catcard:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(91, 33, 182, 0.36);
}

.st-catcard-fx {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Fanned-out tiles hinting at a shelf of projects behind the label. */
.st-catcard-deck {
    position: absolute;
    top: 18px;
    right: -26px;
    display: flex;
    gap: 8px;
}

.st-catcard-tile {
    width: 44px;
    height: 58px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.14);
    transition: transform 0.28s ease, background 0.28s ease;
}

.st-catcard-tile:nth-child(1) {
    transform: rotate(-8deg) translateY(6px);
}

.st-catcard-tile:nth-child(2) {
    transform: rotate(-2deg);
}

.st-catcard-tile:nth-child(3) {
    transform: rotate(5deg) translateY(4px);
}

.st-catcard:hover .st-catcard-tile:nth-child(1) {
    transform: rotate(-13deg) translateY(0);
    background: rgba(255, 255, 255, 0.22);
}

.st-catcard:hover .st-catcard-tile:nth-child(2) {
    transform: rotate(-2deg) translateY(-5px);
    background: rgba(255, 255, 255, 0.22);
}

.st-catcard:hover .st-catcard-tile:nth-child(3) {
    transform: rotate(10deg) translateY(-2px);
    background: rgba(255, 255, 255, 0.22);
}

.st-catcard-bolt {
    position: absolute;
    color: var(--st-yellow);
    filter: drop-shadow(0 2px 8px rgba(255, 226, 52, 0.45));
    animation: st-catcard-bolt-float 7s ease-in-out infinite;
}

.st-catcard-bolt svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Kept clear of both the label block and the tile deck. */
.st-catcard-bolt--1 {
    bottom: 30px;
    right: 26%;
    width: 20px;
    height: 20px;
    opacity: 0.9;
}

.st-catcard-bolt--2 {
    bottom: 56px;
    right: 9%;
    width: 13px;
    height: 13px;
    opacity: 0.68;
    animation-delay: -2.4s;
}

.st-catcard-bolt--3 {
    top: 46%;
    right: 40%;
    width: 10px;
    height: 10px;
    opacity: 0.42;
    animation-delay: -4.8s;
}

@keyframes st-catcard-bolt-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-9px) rotate(9deg);
    }
}

.st-catcard-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.st-catcard-kicker {
    font-family: var(--st-font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.st-catcard-title {
    font-family: var(--st-font-display);
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.02;
}

.st-catcard-sub {
    margin-top: 2px;
    font-family: var(--st-font-ui);
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
}

.st-catcard-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    padding: 8px 15px;
    align-self: flex-start;
    border-radius: 999px;
    background: var(--st-yellow);
    font-family: var(--st-font-display);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--st-yellow-ink);
}

.st-catcard-cta svg {
    transition: transform 0.18s;
}

.st-catcard:hover .st-catcard-cta svg {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .st-stacks-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .st-catcard {
        min-height: 152px;
    }
}

@media (max-width: 620px) {
    .st-stacks-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .st-fwcard {
        min-height: 74px;
        padding-left: 68px;
    }

    .st-catcard-deck {
        display: none;
    }

    .st-catcard-title {
        font-size: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .st-catcard-bolt {
        animation: none;
    }

    .st-fwcard,
    .st-fwcard-glyph,
    .st-catcard-tile,
    .st-catcard {
        transition: none;
    }
}

/* Framed preview → replaced by dark AI intro */

/* ── Community catalog promo (home) ── */

.st-catpromo {
    position: relative;
    padding: 72px 0 80px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124, 58, 237, 0.07), transparent 70%),
        #fff;
}

.st-catpromo-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.st-catpromo-bolt {
    position: absolute;
    color: var(--st-accent);
    filter: drop-shadow(0 2px 10px rgba(124, 58, 237, 0.35));
    opacity: 0.55;
    animation: st-catpromo-bolt-float 8s ease-in-out infinite;
}

.st-catpromo-bolt svg {
    display: block;
    width: 100%;
    height: 100%;
}

.st-catpromo-bolt--gold {
    color: #f5a623;
    filter: drop-shadow(0 2px 10px rgba(245, 166, 35, 0.35));
}

.st-catpromo-bolt--1 { width: 44px; height: 44px; left: 6%; top: 14%; animation-delay: 0s; }
.st-catpromo-bolt--2 { width: 36px; height: 36px; right: 8%; top: 10%; animation-delay: -1.2s; }
.st-catpromo-bolt--3 { width: 52px; height: 52px; left: 14%; bottom: 16%; animation-delay: -2.4s; }
.st-catpromo-bolt--4 { width: 40px; height: 40px; right: 12%; bottom: 22%; animation-delay: -3.6s; }
.st-catpromo-bolt--5 { width: 28px; height: 28px; left: 48%; top: 6%; animation-delay: -4.8s; opacity: 0.35; }
.st-catpromo-bolt--6 { width: 32px; height: 32px; right: 28%; top: 38%; animation-delay: -6s; opacity: 0.4; }

@keyframes st-catpromo-bolt-float {
    0%, 100% { transform: translateY(0) rotate(-10deg); opacity: 0.45; }
    50% { transform: translateY(-12px) rotate(8deg); opacity: 0.85; }
}

.st-catpromo-inner {
    position: relative;
    z-index: 1;
}

.st-catpromo-head {
    max-width: 640px;
    margin: 0 auto 36px;
    text-align: center;
}

.st-catpromo-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--st-accent-deep);
}

.st-catpromo-eyebrow svg {
    flex: 0 0 auto;
}

.st-catpromo-title {
    margin-top: 10px;
}

.st-catpromo-lead {
    margin-left: auto;
    margin-right: auto;
}

.st-catpromo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

@media (max-width: 1100px) {
    .st-catpromo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.st-catpromo-tile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 148px;
    padding: 16px 16px 14px;
    border-radius: 14px;
    border: 1px solid var(--st-line-strong);
    background: var(--st-bg-elevated);
    box-shadow: 0 10px 24px rgba(18, 18, 18, 0.05);
    text-decoration: none;
    color: inherit;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.st-catpromo-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(124, 58, 237, 0.28);
    box-shadow: 0 16px 32px rgba(124, 58, 237, 0.1);
}

.st-catpromo-tile-fw {
    display: inline-flex;
    align-self: flex-start;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--st-accent-deep);
    background: rgba(124, 58, 237, 0.1);
}

.st-catpromo-tile--node .st-catpromo-tile-fw {
    color: #2f6b2c;
    background: rgba(60, 135, 58, 0.12);
}

.st-catpromo-tile--flask .st-catpromo-tile-fw {
    color: #1d4e89;
    background: rgba(55, 118, 171, 0.12);
}

.st-catpromo-tile--static .st-catpromo-tile-fw {
    color: #b45309;
    background: rgba(245, 166, 35, 0.16);
}

.st-catpromo-tile--jupyter .st-catpromo-tile-fw {
    color: #9a3412;
    background: rgba(243, 119, 54, 0.14);
}

.st-catpromo-tile--express .st-catpromo-tile-fw {
    color: #3f3f46;
    background: rgba(24, 24, 27, 0.08);
}

.st-catpromo-tile--ruby .st-catpromo-tile-fw {
    color: #9f1239;
    background: rgba(204, 52, 45, 0.12);
}

.st-catpromo-tile-name {
    font-family: var(--st-font-display);
    font-size: 16px;
    font-weight: 750;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--st-ink);
}

.st-catpromo-tile-open {
    margin-top: auto;
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(18, 18, 18, 0.12);
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    color: var(--st-ink);
}

.st-share-card,
.st-catalog-card.st-share-card {
    display: flex;
    flex-direction: column;
    min-height: 168px;
    border-radius: 10px;
    border: 1px solid rgba(18, 18, 18, 0.16);
    background: #fff;
    box-shadow: none;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    gap: 10px;
    z-index: 0;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, min-height 0.18s ease;
}

.st-share-card:hover,
.st-catalog-card.st-share-card:hover {
    z-index: 3;
    overflow: visible;
    transform: translateY(-2px);
    border-color: rgba(18, 18, 18, 0.28);
    box-shadow: 0 10px 24px rgba(18, 18, 18, 0.08);
}

.st-share-card-link {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-height: 168px;
    padding: 14px 14px 12px;
    text-decoration: none;
    color: inherit;
}

.st-share-card > .st-share-card-top {
    padding: 14px 14px 0;
}

.st-share-card > .st-share-card-desc {
    padding: 0 14px;
}

.st-share-card > .st-share-card-cta {
    margin: auto 14px 12px auto;
}

.st-share-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.st-share-card-identity {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.st-share-card-avatar {
    position: relative;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: color-mix(in srgb, currentColor 14%, #fff);
    overflow: hidden;
}

.st-share-card-avatar svg {
    width: 22px;
    height: 22px;
    display: block;
}

.st-share-card-avatar--docker {
    color: #2496ed;
    background: #e7f4fc;
}

.st-share-card-avatar--docker svg {
    width: 24px;
    height: 24px;
}

.st-share-card-id {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.st-share-card-user {
    font-family: var(--st-font-ui);
    font-size: 15px;
    font-weight: 750;
    line-height: 1.2;
    color: var(--st-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.st-share-card-title {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--st-ink-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.st-share-card-fw {
    flex: 0 0 auto;
    margin-left: auto;
    padding: 0;
    background: none;
    border-radius: 0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--share-fw, #7c3aed);
}

.st-share-card--node { --share-fw: #3c873a; }
.st-share-card--flask { --share-fw: #3babc3; }
.st-share-card--static { --share-fw: #e34f26; }
.st-share-card--jupyter { --share-fw: #f37626; }
.st-share-card--express { --share-fw: #3c873a; }
.st-share-card--ruby { --share-fw: #cc342d; }
.st-share-card--other { --share-fw: #7c3aed; }

.st-share-card-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    min-height: 2.6em;
    font-size: 14px;
    line-height: 1.45;
    color: var(--st-ink);
}

.st-share-card:hover .st-share-card-desc,
.st-catalog-card.st-share-card:hover .st-share-card-desc {
    -webkit-line-clamp: unset;
    overflow: visible;
}

.st-share-card-cta {
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 8px;
    border: 2px solid #121212;
    background: #fff;
    font-size: 13px;
    font-weight: 750;
    color: #121212;
}

.st-share-card-cta svg {
    width: 13px;
    height: 13px;
    flex: 0 0 auto;
}

.st-catalog-card.st-share-card.is-selected {
    outline: 2px solid var(--st-accent-deep);
    outline-offset: 2px;
}

.st-catalog-grid.st-recents-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.st-catalog-page .st-share-card,
.st-catalog-card.st-share-card {
    min-height: 228px;
}

.st-catalog-page .st-share-card-link,
.st-catalog-card .st-share-card-link {
    min-height: 228px;
}

.st-catalog-page .st-share-card-desc,
.st-catalog-card .st-share-card-desc {
    -webkit-line-clamp: 6;
    min-height: 5.2em;
}

.st-catpromo-grid,
.st-catalog-grid {
    overflow: visible;
}

.st-catpromo-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--st-line-strong);
    border-radius: 14px;
    background: var(--st-bg-elevated);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.st-catpromo-card:hover {
    transform: translateY(-3px);
    border-color: rgba(124, 58, 237, 0.28);
    box-shadow: 0 16px 40px rgba(124, 58, 237, 0.1);
}

.st-catpromo-thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #07040e;
    overflow: hidden;
}

.st-catpromo-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.st-catpromo-thumb > span {
    font-family: var(--st-font-display);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--st-accent-deep);
    opacity: 0.75;
}

.st-catpromo-thumb:has(.st-og-fallback),
.st-catpromo-card--node .st-catpromo-thumb:has(.st-og-fallback),
.st-catpromo-card--flask .st-catpromo-thumb:has(.st-og-fallback),
.st-catpromo-card--static .st-catpromo-thumb:has(.st-og-fallback),
.st-catpromo-card--express .st-catpromo-thumb:has(.st-og-fallback),
.st-catpromo-card--jupyter .st-catpromo-thumb:has(.st-og-fallback),
.st-catpromo-card--ruby .st-catpromo-thumb:has(.st-og-fallback),
.st-catpromo-card--other .st-catpromo-thumb:has(.st-og-fallback) {
    background: #07040e;
}

.st-catpromo-live {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.92);
    color: #fff;
    font-family: var(--st-font-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.st-catpromo-loading,
.st-catpromo-empty {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 180px;
    padding: 24px;
    border: 1px dashed var(--st-line-strong);
    border-radius: 14px;
    text-align: center;
    color: var(--st-ink-muted);
    font-size: 14px;
}

.st-catpromo-loading-bolt {
    width: 28px;
    height: 28px;
    color: var(--st-accent);
    animation: st-catpromo-bolt-float 2s ease-in-out infinite;
}

.st-catpromo-loading-bolt svg {
    display: block;
    width: 100%;
    height: 100%;
}

.st-catpromo-empty p {
    margin: 0;
}

.st-catpromo-card-body {
    padding: 12px 14px 14px;
}

.st-catpromo-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.st-catpromo-card-top h3 {
    margin: 0;
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--st-ink);
    word-break: break-word;
}

.st-catpromo-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    border-radius: 999px;
    font-family: var(--st-font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.st-catpromo-badge--free {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.st-catpromo-badge--paid {
    background: rgba(245, 166, 35, 0.14);
    color: #b45309;
}

.st-catpromo-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0;
    font-size: 11px;
    color: var(--st-ink-muted);
}

.st-catpromo-meta span:last-child {
    font-family: var(--st-font-mono);
    font-size: 10px;
}

.st-catpromo-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.st-catpromo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.st-catpromo-btn--earn {
    border-color: rgba(16, 185, 129, 0.35);
    color: #047857;
}

.st-catpromo-btn--earn:hover {
    border-color: rgba(16, 185, 129, 0.55);
    background: rgba(16, 185, 129, 0.06);
    color: #065f46;
}

.st-catpromo-cash {
    flex: 0 0 auto;
    color: #10b981;
}

.st-catpromo-foot {
    margin: 18px auto 0;
    max-width: 520px;
    text-align: center;
    font-size: 13px;
    line-height: 1.55;
    color: var(--st-ink-muted);
}

@media (max-width: 900px) {
    .st-catpromo {
        padding: 56px 0 64px;
    }

    .st-catpromo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .st-catpromo-bolt--5,
    .st-catpromo-bolt--6 {
        display: none;
    }
}

@media (max-width: 520px) {
    .st-catpromo-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .st-catpromo-actions {
        flex-direction: column;
        width: 100%;
    }

    .st-catpromo-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .st-catpromo-bolt {
        animation: none;
    }
}

.st-ai--compact {
    padding: 36px 0 44px;
}

.st-ai--split {
    padding: 56px 0 64px;
}

.st-ai--split .st-ai-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr);
    gap: clamp(32px, 4.5vw, 64px);
    align-items: center;
    max-width: none;
    margin: 0;
    text-align: left;
    padding-left: clamp(16px, 3vw, 40px);
    padding-right: clamp(40px, 7vw, 96px);
}

.st-ai--split .st-ai-copy {
    min-width: 0;
    max-width: 34rem;
}

.st-ai--split .st-ai-title {
    font-size: clamp(1.45rem, 3vw, 2.15rem);
}

.st-ai--split .st-ai-lead {
    margin: 12px 0 0;
    max-width: none;
    font-size: 15px;
}

.st-ai--split .st-ai-stage {
    margin-top: 0;
    max-width: none;
}

.st-ai--split .st-ai-thread {
    min-height: 108px;
}

.st-ai--split .st-ai-copy .st-collab-points {
    margin-top: 22px;
}

.st-ai--split .st-ai-more {
    margin-top: 28px;
}

@media (max-width: 900px) {
    .st-ai--split .st-ai-inner {
        grid-template-columns: 1fr;
        padding-left: clamp(24px, 5vw, 40px);
        padding-right: clamp(16px, 4vw, 28px);
    }

    .st-ai--split .st-ai-stage {
        order: -1;
    }
}

.st-ai--compact .st-ai-title {
    font-size: clamp(1.35rem, 2.6vw, 1.9rem);
}

.st-ai--compact .st-ai-lead {
    margin-top: 8px;
    font-size: 14px;
    max-width: 420px;
}

.st-ai--compact .st-ai-stage {
    margin-top: 18px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.st-ai--compact .st-ai-panel {
    min-height: 0;
}

.st-ai--compact .st-ai-thread {
    min-height: 92px;
}

.st-update {
    padding: 56px 0 64px;
    background:
        radial-gradient(circle at 12% 18%, rgba(124, 58, 237, 0.16), transparent 38%),
        radial-gradient(circle at 88% 82%, rgba(124, 58, 237, 0.1), transparent 42%),
        var(--st-bg-sunken);
    border-top: 1px solid var(--st-line);
    border-bottom: 1px solid var(--st-line);
}

.st-update--bolt {
    border-bottom: 0;
}

.st-update-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(28px, 4vw, 48px);
    align-items: center;
}

.st-update-pane {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.st-update-kicker {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--st-ink-muted);
}

.st-update-bolt-face {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    background: transparent;
    color: #ffe234;
    flex: 0 0 auto;
}

.st-update-bolt-face svg {
    width: 24px;
    height: 24px;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(26, 22, 0, 0.35));
}

.st-update-title {
    margin: 10px 0 0;
    font-family: var(--st-font-display);
    font-size: clamp(1.45rem, 3vw, 2.05rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.st-update-lead {
    margin: 10px 0 0;
    max-width: 34rem;
    font-size: 15px;
    line-height: 1.55;
    color: var(--st-ink-muted);
}

.st-update-demo {
    position: relative;
    margin-top: 22px;
    flex: 1;
}

.st-update-demo--bolt {
    overflow: hidden;
    margin-top: 0;
}

.st-update-term,
.st-update-gui {
    position: relative;
    border: 1px solid var(--st-line-strong);
    border-radius: 16px;
    overflow: hidden;
    background: #111216;
    box-shadow: 0 18px 40px rgba(18, 18, 18, 0.12);
}

.st-update-term-bar,
.st-update-gui-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    background: #1b1c22;
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    font-weight: 700;
}

.st-update-term-bar span,
.st-update-gui-bar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff5f57;
}

.st-update-term-bar span:nth-child(2),
.st-update-gui-bar span:nth-child(2) {
    background: #febc2e;
}

.st-update-term-bar span:nth-child(3),
.st-update-gui-bar span:nth-child(3) {
    background: #28c840;
}

.st-update-term-bar em,
.st-update-gui-bar em {
    margin-left: 8px;
    font-style: normal;
    font-family: var(--st-font-mono);
    color: rgba(255, 255, 255, 0.78);
}

.st-update-gui-bar b {
    margin-left: auto;
    padding: 2px 7px;
    border-radius: 999px;
    background: #7c3aed;
    color: #fff;
    font-size: 10px;
    letter-spacing: 0.08em;
}

/* Fixed height: the typing animation must never grow the page as it fills. */
.st-update-term-body {
    margin: 0;
    height: 240px;
    padding: 14px 16px 128px;
    overflow: hidden;
    font-family: var(--st-font-mono);
    font-size: 12px;
    line-height: 1.55;
    color: #f87171;
    white-space: pre-wrap;
}

.st-update-bolt-card {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 2;
    padding: 10px 12px 12px;
    border-radius: 12px;
    background: linear-gradient(180deg, var(--st-accent) 0%, var(--st-accent-deep) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 16px 40px rgba(124, 58, 237, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    color: #fff;
    animation: st-update-bolt-in 0.26s ease-out;
}

.st-update-bolt-card.is-hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    animation: none;
}

.st-update-bolt-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.72;
}

.st-update-bolt-icon {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    background: transparent;
    color: #ffe234;
}

.st-update-bolt-icon svg {
    width: 20px;
    height: 20px;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.st-update-bolt-title {
    margin: 0 0 3px;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
}

.st-update-bolt-body {
    margin: 0;
    font-size: 12px;
    font-weight: 550;
    line-height: 1.4;
    color: #fff;
}

.st-update-bolt-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.st-update-bolt-btn {
    border-radius: 8px;
    padding: 6px 9px;
    font-size: 12px;
    font-weight: 700;
    background: #e11d48;
    color: #fff;
}

.st-update-bolt-btn--primary {
    background: #fff;
    color: var(--st-accent-deep);
}

.st-update-gui-screen {
    position: relative;
    height: 118px;
    overflow: hidden;
    background:
        radial-gradient(circle at 70% 30%, rgba(124, 58, 237, 0.28), transparent 42%),
        linear-gradient(180deg, #1a1730 0%, #0d1018 100%);
}

.st-update-gui-scene {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    perspective: 420px;
}

.st-update-gui-cube {
    position: relative;
    width: 42px;
    height: 42px;
    transform-style: preserve-3d;
    animation: st-update-gui-spin 7s linear infinite;
}

.st-update-gui-cube i {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(124, 58, 237, 0.42);
    box-shadow: 0 0 18px rgba(124, 58, 237, 0.28);
}

.st-update-gui-cube i:nth-child(1) { transform: rotateY(0deg) translateZ(21px); }
.st-update-gui-cube i:nth-child(2) { transform: rotateY(90deg) translateZ(21px); background: rgba(56, 189, 248, 0.38); }
.st-update-gui-cube i:nth-child(3) { transform: rotateY(180deg) translateZ(21px); }
.st-update-gui-cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(21px); background: rgba(244, 114, 182, 0.36); }
.st-update-gui-cube i:nth-child(5) { transform: rotateX(90deg) translateZ(21px); background: rgba(250, 204, 21, 0.28); }
.st-update-gui-cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(21px); }

.st-update-gui-caption {
    position: absolute;
    left: 14px;
    bottom: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.7);
}

@keyframes st-update-bolt-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

@keyframes st-update-gui-spin {
    from { transform: rotateX(-22deg) rotateY(0deg); }
    to { transform: rotateX(-22deg) rotateY(360deg); }
}

.st-gui-show {
    padding: 56px 0 72px;
    background:
        radial-gradient(circle at 80% 12%, rgba(124, 58, 237, 0.1), transparent 36%),
        var(--st-bg);
    border-bottom: 1px solid var(--st-line);
}

.st-gui-show-head {
    max-width: 640px;
    margin: 0 auto 36px;
    text-align: center;
}

.st-gui-show-head .st-update-kicker {
    justify-content: center;
}

.st-gui-show-head .st-update-title {
    margin-top: 12px;
}

.st-gui-show-head .st-update-lead {
    margin-left: auto;
    margin-right: auto;
}

.st-update-gui-cube--mini {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.st-update-gui-cube--mini i:nth-child(1) { transform: rotateY(0deg) translateZ(9px); }
.st-update-gui-cube--mini i:nth-child(2) { transform: rotateY(90deg) translateZ(9px); }
.st-update-gui-cube--mini i:nth-child(3) { transform: rotateY(180deg) translateZ(9px); }
.st-update-gui-cube--mini i:nth-child(4) { transform: rotateY(-90deg) translateZ(9px); }
.st-update-gui-cube--mini i:nth-child(5) { transform: rotateX(90deg) translateZ(9px); }
.st-update-gui-cube--mini i:nth-child(6) { transform: rotateX(-90deg) translateZ(9px); }

.st-update-examples {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.st-gui-card {
    min-height: 0;
    padding-bottom: 0;
    gap: 12px;
    cursor: pointer;
}

.st-gui-card:hover {
    overflow: hidden;
}

.st-gui-card-window {
    display: block;
    margin: 12px 12px 0;
    background: transparent;
}

.st-gui-card-screen {
    position: relative;
    display: grid;
    place-items: center;
    height: 148px;
    overflow: hidden;
    border-radius: 12px;
    perspective: 420px;
    background:
        radial-gradient(circle at 70% 30%, rgba(124, 58, 237, 0.28), transparent 42%),
        linear-gradient(180deg, #1a1730 0%, #0d1018 100%);
}

.st-gui-card-screen .st-update-gui-cube {
    width: 46px;
    height: 46px;
}

.st-gui-card-screen .st-update-gui-cube i:nth-child(1) { transform: rotateY(0deg) translateZ(23px); }
.st-gui-card-screen .st-update-gui-cube i:nth-child(2) { transform: rotateY(90deg) translateZ(23px); }
.st-gui-card-screen .st-update-gui-cube i:nth-child(3) { transform: rotateY(180deg) translateZ(23px); }
.st-gui-card-screen .st-update-gui-cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(23px); }
.st-gui-card-screen .st-update-gui-cube i:nth-child(5) { transform: rotateX(90deg) translateZ(23px); }
.st-gui-card-screen .st-update-gui-cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(23px); }

.st-gui-card-screen--stars {
    background:
        radial-gradient(circle at 50% 50%, rgba(125, 211, 252, 0.22), transparent 28%),
        radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.12), transparent 52%),
        linear-gradient(180deg, #070914 0%, #11162a 100%);
}

.st-gui-card-screen--stars::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(1.5px 1.5px at 18% 22%, #fff 55%, transparent 58%),
        radial-gradient(1.5px 1.5px at 72% 18%, #fff 55%, transparent 58%),
        radial-gradient(1px 1px at 84% 46%, #c4b5fd 55%, transparent 58%),
        radial-gradient(1px 1px at 28% 68%, #fff 55%, transparent 58%),
        radial-gradient(1.5px 1.5px at 62% 78%, #fff 55%, transparent 58%),
        radial-gradient(1px 1px at 10% 48%, #7dd3fc 55%, transparent 58%),
        radial-gradient(1px 1px at 90% 72%, #fff 55%, transparent 58%);
    opacity: 0.85;
}

.st-gui-card-screen--stars i {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 4px;
    height: 4px;
    margin: -2px 0 0 -2px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.85);
    animation: st-gui-star 2.4s linear infinite;
}

.st-gui-card-screen--stars i:nth-child(1) { --sx: -16px; --sy: -8px; animation-delay: 0s; }
.st-gui-card-screen--stars i:nth-child(2) { --sx: 20px; --sy: -14px; animation-delay: -0.2s; }
.st-gui-card-screen--stars i:nth-child(3) { --sx: -26px; --sy: 12px; animation-delay: -0.4s; }
.st-gui-card-screen--stars i:nth-child(4) { --sx: 12px; --sy: 18px; animation-delay: -0.6s; }
.st-gui-card-screen--stars i:nth-child(5) { --sx: 4px; --sy: -22px; animation-delay: -0.8s; }
.st-gui-card-screen--stars i:nth-child(6) { --sx: -8px; --sy: 8px; animation-delay: -1s; }
.st-gui-card-screen--stars i:nth-child(7) { --sx: 28px; --sy: 6px; animation-delay: -1.2s; }
.st-gui-card-screen--stars i:nth-child(8) { --sx: -20px; --sy: -20px; animation-delay: -1.4s; }
.st-gui-card-screen--stars i:nth-child(9) { --sx: 8px; --sy: 4px; animation-delay: -1.6s; }
.st-gui-card-screen--stars i:nth-child(10) { --sx: -14px; --sy: 22px; animation-delay: -1.8s; }
.st-gui-card-screen--stars i:nth-child(11) { --sx: 24px; --sy: -6px; animation-delay: -2s; }
.st-gui-card-screen--stars i:nth-child(12) { --sx: -4px; --sy: -16px; animation-delay: -2.2s; }

.st-gui-card-screen--lattice {
    background:
        radial-gradient(circle at 50% 40%, rgba(250, 204, 21, 0.12), transparent 40%),
        linear-gradient(180deg, #140c12 0%, #1a1018 100%);
}

.st-gui-lattice {
    position: relative;
    width: 92px;
    height: 92px;
    transform-style: preserve-3d;
    animation: st-gui-lattice-spin 9s linear infinite;
}

.st-gui-lattice i {
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(251, 146, 60, 0.7);
    box-shadow: 0 0 12px rgba(234, 45, 46, 0.18);
}

.st-gui-lattice i:nth-child(1) { transform: rotateX(78deg); }
.st-gui-lattice i:nth-child(2) { transform: rotateY(90deg) rotateX(78deg); }
.st-gui-lattice i:nth-child(3) { transform: rotateX(90deg); border-color: rgba(255, 255, 255, 0.35); }
.st-gui-lattice i:nth-child(4) { transform: rotateY(90deg); border-color: rgba(255, 255, 255, 0.28); }

.st-gui-lattice b {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 7px;
    height: 7px;
    margin: -3.5px 0 0 -3.5px;
    border-radius: 50%;
    background: #fb923c;
    box-shadow: 0 0 10px rgba(251, 146, 60, 0.8);
}

.st-gui-lattice b:nth-child(5) { transform: translate3d(36px, 0, 0); }
.st-gui-lattice b:nth-child(6) { transform: translate3d(-36px, 0, 0); }
.st-gui-lattice b:nth-child(7) { transform: translate3d(0, 36px, 0); }
.st-gui-lattice b:nth-child(8) { transform: translate3d(0, -36px, 0); }
.st-gui-lattice b:nth-child(9) { transform: translate3d(0, 0, 36px); background: #facc15; }

@keyframes st-gui-star {
    0% { transform: translate3d(var(--sx), var(--sy), 0) scale(0.2); opacity: 0; }
    18% { opacity: 1; }
    100% { transform: translate3d(calc(var(--sx) * 6), calc(var(--sy) * 6), 0) scale(1.4); opacity: 0; }
}

@keyframes st-gui-lattice-spin {
    from { transform: rotateX(-28deg) rotateY(0deg); }
    to { transform: rotateX(-28deg) rotateY(360deg); }
}

button.st-share-card {
    width: 100%;
    margin: 0;
    font: inherit;
    text-align: left;
    cursor: pointer;
    appearance: none;
}

button.st-share-card.is-loading {
    opacity: 0.72;
    pointer-events: none;
}

.st-share-card--cpp { --share-fw: #00599c; }
.st-share-card--python { --share-fw: #3776ab; }
.st-share-card--java { --share-fw: #ea2d2e; }

@media (prefers-reduced-motion: reduce) {
    .st-update-bolt-card,
    .st-update-gui-cube,
    .st-gui-card-screen--stars i,
    .st-gui-lattice {
        animation: none;
    }
}

@media (max-width: 900px) {
    .st-update-inner {
        grid-template-columns: 1fr;
    }

    .st-update-examples {
        grid-template-columns: 1fr;
    }

    /* Narrower panes wrap the traceback onto more lines; keep it clear of the card. */
    .st-update-term-body {
        height: 260px;
        padding-bottom: 140px;
    }

    .st-update-bolt-card {
        right: 8px;
        bottom: 8px;
        left: 8px;
    }
}

.st-ai {
    position: relative;
    padding: 72px 0 88px;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 18%, rgba(124, 58, 237, 0.1), transparent 42%),
        radial-gradient(circle at 12% 82%, rgba(245, 166, 35, 0.08), transparent 46%),
        var(--st-bg);
    color: var(--st-ink);
}

/* ── Live collab (above AI) ── */

.st-collab {
    position: relative;
    padding: 72px 0 80px;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 18%, rgba(124, 58, 237, 0.1), transparent 42%),
        radial-gradient(circle at 12% 82%, rgba(245, 166, 35, 0.08), transparent 46%),
        #fff;
}

.st-collab-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
    gap: clamp(32px, 4.5vw, 64px);
    align-items: center;
    padding-left: clamp(40px, 7vw, 96px);
    padding-right: clamp(16px, 3vw, 40px);
    box-sizing: border-box;
}

.st-collab-copy {
    min-width: 0;
    max-width: 34rem;
    justify-self: end;
    width: 100%;
}

.st-collab-copy .st-h2 {
    margin-top: 10px;
}

.st-collab-copy .st-lead {
    margin-top: 14px;
    max-width: 34rem;
}

.st-collab-points {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.st-collab-points li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0;
    font-family: var(--st-font-ui);
    font-size: 15px;
    line-height: 1.45;
    color: var(--st-ink-muted);
}

.st-collab-points li::before {
    content: "";
    flex: 0 0 10px;
    width: 10px;
    height: 10px;
    margin-top: 0.4em;
    border-radius: 50%;
    background: var(--st-yellow);
    box-shadow: inset 0 0 0 2px rgba(18, 18, 18, 0.1);
}

.st-collab-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.st-collab-stage {
    position: relative;
    min-height: 320px;
    min-width: 0;
    overflow: visible;
}

.st-collab-editor {
    position: relative;
    z-index: 1;
    margin: 12px 8px 12px 0;
    border-radius: 14px;
    border: 1px solid rgba(18, 18, 18, 0.12);
    background: #121218;
    box-shadow:
        0 24px 60px rgba(18, 18, 18, 0.16),
        0 0 0 1px rgba(124, 58, 237, 0.08);
    overflow: hidden;
}

.st-collab-editor-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.st-collab-dots {
    display: inline-flex;
    gap: 5px;
}

.st-collab-dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

.st-collab-dots i:nth-child(1) { background: #ff5f57; }
.st-collab-dots i:nth-child(2) { background: #febc2e; }
.st-collab-dots i:nth-child(3) { background: #28c840; }

.st-collab-editor-bar em {
    font-family: var(--st-font-mono);
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
}

.st-collab-live {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--st-font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #86efac;
}

.st-collab-live i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
    animation: st-collab-pulse 1.6s ease-in-out infinite;
}

@keyframes st-collab-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.85); }
}

.st-collab-code {
    padding: 14px 0 36px;
    font-family: var(--st-font-mono);
    font-size: 13px;
    line-height: 1.7;
    color: #e8e8ef;
}

.st-collab-line {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 32px;
    padding: 0 18px 0 0;
}

.st-collab-line--active {
    background: rgba(124, 58, 237, 0.14);
}

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

.st-collab-gutter {
    width: 42px;
    flex: 0 0 42px;
    text-align: right;
    padding-right: 14px;
    color: rgba(255, 255, 255, 0.28);
    font-size: 11px;
    user-select: none;
}

.st-collab-line code {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    font: inherit;
    white-space: pre;
}

.st-collab-out {
    display: inline;
}

.st-collab-comment {
    color: rgba(255, 255, 255, 0.42);
}

.st-collab-line .c-kw { color: #c4b5fd; }
.st-collab-line .c-fn { color: #93c5fd; }
.st-collab-line .c-str { color: #86efac; }
.st-collab-line .c-num { color: #fcd34d; }

.st-collab-cursor {
    --cc: #7c3aed;
    position: relative;
    display: inline-block;
    width: 2px;
    height: 16px;
    margin-left: 3px;
    flex: 0 0 auto;
    align-self: center;
    color: var(--cc);
    pointer-events: none;
    vertical-align: middle;
}

.st-collab-cursor b {
    display: block;
    width: 2px;
    height: 16px;
    border-radius: 1px;
    background: var(--cc);
    animation: st-collab-caret 1s steps(1) infinite;
}

.st-collab-cursor em {
    position: absolute;
    top: calc(100% + 3px);
    left: 0;
    z-index: 2;
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--cc);
    color: #fff;
    font-family: var(--st-font-mono);
    font-size: 9px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
    line-height: 1.2;
}

.st-collab-cursor--violet { --cc: #7c3aed; }
.st-collab-cursor--pink { --cc: #ec4899; }
.st-collab-cursor--sky { --cc: #0ea5e9; }

@keyframes st-collab-caret {
    0%, 50% { opacity: 1; }
    50.01%, 100% { opacity: 0; }
}

@media (max-width: 900px) {
    .st-collab-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-left: clamp(24px, 5vw, 40px);
        padding-right: clamp(16px, 4vw, 28px);
    }

    .st-collab-copy {
        justify-self: stretch;
        max-width: none;
    }

    .st-collab-stage {
        min-height: 280px;
        order: -1;
    }

    .st-collab-editor {
        margin: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .st-collab-cursor b,
    .st-collab-live i {
        animation: none;
    }
}

.st-ai-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.st-ai-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.7;
}

.st-ai-glow-orb--a {
    width: min(520px, 70vw);
    height: min(520px, 70vw);
    left: 50%;
    top: -12%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(124, 58, 237, 0.16), rgba(124, 58, 237, 0) 68%);
}

.st-ai-glow-orb--b {
    width: min(380px, 55vw);
    height: min(380px, 55vw);
    right: 8%;
    bottom: -18%;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.12), rgba(245, 166, 35, 0) 70%);
}

.st-ai-glow-bolt {
    position: absolute;
    width: 72px;
    height: 72px;
    color: rgba(168, 85, 247, 0.35);
    filter: drop-shadow(0 0 18px rgba(124, 58, 237, 0.45));
    animation: st-ai-bolt-drift 9s ease-in-out infinite;
}

.st-ai-glow-bolt svg {
    display: block;
    width: 100%;
    height: 100%;
}

.st-ai-glow-bolt--l {
    left: max(4%, calc(50% - 420px));
    top: 22%;
}

.st-ai-glow-bolt--r {
    right: max(4%, calc(50% - 420px));
    bottom: 18%;
    color: rgba(245, 166, 35, 0.4);
    animation-delay: -3.5s;
}

@keyframes st-ai-bolt-drift {
    0%, 100% { transform: translateY(0) rotate(-8deg); opacity: 0.55; }
    50% { transform: translateY(-14px) rotate(6deg); opacity: 0.9; }
}

.st-ai-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.st-ai-or {
    margin: 0 0 18px;
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--st-ink-faint);
}

.st-ai-title {
    margin: 0;
    font-family: var(--st-font-display);
    font-size: clamp(1.85rem, 4.2vw, 3rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--st-ink);
}

.st-ai-lead {
    margin: 14px auto 0;
    max-width: 480px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--st-ink-muted);
}

.st-ai-more {
    margin: 14px 0 0;
}

.st-ai-more a {
    font-family: var(--st-font-ui);
    font-size: 14px;
    font-weight: 600;
    color: var(--st-accent-deep);
    text-decoration: none;
}

.st-ai-more a:hover {
    color: var(--st-ink);
    text-decoration: underline;
}

.st-ai-stage {
    margin-top: 36px;
}

.st-ai-panel {
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
        #0e0e14;
    box-shadow:
        0 0 0 1px rgba(124, 58, 237, 0.12),
        0 28px 80px rgba(0, 0, 0, 0.55),
        0 0 80px rgba(124, 58, 237, 0.12);
    overflow: hidden;
}

.st-ai-panel-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.st-ai-panel-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--st-font-ui);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: rgba(244, 244, 245, 0.78);
}

.st-ai-panel-label svg {
    color: #c4b5fd;
}

.st-ai-panel-model {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid rgba(124, 58, 237, 0.35);
    background: rgba(124, 58, 237, 0.18);
    font-family: var(--st-font-mono);
    font-size: 11px;
    font-weight: 600;
    color: #ddd6fe;
}

.st-ai-thread {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 148px;
    padding: 18px 16px 14px;
}

.st-ai-msg {
    position: relative;
    max-width: 92%;
    padding: 11px 14px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.5;
}

.st-ai-sizer {
    visibility: hidden;
    display: block;
    pointer-events: none;
}

.st-ai-msg-live,
.st-ai-reply-text {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 11px;
}

.st-ai-msg--user {
    align-self: flex-end;
    background: rgba(124, 58, 237, 0.28);
    border: 1px solid rgba(167, 139, 250, 0.35);
    color: #f5f3ff;
    font-family: var(--st-font-ui);
    min-height: 1.5em;
}

.st-ai-msg--ai {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(244, 244, 245, 0.88);
    font-family: var(--st-font-ui);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.st-ai-msg--ai.is-hidden {
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
}

.st-ai-caret {
    display: inline-block;
    width: 7px;
    height: 1.05em;
    margin-left: 2px;
    vertical-align: text-bottom;
    background: #c4b5fd;
    border-radius: 1px;
    animation: st-ai-blink 0.9s steps(1) infinite;
}

.st-ai-caret.is-off {
    display: none;
}

@keyframes st-ai-blink {
    0%, 45% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.st-ai-composer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 12px 12px;
    padding: 11px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.35);
    font-size: 13px;
    color: rgba(244, 244, 245, 0.35);
}

.st-ai-send {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(124, 58, 237, 0.35);
    color: #ede9fe;
    font-size: 13px;
    font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
    .st-ai-glow-bolt,
    .st-ai-caret {
        animation: none;
    }

    .st-ai-msg--ai {
        transition: none;
    }
}

/* Section typography */

.st-eyebrow {
    display: block;
    margin-bottom: 12px;
    font-family: var(--st-font-ui);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--st-accent-deep);
}

.st-h2 {
    margin: 0;
    font-family: var(--st-font-display);
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.st-lead {
    margin: 14px 0 0;
    max-width: 560px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--st-ink-muted);
}

.st-section-head {
    margin-bottom: 40px;
}

.st-section-head--center {
    text-align: center;
}

.st-section-head--center .st-lead {
    margin-left: auto;
    margin-right: auto;
}

/* Feature grid */

.st-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--st-line);
    border: 1px solid var(--st-line-strong);
    border-radius: 16px;
    overflow: hidden;
}

.st-feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: var(--st-bg-elevated);
    min-height: 260px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

a.st-feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(18, 18, 18, 0.08);
}

a.st-feature-card:focus-visible {
    outline: 2px solid var(--st-accent);
    outline-offset: 3px;
}

.st-feature-card[id] {
    scroll-margin-top: calc(var(--st-nav-h) + 24px);
}

.st-feature-card .st-bolt-corner {
    width: 22px;
    height: 22px;
    z-index: 1;
    filter: none;
}

.st-feature-card h3 {
    margin: 0 0 8px;
    font-family: var(--st-font-ui);
    font-size: 16px;
    font-weight: 700;
}

.st-feature-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--st-ink-muted);
}

/* ── Schematic feature illustrations (Stytch-style) ── */

.st-fx {
    position: relative;
    height: 150px;
    margin-bottom: 20px;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--st-line-strong);
    background:
        radial-gradient(circle at 1px 1px, rgba(18, 18, 18, 0.05) 1px, transparent 0) 0 0 / 14px 14px,
        #f2f2f4;
    overflow: hidden;
    font-family: var(--st-font-mono);
}

.st-fx .c-kw { color: #7c3aed; font-style: normal; }
.st-fx .c-fn { color: #2563eb; font-style: normal; }
.st-fx .c-str { color: #059669; font-style: normal; }
.st-fx .c-num { color: #d97706; font-style: normal; }

/* Windowed mockups (editor + preview) */

.st-fx-win {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    border: 1px solid var(--st-line-strong);
    background: #fff;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(18, 18, 18, 0.06);
}

.st-fx-bar {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 7px 10px;
    border-bottom: 1px solid var(--st-line);
    background: #fafafa;
}

.st-fx-bar span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #dcdce3;
}

.st-fx-bar span:nth-child(1) { background: #ff6b6b; }
.st-fx-bar span:nth-child(2) { background: #ffd93d; }
.st-fx-bar span:nth-child(3) { background: #6bcb77; }

.st-fx-bar em {
    margin-left: auto;
    font-size: 10px;
    font-style: normal;
    color: var(--st-ink-faint);
}

.st-fx-code {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    font-size: 11px;
    line-height: 1.3;
    color: #6b7280;
}

.st-fx-urlbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-bottom: 1px solid var(--st-line);
    background: #fafafa;
    font-size: 10px;
    color: var(--st-ink-faint);
}

.st-fx-live {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.st-fx-live i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #10b981;
}

.st-fx-preview {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
}

.st-fx-block {
    height: 12px;
    border-radius: 4px;
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.16), rgba(236, 72, 153, 0.12));
}

.st-fx-block--lg { width: 85%; height: 20px; }
.st-fx-block--md { width: 65%; }
.st-fx-block--sm { width: 45%; }

/* Inspector / visual mode */

.st-fx-inspect {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.st-fx-tag {
    align-self: flex-start;
    padding: 3px 8px;
    border-radius: 6px;
    background: var(--st-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
}

.st-fx-selected {
    position: relative;
    height: 46px;
    border: 1.5px dashed var(--st-accent);
    border-radius: 6px;
    background: rgba(124, 58, 237, 0.06);
}

.st-fx-handle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #fff;
    border: 1.5px solid var(--st-accent);
    border-radius: 2px;
}

.st-fx-handle--tl { top: -4px; left: -4px; }
.st-fx-handle--tr { top: -4px; right: -4px; }
.st-fx-handle--bl { bottom: -4px; left: -4px; }
.st-fx-handle--br { bottom: -4px; right: -4px; }

.st-fx-prop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid var(--st-line);
    background: #fff;
    font-size: 10px;
    color: var(--st-ink-muted);
}

.st-fx-swatch {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background: var(--st-accent);
    border: 1px solid rgba(18, 18, 18, 0.1);
}

/* AI chat */

.st-fx-chat {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    justify-content: center;
}

.st-fx-bubble {
    max-width: 82%;
    padding: 7px 11px;
    border-radius: 12px;
    font-size: 11px;
    line-height: 1.35;
}

.st-fx-bubble--user {
    align-self: flex-end;
    background: var(--st-accent);
    color: #fff;
    border-bottom-right-radius: 3px;
}

.st-fx-bubble--ai {
    align-self: flex-start;
    background: #fff;
    border: 1px solid var(--st-line-strong);
    color: var(--st-ink);
    border-bottom-left-radius: 3px;
}

.st-fx-model {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid var(--st-line-strong);
    background: #fff;
    font-size: 10px;
    font-weight: 600;
    color: var(--st-accent-deep);
}

/* Team invites */

.st-fx-team {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    justify-content: center;
}

.st-fx-member {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 10px;
    border-radius: 8px;
    border: 1px solid var(--st-line);
    background: #fff;
    font-size: 11px;
    font-weight: 600;
    color: var(--st-ink);
}

.st-fx-member em {
    margin-left: auto;
    font-style: normal;
    font-size: 9px;
    font-weight: 600;
    color: var(--st-ink-faint);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.st-fx-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--a, var(--st-accent));
    color: #fff;
    font-size: 9px;
    font-weight: 700;
}

.st-fx-member--add {
    border-style: dashed;
    color: var(--st-ink-faint);
}

.st-fx-avatar--add {
    background: transparent;
    border: 1px dashed var(--st-line-strong);
    color: var(--st-ink-faint);
    font-size: 13px;
}

/* Always-on hosting */

.st-fx-host {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    justify-content: center;
}

.st-fx-domain {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 11px;
    border-radius: 8px;
    border: 1px solid var(--st-line-strong);
    background: #fff;
    font-size: 11px;
    font-weight: 600;
    color: var(--st-ink);
}

.st-fx-toggle {
    position: relative;
    margin-left: auto;
    width: 30px;
    height: 17px;
    border-radius: 999px;
    background: var(--st-accent);
}

.st-fx-toggle::after {
    content: "";
    position: absolute;
    top: 2px;
    right: 2px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #fff;
}

.st-fx-uptime {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    color: #059669;
}

.st-fx-uptime span {
    width: 8px;
    height: 20px;
    border-radius: 2px;
    background: rgba(16, 185, 129, 0.55);
}

/* Diff columns */

.st-diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.st-diff-card {
    position: relative;
    padding: 28px;
    border: 1px solid var(--st-line-strong);
    border-radius: 16px;
    background: var(--st-bg-elevated);
}

.st-diff-card h3 {
    margin: 0 0 12px;
    font-family: var(--st-font-ui);
    font-size: 18px;
    font-weight: 700;
}

.st-diff-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: var(--st-ink-muted);
}

/* Sell on the catalog */

.st-sell-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 56px;
    align-items: center;
}

.st-sell-copy {
    padding-left: 14px;
}

.st-sell-copy .st-lead {
    max-width: 500px;
}

.st-sell-mark {
    padding: 0 8px;
    border-radius: 6px;
    background: var(--st-yellow);
    color: var(--st-yellow-ink);
}

.st-sell-steps {
    list-style: none;
    margin: 32px 0 0;
    padding: 0;
}

.st-sell-step {
    display: flex;
    gap: 16px;
    padding: 18px 2px;
    border-top: 1px solid var(--st-line-strong);
}

.st-sell-step:last-child {
    border-bottom: 1px solid var(--st-line-strong);
}

.st-sell-step-n {
    flex: 0 0 auto;
    padding-top: 2px;
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--st-accent);
}

.st-sell-step h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}

.st-sell-step p {
    margin: 6px 0 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--st-ink-muted);
}

.st-sell-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

/* Wallet + listing mock */

.st-sell-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.st-sell-wallet {
    position: relative;
    padding: 24px;
    border: 1px solid rgba(167, 139, 250, 0.22);
    border-radius: 20px;
    background: linear-gradient(165deg, #191325, #0c0c0f 60%);
    color: #fff;
    box-shadow: 0 26px 60px rgba(18, 18, 18, 0.22);
    overflow: hidden;
}

.st-sell-wallet::after {
    content: "";
    position: absolute;
    right: -66px;
    top: -76px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.45), transparent 68%);
    pointer-events: none;
}

.st-sell-wallet-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
}

.st-sell-wallet-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--st-yellow);
    color: var(--st-yellow-ink);
    box-shadow: 0 10px 26px rgba(255, 226, 52, 0.26);
}

.st-sell-wallet-icon svg {
    width: 26px;
    height: 26px;
}

.st-sell-wallet-heading {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.st-sell-wallet-heading strong {
    font-size: 15px;
    font-weight: 700;
}

.st-sell-wallet-heading em {
    font-family: var(--st-font-mono);
    font-style: normal;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
}

.st-sell-wallet-figures {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    overflow: hidden;
}

.st-sell-wallet-figures div {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.035);
}

.st-sell-wallet-figures span {
    font-family: var(--st-font-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.st-sell-wallet-figures b {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.st-sell-wallet-feed {
    position: relative;
    z-index: 1;
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
}

.st-sell-wallet-feed li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
}

.st-sell-wallet-feed b {
    margin-left: auto;
    font-family: var(--st-font-mono);
    font-size: 12px;
    color: #86efac;
}

.st-sell-feed-dot {
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: #c4b5fd;
}

.st-sell-listing {
    padding: 18px 20px;
    border: 1px solid var(--st-line-strong);
    border-radius: 16px;
    background: var(--st-bg-elevated);
    box-shadow: 0 14px 34px rgba(18, 18, 18, 0.07);
}

.st-sell-listing-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.st-sell-listing-tag {
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--st-line);
    font-family: var(--st-font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--st-ink-muted);
}

.st-sell-listing-price {
    margin-left: auto;
    padding: 4px 10px;
    border-radius: 8px;
    background: var(--st-yellow);
    color: var(--st-yellow-ink);
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 700;
}

.st-sell-listing-name {
    display: block;
    margin-top: 12px;
    font-size: 15px;
    font-weight: 700;
}

.st-sell-listing-desc {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--st-ink-muted);
}

/* FAQ */

.st-faq {
    max-width: 720px;
    margin: 0 auto;
}

.st-faq-item {
    border-bottom: 1px solid var(--st-line-strong);
}

.st-faq-item summary {
    padding: 18px 0;
    font-family: var(--st-font-ui);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.st-faq-item summary::-webkit-details-marker {
    display: none;
}

.st-faq-item p {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--st-ink-muted);
}

/* Final CTA */

.st-final-cta {
    position: relative;
    padding: 56px 32px;
    border: 1px solid var(--st-line-strong);
    border-radius: 20px;
    background: var(--st-bg-elevated);
    text-align: center;
    overflow: hidden;
}

.st-final-cta .st-h2 {
    margin-top: 8px;
}

.st-final-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

/* ══ Dark full-bleed sections (Stytch-style) ══ */

.st-dark {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 104px 0 108px;
    background: var(--st-bg);
    color: var(--st-ink);
    overflow: hidden;
}

.st-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(18, 18, 18, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 18, 18, 0.045) 1px, transparent 1px);
    background-size: var(--st-grid) var(--st-grid);
    background-position: var(--st-outline-left) 0;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 10%, transparent 72%);
    pointer-events: none;
    opacity: 0.55;
}

.st-dark::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 55% at 50% -5%, rgba(124, 58, 237, 0.28), transparent 58%),
        radial-gradient(ellipse 50% 40% at 12% 85%, rgba(245, 166, 35, 0.12), transparent 60%),
        radial-gradient(ellipse 45% 35% at 90% 70%, rgba(124, 58, 237, 0.16), transparent 55%);
    pointer-events: none;
}

.st-dark-title {
    margin: 0;
    font-family: var(--st-font-display);
    font-size: clamp(1.9rem, 4.2vw, 3rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.03em;
    color: var(--st-ink);
    text-shadow: none;
}

.st-eyebrow--light {
    color: #c4b5fd;
}

/* Dark code CTA */

.st-codecta {
    width: auto;
    margin-left: 0;
}

.st-codecta-title {
    position: relative;
    z-index: 1;
    text-align: left;
    max-width: 640px;
    padding-left: 0;
}

.st-codecta-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 48px;
    align-items: center;
    margin-top: 44px;
}

.st-acc {
    display: flex;
    flex-direction: column;
}

.st-acc-item {
    border-top: 1px solid var(--st-line);
    padding: 18px 2px 18px;
}

.st-acc-item:last-child {
    border-bottom: 1px solid var(--st-line);
}

.st-acc-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--st-font-mono);
    font-size: 14px;
    font-weight: 600;
    color: var(--st-ink);
}

.st-acc-dot {
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: #c4b5fd;
    box-shadow: 0 0 10px rgba(196, 181, 253, 0.45);
}

.st-acc-body {
    padding: 10px 2px 0 17px;
}

.st-acc-body p {
    margin: 0 0 10px;
    font-family: var(--st-font-ui);
    font-size: 14px;
    line-height: 1.6;
    color: var(--st-ink-muted);
}

.st-acc-link {
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--st-accent-deep);
    text-decoration: none;
}

.st-acc-link:hover {
    color: var(--st-ink);
}

.st-codecta-term {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #17171c;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
    font-family: var(--st-font-mono);
}

.st-term-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #202027;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.st-term-bar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #4b4b55;
}

.st-term-bar span:nth-child(1) { background: #ff6b6b; }
.st-term-bar span:nth-child(2) { background: #ffd93d; }
.st-term-bar span:nth-child(3) { background: #6bcb77; }

.st-term-bar em {
    margin-left: auto;
    font-size: 11px;
    font-style: normal;
    color: rgba(255, 255, 255, 0.4);
}

.st-term-body {
    padding: 18px 18px 22px;
    font-size: 12.5px;
    line-height: 1.85;
}

.st-term-body p {
    margin: 0;
    color: #d7d7de;
    white-space: nowrap;
}

.st-term-body .t-dim { color: #6b7280; font-style: normal; }
.st-term-body .t-fn { color: #a78bfa; font-style: normal; }
.st-term-body .t-flag { color: #fbbf24; font-style: normal; }
.st-term-body .t-link { color: #7dd3fc; font-style: normal; text-decoration: underline; }
.st-term-body .t-out { color: #9ca3af; }
.st-term-body .t-ok { color: #34d399; }

.st-term-caret {
    display: inline-block;
    width: 7px;
    height: 14px;
    margin-left: 2px;
    background: #34d399;
    vertical-align: middle;
    animation: st-blink 1s steps(2, start) infinite;
}

@keyframes st-blink {
    to { visibility: hidden; }
}

/* Organizations band (replaces testimonials) */

.st-orgs {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 96px 0 104px;
    overflow: hidden;
    background: var(--st-bg);
    color: var(--st-ink);
}

.st-orgs-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.st-orgs-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
}

.st-orgs-orb--a {
    width: min(520px, 75vw);
    height: min(520px, 75vw);
    left: 50%;
    top: -20%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(124, 58, 237, 0.5), transparent 68%);
    animation: st-orgs-orb-a 8s ease-in-out infinite;
}

.st-orgs-orb--b {
    width: min(300px, 45vw);
    height: min(300px, 45vw);
    left: 4%;
    bottom: -10%;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.28), transparent 70%);
    animation: st-orgs-orb 9s ease-in-out -2s infinite;
}

.st-orgs-orb--c {
    width: min(260px, 40vw);
    height: min(260px, 40vw);
    right: 6%;
    top: 30%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.32), transparent 70%);
    animation: st-orgs-orb 7.5s ease-in-out -4s infinite;
}

@keyframes st-orgs-orb {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.95; transform: scale(1.08); }
}

@keyframes st-orgs-orb-a {
    0%, 100% { opacity: 0.55; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.07); }
}

.st-orgs-bolt {
    position: absolute;
    width: 58px;
    height: 58px;
    color: rgba(168, 85, 247, 0.4);
    filter: drop-shadow(0 0 16px rgba(124, 58, 237, 0.5));
    animation: st-orgs-bolt 11s ease-in-out infinite;
}

.st-orgs-bolt svg {
    display: block;
    width: 100%;
    height: 100%;
}

.st-orgs-bolt--gold {
    color: rgba(245, 166, 35, 0.45);
    filter: drop-shadow(0 0 16px rgba(245, 166, 35, 0.4));
}

.st-orgs-bolt--1 { left: 6%; top: 16%; --rot: -10deg; }
.st-orgs-bolt--2 { right: 8%; top: 20%; width: 44px; height: 44px; --rot: 12deg; animation-delay: -3s; }
.st-orgs-bolt--3 { left: 12%; bottom: 18%; width: 50px; height: 50px; --rot: 6deg; animation-delay: -5s; }
.st-orgs-bolt--4 { right: 14%; bottom: 14%; width: 66px; height: 66px; --rot: -8deg; animation-delay: -1.5s; }

@keyframes st-orgs-bolt {
    0%, 100% { transform: rotate(var(--rot, 0deg)) translateY(0); opacity: 0.4; }
    50% { transform: rotate(calc(var(--rot, 0deg) + 10deg)) translateY(-14px); opacity: 0.9; }
}

.st-orgs-beam {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 120%;
    transform: translateX(-50%) rotate(18deg);
    background: linear-gradient(180deg, transparent, rgba(196, 181, 253, 0.35), transparent);
    filter: blur(1px);
    animation: st-orgs-beam 6s ease-in-out infinite;
    opacity: 0.35;
}

.st-orgs-beam::before,
.st-orgs-beam::after {
    content: "";
    position: absolute;
    inset: 0;
    background: inherit;
}

.st-orgs-beam::before { transform: translateX(-48px) rotate(-8deg); opacity: 0.5; }
.st-orgs-beam::after { transform: translateX(52px) rotate(10deg); opacity: 0.4; }

@keyframes st-orgs-beam {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.55; }
}

.st-orgs-inner {
    position: relative;
    z-index: 1;
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.st-orgs-eyebrow {
    margin: 0 0 14px;
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--st-ink-faint);
}

.st-orgs-title {
    margin: 0;
    font-family: var(--st-font-display);
    font-size: clamp(1.85rem, 4vw, 2.85rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--st-ink);
    text-shadow: none;
}

.st-orgs-lead {
    margin: 16px auto 0;
    max-width: 560px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--st-ink-muted);
}

.st-orgs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 40px;
    text-align: left;
}

.st-orgs-card {
    padding: 22px 20px;
    border-radius: 16px;
    border: 1px solid var(--st-line);
    background: var(--st-bg-elevated);
    box-shadow: 0 10px 28px rgba(18, 18, 18, 0.06);
    backdrop-filter: none;
}

.st-orgs-card-icon {
    display: inline-flex;
    width: 28px;
    height: 28px;
    margin-bottom: 14px;
    color: #c4b5fd;
    filter: drop-shadow(0 0 10px rgba(124, 58, 237, 0.45));
}

.st-orgs-card-icon svg {
    width: 100%;
    height: 100%;
}

.st-orgs-card-icon--gold {
    color: #f5a623;
    filter: drop-shadow(0 0 10px rgba(245, 166, 35, 0.4));
}

.st-orgs-card h3 {
    margin: 0 0 8px;
    font-family: var(--st-font-ui);
    font-size: 16px;
    font-weight: 700;
    color: var(--st-ink);
}

.st-orgs-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--st-ink-muted);
}

.st-orgs-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 36px;
}

.st-orgs-ghost {
    border-color: rgba(18, 18, 18, 0.18);
    color: var(--st-ink);
    background: #fff;
}

.st-orgs-ghost:hover {
    border-color: rgba(18, 18, 18, 0.28);
    background: #fff;
    color: var(--st-ink);
}

@media (prefers-reduced-motion: reduce) {
    .st-orgs-orb,
    .st-orgs-bolt,
    .st-orgs-beam {
        animation: none;
    }
}

@media (max-width: 900px) {
    .st-orgs-grid {
        grid-template-columns: 1fr;
    }
}

/* Big finale */

.st-finale {
    position: relative;
    padding: 120px 0 130px;
    text-align: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 80% at 50% 120%, rgba(124, 58, 237, 0.14), transparent 60%),
        radial-gradient(ellipse 50% 60% at 50% -10%, rgba(255, 226, 52, 0.14), transparent 60%);
}

.st-finale-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(18, 18, 18, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(18, 18, 18, 0.05) 1px, transparent 1px);
    background-size: var(--st-grid) var(--st-grid);
    background-position: var(--st-outline-left) 0;
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 20%, transparent 75%);
    pointer-events: none;
}

.st-finale-inner {
    position: relative;
    z-index: 1;
}

.st-finale-title {
    margin: 14px 0 0;
    font-family: var(--st-font-display);
    font-size: clamp(3rem, 9vw, 6rem);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.04em;
    color: var(--st-ink);
}

.st-finale .st-lead {
    margin: 22px auto 0;
}

@media (max-width: 900px) {
    .st-nav-bar {
        grid-template-columns: 1fr auto auto;
        gap: 10px 12px;
        position: relative;
    }

    .st-nav-brand {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
    }

    .st-nav-menu-btn {
        display: inline-flex;
        grid-column: 3;
        grid-row: 1;
    }

    .st-nav-actions {
        grid-column: 2;
        grid-row: 1;
        justify-content: flex-end;
        padding-bottom: 0;
        min-width: 0;
        position: relative;
        z-index: 620;
    }

    .st-nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        z-index: 510;
        flex-direction: column;
        align-items: stretch;
        max-height: min(72vh, calc(100dvh - var(--st-nav-h) - 24px));
        overflow-y: auto;
        padding: 8px;
        margin: 0;
        border: 1px solid var(--st-line-strong);
        border-radius: 14px;
        background: #ffffff;
        box-shadow: 0 18px 48px rgba(18, 18, 18, 0.16);
    }

    .marketing-site .st-nav.topnav.is-nav-open .st-nav-links {
        display: flex;
    }

    .st-nav-link {
        justify-content: space-between;
        padding: 10px 4px;
    }

    .st-nav-item {
        width: 100%;
    }

    .st-nav-trigger {
        width: 100%;
        justify-content: space-between;
    }

    .st-nav-panel {
        position: static;
        transform: none;
        width: 100%;
        margin: 4px 0 8px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: none;
        background: #ffffff;
        border: 1px solid var(--st-line-strong);
        border-radius: 12px;
        box-shadow: 0 12px 32px rgba(18, 18, 18, 0.12);
        z-index: 520;
    }

    .st-nav-item.is-open .st-nav-panel {
        display: block;
    }

    .st-nav-panel-body {
        grid-template-columns: 1fr;
    }

    .st-nav-item:hover .st-nav-chevron {
        transform: none;
    }

    .st-nav-item.is-open .st-nav-chevron {
        transform: rotate(180deg);
    }

    .marketing-site .st-nav.topnav.is-nav-open {
        background: #ffffff;
        box-shadow: 0 8px 28px rgba(18, 18, 18, 0.1);
    }

    .st-nav-account .account-dropdown {
        position: absolute;
        z-index: 700;
        background: #ffffff;
        border: 1px solid var(--st-line-strong);
        box-shadow: 0 18px 48px rgba(18, 18, 18, 0.22);
    }

    .st-outline-v,
    .st-frame-bolt {
        display: none;
    }

    .st-hero {
        padding: 36px 0 52px;
    }

    .st-strike {
        stroke-width: 5;
    }

    .st-strike--3 {
        stroke-width: 6;
    }

    .st-lb--1 { width: 110px; height: 110px; }
    .st-lb--2 { width: 84px; height: 84px; }
    .st-lb--3 { width: 72px; height: 72px; }
    .st-lb--4 { width: 64px; height: 64px; }
    .st-lb--5 { width: 140px; height: 140px; }
    .st-lb--6 { width: 78px; height: 78px; }

    .st-feature-grid,
    .st-diff-grid {
        grid-template-columns: 1fr;
    }

    .st-ai {
        padding: 56px 0 64px;
    }

    .st-ai-thread {
        min-height: 240px;
    }

    .st-ai-glow-bolt {
        width: 48px;
        height: 48px;
        opacity: 0.45;
    }

    .st-codecta-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .st-sell-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .st-pr-grid {
        grid-template-columns: 1fr;
    }

    .st-auth-two {
        grid-template-columns: 1fr;
    }

    .st-le-panel {
        display: none;
    }
}

@media (max-width: 640px) {
    .marketing-site {
        --st-inset: 20px;
        --st-frame-bolt: 28px;
    }

    .st-shell,
    .st-nav-bar {
        max-width: calc(100% - 24px);
    }

    .st-nav-logo {
        font-size: 1.2rem;
    }

    .st-nav-bolt {
        width: 20px;
        height: 20px;
    }

    .st-nav-btn {
        min-height: 36px;
        padding: 0 12px;
        font-size: 11px;
    }

    .st-nav-btn--outline {
        display: inline-flex;
    }

    .st-nav-settings {
        width: 36px;
        height: 36px;
    }

    .st-sell-actions .st-btn {
        width: 100%;
    }

    .st-sell-wallet {
        padding: 20px;
    }

    .st-section {
        padding: 64px 0;
    }

    .st-hero {
        padding: 28px 0 44px;
    }

    .st-banner {
        font-size: 11px;
        padding: 6px 12px;
        gap: 6px;
        max-width: 100%;
        text-align: center;
        line-height: 1.35;
    }

    .st-hero-title {
        font-size: clamp(1.85rem, 8.5vw, 2.5rem);
        margin-top: 18px;
    }

    .st-hero-sub {
        margin-top: 14px;
        font-size: 0.95rem;
        line-height: 1.55;
    }

    .st-hero {
        min-height: 0;
    }

    .st-hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 24px;
    }

    .st-hero-actions .st-btn {
        width: 100%;
    }

    .st-hero-pad-top {
        flex-wrap: wrap;
    }

    .st-hero-filename,
    .st-hero-lang,
    .st-hero-docker {
        flex: 1 1 100%;
        width: 100%;
        max-width: none;
    }

    .st-hero-pad-top.is-compact {
        flex-wrap: wrap;
    }

    .st-hero-pad-top.is-compact .st-hero-filename {
        max-width: none;
    }

    .st-hero-pad-top.is-compact .st-hero-lang,
    .st-hero-pad-top.is-compact .st-hero-docker {
        flex: 1 1 auto;
        width: auto;
        max-width: none;
    }

    .st-hero-launch {
        width: auto;
    }

    .st-hero-launch-line {
        font-size: 13px;
        line-height: 1.5;
        padding: 0 4px;
    }

    .st-glitch-line {
        width: 100%;
        overflow: hidden;
    }

    .st-glitch-canvas {
        margin: 0 auto;
    }

    .st-stacks {
        padding: 24px 0;
    }

    .st-finale-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .st-final-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .st-final-actions .st-btn {
        width: 100%;
    }
}

/* ══ Pricing page ══ */

.st-pr-hero {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.st-pr-banner {
    cursor: default;
}

.st-pr-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 24px;
    align-items: start;
}

.st-pr-card {
    position: relative;
    padding: 28px;
    border: 1px solid var(--st-line-strong);
    border-radius: 20px;
    background: var(--st-bg-elevated);
    box-shadow: 0 12px 40px rgba(18, 18, 18, 0.05);
}

.st-pr-tier {
    position: relative;
}

.st-pr-tier-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.st-pr-tier-name {
    margin: 0;
    font-family: var(--st-font-display);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.st-pr-price {
    margin: 6px 0 0;
    font-family: var(--st-font-mono);
    font-size: 13px;
    color: var(--st-ink-muted);
}

.st-pr-price span {
    font-family: var(--st-font-display);
    font-size: 30px;
    font-weight: 800;
    color: var(--st-ink);
    letter-spacing: -0.03em;
}

.st-pr-price--rate span {
    font-size: 20px;
}

.st-pr-price--rate {
    font-size: 15px;
    color: var(--st-accent-deep);
    font-weight: 600;
}

.st-pr-art {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--st-line);
    background: #f5f2ff;
    color: var(--st-accent);
    flex-shrink: 0;
}

.st-pr-art--double {
    width: auto;
    padding: 0 10px;
}

.st-pr-features {
    list-style: none;
    margin: 20px 0 22px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.st-pr-features li {
    position: relative;
    padding-left: 26px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--st-ink-muted);
}

.st-pr-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.12);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.st-pr-btn {
    width: 100%;
}

.st-pr-tier-divider {
    height: 1px;
    margin: 26px 0;
    background: var(--st-line);
}

.st-pr-tier--featured {
    position: relative;
    padding: 22px;
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 16px;
    background: linear-gradient(180deg, #faf8ff, #fff);
}

.st-pr-badge {
    position: absolute;
    top: -10px;
    right: 18px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--st-accent);
    color: #fff;
    font-family: var(--st-font-mono);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.st-pr-card--credits {
    background: linear-gradient(180deg, #fffdf5, var(--st-bg-elevated));
}

.st-pr-card--credits .st-pr-art {
    background: #fff8e0;
    color: #d97706;
}

.st-pr-presets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 18px;
}

.st-pr-preset {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 8px;
    border: 1px solid var(--st-line-strong);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.st-pr-preset:hover {
    transform: translateY(-1px);
    border-color: rgba(124, 58, 237, 0.4);
}

.st-pr-preset.is-active {
    border-color: var(--st-accent);
    background: #f5f2ff;
    box-shadow: 0 0 0 1px var(--st-accent) inset;
}

.st-pr-preset-amt {
    font-family: var(--st-font-display);
    font-size: 18px;
    font-weight: 800;
    color: var(--st-ink);
}

.st-pr-preset-cr {
    font-family: var(--st-font-mono);
    font-size: 10px;
    color: var(--st-ink-faint);
}

.st-pr-custom-label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--st-font-mono);
    font-size: 12px;
    color: var(--st-ink-muted);
}

.st-pr-custom-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.st-pr-custom-wrap {
    position: relative;
    flex: 1;
}

.st-pr-custom-prefix {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--st-font-mono);
    color: var(--st-ink-faint);
}

.st-pr-custom-input {
    width: 100%;
    padding: 12px 14px 12px 28px;
    border: 1px solid var(--st-line-strong);
    border-radius: 10px;
    background: #fff;
    font-family: var(--st-font-mono);
    font-size: 15px;
    color: var(--st-ink);
}

.st-pr-custom-input:focus {
    outline: none;
    border-color: var(--st-accent);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.st-pr-custom-preview {
    font-family: var(--st-font-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--st-accent-deep);
    white-space: nowrap;
}

@media (max-width: 900px) {
    .st-pr-grid {
        grid-template-columns: 1fr;
    }
}

/* ══ Auth pages (login / signup) ══ */

.st-auth-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.st-auth-bg {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.st-auth-bg .st-grid-lines {
    inset: -1px;
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 45%, #000 5%, transparent 70%);
    mask-image: radial-gradient(ellipse 80% 80% at 50% 45%, #000 5%, transparent 70%);
}

.st-auth-back {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 3;
    font-family: var(--st-font-mono);
    font-size: 13px;
    color: var(--st-ink-muted);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
}

.st-auth-back:hover {
    background: rgba(18, 18, 18, 0.04);
    color: var(--st-ink);
}

.st-auth-shell {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
}

.st-auth-card {
    position: relative;
    padding: 40px 36px;
    border: 1px solid var(--st-line-strong);
    border-radius: 20px;
    background: var(--st-bg-elevated);
    box-shadow: 0 30px 70px rgba(18, 18, 18, 0.1);
}

.st-auth-card .st-bolt-corner {
    color: rgba(124, 58, 237, 0.4);
    width: 22px;
    height: 22px;
}

.st-auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--st-font-display);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--st-ink);
    text-decoration: none;
}

.st-auth-brand svg {
    color: var(--st-accent);
}

.st-auth-title {
    margin: 22px 0 0;
    font-family: var(--st-font-display);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--st-ink);
}

.st-auth-sub {
    margin: 8px 0 24px;
    font-size: 14px;
    color: var(--st-ink-muted);
}

.st-auth-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--st-line-strong);
    border-radius: 10px;
    background: #fff;
    font-family: var(--st-font-mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--st-ink);
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s;
}

.st-auth-google svg {
    width: 18px;
    height: 18px;
}

.st-auth-google + .st-auth-google {
    margin-top: 10px;
}

.st-auth-welcome {
    margin: 0 0 12px;
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--st-ink-muted);
}

.st-auth-google--last {
    border-color: rgba(124, 58, 237, 0.35);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.08);
}

.st-auth-last-tag {
    margin-left: 6px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.1);
    color: var(--st-accent);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.st-auth-google:hover {
    border-color: rgba(18, 18, 18, 0.28);
    background: #fafafa;
}

.st-auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: var(--st-ink-faint);
    font-family: var(--st-font-mono);
    font-size: 12px;
}

.st-auth-divider::before,
.st-auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--st-line-strong);
}

.st-auth-field {
    margin-bottom: 16px;
}

.st-auth-field label {
    display: block;
    margin-bottom: 7px;
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--st-ink-muted);
}

.st-auth-field input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--st-line-strong);
    border-radius: 10px;
    background: #fff;
    font-family: var(--st-font-ui);
    font-size: 15px;
    color: var(--st-ink);
}

.st-auth-field input::placeholder {
    color: var(--st-ink-faint);
}

.st-auth-field input:focus {
    outline: none;
    border-color: var(--st-accent);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.st-auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 20px;
    font-size: 13px;
    color: var(--st-ink-muted);
}

.st-auth-row label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
}

.st-auth-row a {
    color: var(--st-accent-deep);
    text-decoration: none;
}

.st-auth-row a:hover {
    text-decoration: underline;
}

.st-auth-submit {
    width: 100%;
}

.st-auth-error {
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(220, 38, 38, 0.25);
    background: rgba(220, 38, 38, 0.08);
    color: #b91c1c;
    font-size: 13px;
    line-height: 1.45;
}

.st-auth-error[hidden] {
    display: none;
}

@keyframes st-auth-shake {
    0%, 100% { transform: translateX(0); }
    18% { transform: translateX(-7px); }
    36% { transform: translateX(7px); }
    54% { transform: translateX(-4px); }
    72% { transform: translateX(4px); }
}

.st-auth-card.is-shake {
    animation: st-auth-shake 0.42s ease;
}

.st-le-float {
    position: relative;
    isolation: isolate;
    padding-bottom: 36px;
}

.st-le-float .st-le-panel {
    position: relative;
    z-index: 1;
}

.st-le-float .st-le-editor {
    transform: translateY(-6px);
    box-shadow:
        0 28px 60px rgba(91, 33, 182, 0.22),
        0 8px 20px rgba(18, 18, 18, 0.12);
    animation: st-le-bob 4.8s ease-in-out infinite;
}

@keyframes st-le-bob {
    0%, 100% { transform: translateY(-6px); }
    50% { transform: translateY(-14px); }
}

.st-le-clouds {
    position: absolute;
    left: 6%;
    right: 6%;
    bottom: 0;
    height: 64px;
    z-index: 0;
    pointer-events: none;
}

.st-le-cloud {
    position: absolute;
    background: #fff;
    border-radius: 40px;
    box-shadow: 0 10px 22px rgba(124, 58, 237, 0.16);
}

.st-le-cloud--a {
    width: 46%;
    height: 34px;
    left: 4%;
    bottom: 14px;
}

.st-le-cloud--b {
    width: 38%;
    height: 28px;
    right: 8%;
    bottom: 8px;
    background: #f4f0ff;
}

.st-le-cloud--c {
    width: 22%;
    height: 22px;
    left: 38%;
    bottom: 22px;
    background: #fff8e8;
}

.st-discover-page {
    background:
        radial-gradient(circle at 12% 0%, rgba(124, 58, 237, 0.12), transparent 42%),
        radial-gradient(circle at 88% 8%, rgba(245, 166, 35, 0.1), transparent 38%),
        var(--st-bg, #f6f5f1);
}

.st-discover-hero {
    position: relative;
    padding: 56px 0 28px;
    overflow: hidden;
}

.st-discover-hero-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent 70%);
    pointer-events: none;
}

.st-discover-hero-inner {
    position: relative;
    text-align: center;
    max-width: 760px;
}

.st-discover-kicker {
    margin: 0 0 10px;
    font-family: var(--st-font-ui);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--st-accent-deep);
}

.st-discover-title {
    margin: 0;
    font-family: var(--st-font-display);
    font-size: clamp(2.4rem, 6vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: var(--st-ink);
}

.st-discover-sub {
    margin: 14px auto 0;
    max-width: 520px;
    font-size: 17px;
    line-height: 1.5;
    color: var(--st-ink-muted);
}

.st-discover-starters,
.st-discover-pad {
    padding: 12px 0 48px;
}

.st-discover-section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 0 22px;
    font-family: var(--st-font-display);
    font-size: clamp(1.45rem, 3vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--st-ink);
}

.st-discover-section-bolt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--st-yellow, #f5a623);
    color: #1a1625;
    box-shadow: 0 6px 16px rgba(245, 166, 35, 0.28);
}

.st-discover-fw-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.st-discover-page .st-stacks-track .st-discover-fwcard {
    flex: 0 0 200px;
    width: 200px;
}

.st-discover-page .st-discover-fwcard {
    flex-direction: column;
    align-items: center;
    min-height: 168px;
    padding: 22px 16px 18px;
    border-radius: 22px;
    text-align: center;
    box-shadow: 0 12px 28px rgba(18, 18, 18, 0.06);
}

.st-discover-page .st-discover-fwcard::before {
    top: -30px;
    left: 50%;
    width: 120px;
    height: 120px;
    transform: translateX(-50%);
}

.st-discover-page .st-discover-fwcard .st-fwcard-glyph,
.st-discover-page .st-discover-fwcard.st-fwcard--flask .st-fwcard-glyph {
    position: relative;
    top: 0;
    left: 0;
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
}

.st-discover-page .st-discover-fwcard .st-fwcard-text {
    align-items: center;
}

.st-discover-gallery {
    background: transparent;
    padding-top: 8px;
}

.st-discover-page .st-catpromo-head {
    text-align: center;
}

.st-discover-pad .st-hero-lang {
    flex: 0 0 300px;
    width: 300px;
    max-width: 48%;
}

.st-discover-pad .st-hero-lang-dropdown {
    width: min(480px, 92vw);
    min-width: 360px;
}

@media (max-width: 820px) {
    .st-discover-fw-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .st-discover-pad .st-hero-lang,
    .st-discover-pad .st-hero-docker {
        flex: 1 1 100%;
        width: 100%;
        max-width: none;
    }
}

.st-auth-fineprint {
    margin: 14px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--st-ink-faint);
}

.st-auth-fineprint a,
.st-auth-foot a {
    color: var(--st-accent-deep);
    text-decoration: none;
}

.st-auth-fineprint a:hover,
.st-auth-foot a:hover {
    text-decoration: underline;
}

.st-auth-foot {
    margin: 24px 0 0;
    text-align: center;
    font-size: 14px;
    color: var(--st-ink-muted);
}

.st-auth-switch {
    margin: 24px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid var(--st-line-strong);
    text-align: center;
}

.st-auth-switch-label {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--st-ink-muted);
}

.st-auth-switch-btn {
    width: 100%;
    min-height: 48px;
    font-size: 13px;
    font-weight: 600;
}

.st-auth-status-mark {
    /* Block-level so it drops below the wordmark instead of sitting beside it. */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-top: 22px;
    border-radius: 14px;
}

.st-auth-status-mark svg {
    width: 24px;
    height: 24px;
}

.st-auth-status-mark.is-ok {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
}

.st-auth-status-mark.is-error {
    background: rgba(220, 38, 38, 0.1);
    color: #b91c1c;
}

.st-auth-status-mark + .st-auth-title {
    margin-top: 14px;
}

.st-auth-status-actions {
    display: grid;
    gap: 10px;
}

.st-auth-who {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--st-line-strong);
    background: #fafafb;
}

.st-auth-who-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--st-yellow);
    color: var(--st-yellow-ink);
    font-family: var(--st-font-display);
    font-size: 1.05rem;
    font-weight: 800;
}

.st-auth-who-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.st-auth-who-copy strong {
    font-size: 0.95rem;
    color: var(--st-ink);
    overflow-wrap: anywhere;
}

.st-auth-who-copy em {
    font-family: var(--st-font-mono);
    font-size: 11px;
    font-style: normal;
    color: var(--st-ink-muted);
    overflow-wrap: anywhere;
}

/* Two-column auth (login with editor preview) */

.st-auth-two {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 520px) minmax(0, 440px);
    gap: 40px;
    align-items: center;
    width: 100%;
    max-width: 1040px;
}

.st-auth-two .st-auth-shell {
    max-width: none;
}

.st-le-panel {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.st-le-editor {
    position: relative;
    border: 1px solid var(--st-line-strong);
    border-radius: 16px;
    background: #17171c;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(18, 18, 18, 0.18);
}

.st-le-editor .st-bolt-corner {
    color: rgba(196, 181, 253, 0.7);
    width: 20px;
    height: 20px;
    z-index: 3;
}

.st-le-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #202027;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.st-le-dots {
    display: inline-flex;
    gap: 5px;
}

.st-le-dots i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #4b4b55;
}

.st-le-dots i:nth-child(1) { background: #ff6b6b; }
.st-le-dots i:nth-child(2) { background: #ffd93d; }
.st-le-dots i:nth-child(3) { background: #6bcb77; }

.st-le-bar em {
    font-family: var(--st-font-mono);
    font-size: 11px;
    font-style: normal;
    color: rgba(255, 255, 255, 0.5);
}

.st-le-body {
    display: grid;
    grid-template-columns: 150px 1fr;
    min-height: 300px;
}

.st-le-tree {
    padding: 12px 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    background: #1b1b21;
    font-family: var(--st-font-mono);
    font-size: 11.5px;
}

.st-le-folder {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    border-radius: 6px;
    color: #c4b5fd;
    background: rgba(124, 58, 237, 0.16);
    font-weight: 600;
}

.st-le-file {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 10px;
    padding: 5px 8px;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.55);
    animation: st-drop 0.32s var(--ease-out, ease) both;
}

.st-le-file svg {
    opacity: 0.7;
}

.st-le-file.is-active {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

@keyframes st-drop {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.st-le-code {
    padding: 16px 16px 18px;
    background: #17171c;
    font-family: var(--st-font-mono);
    font-size: 12px;
    line-height: 1.7;
    overflow: hidden;
}

.st-le-line {
    display: flex;
    gap: 12px;
    white-space: pre;
    animation: st-fadein 0.3s ease both;
}

.st-le-num {
    width: 16px;
    text-align: right;
    color: rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
}

.st-le-txt {
    color: #d7d7de;
}

.st-le-code .c-kw { color: #c084fc; }
.st-le-code .c-fn { color: #7dd3fc; }
.st-le-code .c-str { color: #86efac; }
.st-le-code .c-cm { color: #6b7280; }
.st-le-code .c-key { color: #fbbf24; }
.st-le-code .c-tag { color: #f472b6; }
.st-le-code .c-op { color: #d7d7de; }
.st-le-code .c-df { color: #fca5a5; }

@keyframes st-fadein {
    from { opacity: 0; }
    to { opacity: 1; }
}

.st-le-caption {
    margin: 0;
    text-align: center;
    font-family: var(--st-font-mono);
    font-size: 12px;
    color: var(--st-ink-faint);
}

@media (max-width: 940px) {
    .st-auth-two {
        grid-template-columns: 1fr;
        max-width: 460px;
    }

    .st-le-panel {
        display: none;
    }
}

/* ─────────────────────────────────────────────
   Dashboard nav — settings + black account pill
   ───────────────────────────────────────────── */

.st-nav-settings {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--st-line-strong);
    background: #fff;
    color: var(--st-ink-muted);
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s, transform 0.15s;
}

.st-nav-settings:hover {
    color: var(--st-ink);
    border-color: rgba(18, 18, 18, 0.28);
    transform: translateY(-1px);
}

.st-nav-settings svg {
    transition: transform 0.5s ease;
}

.st-nav-settings:hover svg {
    transform: rotate(60deg);
}

.st-nav-account {
    position: relative;
}

.st-nav-account-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 6px;
    border: 0;
    background: none;
    color: var(--st-ink-muted);
    cursor: pointer;
    transition: color 0.15s;
}

.st-nav-account-btn:hover {
    color: var(--st-ink);
}

.st-nav-account-btn .account-name {
    font-family: var(--st-font-ui);
    font-weight: 600;
    font-size: 14px;
    color: inherit;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.st-nav-account-btn .account-chevron {
    color: currentColor;
    opacity: 0.7;
    transition: transform 0.2s;
}

.st-nav-account.open .account-chevron {
    transform: rotate(180deg);
}

/* Marketing account dropdown */
.st-nav-account .account-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 226px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--st-line-strong);
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(18, 18, 18, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.16s, transform 0.16s, visibility 0.16s;
    z-index: 510;
}

.st-nav-account.open .account-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.st-nav-account .dropdown-head {
    padding: 8px 10px 10px;
    border-bottom: 1px solid var(--st-line);
    margin-bottom: 6px;
}

.st-nav-account .dh-name {
    font-family: var(--st-font-display);
    font-weight: 700;
    font-size: 14px;
    color: var(--st-ink);
}

.st-nav-account .dh-mail {
    font-family: var(--st-font-mono);
    font-size: 11px;
    color: var(--st-ink-faint);
    margin-top: 2px;
}

.st-nav-account .dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 9px 10px;
    border: 0;
    border-radius: 8px;
    background: none;
    font-family: var(--st-font-ui);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--st-ink);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.13s;
}

.st-nav-account .dropdown-item:hover {
    background: rgba(18, 18, 18, 0.05);
}

.st-nav-account .dropdown-item.is-danger {
    color: #dc2626;
}

.st-nav-account .dropdown-item.is-danger:hover {
    background: rgba(220, 38, 38, 0.08);
}

.st-nav-account .dropdown-divider {
    height: 1px;
    margin: 6px 4px;
    background: var(--st-line);
}

@media (max-width: 720px) {
    .st-nav-account-btn {
        padding: 0 4px;
    }

    .st-nav-account .account-dropdown {
        right: 0;
        left: auto;
        min-width: min(260px, calc(100vw - 24px));
    }
}

/* ─────────────────────────────────────────────
   Dashboard content (marketing theme)
   ───────────────────────────────────────────── */

.st-dash-hero {
    position: relative;
    padding: 40px 0 56px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 55% at 12% 0%, rgba(124, 58, 237, 0.08), transparent 55%),
        radial-gradient(ellipse 55% 45% at 88% 18%, rgba(255, 226, 52, 0.12), transparent 50%),
        #fafafa;
}

/* Canva-style recents */
.st-dash-recents {
    padding: 0 0 48px;
    background:
        radial-gradient(ellipse 90% 60% at 50% -10%, rgba(124, 58, 237, 0.1), transparent 55%),
        radial-gradient(ellipse 70% 50% at 15% 0%, rgba(255, 226, 52, 0.08), transparent 45%),
        var(--st-bg);
}

.st-dash-recents-inner {
    padding-top: 28px;
}

.st-dash-snippet {
    padding: 28px 0 20px;
}

.st-dash-snippet .st-hero-pad {
    margin-top: 0;
}

.st-divider--break {
    background: none;
}

.st-divider--break::before,
.st-divider--break::after {
    content: "";
    position: absolute;
    top: 0;
    height: 1px;
    width: calc(var(--st-outline-w) * 0.36);
    background: rgba(18, 18, 18, 0.12);
    pointer-events: none;
}

.st-divider--break::before {
    left: max(20px, calc(50% - var(--st-outline-w) / 2));
}

.st-divider--break::after {
    right: max(20px, calc(50% - var(--st-outline-w) / 2));
}

/* Catalog + Wallet — embedded 50/50 split (not cards) */
.st-dash-hub {
    --st-hub-gutter: max(20px, calc((100vw - var(--st-outline-w)) / 2));
    --st-hub-seam: clamp(20px, 3vw, 40px);
    display: flex;
    width: 100%;
    border-bottom: 1px solid var(--st-line);
}

.st-dash-hub-pane {
    position: relative;
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: clamp(148px, 22vw, 188px);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transition: background 0.18s ease;
}

.st-dash-hub-pane--catalog {
    padding: 28px var(--st-hub-seam) 26px var(--st-hub-gutter);
    background:
        radial-gradient(ellipse 75% 90% at 0% 50%, rgba(124, 58, 237, 0.14), transparent 68%),
        linear-gradient(to right, rgba(250, 248, 255, 0.98) 0%, rgba(255, 255, 255, 0.72) 78%, rgba(255, 255, 255, 0.45) 100%);
}

.st-dash-hub-pane--catalog:hover {
    background:
        radial-gradient(ellipse 75% 90% at 0% 50%, rgba(124, 58, 237, 0.18), transparent 68%),
        linear-gradient(to right, rgba(245, 240, 255, 0.98) 0%, rgba(255, 255, 255, 0.78) 78%, rgba(255, 255, 255, 0.5) 100%);
}

.st-dash-hub-pane--wallet {
    padding: 28px var(--st-hub-gutter) 26px var(--st-hub-seam);
    background:
        radial-gradient(ellipse 75% 90% at 100% 50%, rgba(16, 185, 129, 0.14), transparent 68%),
        linear-gradient(to left, rgba(246, 255, 249, 0.98) 0%, rgba(255, 255, 255, 0.72) 78%, rgba(255, 255, 255, 0.45) 100%);
}

.st-dash-hub-pane--wallet:hover {
    background:
        radial-gradient(ellipse 75% 90% at 100% 50%, rgba(16, 185, 129, 0.18), transparent 68%),
        linear-gradient(to left, rgba(240, 255, 247, 0.98) 0%, rgba(255, 255, 255, 0.78) 78%, rgba(255, 255, 255, 0.5) 100%);
}

.st-dash-hub-pane--wallet .st-dash-hub-body {
    margin-left: auto;
    text-align: right;
    align-items: flex-end;
}

.st-dash-hub-pane--wallet .st-dash-hub-desc {
    margin-left: auto;
}

.st-dash-hub-fx {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.st-dash-hub-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    max-width: min(100%, 340px);
}

.st-dash-hub-kicker {
    display: block;
    font-family: var(--st-font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--st-accent-deep);
}

.st-dash-hub-pane--wallet .st-dash-hub-kicker {
    color: #059669;
}

.st-dash-hub-title {
    margin: 4px 0 0;
    font-family: var(--st-font-display);
    font-weight: 800;
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    letter-spacing: -0.03em;
    color: var(--st-ink);
}

.st-dash-hub-desc {
    margin: 6px 0 0;
    max-width: 28ch;
    font-size: 13px;
    line-height: 1.4;
    color: var(--st-ink-muted);
}

/* Catalog — stacked project cards */
.st-dash-hub-deck {
    position: absolute;
    top: 50%;
    right: 8%;
    display: flex;
    gap: 8px;
    transform: translateY(-50%);
}

.st-dash-hub-tile {
    width: 46px;
    height: 62px;
    border-radius: 10px;
    border: 1px solid rgba(124, 58, 237, 0.28);
    background: linear-gradient(180deg, #fff, #f3e8ff);
    box-shadow: 0 8px 18px rgba(91, 33, 182, 0.16);
    transition: transform 0.28s ease, background 0.28s ease;
}

.st-dash-hub-tile:nth-child(1) {
    transform: rotate(-10deg) translateY(8px);
}

.st-dash-hub-tile:nth-child(2) {
    transform: rotate(-2deg);
}

.st-dash-hub-tile:nth-child(3) {
    transform: rotate(8deg) translateY(5px);
}

.st-dash-hub-pane--catalog:hover .st-dash-hub-tile:nth-child(1) {
    transform: rotate(-14deg) translateY(0);
}

.st-dash-hub-pane--catalog:hover .st-dash-hub-tile:nth-child(2) {
    transform: rotate(-2deg) translateY(-6px);
}

.st-dash-hub-pane--catalog:hover .st-dash-hub-tile:nth-child(3) {
    transform: rotate(12deg) translateY(-2px);
}

/* Wallet — green notes */
.st-dash-hub-money {
    position: absolute;
    color: #059669;
    pointer-events: none;
    transition: transform 0.28s ease;
    transform: rotate(var(--hub-rot, 0deg));
}

.st-dash-hub-money svg {
    display: block;
    width: 100%;
    height: 100%;
}

.st-dash-hub-money--1 { top: 16%; left: 8%; width: 52px; height: 52px; --hub-rot: -18deg; }
.st-dash-hub-money--2 { top: 48%; left: 18%; width: 42px; height: 42px; --hub-rot: 12deg; opacity: 0.92; }
.st-dash-hub-money--3 { top: 22%; left: 32%; width: 36px; height: 36px; --hub-rot: 8deg; opacity: 0.82; }
.st-dash-hub-money--4 { top: 62%; left: 8%; width: 34px; height: 34px; --hub-rot: -10deg; opacity: 0.88; }
.st-dash-hub-money--5 { top: 72%; left: 28%; width: 30px; height: 30px; --hub-rot: 16deg; opacity: 0.8; }
.st-dash-hub-money--6 { top: 8%; left: 22%; width: 28px; height: 28px; --hub-rot: -6deg; opacity: 0.78; }

.st-dash-hub-pane--wallet:hover .st-dash-hub-money--1 {
    transform: rotate(-22deg) translateY(-12px);
}
.st-dash-hub-pane--wallet:hover .st-dash-hub-money--2 {
    transform: rotate(8deg) translateY(-14px);
}
.st-dash-hub-pane--wallet:hover .st-dash-hub-money--3 {
    transform: rotate(14deg) translateY(-10px);
}
.st-dash-hub-pane--wallet:hover .st-dash-hub-money--4 {
    transform: rotate(-14deg) translateY(-11px);
}
.st-dash-hub-pane--wallet:hover .st-dash-hub-money--5 {
    transform: rotate(20deg) translateY(-9px);
}
.st-dash-hub-pane--wallet:hover .st-dash-hub-money--6 {
    transform: rotate(-10deg) translateY(-13px);
}

@media (prefers-reduced-motion: reduce) {
    .st-dash-hub-tile,
    .st-dash-hub-money {
        transition: none;
    }
}

.st-dash-purchases {
    margin-top: 40px;
    padding-top: 8px;
    border-top: 1px solid var(--st-line);
}

.st-dash-purchases-head {
    margin-bottom: 18px;
}

.st-dash-purchases-title {
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.st-dash-purchases-grid {
    margin-top: 0;
}

.st-dash-purchases-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.st-purchase-panel-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.st-purchase-panel-meta {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--st-ink-muted);
}

.st-purchase-panel-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.st-purchase-panel-desc {
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--st-line);
    background: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.55;
    color: var(--st-ink);
    white-space: pre-wrap;
}

.st-purchase-panel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.st-purchase-report-btn {
    color: #b42318;
    border-color: rgba(180, 35, 24, 0.25);
}

.st-purchase-report-btn:hover {
    background: rgba(180, 35, 24, 0.06);
}

.st-purchase-panel-note {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: var(--st-ink-muted);
}

.st-purchase-panel-note.is-error {
    color: #b42318;
}

.st-purchase-panel-note a {
    color: var(--st-accent);
    font-weight: 600;
}

.st-tile-price-banner.is-owns {
    background: rgba(255, 226, 52, 0.92);
    color: #1a1600;
}

.st-rec-card.is-purchased .st-tile-tag--purchased {
    background: rgba(255, 226, 52, 0.28);
    color: #1a1600;
    border: 1px solid rgba(26, 22, 0, 0.1);
}

/* Workshop hero — Canva-style framework picker */
.st-workshop {
    position: relative;
    padding: 0 0 36px;
    margin-bottom: 8px;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
}

.st-workshop-topbar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.st-workshop-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 72px;
    padding: 8px 0;
}

.st-workshop-hero-title {
    margin: 0;
    font-family: var(--st-font-display);
    font-weight: 800;
    font-size: clamp(2rem, 4.5vw, 2.85rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    text-align: center;
    color: var(--st-ink);
}

.st-workshop-hero-user {
    display: none;
}

.st-workshop-hero-copy {
    display: block;
}

/* Catalog page */
.st-catalog-page {
    padding: 28px 0 56px;
    background: #fff;
}

.st-catalog-inner {
    max-width: var(--st-outline-w);
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

.st-catalog-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.st-catalog-back {
    display: inline-block;
    margin-bottom: 10px;
    font-family: var(--st-font-ui);
    font-size: 13px;
    font-weight: 600;
    color: var(--st-accent-deep);
    text-decoration: none;
}

.st-catalog-back:hover {
    text-decoration: underline;
}

.st-catalog-title {
    margin: 0;
    font-family: var(--st-font-display);
    font-weight: 800;
    font-size: clamp(1.8rem, 3.2vw, 2.35rem);
    letter-spacing: -0.03em;
    color: var(--st-ink);
}

.st-catalog-lead {
    margin: 8px 0 0;
    max-width: 52ch;
    font-size: 0.95rem;
    color: var(--st-ink-muted);
}

.st-catalog-search {
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(100%, 320px);
    min-height: 46px;
    padding: 0 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--st-line-strong);
    box-shadow: 0 8px 20px rgba(18, 18, 18, 0.05);
    color: var(--st-ink-faint);
    flex-shrink: 0;
}

.st-catalog-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: none;
    outline: none;
    font-family: var(--st-font-ui);
    font-size: 16px;
    color: var(--st-ink);
}

.st-catalog-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.st-catalog-filters .st-recents-dd-menu {
    left: 0;
    right: auto;
}

.st-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px 16px;
    align-items: start;
}

.st-catalog-grid .st-catalog-empty {
    grid-column: 1 / -1;
}

.st-catalog-grid .st-catalog-empty[hidden] {
    display: none !important;
}

.st-catalog-empty {
    padding: 40px 20px;
    border-radius: 14px;
    background: #f7f7f8;
    text-align: center;
    color: var(--st-ink-muted);
    font-size: 14px;
}

.st-catalog-owner {
    display: block;
    font-family: var(--st-font-mono);
    font-size: 11.5px;
    color: var(--st-accent-deep);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.st-catalog-desc {
    margin: 4px 0 0;
    min-height: 34px;
    max-height: 34px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--st-ink-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.st-catalog-price {
    display: none;
}

/* Roblox-style game tiles */
.st-tile-price-banner {
    position: absolute;
    left: 8px;
    bottom: 8px;
    z-index: 2;
    padding: 5px 10px;
    border-radius: 8px;
    font-family: var(--st-font-display);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(18, 18, 18, 0.12);
}

.st-tile-price-banner.is-free {
    background: rgba(255, 255, 255, 0.95);
    color: #047857;
}

.st-tile-price-banner.is-paid {
    background: linear-gradient(180deg, #ffe066 0%, #f5c518 100%);
    color: #3d2e00;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.st-tile-boost-corner {
    position: absolute;
    left: 8px;
    top: 8px;
    z-index: 2;
    line-height: 0;
}

.st-tile-boost-corner .st-rec-boost-ico {
    width: 28px;
    height: 28px;
}

.st-tile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 6px;
}

.st-tile-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 999px;
    font-family: var(--st-font-ui);
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.2;
    background: #f0f0f2;
    color: var(--st-ink-muted);
}

.st-tile-tag img {
    display: block;
    flex-shrink: 0;
}

.st-tile-tag--fw {
    background: rgba(99, 102, 241, 0.1);
    color: var(--st-accent-deep);
}

.st-tile-tag--status.is-live {
    background: rgba(16, 185, 129, 0.14);
    color: #047857;
}

.st-tile-tag--price.is-free {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
}

.st-tile-tag--price.is-paid {
    background: linear-gradient(180deg, #fff4c2 0%, #ffe066 100%);
    color: #5c4500;
}

.st-tile-tag--boost {
    background: rgba(234, 179, 8, 0.16);
    color: #92400e;
}

.st-tile-tag--boost.is-super {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.16) 0%, rgba(234, 179, 8, 0.2) 100%);
    color: #5b21b6;
}

.st-tile-tag--boost.is-none {
    background: #ececee;
    color: var(--st-ink-faint);
    font-weight: 600;
}

.st-tile-card {
    border-radius: 12px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--st-line);
    box-shadow: 0 4px 14px rgba(18, 18, 18, 0.04);
    transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}

.st-tile-card:hover {
    transform: translateY(-2px);
    border-color: rgba(124, 58, 237, 0.25);
    box-shadow: 0 8px 22px rgba(18, 18, 18, 0.08);
}

.st-tile-card.is-selected {
    border-color: var(--st-accent-deep);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.st-tile-card .st-rec-preview {
    border-radius: 8px;
}

.st-tile-meta {
    margin-top: 2px;
    font-size: 11px;
}

.st-tile-actions {
    display: flex;
    gap: 6px;
    margin-top: 6px;
    padding: 0 2px;
}

.st-tile-action {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid var(--st-line);
    background: #fafafa;
    font-family: var(--st-font-ui);
    font-size: 11px;
    font-weight: 700;
    color: var(--st-ink);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.14s ease, border-color 0.14s ease;
}

.st-tile-action:hover {
    background: #f3f3f5;
    border-color: var(--st-line-strong);
}

.st-tile-action--add {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.25);
    color: var(--st-accent-deep);
}

.st-tile-action--remove {
    background: rgba(239, 68, 68, 0.06);
    border-color: rgba(239, 68, 68, 0.2);
    color: #b91c1c;
}

.st-rec-panel-showcase {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: linear-gradient(180deg, #fafafa 0%, #f3f3f5 100%);
    border: 1px solid var(--st-line);
}

.st-rec-panel-tags {
    margin-top: 0;
}

.st-rec-panel-boost-actions {
    display: flex;
    gap: 8px;
}

.st-btn--sm {
    min-height: 34px;
    padding: 0 14px;
    font-size: 12px;
}

/* Catalog paid panel */
.st-catalog-panel-price-hero {
    padding: 16px 18px;
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 248, 255, 0.98) 100%);
    border: 1px solid rgba(124, 58, 237, 0.12);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.06);
}

.st-catalog-panel-price-kicker {
    display: block;
    font-family: var(--st-font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--st-ink-faint);
    margin-bottom: 4px;
}

.st-catalog-panel-price-big {
    display: block;
    font-family: var(--st-font-display);
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--st-ink);
}

.st-catalog-panel-price-big.is-free {
    color: #047857;
}

.st-catalog-panel-price-paid .st-catalog-panel-price-big {
    color: #5c4500;
    background: linear-gradient(180deg, #ffe066 0%, #f5c518 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.st-catalog-panel-price-big.is-owned {
    color: #1a1600;
    background: linear-gradient(180deg, #ffe066 0%, #f5c518 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.st-catalog-panel-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.st-catalog-buy {
    width: 100%;
    justify-content: center;
    font-weight: 800;
    letter-spacing: 0.02em;
    background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%) !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
}

.st-catalog-buy:hover {
    filter: brightness(1.05);
}

.st-catalog-launch {
    width: 100%;
    justify-content: center;
    gap: 8px;
}

.st-catalog-launch.is-locked {
    opacity: 0.65;
    cursor: not-allowed;
    pointer-events: none;
}

.st-catalog-launch.is-free .st-catalog-lock,
.st-catalog-launch:not(.is-locked) .st-catalog-lock,
.st-catalog-lock[hidden] {
    display: none !important;
}

.st-catalog-launch.st-btn--primary {
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.22);
}

.st-catalog-lock {
    flex-shrink: 0;
}

.st-catalog-layout {
    margin-top: 8px;
}

.st-catalog-panel-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    font-family: var(--st-font-ui);
    font-size: 12px;
}

.st-catalog-panel-owner {
    font-family: var(--st-font-mono);
    font-weight: 600;
    color: var(--st-accent-deep);
}

.st-catalog-panel-fw {
    color: var(--st-ink-muted);
}

.st-catalog-panel-desc {
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--st-line);
    background: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.55;
    color: var(--st-ink);
    white-space: pre-wrap;
}

.st-catalog-panel-actions.st-rec-panel-actions {
    flex-direction: column;
}

.st-rec-panel-price-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 8px;
    align-items: center;
}

.st-rec-panel-payments-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--st-accent-deep);
    text-decoration: none;
}

.st-rec-panel-payments-link:hover {
    text-decoration: underline;
}

.stripe-sell-prompt {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(124, 58, 237, 0.22);
    background: rgba(124, 58, 237, 0.08);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stripe-sell-prompt[hidden] {
    display: none !important;
}

.st-rec-panel-save-status {
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--st-ink-muted);
    background: rgba(124, 58, 237, 0.06);
    border: 1px solid rgba(124, 58, 237, 0.14);
}

.st-rec-panel-save-status.is-error {
    color: #b42318;
    background: rgba(180, 35, 24, 0.06);
    border-color: rgba(180, 35, 24, 0.18);
}

.st-rec-panel-price-row input:not([hidden]) {
    display: block;
}

.st-rec-panel-price-row input[hidden] {
    display: none !important;
}

.stripe-sell-prompt-copy {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: var(--st-accent-deep);
}

.stripe-sell-prompt-btn {
    align-self: flex-start;
    height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    border: none;
    background: var(--st-accent);
    color: #fff;
    font-family: var(--st-font-ui);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
}

.stripe-sell-prompt-btn:hover:not(:disabled) {
    background: var(--st-accent-deep);
}

.stripe-sell-prompt-btn:disabled {
    opacity: 0.65;
    cursor: wait;
}

/* Payment settings page */
.st-payments-page {
    background: #fff;
}

.st-payments {
    padding: 28px 0 56px;
}

.st-payments-inner {
    max-width: 920px;
}

.st-payments-head {
    margin-bottom: 24px;
}

.st-payments-title {
    margin: 8px 0 0;
    font-family: var(--st-font-display);
    font-weight: 800;
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    letter-spacing: -0.03em;
    color: var(--st-ink);
}

.st-payments-lead {
    margin: 8px 0 0;
    max-width: 52ch;
    font-size: 0.95rem;
    color: var(--st-ink-muted);
}

.st-payments-banner {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f7f7f8;
    font-size: 13px;
    color: var(--st-ink-muted);
}

.st-payments-banner--ok {
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
}

.st-payments-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 18px;
}

.st-payments-card {
    padding: 22px;
    border: 1px solid var(--st-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(18, 18, 18, 0.04);
}

.st-payments-card--info {
    background: #fafafa;
}

.st-payments-card-title {
    margin: 0 0 8px;
    font-family: var(--st-font-display);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--st-ink);
}

.st-payments-card-desc {
    margin: 0 0 18px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--st-ink-muted);
}

.st-payments-status {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.st-payments-status-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--st-ink-muted);
}

.st-payments-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    flex-shrink: 0;
}

.st-payments-status-item.is-ok .st-payments-status-dot {
    background: #10b981;
}

.st-payments-status-item.is-pending .st-payments-status-dot {
    background: #f59e0b;
}

.st-payments-connect {
    width: 100%;
}

.st-payments-note {
    margin: 12px 0 0;
    font-size: 12px;
    color: #b45309;
}

.st-payments-steps {
    margin: 0;
    padding-left: 18px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--st-ink-muted);
}

.st-payments-steps li + li {
    margin-top: 10px;
}

.st-payments-back-link {
    display: inline-block;
    margin-top: 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--st-accent-deep);
    text-decoration: none;
}

.st-payments-back-link:hover {
    text-decoration: underline;
}

/* Wallet page */
.st-wallet-page {
    background: #fff;
}

.st-wallet {
    padding: 28px 0 56px;
}

.st-wallet-inner {
    max-width: 920px;
}

.st-wallet-head {
    margin-bottom: 24px;
}

.st-wallet-title {
    margin: 8px 0 0;
    font-family: var(--st-font-display);
    font-weight: 800;
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    letter-spacing: -0.03em;
    color: var(--st-ink);
}

.st-wallet-lead {
    margin: 8px 0 0;
    max-width: 52ch;
    font-size: 0.95rem;
    color: var(--st-ink-muted);
}

.st-wallet-banner {
    margin-bottom: 18px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    background: rgba(124, 58, 237, 0.08);
    color: var(--st-ink);
}

.st-wallet-banner--ok {
    background: rgba(34, 197, 94, 0.12);
}

.st-wallet-balances {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.st-wallet-balance-card {
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid rgba(124, 58, 237, 0.14);
    background: linear-gradient(145deg, rgba(124, 58, 237, 0.06), rgba(255, 255, 255, 0.9));
}

.st-wallet-balance-card--muted {
    background: #faf9fc;
}

.st-wallet-balance-kicker {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--st-ink-muted);
}

.st-wallet-balance-value {
    display: block;
    margin-top: 6px;
    font-family: var(--st-font-display);
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--st-ink);
}

.st-wallet-balance-hint {
    display: block;
    margin-top: 4px;
    font-size: 0.82rem;
    color: var(--st-ink-muted);
}

.st-wallet-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 16px;
}

.st-wallet-card {
    padding: 22px;
    border-radius: 18px;
    border: 1px solid rgba(20, 16, 34, 0.08);
    background: #fff;
    box-shadow: 0 12px 40px rgba(20, 16, 34, 0.06);
}

.st-wallet-card--info {
    background: #faf9fc;
    box-shadow: none;
}

.st-wallet-card-title {
    margin: 0;
    font-family: var(--st-font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--st-ink);
}

.st-wallet-card-desc {
    margin: 8px 0 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--st-ink-muted);
}

.st-wallet-status {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.st-wallet-status-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--st-ink);
}

.st-wallet-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(20, 16, 34, 0.2);
    flex-shrink: 0;
}

.st-wallet-status-item.is-ok .st-wallet-status-dot {
    background: #22c55e;
}

.st-wallet-status-item.is-pending .st-wallet-status-dot {
    background: #f59e0b;
}

.st-wallet-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.st-wallet-disconnect {
    color: #b91c1c !important;
    border-color: rgba(185, 28, 28, 0.2) !important;
}

.st-wallet-note {
    margin: 12px 0 0;
    font-size: 0.85rem;
    color: #b91c1c;
    line-height: 1.45;
}

.st-wallet-note a,
.stripe-connect-modal-error a {
    color: var(--st-accent-deep);
    font-weight: 600;
}

.st-wallet-steps {
    margin: 12px 0 0;
    padding-left: 18px;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--st-ink-muted);
}

.st-wallet-steps li + li {
    margin-top: 8px;
}

.st-wallet-back-link {
    display: inline-block;
    margin-top: 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--st-accent-deep);
    text-decoration: none;
}

.st-wallet-back-link:hover {
    text-decoration: underline;
}

/* Unverified email badge in the nav */

.st-nav-unverified {
    margin-left: 7px;
    padding: 2px 7px;
    border-radius: 5px;
    border: 1px solid rgba(220, 38, 38, 0.32);
    background: rgba(220, 38, 38, 0.1);
    font-family: var(--st-font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #b91c1c;
    white-space: nowrap;
}

/* ── Settings page ── */

.st-set-page {
    background: transparent;
}

.st-set {
    position: relative;
    padding: 28px 0 72px;
}

.st-set-bolt {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    color: rgba(124, 58, 237, 0.13);
}

.st-set-bolt svg {
    display: block;
    width: 100%;
    height: 100%;
}

.st-set-bolt--a { left: -22px; top: 120px; width: 68px; height: 68px; transform: rotate(-14deg); }
.st-set-bolt--b { right: -14px; top: 320px; width: 46px; height: 46px; transform: rotate(12deg); color: rgba(245, 166, 35, 0.4); }
.st-set-bolt--c { left: 2%; bottom: 90px; width: 40px; height: 40px; transform: rotate(9deg); }

.st-set-inner {
    position: relative;
    z-index: 1;
    max-width: 920px;
}

.st-set-head {
    margin-bottom: 22px;
}

.st-set-title {
    margin: 8px 0 0;
    font-family: var(--st-font-display);
    font-weight: 800;
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    letter-spacing: -0.03em;
    color: var(--st-ink);
}

.st-set-lead {
    margin: 8px 0 0;
    max-width: 52ch;
    font-size: 0.95rem;
    color: var(--st-ink-muted);
}

/* Identity hero */

.st-set-hero {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    border-radius: 20px;
    border: 1px solid rgba(167, 139, 250, 0.24);
    background: linear-gradient(150deg, #1b1428, #0c0c0f 62%);
    color: #fff;
    box-shadow: 0 24px 56px rgba(18, 18, 18, 0.22);
    overflow: hidden;
}

.st-set-hero::after {
    content: "";
    position: absolute;
    right: -70px;
    top: -90px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.45), transparent 68%);
    pointer-events: none;
}

.st-set-hero-avatar {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--st-yellow);
    color: var(--st-yellow-ink);
    font-family: var(--st-font-display);
    font-size: 1.6rem;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(255, 226, 52, 0.26);
}

.st-set-hero-spark {
    position: absolute;
    right: -8px;
    bottom: -8px;
    width: 22px;
    height: 22px;
    color: #7c3aed;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

.st-set-hero-spark svg {
    display: block;
    width: 100%;
    height: 100%;
}

.st-set-hero-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.st-set-hero-kicker {
    font-family: var(--st-font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.st-set-hero-name {
    font-family: var(--st-font-display);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
}

.st-set-hero-mail {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    overflow-wrap: anywhere;
}

.st-set-hero-chips {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: auto;
    justify-content: flex-end;
}

.st-set-chip {
    padding: 5px 11px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    font-family: var(--st-font-mono);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.78);
    white-space: nowrap;
}

.st-set-chip.is-ok {
    border-color: rgba(134, 239, 172, 0.4);
    color: #86efac;
}

.st-set-chip.is-warn {
    border-color: rgba(255, 226, 52, 0.45);
    color: var(--st-yellow);
}

.st-set-chip.is-loading {
    color: rgba(255, 255, 255, 0.45);
}

.st-set-chip.is-danger {
    border-color: rgba(248, 113, 113, 0.55);
    background: rgba(220, 38, 38, 0.18);
    color: #fca5a5;
}

/* Verify-email banner */

.st-set-verify {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 16px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(220, 38, 38, 0.28);
    background: rgba(220, 38, 38, 0.05);
}

.st-set-verify[hidden] {
    display: none;
}

.st-set-verify.is-sent {
    border-color: rgba(34, 197, 94, 0.32);
    background: rgba(34, 197, 94, 0.06);
}

.st-set-verify-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(220, 38, 38, 0.12);
    color: #b91c1c;
}

.st-set-verify.is-sent .st-set-verify-mark {
    background: rgba(34, 197, 94, 0.14);
    color: #15803d;
}

.st-set-verify-mark svg {
    width: 20px;
    height: 20px;
}

.st-set-verify-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.st-set-verify-copy strong {
    font-size: 0.95rem;
    color: var(--st-ink);
}

.st-set-verify-copy span {
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--st-ink-muted);
    overflow-wrap: anywhere;
}

.st-set-verify .st-btn {
    margin-left: auto;
    flex: 0 0 auto;
    min-height: 40px;
}

.st-set-tag {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 7px;
    border-radius: 5px;
    font-family: var(--st-font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    vertical-align: 2px;
}

.st-set-tag.is-ok {
    background: rgba(34, 197, 94, 0.14);
    color: #15803d;
}

.st-set-tag.is-danger {
    background: rgba(220, 38, 38, 0.1);
    color: #b91c1c;
}

/* Section jump nav */

.st-set-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 8px;
}

.st-set-nav-link {
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--st-line-strong);
    background: var(--st-bg-elevated);
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--st-ink-muted);
    text-decoration: none;
    transition: border-color 0.16s, color 0.16s, background 0.16s, transform 0.16s;
}

.st-set-nav-link:hover {
    border-color: rgba(124, 58, 237, 0.38);
    color: var(--st-accent-deep);
    transform: translateY(-1px);
}

/* Sub sections */

.st-set-block {
    margin-top: 28px;
    padding: 26px 0 8px;
    border: 0;
    border-top: 1px solid var(--st-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    scroll-margin-top: 90px;
}

.st-set-block-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 2px;
}

.st-set-block-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin-top: 3px;
    background: none;
    color: var(--st-accent);
    filter: drop-shadow(0 1px 4px rgba(124, 58, 237, 0.28));
}

.st-set-block-icon svg {
    display: block;
    width: 22px;
    height: 22px;
}

.st-set-block-title {
    margin: 0;
    font-family: var(--st-font-display);
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--st-ink);
}

.st-set-block-desc {
    margin: 6px 0 0;
    max-width: 60ch;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--st-ink-muted);
}

.st-set-block-count {
    margin-left: auto;
    flex: 0 0 auto;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.1);
    font-family: var(--st-font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--st-accent-deep);
    white-space: nowrap;
}

/* Read-only rows */

.st-set-rows {
    margin: 18px 0 0;
    padding: 0;
    border-top: 1px solid var(--st-line);
}

.st-set-row {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 13px 2px;
    border-bottom: 1px solid var(--st-line);
}

.st-set-row dt {
    flex: 0 0 130px;
    font-family: var(--st-font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--st-ink-faint);
}

.st-set-row dd {
    margin: 0;
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--st-ink);
    overflow-wrap: anywhere;
}

.st-set-pref {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 18px;
    padding: 16px 4px 4px;
    border-top: 1px solid var(--st-line);
}

.st-set-pref-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.st-set-pref-copy strong {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--st-ink);
}

.st-set-pref-copy span {
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--st-ink-muted);
}

.st-set-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    cursor: pointer;
}

.st-set-toggle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.st-set-toggle-ui {
    position: relative;
    width: 44px;
    height: 26px;
    border-radius: 999px;
    background: rgba(18, 18, 18, 0.14);
    transition: background 0.15s;
}

.st-set-toggle-ui::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(18, 18, 18, 0.18);
    transition: transform 0.15s;
}

.st-set-toggle input:checked + .st-set-toggle-ui {
    background: #7c3aed;
}

.st-set-toggle input:checked + .st-set-toggle-ui::after {
    transform: translateX(18px);
}

.st-set-toggle input:focus-visible + .st-set-toggle-ui {
    outline: 2px solid #7c3aed;
    outline-offset: 2px;
}

.st-set-toggle-label {
    font-family: var(--st-font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--st-ink-muted);
    min-width: 2.2em;
}

/* Password form */

.st-set-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.st-set-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.st-set-field[hidden] {
    display: none;
}

.st-set-field label {
    font-family: var(--st-font-mono);
    font-size: 11px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--st-ink-faint);
}

.st-set-field input {
    height: 42px;
    padding: 0 13px;
    border-radius: 10px;
    border: 1px solid var(--st-line-strong);
    background: var(--st-bg-sunken);
    font-family: var(--st-font-ui);
    font-size: 0.92rem;
    color: var(--st-ink);
    transition: border-color 0.16s, box-shadow 0.16s;
}

.st-set-field input:focus {
    outline: none;
    border-color: rgba(124, 58, 237, 0.5);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.st-set-form-foot {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.st-set-note {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.45;
    color: #b91c1c;
}

.st-set-note.is-ok {
    color: #15803d;
}

.st-set-danger {
    color: #b91c1c !important;
    border-color: rgba(185, 28, 28, 0.22) !important;
}

/* GitHub */

.st-set-gh {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid var(--st-line-strong);
    background: var(--st-bg-sunken);
}

.st-set-gh.is-connected {
    border-color: rgba(34, 197, 94, 0.32);
    background: rgba(34, 197, 94, 0.05);
}

.st-set-gh-mark {
    display: inline-flex;
    flex: 0 0 auto;
    color: var(--st-ink);
}

.st-set-gh-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.st-set-gh-state {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--st-ink);
    overflow-wrap: anywhere;
}

.st-set-gh-hint {
    font-size: 0.84rem;
    color: var(--st-ink-muted);
}

.st-set-gh-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-left: auto;
}

.st-set-gh-actions .st-btn {
    min-height: 40px;
}

.st-set-gh-actions [hidden] {
    display: none !important;
}

/* Subscriptions */

.st-set-subs {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.st-set-sub {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid var(--st-line-strong);
    background: var(--st-bg-elevated);
    transition: border-color 0.16s, box-shadow 0.16s;
}

.st-set-sub.is-super {
    border-color: rgba(124, 58, 237, 0.28);
    background: linear-gradient(140deg, rgba(124, 58, 237, 0.06), var(--st-bg-elevated) 60%);
}

.st-set-sub.is-ending {
    border-color: rgba(245, 166, 35, 0.4);
    background: rgba(245, 166, 35, 0.05);
}

.st-set-sub-bolts {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.st-set-sub-bolts img {
    display: block;
}

.st-set-sub-bolt--overlap {
    margin-left: -9px;
}

.st-set-sub-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.st-set-sub-top {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.st-set-sub-name {
    font-family: var(--st-font-display);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--st-ink);
}

.st-set-sub-price {
    font-family: var(--st-font-mono);
    font-size: 11px;
    color: var(--st-accent-deep);
}

.st-set-sub-project {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--st-ink);
    overflow-wrap: anywhere;
}

.st-set-sub-meta {
    font-family: var(--st-font-mono);
    font-size: 11px;
    color: var(--st-ink-muted);
}

.st-set-sub-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.st-set-sub-actions .st-btn {
    min-height: 38px;
}

.st-set-empty {
    margin: 0;
    font-size: 0.9rem;
    color: var(--st-ink-muted);
}

.st-set-empty-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px;
    border-radius: 14px;
    border: 1px dashed var(--st-line-strong);
    background: var(--st-bg-sunken);
}

@media (max-width: 820px) {
    .st-set-hero {
        flex-wrap: wrap;
    }

    .st-set-hero-chips {
        margin-left: 0;
        justify-content: flex-start;
        width: 100%;
    }

    .st-set-form {
        grid-template-columns: 1fr;
    }

    .st-set-gh,
    .st-set-sub,
    .st-set-verify {
        flex-wrap: wrap;
    }

    .st-set-gh-actions,
    .st-set-sub-actions,
    .st-set-verify .st-btn {
        margin-left: 0;
        width: 100%;
    }

    .st-set-row {
        flex-direction: column;
        gap: 4px;
    }

    .st-set-row dt {
        flex: 0 0 auto;
    }
}

/* Stripe connect popup (paid listing) */
.stripe-connect-overlay {
    position: fixed;
    inset: 0;
    z-index: 7000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.stripe-connect-overlay[hidden] {
    display: none !important;
}

body.stripe-connect-open {
    overflow: hidden;
}

.stripe-connect-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 16, 34, 0.48);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.stripe-connect-dialog {
    position: relative;
    z-index: 1;
    width: min(420px, 100%);
    padding: 24px;
    border-radius: 18px;
    border: 1px solid rgba(124, 58, 237, 0.16);
    background: #fff;
    box-shadow: 0 28px 80px rgba(20, 16, 34, 0.22);
}

.stripe-connect-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 10px;
    background: rgba(20, 16, 34, 0.06);
    color: var(--st-ink-muted);
    cursor: pointer;
}

.stripe-connect-title {
    margin: 0 28px 0 0;
    font-family: var(--st-font-display);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--st-ink);
}

.stripe-connect-modal-copy {
    margin: 10px 0 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--st-ink-muted);
}

.stripe-connect-modal-error {
    margin: 10px 0 0;
    font-size: 0.85rem;
    line-height: 1.45;
    color: #b91c1c;
}

.stripe-connect-modal-error[hidden] {
    display: none;
}

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

.stripe-connect-dismiss {
    padding: 10px 14px;
    border: none;
    border-radius: 10px;
    background: transparent;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--st-ink-muted);
    cursor: pointer;
}

.stripe-connect-dismiss:hover {
    color: var(--st-ink);
}

.stripe-connect-wallet-link {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--st-accent-deep);
    text-decoration: none;
}

.stripe-connect-wallet-link:hover {
    text-decoration: underline;
}

@media (max-width: 720px) {
    .st-wallet-balances,
    .st-wallet-grid {
        grid-template-columns: 1fr;
    }
}

.st-workshop-subtitle {
    margin: 0 0 16px;
    font-family: var(--st-font-display);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    color: var(--st-ink-muted);
    text-align: center;
}

.st-workshop-create {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    min-height: 44px;
    padding: 0 18px 0 14px;
    border-radius: 999px;
    background: var(--st-bg-elevated);
    border: 1px solid rgba(18, 18, 18, 0.08);
    box-shadow: 0 8px 24px rgba(18, 18, 18, 0.08);
    font-family: var(--st-font-ui);
    font-size: 14px;
    font-weight: 700;
    color: var(--st-ink);
    text-decoration: none;
    transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}

.st-workshop-create:hover {
    transform: translateY(-1px);
    border-color: rgba(124, 58, 237, 0.25);
    box-shadow: 0 12px 28px rgba(124, 58, 237, 0.12);
}

.st-workshop-create-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--st-accent);
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
}

.st-workshop-search-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 26px;
}

.st-workshop-search {
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(100%, 640px);
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--st-bg-elevated);
    border: 1px solid rgba(18, 18, 18, 0.06);
    box-shadow:
        0 1px 2px rgba(18, 18, 18, 0.04),
        0 12px 32px rgba(18, 18, 18, 0.07);
    color: var(--st-ink-faint);
    cursor: text;
    transition: box-shadow 0.16s ease, border-color 0.16s ease;
}

.st-workshop-search:hover {
    border-color: rgba(18, 18, 18, 0.1);
    box-shadow:
        0 1px 2px rgba(18, 18, 18, 0.04),
        0 16px 36px rgba(18, 18, 18, 0.09);
}

.st-workshop-search:focus-within {
    border-color: rgba(124, 58, 237, 0.35);
    box-shadow:
        0 0 0 4px rgba(124, 58, 237, 0.1),
        0 12px 32px rgba(18, 18, 18, 0.07);
}

.st-workshop-search-ico {
    flex-shrink: 0;
}

.st-workshop-search:focus-within .st-workshop-search-ico {
    color: var(--st-accent);
}

.st-workshop-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: none;
    outline: none;
    font-family: var(--st-font-ui);
    font-size: 16px;
    color: var(--st-ink);
}

.st-workshop-search input::placeholder {
    color: var(--st-ink-faint);
}

.st-workshop-search-panel {
    margin-top: 8px;
}

.st-workshop-search-panel[hidden] {
    display: none !important;
}

#workshopPicker[hidden] {
    display: none !important;
}

.st-workshop-search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px 16px;
    align-items: start;
}

.st-workshop-search-empty {
    margin-top: 8px;
}

.st-workshop-search-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: 14px;
    background: var(--st-surface, #fff);
    border: 1px solid var(--st-line, rgba(15, 23, 42, 0.08));
    overflow: hidden;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.st-workshop-search-card:hover {
    border-color: color-mix(in srgb, var(--pc-accent, #6366f1) 35%, transparent);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.st-workshop-search-open {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.st-workshop-search-open.is-loading,
.st-workshop-search-open:disabled {
    opacity: 0.65;
    pointer-events: none;
}

.st-workshop-search-card .st-rec-preview {
    aspect-ratio: 16 / 10;
    border-radius: 0;
}

.st-workshop-search-card .st-rec-preview.is-github-preview {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
}

.st-workshop-search-card .st-rec-mark.is-github-mark {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.st-workshop-search-card .st-rec-body {
    padding: 12px 12px 10px;
    gap: 4px;
}

.st-workshop-search-sub {
    display: block;
    font-size: 12px;
    line-height: 1.35;
    color: var(--st-ink-muted, #64748b);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.st-workshop-search-source {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding: 8px 12px 10px;
    border-top: 1px solid var(--st-line, rgba(15, 23, 42, 0.08));
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--st-ink-muted, #64748b);
}

.st-workshop-search-source-ico {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.st-workshop-search-source-ico--img {
    object-fit: contain;
}

.st-workshop-search-source-label {
    line-height: 1;
}

.st-workshop-search-source.is-recents {
    color: #059669;
}

.st-workshop-search-source.is-catalog {
    color: #7c3aed;
}

.st-workshop-search-source.is-github {
    color: #0f172a;
}

.st-workshop-search-source.is-framework {
    color: #2563eb;
}

[data-theme="dark"] .st-workshop-search-card {
    background: var(--st-surface, #111827);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .st-workshop-search-source.is-github {
    color: #e2e8f0;
}

.st-workshop-stacks-wrap {
    overflow: hidden;
    margin: 0 -4px;
    padding: 0 4px 4px;
}

.st-workshop-stacks {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding: 4px 2px 8px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.st-workshop-stacks::-webkit-scrollbar {
    display: none;
}

.st-stack-chip {
    --stack-accent: #7c3aed;
    --stack-bg: #ede9fe;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    width: 88px;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    scroll-snap-align: start;
}

.st-stack-chip.is-soon {
    cursor: not-allowed;
    opacity: 0.72;
}

.st-stack-chip.is-loading {
    opacity: 0.65;
    pointer-events: none;
}

.st-stack-orb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--stack-bg);
    color: var(--stack-accent);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
    transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.st-stack-orb svg {
    width: 28px;
    height: 28px;
}

.st-stack-orb svg {
    width: 28px;
    height: 28px;
}

.st-stack-icon {
    display: block;
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.st-stack-mark {
    font-family: var(--st-font-display);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.st-stack-name {
    max-width: 100%;
    font-family: var(--st-font-ui);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--st-ink-muted);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.st-stack-badge {
    position: absolute;
    top: 0;
    right: 2px;
    padding: 3px 7px;
    border-radius: 999px;
    background: var(--st-accent);
    color: #fff;
    font-family: var(--st-font-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
}

.st-stack-chip:not(.is-soon):hover .st-stack-orb,
.st-stack-chip:not(.is-soon):focus-visible .st-stack-orb {
    transform: translateY(-2px);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.65),
        0 10px 20px rgba(18, 18, 18, 0.08);
}

.st-stack-chip:focus-visible {
    outline: 2px solid rgba(124, 58, 237, 0.35);
    outline-offset: 4px;
    border-radius: 12px;
}

.st-stack-chip--node { --stack-accent: #059669; --stack-bg: #d1fae5; }
.st-stack-chip--flask { --stack-accent: #4f46e5; --stack-bg: #e0e7ff; }
.st-stack-chip--static { --stack-accent: #db2777; --stack-bg: #fce7f3; }
.st-stack-chip--jupyter { --stack-accent: #2563eb; --stack-bg: #dbeafe; }
.st-stack-chip--express { --stack-accent: #ca8a04; --stack-bg: #fef3c7; }
.st-stack-chip--ruby { --stack-accent: #dc2626; --stack-bg: #fee2e2; }
.st-stack-chip--github { --stack-accent: #24292f; --stack-bg: #eef0f2; }

/* GitHub import block in workshop */
.st-workshop-github {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 32px auto 0;
    padding: 28px 0 0;
    border-top: 1px solid var(--st-line);
    box-sizing: border-box;
    text-align: center;
    overflow-x: hidden;
}

.st-workshop-github-lead {
    margin: 0 0 16px;
    font-family: var(--st-font-display);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    color: var(--st-ink-muted);
    text-align: center;
    width: 100%;
}

.st-workshop-gh-account {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 22px;
}

.st-workshop-gh-status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.st-workshop-gh-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--st-bg-sunken);
    border: 1px solid var(--st-line);
    font-family: var(--st-font-ui);
    font-size: 13px;
    font-weight: 600;
    color: var(--st-ink-muted);
}

.st-workshop-gh-pill--on {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.28);
    color: #047857;
}

.st-workshop-gh-pill-ico {
    display: inline-flex;
    width: 18px;
    height: 18px;
    color: inherit;
}

.st-workshop-gh-pill-ico svg {
    width: 100%;
    height: 100%;
}

.st-workshop-gh-connect {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--st-ink);
    color: var(--st-bg);
    font-family: var(--st-font-ui);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.14s ease, transform 0.14s ease;
}

.st-workshop-gh-connect:hover {
    background: #2d2d2d;
    transform: translateY(-1px);
}

.st-workshop-gh-disconnect {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--st-line-strong);
    background: var(--st-bg-elevated);
    font-family: var(--st-font-ui);
    font-size: 13px;
    font-weight: 600;
    color: var(--st-ink-muted);
    cursor: pointer;
}

.st-workshop-gh-disconnect:hover {
    border-color: rgba(239, 68, 68, 0.35);
    color: #b91c1c;
}

.st-workshop-gh-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: stretch;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.st-workshop-gh-panel {
    width: 100%;
    min-width: 0;
    padding: 18px 18px 16px;
    border-radius: 14px;
    background: var(--st-bg-sunken);
    border: 1px solid var(--st-line);
    box-sizing: border-box;
    text-align: center;
}

.st-workshop-gh-panel-title {
    margin: 0 0 6px;
    font-family: var(--st-font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--st-accent-deep);
}

.st-workshop-gh-panel-desc {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--st-ink-muted);
}

.st-workshop-gh-form {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.st-workshop-gh-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 0 14px;
    border-radius: 12px;
    background: var(--st-bg-elevated);
    border: 1px solid var(--st-line-strong);
    color: var(--st-ink-faint);
}

.st-workshop-gh-input-wrap input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: none;
    outline: none;
    min-height: 42px;
    font-family: var(--st-font-ui);
    font-size: 14px;
    color: var(--st-ink);
}

.st-workshop-gh-launch {
    flex-shrink: 0;
    min-height: 44px;
    padding: 0 18px;
    border: none;
    border-radius: 12px;
    background: var(--st-accent);
    color: #fff;
    font-family: var(--st-font-ui);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.14s ease, transform 0.14s ease;
}

.st-workshop-gh-launch:hover:not(:disabled) {
    background: var(--st-accent-deep);
    transform: translateY(-1px);
}

.st-workshop-gh-launch:disabled {
    opacity: 0.65;
    cursor: wait;
}

.st-workshop-gh-repo-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 220px;
    overflow: auto;
}

.st-workshop-gh-empty {
    margin: 0;
    padding: 18px 12px;
    border-radius: 10px;
    background: var(--st-bg-elevated);
    border: 1px dashed var(--st-line-strong);
    font-size: 13px;
    color: var(--st-ink-faint);
    text-align: center;
}

.st-workshop-gh-repo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid var(--st-line);
    border-radius: 10px;
    background: var(--st-bg-elevated);
    font-family: var(--st-font-ui);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.14s ease, box-shadow 0.14s ease;
}

.st-workshop-gh-repo:hover:not(:disabled) {
    border-color: rgba(124, 58, 237, 0.35);
    box-shadow: 0 6px 16px rgba(18, 18, 18, 0.06);
}

.st-workshop-gh-repo:disabled {
    opacity: 0.6;
    cursor: wait;
}

.st-workshop-gh-repo-name {
    min-width: 0;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--st-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.st-workshop-gh-repo-action {
    flex-shrink: 0;
    font-family: var(--st-font-mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--st-accent-deep);
}

.st-recents-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 12px;
    padding: 20px 8px 0;
    border-top: 1px solid var(--st-line);
}

.st-recents-title {
    margin: 0;
    font-family: var(--st-font-display);
    font-weight: 800;
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
    letter-spacing: -0.03em;
    color: var(--st-ink);
}

.st-recents-lead {
    margin: 6px 0 0;
    font-size: 0.92rem;
    color: var(--st-ink-muted);
}

.st-recents-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    margin: 0 8px 22px;
    font-family: var(--st-font-mono);
    font-size: 12px;
    color: var(--st-ink-faint);
}

.st-recents-stat span {
    font-weight: 700;
    color: var(--st-ink);
}

.st-recents-buy {
    margin-left: auto;
    font-family: var(--st-font-ui);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--st-accent-deep);
    text-decoration: none;
}

.st-recents-buy:hover {
    text-decoration: underline;
}

.st-recents-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    padding: 0 8px;
}

.st-rec-panel-backdrop {
    display: none;
    position: fixed;
    top: var(--st-side-panel-top, var(--st-nav-h, 64px));
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 480;
    border: none;
    padding: 0;
    margin: 0;
    background: rgba(18, 18, 18, 0.14);
    backdrop-filter: blur(5px) saturate(1.08);
    -webkit-backdrop-filter: blur(5px) saturate(1.08);
    cursor: pointer;
}

.st-rec-panel-backdrop[hidden] {
    display: none !important;
}

.st-rec-panel-backdrop:not([hidden]) {
    display: block;
}

body.st-side-panel-open {
    overflow: hidden;
}

body.st-side-panel-open .st-outline-v,
body.st-side-panel-open .st-frame-bolt {
    opacity: 0;
    visibility: hidden;
}

.st-recents-main {
    min-width: 0;
}

.st-recents-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.st-rec-filter {
    padding: 6px 12px;
    border: 1px solid var(--st-line);
    border-radius: 999px;
    background: var(--st-surface, #fff);
    font-family: var(--st-font-ui);
    font-size: 12px;
    font-weight: 600;
    color: var(--st-ink-muted);
    cursor: pointer;
    transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.st-rec-filter:hover {
    border-color: var(--st-ink-faint);
    color: var(--st-ink);
}

.st-rec-filter.is-active {
    border-color: var(--st-accent-deep);
    background: rgba(99, 102, 241, 0.08);
    color: var(--st-accent-deep);
}

.st-rec-panel {
    --st-side-panel-w: min(420px, 46vw);
    --st-side-panel-top: var(--st-nav-h, 64px);
    position: fixed;
    top: var(--st-side-panel-top);
    right: 0;
    bottom: 0;
    z-index: 490;
    width: var(--st-side-panel-w);
    max-width: 46vw;
    flex-direction: column;
    gap: 18px;
    padding: 20px 20px 24px;
    margin: 0;
    border: none;
    border-left: 1px solid rgba(124, 58, 237, 0.16);
    border-radius: 0;
    background:
        linear-gradient(165deg, rgba(124, 58, 237, 0.04) 0%, transparent 42%),
        linear-gradient(180deg, #ffffff 0%, #faf9ff 55%, #fffef8 100%);
    box-shadow: -20px 0 60px rgba(18, 18, 18, 0.12);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    isolation: isolate;
    animation: st-side-panel-in 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

.st-rec-panel > :not(.st-rec-panel-fx) {
    position: relative;
    z-index: 2;
}

.st-rec-panel-fx {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.st-rec-panel-accent-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--st-accent) 0%, var(--st-yellow) 48%, var(--st-accent-deep) 100%);
    opacity: 0.92;
}

.st-rec-panel-glow {
    position: absolute;
    pointer-events: none;
    animation: st-rec-panel-glow-pulse 5.2s ease-in-out infinite;
}

.st-rec-panel-glow--purple {
    left: -48%;
    bottom: -28%;
    width: 110%;
    height: 78%;
    background: radial-gradient(ellipse at 32% 74%, rgba(124, 58, 237, 0.32) 0%, transparent 62%);
}

.st-rec-panel-glow--gold {
    left: -20%;
    bottom: -10%;
    width: 70%;
    height: 50%;
    background: radial-gradient(ellipse at 24% 80%, rgba(255, 226, 52, 0.22) 0%, transparent 58%);
    animation-delay: -2.4s;
}

.st-rec-panel-frame {
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(124, 58, 237, 0.14);
    border-radius: 2px;
    pointer-events: none;
}

.st-rec-panel-bolt {
    position: absolute;
    color: var(--st-accent);
    filter: drop-shadow(0 4px 14px rgba(124, 58, 237, 0.45));
    pointer-events: none;
}

.st-rec-panel-bolt--gold {
    color: #c9a300;
    filter: drop-shadow(0 4px 14px rgba(255, 226, 52, 0.5));
}

.st-rec-panel-bolt svg {
    display: block;
    width: 100%;
    height: 100%;
}

.st-rec-panel-bolt--bl {
    left: 0;
    bottom: 0;
    width: clamp(120px, 34vw, 168px);
    height: clamp(120px, 34vw, 168px);
    transform: translate(-44%, 44%);
    opacity: 0.92;
}

.st-rec-panel-bolt--br {
    right: 0;
    bottom: 0;
    width: clamp(72px, 18vw, 96px);
    height: clamp(72px, 18vw, 96px);
    transform: translate(38%, 38%);
    opacity: 0.75;
}

.st-rec-panel-bolt--tl {
    left: 12px;
    top: 18px;
    width: 44px;
    height: 44px;
    opacity: 0.55;
}

.st-rec-panel-bolt--ml {
    left: 0;
    top: 42%;
    width: 38px;
    height: 38px;
    transform: translate(-48%, -50%);
    opacity: 0.45;
    color: rgba(124, 58, 237, 0.72);
}

.st-rec-panel-bolt--mr {
    right: 0;
    top: 58%;
    width: 32px;
    height: 32px;
    transform: translate(46%, -50%);
    opacity: 0.4;
}

@keyframes st-rec-panel-glow-pulse {
    0%, 100% { opacity: 0.78; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

@keyframes st-side-panel-in {
    from {
        transform: translateX(100%);
        opacity: 0.92;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.st-rec-panel[hidden] {
    display: none !important;
}

.st-rec-panel:not([hidden]) {
    display: flex;
}

.st-rec-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 2px;
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

.st-rec-panel-title {
    margin: 0;
    font-family: var(--st-font-display);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--st-ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.25;
}

.st-rec-panel-close {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: 1px solid var(--st-line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.85);
    font-size: 1.35rem;
    line-height: 1;
    color: var(--st-ink-muted);
    cursor: pointer;
    transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.st-rec-panel-close:hover {
    background: #fff;
    border-color: rgba(124, 58, 237, 0.22);
    color: var(--st-accent-deep);
}

.st-rec-panel-preview {
    position: relative;
    aspect-ratio: 16 / 10;
    max-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(145deg, #ececee 0%, #e4e4ea 100%);
    border: 1px solid rgba(18, 18, 18, 0.08);
    box-shadow: 0 8px 24px rgba(18, 18, 18, 0.06);
    overflow: hidden;
}

.st-rec-panel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.st-rec-panel-preview-fallback {
    font-family: var(--st-font-display);
    font-weight: 800;
    font-size: 2rem;
    letter-spacing: -0.04em;
    color: var(--pc-accent, #6366f1);
    opacity: 0.88;
}

.st-rec-panel-preview-fallback.st-proj--node { --pc-accent: #10b981; }
.st-rec-panel-preview-fallback.st-proj--flask { --pc-accent: #6366f1; }
.st-rec-panel-preview-fallback.st-proj--static { --pc-accent: #ec4899; }
.st-rec-panel-preview-fallback.st-proj--jupyter { --pc-accent: #f97316; }
.st-rec-panel-preview-fallback.st-proj--express { --pc-accent: #64748b; }
.st-rec-panel-preview-fallback.st-proj--ruby { --pc-accent: #ef4444; }
.st-rec-panel-preview-fallback.st-proj--other { --pc-accent: #94a3b8; }

.st-rec-panel-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.st-rec-panel-form.is-readonly .st-rec-panel-actions {
    justify-content: flex-end;
}

.st-rec-panel-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.st-rec-panel-label {
    font-family: var(--st-font-ui);
    font-size: 12px;
    font-weight: 600;
    color: var(--st-ink-muted);
}

.st-rec-panel-field select,
.st-rec-panel-field textarea,
.st-rec-panel-field input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--st-line);
    border-radius: 10px;
    background: var(--st-surface, #fff);
    font-family: var(--st-font-ui);
    font-size: 13px;
    color: var(--st-ink);
    resize: vertical;
}

.st-rec-panel-field select:focus,
.st-rec-panel-field textarea:focus,
.st-rec-panel-field input:focus {
    outline: 2px solid rgba(99, 102, 241, 0.25);
    border-color: var(--st-accent-deep);
}

.st-rec-panel-field select:disabled,
.st-rec-panel-field textarea:disabled,
.st-rec-panel-field input:disabled {
    opacity: 0.72;
    cursor: not-allowed;
}

.st-rec-panel-readonly {
    margin: 0;
    font-size: 12px;
    color: var(--st-ink-muted);
}

.st-rec-panel-actions {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.st-rec-panel-actions .st-btn {
    flex: 1;
    justify-content: center;
    text-align: center;
}

.st-recents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px 16px;
    align-items: start;
}

.st-recents-grid--row {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.st-recents-grid--row .project-card.is-row-hidden {
    display: none !important;
}

.st-recents-grid--row .st-tile-card {
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
    border-radius: 0;
}

.st-recents-grid--row .st-tile-card:hover,
.st-recents-grid--row .st-tile-card.is-selected {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.st-recents-grid--row .st-rec-preview {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    background: #f0f0f2;
}

.st-recents-grid--row .st-rec-card.is-selected .st-rec-preview {
    outline: 2px solid var(--st-accent-deep);
    outline-offset: 2px;
}

.st-recents-grid--row .st-tile-tags,
.st-recents-grid--row .st-tile-price-banner {
    display: none;
}

.st-recents-grid--row .st-rec-body {
    padding: 2px 2px 0;
}

.st-recents-see-all {
    display: flex;
    width: 100%;
    max-width: 220px;
    margin: 22px auto 0;
    justify-content: center;
}

.st-recents-see-all[hidden] {
    display: none !important;
}

.st-recents-dd {
    position: relative;
    flex-shrink: 0;
}

.st-recents-dd-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 12px 0 14px;
    border: 1px solid var(--st-line);
    border-radius: 10px;
    background: var(--st-bg-elevated);
    font-family: var(--st-font-ui);
    font-size: 13px;
    font-weight: 600;
    color: var(--st-ink);
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(18, 18, 18, 0.04);
}

.st-recents-dd-trigger:hover,
.st-recents-dd.is-open .st-recents-dd-trigger {
    border-color: rgba(124, 58, 237, 0.35);
}

.st-recents-dd-trigger svg {
    color: var(--st-ink-muted);
    transition: transform 0.16s ease;
}

.st-recents-dd.is-open .st-recents-dd-trigger svg {
    transform: rotate(180deg);
}

.st-recents-dd-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 20;
    min-width: 180px;
    margin: 0;
    padding: 6px;
    list-style: none;
    border: 1px solid var(--st-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(18, 18, 18, 0.12);
}

.st-recents-dd-menu[hidden] {
    display: none !important;
}

.st-recents-dd-option {
    display: flex;
    width: 100%;
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    text-align: left;
    font-family: var(--st-font-ui);
    font-size: 13px;
    font-weight: 600;
    color: var(--st-ink);
    cursor: pointer;
}

.st-recents-dd-option:hover {
    background: #f4f4f6;
}

.st-recents-dd-option.is-active {
    background: rgba(99, 102, 241, 0.1);
    color: var(--st-accent-deep);
}

@media (max-width: 1100px) {
    .st-recents-grid--row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .st-recents-grid--row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .st-recents-head {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 4px;
        padding-right: 4px;
    }

    .st-recents-layout,
    .st-recents-stats {
        margin-left: 4px;
        margin-right: 4px;
        padding-left: 0;
        padding-right: 0;
    }

    .st-recents-grid--row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.st-recents-grid .st-dash-empty,
.st-recents-grid .st-catalog-empty {
    grid-column: 1 / -1;
    padding: 48px 20px;
    border-radius: 12px;
    background: #f7f7f8;
}

.st-recents-grid .st-dash-empty[hidden],
.st-recents-grid .st-catalog-empty[hidden] {
    display: none !important;
}

.st-rec-card {
    --pc-accent: #6366f1;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
}

.st-rec-card.st-proj--node { --pc-accent: #10b981; }
.st-rec-card.st-proj--flask { --pc-accent: #6366f1; }
.st-rec-card.st-proj--static { --pc-accent: #ec4899; }
.st-rec-card.st-proj--jupyter { --pc-accent: #f97316; }
.st-rec-card.st-proj--express { --pc-accent: #64748b; }
.st-rec-card.st-proj--ruby { --pc-accent: #ef4444; }
.st-rec-card.st-proj--other { --pc-accent: #94a3b8; }

.st-rec-card.is-selected .st-rec-preview {
    outline: 2px solid var(--st-accent-deep);
    outline-offset: 2px;
}

.st-rec-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.st-rec-preview.has-image .st-rec-mark,
.st-rec-preview.has-image .st-rec-boost-hero,
.st-rec-preview.has-image .st-og-fallback {
    display: none;
}

.st-rec-open {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}

.st-rec-preview {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #ececee;
    overflow: hidden;
    transition: background 0.14s ease, transform 0.14s ease;
}

.st-rec-card:hover .st-rec-preview,
.st-rec-card.is-menu-open .st-rec-preview {
    background: #e2e2e6;
}

.st-rec-mark {
    font-family: var(--st-font-display);
    font-weight: 800;
    font-size: clamp(1.4rem, 2.4vw, 1.75rem);
    letter-spacing: -0.04em;
    color: var(--pc-accent);
    opacity: 0.88;
    user-select: none;
}

.st-rec-card.is-boosted .st-rec-preview {
    background: linear-gradient(180deg, #f3f3f5 0%, #ececee 100%);
}

.st-rec-card.is-super .st-rec-preview {
    background: linear-gradient(180deg, #f5f2ff 0%, #ececee 100%);
}

.st-rec-boost-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.st-rec-boost-hero .st-rec-boost-ico {
    width: 52px;
    height: 52px;
}

.st-rec-boost-hero .st-rec-boost-ico + .st-rec-boost-ico {
    margin-left: -18px;
}

.st-rec-card.is-super .st-rec-boost-hero .st-rec-boost-ico {
    width: 46px;
    height: 46px;
}

.st-og-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 12% 10%;
    background:
        radial-gradient(circle at 8% 92%, rgba(245, 166, 35, 0.28), transparent 55%),
        radial-gradient(circle at 92% 8%, rgba(124, 58, 237, 0.34), transparent 50%),
        linear-gradient(135deg, #1a0b2e 0%, #07040e 100%);
    overflow: hidden;
}

.st-og-fallback-owner,
.st-og-fallback-name {
    position: relative;
    z-index: 1;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.st-og-fallback-owner,
.st-og-fallback-name {
    opacity: 1;
    color: #fff;
    -webkit-text-stroke: 0.85px #000;
    paint-order: stroke fill;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
}

.st-og-fallback-owner {
    font-family: var(--st-font-display);
    font-weight: 800;
    font-size: clamp(0.85rem, 2.4vw, 1.15rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.st-og-fallback-name {
    margin-top: 2px;
    font-family: var(--st-font-display);
    font-weight: 600;
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 0;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.st-catpromo-thumb .st-og-fallback-owner,
.st-rec-preview .st-og-fallback-owner {
    font-size: 15px;
    color: #fff;
    opacity: 1;
}

.st-catpromo-thumb .st-og-fallback-name,
.st-rec-preview .st-og-fallback-name {
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    opacity: 1;
}

.st-og-fallback-bolt {
    position: absolute;
    pointer-events: none;
    line-height: 0;
}

.st-og-fallback-bolt svg {
    display: block;
    width: 100%;
    height: 100%;
}

.st-og-fallback-bolt--tr {
    top: -4%;
    right: -2%;
    width: 30%;
    color: #7c3aed;
    transform: rotate(22deg);
}

.st-og-fallback-bolt--bl,
.st-catpromo-thumb .st-og-fallback-bolt--bl,
.st-rec-preview .st-og-fallback-bolt--bl {
    left: 6%;
    bottom: 2%;
    width: 26%;
    color: #f5a623;
    opacity: 1;
    transform: rotate(-22deg);
}

.st-og-fallback-bolt--mid,
.st-catpromo-thumb .st-og-fallback-bolt--mid,
.st-rec-preview .st-og-fallback-bolt--mid {
    right: 12%;
    bottom: 12%;
    width: 20%;
    color: #f5a623;
    opacity: 1;
    transform: rotate(18deg);
}

.st-rec-preview:has(.st-og-fallback),
.st-rec-card.is-boosted .st-rec-preview:has(.st-og-fallback),
.st-rec-card.is-super .st-rec-preview:has(.st-og-fallback),
.st-rec-card:hover .st-rec-preview:has(.st-og-fallback),
.st-rec-card.is-menu-open .st-rec-preview:has(.st-og-fallback) {
    background: #07040e;
}

.st-rec-panel-preview:has(.st-og-fallback) {
    background: #07040e;
    border-color: transparent;
}

.st-rec-panel-preview-fallback:has(.st-og-fallback) {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.st-rec-vis {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 3px 7px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.92);
    font-family: var(--st-font-ui);
    font-size: 10.5px;
    font-weight: 600;
    color: #047857;
    line-height: 1.2;
    box-shadow: 0 1px 2px rgba(18, 18, 18, 0.06);
}

.st-rec-vis.is-private {
    color: var(--st-ink-muted);
}

.st-rec-vis.is-link {
    color: #6d28d9;
}

.st-rec-boost {
    position: absolute;
    right: 8px;
    bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0;
    line-height: 0;
}

.st-rec-boost-ico {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 4px;
}

.st-rec-boost-ico + .st-rec-boost-ico {
    margin-left: -8px;
}

.st-rec-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    min-width: 0;
    padding: 0 2px;
}

.st-rec-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: var(--st-font-ui);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--st-ink);
}

.st-rec-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--st-ink-faint);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.st-rec-type-dot {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--pc-accent);
    opacity: 0.85;
}

.st-rec-menu-wrap {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.14s ease;
}

.st-rec-card:hover .st-rec-menu-wrap,
.st-rec-card.is-menu-open .st-rec-menu-wrap {
    opacity: 1;
    pointer-events: auto;
}

.st-rec-menu-btn {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 4px rgba(18, 18, 18, 0.12);
    font-size: 16px;
    line-height: 1;
    color: var(--st-ink-muted);
    cursor: pointer;
}

.st-rec-menu-btn:hover {
    background: #fff;
    color: var(--st-ink);
}

.st-rec-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 148px;
    padding: 6px;
    border: 1px solid var(--st-line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(18, 18, 18, 0.12);
}

.st-rec-menu-item {
    display: block;
    width: 100%;
    padding: 8px 10px;
    border: none;
    border-radius: 7px;
    background: transparent;
    font-family: var(--st-font-ui);
    font-size: 13px;
    font-weight: 500;
    color: var(--st-ink);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.st-rec-menu-item:hover {
    background: #f4f4f6;
}

.st-rec-menu-unboost {
    color: #b91c1c;
}

.st-rec-menu-unboost:disabled {
    opacity: 0.6;
    cursor: wait;
}

.st-dash-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.st-dash-hero-grid {
    position: absolute;
    inset: -1px;
    background-image:
        linear-gradient(to right, rgba(18, 18, 18, 0.09) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(18, 18, 18, 0.09) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
    opacity: 0.9;
}

.st-dash-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    opacity: 0.55;
}

.st-dash-hero-glow--a {
    width: 280px;
    height: 280px;
    top: -80px;
    right: 8%;
    background: rgba(255, 226, 52, 0.35);
}

.st-dash-hero-glow--b {
    width: 320px;
    height: 320px;
    bottom: -120px;
    left: 4%;
    background: rgba(124, 58, 237, 0.18);
}

.st-dash-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
    display: block;
}

.st-dash-workspace {
    position: relative;
    padding: 28px 28px 32px;
    border: 1px solid var(--st-line-strong);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.78) 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.8) inset,
        0 24px 48px rgba(18, 18, 18, 0.06);
    backdrop-filter: blur(8px);
}

.st-dash-workspace::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px dashed rgba(18, 18, 18, 0.08);
    border-radius: 14px;
    pointer-events: none;
}

.st-dash-workspace-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.st-dash-workspace-label {
    display: inline-block;
    margin-bottom: 8px;
    font-family: var(--st-font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--st-accent-deep);
}

.st-dash-title {
    margin: 0;
    font-family: var(--st-font-display);
    font-weight: 800;
    font-size: clamp(1.7rem, 3.2vw, 2.35rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--st-ink);
}

.st-dash-workspace-sub {
    margin: 10px 0 0;
    max-width: 42ch;
    font-size: 0.95rem;
    line-height: 1.45;
    color: var(--st-ink-muted);
}

.st-dash-workspace-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
}

.st-dash-workspace-stats {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.st-dash-workspace-stats .st-dash-stat {
    padding: 14px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--st-line);
}

.st-dash-workspace-stats .st-dash-stat-num {
    font-size: 24px;
}

.st-dash-workspace-bar {
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
}

.st-dash-workspace-bar .st-dash-search {
    width: 100%;
    max-width: none;
}

.st-dash-hero-inner .st-hero-sub {
    margin-left: auto;
    margin-right: auto;
}

.st-dash-hero-inner .st-hero-actions {
    justify-content: center;
}

.st-dash-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    width: 100%;
    margin: 44px 0 0;
}

.st-dash-stat {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 18px;
    background: #fff;
    border: 1px solid var(--st-line);
    border-radius: 14px;
    text-align: left;
}

.st-dash-stat-num {
    font-family: var(--st-font-display);
    font-weight: 900;
    font-size: 30px;
    line-height: 1;
    color: var(--st-ink);
}

.st-dash-stat-unit {
    font-size: 15px;
    font-weight: 700;
    color: var(--st-ink-faint);
    margin-left: 2px;
}

.st-dash-stat-label {
    font-family: var(--st-font-mono);
    font-size: 11px;
    letter-spacing: 0.02em;
    color: var(--st-ink-muted);
}

/* Create-project cards */
.st-dash-create {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.st-dash-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0;
    background: #fff;
    border: 1px solid var(--st-line-strong);
    border-radius: 16px;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.16s, box-shadow 0.16s, border-color 0.16s;
    font-family: inherit;
}

.st-dash-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: var(--cc-accent, var(--st-accent));
    opacity: 0;
    transition: opacity 0.16s;
}

.st-dash-card:not(.is-soon):hover {
    transform: translateY(-3px);
    border-color: rgba(124, 58, 237, 0.45);
    box-shadow: 0 18px 44px rgba(18, 18, 18, 0.1);
}

.st-dash-card:not(.is-soon):hover::before {
    opacity: 1;
}

.st-dash-card.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

.st-dash-card.is-soon {
    cursor: not-allowed;
}

.st-dash-card-top {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    padding: 24px 24px 20px;
}

.st-dash-card-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: var(--cc-tint, #f4f4f6);
    font-size: 25px;
    box-shadow: inset 0 0 0 1px var(--cc-ring, transparent);
    transition: transform 0.16s;
}

.st-dash-card:not(.is-soon):hover .st-dash-card-ico {
    transform: scale(1.06) rotate(-3deg);
}

.st-dash-card-title {
    font-family: var(--st-font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--st-ink);
}

.st-dash-card-desc {
    font-family: var(--st-font-ui);
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--st-ink-muted);
}

.st-dash-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 24px;
    border-top: 1px solid var(--st-line);
    background: #fcfcfd;
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--st-accent-deep);
}

.st-dash-card-arrow {
    font-size: 15px;
    transition: transform 0.16s;
}

.st-dash-card:not(.is-soon):hover .st-dash-card-arrow {
    transform: translateX(4px);
}

.st-dash-card.is-soon .st-dash-card-top {
    opacity: 0.72;
}

.st-dash-card.is-soon .st-dash-card-foot {
    color: var(--st-ink-faint);
}

.st-dash-soon {
    display: inline-block;
    padding: 4px 11px;
    border-radius: 999px;
    background: #eeeef0;
    color: var(--st-ink-faint);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 10px;
}

/* per-stack icon tints */
.st-dash-card--node { --cc-accent: #10b981; --cc-tint: rgba(16, 185, 129, 0.12); --cc-ring: rgba(16, 185, 129, 0.22); }
.st-dash-card--flask { --cc-accent: #6366f1; --cc-tint: rgba(99, 102, 241, 0.12); --cc-ring: rgba(99, 102, 241, 0.22); }
.st-dash-card--static { --cc-accent: #ec4899; --cc-tint: rgba(236, 72, 153, 0.12); --cc-ring: rgba(236, 72, 153, 0.22); }
.st-dash-card--import { --cc-accent: #64748b; --cc-tint: rgba(100, 116, 139, 0.12); --cc-ring: rgba(100, 116, 139, 0.2); }

/* Search toolbar */
.st-dash-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    margin: 0 0 22px;
}

.st-dash-search {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 1 380px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid var(--st-line-strong);
    border-radius: 10px;
    color: var(--st-ink-faint);
    box-shadow: 0 2px 6px rgba(18, 18, 18, 0.04);
    transition: border-color 0.16s, box-shadow 0.16s;
}

.st-dash-search:hover {
    border-color: rgba(18, 18, 18, 0.22);
}

.st-dash-search:focus-within {
    border-color: rgba(124, 58, 237, 0.55);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

.st-dash-search-ico {
    flex-shrink: 0;
    transition: color 0.16s;
}

.st-dash-search:focus-within .st-dash-search-ico {
    color: var(--st-accent);
}

.st-dash-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: none;
    outline: none;
    font-family: var(--st-font-ui);
    font-size: 14px;
    color: var(--st-ink);
}

.st-dash-search input::placeholder {
    color: var(--st-ink-faint);
}

.st-dash-search-kbd {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 6px;
    border: 1px solid var(--st-line-strong);
    background: #f7f7f9;
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--st-ink-faint);
    transition: opacity 0.16s;
}

.st-dash-search:focus-within .st-dash-search-kbd {
    opacity: 0;
}

.st-dash-count {
    flex-shrink: 0;
    font-family: var(--st-font-mono);
    font-size: 13px;
    color: var(--st-ink-muted);
}

.st-dash-count b {
    color: var(--st-ink);
    font-weight: 700;
}

/* Project list */
.st-dash-projects {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.st-proj {
    --pc-accent: var(--st-accent);
    --pc-tint: #f4f4f6;
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid var(--st-line);
    border-radius: 16px;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.16s, box-shadow 0.16s, border-color 0.16s;
}

.st-proj::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--pc-accent);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.16s;
}

.st-proj:hover {
    transform: translateY(-2px);
    border-color: var(--st-line-strong);
    box-shadow: 0 14px 32px rgba(18, 18, 18, 0.1);
}

.st-proj:hover::before {
    transform: scaleY(1);
}

.st-proj--node { --pc-accent: #10b981; --pc-tint: rgba(16, 185, 129, 0.12); }
.st-proj--flask { --pc-accent: #6366f1; --pc-tint: rgba(99, 102, 241, 0.12); }
.st-proj--static { --pc-accent: #ec4899; --pc-tint: rgba(236, 72, 153, 0.12); }

.st-proj-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: var(--pc-tint, #f4f4f6);
    box-shadow: inset 0 0 0 1px rgba(18, 18, 18, 0.04);
    font-size: 21px;
    flex-shrink: 0;
    transition: transform 0.16s;
}

.st-proj:hover .st-proj-ico {
    transform: scale(1.05) rotate(-3deg);
}

.st-proj-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 7px;
    border-radius: 50%;
    background: var(--pc-accent);
    vertical-align: middle;
}

.st-proj-main {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.st-proj-name {
    font-family: var(--st-font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--st-ink);
}

.st-proj-meta {
    font-family: var(--st-font-mono);
    font-size: 11.5px;
    color: var(--st-ink-faint);
}

.st-proj-badge {
    padding: 5px 11px;
    border-radius: 999px;
    background: #f0f0f2;
    font-family: var(--st-font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--st-ink-muted);
}

.st-proj-badge.is-boosted {
    background: rgba(255, 226, 52, 0.35);
    color: var(--st-yellow-ink);
}

.st-proj-open {
    color: var(--st-ink-faint);
    font-size: 18px;
    transition: transform 0.14s, color 0.14s;
}

.st-proj:hover .st-proj-open {
    color: var(--st-accent);
    transform: translateX(3px);
}

.st-dash-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--st-ink-muted);
    font-family: var(--st-font-ui);
}

.st-dash-empty-ico {
    font-size: 28px;
    margin-bottom: 8px;
}

/* ─────────────────────────────────────────────
   Dashboard redesign — stats / dark picker /
   GitHub import / project list boost buttons
   ───────────────────────────────────────────── */

.st-dash-stats--three {
    grid-template-columns: repeat(3, 1fr);
    max-width: 660px;
    margin-left: auto;
    margin-right: auto;
}

.st-dash-stats--three .st-dash-stat {
    text-align: center;
    align-items: center;
}

.st-dash-buy-link-wrap {
    margin: 22px 0 0;
    text-align: center;
}

.st-dash-buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid var(--st-accent);
    background: var(--st-accent);
    box-shadow: 0 10px 28px rgba(124, 58, 237, 0.28);
    color: #fff;
    text-decoration: none;
    font-family: var(--st-font-ui);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.st-dash-buy-btn:hover {
    transform: translateY(-2px);
    background: var(--st-accent-deep);
    border-color: var(--st-accent-deep);
    box-shadow: 0 14px 34px rgba(91, 33, 182, 0.32);
    color: #fff;
}

.st-dash-buy-btn-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    font-size: 12px;
    line-height: 1;
}

.st-dash-buy-btn-text {
    line-height: 1;
}

.st-dash-buy-link {
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--st-ink-muted);
    text-decoration: none;
    transition: color 0.14s;
}

.st-dash-buy-link:hover {
    color: var(--st-accent-deep);
    text-decoration: underline;
}

/* Dark "Pick a starter" section */
.st-section--dark {
    background: #0c0c0f;
}

.st-section--dark .st-eyebrow {
    color: rgba(255, 255, 255, 0.5);
}

.st-section--dark .st-h2 {
    color: #fff;
}

.st-section--dark .st-lead {
    color: rgba(255, 255, 255, 0.62);
}

.st-dash-create--three {
    grid-template-columns: repeat(3, 1fr);
}

.st-section-head--compact {
    margin-bottom: 8px;
}

.st-h2--compact {
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    margin-top: 6px;
}

.st-lead--compact {
    font-size: 0.92rem;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.st-dash-boost-row {
    margin-top: 16px;
}

.st-dash-card--link {
    text-decoration: none;
    color: inherit;
}

.st-dash-card--boost-inv { --cc-accent: #eab308; --cc-tint: rgba(234, 179, 8, 0.14); --cc-ring: rgba(234, 179, 8, 0.28); }
.st-dash-card--super-inv { --cc-accent: #f59e0b; --cc-tint: rgba(245, 158, 11, 0.16); --cc-ring: rgba(245, 158, 11, 0.3); }
.st-dash-card--buy-boost { --cc-accent: #a855f7; --cc-tint: rgba(168, 85, 247, 0.14); --cc-ring: rgba(168, 85, 247, 0.28); }

.st-dash-card--boost-inv,
.st-dash-card--super-inv {
    cursor: default;
}

.st-dash-card--boost-inv:hover,
.st-dash-card--super-inv:hover {
    transform: none;
}

.st-section--muted {
    background: #fafafa;
    border-top: 1px solid var(--st-line);
    border-bottom: 1px solid var(--st-line);
}

.st-dash-toolbar--centered {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.st-dash-toolbar--centered .st-dash-search {
    flex: 0 1 auto;
    width: min(100%, 520px);
    padding: 12px 16px;
    border-radius: 999px;
    box-shadow: 0 4px 18px rgba(18, 18, 18, 0.06);
}

.st-dash-toolbar--centered .st-dash-search input {
    font-size: 15px;
}

.st-dash-toolbar--centered .st-dash-count {
    font-size: 13px;
}

.st-proj-dot.is-live {
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.st-section--dark .st-dash-card--boost-inv,
.st-section--dark .st-dash-card--super-inv,
.st-section--dark .st-dash-card--buy-boost {
    background: #16161b;
    border-color: rgba(255, 255, 255, 0.09);
}

.st-section--dark .st-dash-card--buy-boost:not(.is-soon):hover {
    transform: translateY(-3px);
    border-color: var(--cc-accent, var(--st-accent));
}

.st-section--dark .st-dash-card--boost-inv .st-dash-card-title,
.st-section--dark .st-dash-card--super-inv .st-dash-card-title,
.st-section--dark .st-dash-card--buy-boost .st-dash-card-title {
    color: #fff;
}

.st-section--dark .st-dash-card--boost-inv .st-dash-card-desc,
.st-section--dark .st-dash-card--super-inv .st-dash-card-desc,
.st-section--dark .st-dash-card--buy-boost .st-dash-card-desc {
    color: rgba(255, 255, 255, 0.58);
}

.st-section--dark .st-dash-card--boost-inv .st-dash-card-foot,
.st-section--dark .st-dash-card--super-inv .st-dash-card-foot,
.st-section--dark .st-dash-card--buy-boost .st-dash-card-foot {
    color: rgba(255, 255, 255, 0.45);
    border-top-color: rgba(255, 255, 255, 0.08);
}

.st-section--dark .st-dash-card {
    background: #16161b;
    border-color: rgba(255, 255, 255, 0.09);
}

.st-section--dark .st-dash-card:not(.is-soon):hover {
    border-color: var(--cc-accent, var(--st-accent));
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.55);
}

.st-section--dark .st-dash-card-title {
    color: #fff;
}

.st-section--dark .st-dash-card-desc {
    color: rgba(255, 255, 255, 0.6);
}

.st-section--dark .st-dash-card-foot {
    background: rgba(255, 255, 255, 0.035);
    border-top-color: rgba(255, 255, 255, 0.08);
    color: #fff;
}

/* GitHub import banner (white) */
.st-github-import {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 34px 36px;
    background: #fff;
    border: 1px solid var(--st-line-strong);
    border-radius: 20px;
    box-shadow: 0 18px 44px rgba(18, 18, 18, 0.06);
}

.st-github-import-ico {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: var(--st-ink);
    color: #fff;
}

.st-github-import-ico svg {
    width: 38px;
    height: 38px;
}

.st-github-import-body {
    flex: 1;
    min-width: 0;
}

.st-github-import-body .st-h2 {
    margin: 6px 0 0;
}

.st-github-import-body .st-lead {
    margin: 8px 0 0;
    max-width: 580px;
}

.st-github-import-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.st-github-import-input {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 240px;
    padding: 0 14px;
    background: #fff;
    border: 1px solid var(--st-line-strong);
    border-radius: 10px;
    color: var(--st-ink-faint);
}

.st-github-import-input:focus-within {
    border-color: rgba(124, 58, 237, 0.5);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.st-github-import-input input {
    flex: 1;
    min-width: 0;
    height: 46px;
    border: 0;
    background: none;
    outline: none;
    font-family: var(--st-font-ui);
    font-size: 14px;
    color: var(--st-ink);
}

/* Project list — split link + actions + boost button */
.st-proj-link {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
    text-decoration: none;
}

.st-proj-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.st-proj-boost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 15px;
    border-radius: 999px;
    border: 1px solid var(--st-line-strong);
    background: #fff;
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--st-ink);
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.14s, border-color 0.14s, color 0.14s, background 0.14s;
}

.st-proj-boost:hover {
    transform: translateY(-1px);
    border-color: var(--st-accent);
    color: var(--st-accent-deep);
}

.st-proj-boost.is-active {
    background: rgba(255, 226, 52, 0.35);
    border-color: rgba(255, 226, 52, 0.6);
    color: var(--st-yellow-ink);
}

.st-proj-open {
    text-decoration: none;
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--st-ink-muted);
    white-space: nowrap;
}

.st-proj-open:hover {
    color: var(--st-accent-deep);
}

/* Choose a project tiles */
.st-dash-choose-inner {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.st-dash-choose-head {
    margin: 0 0 28px;
}

.st-dash-choose-title {
    margin: 8px 0 10px;
    font-family: var(--st-font-display);
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 800;
    color: var(--st-ink);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.st-dash-choose-lead {
    margin: 0;
    font-family: var(--st-font-ui);
    font-size: 15px;
    color: var(--st-ink-muted);
    line-height: 1.45;
}

.st-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.st-choose-tile {
    --ct-accent: #121216;
    --ct-tint: rgba(18, 18, 22, 0.06);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 18px;
    background:
        linear-gradient(180deg, #fff 0%, #fafafa 100%);
    border: 1px solid var(--st-line-strong);
    border-radius: 16px;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
    position: relative;
    overflow: hidden;
}

.st-choose-tile::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--ct-accent);
    opacity: 0;
    transition: opacity 0.16s ease;
}

.st-choose-tile:hover {
    transform: translateY(-3px);
    border-color: var(--ct-accent);
    box-shadow: 0 16px 34px rgba(18, 18, 18, 0.1);
}

.st-choose-tile:hover::before {
    opacity: 1;
}

.st-choose-tile:focus-visible {
    outline: 2px solid var(--ct-accent);
    outline-offset: 2px;
}

.st-choose-tile.is-loading {
    opacity: 0.65;
    pointer-events: none;
}

.st-choose-tile-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: var(--ct-tint);
    color: var(--ct-accent);
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.st-choose-tile-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.st-choose-tile-name {
    font-family: var(--st-font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--st-ink);
    letter-spacing: -0.02em;
}

.st-choose-tile-desc {
    font-family: var(--st-font-ui);
    font-size: 12.5px;
    color: var(--st-ink-faint);
    line-height: 1.3;
}

.st-choose-tile-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: var(--ct-tint, #f4f4f6);
    font-size: 18px;
    flex-shrink: 0;
}

.st-choose-tile--node { --ct-accent: #059669; --ct-tint: rgba(16, 185, 129, 0.14); }
.st-choose-tile--flask { --ct-accent: #4f46e5; --ct-tint: rgba(99, 102, 241, 0.14); }
.st-choose-tile--static { --ct-accent: #db2777; --ct-tint: rgba(236, 72, 153, 0.14); }
.st-choose-tile--jupyter { --ct-accent: #2563eb; --ct-tint: rgba(59, 130, 246, 0.14); }
.st-choose-tile--express { --ct-accent: #ca8a04; --ct-tint: rgba(234, 179, 8, 0.16); }
.st-choose-tile--preview { --ct-accent: #0f766e; --ct-tint: rgba(20, 184, 166, 0.14); }

/* Project grid layout */
.st-dash-projects--grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 14px;
}

.st-dash-projects--tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
    gap: 14px;
    position: relative;
    z-index: 1;
}

.st-dash-projects--tiles .st-dash-empty {
    grid-column: 1 / -1;
    border: 1px dashed var(--st-line-strong);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.55);
}

.st-proj-tile {
    --pc-accent: var(--st-accent);
    --pc-tint: #f4f4f6;
    position: relative;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid var(--st-line-strong);
    background:
        linear-gradient(165deg, #fff 0%, #f7f7f9 100%);
    box-shadow: 0 10px 24px rgba(18, 18, 18, 0.04);
    overflow: hidden;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.st-proj-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(18, 18, 18, 0.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(18, 18, 18, 0.045) 1px, transparent 1px);
    background-size: 16px 16px;
    opacity: 0.7;
    pointer-events: none;
}

.st-proj-tile::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--pc-accent);
    opacity: 0.85;
}

.st-proj-tile:hover {
    transform: translateY(-3px);
    border-color: rgba(18, 18, 18, 0.22);
    box-shadow: 0 18px 36px rgba(18, 18, 18, 0.1);
}

.st-proj-tile.is-boosted {
    border-color: rgba(234, 179, 8, 0.45);
    background: linear-gradient(165deg, #fffef8 0%, #fff8df 100%);
}

.st-proj-tile.is-super {
    border-color: rgba(124, 58, 237, 0.35);
    background: linear-gradient(165deg, #fcfaff 0%, #f3ecff 55%, #fff8df 100%);
}

.st-proj-tile.is-live {
    box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.18), 0 10px 24px rgba(18, 18, 18, 0.04);
}

.st-proj-tile.st-proj--node { --pc-accent: #10b981; --pc-tint: rgba(16, 185, 129, 0.12); }
.st-proj-tile.st-proj--flask { --pc-accent: #6366f1; --pc-tint: rgba(99, 102, 241, 0.12); }
.st-proj-tile.st-proj--static { --pc-accent: #ec4899; --pc-tint: rgba(236, 72, 153, 0.12); }

.st-proj-tile-vis {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.28);
    color: #047857;
    font-family: var(--st-font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
}

.st-proj-tile-vis.is-private {
    background: rgba(18, 18, 18, 0.06);
    border-color: rgba(18, 18, 18, 0.12);
    color: var(--st-ink-muted);
}

.st-proj-tile-link {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 6px;
    padding: 36px 52px 14px 6px;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.st-proj-tile-fw {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--pc-tint);
    color: var(--pc-accent);
    font-family: var(--st-font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
}

.st-proj-tile-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--st-font-display);
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--st-ink);
    word-break: break-word;
}

.st-proj-tile-meta {
    font-family: var(--st-font-mono);
    font-size: 10.5px;
    color: var(--st-ink-faint);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.st-proj-bolt-orb {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    pointer-events: none;
}

.st-proj-bolt-orb-glow {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 226, 52, 0.75) 0%, rgba(255, 226, 52, 0.2) 45%, transparent 70%);
    filter: blur(2px);
    animation: st-bolt-orb-pulse 2.4s ease-in-out infinite;
}

.st-proj-bolt-orb.is-super .st-proj-bolt-orb-glow {
    background: radial-gradient(circle, rgba(167, 139, 250, 0.85) 0%, rgba(255, 226, 52, 0.35) 42%, transparent 72%);
}

.st-proj-bolt-orb-core {
    position: relative;
    z-index: 1;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fff9c4 0%, #ffe234 45%, #f59e0b 100%);
    border: 1px solid rgba(146, 64, 14, 0.25);
    box-shadow:
        0 0 0 3px rgba(255, 226, 52, 0.28),
        0 8px 16px rgba(245, 158, 11, 0.28);
    font-size: 14px;
    line-height: 1;
    letter-spacing: -0.12em;
    color: #1a1600;
}

.st-proj-bolt-orb.is-super .st-proj-bolt-orb-core {
    background: radial-gradient(circle at 35% 30%, #f5f3ff 0%, #c4b5fd 40%, #7c3aed 100%);
    border-color: rgba(91, 33, 182, 0.35);
    box-shadow:
        0 0 0 3px rgba(124, 58, 237, 0.22),
        0 8px 16px rgba(124, 58, 237, 0.28);
    color: #2e1065;
    font-size: 12px;
    letter-spacing: -0.18em;
}

@keyframes st-bolt-orb-pulse {
    0%, 100% { transform: scale(1); opacity: 0.85; }
    50% { transform: scale(1.12); opacity: 1; }
}

.st-proj-tile-actions {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.14s ease, transform 0.14s ease;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.92) 30%);
    padding-top: 18px;
}

.st-proj-tile:hover .st-proj-tile-actions,
.st-proj-tile:focus-within .st-proj-tile-actions {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.st-proj-tile:hover .st-proj-bolt-orb,
.st-proj-tile:focus-within .st-proj-bolt-orb {
    opacity: 0.15;
}

.st-proj-tile-actions .st-proj-boost,
.st-proj-tile-actions .st-proj-unboost {
    height: 28px;
    padding: 0 10px;
    font-size: 10.5px;
}

.st-proj-card {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 20px 22px;
}

.st-proj-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
}

.st-proj-card .st-proj-link {
    width: auto;
    flex: 1;
    min-width: 0;
}

.st-proj-card .st-proj-name {
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.st-proj-fw {
    flex-shrink: 0;
    margin-top: 2px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--pc-tint, #f4f4f6);
    color: var(--pc-accent, var(--st-ink-muted));
    font-family: var(--st-font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1;
}

.st-proj-card.is-boosted {
    border-color: rgba(234, 179, 8, 0.4);
    background: linear-gradient(135deg, #fff 0%, rgba(255, 248, 220, 0.55) 100%);
}

.st-proj-card.is-live {
    box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.12);
}

.st-proj-domain {
    display: block;
    margin-top: 2px;
    font-family: var(--st-font-mono);
    font-size: 11px;
    color: var(--st-accent-deep);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.st-proj-card .st-proj-actions {
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid var(--st-line);
    flex-wrap: wrap;
    gap: 8px;
}

.st-proj-unboost {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(239, 68, 68, 0.35);
    background: rgba(239, 68, 68, 0.06);
    font-family: var(--st-font-mono);
    font-size: 11.5px;
    font-weight: 600;
    color: #b91c1c;
    cursor: pointer;
    transition: background 0.14s, border-color 0.14s;
}

.st-proj-unboost:hover:not(:disabled) {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.5);
}

.st-proj-unboost:disabled {
    opacity: 0.6;
    cursor: wait;
}

/* Boost section */
.st-dash-boosts {
    padding: 40px 0 52px;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 226, 52, 0.08), transparent 55%),
        var(--st-bg);
    border-top: 1px solid var(--st-line);
}

.st-dash-boosts-inner {
    max-width: 1100px;
}

.st-dash-boosts-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.st-dash-boosts-title {
    margin: 0;
    font-family: var(--st-font-display);
    font-weight: 800;
    font-size: clamp(1.5rem, 2.8vw, 1.9rem);
    letter-spacing: -0.03em;
    color: var(--st-ink);
}

.st-dash-boosts-lead {
    margin: 8px 0 0;
    max-width: 46ch;
    font-size: 0.95rem;
    line-height: 1.45;
    color: var(--st-ink-muted);
}

.st-dash-boosts-buy {
    flex-shrink: 0;
}

.st-dash-boosts-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.st-dash-boosts-chip {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 18px;
    border-radius: 14px;
    background: var(--st-bg-elevated);
    border: 1px solid var(--st-line);
    box-shadow: 0 8px 20px rgba(18, 18, 18, 0.04);
}

.st-dash-boosts-chip--super {
    background: var(--st-bg-elevated);
    border-color: rgba(234, 179, 8, 0.4);
}

.st-dash-boosts-chip--muted {
    background: var(--st-bg-sunken);
}

.st-dash-boosts-chip-ico-wrap {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    margin-bottom: 2px;
}

.st-dash-boosts-chip-ico {
    display: block;
    object-fit: contain;
}

.st-dash-boosts-chip-ico--overlap {
    margin-left: -10px;
}

.st-dash-boosts-chip-num {
    font-family: var(--st-font-display);
    font-weight: 900;
    font-size: 28px;
    line-height: 1;
    color: var(--st-ink);
}

.st-dash-boosts-chip-label {
    font-family: var(--st-font-mono);
    font-size: 11px;
    color: var(--st-ink-faint);
}

.st-dash-boosts-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 36px 24px;
    border-radius: 16px;
    background: var(--st-bg-elevated);
    border: 1px dashed var(--st-line-strong);
    text-align: center;
}

.st-dash-boosts-empty-ico {
    line-height: 0;
    margin-bottom: 4px;
}

.st-dash-boosts-empty-title {
    margin: 0;
    font-family: var(--st-font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--st-ink);
}

.st-dash-boosts-empty-desc {
    margin: 0 0 8px;
    font-size: 0.92rem;
    color: var(--st-ink-muted);
}

/* Boost inventory list */
.st-boost-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}

.st-boost-list .st-dash-boosts-empty {
    grid-column: 1 / -1;
}

.st-boost-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 18px 16px;
    background: var(--st-bg-elevated);
    border: 1px solid var(--st-line);
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(18, 18, 18, 0.05);
    transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}

.st-boost-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(18, 18, 18, 0.08);
}

.st-boost-card.is-super {
    border-color: rgba(234, 179, 8, 0.4);
    background: var(--st-bg-elevated);
}

.st-boost-card.is-assigned {
    border-color: rgba(124, 58, 237, 0.22);
}

.st-boost-card-bolts {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.st-boost-card-bolt {
    display: block;
    object-fit: contain;
}

.st-boost-card-bolt--overlap {
    margin-left: -12px;
}

.st-boost-card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.st-boost-card-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.st-boost-card-title {
    font-family: var(--st-font-display);
    font-size: 1rem;
    font-weight: 800;
    color: var(--st-ink);
}

.st-boost-card-date {
    font-family: var(--st-font-mono);
    font-size: 10.5px;
    color: var(--st-ink-faint);
    white-space: nowrap;
}

.st-boost-card-project {
    font-family: var(--st-font-ui);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--st-accent-deep);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.st-boost-card-free {
    font-family: var(--st-font-ui);
    font-size: 13px;
    font-weight: 600;
    color: #047857;
}

.st-boost-card-meta {
    font-family: var(--st-font-mono);
    font-size: 11px;
    color: var(--st-ink-faint);
}

.st-boost-card-cancel {
    align-self: flex-start;
    height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--st-line-strong);
    background: var(--st-bg);
    font-family: var(--st-font-mono);
    font-size: 11.5px;
    font-weight: 600;
    color: var(--st-ink-muted);
    cursor: default;
}

.st-boost-card-cancel:hover {
    border-color: rgba(239, 68, 68, 0.35);
    color: #b91c1c;
    background: rgba(239, 68, 68, 0.04);
}

/* Legacy boost row (kept for compatibility) */
.st-boost-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    background: var(--st-bg-elevated);
    border: 1px solid var(--st-line);
    border-radius: 14px;
    transition: border-color 0.14s, box-shadow 0.14s;
}

.st-boost-row.is-super {
    border-color: rgba(245, 158, 11, 0.4);
    background: var(--st-bg-elevated);
}

.st-boost-row-main {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.st-boost-row-icon {
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
}

.st-boost-row-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.st-boost-row-title {
    font-family: var(--st-font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--st-ink);
}

.st-boost-row-meta {
    font-family: var(--st-font-mono);
    font-size: 11.5px;
    color: var(--st-ink-faint);
    line-height: 1.45;
}

.st-boost-row-meta strong {
    color: var(--st-ink-muted);
    font-weight: 600;
}

.st-boost-cancel-btn {
    flex-shrink: 0;
    height: 34px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--st-line-strong);
    background: #fff;
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--st-ink-muted);
    cursor: default;
}

.st-boost-cancel-btn:hover {
    border-color: var(--st-line-strong);
    background: #fff;
}

/* Admin → Blog tab */
.st-admin-toolbar-actions {
    display: flex;
    gap: 8px;
}

.st-admin-note {
    margin: 12px 0 0;
    padding: 10px 14px;
    border: 1px solid var(--st-line-strong);
    border-radius: 10px;
    font-size: 13px;
    color: var(--st-ink-muted);
    background: #fff;
}

.st-admin-note[data-kind="error"] {
    border-color: rgba(180, 35, 24, 0.3);
    background: rgba(180, 35, 24, 0.05);
    color: #b42318;
}

.st-admin-note[data-kind="ok"] {
    border-color: rgba(23, 102, 58, 0.3);
    background: rgba(23, 102, 58, 0.05);
    color: #17663a;
}

.st-admin-blog-title {
    display: block;
    font-weight: 700;
    color: var(--st-ink);
    text-decoration: none;
}

.st-admin-blog-title:hover {
    text-decoration: underline;
}

.st-admin-blog-slug {
    display: block;
    margin-top: 2px;
    font-family: var(--st-font-mono);
    font-size: 11px;
    color: var(--st-ink-faint);
}

.st-admin-chip {
    display: inline-block;
    padding: 2px 8px;
    border: 1px solid var(--st-line-strong);
    border-radius: 999px;
    font-size: 11px;
    color: var(--st-ink-muted);
}

.st-admin-badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 999px;
    background: rgba(18, 18, 18, 0.07);
    font-family: var(--st-font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--st-ink-muted);
}

.st-admin-badge[data-status="published"] {
    background: #ffe234;
    color: #141022;
}

.st-admin-actions {
    white-space: nowrap;
}

.st-admin-danger {
    color: #b42318;
}

.st-admin-muted {
    font-size: 12px;
    color: var(--st-ink-faint);
}

/* Blog page */
.st-blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 8px;
}

.st-blog-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px;
    border: 1px solid var(--st-line-strong);
    border-radius: 16px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.st-blog-card:hover {
    border-color: rgba(124, 58, 237, 0.35);
    box-shadow: 0 12px 32px rgba(18, 18, 18, 0.06);
    transform: translateY(-2px);
}

.st-blog-card-tag {
    font-family: var(--st-font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    /* Default for tags authors invent in /blogedit. */
    color: var(--st-accent-deep);
}

.st-blog-card-tag--blog {
    color: var(--st-accent-deep);
}

.st-blog-card-tag--update {
    display: inline-block;
    width: fit-content;
    padding: 2px 8px;
    border-radius: 4px;
    background: #ffe234;
    color: #141022;
}

.st-blog-card-title {
    font-family: var(--st-font-display);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--st-ink);
}

.st-blog-card-excerpt {
    font-size: 14px;
    line-height: 1.55;
    color: var(--st-ink-muted);
}

.st-blog-card-meta {
    margin-top: auto;
    font-family: var(--st-font-mono);
    font-size: 11px;
    color: var(--st-ink-faint);
}

.st-blog-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--st-ink-muted);
}

.st-blog-post {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.st-blog-back {
    display: inline-block;
    margin-bottom: 16px;
    font-family: var(--st-font-mono);
    font-size: 12px;
    color: var(--st-accent-deep);
    text-decoration: none;
}

.st-blog-meta {
    margin: 10px 0 0;
    font-family: var(--st-font-mono);
    font-size: 12px;
    color: var(--st-ink-faint);
}

.st-blog-lead {
    margin-left: auto;
    margin-right: auto;
}

.st-blog-body,
.st-blog-external {
    text-align: left;
}

.st-blog-body {
    margin-top: 28px;
}

.st-blog-body-h2 {
    margin: 32px 0 12px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--st-ink);
}

.st-blog-body-h2:first-child {
    margin-top: 0;
}

.st-blog-body-p {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--st-ink-muted);
}

.st-blog-external {
    margin-top: 28px;
    padding: 24px;
    border: 1px solid var(--st-line-strong);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.04), rgba(255, 226, 52, 0.06));
}

.st-blog-external-note {
    margin: 0 0 16px;
    font-size: 15px;
    color: var(--st-ink-muted);
}

.st-blog-external-btn {
    display: inline-flex;
}

/* Tag filter row */
.st-blog-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 0 22px;
}

.st-blog-tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid var(--st-line-strong);
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: var(--st-ink-muted);
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.st-blog-tag-chip:hover {
    border-color: var(--st-ink);
    color: var(--st-ink);
}

.st-blog-tag-chip.is-active {
    border-color: transparent;
    background: #ffe234;
    color: #141022;
}

.st-blog-tag-count {
    font-family: var(--st-font-mono);
    font-size: 10px;
    color: inherit;
    opacity: 0.6;
}

.st-blog-post-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--st-line-strong);
}

.st-blog-draft-note {
    margin: 0 0 14px;
    padding: 8px 14px;
    border-radius: 10px;
    background: #fff7e0;
    font-size: 13px;
    color: #6b4b00;
}

/* Cards with covers */
.st-blog-card-cover {
    display: block;
    margin: -22px -22px 6px;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #f4f4f5;
}

.st-blog-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Post body blocks */
.st-blog-cover {
    margin: 28px 0 0;
}

.st-blog-cover img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid var(--st-line-strong);
}

.st-blog-body a {
    color: var(--st-accent-deep);
}

.st-blog-body-h3 {
    margin: 26px 0 10px;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--st-ink);
}

.st-blog-body-figure {
    margin: 28px auto;
    text-align: left;
}

.st-blog-body-figure--small {
    max-width: 42%;
}

.st-blog-body-figure--medium {
    max-width: 68%;
}

.st-blog-body-figure--full {
    width: min(1100px, calc(100vw - 48px));
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
}

.st-blog-body-figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--st-line-strong);
}

.st-blog-body-figure figcaption {
    margin-top: 8px;
    text-align: center;
    font-size: 13px;
    color: var(--st-ink-faint);
}

.st-blog-body-quote {
    margin: 26px 0;
    padding: 4px 0 4px 20px;
    border-left: 3px solid #ffe234;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--st-ink);
}

.st-blog-body-list {
    margin: 0 0 18px;
    padding-left: 24px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--st-ink-muted);
}

.st-blog-body-list li {
    margin-bottom: 6px;
}

.st-blog-body-code {
    margin: 0;
    padding: 16px;
    border: 0;
    border-radius: 0 0 12px 12px;
    background: transparent;
    overflow-x: auto;
    font-family: var(--st-font-mono);
    font-size: 13px;
    line-height: 1.6;
    color: var(--st-ink);
}

.st-blog-body-codewrap {
    margin: 22px 0;
    border: 1px solid var(--st-line-strong);
    border-radius: 12px;
    background: #f7f7f8;
    overflow: hidden;
}

.st-blog-body-code-lang {
    margin: 0;
    padding: 8px 14px;
    border-bottom: 1px solid var(--st-line);
    font-family: var(--st-font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: lowercase;
    color: var(--st-ink-muted);
}

.st-blog-snippet {
    margin: 22px 0;
}

.st-blog-snippet-bar {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 8px;
}

.st-blog-snippet-file {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    height: 42px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid var(--st-line-strong);
    background: var(--st-bg-elevated);
    box-shadow: 0 1px 2px rgba(18, 18, 18, 0.04);
    font-family: var(--st-font-mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--st-ink);
}

.st-blog-snippet-lang {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 140px;
    height: 42px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid var(--st-line-strong);
    background: var(--st-bg-elevated);
    box-shadow: 0 1px 2px rgba(18, 18, 18, 0.04);
    color: var(--st-ink);
}

.st-blog-snippet-lang strong {
    font-size: 13px;
    font-weight: 700;
}

.st-blog-snippet-lang small {
    font-family: var(--st-font-mono);
    font-size: 11px;
    color: var(--st-ink-muted);
}

.st-blog-snippet-code {
    margin: 0;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--st-line-strong);
    background: #fbfbfe;
    box-shadow: 0 8px 28px rgba(18, 18, 18, 0.06);
    overflow-x: auto;
    font-family: var(--st-font-mono);
    font-size: 13px;
    line-height: 1.6;
    color: var(--st-ink);
}

.st-blog-fw {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin: 28px 0;
}

.st-blog-fw-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.st-blog-fw-row .st-fwcard,
.st-blog-fw-grid .st-fwcard {
    flex: 0 1 260px;
    width: min(260px, 100%);
    max-width: 320px;
    text-decoration: none;
    color: inherit;
    font: inherit;
    appearance: none;
}

.st-blog-catalog {
    display: flex;
    justify-content: center;
    margin: 28px 0;
}

.st-blog-catalog .st-share-card {
    width: min(360px, 100%);
}

.st-blog-fw-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0;
}

.st-blog-compare {
    display: grid;
    grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0;
}

.st-blog-compare-col {
    padding: 16px 16px 14px;
    border: 1px solid var(--st-line-strong);
    border-radius: 14px;
    background: var(--st-bg-sunken, #f7f7f8);
}

.st-blog-compare-title {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 800;
    color: var(--st-ink);
}

.st-blog-compare-body {
    font-size: 14px;
    line-height: 1.55;
    color: var(--st-ink-muted);
}

.st-blog-faq {
    display: grid;
    gap: 10px;
    margin: 24px 0;
}

.st-blog-faq-item {
    border: 1px solid var(--st-line-strong);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}

.st-blog-faq-q {
    cursor: pointer;
    list-style: none;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 700;
    color: var(--st-ink);
}

.st-blog-faq-q::-webkit-details-marker {
    display: none;
}

.st-blog-faq-q::after {
    content: "+";
    float: right;
    font-weight: 500;
    color: var(--st-ink-muted);
}

.st-blog-faq-item[open] .st-blog-faq-q::after {
    content: "–";
}

.st-blog-faq-a {
    padding: 0 16px 16px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--st-ink-muted);
}

@media (max-width: 720px) {
    .st-blog-fw-grid,
    .st-blog-compare {
        grid-template-columns: 1fr;
    }

    .st-blog-fw-row .st-fwcard {
        flex: 1 1 100%;
        width: 100%;
        max-width: none;
    }

    .st-blog-snippet-bar {
        flex-wrap: wrap;
    }

    .st-blog-snippet-lang {
        width: 100%;
    }
}

.st-blog-body-divider {
    width: 120px;
    margin: 34px auto;
    border: 0;
    border-top: 2px dotted var(--st-line-strong);
}

@media (max-width: 900px) {
    .st-blog-grid {
        grid-template-columns: 1fr;
    }
}

.st-support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 8px;
}

.st-support-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px;
    border: 1px solid var(--st-line-strong);
    border-radius: 16px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.st-support-card:hover {
    border-color: rgba(124, 58, 237, 0.35);
    box-shadow: 0 12px 32px rgba(18, 18, 18, 0.06);
    transform: translateY(-2px);
}

.st-support-card-title {
    font-family: var(--st-font-display);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--st-ink);
}

.st-support-card-desc {
    font-size: 14px;
    line-height: 1.55;
    color: var(--st-ink-muted);
}

/* Support tickets */
.st-ticket-gate {
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
    padding: 28px 24px;
    border: 1px solid var(--st-line-strong);
    border-radius: 16px;
    background: #fff;
}

.st-ticket-gate p {
    margin: 0 0 18px;
    color: var(--st-ink-muted);
}

.st-ticket-gate-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.st-ticket-layout {
    display: grid;
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
    min-height: 520px;
}

.st-ticket-side {
    display: flex;
    flex-direction: column;
    min-height: 520px;
    border: 1px solid var(--st-line-strong);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}

.st-ticket-main {
    display: flex;
    flex-direction: column;
    min-height: 520px;
    padding: 0;
    position: relative;
    border: 1px solid var(--st-line-strong);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}

.st-ticket-main > [hidden] {
    display: none !important;
}

.st-ticket-side-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px;
    border-bottom: 1px solid var(--st-line);
}

.st-ticket-side-title {
    margin: 0;
    font-family: var(--st-font-display);
    font-size: 16px;
    font-weight: 700;
}

.st-ticket-new-btn {
    min-height: 36px;
    padding: 0 14px;
    font-size: 12px;
}

.st-ticket-filters {
    display: flex;
    gap: 6px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--st-line);
}

.st-ticket-filter {
    flex: 1;
    min-height: 32px;
    border: 1px solid var(--st-line);
    border-radius: 999px;
    background: #fff;
    font-family: var(--st-font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--st-ink-muted);
    cursor: pointer;
}

.st-ticket-filter.is-active {
    background: var(--st-accent);
    border-color: var(--st-accent);
    color: #fff;
}

.st-ticket-list {
    flex: 1;
    overflow: auto;
    padding: 8px;
}

.st-ticket-list-empty {
    margin: 20px 12px;
    font-size: 13px;
    color: var(--st-ink-faint);
    text-align: center;
}

.st-ticket-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 100%;
    padding: 12px 12px;
    margin-bottom: 6px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: #f7f7f9;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.14s, background 0.14s;
}

.st-ticket-item:hover {
    border-color: rgba(124, 58, 237, 0.25);
}

.st-ticket-item.is-active {
    background: rgba(124, 58, 237, 0.08);
    border-color: rgba(124, 58, 237, 0.35);
}

.st-ticket-item.is-resolved {
    opacity: 0.72;
}

.st-ticket-item-id {
    font-family: var(--st-font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--st-accent-deep);
}

.st-ticket-item-subject {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--st-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.st-ticket-item-meta {
    font-size: 11.5px;
    color: var(--st-ink-faint);
}

.st-ticket-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 40px 24px;
    color: var(--st-ink-faint);
    text-align: center;
}

.st-ticket-compose,
.st-ticket-thread {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.st-ticket-compose-title,
.st-ticket-thread-id {
    margin: 0 0 6px;
    font-family: var(--st-font-display);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.st-ticket-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--st-ink-muted);
}

.st-ticket-field input,
.st-ticket-field textarea,
.st-ticket-reply textarea {
    width: 100%;
    border: 1px solid var(--st-line-strong);
    border-radius: 12px;
    padding: 12px 14px;
    font-family: var(--st-font-ui);
    font-size: 14px;
    color: var(--st-ink);
    background: #fff;
    resize: vertical;
}

.st-ticket-field input:focus,
.st-ticket-field textarea:focus,
.st-ticket-reply textarea:focus {
    outline: 2px solid rgba(124, 58, 237, 0.25);
    border-color: var(--st-accent);
}

.st-ticket-compose-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.st-ticket-compose-actions .st-btn {
    flex-shrink: 0;
}

.st-ticket-thread-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--st-line);
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.st-ticket-thread-head > div:first-child {
    flex: 1;
    min-width: 0;
}

.st-ticket-thread-meta {
    margin: 0;
    font-size: 13px;
    color: var(--st-ink-muted);
}

.st-ticket-thread-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: wrap;
    max-width: 100%;
}

.st-ticket-thread-actions .st-btn,
.st-ticket-thread-actions .st-ticket-badge {
    flex-shrink: 0;
}

.st-ticket-badge {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
    font-family: var(--st-font-mono);
    font-size: 11px;
    font-weight: 700;
}

.st-ticket-badge.is-resolved {
    background: #f0f0f2;
    color: var(--st-ink-muted);
}

.st-ticket-resolve-btn {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
}

.st-ticket-messages {
    flex: 1;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 4px 2px 12px;
    min-height: 220px;
}

.st-ticket-msg {
    max-width: min(520px, 92%);
    padding: 12px 14px;
    border-radius: 14px;
    background: #f4f4f6;
}

.st-ticket-msg--user {
    align-self: flex-end;
    background: rgba(124, 58, 237, 0.1);
}

.st-ticket-msg--admin {
    align-self: flex-start;
    background: #eef2ff;
}

.st-ticket-msg--meta {
    align-self: center;
    max-width: 100%;
    background: transparent;
    border: 1px dashed var(--st-line-strong);
    color: var(--st-ink-muted);
    font-size: 13px;
}

.st-ticket-msg-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
    font-family: var(--st-font-mono);
    font-size: 11px;
    color: var(--st-ink-faint);
}

.st-ticket-msg p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--st-ink);
    white-space: pre-wrap;
    word-break: break-word;
}

.st-ticket-reply {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: end;
    padding-top: 12px;
    border-top: 1px solid var(--st-line);
}

.st-ticket-reply .st-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

.st-ticket-reply[hidden] {
    display: none !important;
}

.st-ticket-closed {
    margin: 12px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f4f4f6;
    color: var(--st-ink-muted);
    font-size: 13px;
}

.st-ticket-status {
    margin: 10px 0 0;
    font-size: 13px;
    color: var(--st-ink-muted);
}

.st-ticket-status.is-error {
    color: #b91c1c;
}

.st-admin-toolbar {
    max-width: 920px;
    margin: 0 auto 16px;
}

.st-admin-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 920px;
    margin: 0 auto 20px;
}

.st-admin-tab {
    min-height: 40px;
    padding: 0 18px;
    border: 1px solid var(--st-line-strong);
    border-radius: 999px;
    background: #fff;
    font-family: var(--st-font-ui);
    font-size: 13px;
    font-weight: 600;
    color: var(--st-ink-muted);
    cursor: pointer;
    transition: border-color 0.14s, color 0.14s, background 0.14s;
}

.st-admin-tab.is-active {
    background: var(--st-accent);
    border-color: var(--st-accent);
    color: #fff;
}

.st-admin-tab.is-soon,
.st-admin-tab:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.st-admin-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.st-admin-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--st-line);
    border-radius: 999px;
    background: #fff;
    font-family: var(--st-font-mono);
    font-size: 12px;
    color: var(--st-ink-muted);
}

.st-admin-stat b {
    color: var(--st-ink);
    font-weight: 700;
}

@media (max-width: 720px) {
    .st-workshop-hero-title {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .st-workshop-hero-user {
        display: block;
        max-width: min(80vw, 20rem);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-family: var(--st-font-ui);
        font-weight: 700;
        font-size: 0.9rem;
        letter-spacing: 0;
        line-height: 1.2;
        color: var(--st-ink-muted);
    }

    .st-dash-page .st-nav-account-btn .account-name {
        display: inline;
        max-width: min(34vw, 140px);
    }

    .st-support-grid {
        grid-template-columns: 1fr;
    }

    .st-ticket-layout {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .st-ticket-side {
        min-height: 0;
        max-height: 280px;
    }

    .st-ticket-reply {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .st-dash-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .st-dash-stats--three {
        grid-template-columns: repeat(3, 1fr);
    }

    .st-dash-create--three {
        grid-template-columns: repeat(2, 1fr);
    }

    .st-github-import {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

@media (max-width: 720px) {
    .st-dash-create,
    .st-dash-create--three {
        grid-template-columns: 1fr;
    }

    .st-dash-stats--three {
        grid-template-columns: 1fr;
    }

    .st-choose-grid {
        grid-template-columns: 1fr 1fr;
    }

    .st-dash-projects--grid {
        grid-template-columns: 1fr;
    }

    .st-dash-projects--tiles,
    .st-recents-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 12px;
    }

    .st-recents-layout.has-panel-open,
    .st-dash-purchases-layout.has-panel-open {
        grid-template-columns: 1fr;
    }

    .st-rec-panel:not([hidden]) {
        --st-side-panel-w: min(420px, 100vw);
        max-width: 100vw;
    }

    .st-rec-panel-preview {
        max-height: 160px;
        aspect-ratio: 16 / 10;
    }

    .st-recents-filters {
        gap: 6px;
    }

    .st-rec-filter {
        font-size: 11px;
        padding: 5px 10px;
    }

    .st-recents-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .st-recents-dd-menu {
        left: 0;
        right: auto;
    }

    .st-workshop-topbar {
        margin-bottom: 18px;
    }

    .st-dash-hub {
        flex-direction: column;
    }

    .st-dash-hub-pane {
        flex: 0 0 auto;
        width: 100%;
        max-width: none;
    }

    .st-dash-hub-pane--catalog {
        padding: 24px var(--st-hub-gutter) 22px;
        border-bottom: 1px solid var(--st-line);
    }

    .st-dash-hub-pane--wallet {
        padding: 24px var(--st-hub-gutter) 22px;
    }

    .st-dash-hub-pane--wallet .st-dash-hub-body {
        margin-left: 0;
        text-align: left;
        align-items: flex-start;
    }

    .st-dash-hub-pane--wallet .st-dash-hub-desc {
        margin-left: 0;
    }

    .st-dash-hub-deck {
        right: 18px;
        top: 54%;
    }

    .st-dash-hub-money--1 { left: auto; right: 10%; }
    .st-dash-hub-money--2 { left: auto; right: 22%; }
    .st-dash-hub-money--3 { left: auto; right: 36%; }
    .st-dash-hub-money--4 { left: auto; right: 8%; }
    .st-dash-hub-money--5 { left: auto; right: 18%; }
    .st-dash-hub-money--6 { left: auto; right: 28%; }

    .st-payments-grid {
        grid-template-columns: 1fr;
    }

    .st-rec-panel-price-row {
        grid-template-columns: 1fr;
    }

    .st-catalog-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .st-catalog-search {
        width: 100%;
    }

    .st-catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .st-workshop-github {
        width: 100%;
        max-width: none;
        margin-left: auto;
        margin-right: auto;
        padding: 22px 0 0;
    }

    .st-workshop-github-lead {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }

    .st-workshop-gh-account {
        margin-bottom: 16px;
    }

    .st-workshop-gh-grid {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        gap: 12px;
    }

    .st-workshop-gh-panel {
        width: 90%;
        max-width: none;
        min-width: 0;
        padding: 14px 14px 12px;
    }

    .st-workshop-gh-form {
        flex-direction: column;
        align-items: stretch;
    }

    .st-workshop-gh-launch {
        width: 100%;
        min-height: 40px;
        padding: 0 14px;
        font-size: 13px;
    }

    .st-workshop-gh-input-wrap input {
        min-height: 38px;
        font-size: 13px;
    }

    .st-workshop-gh-repo-list {
        max-height: 180px;
    }

    .st-workshop-search {
        min-height: 48px;
        padding: 0 18px;
    }

    .st-stack-chip {
        width: 78px;
    }

    .st-stack-orb {
        width: 64px;
        height: 64px;
    }

    .st-recents-stats {
        gap: 6px 12px;
    }

    .st-recents-buy {
        margin-left: 0;
        width: 100%;
    }

    .st-rec-menu-wrap {
        opacity: 1;
        pointer-events: auto;
    }

    .st-dash-workspace {
        padding: 20px 16px 22px;
    }

    .st-dash-workspace-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .st-dash-workspace-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .st-proj {
        flex-wrap: wrap;
    }

    .st-proj-card .st-proj-actions {
        justify-content: flex-start;
    }

    .st-dash-workspace-head {
        flex-direction: column;
        align-items: stretch;
    }

    .st-dash-boosts-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .st-dash-boosts-summary {
        grid-template-columns: 1fr;
    }

    .st-boost-list {
        grid-template-columns: 1fr;
    }

    .st-boost-cancel-btn {
        align-self: flex-end;
    }

    .st-proj-actions {
        width: 100%;
        justify-content: space-between;
    }

    .st-github-import-form {
        flex-direction: column;
        align-items: stretch;
    }

    .st-github-import-form .st-btn {
        width: 100%;
    }
}

/* ── Footer lightning band ── */

.st-footer-bolt-band {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: var(--st-outline-w);
    margin: 0 auto;
    padding: 24px var(--st-inset) 16px;
    box-sizing: border-box;
}

.st-footer-bolt-line {
    flex: 1;
    height: 1px;
    background: var(--st-line);
    min-width: 40px;
}

.st-footer-bolt {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    color: var(--st-accent);
    filter: drop-shadow(0 1px 4px rgba(124, 58, 237, 0.35));
}

.st-footer-bolt svg {
    display: block;
    width: 100%;
    height: 100%;
}

.st-footer-bolt--c {
    width: 34px;
    height: 34px;
    margin: 0 4px;
}

/* ── About page (dark-only marketing page) ── */

.st-about-page {
    --st-bg: #0a0a0a;
    --st-ink: #ffffff;
    --st-ink-muted: rgba(255, 255, 255, 0.62);
    --st-ink-faint: rgba(255, 255, 255, 0.38);
    --st-line: rgba(255, 255, 255, 0.08);
    --st-line-strong: rgba(255, 255, 255, 0.14);

    background: #0a0a0a;
    color: #fff;
    color-scheme: dark;
}

.st-about-page .st-nav.topnav {
    background: #0a0a0a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.st-about-page .st-nav-brand,
.st-about-page .st-nav-link,
.st-about-page .st-nav-logo {
    color: #fff;
}

.st-about-page .st-nav-link:hover,
.st-about-page .st-nav-link.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.st-about-page .st-nav-btn--outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.st-about-page .st-nav-btn--outline:hover {
    background: rgba(255, 255, 255, 0.06);
}

.st-about-page .st-nav-btn--solid {
    background: #fff;
    color: #0a0a0a;
}

.st-about-page .st-outline-v {
    background: rgba(255, 255, 255, 0.1);
}

.st-about-page .st-frame-bolt {
    color: rgba(168, 85, 247, 0.55);
}

.st-about-page .st-grid-lines {
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}

.st-about-page .st-bolt-corner {
    color: rgba(168, 85, 247, 0.45);
}

.st-about-main {
    background: #0a0a0a;
}

.st-about-hero {
    position: relative;
    min-height: min(78vh, 820px);
    padding: 72px 0 88px;
    overflow: hidden;
    background: #0a0a0a;
}

.st-about-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: min(62vh, 640px);
}

.st-about-frame {
    position: relative;
    width: min(760px, 100%);
    padding: clamp(48px, 8vw, 72px) clamp(28px, 5vw, 56px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

.st-about-frame-mark {
    position: absolute;
    width: 18px;
    height: 18px;
    border-color: rgba(255, 255, 255, 0.35);
    border-style: solid;
    border-width: 0;
}

.st-about-frame-mark--tl {
    top: -1px;
    left: -1px;
    border-top-width: 1px;
    border-left-width: 1px;
}

.st-about-frame-mark--tr {
    top: -1px;
    right: -1px;
    border-top-width: 1px;
    border-right-width: 1px;
}

.st-about-frame-mark--bl {
    bottom: -1px;
    left: -1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
}

.st-about-frame-mark--br {
    bottom: -1px;
    right: -1px;
    border-bottom-width: 1px;
    border-right-width: 1px;
}

.st-about-title {
    margin: 0;
    font-family: var(--st-font-display);
    font-size: clamp(2.4rem, 6vw, 4.25rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: #fff;
}

.st-about-mission {
    max-width: 560px;
    margin: 24px auto 0;
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
}

.st-about-cta-wrap {
    margin-top: 36px;
}

.st-about-cta {
    display: inline-block;
    padding: 14px 28px;
    background: #fff;
    color: #0a0a0a;
    font-family: var(--st-font-mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}

.st-about-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(255, 255, 255, 0.12);
}

.st-divider--dark {
    background: rgba(255, 255, 255, 0.1);
}

.st-about-page .st-divider-bolt {
    color: var(--st-accent);
    opacity: 1;
}

.st-about-values {
    padding: 72px 0 96px;
    background: #0a0a0a;
}

.st-about-values-title {
    margin: 0 0 40px;
    font-family: var(--st-font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    text-align: center;
    color: #fff;
}

.st-about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.st-about-value {
    position: relative;
    padding: 28px 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.st-about-value-bolt {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 22px;
    height: 22px;
    color: rgba(168, 85, 247, 0.5);
}

.st-about-value-bolt svg {
    display: block;
    width: 100%;
    height: 100%;
}

.st-about-value h3 {
    margin: 0 0 10px;
    font-family: var(--st-font-ui);
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.st-about-value p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.62);
}

.st-about-page .site-footer {
    --st-ink: #121212;
    --st-ink-muted: #5c5c5c;
    --st-ink-faint: #8a8a8a;
    --st-line: rgba(18, 18, 18, 0.08);
    --st-line-strong: rgba(18, 18, 18, 0.14);

    background: #fff;
    color: var(--st-ink-muted);
    border-top: 1px solid rgba(18, 18, 18, 0.14);
}

.st-about-page .site-footer a {
    color: var(--st-ink-muted);
}

@media (max-width: 800px) {
    .st-about-values-grid {
        grid-template-columns: 1fr;
    }

    .st-about-frame {
        padding: 40px 24px;
    }
}

/* ── Careers pages ── */

.st-careers-shell {
    padding-left: clamp(32px, 5vw, 64px);
    padding-right: clamp(32px, 5vw, 64px);
    box-sizing: border-box;
}

.st-careers-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.st-career-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    border: 1px solid var(--st-line-strong);
    border-radius: 12px;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.st-career-card-link {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    flex: 1;
}

.st-career-card:hover {
    border-color: rgba(124, 58, 237, 0.35);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.08);
    transform: translateY(-2px);
}

.st-career-card-actions {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--st-line);
}

.st-career-card-actions .st-btn {
    flex: 1;
    justify-content: center;
    text-align: center;
}

.st-careers-perks-banner {
    margin-top: 32px;
    padding: 20px 24px;
    border: 1px solid var(--st-line-strong);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.04), rgba(255, 226, 52, 0.08));
}

.st-careers-perks-banner ul {
    margin: 10px 0 0;
    padding-left: 1.2rem;
    font-size: 14px;
    line-height: 1.65;
    color: var(--st-ink-muted);
}

.st-career-perks {
    margin: 28px 0;
}

.st-career-perks ul {
    margin: 10px 0 0;
    padding-left: 1.2rem;
    font-size: 15px;
    line-height: 1.65;
    color: var(--st-ink-muted);
}

.st-career-apply-role {
    margin: 0 0 4px;
    font-family: var(--st-font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--st-ink);
}

.st-career-optional {
    font-weight: 500;
    color: var(--st-ink-faint);
}

.st-career-file-hint {
    font-size: 11px;
    line-height: 1.5;
    color: var(--st-ink-faint);
}

.st-rec-panel-field input[type="file"] {
    padding: 8px 10px;
    font-size: 12px;
}

.st-career-card-dept {
    font-family: var(--st-font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--st-accent-deep);
}

.st-career-card-title {
    font-family: var(--st-font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--st-ink);
}

.st-career-card-excerpt {
    font-size: 14px;
    line-height: 1.55;
    color: var(--st-ink-muted);
}

.st-career-card-meta {
    margin-top: auto;
    padding-top: 8px;
    font-family: var(--st-font-mono);
    font-size: 11px;
    color: var(--st-ink-faint);
}

.st-careers-empty {
    grid-column: 1 / -1;
    font-size: 15px;
    color: var(--st-ink-muted);
}

.st-career-post {
    max-width: 720px;
}

.st-career-back {
    display: inline-block;
    margin-bottom: 20px;
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--st-ink-muted);
    text-decoration: none;
}

.st-career-back:hover {
    color: var(--st-accent-deep);
}

.st-career-meta {
    margin: 8px 0 0;
    font-family: var(--st-font-mono);
    font-size: 12px;
    color: var(--st-ink-faint);
}

.st-career-salary {
    color: var(--st-accent-deep);
    font-weight: 600;
}

.st-career-lead {
    margin-top: 20px;
}

.st-career-requirements {
    margin-top: 32px;
}

.st-career-req-title {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: var(--st-ink);
}

.st-career-requirements ul {
    margin: 0;
    padding-left: 20px;
    color: var(--st-ink-muted);
    line-height: 1.65;
}

.st-career-requirements li + li {
    margin-top: 8px;
}

.st-career-apply {
    margin-top: 32px;
}

@media (max-width: 720px) {
    .st-careers-grid {
        grid-template-columns: 1fr;
    }
}

/* -- Product feature pages -- */

.st-product-shell {
    max-width: 720px;
    margin: 0 auto;
}

.st-product-home {
    display: inline-block;
    margin-bottom: 18px;
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--st-ink-muted);
    text-decoration: none;
}

.st-product-home:hover {
    color: var(--st-accent-deep);
}

.st-product-lead {
    max-width: 560px;
}

.st-product-visual {
    margin-top: 32px;
    padding: 28px;
    border: 1px solid var(--st-line-strong);
    border-radius: 16px;
    background: #fafafa;
}

.st-product-visual .st-fx {
    max-width: 420px;
    margin: 0 auto;
}

.st-product-points {
    margin: 28px 0 0;
    padding-left: 20px;
    color: var(--st-ink-muted);
    line-height: 1.65;
}

.st-product-points li + li {
    margin-top: 10px;
}

.st-product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

/* App dark mode — Workshop, Settings, editor */
[data-theme="dark"] body.st-themeable.marketing-site {
    --st-bg: #1a1b1e;
    --st-bg-elevated: #2b2d31;
    --st-bg-sunken: #222327;
    --st-surface: #2b2d31;
    --st-ink: #f2f3f5;
    --st-ink-muted: #b5bac1;
    --st-ink-faint: #949ba4;
    --st-line: rgba(255, 255, 255, 0.08);
    --st-line-strong: rgba(255, 255, 255, 0.14);
    --st-accent: #a78bfa;
    --st-accent-deep: #c4b5fd;
    background: var(--st-bg);
    color: var(--st-ink);
    color-scheme: dark;
}

[data-theme="dark"] body.st-themeable.marketing-site .st-nav.topnav,
[data-theme="dark"] body.st-themeable.marketing-site .site-footer {
    background: var(--st-bg);
}

[data-theme="dark"] body.st-themeable .st-nav-panel,
[data-theme="dark"] body.st-themeable .st-nav-account .account-dropdown,
[data-theme="dark"] body.st-themeable .st-nav-btn--outline,
[data-theme="dark"] body.st-themeable .st-nav-menu-btn,
[data-theme="dark"] body.st-themeable .st-recents-dd-menu {
    background: var(--st-bg-elevated);
    color: var(--st-ink);
}

@media (max-width: 900px) {
    [data-theme="dark"] body.st-themeable .st-nav-links {
        background: var(--st-bg-elevated);
        color: var(--st-ink);
    }
}

[data-theme="dark"] body.st-themeable .st-nav-link:hover,
[data-theme="dark"] body.st-themeable .st-nav-link.is-active {
    background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] body.st-themeable .st-nav-btn--outline:hover,
[data-theme="dark"] body.st-themeable .st-nav-menu-btn:hover {
    background: #313338;
}

[data-theme="dark"] body.st-themeable .st-nav-btn--solid {
    background: #f2f3f5;
    border-color: #f2f3f5;
    color: #1a1b1e;
}

[data-theme="dark"] body.st-themeable .st-nav-btn--solid:hover {
    background: #fff;
    border-color: #fff;
}

[data-theme="dark"] body.st-themeable .st-outline-h,
[data-theme="dark"] body.st-themeable .st-outline-v {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] body.st-themeable .st-divider--break::before,
[data-theme="dark"] body.st-themeable .st-divider--break::after {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] body.st-themeable .st-grid-lines {
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

[data-theme="dark"] body.st-themeable .st-nav-panel-link:hover,
[data-theme="dark"] body.st-themeable .st-nav-account .dropdown-item:hover,
[data-theme="dark"] body.st-themeable .st-recents-dd-option:hover {
    background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] body.st-themeable .st-dash-hub-pane--catalog {
    background:
        radial-gradient(ellipse 75% 90% at 0% 50%, rgba(124, 58, 237, 0.28), transparent 68%),
        linear-gradient(to right, rgba(49, 51, 56, 0.98) 0%, rgba(26, 27, 30, 0.72) 78%, rgba(26, 27, 30, 0.4) 100%);
}

[data-theme="dark"] body.st-themeable .st-dash-hub-pane--catalog:hover {
    background:
        radial-gradient(ellipse 75% 90% at 0% 50%, rgba(124, 58, 237, 0.36), transparent 68%),
        linear-gradient(to right, rgba(56, 58, 64, 0.98) 0%, rgba(26, 27, 30, 0.8) 78%, rgba(26, 27, 30, 0.5) 100%);
}

[data-theme="dark"] body.st-themeable .st-dash-hub-pane--wallet {
    background:
        radial-gradient(ellipse 75% 90% at 100% 50%, rgba(16, 185, 129, 0.22), transparent 68%),
        linear-gradient(to left, rgba(36, 48, 42, 0.98) 0%, rgba(26, 27, 30, 0.72) 78%, rgba(26, 27, 30, 0.4) 100%);
}

[data-theme="dark"] body.st-themeable .st-dash-hub-pane--wallet:hover {
    background:
        radial-gradient(ellipse 75% 90% at 100% 50%, rgba(16, 185, 129, 0.3), transparent 68%),
        linear-gradient(to left, rgba(40, 54, 47, 0.98) 0%, rgba(26, 27, 30, 0.8) 78%, rgba(26, 27, 30, 0.5) 100%);
}

[data-theme="dark"] body.st-themeable .st-dash-hub-tile {
    border-color: rgba(196, 181, 253, 0.35);
    background: linear-gradient(180deg, #3f3358, #2a2140);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] body.st-themeable .st-workshop-search,
[data-theme="dark"] body.st-themeable .st-github-import,
[data-theme="dark"] body.st-themeable .st-github-import-input,
[data-theme="dark"] body.st-themeable .st-dash-card,
[data-theme="dark"] body.st-themeable .st-dash-stat {
    background: var(--st-bg-elevated);
}

[data-theme="dark"] body.st-themeable .st-workshop-search {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] body.st-themeable .st-dash-workspace {
    background: linear-gradient(180deg, rgba(43, 45, 49, 0.96) 0%, rgba(30, 31, 34, 0.9) 100%);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

[data-theme="dark"] body.st-themeable .st-dash-workspace::before {
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] body.st-themeable .st-rec-preview,
[data-theme="dark"] body.st-themeable .st-rec-panel-preview {
    background: #3a3c42;
}

[data-theme="dark"] body.st-themeable .st-rec-card:hover .st-rec-preview,
[data-theme="dark"] body.st-themeable .st-rec-card.is-menu-open .st-rec-preview {
    background: #44464d;
}

[data-theme="dark"] body.st-themeable .st-rec-card.is-boosted .st-rec-preview,
[data-theme="dark"] body.st-themeable .st-rec-card.is-super .st-rec-preview {
    background: linear-gradient(180deg, #3b3348 0%, #3a3c42 100%);
}

[data-theme="dark"] body.st-themeable .st-rec-preview:has(.st-og-fallback),
[data-theme="dark"] body.st-themeable .st-rec-card.is-boosted .st-rec-preview:has(.st-og-fallback),
[data-theme="dark"] body.st-themeable .st-rec-card.is-super .st-rec-preview:has(.st-og-fallback),
[data-theme="dark"] body.st-themeable .st-rec-card:hover .st-rec-preview:has(.st-og-fallback),
[data-theme="dark"] body.st-themeable .st-rec-card.is-menu-open .st-rec-preview:has(.st-og-fallback),
[data-theme="dark"] body.st-themeable .st-rec-panel-preview:has(.st-og-fallback) {
    background: #07040e;
}

[data-theme="dark"] body.st-themeable .st-rec-panel {
    background:
        linear-gradient(165deg, rgba(124, 58, 237, 0.08) 0%, transparent 42%),
        linear-gradient(180deg, #2b2d31 0%, #1e1f22 100%);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.45);
    border-left-color: rgba(167, 139, 250, 0.28);
}

[data-theme="dark"] body.st-themeable .st-choose-tile {
    background: linear-gradient(180deg, #2b2d31 0%, #25262b 100%);
}

[data-theme="dark"] body.st-themeable .st-github-import-ico {
    background: #f2f3f5;
    color: #1a1b1e;
}

[data-theme="dark"] body.st-themeable .st-github-import-input input {
    color: var(--st-ink);
}

[data-theme="dark"] body.st-themeable .st-rec-panel-field select,
[data-theme="dark"] body.st-themeable .st-rec-panel-field textarea,
[data-theme="dark"] body.st-themeable .st-rec-panel-field input {
    background: #1e1f22;
    color: var(--st-ink);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] body.st-themeable .st-workshop-gh-pill--on {
    color: #6ee7b7;
}

[data-theme="dark"] body.st-themeable .st-workshop-gh-connect:hover {
    background: #fff;
}

[data-theme="dark"] body.st-themeable .st-stack-chip--node { --stack-bg: #16382c; }
[data-theme="dark"] body.st-themeable .st-stack-chip--flask { --stack-bg: #2a2f55; }
[data-theme="dark"] body.st-themeable .st-stack-chip--static { --stack-bg: #4a2438; }
[data-theme="dark"] body.st-themeable .st-stack-chip--jupyter { --stack-bg: #1d3358; }
[data-theme="dark"] body.st-themeable .st-stack-chip--express { --stack-bg: #3d3214; }
[data-theme="dark"] body.st-themeable .st-stack-chip--ruby { --stack-bg: #4a1d1d; }
[data-theme="dark"] body.st-themeable .st-stack-chip--github { --stack-bg: #3a3c42; --stack-accent: #e6edf3; }

[data-theme="dark"] body.st-themeable .st-workshop-search {
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] body.st-themeable .st-recents-dd-menu {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] body.st-themeable .st-boost-card-free {
    color: #6ee7b7;
}

[data-theme="dark"] body.st-themeable .st-dash-boosts-chip,
[data-theme="dark"] body.st-themeable .st-boost-card,
[data-theme="dark"] body.st-themeable .st-boost-row {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

[data-theme="dark"] body.st-themeable .st-boost-card-cancel:hover {
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
}

[data-theme="dark"] body.st-themeable .st-dash-boosts-empty .st-btn--ghost {
    background: var(--st-bg);
}

[data-theme="dark"] body.st-themeable .st-set-note.is-ok {
    color: #86efac;
}

[data-theme="dark"] body.st-themeable .st-set-tag.is-ok {
    background: rgba(34, 197, 94, 0.16);
    color: #86efac;
}

[data-theme="dark"] body.st-themeable .st-set-tag.is-danger {
    background: rgba(220, 38, 38, 0.18);
    color: #fca5a5;
}

.st-admin-panel[hidden] {
    display: none !important;
}

.st-admin .st-admin-toolbar {
    max-width: 1100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.st-admin-status {
    max-width: 1100px;
    margin: 0 auto 20px;
    padding: 12px 14px;
    border: 1px solid var(--st-line);
    border-radius: 14px;
    background: #fff;
}

.st-admin-status-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.st-admin-status-head h3 {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
}

.st-admin-status-head span {
    font-family: var(--st-font-mono);
    font-size: 12px;
    color: var(--st-ink-muted);
}

.st-admin-log {
    margin: 0;
    padding: 0;
    max-height: 160px;
    overflow: auto;
    list-style: none;
}

.st-admin-log li {
    font-family: var(--st-font-mono);
    font-size: 12px;
    line-height: 1.45;
    padding: 3px 0;
    color: var(--st-ink-muted);
    border-bottom: 1px solid var(--st-line);
}

.st-admin-log li.is-success { color: #15803d; }
.st-admin-log li.is-error { color: #b91c1c; }
.st-admin-log li.is-warn { color: #b45309; }

.st-admin-machine-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 1100px;
    margin: 0 auto 16px;
}

.st-admin-machine-btn {
    min-width: 160px;
    text-align: left;
    padding: 10px 12px;
    border: 1px solid var(--st-line-strong);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}

.st-admin-machine-btn.is-active {
    border-color: var(--st-accent);
    box-shadow: 0 0 0 2px rgba(109, 40, 217, 0.15);
}

.st-admin-machine-btn b {
    display: block;
    font-size: 13px;
}

.st-admin-machine-btn span {
    display: block;
    font-family: var(--st-font-mono);
    font-size: 11px;
    color: var(--st-ink-muted);
}

.st-admin-machine-detail {
    max-width: 1100px;
    margin: 0 auto 24px;
    padding: 16px;
    border: 1px solid var(--st-line);
    border-radius: 16px;
    background: #fff;
}

.st-admin-machine-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.st-admin-machine-actions,
.st-admin-move-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 10px 0;
}

.st-admin-machine-actions select,
.st-admin-move-bar select,
.st-admin-search input,
.st-admin-rename-form input {
    min-height: 38px;
    padding: 0 10px;
    border: 1px solid var(--st-line-strong);
    border-radius: 10px;
    font: inherit;
}

.st-admin-project-list {
    display: grid;
    gap: 6px;
    margin-top: 10px;
}

.st-admin-project-row {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 10px;
    align-items: center;
    padding: 8px 10px;
    border: 1px solid var(--st-line);
    border-radius: 10px;
    transition: background 0.35s, border-color 0.35s;
}

.st-admin-project-row.is-full,
.st-admin-table tr.is-full {
    background: #fee2e2;
    border-color: #ef4444;
}

.st-admin-full-note {
    display: inline-block;
    margin-left: 8px;
    color: #b91c1c;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
}

.st-admin-overflow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.st-admin-empty {
    color: var(--st-ink-muted);
    margin: 0;
}

.st-admin-subhead {
    max-width: 1100px;
    margin: 22px auto 8px;
    font-size: 16px;
}

.st-admin-rename {
    max-width: 1100px;
    margin: 0 auto 20px;
    padding: 14px 16px;
    border: 1px solid var(--st-line);
    border-radius: 14px;
    background: #fff;
}

.st-admin-rename h3 {
    margin: 0 0 6px;
}

.st-admin-rename p {
    margin: 0 0 12px;
    color: var(--st-ink-muted);
    font-size: 13px;
}

.st-admin-rename-form,
.st-admin-search {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.st-admin-table-wrap {
    max-width: 1100px;
    margin: 0 auto 20px;
    overflow: auto;
    border: 1px solid var(--st-line);
    border-radius: 14px;
    background: #fff;
}

.st-admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.st-admin-table th,
.st-admin-table td {
    padding: 8px 10px;
    text-align: left;
    border-bottom: 1px solid var(--st-line);
    white-space: nowrap;
}

.st-admin-table th {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--st-ink-muted);
}
