/* ==========================================================================
   FAMECLOCK PIXEL SANDBOX - PREMIUM MARBLE / GLASS SYSTEM
   ========================================================================== */

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

:root {
    --ps-accent: #60a5fa !important;
    --ps-accent-strong: #3b82f6 !important;
    --ps-accent-glow: rgba(96, 165, 250, 0.18) !important;
    --ps-success: #10b981 !important;
    --ps-success-glow: rgba(16, 185, 129, 0.18) !important;
    --ps-warning: #f59e0b !important;
    --ps-danger: #e11d48 !important;
    --ps-text: #1e293b !important;
    --ps-muted: #64748b !important;
    --ps-border: rgba(148, 163, 184, 0.22) !important;
    --ps-panel: rgba(255, 255, 255, 0.60) !important;
    --ps-panel-strong: rgba(255, 255, 255, 0.78) !important;
    --ps-white-border: rgba(255, 255, 255, 0.88) !important;
    --ps-shadow: 0 24px 50px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255,255,255,0.82) !important;
    --ps-terminal-bg: #08111f !important;
    --ps-terminal-border: rgba(96, 165, 250, 0.18) !important;
    --ps-terminal-line: rgba(148, 163, 184, 0.14) !important;
}

#sciFiBg,
.cyber-grid,
.soft-vignette,
canvas {
    display: none !important;
}

body.pixel-sandbox-page {
    background: linear-gradient(-45deg, #ffffff, #eef3f7, #ffffff, #e5edf2, #ffffff) !important;
    background-size: 400% 400% !important;
    animation: PixelSandboxMarbleFlow 16s ease infinite !important;
    color: var(--ps-text) !important;
    font-family: 'Roboto', sans-serif !important;
    margin: 0 !important;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body.pixel-sandbox-page::before,
body.pixel-sandbox-page::after {
    content: "";
    position: fixed;
    border-radius: 999px;
    pointer-events: none;
    z-index: 0;
    filter: blur(12px);
}

body.pixel-sandbox-page::before {
    top: 96px;
    left: -150px;
    width: 330px;
    height: 330px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.12) 0%, rgba(96, 165, 250, 0) 72%);
}

body.pixel-sandbox-page::after {
    right: -120px;
    bottom: 90px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0) 74%);
}

@keyframes PixelSandboxMarbleFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.ps-orb {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(14px);
}

.ps-orb--one {
    top: 170px;
    right: 8%;
    width: 190px;
    height: 190px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.16) 0%, rgba(96, 165, 250, 0) 70%);
}

.ps-orb--two {
    left: 9%;
    bottom: 130px;
    width: 210px;
    height: 210px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0) 72%);
}

.ps-shell {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    margin: 132px auto 72px;
    display: grid;
    gap: 24px;
}

.ps-panel {
    position: relative;
    overflow: hidden;
    background: var(--ps-panel);
    border: 1px solid var(--ps-white-border);
    border-radius: 28px;
    box-shadow: var(--ps-shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.ps-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.42), rgba(255,255,255,0.08));
    pointer-events: none;
}

.ps-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.95fr);
    gap: 22px;
    padding: 34px;
    align-items: stretch;
}

.ps-hero-copy,
.ps-hero-card,
.ps-form-card,
.ps-terminal-card,
.ps-info-card,
.ps-cta {
    position: relative;
    z-index: 1;
}

.ps-kicker,
.ps-section-kicker,
.ps-card-label,
.ps-mini-label,
.ps-input-label,
.ps-status-pill span,
.ps-log-time,
.ps-chip,
.ps-clear-btn,
.ps-info-card h3,
.ps-cta-btn,
.ps-hero-card strong {
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.ps-kicker,
.ps-section-kicker,
.ps-card-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(96, 165, 250, 0.18);
    box-shadow: 0 10px 26px rgba(96, 165, 250, 0.10);
    color: var(--ps-accent-strong);
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1;
}

.ps-title {
    margin: 18px 0 12px;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.35rem, 4vw, 4rem);
    line-height: 0.96;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ps-text);
}

.ps-title span {
    display: block;
    margin-top: 10px;
    color: var(--ps-accent);
}

.ps-dek,
.ps-helper,
.ps-card-desc,
.ps-form-card p,
.ps-info-card p,
.ps-cta p {
    margin: 0;
    color: var(--ps-muted);
    font-size: 0.96rem;
    line-height: 1.75;
}

.ps-helper {
    margin-top: 14px;
    max-width: 60ch;
}

