/* ═══════════════════════════════════════════════════════════
   TipArena — Project Pulse · Hypermodern Cockpit v3
   ═══════════════════════════════════════════════════════════ */

body[data-view="project_overview"] .main-content {
    max-width: none;
    padding: 12px 16px 32px;
}

body[data-view="project_overview"] .app-layout {
    background: #030712;
}

/* ── Page shell ── */
.project-overview-page {
    position: relative;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 0 24px;
    isolation: isolate;
    min-height: 60vh;
}

/* Aurora — static gradient only (no blur blobs) */
.po-aurora {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 90% 60% at 15% 0%, rgba(0, 240, 255, 0.08), transparent 55%),
        radial-gradient(ellipse 70% 50% at 85% 20%, rgba(139, 92, 246, 0.07), transparent 50%),
        #030712;
}

/* ── Cockpit window ── */
.po-cockpit {
    position: relative;
    z-index: 1;
    border-radius: 28px;
    padding: 0 0 28px;
    background: rgba(8, 12, 24, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow:
        0 0 0 1px rgba(0, 240, 255, 0.06),
        0 24px 60px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    animation: poCockpitIn 0.6s ease both;
    overflow: hidden;
}

.po-cockpit::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.35), transparent 40%, transparent 60%, rgba(139, 92, 246, 0.35));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.po-cockpit-chrome {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.25);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.9);
}

.po-chrome-dots { display: flex; gap: 7px; }

.po-chrome-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    box-shadow: inset 0 -1px 2px rgba(0, 0, 0, 0.3);
}

.po-chrome-dot-r { background: #ff5f57; }
.po-chrome-dot-y { background: #febc2e; }
.po-chrome-dot-g { background: #28c840; }

.po-chrome-title {
    flex: 1;
    font-weight: 700;
    color: rgba(226, 232, 240, 0.85);
    font-family: ui-monospace, 'Cascadia Code', monospace;
}

.po-chrome-live {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #4ade80;
    font-weight: 700;
}

.po-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 10px #4ade80;
    animation: poLivePulse 1.5s ease-in-out infinite;
}

.po-progress {
    height: 2px;
    background: rgba(255, 255, 255, 0.04);
}

.po-progress-bar {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00f0ff, #8b5cf6);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.6);
    transition: width 0.08s linear;
}

/* ── Hero ── */
.po-hero {
    position: relative;
    margin: 20px 22px 0;
    border-radius: 22px;
    padding: 36px 32px 32px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(0, 240, 255, 0.06) 0%, rgba(124, 58, 237, 0.08) 50%, rgba(3, 7, 18, 0.85) 100%);
    border: 1px solid rgba(0, 240, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.po-hero-floor,
.po-hero-scan,
.po-kpi-shine,
.po-bar-shimmer { display: none; }

.po-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.025) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse 90% 80% at 30% 40%, #000 10%, transparent 70%);
    opacity: 0.7;
}

.po-hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.35;
}

.po-hero-orb-a { width: 200px; height: 200px; top: -50px; right: 20%; background: radial-gradient(circle, rgba(0, 240, 255, 0.25), transparent 70%); }
.po-hero-orb-b { width: 160px; height: 160px; bottom: -40px; left: 5%; background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent 70%); }

.po-hero-glow { display: none; }

.po-hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr minmax(200px, 280px);
    gap: 24px;
    align-items: center;
}

.po-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #00f0ff;
    margin-bottom: 14px;
    font-weight: 700;
    padding: 5px 12px 5px 8px;
    border-radius: 999px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.po-kicker-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00f0ff;
    box-shadow: 0 0 14px #00f0ff;
    animation: poPulseDot 2s ease-in-out infinite;
}

