/* Brawl Safe — BÓVEDA DIGITAL (consistente con Aegis Core) */

.bsafe-page {
    min-height: 100dvh;
    background: radial-gradient(ellipse at top, #0f2f2a 0%, #0b1220 45%, #060a12 100%);
    color: #e2e8f0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    position: relative;
    overflow-x: hidden;
}

.oracle-widget {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(52, 211, 153, 0.3);
    background: rgba(15, 23, 42, 0.75);
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.68rem;
    line-height: 1.2;
    transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1),
                border-color 0.25s cubic-bezier(0.23, 1, 0.32, 1),
                background-color 0.25s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.25s cubic-bezier(0.23, 1, 0.32, 1);
    max-width: 100%;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.15),
        0 2px 4px -1px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.oracle-widget:hover {
    transform: scale(1.02) translateY(-0.5px);
    border-color: rgba(52, 211, 153, 0.55);
    background: rgba(15, 23, 42, 0.85);
    box-shadow: 
        0 10px 15px -3px rgba(4, 120, 87, 0.18),
        0 4px 6px -2px rgba(4, 120, 87, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.oracle-widget:active {
    transform: scale(0.97);
    transition-duration: 80ms;
}

/* SVG Shield Styling */
.oracle-widget-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.oracle-widget-svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: filter 0.3s ease;
    filter: drop-shadow(0 0 2px rgba(52, 211, 153, 0.4));
}

.oracle-widget-svg path {
    stroke: #34d399;
    fill: rgba(52, 211, 153, 0.08);
    transition: stroke 0.3s ease, fill 0.3s ease;
}

.oracle-widget-svg circle {
    fill: #10b981;
    stroke: #34d399;
    stroke-width: 1.5;
    transition: fill 0.3s ease, stroke 0.3s ease;
    transform-origin: center;
    animation: oracle-core-pulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes oracle-core-pulse {
    0%, 100% { transform: scale(1); opacity: 0.85; }
    50% { transform: scale(1.2); opacity: 1; }
}

/* Color overrides for SVG shield based on status */
.oracle-widget--watch .oracle-widget-svg {
    filter: drop-shadow(0 0 2px rgba(245, 158, 11, 0.4));
}
.oracle-widget--watch .oracle-widget-svg path {
    stroke: #fbbf24;
    fill: rgba(245, 158, 11, 0.08);
}
.oracle-widget--watch .oracle-widget-svg circle {
    fill: #f59e0b;
    stroke: #fbbf24;
}

.oracle-widget--alert .oracle-widget-svg {
    filter: drop-shadow(0 0 2px rgba(239, 68, 68, 0.4));
}
.oracle-widget--alert .oracle-widget-svg path {
    stroke: #f87171;
    fill: rgba(239, 68, 68, 0.08);
}
.oracle-widget--alert .oracle-widget-svg circle {
    fill: #ef4444;
    stroke: #f87171;
    animation: oracle-core-pulse-alert 1s ease-in-out infinite;
}

@keyframes oracle-core-pulse-alert {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.35); opacity: 1; }
}

.oracle-widget--unknown .oracle-widget-svg {
    filter: drop-shadow(0 0 1px rgba(148, 163, 184, 0.3));
}
.oracle-widget--unknown .oracle-widget-svg path {
    stroke: #94a3b8;
    fill: rgba(148, 163, 184, 0.08);
}
.oracle-widget--unknown .oracle-widget-svg circle {
    fill: #64748b;
    stroke: #94a3b8;
    animation: none;
}

.oracle-widget--loading { opacity: 0.7; }

.oracle-widget--watch {
    border-color: rgba(245, 158, 11, 0.45);
    background: rgba(120, 53, 15, 0.35);
    color: #fde68a;
}

.oracle-widget--alert {
    border-color: rgba(239, 68, 68, 0.45);
    background: rgba(127, 29, 29, 0.35);
    color: #fecaca;
}

.oracle-widget--unknown {
    border-color: rgba(148, 163, 184, 0.35);
    background: rgba(30, 41, 59, 0.5);
    color: #cbd5e1;
}

.oracle-widget-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
}

.oracle-widget-dot--pulse {
    animation: oracle-pulse 2s ease-in-out infinite;
}

@keyframes oracle-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); opacity: 1; }
    50% { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); opacity: 0.85; }
}