.ps-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.ps-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid rgba(96, 165, 250, 0.16);
    background: rgba(255, 255, 255, 0.66);
    color: var(--ps-text);
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.74rem;
    font-weight: 800;
}

.ps-chip i,
.ps-info-icon,
.ps-input-icon,
.ps-card-title span {
    color: var(--ps-accent);
}

.ps-hero-card {
    display: grid;
    align-content: start;
    gap: 16px;
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 34px rgba(96, 165, 250, 0.10);
}

.ps-card-title {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.34rem;
    line-height: 1.25;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ps-text);
}

.ps-mini-stack {
    display: grid;
    gap: 12px;
    margin-top: 2px;
}

.ps-mini-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.ps-mini-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--ps-muted);
}

.ps-mini-item strong {
    margin: 0;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--ps-text);
}

.ps-workspace {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 24px;
}

.ps-form-card,
.ps-terminal-card,
.ps-info-card,
.ps-cta {
    padding: 28px;
}

.ps-section-head {
    display: grid;
    gap: 12px;
    margin-bottom: 22px;
}

.ps-section-head h2,
.ps-terminal-head h2,
.ps-cta h2 {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.28rem;
    line-height: 1.3;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ps-text);
}

.ps-input-label {
    display: inline-block;
    margin-bottom: 12px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--ps-muted);
}

.ps-input-wrap {
    position: relative;
}

.ps-input-icon {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    width: 24px;
    text-align: center;
    font-size: 1rem;
    pointer-events: none;
}

input.pixel-sandbox-input {
    width: 100% !important;
    min-height: 64px;
    padding: 18px 20px 18px 56px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(96, 165, 250, 0.22) !important;
    background: rgba(255, 255, 255, 0.86) !important;
    color: var(--ps-text) !important;
    font-family: 'Rajdhani', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.82), 0 12px 24px rgba(96, 165, 250, 0.08) !important;
    outline: none !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease !important;
}

input.pixel-sandbox-input::placeholder {
    color: #94a3b8 !important;
    opacity: 1;
    letter-spacing: 0.06em;
}

input.pixel-sandbox-input:focus {
    border-color: rgba(96, 165, 250, 0.48) !important;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.10), 0 14px 28px rgba(96, 165, 250, 0.12) !important;
    transform: translateY(-1px);
}

.ps-action-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 18px;
}

.ps-fire-btn,
.ps-cta-btn,
.ps-clear-btn {
    border: none;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.ps-fire-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 58px;
    padding: 0 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--ps-accent) 0%, var(--ps-accent-strong) 100%);
    box-shadow: 0 20px 34px rgba(96, 165, 250, 0.22);
    color: #ffffff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.84rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.ps-fire-btn:hover,
.ps-fire-btn:focus-visible,
.ps-cta-btn:hover,
.ps-cta-btn:focus-visible,
.ps-clear-btn:hover,
.ps-clear-btn:focus-visible {
    transform: translateY(-2px);
}

.ps-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.ps-status-pill span:last-child {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--ps-muted);
}

.ps-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    box-shadow: 0 0 0 8px rgba(203, 213, 225, 0.24);
}

.ps-status-pill.is-busy .ps-status-dot {
    background: var(--ps-warning);
    box-shadow: 0 0 0 8px rgba(245, 158, 11, 0.18);
}

.ps-status-pill.is-success .ps-status-dot {
    background: var(--ps-success);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.18);
}

.ps-status-pill.is-error .ps-status-dot {
    background: var(--ps-danger);
    box-shadow: 0 0 0 8px rgba(225, 29, 72, 0.16);
}

.ps-status-pill.is-busy span:last-child { color: #b45309; }
.ps-status-pill.is-success span:last-child { color: #047857; }
.ps-status-pill.is-error span:last-child { color: #be123c; }

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

.ps-clear-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.74);
    border: 1px solid rgba(148, 163, 184, 0.20);
    color: var(--ps-text);
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ps-terminal {
    min-height: 320px;
    max-height: 420px;
    overflow: auto;
    padding: 20px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(5, 10, 22, 0.98) 0%, rgba(7, 18, 32, 0.94) 100%);
    border: 1px solid var(--ps-terminal-border);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03), inset 0 20px 40px rgba(0,0,0,0.18);
}

.ps-log-entry {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
    padding: 10px 0;
    border-bottom: 1px dashed var(--ps-terminal-line);
    color: #dbeafe;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.92rem;
    line-height: 1.6;
}

.ps-log-entry:last-child {
    border-bottom: none;
}

.ps-log-time {
    color: #7dd3fc;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
}