.po-title-shimmer {
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 900;
    margin: 0 0 14px;
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: #f8fafc;
    background: linear-gradient(105deg, #fff 0%, #bae6fd 45%, #e9d5ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.po-title-glitch::before,
.po-title-glitch::after { display: none; }

.po-lead {
    color: rgba(148, 163, 184, 0.95);
    font-size: 15px;
    max-width: 520px;
    margin: 0 0 14px;
    line-height: 1.65;
}

.po-meta {
    font-size: 11px;
    color: rgba(100, 116, 139, 0.95);
    margin: 0;
    font-family: ui-monospace, monospace;
}

/* Orbit hub */
.po-orbit-hub {
    position: relative;
    width: 260px;
    height: 260px;
    margin: 0 auto;
    perspective: 600px;
}

.po-orbit-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(0, 240, 255, 0.15);
}

.po-orbit-ring-1 { inset: 8%; border-color: rgba(0, 240, 255, 0.25); }
.po-orbit-ring-2 { inset: 22%; border-style: dashed; opacity: 0.7; }
.po-orbit-ring-3 { inset: 36%; border-color: rgba(139, 92, 246, 0.2); }

.po-orbit-core {
    position: absolute;
    inset: 38%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.2), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(0, 240, 255, 0.35);
    box-shadow: 0 0 24px rgba(0, 240, 255, 0.15), inset 0 0 16px rgba(0, 240, 255, 0.08);
}

.po-orbit-logo {
    font-size: 28px;
    filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.8));
}

.po-orbit-node {
    position: absolute;
    min-width: 64px;
    padding: 6px 10px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: none;
    text-align: center;
    font-size: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.po-orbit-node span {
    display: block;
    color: #64748b;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 9px;
}

.po-orbit-node em {
    display: block;
    font-style: normal;
    font-weight: 800;
    font-size: 13px;
    color: #f1f5f9;
    font-variant-numeric: tabular-nums;
}

.po-orbit-node-1 { top: 0; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.po-orbit-node-2 { right: -8px; top: 50%; transform: translateY(-50%); animation-delay: -1s; }
.po-orbit-node-3 { bottom: 0; left: 50%; transform: translateX(-50%); animation-delay: -2s; }
.po-orbit-node-4 { left: -8px; top: 50%; transform: translateY(-50%); animation-delay: -3s; }

/* Ticker */
.po-ticker-wrap {
    margin: 18px 22px 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.3);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.po-ticker {
    display: flex;
    width: max-content;
    animation: poTicker 90s linear infinite;
}

.po-ticker-track {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 20px;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.85);
}

.po-ticker-track span:nth-child(odd) {
    color: rgba(0, 240, 255, 0.7);
}

/* ── Bento grid ── */
.po-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 14px;
    padding: 18px 22px 0;
}

.po-bento-kpi { grid-column: span 3; }
.po-bento-code { grid-column: span 7; }
.po-bento-db { grid-column: span 5; }
.po-bento-tables { grid-column: span 12; }
.po-bento-modules { grid-column: span 12; }
.po-bento-meta { grid-column: span 12; }

/* Glass cards */
[data-glass] {
    position: relative;
    overflow: hidden;
}

[data-glass]::after { display: none; }

/* Reveal on scroll — CSS only, no continuous animation */
.po-reveal, .po-bar-reveal, .po-file-reveal, .po-module-float, .po-chip-pop {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: var(--po-delay, 0s);
}

.po-bar-reveal { transition-delay: var(--po-bar-delay, 0s); }
.po-file-reveal { transition-delay: var(--po-file-delay, 0s); }
.po-module-float { transition-delay: var(--po-mod-delay, 0s); }
.po-chip-pop { transition-delay: var(--po-chip-delay, 0s); }

.project-overview-page[data-po-ready="1"] .po-reveal,
.project-overview-page[data-po-ready="1"] .po-bar-reveal,
.project-overview-page[data-po-ready="1"] .po-file-reveal,
.project-overview-page[data-po-ready="1"] .po-module-float,
.project-overview-page[data-po-ready="1"] .po-chip-pop {
    opacity: 1;
    transform: none;
}

.po-kpi {
    position: relative;
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 22px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: transform 0.25s ease, border-color 0.25s;
}