.oracle-widget--watch .oracle-widget-dot { background: #fbbf24; }
.oracle-widget--alert .oracle-widget-dot { background: #f87171; animation: none; }

.oracle-widget-text {
    display: flex;
    flex-direction: column;
    min-width: max-content;
}

.oracle-widget-title {
    font-weight: 800;
    white-space: nowrap;
}

.oracle-widget-sub {
    font-size: 0.62rem;
    opacity: 0.9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.game-topbar .oracle-widget--hud {
    margin: 0;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    align-self: center;
    min-width: 0;
    min-height: 2.75rem;
    width: max-content;
    max-width: max-content;
    border-radius: 0.9rem;
    padding: 0.4rem 0.9rem;
    font-size: 0.62rem;
}

.game-topbar .oracle-widget--hud::after {
    border-radius: 0.9rem;
}

.hud-balance-row .oracle-widget--hud {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 3px 0 rgba(4, 47, 46, 0.35),
        0 4px 12px -6px rgba(6, 78, 59, 0.45);
}

/* Green LED indicator beside ONLINE LIVE */
.game-topbar .oracle-widget-led {
    width: 9px;
    height: 9px;
    margin-right: 0.55rem;
    flex-shrink: 0;
}

.game-topbar .oracle-widget--hud .oracle-widget-icon-container {
    margin-right: 0.5rem;
}

.game-topbar .oracle-widget--hud .oracle-widget-title {
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    color: #ecfdf5;
    max-width: none;
    overflow: visible;
    text-overflow: unset;
}

.game-topbar .oracle-widget--hud .oracle-widget-title-row {
    align-items: center;
}

.game-topbar .oracle-widget--hud .oracle-widget-live {
    display: inline-flex;
    align-items: center;
    font-size: 0.5rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    background: rgba(52, 211, 153, 0.18);
    color: #6ee7b7;
    border: 1px solid rgba(52, 211, 153, 0.35);
}

.game-topbar .oracle-widget--hud .oracle-widget-sub {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.65rem;
    line-height: 1.1;
    font-weight: 600;
    color: rgba(110, 231, 183, 0.8);
    max-width: none;
    overflow: visible;
    text-overflow: unset;
}

.game-topbar .oracle-widget--hud .oracle-widget-bars {
    display: flex;
    height: 12px;
}

@media (max-width: 640px) {
    .oracle-widget-sub { display: block; }
    .oracle-widget--monitor .oracle-widget-bars { display: none; }
    .game-topbar .oracle-widget--hud .oracle-widget-bars { display: none; }
    .game-topbar .oracle-widget--hud {
        min-width: 0;
        min-height: 2.75rem;
        padding: 0.4rem 0.8rem;
    }
    .game-topbar .oracle-widget--hud .oracle-widget-sub { display: block; }

    .vault-cylinder { width: 106px; height: 106px; }
    .vault-metrics { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Widget monitor (debajo del logo) ─── */

.oracle-widget--monitor {
    position: relative;
    overflow: hidden;
    width: max-content;
    max-width: max-content;
    min-width: 260px;
    padding: 0.45rem 0.7rem 0.45rem 0.55rem;
    gap: 0.55rem;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96) 0%, rgba(6, 78, 59, 0.88) 100%);
    border: 1px solid rgba(52, 211, 153, 0.45);
    box-shadow:
        0 0 0 1px rgba(52, 211, 153, 0.08),
        0 6px 20px rgba(6, 78, 59, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    animation: oracle-monitor-glow 3s ease-in-out infinite;
    z-index: 0;
}

.oracle-widget--monitor > * {
    position: relative;
    z-index: 1;
}

.oracle-widget--monitor::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(52, 211, 153, 0.02) 20%,
        rgba(52, 211, 153, 0.25) 45%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(52, 211, 153, 0.25) 55%,
        rgba(52, 211, 153, 0.02) 80%,
        transparent 100%
    );
    width: 200%;
    transform: translateX(-100%);
    animation: oracle-scan 3.5s cubic-bezier(0.77, 0, 0.175, 1) infinite;
    pointer-events: none;
}

.oracle-widget--monitor::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 999px;
    border: 1px solid rgba(52, 211, 153, 0.5);
    animation: oracle-ring 2.4s ease-out infinite;
    pointer-events: none;
}

.oracle-widget--monitor.oracle-widget--loading::before {
    animation-duration: 1.4s;
}

.oracle-widget--monitor.oracle-widget--unknown,
.oracle-widget--monitor.oracle-widget--watch,
.oracle-widget--monitor.oracle-widget--alert {
    animation: none;
}

.oracle-widget-radar {
    position: relative;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oracle-widget-radar::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(52, 211, 153, 0.35);
    animation: oracle-radar 2s ease-out infinite;
}

.oracle-widget-title-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-width: max-content;
}