.ps-log-entry.is-error .ps-log-text { color: #fda4af; }
.ps-log-entry.is-warn .ps-log-text { color: #fcd34d; }
.ps-log-entry.is-success .ps-log-text { color: #6ee7b7; }
.ps-log-entry.is-brand .ps-log-text { color: #93c5fd; }
.ps-log-entry.is-system .ps-log-text { color: #c4b5fd; }

.ps-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.ps-info-card {
    display: grid;
    gap: 14px;
}

.ps-info-icon {
    width: 56px;
    height: 56px;
    display: inline-grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(96, 165, 250, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.18);
    font-size: 1.2rem;
}

.ps-info-card h3 {
    margin: 0;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.88rem;
    font-weight: 900;
    color: var(--ps-text);
}

.ps-cta {
    display: grid;
    gap: 14px;
    text-align: center;
    justify-items: center;
    padding-top: 30px;
    padding-bottom: 30px;
}

.ps-cta[hidden] {
    display: none !important;
}

.ps-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(96, 165, 250, 1) 0%, rgba(59, 130, 246, 1) 100%);
    box-shadow: 0 18px 30px rgba(96, 165, 250, 0.20);
    color: #fff;
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.ps-cta-btn:hover,
.ps-cta-btn:focus-visible {
    color: #fff;
    box-shadow: 0 20px 34px rgba(96, 165, 250, 0.26);
}

@media (max-width: 1080px) {
    .ps-hero,
    .ps-workspace,
    .ps-info-grid {
        grid-template-columns: 1fr;
    }

    .ps-shell {
        width: min(100% - 24px, 1000px);
        margin-top: 118px;
        margin-bottom: 56px;
    }
}

@media (max-width: 767px) {
    .ps-hero,
    .ps-form-card,
    .ps-terminal-card,
    .ps-info-card,
    .ps-cta {
        padding: 22px;
    }

    .ps-title {
        font-size: 2rem;
    }

    .ps-chip-row,
    .ps-action-row {
        flex-direction: column;
        align-items: stretch;
    }

    .ps-fire-btn,
    .ps-status-pill,
    .ps-clear-btn,
    .ps-cta-btn {
        width: 100%;
        justify-content: center;
    }

    .ps-terminal-head {
        flex-direction: column;
        align-items: stretch;
    }

    input.pixel-sandbox-input {
        min-height: 58px;
        padding-left: 52px !important;
        font-size: 0.88rem !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.pixel-sandbox-page,
    .ps-fire-btn,
    .ps-cta-btn,
    .ps-clear-btn,
    input.pixel-sandbox-input {
        animation: none !important;
        transition: none !important;
    }
}

/* ==========================================================================
   PIXEL SANDBOX EXECUTIVE WOW PASS
   Premium flagship validation lab / enterprise authority alignment
   ========================================================================== */

:root {
    --ps-premium-shadow: 0 30px 70px rgba(15, 23, 42, 0.10), 0 10px 24px rgba(15, 23, 42, 0.05), inset 0 1px 0 rgba(255,255,255,0.92), inset 0 0 0 1px rgba(15, 23, 42, 0.04) !important;
    --ps-premium-shadow-hover: 0 38px 88px rgba(15, 23, 42, 0.14), 0 16px 34px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255,255,255,0.96), inset 0 0 0 1px rgba(15, 23, 42, 0.05) !important;
    --ps-copy: #475569 !important;
    --ps-copy-strong: #334155 !important;
    --ps-focus-ring: 0 0 0 3px rgba(96, 165, 250, 0.22) !important;
}

body.pixel-sandbox-page {
    background:
        radial-gradient(circle at 50% -8%, rgba(96, 165, 250, 0.12), rgba(96, 165, 250, 0) 28%),
        radial-gradient(circle at 100% 100%, rgba(16, 185, 129, 0.08), rgba(16, 185, 129, 0) 24%),
        linear-gradient(180deg, #f8fbfd 0%, #eef4f7 44%, #ffffff 100%) !important;
    background-size: auto !important;
    animation: none !important;
    line-height: 1.65 !important;
}

body.pixel-sandbox-page::before {
    top: 110px;
    left: -120px;
    width: 320px;
    height: 320px;
    filter: blur(18px);
    background: radial-gradient(circle, rgba(96, 165, 250, 0.10) 0%, rgba(96, 165, 250, 0) 72%) !important;
}

body.pixel-sandbox-page::after {
    right: -110px;
    bottom: 80px;
    width: 300px;
    height: 300px;
    filter: blur(18px);
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0) 72%) !important;
}

.ps-orb {
    opacity: 0.72 !important;
    filter: blur(18px) !important;
}

.ps-shell {
    width: min(1240px, calc(100% - 40px));
    margin: 148px auto 88px;
    gap: 26px;
}

.ps-panel,
.ps-hero-card,
.ps-form-card,
.ps-terminal-card,
.ps-info-card,
.ps-cta,
.ps-mini-item {
    background: linear-gradient(180deg, rgba(255,255,255,0.90), rgba(255,255,255,0.76)) !important;
    border: 1px solid rgba(255,255,255,0.94) !important;
    box-shadow: var(--ps-premium-shadow) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.ps-panel::before {
    background:
        radial-gradient(circle at top right, rgba(96, 165, 250, 0.12), rgba(255,255,255,0) 38%),
        linear-gradient(180deg, rgba(255,255,255,0.20), rgba(255,255,255,0.04)) !important;
}

.ps-hero {
    gap: 24px;
    padding: 42px;
    border-radius: 36px;
    background:
        radial-gradient(circle at 50% 0%, rgba(96, 165, 250, 0.15), rgba(96, 165, 250, 0) 42%),
        linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.80)) !important;
    box-shadow: var(--ps-premium-shadow-hover) !important;
}

.ps-hero::after {
    content: "";
    position: absolute;
    left: 34px;
    right: 34px;
    top: 0;
    height: 2px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(96,165,250,0.40), rgba(255,255,255,0));
    pointer-events: none;
}

.ps-kicker,
.ps-section-kicker,
.ps-card-label,
.ps-mini-label,
.ps-input-label,
.ps-status-pill span,
.ps-log-time,
.ps-chip,
.ps-clear-btn,
.ps-info-card h3,
.ps-cta-btn,
.ps-hero-card strong {
    letter-spacing: 0.12em !important;
}

.ps-kicker,
.ps-section-kicker,
.ps-card-label {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.90)) !important;
    border-color: rgba(96, 165, 250, 0.20) !important;
    box-shadow: 0 12px 24px rgba(96, 165, 250, 0.10) !important;
}