.po-kpi:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 240, 255, 0.3);
}

.po-kpi-ring {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: conic-gradient(#00f0ff calc(var(--po-ring-pct, 50) * 1%), rgba(255, 255, 255, 0.06) 0);
    mask: radial-gradient(circle, transparent 58%, #000 59%);
    -webkit-mask: radial-gradient(circle, transparent 58%, #000 59%);
}

.po-kpi-ring-db { background: conic-gradient(#8b5cf6 calc(var(--po-ring-pct, 50) * 1%), rgba(255, 255, 255, 0.06) 0); }
.po-kpi-ring-hrs { background: conic-gradient(#a78bfa calc(var(--po-ring-pct, 50) * 1%), rgba(255, 255, 255, 0.06) 0); }
.po-kpi-ring-lang { background: conic-gradient(#22d3ee calc(var(--po-ring-pct, 50) * 1%), rgba(255, 255, 255, 0.06) 0); }

.po-kpi-shine {
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.07), transparent);
    animation: poCardShine 5s ease-in-out infinite;
    pointer-events: none;
}

.po-kpi-accent {
    background: linear-gradient(160deg, rgba(0, 240, 255, 0.12), rgba(15, 23, 42, 0.75));
    border-color: rgba(0, 240, 255, 0.25);
}

.po-kpi-hours {
    background: linear-gradient(160deg, rgba(139, 92, 246, 0.14), rgba(15, 23, 42, 0.75));
    border-color: rgba(167, 139, 250, 0.28);
}

.po-kpi-icon {
    font-size: 22px;
    margin-bottom: 6px;
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.45));
}

.po-kpi-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #64748b;
    font-weight: 700;
}

.po-kpi-value {
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 900;
    line-height: 1;
    color: #f8fafc;
    text-shadow: 0 0 40px rgba(0, 240, 255, 0.3);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.po-kpi-sub { font-size: 11px; color: rgba(148, 163, 184, 0.85); }

/* Panels */
.po-panel {
    position: relative;
    background: rgba(12, 18, 32, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 24px 22px;
    transition: border-color 0.25s;
}

.po-panel-glow:hover {
    border-color: rgba(0, 240, 255, 0.22);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), inset 0 0 60px rgba(0, 240, 255, 0.02);
}

.po-panel-dim { background: rgba(2, 6, 18, 0.65); }

.po-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 4px;
}

.po-panel-head-simple { align-items: center; }

.po-panel h2 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.po-panel-head h2 { margin-bottom: 0; }

.po-panel-desc {
    margin: 0 0 18px;
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
}

/* Donut */
.po-donut-wrap {
    position: relative;
    width: 92px;
    height: 92px;
    flex-shrink: 0;
}

.po-donut {
    width: 100%;
    height: 100%;
}

.po-donut-seg { filter: drop-shadow(0 0 6px currentColor); }

.po-donut-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: #e2e8f0;
}

.po-donut-center small {
    font-size: 8px;
    color: #64748b;
    letter-spacing: 0.1em;
}

.po-db-pulse { display: flex; gap: 5px; }

.po-db-pulse span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 10px #4ade80;
    animation: poDbPulse 1.4s ease-in-out infinite;
}

.po-db-pulse span:nth-child(2) { animation-delay: 0.2s; }
.po-db-pulse span:nth-child(3) { animation-delay: 0.4s; }

/* Bars */
.po-bars { display: flex; flex-direction: column; gap: 13px; }

.po-bar-row {
    display: grid;
    grid-template-columns: minmax(88px, 115px) 1fr auto;
    gap: 10px;
    align-items: center;
    font-size: 12px;
}

.po-bar-label { color: #94a3b8; transition: color 0.2s; }
.po-bar-row:hover .po-bar-label { color: #00f0ff; }

.po-bar-track {
    position: relative;
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    overflow: hidden;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.35);
}

.po-bar-track-sm { height: 8px; }

.po-bar-fill {
    position: relative;
    height: 100%;
    border-radius: 999px;
    width: 0;
    transition: width 1s ease;
}

.po-bar-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    background-size: 200% 100%;
    animation: poBarShimmer 2s ease-in-out infinite;
    border-radius: inherit;
}

.po-bar-cyan { background: linear-gradient(90deg, #0891b2, #00f0ff, #5eead4); }
.po-bar-neon { background: linear-gradient(90deg, #7c3aed, #00f0ff, #c084fc); }
.po-bar-purple { background: linear-gradient(90deg, #4338ca, #a78bfa, #818cf8); }

.po-bar-val, .po-table-count {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    min-width: 52px;
    text-align: right;
    color: #e2e8f0;
    font-size: 12px;
}

/* Chips */
.po-ext-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.po-chip {
    font-size: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 240, 255, 0.06);
    border: 1px solid rgba(0, 240, 255, 0.18);
    color: #7dd3fc;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.po-chip:hover {
    transform: translateY(-3px) scale(1.05);
    background: rgba(0, 240, 255, 0.14);
    box-shadow: 0 6px 20px rgba(0, 240, 255, 0.15);
}

/* Tables */
.po-table-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 20px;
}

.po-table-row {
    display: grid;
    grid-template-columns: minmax(110px, 1fr) 1.2fr auto;
    gap: 10px;
    align-items: center;
    font-size: 11px;
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.po-table-row:hover {
    background: rgba(0, 240, 255, 0.04);
    border-color: rgba(0, 240, 255, 0.12);
    transform: translateX(4px);
}

.po-table-row code {
    font-size: 10px;
    color: #67e8f9;
    font-family: ui-monospace, monospace;
}

/* Modules — holographic grid */
.po-modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}

.po-module-card {
    position: relative;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 18px 16px;
    overflow: hidden;
    transition: border-color 0.25s, transform 0.25s;
}

.po-module-card:hover {
    border-color: rgba(0, 240, 255, 0.28);
    transform: translateY(-3px);
}

.po-module-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.4), transparent 50%, rgba(139, 92, 246, 0.4));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s;
}

.po-module-card:hover::before { opacity: 1; }

.po-module-glow { display: none; }

.po-module-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 10px;
    transition: transform 0.25s ease;
}

.po-module-card:hover .po-module-icon {
    transform: scale(1.08);
}

.po-module-card h3 {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.po-module-card p {
    margin: 0;
    font-size: 11px;
    color: #64748b;
    line-height: 1.45;
}

/* Files + meta */
.po-file-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.po-file-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 11px;
    padding: 9px 8px;
    border-radius: 10px;
    transition: background 0.2s, padding-left 0.25s;
}

.po-file-list li:hover {
    background: rgba(99, 102, 241, 0.1);
    padding-left: 12px;
}

.po-file-list code {
    color: #93c5fd;
    font-family: ui-monospace, monospace;
    word-break: break-all;
    flex: 1;
    font-size: 10px;
}

.po-file-list span {
    font-weight: 800;
    color: #e2e8f0;
    white-space: nowrap;
}

.po-dl {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.po-dl div {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 10px;
    font-size: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.po-dl dt { color: #64748b; margin: 0; font-weight: 600; }
.po-dl dd { margin: 0; color: #e2e8f0; }

.po-footnote {
    text-align: center;
    font-size: 11px;
    color: rgba(100, 116, 139, 0.8);
    margin: 20px 22px 0;
    line-height: 1.5;
}

/* Nav link styles live in portal-a11y-polish.css (loaded globally). */

/* ── Keyframes ── */
@keyframes poCockpitIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}

@keyframes poAuroraDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(4%, -3%) scale(1.05); }
    66% { transform: translate(-3%, 4%) scale(0.95); }
}

@keyframes poFloorScroll {
    from { background-position: 0 0; }
    to { background-position: 0 40px; }
}

@keyframes poGridDrift {
    from { background-position: 0 0; }
    to { background-position: 28px 28px; }
}

@keyframes poOrbFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-14px, 18px); }
}