.oracle-widget-live {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.48rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    background: rgba(52, 211, 153, 0.2);
    color: #6ee7b7;
    border: 1px solid rgba(52, 211, 153, 0.35);
    flex-shrink: 0;
    animation: oracle-live-blink 1.6s step-end infinite;
}

/* Oracle live indicator dot */
.oracle-live-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34d399;
    flex-shrink: 0;
    box-shadow:
        0 0 6px #34d399,
        0 0 12px rgba(52, 211, 153, 0.5);
    animation: oracle-live-pulse 2s ease-in-out infinite;
}

@keyframes oracle-live-pulse {
    0%, 100% {
        box-shadow:
            0 0 6px #34d399,
            0 0 12px rgba(52, 211, 153, 0.5);
        opacity: 1;
    }
    50% {
        box-shadow:
            0 0 10px #34d399,
            0 0 20px rgba(52, 211, 153, 0.8);
        opacity: 0.85;
    }
}

.oracle-widget--unknown .oracle-widget-live,
.oracle-widget--alert .oracle-widget-live {
    animation: none;
    opacity: 0.55;
    color: #94a3b8;
    border-color: rgba(148, 163, 184, 0.35);
    background: rgba(30, 41, 59, 0.5);
}

.oracle-widget-bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 14px;
    flex-shrink: 0;
    padding-left: 0.15rem;
}

.oracle-widget-bars span {
    display: block;
    width: 3px;
    border-radius: 2px;
    background: linear-gradient(180deg, #6ee7b7, #059669);
    animation: oracle-bar 1.1s ease-in-out infinite;
}

.oracle-widget-bars span:nth-child(1) { height: 35%; animation-delay: 0s; }
.oracle-widget-bars span:nth-child(2) { height: 65%; animation-delay: 0.12s; }
.oracle-widget-bars span:nth-child(3) { height: 45%; animation-delay: 0.24s; }
.oracle-widget-bars span:nth-child(4) { height: 80%; animation-delay: 0.36s; }

.oracle-widget--unknown .oracle-widget-bars span,
.oracle-widget--alert .oracle-widget-bars span {
    animation: none;
    height: 25%;
    opacity: 0.35;
}

.bsafe-brand-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    min-width: 0;
}

@keyframes oracle-scan {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@keyframes oracle-ring {
    0% { transform: scale(1); opacity: 0.55; }
    100% { transform: scale(1.06); opacity: 0; }
}

@keyframes oracle-radar {
    0% { transform: scale(0.6); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

@keyframes oracle-bar {
    0%, 100% { transform: scaleY(0.45); opacity: 0.65; }
    50% { transform: scaleY(1); opacity: 1; }
}

@keyframes oracle-live-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

@keyframes oracle-monitor-glow {
    0%, 100% { box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.08), 0 6px 20px rgba(6, 78, 59, 0.3); }
    50% { box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.2), 0 6px 24px rgba(16, 185, 129, 0.35); }
}

/* ─── Página Brawl Safe ─── */

.bsafe-page {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    background: #071018;
    color: #e2e8f0;
}

.bsafe-page-bar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0.75rem 1.25rem;
    background: rgba(7, 16, 24, 0.92);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    backdrop-filter: blur(8px);
}

.bsafe-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

.bsafe-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../assets/brawl-safe-hero.png');
    background-size: cover;
    background-position: center 40%;
    opacity: 0.42;
    filter: saturate(1.05);
}

.bsafe-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 16, 24, 0.55) 0%, rgba(7, 16, 24, 0.88) 72%, #071018 100%);
    pointer-events: none;
}

.bsafe-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 980px;
    margin: 0 auto;
    padding: 2.25rem 1.5rem 2rem;
}

.hero-top-nav {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.35rem;
}

.bsafe-kicker {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #6ee7b7;
    margin-bottom: 0.75rem;
}

.bsafe-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin: 0 0 0.75rem;
    background: linear-gradient(90deg, #6ee7b7, #38bdf8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bsafe-lead {
    max-width: 42rem;
    color: #94a3b8;
    line-height: 1.65;
    margin: 0 0 1.25rem;
}

.bsafe-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.85rem;
    border: 1px solid rgba(52, 211, 153, 0.4);
    background: rgba(6, 78, 59, 0.45);
    color: #a7f3d0;
}

.bsafe-hero-badge--elevated,
.bsafe-hero-badge--protected {
    border-color: rgba(245, 158, 11, 0.45);
    background: rgba(120, 53, 15, 0.4);
    color: #fde68a;
}