.ps-title {
    max-width: 11ch;
    margin: 20px 0 14px;
    font-size: clamp(2.4rem, 4vw, 4.2rem);
    line-height: 1.02;
    letter-spacing: 0.04em !important;
    text-shadow: 0 1px 0 rgba(255,255,255,0.92);
}

.ps-title span {
    margin-top: 8px;
}

.ps-dek,
.ps-helper,
.ps-card-desc,
.ps-form-card p,
.ps-info-card p,
.ps-cta p {
    color: var(--ps-copy) !important;
    text-transform: none !important;
    letter-spacing: 0.01em !important;
    font-family: 'Inter', 'Roboto', sans-serif !important;
    font-size: 0.98rem !important;
    font-weight: 500 !important;
    line-height: 1.72 !important;
}

.ps-dek {
    max-width: 62ch;
    color: var(--ps-copy-strong) !important;
}

.ps-helper {
    margin-top: 16px;
}

.ps-chip-row {
    gap: 14px;
    margin-top: 28px;
}

.ps-chip {
    padding: 12px 16px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.90)) !important;
    border-color: rgba(226, 232, 240, 0.96) !important;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.04) !important;
    color: #132238 !important;
}

.ps-hero-card {
    gap: 18px;
    padding: 26px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.88)) !important;
    box-shadow: var(--ps-premium-shadow) !important;
}

.ps-card-title {
    font-size: 1.24rem;
    line-height: 1.3;
    letter-spacing: 0.05em;
}

.ps-mini-stack {
    gap: 14px;
}

.ps-mini-item {
    padding: 16px 16px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.90)) !important;
    border-color: rgba(226, 232, 240, 0.92) !important;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.04) !important;
}

.ps-mini-item strong {
    text-shadow: 0 1px 0 rgba(255,255,255,0.92);
}

.ps-workspace {
    gap: 24px;
}

.ps-form-card,
.ps-terminal-card,
.ps-info-card,
.ps-cta {
    padding: 30px;
}

.ps-section-head h2,
.ps-terminal-head h2,
.ps-cta h2 {
    letter-spacing: 0.04em;
    line-height: 1.18;
}

.ps-input-label {
    color: var(--ps-copy) !important;
    font-size: 0.76rem;
}

input.pixel-sandbox-input {
    min-height: 62px;
    border-radius: 20px !important;
    border-color: rgba(96, 165, 250, 0.20) !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.92)) !important;
    color: #132238 !important;
    font-family: 'Inter', 'Roboto', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: none !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.86), 0 10px 20px rgba(15, 23, 42, 0.04) !important;
}