@keyframes poScan {
    0%, 100% { background-position: 0 -100%; }
    50% { background-position: 0 100%; }
}

@keyframes poPulseDot {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 14px #00f0ff; }
    50% { opacity: 0.4; transform: scale(0.8); }
}

@keyframes poShimmerText {
    to { background-position: 220% center; }
}

@keyframes poGlitch1 {
    0%, 92%, 100% { opacity: 0; transform: none; }
    93% { opacity: 0.8; transform: translate(-3px, 0); }
    94% { opacity: 0; transform: translate(3px, 0); }
}

@keyframes poGlitch2 {
    0%, 94%, 100% { opacity: 0; transform: none; }
    95% { opacity: 0.6; transform: translate(2px, 0); }
    96% { opacity: 0; transform: translate(-2px, 0); }
}

@keyframes poOrbitSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes poCorePulse {
    0%, 100% { box-shadow: 0 0 40px rgba(0, 240, 255, 0.2), inset 0 0 20px rgba(0, 240, 255, 0.1); }
    50% { box-shadow: 0 0 60px rgba(0, 240, 255, 0.35), inset 0 0 30px rgba(0, 240, 255, 0.15); }
}

@keyframes poNodeFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-6px); }
}

.po-orbit-node-2 { animation-name: poNodeFloat2; }
.po-orbit-node-3 { animation-name: poNodeFloat3; }
.po-orbit-node-4 { animation-name: poNodeFloat4; }