.bsafe-hero-badge--unknown {
    border-color: rgba(148, 163, 184, 0.35);
    background: rgba(30, 41, 59, 0.5);
}

.bsafe-live-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
    margin-top: 1rem;
}

.bsafe-live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #64748b;
}

.bsafe-live-dot--on {
    background: #34d399;
    animation: oracle-pulse 2s ease-in-out infinite;
}

.bsafe-body {
    max-width: 1020px;
    margin: 0 auto;
    padding: 2.25rem 1.5rem 5rem;
    position: relative;
    z-index: 1;
}

.bsafe-section-title {
    font-size: 1.35rem;
    font-weight: 900;
    margin: 0 0 0.85rem;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.bsafe-grid {
    display: grid;
    gap: 0.95rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .bsafe-grid { grid-template-columns: repeat(2, 1fr); }
}

.bsafe-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(52, 211, 153, 0.16);
    border-radius: 1.15rem;
    padding: 1.25rem;
}

.bsafe-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 800;
}

.bsafe-card p,
.bsafe-card li {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.55;
}

.bsafe-band-meter {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin: 1rem 0;
}

.bsafe-band-step {
    text-align: center;
    padding: 0.65rem 0.35rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.15);
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748b;
}

.bsafe-band-active {
    border-color: rgba(52, 211, 153, 0.5);
    background: rgba(6, 78, 59, 0.35);
    color: #6ee7b7;
}

.bsafe-refresh-btn {
    margin-top: 1rem;
    padding: 0.55rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(52, 211, 153, 0.4);
    background: rgba(6, 78, 59, 0.5);
    color: #ecfdf5;
    font-weight: 700;
    cursor: pointer;
}

.bsafe-refresh-btn:disabled { opacity: 0.6; cursor: wait; }

.bsafe-split {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 900px) {
    .bsafe-split { grid-template-columns: 1fr 1.1fr; align-items: start; }
}

.bsafe-illus {
    border-radius: 1.25rem;
    min-height: 220px;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(148, 163, 184, 0.12);
}

/* Landing section */
.landing-brawl-safe {
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 900px) {
    .landing-brawl-safe { grid-template-columns: 1.05fr 1fr; }
}

.landing-brawl-safe-img {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    border-radius: 1.1rem;
    display: block;
    border: 1px solid rgba(16, 185, 129, 0.25);
    box-shadow: 0 12px 40px rgba(6, 78, 59, 0.35);
}

.landing-brawl-safe-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(6, 78, 59, 0.2);
    border: 1px solid rgba(52, 211, 153, 0.35);
    color: #6ee7b7;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

/* Admin oracle panel */
.admin-oracle-panel { margin-bottom: 1.25rem; }

.admin-oracle-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.admin-oracle-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.admin-oracle-kpi {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 0.85rem;
    padding: 0.85rem;
}

.admin-oracle-kpi span {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}

.admin-oracle-kpi strong {
    font-size: 1.15rem;
    color: #f8fafc;
}

.admin-oracle-kpi--warn strong { color: #fbbf24; }
.admin-oracle-kpi--danger strong { color: #f87171; }

/* ============================================================
   BÓVEDA DIGITAL — Reused from Aegis Core for Brawl Safe
   Mesh + Glassmorphism + Blueprint + Monospace + Cylinder
   ============================================================ */

/* Animated Background Mesh */
.vault-mesh {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: 
        linear-gradient(rgba(52, 211, 153, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(52, 211, 153, 0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    animation: vault-mesh-drift 28s linear infinite;
}
.vault-mesh::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle, rgba(52, 211, 153, 0.09) 1px, transparent 1.5px);
    background-size: 18px 18px;
    animation: vault-mesh-dots 22s ease-in-out infinite alternate;
}

@keyframes vault-mesh-drift {
    0% { background-position: 0 0; }
    100% { background-position: 42px 42px; }
}
@keyframes vault-mesh-dots {
    0% { opacity: 0.55; transform: translateY(0); }
    100% { opacity: 0.85; transform: translateY(1px); }
}

/* Glassmorphism + subtle neon */
.vault-glass {
    background: rgba(10, 15, 28, 0.8);
    border: 1px solid rgba(52, 211, 153, 0.16);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(52, 211, 153, 0.06) inset;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.vault-glass:hover {
    border-color: rgba(52, 211, 153, 0.32);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(52, 211, 153, 0.12) inset,
        0 0 14px rgba(52, 211, 153, 0.12);
}
.vault-neon {
    border-color: rgba(52, 211, 153, 0.28);
    box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.1);
}

/* Monospace for vault numbers */
.vault-mono {
    font-family: ui-monospace, "Roboto Mono", "SFMono-Regular", "Courier New", monospace;
    font-feature-settings: "tnum" "zero";
    letter-spacing: 0.02em;
}

/* Live indicator */
.vault-live-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #34d399;
    border-radius: 50%;
    margin-left: 0.4rem;
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.25);
    animation: vault-live-pulse 2s ease-in-out infinite;
}
@keyframes vault-live-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.25); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(52, 211, 153, 0.1); }
}