input.pixel-sandbox-input::placeholder {
    letter-spacing: 0.02em;
}

input.pixel-sandbox-input:focus {
    border-color: rgba(59, 130, 246, 0.36) !important;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.92), var(--ps-focus-ring), 0 18px 34px rgba(15, 23, 42, 0.08) !important;
    transform: translateY(-1px);
}

.ps-action-row {
    gap: 14px;
    margin-top: 18px;
}

.ps-fire-btn,
.ps-cta-btn,
.ps-clear-btn {
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease, border-color 0.22s ease, background 0.22s ease !important;
}

.ps-fire-btn {
    min-height: 56px;
    padding: 0 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.22);
    letter-spacing: 0.12em;
}

.ps-fire-btn:hover,
.ps-fire-btn:focus-visible,
.ps-cta-btn:hover,
.ps-cta-btn:focus-visible,
.ps-clear-btn:hover,
.ps-clear-btn:focus-visible {
    transform: translateY(-2px);
}

.ps-status-pill {
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.90)) !important;
    border-color: rgba(226, 232, 240, 0.92) !important;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.04) !important;
}

.ps-terminal-head {
    margin-bottom: 22px;
}

.ps-clear-btn {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.92)) !important;
    border: 1px solid rgba(226, 232, 240, 0.96);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.04);
    color: #132238;
    letter-spacing: 0.12em;
}

.ps-terminal {
    min-height: 332px;
    border-radius: 24px;
    border: 1px solid rgba(59, 130, 246, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03), inset 0 20px 40px rgba(0,0,0,0.18), 0 18px 34px rgba(15, 23, 42, 0.12);
}

.ps-log-entry {
    padding: 11px 0;
    line-height: 1.62;
}

.ps-log-time {
    color: #7dd3fc;
    letter-spacing: 0.08em !important;
}

.ps-info-grid {
    gap: 20px;
}

.ps-info-card {
    gap: 16px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(248,250,252,0.84)) !important;
}

.ps-info-icon {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(241,245,249,0.90)) !important;
    border: 1px solid rgba(96, 165, 250, 0.18);
    box-shadow: 0 14px 28px rgba(59, 130, 246, 0.08);
}

.ps-info-card h3 {
    font-size: 0.86rem;
    color: #132238;
}

.ps-cta {
    gap: 16px;
    padding-top: 32px;
    padding-bottom: 32px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(239,246,255,0.96), rgba(255,255,255,0.90)) !important;
    border-color: rgba(96, 165, 250, 0.18) !important;
    box-shadow: 0 22px 38px rgba(59, 130, 246, 0.10) !important;
}

.ps-cta-btn {
    min-height: 54px;
    padding: 0 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.22);
    letter-spacing: 0.12em;
}

input.pixel-sandbox-input:focus-visible,
.ps-fire-btn:focus-visible,
.ps-clear-btn:focus-visible,
.ps-cta-btn:focus-visible {
    outline: none;
    border-color: rgba(59, 130, 246, 0.42) !important;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.92), var(--ps-focus-ring), 0 18px 34px rgba(15, 23, 42, 0.10) !important;
}

@media (max-width: 1080px) {
    .ps-shell {
        width: min(100% - 28px, 1000px);
        margin-top: 132px;
        margin-bottom: 72px;
    }
}

@media (max-width: 767px) {
    .ps-shell {
        width: min(100% - 20px, 100%);
        margin-top: 118px;
        margin-bottom: 56px;
    }

    .ps-hero,
    .ps-form-card,
    .ps-terminal-card,
    .ps-info-card,
    .ps-cta {
        padding: 24px;
        border-radius: 24px;
    }

    .ps-title {
        font-size: clamp(1.95rem, 8vw, 2.9rem);
    }

    .ps-dek,
    .ps-helper,
    .ps-card-desc,
    .ps-form-card p,
    .ps-info-card p,
    .ps-cta p {
        font-size: 0.95rem !important;
        line-height: 1.68 !important;
    }

    .ps-mini-item {
        border-radius: 18px;
    }

    .ps-chip-row,
    .ps-action-row {
        gap: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.pixel-sandbox-page,
    .ps-fire-btn,
    .ps-cta-btn,
    .ps-clear-btn,
    input.pixel-sandbox-input {
        animation: none !important;
        transition: none !important;
    }

    body.pixel-sandbox-page::before,
    body.pixel-sandbox-page::after,
    .ps-orb {
        display: none !important;
    }
}