@keyframes poNodeFloat2 {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(6px); }
}

@keyframes poNodeFloat3 {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

@keyframes poNodeFloat4 {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(-6px); }
}

@keyframes poTicker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes poLivePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

@keyframes poCardShine {
    0%, 100% { left: -120%; }
    50% { left: 130%; }
}

@keyframes poRingSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes poDonutSpin {
    from { transform: rotate(-120deg) scale(0.5); opacity: 0; }
    to { transform: rotate(0deg) scale(1); opacity: 1; }
}

@keyframes poDbPulse {
    0%, 100% { opacity: 0.3; transform: scale(0.85); }
    50% { opacity: 1; transform: scale(1.15); }
}

@keyframes poBarShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes poNavIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@media (prefers-reduced-motion: reduce) {
    .po-aurora-blob, .po-ticker, .po-hero-floor, .po-hero-grid, .po-hero-orb,
    .po-hero-scan, .po-kpi-shine, .po-bar-shimmer, .po-orbit-ring, .po-kpi-ring,
    .po-title-shimmer, .po-title-glitch::before, .po-title-glitch::after,
    .po-live-dot, .po-nav-icon, .po-cockpit {
        animation: none !important;
    }
    .po-reveal, .po-bar-reveal, .po-file-reveal, .po-module-float, .po-chip-pop {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1100px) {
    .po-bento-kpi { grid-column: span 6; }
    .po-bento-code, .po-bento-db { grid-column: span 12; }
    .po-bento-meta { grid-column: span 12; }
    .po-hero-layout { grid-template-columns: 1fr; }
    .po-orbit-hub { margin-top: 20px; }
}

@media (max-width: 720px) {
    .po-bento-kpi { grid-column: span 12; }
    .po-cockpit-chrome { flex-wrap: wrap; }
    .po-hero { margin: 14px 14px 0; padding: 24px 20px; }
    .po-bento { padding: 14px 14px 0; }
    .po-ticker-wrap { margin: 14px 14px 0; }
    .po-orbit-hub { width: 220px; height: 220px; }
    .po-table-grid { grid-template-columns: 1fr; }
    .po-bar-row { grid-template-columns: 1fr; gap: 4px; }
    .po-bar-val, .po-table-count { text-align: left; }
    .po-dl div { grid-template-columns: 1fr; }
    .po-nav-label { display: none; }
}