/* Blueprint diagram (cyan technical) */
.blueprint-diagram {
    margin-top: 1rem;
    margin-bottom: 1.25rem;
    background: #05090f;
    border: 1px solid rgba(103, 232, 249, 0.2);
    border-radius: 0.6rem;
    padding: 8px;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 72px;
}
.blueprint-diagram svg {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}

/* Fluid scaling for small screens (no horizontal scroll at 320px) */
@media (max-width: 380px) {
    .blueprint-diagram {
        padding: 5px;
        min-height: 58px;
    }
}

.blueprint-diagram::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(103, 232, 249, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(103, 232, 249, 0.08) 1px, transparent 1px);
    background-size: 13px 13px;
    pointer-events: none;
}
.blueprint-label {
    position: absolute;
    top: 3px;
    left: 6px;
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    color: rgba(103, 232, 249, 1);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    font-family: ui-monospace, "Roboto Mono", monospace;
    z-index: 2;
    pointer-events: none;
}

/* Central Rotating Data Cylinder / Cofre for BrawlSafe Vault */
.vault-cylinder {
    position: relative;
    width: 132px;
    height: 132px;
    margin: 0.75rem auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vault-cylinder svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 16px rgba(52, 211, 153, 0.4));
}
.vault-cylinder .cyl-ring {
    animation: cyl-rotate 14s linear infinite;
    transform-origin: center;
}
.vault-cylinder .cyl-ring-delay-1 {
    animation-delay: -3.5s;
}
.vault-cylinder .cyl-ring-delay-2 {
    animation-delay: -7s;
}
.vault-cylinder .cyl-pulse {
    animation: cyl-pulse 5.5s ease-in-out infinite;
}
@keyframes cyl-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes cyl-pulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(52, 211, 153, 0.35)); }
    50% { transform: scale(1.04); filter: drop-shadow(0 0 22px rgba(52, 211, 153, 0.55)); }
}
.vault-cylinder-label {
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #6ee7b7;
    background: rgba(6, 10, 18, 0.75);
    padding: 1px 8px;
    border-radius: 999px;
    border: 1px solid rgba(52, 211, 153, 0.3);
    white-space: nowrap;
}

/* Dashboard health metrics */
.vault-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    gap: 0.65rem;
    max-width: 780px;
    margin: 0 auto 1.25rem;
}
.vault-metric {
    background: rgba(8, 12, 22, 0.68);
    border: 1px solid rgba(52, 211, 153, 0.18);
    border-radius: 0.75rem;
    padding: 0.7rem 0.85rem;
    text-align: center;
    backdrop-filter: blur(10px);
}
.vault-metric-label {
    display: block;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    margin-bottom: 0.3rem;
}
.vault-metric-value {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: #ecfdf5;
    line-height: 1;
}
.vault-metric small {
    font-size: 0.62rem;
    color: #34d399;
}

/* Inline Solana connection meter (extracted from .bsafe-split) */
.bsafe-solana-meter {
    text-align: left;
    padding: 0.9rem;
}
.bsafe-meter-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.68rem;
    color: #64748b;
}
.bsafe-meter-track {
    height: 4px;
    background: rgba(52, 211, 153, 0.2);
    border-radius: 999px;
    margin: 6px 0;
}
.bsafe-meter-fill {
    width: 99.98%;
    height: 100%;
    background: #34d399;
    border-radius: 999px;
}
.bsafe-meter-status {
    font-size: 0.85rem;
    color: #ecfdf5;
}

.admin-oracle-meta {
    margin-top: 0.75rem;
    font-size: 0.78rem;
    color: #94a3b8;
}

/* Skeleton Loading Animation */
.stat-loading {
    display: inline-block;
    animation: stat-pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes stat-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* AI Supervision Note */
.bsafe-ai-note {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #a5b4fc;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.25);
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    margin-top: 0.5rem;
}
