/* ============================================================
    FIBONACCI STREAK HUD & STOCK TICKER
    ============================================================ */
.chat-header { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; width:100%; }
.chat-subtitle,.chat-footnote { margin:4px 0 12px; color:var(--muted); font-size:10px; line-height:1.5; }
.chat-rooms-bar { display:flex; gap:8px; width:100%; overflow-x:auto; white-space:nowrap; padding:6px 2px 10px; margin-bottom:8px; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
.chat-rooms-bar::-webkit-scrollbar { display:none; }
.room-tab { flex:0 0 auto; display:inline-flex; align-items:center; gap:6px; padding:6px 12px; border:1px solid rgba(255,255,255,.1); border-radius:99px; color:#94a3b8; background:rgba(255,255,255,.04); font-family:var(--font-display); font-size:11px; font-weight:700; cursor:pointer; transition:all .2s ease; }
.room-tab:hover { border-color:rgba(0,255,204,.4); color:#fff; }
.room-tab.active { border-color:#00ffcc; color:#00ffcc; background:rgba(0,255,204,.15); box-shadow:0 0 10px rgba(0,255,204,.25); }
.room-flag { display:block; width:22px; height:16px; object-fit:cover; flex:0 0 auto; border-radius:2px; box-shadow:0 0 0 1px rgba(255,255,255,.16); }
.chat-status { flex:0 0 auto; border:1px solid rgba(255,255,255,.18); border-radius:999px; padding:5px 8px; color:#cbd5e1; font-size:9px; }
.chat-status[data-state="connected"] { border-color:#22c55e; color:#22c55e; }
.chat-status[data-state="error"] { border-color:#ef4444; color:#fca5a5; }
.chat-notice { margin:0 0 10px; padding:9px 11px; border:1px solid rgba(239,68,68,.45); border-radius:9px; color:#fecaca; background:rgba(127,29,29,.2); font-size:11px; }
.chat-messages { display:flex; flex-direction:column; gap:9px; width:100%; min-height:180px; max-height:55vh; overflow-y:auto; padding:10px; border:1px solid rgba(0,255,204,.18); border-radius:12px; background:rgba(3,7,18,.72); }
.chat-message { position:relative; padding:9px 10px; border:1px solid rgba(255,255,255,.08); border-radius:10px; background:rgba(255,255,255,.035); overflow-wrap:anywhere; }
.chat-message-head { display:flex; align-items:center; gap:6px; margin-bottom:5px; }
.chat-message-name { color:#e2e8f0; font-size:11px; font-weight:700; }
.chat-role { padding:2px 5px; border-radius:5px; color:#03120f; background:#00ffcc; font-size:8px; font-weight:800; }
.chat-message-time { margin-left:auto; color:#64748b; font-size:9px; }
.chat-message-text { margin:0; color:#cbd5e1; font-size:12px; line-height:1.5; white-space:pre-wrap; }
.chat-message-deleted { color:#64748b; font-style:italic; }
.chat-delete { flex:0 0 auto; border:0; padding:2px 5px; color:#fca5a5; background:transparent; font-size:10px; cursor:pointer; }
.chat-compose { display:flex; gap:8px; align-items:stretch; width:100%; margin-top:10px; }
.chat-compose textarea { flex:1; min-width:0; resize:vertical; padding:10px; border:1px solid rgba(255,255,255,.14); border-radius:9px; color:#fff; background:rgba(3,7,18,.82); font:inherit; font-size:12px; }
.chat-compose .action-btn { width:auto; min-width:64px; margin:0; }
.chat-compose .action-btn:disabled { opacity:.45; cursor:not-allowed; }
.chat-footnote { margin:8px 0 0; }
.chat-retry { margin-top:8px; }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

.fibo-streak-hud { width:100%; background:linear-gradient(165deg,rgba(14,16,32,.9),rgba(5,6,14,.95)); border:1.5px solid rgba(0,255,204,.35); border-radius:var(--radius-lg); padding:12px 14px; margin-bottom:14px; cursor:pointer; box-shadow:0 8px 24px rgba(0,0,0,.4),0 0 14px rgba(0,255,204,.1); transition:transform .18s ease,border-color .2s ease,box-shadow .2s ease; }
.fibo-streak-hud:active { transform:scale(.985); border-color:var(--accent); box-shadow:0 0 20px rgba(0,255,204,.25); }
.fibo-hud-top,.fibo-hud-bottom { display:flex; justify-content:space-between; align-items:center; }
.fibo-hud-top { margin-bottom:10px; }
.fibo-streak-info,.fibo-market-group { display:flex; align-items:center; gap:8px; }
.fibo-flame-icon { font-size:18px; filter:drop-shadow(0 0 8px #ff7a00); }
.fibo-streak-titles { display:flex; flex-direction:column; text-align:left; }
.fibo-streak-label { font-size:9.5px; font-family:var(--font-mono); color:var(--muted); letter-spacing:.8px; }
.fibo-streak-days { font-family:var(--font-display); font-size:13.5px; color:#fff; }
.fibo-trend-pill { display:flex; align-items:center; gap:4px; padding:4px 8px; border-radius:8px; font-family:var(--font-mono); font-size:10px; font-weight:800; letter-spacing:.5px; transition:all .25s ease; }
.fibo-trend-pill.up { background:rgba(34,197,94,.14); border:1px solid #22c55e; color:#22c55e; box-shadow:0 0 10px rgba(34,197,94,.25); }
.fibo-trend-pill.down { background:rgba(239,68,68,.18); border:1px solid #ef4444; color:#ef4444; box-shadow:0 0 14px rgba(239,68,68,.4); animation:flashAlert 1.2s ease-in-out infinite; }
.fibo-trend-pill.neutral { background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.15); color:var(--muted); }
.fibo-trend-pill.up .trend-arrow { animation:bounceUp 1.4s ease-in-out infinite; }
.fibo-trend-pill.down .trend-arrow { animation:bounceDown 1.4s ease-in-out infinite; }
@keyframes bounceUp { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-2px)} }
@keyframes bounceDown { 0%,100%{transform:translateY(0)} 50%{transform:translateY(2px)} }
@keyframes flashAlert { 0%,100%{opacity:1} 50%{opacity:.65} }
.fibo-multiplier-badge { background:linear-gradient(135deg,rgba(255,215,0,.18),rgba(255,122,0,.15)); border:1px solid #ffd700; border-radius:10px; padding:4px 10px; display:flex; flex-direction:column; align-items:center; box-shadow:0 0 12px rgba(255,215,0,.25); }
.fibo-mult-val { font-family:var(--font-display); font-size:14.5px; font-weight:900; color:#ffd700; line-height:1; }
.fibo-mult-sub { font-size:7.5px; font-family:var(--font-mono); color:#ffb703; letter-spacing:.5px; }
.fibo-ladder-bar { position:relative; width:100%; height:18px; background:rgba(0,0,0,.5); border:1px solid rgba(255,255,255,.08); border-radius:99px; margin-bottom:8px; display:flex; align-items:center; }
.fibo-ladder-fill { position:absolute; left:0; top:0; bottom:0; background:linear-gradient(90deg,#0099ff,#00ffcc); border-radius:99px; box-shadow:0 0 10px rgba(0,255,204,.6); transition:width .4s ease; }
.fibo-ladder-points { position:relative; z-index:2; width:100%; display:flex; justify-content:space-between; padding:0 6px; }
.fibo-point { font-family:var(--font-mono); font-size:8px; font-weight:bold; color:rgba(255,255,255,.35); }
.fibo-point.active { color:#030712; background:#00ffcc; border-radius:50%; width:12px; height:12px; display:inline-flex; align-items:center; justify-content:center; font-size:7.5px; box-shadow:0 0 8px #00ffcc; }
.fibo-hud-bottom { font-size:10px; font-family:var(--font-mono); color:var(--muted); }
.fibo-info-hint { color:var(--accent); text-decoration:underline; }

/* ============================================================
   FIBONACCI MATRIX MODAL STYLES
   ============================================================ */
.fibo-matrix-modal {
    max-width: 440px !important;
    max-height: 86vh;
    overflow-y: auto;
    padding: 22px !important;
    text-align: left;
    background: #090c1a !important;
    border: 1.5px solid rgba(0, 255, 204, 0.4) !important;
    box-shadow: 0 0 35px rgba(0, 255, 204, 0.25) !important;
    border-radius: 18px !important;
}
.fibo-modal-header { display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.fibo-header-icon { font-size:26px; }
.fibo-modal-header h3 { margin:0; font-size:16px; color:#00FFCC; font-family:'Orbitron',sans-serif; }
.fibo-modal-header p { margin:2px 0 0; font-size:11px; color:#94a3b8; }
.fibo-explain-card { background:rgba(0,255,204,.06); border:1px solid rgba(0,255,204,.25); border-radius:12px; padding:12px 14px; margin-bottom:14px; }
.explain-title { font-size:12px; font-weight:700; color:#FFD700; margin-bottom:4px; }
.explain-body { font-size:11.5px; color:#cbd5e1; line-height:1.5; }
.fibo-tiers-list { display:flex; flex-direction:column; gap:6px; margin-bottom:14px; }
.fibo-tier-item { display:flex; justify-content:space-between; align-items:center; gap:8px; padding:9px 12px; background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.06); border-radius:8px; transition:all .2s ease; }
.tier-left,.tier-right { display:flex; align-items:center; gap:8px; }
.tier-left { min-width:0; }
.tier-day { font-size:12px; font-weight:600; color:#fff; white-space:nowrap; }
.tier-code { font-family:'JetBrains Mono',monospace; font-size:10px; color:#64748b; }
.tier-right { flex-shrink:0; }
.tier-rate { font-family:'JetBrains Mono',monospace; font-size:12px; font-weight:700; color:#fff; white-space:nowrap; }
.tier-tag { font-family:'JetBrains Mono',monospace; font-size:9.5px; font-weight:700; padding:2px 7px; border-radius:5px; white-space:nowrap; }
.tier-tag.base { background:rgba(255,255,255,.06); color:#94a3b8; }
.tier-tag.boost { background:rgba(56,189,248,.15); color:#38bdf8; border:1px solid #38bdf8; }
.tier-tag.golden { background:rgba(255,215,0,.15); color:#FFD700; border:1px solid #FFD700; }
.tier-tag.double { background:rgba(0,255,204,.15); color:#00FFCC; border:1px solid #00FFCC; }
.tier-tag.high { background:rgba(192,132,252,.15); color:#c084fc; border:1px solid #c084fc; }
.tier-tag.peak { background:rgba(34,197,94,.2); color:#22c55e; border:1px solid #22c55e; }
.fibo-tier-item.is-current-active { background:linear-gradient(90deg,rgba(0,255,204,.18),rgba(0,102,255,.12)) !important; border:1.5px solid #00FFCC !important; box-shadow:0 0 16px rgba(0,255,204,.3) !important; transform:scale(1.01); }
.fibo-tier-item.is-current-active .tier-day { color:#00FFCC !important; font-weight:800; }
.fibo-tier-item.is-current-active::after { content:'● ACTIVE'; font-family:'JetBrains Mono',monospace; font-size:9px; font-weight:800; color:#00FFCC; background:rgba(0,255,204,.18); border:1px solid #00FFCC; padding:2px 6px; border-radius:4px; margin-left:6px; white-space:nowrap; }
.fibo-rules-summary { display:flex; flex-direction:column; gap:6px; font-size:11px; color:#cbd5e1; }
.rule-box { background:rgba(255,255,255,.03); padding:8px 10px; border-radius:7px; line-height:1.4; }

@media (max-width: 380px) {
    .fibo-matrix-modal { padding:18px 14px !important; }
    .fibo-tier-item { padding:8px; gap:5px; }
    .tier-left,.tier-right { gap:5px; }
    .tier-tag { font-size:8px; padding:2px 4px; }
}

/* ============================================================
    FIBONACCI MINING GUIDE
    ============================================================ */
.fibo-guide-container { width:100%; max-width:860px; margin:0 auto 18px; padding:10px 0 0; color:#e2e8f0; line-height:1.6; }
.fibo-guide-header { text-align:center; margin-bottom:18px; }
.fibo-guide-badge { display:inline-block; font-family:var(--font-mono); font-size:9px; font-weight:700; letter-spacing:1px; color:var(--accent); background:rgba(0,255,204,.08); border:1px solid rgba(0,255,204,.35); padding:4px 10px; border-radius:99px; margin-bottom:8px; }
.fibo-guide-header h2 { font-family:var(--font-display); font-size:18px; color:#fff; margin:0 0 7px; }
.fibo-guide-header p { color:#94a3b8; font-size:11.5px; max-width:620px; margin:0 auto; }
.fibo-guide-card { background:linear-gradient(145deg,rgba(14,16,32,.85),rgba(7,9,20,.95)); border:1px solid rgba(255,255,255,.08); border-radius:16px; padding:16px; display:flex; gap:12px; margin-bottom:16px; box-shadow:0 12px 30px rgba(0,0,0,.35); }
.fibo-guide-card.highlight-card { border-color:rgba(0,255,204,.4); box-shadow:0 12px 35px rgba(0,255,204,.1); }
.fibo-guide-card .card-icon { font-size:24px; flex-shrink:0; }
.fibo-guide-card .card-content h3 { color:#fff; font-family:var(--font-display); font-size:14px; margin:0 0 6px; }
.fibo-guide-card .card-content p { font-size:11.5px; color:#cbd5e1; margin:0 0 10px; }
.example-box { background:rgba(0,0,0,.5); border:1px solid rgba(0,255,204,.25); border-radius:10px; padding:10px 12px; font-size:10.5px; }
.example-line { display:flex; justify-content:space-between; align-items:center; border-bottom:1px dashed rgba(255,255,255,.1); padding-bottom:6px; margin-bottom:6px; flex-wrap:wrap; gap:5px; }
.ex-label { color:#94a3b8; font-family:var(--font-mono); }
.example-line strong { color:#ffd700; }
.example-list { margin:0; padding-left:16px; color:#cbd5e1; display:grid; gap:3px; }
.example-list code { color:var(--accent); font-family:var(--font-mono); background:rgba(0,0,0,.4); padding:1px 4px; border-radius:4px; }
.fibo-table-wrapper { background:rgba(7,9,20,.7); border:1px solid rgba(255,255,255,.08); border-radius:16px; padding:16px; margin-bottom:16px; overflow-x:auto; }
.table-title { font-family:var(--font-display); font-size:14px; color:#fff; margin:0 0 10px; }
.fibo-matrix-guide-table { width:100%; border-collapse:collapse; font-size:10.5px; min-width:430px; }
.fibo-matrix-guide-table th { text-align:left; padding:7px 8px; border-bottom:1.5px solid rgba(255,255,255,.1); color:#94a3b8; font-family:var(--font-mono); font-size:9px; }
.fibo-matrix-guide-table td { padding:8px; border-bottom:1px solid rgba(255,255,255,.04); }
.active-example-row { background:rgba(0,255,204,.08); border-left:3px solid var(--accent); }
.active-example-row td { color:#fff; font-weight:700; }
.peak-row { background:rgba(74,222,128,.08); }
.status-badge { display:inline-block; padding:2px 6px; border-radius:6px; font-size:8px; font-weight:700; font-family:var(--font-mono); white-space:nowrap; }
.status-badge.base { background:rgba(255,255,255,.08); color:#94a3b8; }
.status-badge.boost { background:rgba(0,153,255,.15); color:#38bdf8; }
.status-badge.golden { background:rgba(255,215,0,.15); color:#ffd700; border:1px solid rgba(255,215,0,.3); }
.status-badge.double { background:rgba(0,255,204,.18); color:var(--accent); border:1px solid var(--accent); }
.status-badge.high { background:rgba(168,85,247,.18); color:#c084fc; }
.status-badge.peak { background:rgba(34,197,94,.2); color:#4ade80; border:1px solid #22c55e; }
.fibo-pillars-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-bottom:16px; }
.pillar-card { background:rgba(10,12,24,.85); border:1px solid rgba(255,255,255,.06); border-radius:14px; padding:12px; }
.pillar-icon { font-size:20px; margin-bottom:7px; }
.pillar-icon.green-icon { color:#22c55e; } .pillar-icon.teal-icon { color:var(--accent); } .pillar-icon.gold-icon { color:#ffd700; }
.pillar-card h4 { font-family:var(--font-display); color:#fff; font-size:12px; margin:0 0 5px; }
.pillar-card p { font-size:10px; color:#94a3b8; margin:0; line-height:1.45; }
.fibo-warning-box { background:rgba(239,68,68,.08); border:1px solid rgba(239,68,68,.35); border-radius:12px; padding:11px 13px; display:flex; align-items:center; gap:10px; font-size:10.5px; color:#fca5a5; }
.warning-icon { font-size:19px; flex-shrink:0; }
@media (max-width:600px) { .fibo-pillars-grid { grid-template-columns:1fr; } .fibo-guide-card { padding:13px; } .fibo-guide-header h2 { font-size:16px; } }

/* ============================================================
   LUXA PROTOCOL — Professional Crypto Interface v2.0
   Design system: dark glassmorphism / neon / mini-blockchain
   ============================================================ */

:root {
    --bg-0: #05050e;
    --bg-1: #0b0b1c;
    --surface: rgba(255, 255, 255, 0.045);
    --surface-2: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(0, 255, 204, 0.4);

    --accent: #00ffcc;
    --accent-dim: rgba(0, 255, 204, 0.12);
    --orange: #ff7a00;
    --orange-dim: rgba(255, 122, 0, 0.15);
    --blue: #4f7cff;
    --violet: #8b5cf6;
    --gold: #f6c453;
    --green: #22e58a;
    --red: #ff5c7a;

    --text: #f2f5ff;
    --muted: #8a93b8;

    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 13px;

    --shadow-card: 0 10px 34px rgba(0, 0, 0, 0.45);
    --glow-accent: 0 0 22px rgba(0, 255, 204, 0.22);
    --glow-blue: 0 0 22px rgba(79, 124, 255, 0.28);
    --glow-orange: 0 0 24px rgba(255, 122, 0, 0.35);

    --font-display: 'Space Grotesk', 'Orbitron', sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

/* REGOLA UNIVERSALE ANTI-SFONDAMENTO: IMPEDISCE IMMAGINI GIGANTI */
img, svg, canvas {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

html, body {
    height: 100%;
    min-height: 100%;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden !important;
    background-color: var(--bg-0);
    color: var(--text);
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    letter-spacing: 0.2px;
    overscroll-behavior: none;
    -webkit-touch-callout: none;
}

audio { display: none; }
input, textarea { user-select: text; }

/* ============================================================
   BACKGROUND — Blockchain Grid & Gradient
   ============================================================ */
.bg-gradient {
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 45% at 50% -10%, rgba(79, 124, 255, 0.16), transparent 60%),
        radial-gradient(ellipse 55% 35% at 85% 110%, rgba(0, 255, 204, 0.10), transparent 60%),
        radial-gradient(ellipse 45% 35% at 10% 100%, rgba(139, 92, 246, 0.10), transparent 60%),
        linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 55%);
}

.bg-gradient::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(120, 150, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 150, 255, 0.05) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 80%);
    pointer-events: none;
}

/* ============================================================
   SOVEREIGN TELEMETRY LOADING SCREEN — LUXA CYBER DARK
   ============================================================ */
.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: radial-gradient(circle at 50% 38%, #09142c 0%, #04091a 50%, #010309 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow: hidden;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s ease, visibility 0.5s ease;
}

/* Subtle Cyber Grid Background */
.loading-bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 255, 204, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 204, 0.028) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 75%);
}

/* Ambient Radial Nebula Glow */
.loading-glow-orb {
    position: absolute;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(0, 255, 204, 0.14) 0%, rgba(168, 85, 247, 0.08) 45%, transparent 70%);
    border-radius: 50%;
    filter: blur(48px);
    pointer-events: none;
    animation: loadingOrbBreathe 4.5s ease-in-out infinite alternate;
}

@keyframes loadingOrbBreathe {
    0% { transform: scale(0.92); opacity: 0.65; }
    100% { transform: scale(1.15); opacity: 0.95; }
}

.loading-center-card {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 360px;
}

/* SAFE COMBINATION DIAL HUD */
.safe-combination-dial {
    position: relative;
    width: 156px;
    height: 156px;
    margin: 0 auto 18px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.safe-dial-pointer {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #00FFCC;
    filter: drop-shadow(0 0 8px rgba(0, 255, 204, 0.95));
    z-index: 10;
}

.safe-dial-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.safe-dial-ticks {
    transform-origin: 100px 100px;
    animation: safeDialCounter 50s linear infinite;
}

.safe-laser-arc {
    transform-origin: 100px 100px;
    animation: safeLaserOrbit 4.5s linear infinite;
    filter: drop-shadow(0 0 10px rgba(0, 255, 204, 0.85));
}

.safe-laser-bead {
    position: absolute;
    inset: 0;
    pointer-events: none;
    animation: safeLaserOrbit 4.5s linear infinite;
    z-index: 6;
}

.safe-bead-dot {
    position: absolute;
    top: 13px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00FFCC;
    box-shadow: 0 0 16px 4px rgba(0, 255, 204, 0.95), 0 0 5px #ffffff;
}

.safe-core-emblem {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 82px;
    height: 82px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #0c1630 0%, #030611 100%);
    border: 1.5px solid rgba(0, 255, 204, 0.4);
    box-shadow: 0 0 28px rgba(0, 255, 204, 0.35), inset 0 0 14px rgba(0, 0, 0, 0.85);
    z-index: 5;
    animation: corePulse 3s ease-in-out infinite alternate;
}

@keyframes corePulse {
    0% {
        box-shadow: 0 0 20px rgba(0, 255, 204, 0.25), inset 0 0 12px rgba(0, 0, 0, 0.85);
        border-color: rgba(0, 255, 204, 0.35);
    }
    100% {
        box-shadow: 0 0 32px rgba(0, 255, 204, 0.45), inset 0 0 16px rgba(0, 0, 0, 0.9);
        border-color: rgba(0, 255, 204, 0.7);
    }
}

.safe-emblem-img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    border-radius: 50%;
    user-select: none;
    filter: drop-shadow(0 0 10px rgba(0, 255, 204, 0.3));
}

@keyframes safeLaserOrbit {
    to { transform: rotate(360deg); }
}

@keyframes safeDialCounter {
    to { transform: rotate(-360deg); }
}

/* BRAND LOGO BANNER */
.loading-brand-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    width: 100%;
    max-width: 290px;
}

.loading-logo-banner {
    width: 100%;
    max-width: 260px;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 22px rgba(0, 255, 204, 0.3)) drop-shadow(0 0 45px rgba(168, 85, 247, 0.2));
    animation: logoGlowPulse 2.8s ease-in-out infinite alternate;
}

@keyframes logoGlowPulse {
    from {
        filter: drop-shadow(0 0 18px rgba(0, 255, 204, 0.2)) drop-shadow(0 0 35px rgba(168, 85, 247, 0.15));
        transform: scale(0.99);
    }
    to {
        filter: drop-shadow(0 0 28px rgba(0, 255, 204, 0.38)) drop-shadow(0 0 55px rgba(168, 85, 247, 0.28));
        transform: scale(1.01);
    }
}

/* PROTOCOL BADGE */
.loading-protocol-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(0, 255, 204, 0.08);
    border: 1px solid rgba(0, 255, 204, 0.25);
    border-radius: 99px;
    margin-bottom: 18px;
    backdrop-filter: blur(6px);
}

.loading-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00FFCC;
    box-shadow: 0 0 8px #00FFCC;
    animation: blinkGlow 1.2s infinite;
}

.loading-badge-txt {
    font-family: 'Orbitron', monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #94A3B8;
}

/* PROGRESS BAR */
.loading-bar-container {
    width: 260px;
    height: 5px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 14px;
    border: 1px solid rgba(0, 255, 204, 0.28);
    box-shadow: 0 0 18px rgba(0, 255, 204, 0.15);
    position: relative;
}

.loading-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #2563EB 0%, #00FFCC 60%, #A855F7 100%);
    border-radius: 99px;
    box-shadow: 0 0 14px rgba(0, 255, 204, 0.85);
    transition: width 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
}

.loading-bar-glow-edge {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 12px;
    background: #FFFFFF;
    box-shadow: 0 0 12px 2px #00FFCC;
    border-radius: 99px;
    opacity: 0.85;
}

/* TELEMETRY STATUS BOX */
.loading-status-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #94a3b8;
    background: rgba(3, 7, 18, 0.65);
    border: 1px solid rgba(0, 255, 204, 0.18);
    padding: 6px 16px;
    border-radius: 99px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
}

.loading-text {
    color: #cbd5e1;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    min-width: 220px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.loading-pulse-icon {
    color: #00FFCC;
    font-size: 11px;
    animation: blinkGlow 1s ease-in-out infinite;
}

@keyframes blinkGlow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; text-shadow: 0 0 8px #00FFCC; }
}

.loading-pct {
    color: #00FFCC;
    font-weight: 700;
}

/* ============================================================
   NETWORK SWITCHER (MAINNET / TESTNET)
   ============================================================ */
.network-switch-bar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(12, 14, 26, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 8px 12px;
    margin-top: 8px;
    margin-bottom: 14px;
    backdrop-filter: blur(12px);
    box-sizing: border-box;
}

.network-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
}

.net-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
    transition: all 0.3s ease;
}

.net-dot.testnet {
    background: var(--gold);
    box-shadow: 0 0 8px var(--gold);
}

.network-toggle-group {
    display: flex;
    gap: 4px;
    background: rgba(0, 0, 0, 0.45);
    padding: 3px;
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.net-btn {
    border: none;
    background: transparent;
    color: var(--muted);
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 99px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.net-btn.active {
    background: rgba(0, 255, 204, 0.15);
    color: var(--accent);
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.2);
}

.net-btn.testnet-active {
    background: rgba(246, 196, 83, 0.2) !important;
    color: var(--gold) !important;
    box-shadow: 0 0 10px rgba(246, 196, 83, 0.3) !important;
}

.testnet-sandbox-banner {
    width: 100%;
    background: rgba(246, 196, 83, 0.08);
    border: 1.5px dashed var(--gold);
    border-radius: var(--radius-lg);
    padding: 12px 14px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.testnet-banner-content {
    text-align: left;
    min-width: 0;
}

.testnet-badge {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 2px;
}

.testnet-banner-content p {
    font-size: 10.5px;
    color: #e2e8f0;
    line-height: 1.35;
    margin: 0;
}

.btn-faucet {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: none;
    color: #000;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 800;
    padding: 8px 12px;
    border-radius: 9px;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
    transition: transform 0.15s ease;
}

.btn-faucet:active {
    transform: scale(0.95);
}

/* ============================================================
   ICONS INLINE
   ============================================================ */
.token-inline-icon {
    width: 15px !important;
    height: 15px !important;
    vertical-align: -2px;
    object-fit: cover;
    border-radius: 50%;
    display: inline-block;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: calc(9px + var(--tg-safe-area-inset-top, env(safe-area-inset-top, 0px))) 14px 9px;
    z-index: 800;
    background: rgba(7, 7, 18, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}
.user-profile { display: flex; align-items: center; gap: 10px; min-width: 0; }

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(79,124,255,0.25), rgba(0,255,204,0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    border: 1px solid var(--border-strong);
    box-shadow: var(--glow-accent);
    overflow: visible !important;
    flex-shrink: 0;
}
.avatar img, .lb-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}
.user-info { display: flex; flex-direction: column; overflow: hidden; min-width: 0; }
.user-info-heading { display: flex; align-items: center; gap: 6px; min-width: 0; }
.user-name {
    min-width: 0;
    flex: 1;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text);
    font-family: var(--font-display);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.user-handle {
    font-size: 10.5px;
    color: var(--muted);
    font-family: var(--font-mono);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top-right-group { display: flex; align-items: center; gap: 8px; min-width: 0; }
.top-balances { display: flex; flex-direction: column; gap: 4.5px; align-items: flex-end; min-width: 0; }

.top-balance {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(12, 24, 46, 0.95), rgba(6, 14, 28, 0.95));
    padding: 3.5px 8px 3.5px 6px;
    border-radius: 99px;
    border: 1px solid rgba(0, 255, 204, 0.45);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 10px rgba(0, 255, 204, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    min-width: 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.top-balance:hover {
    border-color: rgba(0, 255, 204, 0.85);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.6), 0 0 18px rgba(0, 255, 204, 0.35);
    transform: translateY(-1px);
}
.top-balance .token-icon {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px rgba(0, 255, 204, 0.55));
    transition: transform 0.2s ease;
}
.top-balance:hover .token-icon {
    transform: scale(1.08) rotate(5deg);
}

#topBalance {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    line-height: 1;
}
.tb-int {
    color: #FFFFFF;
    font-size: 12.5px;
    font-weight: 800;
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    letter-spacing: -0.01em;
}
.tb-dec-box {
    display: inline-flex;
    align-items: center;
    padding: 1.5px 5.5px;
    border-radius: 5px;
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.22), rgba(0, 102, 255, 0.16));
    border: 1px solid rgba(0, 255, 204, 0.55);
    color: #00FFCC;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1;
    box-shadow: 0 0 8px rgba(0, 255, 204, 0.25), inset 0 0 5px rgba(0, 255, 204, 0.12);
}
.tb-suffix {
    color: #FFD700;
    font-size: 10.5px;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    margin-left: 1.5px;
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.6);
}
.top-balance.is-mining {
    border-color: rgba(0, 255, 204, 0.7);
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 14px rgba(0, 255, 204, 0.25);
}
.top-balance.is-mining .tb-dec-box {
    animation: tbDecPulse 1.8s infinite ease-in-out;
}
@keyframes tbDecPulse {
    0%, 100% {
        border-color: rgba(0, 255, 204, 0.55);
        box-shadow: 0 0 8px rgba(0, 255, 204, 0.25);
    }
    50% {
        border-color: rgba(0, 255, 204, 0.95);
        box-shadow: 0 0 14px rgba(0, 255, 204, 0.6), inset 0 0 8px rgba(0, 255, 204, 0.25);
        color: #FFFFFF;
    }
}

.top-shard-balance {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(10, 18, 38, 0.95), rgba(5, 10, 22, 0.95));
    padding: 3.5px 8px 3.5px 6px;
    border-radius: 99px;
    border: 1px solid rgba(79, 124, 255, 0.45);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 10px rgba(79, 124, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    min-width: 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.top-shard-balance:hover {
    border-color: rgba(79, 124, 255, 0.85);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.6), 0 0 18px rgba(79, 124, 255, 0.35);
    transform: translateY(-1px);
}
.top-shard-balance .token-icon {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px rgba(79, 124, 255, 0.55));
    transition: transform 0.2s ease;
}
.top-shard-balance:hover .token-icon {
    transform: scale(1.08) rotate(-5deg);
}

#topShardBalance {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    line-height: 1;
}
.tb-shard-val {
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 800;
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    letter-spacing: -0.01em;
}
.tb-shard-suffix {
    color: #38bdf8;
    font-size: 10.5px;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    margin-left: 1px;
    text-shadow: 0 0 6px rgba(56, 189, 248, 0.6);
}

.top-zealy-balance {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    flex: 0 0 auto;
    background: rgba(255, 79, 216, 0.08);
    padding: 3px 6px;
    border-radius: 99px;
    border: 1px solid rgba(255, 79, 216, 0.32);
    color: #fff;
    font: 800 10px/1 'Space Grotesk', -apple-system, sans-serif;
    white-space: nowrap;
}
.top-zealy-icon {
    width: 17px;
    height: 17px;
    object-fit: contain;
    display: block;
    flex: 0 0 auto;
    filter: drop-shadow(0 0 4px rgba(255, 79, 216, 0.55));
}
.top-zealy-suffix {
    color: #ff4fd8;
    font: 900 8px/1 'Orbitron', sans-serif;
}

.settings-btn {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    flex-shrink: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--accent);
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.settings-btn:active { transform: scale(0.9); border-color: var(--accent); box-shadow: var(--glow-accent); }
.settings-btn img { width: 20px !important; height: 20px !important; object-fit: contain; }

/* ============================================================
   PAGE CONTAINER & SCROLLBAR
   ============================================================ */
.page-container {
    position: relative;
    z-index: 1;
    padding-top: calc(88px + var(--tg-safe-area-inset-top, env(safe-area-inset-top, 0px)));
    padding-left: 14px;
    padding-right: 14px;
    padding-bottom: calc(105px + var(--tg-safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
    height: 100%;
    width: 100%;
    max-width: 100vw;
    overflow-y: auto;
    overflow-x: hidden !important;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    box-sizing: border-box;
}
.page-container::-webkit-scrollbar { width: 4px; }
.page-container::-webkit-scrollbar-thumb { background: rgba(0,255,204,0.25); border-radius: 99px; }
.page-container::-webkit-scrollbar-track { background: transparent; }

.page {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    overflow-x: hidden;
    animation: page-in 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.page.active { display: flex; }
@keyframes page-in {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

.section-title {
    font-family: 'Space Grotesk', -apple-system, sans-serif !important;
    font-size: 19.5px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin: 18px 0 12px;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 9px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}
.section-title::before {
    content: '';
    width: 4px;
    height: 18px;
    border-radius: 99px;
    background: linear-gradient(180deg, #00FFCC, #0066FF);
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.85);
    flex-shrink: 0;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 15px;
    width: 100%;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--shadow-card);
    transition: transform 0.18s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}
.card:active { transform: scale(0.985); border-color: var(--border-strong); }

/* ============================================================
   MINING CORE & RING — Quantum Levitation Engine
   ============================================================ */
.mining-rate {
    font-size: 12px;
    color: var(--green);
    font-weight: 600;
    background: rgba(34, 229, 138, 0.08);
    padding: 7px 16px;
    border-radius: 99px;
    border: 1px solid rgba(34, 229, 138, 0.3);
    margin-bottom: 22px;
    font-family: var(--font-mono);
    letter-spacing: 0.5px;
}

.mining-ring-wrap {
    position: relative;
    width: 240px;
    height: 240px;
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    animation: core-levitate 5.4s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}
@keyframes core-levitate {
    0%, 100% { transform: translate3d(0, -6px, 0); }
    50%      { transform: translate3d(0, 7px, 0); }
}
.mining-ring-wrap.boosted { animation-duration: 3.1s; }

.mining-ring-wrap::before {
    content: '';
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0%, rgba(0,255,204,0.14) 12%, transparent 26%, transparent 50%, rgba(79,124,255,0.12) 62%, transparent 76%);
    animation: aura-spin 9s linear infinite;
    filter: blur(2px);
    pointer-events: none;
}
@keyframes aura-spin { to { transform: rotate(360deg); } }
.mining-ring-wrap.boosted::before { animation-duration: 3s; }

.mining-ring-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    pointer-events: none;
}
.mining-ring-track { fill: none; stroke: rgba(255, 255, 255, 0.06); stroke-width: 8; }
.mining-ring-progress {
    fill: none;
    stroke: var(--blue);
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.25s linear;
    filter: drop-shadow(0 0 8px rgba(79, 124, 255, 0.7));
}
.mining-ring-wrap.boosted .mining-ring-progress {
    stroke: var(--gold);
    filter: drop-shadow(0 0 16px rgba(246, 196, 83, 0.9));
}

.mining-ambient-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.mining-core {
    position: relative;
    z-index: 2;
    width: 176px;
    height: 176px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #0c1024 0%, #05060e 100%);
    border: 2px solid rgba(0, 255, 204, 0.45);
    transform: translate3d(0, 0, 0);
    animation: core-breathe 4.2s ease-in-out infinite;
    transition: border-color 0.3s ease;
}
@keyframes core-breathe {
    0%, 100% {
        box-shadow:
            0 0 22px rgba(0, 255, 204, 0.28),
            0 0 60px rgba(79, 124, 255, 0.14),
            inset 0 0 20px rgba(0, 0, 0, 0.9);
    }
    50% {
        box-shadow:
            0 0 40px rgba(0, 255, 204, 0.52),
            0 0 95px rgba(79, 124, 255, 0.30),
            inset 0 0 20px rgba(0, 0, 0, 0.9);
    }
}
.mining-core:active { transform: translate3d(0, 0, 0) scale(0.96); }

.mining-ring-wrap.boosted .mining-core {
    border-color: rgba(255, 215, 0, 0.65);
    animation: core-breathe-gold 1.7s ease-in-out infinite;
}
@keyframes core-breathe-gold {
    0%, 100% {
        box-shadow:
            0 0 26px rgba(255, 215, 0, 0.42),
            0 0 70px rgba(255, 140, 0, 0.20),
            inset 0 0 20px rgba(0, 0, 0, 0.9);
    }
    50% {
        box-shadow:
            0 0 50px rgba(255, 215, 0, 0.72),
            0 0 115px rgba(255, 140, 0, 0.42),
            inset 0 0 20px rgba(0, 0, 0, 0.9);
    }
}

.mining-core-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0%;
    background: linear-gradient(180deg, rgba(0, 255, 204, 0.45) 0%, rgba(79, 124, 255, 0.25) 100%);
    box-shadow: 0 -4px 18px rgba(0, 255, 204, 0.6);
    transition: height 0.4s ease;
    will-change: height;
    transform: translate3d(0, 0, 0);
    pointer-events: none;
}
.mining-core-fill::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -20%;
    width: 140%;
    height: 12px;
    background: radial-gradient(ellipse at center, rgba(0, 255, 204, 0.8), transparent 70%);
    animation: wave-shim 3s ease-in-out infinite alternate;
}
@keyframes wave-shim {
    from { transform: translate3d(-10px, 0, 0); }
    to   { transform: translate3d(10px, 0, 0); }
}
.mining-ring-wrap.boosted .mining-core-fill {
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.5) 0%, rgba(255, 140, 0, 0.25) 100%);
    box-shadow: 0 -4px 18px rgba(255, 215, 0, 0.7);
}

.mining-core-logo {
    position: relative;
    z-index: 3;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    will-change: transform;
    animation: core-float 4s ease-in-out infinite alternate;
}
@keyframes core-float {
    0%   { transform: translate3d(0, 0, 0) scale(1); filter: drop-shadow(0 0 10px rgba(0, 255, 204, 0.5)); }
    100% { transform: translate3d(0, -4px, 0) scale(1.03); filter: drop-shadow(0 0 20px rgba(0, 255, 204, 0.85)); }
}
.mining-ring-wrap.boosted .mining-core-logo {
    animation-duration: 2.2s;
    filter: drop-shadow(0 0 16px rgba(255, 215, 0, 0.8));
}

.timer-display {
    font-family: var(--font-mono);
    font-size: 34px;
    font-weight: 700;
    color: #fff;
    margin-top: 15px;
    text-shadow: 0 0 24px rgba(0, 255, 204, 0.35);
    letter-spacing: 3px;
}
.timer-label {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 20px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ============================================================
    ON-CHAIN TRANSFER MODAL
    ============================================================ */
.token-selector-container { margin-bottom: 16px; }
.token-pills-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.token-pill { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; cursor: pointer; transition: all 0.2s ease-in-out; }
.token-pill:hover { background: rgba(255,255,255,0.08); }
.token-pill.active { background: rgba(0,255,204,0.08); border-color: #00FFCC; box-shadow: 0 0 10px rgba(0,255,204,0.2); }
#pillShards.active { background: rgba(168,85,247,0.08); border-color: #A855F7; box-shadow: 0 0 10px rgba(168,85,247,0.2); }
.token-ico { width: 28px !important; height: 28px !important; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.token-info { display: flex; flex-direction: column; text-align: left; min-width: 0; }
.token-name { font-weight: 700; font-size: 14px; color: #fff; }
.token-sub { font-size: 10px; color: #8e8e93; }
.balance-display-row { display: flex; justify-content: flex-end; gap: 6px; font-size: 11px; color: #94a3b8; margin-top: 6px; }
.balance-val { font-weight: 600; color: #e2e8f0; }
.input-with-max { position: relative; display: flex; align-items: center; }
.input-with-max .input-field { padding-right: 58px; }
.input-with-action { position: relative; display: flex; align-items: center; width: 100%; }
.input-with-action .input-field { width: 100%; padding-right: 95px !important; }
.btn-max { position: absolute; right: 8px; background: rgba(255,255,255,0.1); border: none; color: #00FFCC; font-weight: 700; font-size: 11px; padding: 4px 8px; border-radius: 6px; cursor: pointer; }
.btn-qr-scan {
    position: absolute;
    right: 6px;
    background: rgba(0, 255, 204, 0.12);
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: background 0.2s ease;
}
.btn-qr-scan:active { background: var(--accent); color: #000; }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.modal-header h3 { color: #00FFCC; margin: 0; font-family: 'Orbitron', sans-serif; font-size: 17px; }
.modal-actions { display: flex; gap: 8px; margin-top: 8px; }
.modal-actions .action-btn, .modal-actions .btn-cancel { flex: 1; }
.btn-cancel { border: 1px solid rgba(255,255,255,0.16); border-radius: 10px; padding: 11px 14px; background: rgba(255,255,255,0.06); color: #cbd5e1; cursor: pointer; }
.bridge-percent-btn { background: rgba(255,255,255,0.05) !important; border: 1px solid transparent !important; color: #cbd5e1 !important; }
.bridge-percent-btn.active { background: rgba(0,255,204,0.15) !important; border-color: #00FFCC !important; color: #00FFCC !important; }

/* ============================================================
    BUTTONS
    ============================================================ */
.action-btn, .action-btn-sm, .collect-btn {
    position: relative;
    overflow: hidden;
    font-family: var(--font-display);
    border: none;
    color: #fff;
    cursor: pointer;
    isolation: isolate;
    transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.action-btn::after, .action-btn-sm::after, .collect-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 45%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255,255,255,0.28), transparent);
    transform: skewX(-20deg);
    transition: left 0.55s ease;
    z-index: 1;
    pointer-events: none;
}
.action-btn:active::after, .action-btn-sm:active::after, .collect-btn:active::after { left: 130%; }

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transform: scale(0);
    animation: ripple-anim 0.55s ease-out forwards;
    pointer-events: none;
    z-index: 0;
}
@keyframes ripple-anim { to { transform: scale(3); opacity: 0; } }

/* ============================================================
    REFINED VAULT & MULTI-ASSET STYLES
    ============================================================ */
.wallet-top-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; }
.vault-status-badge { display:inline-flex; align-items:center; gap:6px; font-size:11.5px; color:var(--accent); font-family:var(--font-mono); font-weight:700; }
.status-dot { width:7px; height:7px; border-radius:50%; background:var(--accent); box-shadow:0 0 8px var(--accent); }
.vault-selector { width:auto !important; padding:4px 10px !important; font-size:11px !important; background:rgba(0,102,255,0.2) !important; border:1px solid var(--blue) !important; color:var(--accent) !important; border-radius:8px !important; margin:0 !important; }

/* ============================================================
   ADVANCED VAULT SELECTOR MODAL & MULTI-ACCOUNT CARDS
   ============================================================ */
.vault-selector-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.12), rgba(79, 124, 255, 0.08));
    border: 1px solid rgba(0, 255, 204, 0.35);
    padding: 6px 12px;
    border-radius: var(--radius-md, 12px);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    box-sizing: border-box;
    min-height: 32px;
    line-height: 1;
    white-space: nowrap;
}
.vault-selector-trigger:hover {
    border-color: var(--accent, #00FFCC);
    box-shadow: 0 0 16px rgba(0, 255, 204, 0.25);
    transform: translateY(-1px);
}
.vault-trigger-icon {
    width: 20px !important;
    height: 20px !important;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(0, 255, 204, 0.6));
    flex-shrink: 0;
}
.vault-trigger-label {
    font-family: var(--font-display, 'Space Grotesk', sans-serif);
    font-size: 11.5px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1;
    white-space: nowrap;
}
.vault-trigger-arrow {
    font-size: 10px;
    color: var(--accent, #00FFCC);
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.vault-picker-modal {
    max-width: 390px !important;
    padding: 22px 18px !important;
    background: linear-gradient(170deg, #0d1226 0%, #050713 100%) !important;
    border: 1.5px solid rgba(0, 255, 204, 0.4) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 255, 204, 0.2) !important;
    border-radius: 20px !important;
    text-align: left;
}
.vault-picker-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
}
.vault-picker-logo {
    width: 36px !important;
    height: 36px !important;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 255, 204, 0.5));
}
.vault-picker-titles h3 {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: #00FFCC;
    letter-spacing: 0.8px;
}
.vault-picker-titles p {
    margin: 2px 0 0;
    font-size: 10.5px;
    color: #94a3b8;
    font-family: var(--font-mono, monospace);
}
.vault-accounts-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 4px;
    margin-bottom: 16px;
}
.vault-accounts-list::-webkit-scrollbar {
    width: 4px;
}
.vault-accounts-list::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 204, 0.3);
    border-radius: 99px;
}
.vault-account-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
}
.vault-account-card:hover {
    background: rgba(0, 255, 204, 0.05);
    border-color: rgba(0, 255, 204, 0.35);
    transform: translateX(2px);
}
.vault-account-card.active {
    background: linear-gradient(90deg, rgba(0, 255, 204, 0.14), rgba(79, 124, 255, 0.08));
    border: 1.5px solid #00FFCC;
    box-shadow: 0 0 14px rgba(0, 255, 204, 0.2);
}
.vault-account-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}
.vault-card-avatar {
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px;
    background: rgba(0, 255, 204, 0.1);
    border: 1px solid rgba(0, 255, 204, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.vault-card-avatar img {
    width: 16px !important;
    height: 16px !important;
    object-fit: contain;
}
.vault-card-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.vault-card-name {
    font-family: var(--font-display, sans-serif);
    font-size: 12px;
    font-weight: 700;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vault-account-card.active .vault-card-name {
    color: #00FFCC;
}
.vault-card-addr {
    font-family: var(--font-mono, monospace);
    font-size: 10px;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vault-card-right {
    flex-shrink: 0;
}
.vault-badge-active {
    font-family: var(--font-mono, monospace);
    font-size: 9px;
    font-weight: 800;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid #22c55e;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.btn-switch-vault {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    font-family: var(--font-display, sans-serif);
    font-size: 10.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}
.vault-account-card:hover .btn-switch-vault {
    background: var(--accent, #00FFCC);
    color: #030712;
    border-color: var(--accent, #00FFCC);
}
.vault-picker-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
}
.btn-vault-modal-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 10px;
    font-family: var(--font-display, sans-serif);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.15s ease, filter 0.15s ease;
}
.btn-vault-modal-action:active {
    transform: scale(0.96);
}
.btn-vault-modal-create {
    background: linear-gradient(90deg, #0066FF, #00FFCC);
    color: #030712;
}
.btn-vault-modal-import {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(0, 255, 204, 0.3);
    color: #00FFCC;
}
#walletAddressBox { display:flex; justify-content:space-between; align-items:center; background:rgba(0,0,0,0.45); border:1px solid rgba(0,255,204,0.25); border-radius:12px; padding:8px 12px; margin-bottom:14px; cursor:pointer; transition:border-color 0.2s; }
#walletAddressBox:hover { border-color:var(--accent); }
#walletAddressDisplay { font-family:var(--font-mono); font-size:11.5px; color:var(--accent); word-break:break-all; text-align:left; }
.copy-icon { font-size:15px; margin-left:8px; flex-shrink:0; }
.vault-placeholder { font-size:12px; color:var(--muted); margin:12px 0; }
.vault-migrate-banner { font-size:11px; color:var(--gold); background:rgba(255,215,0,0.08); border:1px solid var(--gold); border-radius:8px; padding:8px; margin-bottom:12px; }
.vault-assets-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:14px; width: 100%; }
.vault-asset-pill { background:rgba(0,0,0,0.35); border:1px solid rgba(255,255,255,0.08); border-radius:14px; padding:10px; display:flex; align-items:center; gap:10px; cursor:pointer; transition:transform 0.15s ease,border-color 0.2s ease,background 0.2s ease; }
.vault-asset-pill:hover { border-color:rgba(0,255,204,0.4); background:rgba(0,255,204,0.04); }
.vault-asset-pill:active { transform:scale(0.96); }
.asset-pill-icon { width:30px !important; height:30px !important; border-radius:50%; object-fit:cover; flex-shrink:0; }
.asset-pill-data { display:flex; flex-direction:column; text-align:left; min-width:0; }
.asset-pill-name { font-size:10px; color:var(--muted); font-family:var(--font-display); font-weight:600; }
.asset-pill-val { font-size:12.5px; color:#fff; font-family:var(--font-mono); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
/* ============================================================
   SOVEREIGN VAULT BUTTONS — STACKED & HIGH-VISIBILITY WHITE FONT
   ============================================================ */
.wallet-action-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-bottom: 12px;
}

.btn-vault-action {
    width: 100%;
    padding: 13.5px 18px;
    border-radius: 12px;
    font-family: 'Space Grotesk', -apple-system, sans-serif !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em;
    cursor: pointer;
    border: 1.5px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    transition: transform 0.16s ease, filter 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    user-select: none;
    -webkit-user-select: none;
}

.primary-send {
    background: linear-gradient(135deg, rgba(0, 200, 255, 0.35) 0%, rgba(0, 102, 255, 0.45) 100%) !important;
    border: 1.5px solid rgba(0, 220, 255, 0.65) !important;
    box-shadow: 0 4px 18px rgba(0, 153, 255, 0.28) !important;
    color: #ffffff !important;
}

.primary-send:hover {
    filter: brightness(1.15);
    border-color: #00e5ff !important;
    box-shadow: 0 6px 24px rgba(0, 229, 255, 0.45) !important;
    transform: translateY(-1px);
}

.btn-vault-action.secondary-receive {
    background: linear-gradient(135deg, rgba(34, 229, 138, 0.32) 0%, rgba(16, 185, 129, 0.42) 100%) !important;
    border: 1.5px solid rgba(34, 229, 138, 0.65) !important;
    box-shadow: 0 4px 18px rgba(34, 229, 138, 0.28) !important;
    color: #ffffff !important;
}

.btn-vault-action.secondary-receive:hover {
    filter: brightness(1.15);
    border-color: #22e58a !important;
    box-shadow: 0 6px 24px rgba(34, 229, 138, 0.45) !important;
    transform: translateY(-1px);
}

.btn-vault-action:active {
    transform: scale(0.97) !important;
}

/* VAULT MANAGEMENT ROW — VERTICALLY STACKED WITH CRISP WHITE FONT */
.vault-management-row { 
    display: flex !important; 
    flex-direction: column !important;
    gap: 9px !important; 
    width: 100% !important;
    margin-bottom: 14px !important;
}

.vault-management-row button,
.btn-vault-mgmt { 
    width: 100% !important; 
    padding: 13px 16px !important;
    font-family: 'Space Grotesk', -apple-system, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7) !important;
    transition: transform 0.16s ease, filter 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
    user-select: none !important;
    -webkit-user-select: none !important;
}

.btn-vault-new {
    background: linear-gradient(135deg, rgba(79, 124, 255, 0.25), rgba(0, 102, 255, 0.20)) !important;
    border: 1.5px solid rgba(79, 124, 255, 0.6) !important;
    box-shadow: 0 4px 14px rgba(79, 124, 255, 0.2) !important;
    color: #ffffff !important;
}

.btn-vault-new:hover {
    background: linear-gradient(135deg, rgba(79, 124, 255, 0.35), rgba(0, 102, 255, 0.28)) !important;
    border-color: #60a5fa !important;
    box-shadow: 0 6px 20px rgba(96, 165, 250, 0.35) !important;
    transform: translateY(-1px) !important;
}

.btn-vault-import {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
}

.btn-vault-import:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-1px) !important;
}

.btn-vault-words {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.18), rgba(255, 180, 0, 0.12)) !important;
    border: 1.5px solid rgba(255, 215, 0, 0.55) !important;
    box-shadow: 0 4px 14px rgba(255, 215, 0, 0.18) !important;
    color: #ffffff !important;
}

.btn-vault-words:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.26), rgba(255, 180, 0, 0.18)) !important;
    border-color: #ffd700 !important;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.35) !important;
    transform: translateY(-1px) !important;
}

.btn-vault-reset {
    background: rgba(239, 68, 68, 0.14) !important;
    border: 1.5px solid rgba(239, 68, 68, 0.5) !important;
    color: #ffffff !important;
}

.btn-vault-reset:hover {
    background: rgba(239, 68, 68, 0.24) !important;
    border-color: #ef4444 !important;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.32) !important;
    transform: translateY(-1px) !important;
}

.vault-management-row button:active,
.btn-vault-mgmt:active {
    transform: scale(0.97) !important;
}

.utility-card { border-color:rgba(0,255,204,0.35) !important; background:rgba(12,14,28,0.85) !important; margin-top:10px; display:flex; flex-direction:column; align-items:stretch !important; width: 100% !important; }
.utility-card-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; }
.card-title-text { font-size:13.5px; color:var(--accent); font-weight:700; font-family:var(--font-display); }
.link-agreement { font-size:11px; color:#88BBFF; text-decoration:underline; }
.bridge-asset-tabs { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-bottom:12px; }
.asset-tab-btn { display:flex; align-items:center; justify-content:center; gap:6px; padding:8px 12px; border-radius:10px; background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.1); color:var(--muted); font-family:var(--font-display); font-weight:700; font-size:12px; cursor:pointer; transition:all 0.2s ease; }
.asset-tab-btn img { width:16px !important; height:16px !important; border-radius:50%; }
.asset-tab-btn.active { background:rgba(0,255,204,0.12); border-color:var(--accent); color:var(--accent); }
.bridge-balance-row { display:flex; justify-content:space-between; font-size:11.5px; color:var(--muted); margin-bottom:8px; }
.bridge-balance-row strong { color:#fff; font-family:var(--font-mono); }
.bridge-percent-chips { display:flex; gap:6px; margin-bottom:10px; }
.bridge-percent-btn { flex:1; padding:6px; border-radius:8px; font-size:11px; background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.08); color:#cbd5e1; cursor:pointer; font-weight:600; }
.bridge-percent-btn.active { background:rgba(0,255,204,0.15); border-color:var(--accent); color:var(--accent); }
.bridge-input-container { display:flex; align-items:center; background:#060812; border:1px solid rgba(255,255,255,0.15); border-radius:10px; padding:6px 12px; margin-bottom:10px; }
.bridge-input-container input { flex:1; background:transparent; border:none; color:#fff; font-family:var(--font-mono); font-size:14px; outline:none; }
.bridge-input-container span { font-size:11px; font-weight:700; color:var(--accent); }
.bridge-calc-box { background:rgba(0,0,0,0.45); border:1px solid rgba(255,255,255,0.07); border-radius:10px; padding:10px 12px; font-size:11px; margin-bottom:12px; }
.calc-line { display:flex; justify-content:space-between; margin-bottom:4px; color:var(--muted); }
.calc-line span:last-child { font-family:var(--font-mono); color:var(--red); }
.calc-divider { height:1px; background:rgba(255,255,255,0.08); margin:6px 0; }
.total-line { margin-bottom:0; color:#fff; }
.total-line strong { color:var(--green); font-family:var(--font-mono); font-size:12.5px; }
.btn-claim-bridge { width:100%; background:linear-gradient(90deg,#00FFCC,#0099FF); color:#000; font-weight:700; padding: 13px; border-radius: 12px; border: none; cursor: pointer; }
.forge-compact-box { margin-top:10px; border-top:1px dashed rgba(255,255,255,0.1); padding-top:10px; }
.btn-forge-action { width:100%; background:linear-gradient(90deg,#9933FF,#6600CC) !important; }
.last-tx-text { font-size:10px; color:#88BBFF; margin-top:6px; word-break:break-all; text-align:center; }
.section-title-row { width:100%; display:flex; justify-content:space-between; align-items:center; margin:14px 0 8px; }
.btn-history-toggle { background:rgba(168,85,247,0.15) !important; border:1px solid var(--border) !important; color:var(--violet) !important; font-size:11px !important; padding:4px 10px !important; }
.history-empty-text { text-align:center; color:#88BBFF; font-size:12px; padding:8px; }
.history-tx-card { width:100%; min-width:0; margin-bottom:8px; padding:10px 12px; display:flex; align-items:center; justify-content:space-between; gap:8px; overflow:hidden; background:rgba(7,9,20,0.7); border:1px solid rgba(255,255,255,0.08); border-radius:12px; }
.history-tx-amount { min-width:0; flex:1; color:#fff; font-size:12px; font-weight:700; line-height:1.25; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.history-tx-hash { flex:0 0 auto; max-width:78px; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; padding:4px 6px; color:#00FFCC; background:transparent; border:1px solid rgba(0,255,204,0.3); border-radius:7px; font-family:var(--font-mono); font-size:9px; cursor:pointer; }
@media (max-width:360px) {
    .history-tx-card { padding:8px; gap:5px; }
    .history-tx-main { gap:6px; }
    .history-tx-hash { max-width:64px; }
    .history-tx-meta { font-size:8px; }
}
.legal-card { margin:14px 0 10px !important; padding:12px 14px !important; background:rgba(15,23,42,0.6) !important; flex-direction:column !important; align-items:stretch !important; gap:6px !important; }
.legal-header { display:flex; justify-content:space-between; align-items:center; }
.legal-tag { display:flex; align-items:center; gap:6px; font-size:11px; font-weight:700; color:var(--muted); font-family:var(--font-mono); }
.chain-badge { font-size:10px; color:var(--accent); background:rgba(0,255,204,0.1); padding:2px 6px; border-radius:4px; font-family:var(--font-mono); }
.legal-text { font-size:10.5px; line-height:1.45; color:#cbd5e1; text-align:left; margin:0; }
.legal-footer { text-align:right; border-top:1px solid rgba(255,255,255,0.05); padding-top:4px; }
.legal-footer a { font-size:10.5px; color:var(--accent); text-decoration:none; font-weight:600; }
.social-card { background:rgba(255,255,255,0.03) !important; margin-bottom:20px !important; }
.btn-x-profile { width:100%; background:#000 !important; border:1px solid #333 !important; color:#fff !important; }

/* ============================================================
    PRO TRANSACTION & IN-APP NOTICE MODALS
    ============================================================ */
.pro-tx-modal { max-width:360px !important; padding:24px 18px 20px !important; background:linear-gradient(175deg,#0d1124 0%,#060710 100%) !important; border:1.5px solid rgba(0,255,204,0.4) !important; box-shadow:0 0 35px rgba(0,255,204,0.2),0 20px 50px rgba(0,0,0,0.8) !important; }
.tx-status-icon-box { width:64px; height:64px; margin:0 auto 12px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:28px; animation:iconPop 0.4s cubic-bezier(0.18,0.89,0.32,1.28) forwards; }
.tx-status-icon-box.success { background:rgba(34,229,138,0.12); border:2px solid #22e58a; box-shadow:0 0 25px rgba(34,229,138,0.35); color:#22e58a; }
.tx-status-icon-box.error { background:rgba(255,92,122,0.12); border:2px solid #ff5c7a; box-shadow:0 0 25px rgba(255,92,122,0.35); color:#ff5c7a; }
@keyframes iconPop { 0% { transform:scale(0.3); opacity:0; } 100% { transform:scale(1); opacity:1; } }
.tx-modal-title { font-family:var(--font-display); font-size:17px; color:#fff; margin-bottom:4px; }
.tx-modal-sub { font-size:11px; color:var(--muted); margin-bottom:16px; font-family:var(--font-mono); }
.tx-receipt-card { background:rgba(0,0,0,0.5); border:1px solid rgba(255,255,255,0.08); border-radius:14px; padding:12px 14px; margin-bottom:16px; text-align:left; }
.receipt-row { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; font-size:11.5px; }
.receipt-label { color:var(--muted); }
.receipt-val { font-family:var(--font-mono); color:#fff; font-weight:600; }
.receipt-val.fee { color:#f87171; }
.receipt-val-highlight { display:flex; align-items:center; gap:6px; font-family:var(--font-mono); font-weight:700; color:var(--accent); font-size:13px; }
.receipt-token-ico { width:17px !important; height:17px !important; border-radius:50%; object-fit:cover; }
.receipt-hash-box { margin-top:10px; padding-top:8px; border-top:1px dashed rgba(255,255,255,0.1); }
.hash-label-row { display:flex; justify-content:space-between; align-items:center; font-size:9.5px; color:var(--muted); letter-spacing:0.8px; font-family:var(--font-mono); margin-bottom:4px; }
.btn-copy-hash { background:rgba(0,255,204,0.15); border:1px solid rgba(0,255,204,0.4); color:var(--accent); font-size:9.5px; padding:2px 6px; border-radius:4px; cursor:pointer; }
.hash-text { font-family:var(--font-mono); font-size:10px; color:#94a3b8; background:rgba(0,0,0,0.4); padding:6px 8px; border-radius:6px; word-break:break-all; user-select:all; }
.tx-modal-actions { display:flex; gap:8px; }
.btn-explorer-link { flex:1.2; background:rgba(0,102,255,0.2) !important; border:1px solid #0066FF !important; color:var(--accent) !important; text-decoration:none; padding:10px !important; }
.btn-done { flex:0.8; background:rgba(255,255,255,0.08) !important; border:1px solid rgba(255,255,255,0.15) !important; color:#fff !important; padding:10px !important; }
.pro-notice-modal { max-width:320px !important; padding:22px 18px !important; text-align:center; }
.notice-icon { font-size:34px; margin-bottom:8px; }
.notice-title { font-family:var(--font-display); font-size:16px; color:#fff; margin-bottom:8px; }
.notice-message { font-size:12px; color:var(--muted); line-height:1.5; margin-bottom:18px; white-space:pre-line; }

.action-btn {
    background: linear-gradient(135deg, var(--blue) 0%, #3451d1 100%);
    border-radius: var(--radius-md);
    padding: 13px 20px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(79, 124, 255, 0.3);
}
.action-btn:active { transform: scale(0.96); box-shadow: 0 2px 10px rgba(79, 124, 255, 0.4); }

.action-btn-sm {
    background: linear-gradient(135deg, var(--blue) 0%, #3451d1 100%);
    border-radius: 11px;
    padding: 9px 16px;
    font-size: 12.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: 0 4px 14px rgba(79, 124, 255, 0.25);
}
.action-btn-sm:active { transform: scale(0.94); }
.action-btn-sm.sell-btn { background: linear-gradient(135deg, #ff5c7a, #d92b4b); box-shadow: 0 4px 14px rgba(255, 92, 122, 0.25); }

.action-btn:disabled, .action-btn-sm:disabled {
    background: rgba(255, 255, 255, 0.07);
    color: var(--muted);
    box-shadow: none;
    cursor: not-allowed;
}

.collect-btn {
    display: none;
    background: linear-gradient(135deg, #00e0a4 0%, #00a878 100%);
    color: #03130d;
    border-radius: var(--radius-lg);
    padding: 17px 40px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1.5px;
    width: 100%;
    margin-top: 15px;
    box-shadow: 0 8px 28px rgba(0, 224, 164, 0.35), inset 0 1px 0 rgba(255,255,255,0.3);
}
.collect-btn:active { transform: scale(0.965); }

/* ============================================================
   TASK CARDS
   ============================================================ */
.task-card {
    width: 100%;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 12px 14px;
    margin-bottom: 10px;
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-card);
    transition: transform 0.15s ease, border-color 0.2s ease;
}
.task-card:active { transform: scale(0.98); border-color: var(--border-strong); }
.task-left { display: flex; align-items: center; gap: 12px; }
.task-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(79,124,255,0.18), rgba(0,255,204,0.08));
    border: 1px solid rgba(79, 124, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.task-icon-box img { width: 25px !important; height: 25px !important; object-fit: contain; }
.task-details { display: flex; flex-direction: column; justify-content: center; }
.task-title { font-size: 13.5px; font-weight: 700; color: var(--text); font-family: var(--font-display); }
.task-reward-tag {
    font-size: 11px;
    font-weight: 600;
    color: var(--gold);
    margin-top: 3px;
    font-family: var(--font-mono);
}

/* ============================================================
   FORMS & MODALS
   ============================================================ */
.form-input, .form-select {
    width: 100%;
    padding: 13px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.35);
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 13px;
    margin-bottom: 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input:focus, .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 255, 204, 0.12);
}
.form-select { appearance: none; }

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 3, 12, 0.85);
    z-index: 10000 !important;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 14px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.modal-overlay[style*="flex"] .modal-content { animation: modal-in 0.32s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes modal-in {
    from { opacity: 0; transform: translateY(26px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-content {
    background: linear-gradient(165deg, rgba(18, 20, 42, 0.97), rgba(9, 10, 24, 0.97));
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-xl);
    padding: 22px;
    width: 92%;
    max-width: 410px;
    max-height: 86vh;
    overflow-y: auto;
    text-align: center;
    position: relative;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65), var(--glow-accent);
}
.modal-content::-webkit-scrollbar { width: 4px; }
.modal-content::-webkit-scrollbar-thumb { background: rgba(0,255,204,0.25); border-radius: 99px; }

.close-btn {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 24px;
    color: var(--muted);
    cursor: pointer;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, background 0.2s ease;
}
.close-btn:hover { color: #fff; background: var(--surface-2); }

.custom-close-btn {
    background: transparent !important;
    border: none !important;
    color: var(--muted) !important;
    font-size: 24px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: color 0.2s ease, background 0.2s ease !important;
}
.custom-close-btn:hover {
    color: var(--accent) !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

/* ============================================================
   AIRDROP MASTER OVERLAY & CINEMATIC SCENERY
   ============================================================ */
.airdrop-master-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 5, 12, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#airdropFireworksCanvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
}

.airdrop-scene-stage {
    position: relative;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 420px;
    padding: 16px;
}

.parachute-interactive {
    cursor: pointer;
    animation: parachuteDescent 1.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards,
               parachuteSway 3.2s ease-in-out infinite alternate 1.8s;
    user-select: none;
}

.parachute-graphic {
    width: 210px;
    max-width: 75vw;
    height: auto;
    filter: drop-shadow(0 15px 35px rgba(255, 122, 0, 0.45));
    transition: transform 0.2s ease;
}

.parachute-interactive:hover .parachute-graphic {
    transform: scale(1.05);
}

.airdrop-touch-badge {
    margin-top: 20px;
    background: var(--orange-dim);
    color: var(--orange);
    border: 1px solid var(--orange);
    border-radius: 20px;
    padding: 8px 18px;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    box-shadow: 0 0 20px rgba(255, 122, 0, 0.25);
    animation: pulseBadge 1.4s infinite;
}

.vault-animation-box {
    position: relative;
    width: 240px;
    height: 240px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
}

.vault-stage-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.vault-shake {
    animation: vaultVibration 0.5s ease-in-out;
}

.vault-glow-open {
    animation: openGlowBurst 1s forwards ease-out;
}

.airdrop-reward-card {
    background: rgba(12, 14, 24, 0.95);
    border: 1.5px solid var(--accent);
    border-radius: var(--radius-xl);
    padding: 20px;
    width: 90%;
    max-width: 340px;
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.25);
    animation: cardFadeIn 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
    text-align: center;
}

.reward-tag {
    font-family: var(--font-display);
    color: var(--orange);
    font-size: 10px;
    letter-spacing: 1.5px;
    font-weight: 900;
}

.reward-title {
    font-family: var(--font-display);
    color: #fff;
    font-size: 16px;
    margin: 6px 0;
}

.reward-sub {
    color: var(--muted);
    font-size: 11px;
    margin-bottom: 14px;
    line-height: 1.4;
}

.reward-display {
    background: rgba(0, 255, 204, 0.08);
    border: 1px dashed var(--accent);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
}

.reward-num {
    font-family: var(--font-mono);
    font-size: 26px;
    font-weight: 900;
    color: var(--accent);
}

.reward-cur {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.btn-claim-airdrop {
    width: 100%;
    padding: 13px;
    border-radius: var(--radius-md);
    background: linear-gradient(90deg, var(--orange), var(--accent));
    color: #000;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 900;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(0, 255, 204, 0.35);
    transition: transform 0.15s ease, filter 0.2s ease;
}
.btn-claim-airdrop:active {
    transform: scale(0.97);
    filter: brightness(1.1);
}

@keyframes parachuteDescent {
    0%   { transform: translateY(-120vh) scale(0.6); opacity: 0; }
    70%  { transform: translateY(15px) scale(1.02); opacity: 1; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes parachuteSway {
    0%   { transform: translateY(0) rotate(-3deg); }
    100% { transform: translateY(-18px) rotate(3deg); }
}

@keyframes pulseBadge {
    0%, 100% { transform: scale(1); opacity: 0.85; }
    50%      { transform: scale(1.05); opacity: 1; box-shadow: 0 0 25px rgba(255, 122, 0, 0.5); }
}

@keyframes vaultVibration {
    0%, 100% { transform: translate(0, 0) rotate(0); }
    20%      { transform: translate(-4px, 2px) rotate(-1deg); }
    40%      { transform: translate(4px, -2px) rotate(1deg); }
    60%      { transform: translate(-3px, -1px) rotate(-0.5deg); }
    80%      { transform: translate(3px, 1px) rotate(0.5deg); }
}

@keyframes openGlowBurst {
    0%   { filter: drop-shadow(0 0 0px var(--accent)); transform: scale(0.96); }
    50%  { filter: drop-shadow(0 0 40px var(--accent)) brightness(1.3); transform: scale(1.04); }
    100% { filter: drop-shadow(0 0 25px rgba(0, 255, 204, 0.6)); transform: scale(1); }
}

@keyframes cardFadeIn {
    0%   { transform: translateY(30px) scale(0.85); opacity: 0; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* ============================================================
   LEADERBOARD
   ============================================================ */
.leaderboard-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; width:100%; }
.leaderboard-heading .section-title { margin-bottom:0; }
.lb-privacy-toggle { flex:0 0 auto; padding:7px 10px; border:1px solid rgba(0,255,204,.45); border-radius:9px; color:#00ffcc; background:rgba(0,255,204,.08); font:600 10px var(--font-display); cursor:pointer; }
.lb-privacy-toggle:hover:not(:disabled) { background:rgba(0,255,204,.16); }
.lb-privacy-toggle:disabled { opacity:.55; cursor:wait; }
.lb-privacy-description { width:100%; margin:7px 0 10px; color:var(--muted); font-size:10px; line-height:1.4; text-align:left; }
.lb-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 10px 14px;
    width: 100%;
    margin-bottom: 8px;
    backdrop-filter: blur(10px);
}
.lb-rank {
    font-weight: 700;
    font-size: 12.5px;
    min-width: 44px;
    color: var(--muted);
    font-family: var(--font-mono);
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}
.lb-crown-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.lb-crown-icon.gold svg { filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.8)); }
.lb-crown-icon.silver svg { filter: drop-shadow(0 0 5px rgba(226, 232, 240, 0.75)); }
.lb-crown-icon.bronze svg { filter: drop-shadow(0 0 5px rgba(205, 127, 50, 0.8)); }

.lb-row.top1 {
    border-color: rgba(255, 215, 0, 0.65);
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.14), rgba(15, 23, 42, 0.85));
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.14);
}
.lb-row.top1 .lb-rank { color: #FFD700; font-weight: 800; }

.lb-row.top2 {
    border-color: rgba(203, 213, 225, 0.55);
    background: linear-gradient(90deg, rgba(203, 213, 225, 0.12), rgba(15, 23, 42, 0.85));
    box-shadow: 0 0 14px rgba(203, 213, 225, 0.1);
}
.lb-row.top2 .lb-rank { color: #E2E8F0; font-weight: 800; }

.lb-row.top3 {
    border-color: rgba(205, 127, 50, 0.6);
    background: linear-gradient(90deg, rgba(205, 127, 50, 0.14), rgba(15, 23, 42, 0.85));
    box-shadow: 0 0 14px rgba(205, 127, 50, 0.12);
}
.lb-row.top3 .lb-rank { color: #FDBA74; font-weight: 800; }

.lb-pagination-wrap {
    width: 100%;
    margin: 14px 0 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.lb-pagination-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
}
.lb-page-btn {
    min-width: 32px;
    height: 32px;
    padding: 0 9px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(15, 23, 42, 0.85);
    color: #cbd5e1;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.lb-page-btn:hover:not(:disabled) {
    border-color: rgba(0, 255, 204, 0.55);
    color: #00FFCC;
}
.lb-page-btn.active {
    background: linear-gradient(135deg, #00FFCC, #0066FF);
    color: #020617;
    border-color: #00FFCC;
    box-shadow: 0 0 12px rgba(0, 255, 204, 0.35);
    font-weight: 800;
}
.lb-page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.lb-pagination-meta {
    font-size: 10.5px;
    color: var(--muted);
    font-family: var(--font-mono);
}
.lb-avatar {
    width: 36px; height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    overflow: hidden;
    flex-shrink: 0;
    font-family: var(--font-display);
}
.lb-name {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lb-name-camouflaged {
    display: inline-block;
    filter: blur(4px);
    opacity: 0.85;
    user-select: none;
    pointer-events: none;
}
.lb-value {
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 600;
    color: var(--green);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ============================================================
   NFT
   ============================================================ */
.nft-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; width: 100%; margin-top: 10px; }
.nft-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 12px;
    text-align: center;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-card);
}
.nft-img-box {
    width: 74px !important; height: 74px !important;
    border-radius: 14px;
    margin: 0 auto 8px;
    border: 1.5px solid rgba(79, 124, 255, 0.4);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.2s ease;
}
.nft-img-box:active { transform: scale(0.93); box-shadow: var(--glow-blue); }
.nft-img-box img { width: 100% !important; height: 100% !important; object-fit: cover; }
.nft-zoom-hint {
    position: absolute;
    bottom: 3px; right: 3px;
    width: 17px; height: 17px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
}
.nft-title { font-size: 11.5px; font-weight: 700; color: var(--text); font-family: var(--font-display); }
.nft-badge {
    display: inline-block;
    font-size: 10px;
    padding: 3px 9px;
    border-radius: 99px;
    margin-top: 5px;
    margin-bottom: 8px;
    font-weight: 700;
    background: var(--accent-dim);
    color: var(--accent);
    font-family: var(--font-mono);
}
.nft-count {
    position: absolute;
    top: 8px; right: 8px;
    background: var(--blue);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 99px;
    z-index: 2;
    font-family: var(--font-mono);
}

/* ============================================================
   WALLET
   ============================================================ */
.wallet-card {
    width: 100%;
    background: linear-gradient(160deg, rgba(79, 124, 255, 0.10), rgba(0, 255, 204, 0.05) 60%, rgba(139, 92, 246, 0.07));
    border-radius: var(--radius-xl);
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(79, 124, 255, 0.3);
    margin-bottom: 15px;
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}
.wallet-card::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 204, 0.12), transparent 70%);
    pointer-events: none;
}
.wallet-balance-row { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 5px 0; }
.wallet-balance {
    font-family: var(--font-mono);
    font-size: 27px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 20px rgba(0, 255, 204, 0.3);
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: middle;
}
.wallet-address {
    font-size: 13px;
    font-weight: 600;
    color: var(--green);
    background: rgba(34, 229, 138, 0.08);
    border: 1px solid rgba(34, 229, 138, 0.3);
    padding: 8px 12px;
    border-radius: var(--radius-md);
    margin-top: 10px;
    display: inline-block;
    font-family: var(--font-mono);
}

.legal-notice-card {
    box-shadow: var(--shadow-card) !important;
    backdrop-filter: blur(10px);
}

.seed-box {
    background: rgba(0, 0, 0, 0.5);
    border: 1px dashed rgba(246, 196, 83, 0.55);
    border-radius: var(--radius-lg);
    padding: 15px;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 12.5px;
    line-height: 2;
    word-spacing: 7px;
    user-select: all;
    box-shadow: inset 0 0 20px rgba(246, 196, 83, 0.06);
}

.ledger-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding: 9px 4px;
    font-size: 12px;
}
.ledger-item:last-child { border-bottom: none; }
.ledger-tx-amount { font-family: var(--font-mono); font-weight: 700; font-size: 12.5px; display: flex; align-items: center; gap: 4px; }
.ledger-tx-amount.send { color: var(--red); }
.ledger-tx-amount.receive { color: var(--green); }

/* ============================================================
   SOVEREIGN VAULT — HIGHWAY TICKER & SERPENT NEON CAROUSEL
   ============================================================ */
.vault-carousel-outer {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    margin: 4px 0 20px;
}

.sovereign-carousel-wrap {
    width: 100%;
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 10px 4px;
}
.sovereign-carousel-wrap::-webkit-scrollbar { display: none; }

#sovereignVaultGrid {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 0 4px !important;
}

.sovereign-card-slot {
    position: relative;
    flex: 0 0 280px !important;
    max-width: 280px !important;
    scroll-snap-align: center !important;
    border-radius: 20px;
    padding: 2.5px;
    overflow: hidden;
    background: #030712;
    cursor: pointer;
    user-select: none;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    display: flex;
    flex-direction: column;
}

.sovereign-card-slot:hover {
    transform: translateY(-4px) scale(1.015);
    box-shadow: 0 16px 46px rgba(0, 255, 204, 0.2);
}

.sovereign-card-slot:active {
    transform: scale(0.97);
}

.sovereign-card-slot::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent 0deg,
        transparent 280deg,
        rgba(0, 255, 204, 0.25) 320deg,
        #00ffcc 360deg
    );
    animation: snakeRotate 3.2s linear infinite;
    z-index: 1;
}

@keyframes snakeRotate {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.sovereign-card-inner {
    position: relative;
    z-index: 2;
    background: #070914;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.sovereign-card-img {
    width: 100% !important;
    height: 310px !important;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid rgba(0, 255, 204, 0.2);
}

.sovereign-highway-ticker {
    background: rgba(3, 7, 18, 0.96);
    padding: 7px 0;
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid rgba(0, 255, 204, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}


.sovereign-highway-ticker:hover .highway-track,
.highway-track:hover {
    animation-play-state: paused;
}
.highway-track {
    display: inline-block;
    white-space: nowrap;
    animation: highwayMarquee 45s linear infinite;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    color: var(--accent);
    text-shadow: 0 0 8px rgba(0, 255, 204, 0.55);
    letter-spacing: 0.8px;
}

@keyframes highwayMarquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.sovereign-card-footer {
    padding: 10px 12px;
    background: #060814;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sovereign-card-title {
    font-family: var(--font-display);
    font-size: 12px;
    color: #fff;
    font-weight: 700;
}

.sovereign-card-badge {
    font-family: var(--font-mono);
    font-size: 9.5px;
    background: rgba(34, 229, 138, 0.12);
    color: var(--green);
    border: 1px solid rgba(34, 229, 138, 0.4);
    padding: 2px 7px;
    border-radius: 5px;
    font-weight: 700;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(7, 9, 24, 0.88);
    border: 1.5px solid var(--accent);
    color: var(--accent);
    font-size: 17px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 0 12px rgba(0, 255, 204, 0.25);
}

.carousel-arrow:hover {
    background: var(--accent);
    color: #030712;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.7);
}

.carousel-arrow.left-arrow { left: -14px; }
.carousel-arrow.right-arrow { right: -14px; }

@media (max-width: 600px) {
    .carousel-arrow { display: none !important; }
    .sovereign-card-slot {
        flex: 0 0 84vw !important;
        max-width: 84vw !important;
    }
}

.carousel-swipe-hint {
    text-align: center;
    font-size: 10px;
    color: var(--muted);
    margin-top: -4px;
    margin-bottom: 8px;
    font-family: var(--font-mono);
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

/* ============================================================
   BOTTOM NAV
   ============================================================ */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: rgba(7, 7, 18, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    padding: 4px 0 calc(4px + var(--tg-safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.55), 0 -1px 0 rgba(0, 255, 204, 0.12);
    /* iOS WebKit GPU compositing & fixed rendering persistence */
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
    will-change: transform;
    pointer-events: auto;
}
.nav-scroll {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-x;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    contain: layout style;
    padding: 0 4px;
}
.nav-scroll::-webkit-scrollbar { display: none; }
.nav-btn {
    font-family: var(--font-display);
    background: none;
    border: none;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: 0 0 auto;
    min-width: 68px;
    flex-shrink: 0;
    scroll-snap-align: center;
    font-size: 10.5px;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 6px 2px;
    transition: color 0.18s ease, transform 0.12s ease;
    position: relative;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}
.nav-btn:active { transform: scale(0.92) translateZ(0); }
.nav-btn::before {
    content: '';
    position: absolute;
    top: -6px;
    width: 24px;
    height: 2.5px;
    border-radius: 99px;
    background: transparent;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}
.nav-btn.active { color: var(--accent); }
.nav-btn.active::before { background: var(--accent); box-shadow: 0 0 10px rgba(0, 255, 204, 0.9); }
.nav-icon-img {
    width: 36px !important;
    height: 36px !important;
    object-fit: contain;
    filter: brightness(0.88) saturate(0.9) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
    transition: filter 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.nav-btn:hover .nav-icon-img {
    filter: brightness(1.05) saturate(1.1) drop-shadow(0 4px 10px rgba(0, 255, 204, 0.4));
    transform: translateY(-2px) scale(1.06) translateZ(0);
}
.nav-btn.active .nav-icon-img {
    filter: brightness(1.22) saturate(1.35) drop-shadow(0 0 12px rgba(0, 255, 204, 0.85)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
    transform: translateY(-2px) scale(1.08) translateZ(0);
}
.nav-hint-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
    height: 5px;
}
.nav-version-tag {
    display: none !important;
}
.nav-hint-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(138, 147, 184, 0.35);
    transition: 0.2s;
    cursor: pointer;
}
.nav-hint-dot:hover {
    background: rgba(0, 255, 204, 0.7);
}
.nav-hint-dot.active {
    background: var(--accent);
    transform: scale(1.3);
    box-shadow: 0 0 6px rgba(0,255,204,0.8);
}
.nav-version-tag {
    font-family: var(--font-mono, monospace);
    font-size: 9.5px;
    font-weight: 700;
    color: rgba(0, 255, 204, 0.85);
    letter-spacing: 0.5px;
    margin-left: 6px;
    padding: 1px 7px;
    background: rgba(0, 255, 204, 0.08);
    border: 1px solid rgba(0, 255, 204, 0.25);
    border-radius: 6px;
}

/* PC / Desktop Scroll Improvements */
@media (hover: hover) and (pointer: fine) {
    .page-container::-webkit-scrollbar {
        width: 6px;
    }
    .page-container::-webkit-scrollbar-thumb {
        background: rgba(0, 255, 204, 0.35);
        border-radius: 99px;
    }
    .page-container::-webkit-scrollbar-thumb:hover {
        background: #00FFCC;
    }
}

/* ============================================================
   VAULT ECOSYSTEM BRAND FOOTER UNDER PROTOCOL NOTICE
   ============================================================ */
.vault-ecosystem-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 22px auto 14px;
    padding-top: 14px;
    width: 100%;
    text-align: center;
}

.vault-brand-logo {
    max-width: 155px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 12px rgba(0, 255, 204, 0.28));
    opacity: 0.94;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.vault-brand-logo:hover {
    opacity: 1;
    transform: scale(1.03);
}

.vault-version-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.5px;
}

.vault-version-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00FFCC;
    box-shadow: 0 0 8px rgba(0, 255, 204, 0.85);
}

/* ============================================================
   TOAST
   ============================================================ */
.toast {
    position: fixed;
    bottom: 96px;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    background: rgba(12, 14, 30, 0.95);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    z-index: 200;
    box-shadow: var(--glow-accent), 0 10px 30px rgba(0,0,0,0.5);
    max-width: 88%;
    text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================================
   SETTINGS
   ============================================================ */
.settings-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 13px 16px;
    margin-bottom: 10px;
    backdrop-filter: blur(10px);
}
.settings-row-label { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; }
.settings-row-icon { font-size: 17px; }

.toggle-switch { position: relative; display: inline-block; width: 46px; height: 26px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border);
    transition: 0.25s;
    border-radius: 99px;
}
.toggle-slider::before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    transition: 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 50%;
}
.toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(90deg, #00c878, #00e0a4);
    border-color: transparent;
    box-shadow: 0 0 12px rgba(0, 224, 164, 0.4);
}
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }

.settings-link-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 13px 16px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.12s ease;
}
.settings-link-btn:active { transform: scale(0.97); border-color: var(--border-strong); }

/* ============================================================
   PIHUB — App Grid (Enhanced Visual Styling & Two-Tone Title)
   ============================================================ */
.pihub-header {
    width: 100%;
    text-align: center;
    margin: 8px 0 22px;
    position: relative;
}

/* 3D Glowing Logo Container */
.pihub-logo-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.pihub-logo {
    width: 68px !important;
    height: 68px !important;
    border-radius: 22px;
    object-fit: cover;
    margin-bottom: 0 !important;
    border: 2px solid rgba(0, 255, 204, 0.7) !important;
    box-shadow: 0 0 24px rgba(0, 255, 204, 0.45), inset 0 0 14px rgba(0, 255, 204, 0.25);
    position: relative;
    z-index: 2;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.pihub-logo:hover {
    transform: scale(1.06);
    box-shadow: 0 0 32px rgba(0, 255, 204, 0.65), inset 0 0 18px rgba(0, 255, 204, 0.4);
}
.pihub-logo-glow {
    position: absolute;
    inset: -8px;
    border-radius: 28px;
    background: radial-gradient(circle, rgba(0, 255, 204, 0.4) 0%, transparent 72%);
    filter: blur(12px);
    z-index: 1;
    pointer-events: none;
    animation: pihubLogoPulse 3.5s ease-in-out infinite;
}
@keyframes pihubLogoPulse {
    0%, 100% { transform: scale(1); opacity: 0.65; }
    50% { transform: scale(1.14); opacity: 1; filter: blur(16px); }
}

/* Two-Tone Title with Ambient Cyan Backlight (matching Screenshot 2) */
.pihub-title {
    font-family: var(--font-display, 'Space Grotesk', -apple-system, sans-serif);
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 6px 0 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
}
.pihub-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 38px;
    background: radial-gradient(ellipse 65% 55% at 50% 50%, rgba(0, 255, 204, 0.22) 0%, rgba(0, 255, 204, 0) 75%);
    filter: blur(14px);
    pointer-events: none;
    z-index: 0;
}
.pihub-title-white {
    color: #FFFFFF !important;
    position: relative;
    z-index: 1;
    font-weight: 800;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}
.pihub-title-cyan {
    color: #00FFCC !important;
    position: relative;
    z-index: 1;
    font-weight: 800;
    text-shadow: 0 0 16px rgba(0, 255, 204, 0.7), 0 0 32px rgba(0, 255, 204, 0.4);
}

.pihub-subtitle {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 2px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Core Apps Section Header */
.pihub-section-label {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    margin: 8px 0 18px;
    font-size: 11px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-mono, monospace);
}
.pihub-section-label::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00FFCC;
    box-shadow: 0 0 8px #00FFCC;
}
.pihub-section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 255, 204, 0.3), rgba(255, 255, 255, 0.05) 50%, transparent 100%);
}

/* Grid & Tiles Layout */
.pihub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 10px;
    width: 100%;
    margin-bottom: 24px;
}
.pihub-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    position: relative;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    -webkit-tap-highlight-color: transparent;
}
.pihub-tile:active {
    transform: scale(0.93);
}

/* 74px Squircle Tile Card with Premium Glass & Sheen */
.pihub-icon-box {
    width: 74px;
    height: 74px;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(20, 28, 52, 0.88) 0%, rgba(10, 15, 30, 0.95) 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
                border-color 0.25s ease,
                box-shadow 0.25s ease,
                background 0.25s ease;
}
/* Top Glossy Sheen overlay */
.pihub-icon-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%);
    border-radius: 20px 20px 0 0;
    pointer-events: none;
}
.pihub-tile:hover .pihub-icon-box {
    border-color: rgba(0, 255, 204, 0.6);
    box-shadow: 0 10px 28px rgba(0, 255, 204, 0.25),
                inset 0 0 14px rgba(0, 255, 204, 0.14);
    transform: translateY(-2px);
}
.pihub-tile:active .pihub-icon-box {
    transform: scale(0.92);
    border-color: #00FFCC;
    box-shadow: 0 0 24px rgba(0, 255, 204, 0.5),
                inset 0 0 16px rgba(0, 255, 204, 0.3);
}

/* BIG ICONS: increased from 30px to 52px */
.pihub-icon-box img {
    width: 52px !important;
    height: 52px !important;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.65));
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    user-select: none;
    -webkit-user-drag: none;
}
.pihub-tile:hover .pihub-icon-box img {
    transform: scale(1.08);
}
.pihub-tile:active .pihub-icon-box img {
    transform: scale(0.95);
}

/* BIG EMOJIS: increased from 26px to 38px */
.pihub-emoji {
    font-size: 38px;
    line-height: 1;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.55));
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.pihub-tile:hover .pihub-emoji {
    transform: scale(1.1);
}

/* Clear, High-Contrast Labels */
.pihub-label {
    font-size: 12px;
    color: #e2e8f0;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.2px;
    transition: color 0.2s ease, text-shadow 0.2s ease;
    white-space: nowrap;
}
.pihub-tile:hover .pihub-label {
    color: #00FFCC;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
}

/* ============================================================
   DAPP CARDS
   ============================================================ */
.dapp-card {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 12px 14px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: transform 0.15s ease, border-color 0.2s ease;
    margin-bottom: 10px;
}
.dapp-card:active { transform: scale(0.98); border-color: var(--accent); }
.dapp-icon-box {
    width: 44px; height: 44px;
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(79,124,255,0.18), rgba(0,255,204,0.08));
    border: 1px solid rgba(79, 124, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.dapp-info { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.dapp-title { font-family: var(--font-display); font-size: 13.5px; font-weight: 700; }
.dapp-category { font-size: 10px; font-weight: 700; color: var(--accent); text-transform: uppercase; margin: 2px 0; letter-spacing: 1px; font-family: var(--font-mono); }
.dapp-desc { font-size: 11px; color: var(--muted); line-height: 1.35; }

/* ============================================================
   MISC / ACCESSIBILITY
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}

/* ============================================================
   FIBONACCI NEURAL CALCULATOR CORE
   ============================================================ */
.fibo-nexus-canvas { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; z-index: 2; pointer-events: none; mix-blend-mode: screen; }
.fibo-telemetry-layer { position: absolute; inset: 0; border-radius: 50%; z-index: 4; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 22px 14px; pointer-events: none; user-select: none; }
.fibo-telemetry-header { display: flex; justify-content: space-between; align-items: center; width: 82%; border-bottom: 1px solid rgba(0, 255, 204, 0.25); padding-bottom: 3px; }
.fibo-tag { font-family: var(--font-display); font-size: 8px; font-weight: 800; letter-spacing: 1px; color: var(--gold); text-shadow: 0 0 6px rgba(246, 196, 83, 0.6); }
.fibo-ratio { font-family: var(--font-mono); font-size: 8.5px; font-weight: 700; color: var(--accent); text-shadow: 0 0 8px rgba(0, 255, 204, 0.65); }
.fibo-core-counter { display: flex; align-items: baseline; gap: 4px; background: rgba(4, 8, 20, 0.55); padding: 3px 10px; border-radius: 20px; border: 1px solid rgba(0, 255, 204, 0.35); backdrop-filter: blur(4px); box-shadow: 0 0 16px rgba(0, 255, 204, 0.25), inset 0 0 10px rgba(0, 0, 0, 0.6); transform: translateY(2px); }
.fibo-prefix { font-family: var(--font-display); font-size: 10px; font-weight: 800; color: var(--muted); }
.fibo-prefix sub { font-size: 8px; color: var(--gold); }
.fibo-val { font-family: var(--font-mono); font-size: 16px; font-weight: 900; color: #ffffff; letter-spacing: 1px; text-shadow: 0 0 12px var(--accent), 0 0 24px rgba(79, 124, 255, 0.8); min-width: 44px; text-align: right; transition: color 0.15s ease; }
.fibo-formula { font-family: var(--font-mono); font-size: 7.5px; font-weight: 600; color: rgba(255, 255, 255, 0.5); letter-spacing: 0.8px; text-transform: uppercase; background: rgba(0, 0, 0, 0.4); padding: 2px 8px; border-radius: 8px; border: 0.5px solid rgba(255, 255, 255, 0.1); }

/* ============================================================
   LUXA NEURAL REACTOR — MINING PAGE REFINEMENT (2026)
   ============================================================ */
#page-mining {
    position: relative;
    justify-content: flex-start;
    gap: 0;
    padding-top: 2px;
}
#page-mining .fibo-streak-hud { margin-bottom: 10px; }
#page-mining .mining-ring-wrap { margin: 6px 0 4px; }
#page-mining .neural-timer-wrap { margin: 0; }
#page-mining .collect-btn { margin-top: 10px; margin-bottom: 10px; }

@media (max-height: 720px) {
    #page-mining .mining-ring-wrap {
        width: 208px;
        height: 208px;
    }
    #page-mining .mining-core { width: 156px; height: 156px; }
    #page-mining .fibo-streak-hud { padding: 9px 12px; margin-bottom: 8px; }
    #page-mining .timer-display { font-size: 27px; margin-top: 6px; }
    #page-mining .timer-label { margin-bottom: 8px; }
    #page-mining .collect-btn { padding: 14px 36px; margin-top: 8px; }
    #page-mining .mining-core-logo { width: 36px !important; height: 36px !important; }
}

.neural-timer-wrap {
    text-align: center;
    position: relative;
}
.neural-timer-wrap::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 190px;
    height: 54px;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, rgba(0, 255, 204, 0.10), transparent 70%);
    pointer-events: none;
}

/* ============================================================
   KYC QUICK CARD (MINING PAGE COMPACT WIDGET)
   ============================================================ */
.kyc-quick-card {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    margin-top: 14px;
    margin-bottom: 14px;
    border-radius: 16px;
    background: linear-gradient(150deg, rgba(13, 16, 33, 0.85), rgba(5, 6, 13, 0.90));
    border: 1px solid rgba(0, 255, 204, 0.25);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    transition: transform 0.16s ease, border-color 0.2s ease, box-shadow 0.25s ease;
}
.kyc-quick-card::before {
    content: '';
    position: absolute;
    top: 0; left: -60%;
    width: 40%; height: 100%;
    background: linear-gradient(105deg, transparent, rgba(0, 255, 204, 0.10), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
    pointer-events: none;
}
.kyc-quick-card:hover::before { left: 130%; }
.kyc-quick-card:active {
    transform: scale(0.97);
    border-color: rgba(0, 255, 204, 0.6);
    box-shadow: 0 0 24px rgba(0, 255, 204, 0.35), 0 10px 30px rgba(0, 0, 0, 0.5);
}
.kyc-quick-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 204, 0.08);
    border: 1px solid rgba(0, 255, 204, 0.45);
    box-shadow: 0 0 18px rgba(0, 255, 204, 0.35), inset 0 0 12px rgba(0, 255, 204, 0.1);
    overflow: hidden;
}
.kyc-quick-icon { width: 52px !important; height: 52px !important; object-fit: contain; }
.kyc-quick-emoji { font-size: 32px; }
.kyc-quick-text { flex: 1; min-width: 0; text-align: left; }
.kyc-quick-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #00FFCC;
    letter-spacing: 1.2px;
    margin-bottom: 3px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.25;
}
.kyc-quick-sub {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #94a3b8;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.25;
}
.kyc-quick-cta {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 99px;
    background: rgba(0, 255, 204, 0.10);
    border: 1px solid rgba(0, 255, 204, 0.40);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}
.kyc-quick-card:active .kyc-quick-cta,
.kyc-quick-card:hover .kyc-quick-cta {
    background: rgba(0, 255, 204, 0.22);
    box-shadow: 0 0 14px rgba(0, 255, 204, 0.40);
}
.kyc-quick-cta-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #00FFCC;
}
.kyc-quick-cta-arrow {
    color: #00FFCC;
    font-size: 13px;
    animation: kyc-arrow-slide 1.6s ease-in-out infinite;
}
@keyframes kyc-arrow-slide {
    0%, 100% { transform: translateX(0); opacity: 0.7; }
    50% { transform: translateX(4px); opacity: 1; }
}

/* ============================================================
   VALIDATOR HIGHLIGHT QUICK CARD (HIGH VISIBILITY GOLD EDITION)
   ============================================================ */
.validator-quick-card {
    border-color: rgba(255, 215, 0, 0.65) !important;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.14) 0%, rgba(18, 22, 38, 0.95) 50%, rgba(255, 160, 0, 0.10) 100%) !important;
    box-shadow: 0 0 24px rgba(255, 215, 0, 0.24), 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    margin-top: 10px;
}
.validator-quick-card::before {
    background: linear-gradient(105deg, transparent, rgba(255, 215, 0, 0.22), transparent) !important;
}
.validator-quick-card:active {
    border-color: #FFD700 !important;
    box-shadow: 0 0 32px rgba(255, 215, 0, 0.55), 0 10px 30px rgba(0, 0, 0, 0.6) !important;
}
.validator-quick-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.32) 0%, rgba(20, 24, 42, 0.95) 100%) !important;
    border: 1.5px solid #FFD700 !important;
    box-shadow: 0 0 18px rgba(255, 215, 0, 0.50), inset 0 0 12px rgba(255, 215, 0, 0.22) !important;
    overflow: hidden;
}
.validator-quick-icon {
    width: 36px !important;
    height: 36px !important;
    object-fit: contain;
    filter: brightness(1.35) contrast(1.15) drop-shadow(0 0 7px rgba(0, 229, 255, 0.8));
}
.validator-quick-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #FFD700 !important;
    letter-spacing: 1.2px;
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.65);
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.validator-quick-sub {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #e2e8f0 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.validator-quick-cta {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 99px;
    background: linear-gradient(135deg, #FFD700 0%, #FF9E00 100%) !important;
    border: 1px solid #FFE55C !important;
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.55) !important;
    transition: transform 0.18s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.validator-quick-card:hover .validator-quick-cta,
.validator-quick-card:active .validator-quick-cta {
    transform: scale(1.05);
    box-shadow: 0 0 24px rgba(255, 215, 0, 0.85) !important;
    filter: brightness(1.1);
}
.validator-quick-cta-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11.5px;
    font-weight: 800;
    color: #050811 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.validator-quick-cta-arrow {
    color: #050811 !important;
    font-size: 13px;
    font-weight: 800;
    animation: val-arrow-slide 1.4s ease-in-out infinite;
}
@keyframes val-arrow-slide {
    0%, 100% { transform: translateX(0); opacity: 0.85; }
    50% { transform: translateX(4px); opacity: 1; }
}

/* Nav Bar Validator button highlight */
.nav-btn[data-page="page-validator"] .nav-icon-img {
    filter: brightness(1.1) saturate(1.15) drop-shadow(0 0 5px rgba(255, 215, 0, 0.45));
}
.nav-btn[data-page="page-validator"].active .nav-icon-img {
    filter: brightness(1.35) saturate(1.4) drop-shadow(0 0 10px rgba(255, 215, 0, 0.95));
}
.nav-btn[data-page="page-validator"].active {
    color: #FFD700 !important;
}
.nav-btn[data-page="page-validator"].active::before {
    background: #FFD700 !important;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.8) !important;
}

/* ============================================================
   CYBER SECURITY RADAR SCANNER (KYC HEADER & MODAL PAGE)
   ============================================================ */
.kyc-cyber-header {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 6px auto 14px;
    padding: 0 10px;
    position: relative;
    overflow: hidden;
}

.kyc-sec-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 255, 204, 0.08);
    border: 1px solid rgba(0, 255, 204, 0.35);
    border-radius: 99px;
    padding: 3px 10px;
    font-family: var(--font-mono);
    font-size: 9.5px;
    font-weight: 700;
    color: #00FFCC;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}
.kyc-sec-dot { width: 6px; height: 6px; border-radius: 50%; background: #00FFCC; box-shadow: 0 0 8px #00FFCC; }

/* Dimensione bloccata a 130px: mai più immagini giganti */
.kyc-scanner-stage {
    position: relative;
    width: 130px;
    height: 130px;
    margin: 6px auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Radar Sweep a 360° Neon Cyber */
.kyc-radar-beam {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0deg, transparent 260deg, rgba(0, 255, 204, 0.25) 310deg, #00FFCC 360deg);
    animation: kycRadarSweep 3.2s linear infinite;
    pointer-events: none;
    z-index: 1;
    filter: drop-shadow(0 0 8px rgba(0, 255, 204, 0.8));
    mask-image: radial-gradient(circle, transparent 58%, black 62%);
    -webkit-mask-image: radial-gradient(circle, transparent 58%, black 62%);
}
@keyframes kycRadarSweep { to { transform: rotate(360deg); } }

/* Anello Crittografico Tratteggiato Inverso */
.kyc-crypto-ring {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1.5px dashed rgba(0, 255, 204, 0.45);
    animation: kycCryptoRev 9s linear infinite;
    pointer-events: none;
    z-index: 2;
}
@keyframes kycCryptoRev { to { transform: rotate(-360deg); } }

/* Laser Biometrico Verticale */
.kyc-laser-scanner {
    position: absolute;
    left: 6px; right: 6px; height: 2px;
    background: linear-gradient(90deg, transparent, #00FFCC 50%, transparent);
    box-shadow: 0 0 14px #00FFCC;
    z-index: 4;
    pointer-events: none;
    border-radius: 99px;
    animation: kycLaserMove 2.6s ease-in-out infinite alternate;
}
@keyframes kycLaserMove {
    0% { top: 8px; opacity: 0.3; }
    50% { opacity: 1; }
    100% { top: 118px; opacity: 0.3; }
}

.kyc-face-frame {
    position: relative;
    z-index: 3;
    width: 118px;
    height: 118px;
    border-radius: 50%;
    background: radial-gradient(circle, #091224 0%, #030611 100%);
    border: 2px solid rgba(0, 255, 204, 0.6);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(0, 255, 204, 0.3);
}
.kyc-face-img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
    display: block;
}

.kyc-sec-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 13px !important;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 0.8px;
    line-height: 1.4;
    margin: 0 0 4px;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
}
.kyc-sec-title span { color: #00FFCC; }
.kyc-sec-sub {
    font-family: var(--font-mono);
    font-size: 10px !important;
    color: #94a3b8;
    line-height: 1.45;
    max-width: 95%;
    margin: 0 auto;
    word-break: break-word;
}

/* ============================================================
   POWER-UPS THEMED KYC CLEARANCE CHECKLIST (REAL DATA & CYBER PALETTE)
   ============================================================ */
.kyc-clearance-container { width: 100%; }
.kyc-checklist-grid { display:flex; flex-direction:column; gap:12px; margin-top:14px; width: 100%; }

/* SUMMARY CARD (POWER-UPS FORMULA BANNER STYLE) */
.kyc-step-card.kyc-summary-powerup {
    position: relative;
    overflow: hidden;
    padding: 16px 18px;
    background: linear-gradient(135deg, rgba(8, 20, 32, 0.95) 0%, rgba(4, 12, 20, 0.98) 100%);
    border: 1.5px solid rgba(0, 255, 204, 0.45);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0, 255, 204, 0.15), inset 0 1px 0 rgba(0, 255, 204, 0.25);
    margin-bottom: 14px;
}
.kyc-step-card.kyc-summary-powerup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #00FFCC, #0099FF);
    box-shadow: 0 0 10px #00FFCC;
}

/* BASE KYC STEP CARD (POWER-UPS BOOSTER-TILE BASE) */
.kyc-step-card {
    position: relative;
    overflow: hidden;
    padding: 14px 16px;
    text-align: left;
    border-radius: 16px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

/* INDIVIDUAL DISTINCT POWER-UP STEP THEMES */

/* STEP 1: LEGAL IDENTITY (SKY BLUE POWER-UP THEME) */
.kyc-step-card.kyc-step-sky {
    background: linear-gradient(135deg, rgba(6, 22, 38, 0.95) 0%, rgba(4, 12, 22, 0.98) 100%);
    border: 1.5px solid rgba(56, 189, 248, 0.45);
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.12), inset 0 1px 0 rgba(56, 189, 248, 0.2);
}
.kyc-step-card.kyc-step-sky::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #38bdf8, #0284c7);
    box-shadow: 0 0 10px #38bdf8;
}
.kyc-step-card.kyc-step-sky .kyc-card-title { color: #38bdf8; }
.kyc-step-card.kyc-step-sky .kyc-circle-icon {
    background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(2, 132, 199, 0.1) 100%);
    color: #38bdf8;
    border: 1.5px solid rgba(56, 189, 248, 0.5);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

/* STEP 2: VAULT & 12/24 WORDS (EMERALD POWER-UP THEME) */
.kyc-step-card.kyc-step-emerald {
    background: linear-gradient(135deg, rgba(6, 28, 18, 0.95) 0%, rgba(4, 16, 10, 0.98) 100%);
    border: 1.5px solid rgba(0, 230, 118, 0.45);
    box-shadow: 0 8px 24px rgba(0, 230, 118, 0.12), inset 0 1px 0 rgba(0, 230, 118, 0.2);
}
.kyc-step-card.kyc-step-emerald::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #00E676, #009955);
    box-shadow: 0 0 10px #00E676;
}
.kyc-step-card.kyc-step-emerald .kyc-card-title { color: #00E676; }
.kyc-step-card.kyc-step-emerald .kyc-circle-icon {
    background: radial-gradient(circle, rgba(0, 230, 118, 0.25) 0%, rgba(0, 153, 85, 0.1) 100%);
    color: #00E676;
    border: 1.5px solid rgba(0, 230, 118, 0.5);
    box-shadow: 0 0 12px rgba(0, 230, 118, 0.3);
}

/* STEP 3: 60-DAY PROOF (GOLD SUPER 100X THEME) */
.kyc-step-card.kyc-step-gold {
    background: linear-gradient(135deg, rgba(28, 20, 6, 0.95) 0%, rgba(14, 10, 4, 0.98) 100%);
    border: 1.5px solid rgba(255, 215, 0, 0.45);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.12), inset 0 1px 0 rgba(255, 215, 0, 0.2);
}
.kyc-step-card.kyc-step-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #FFD700, #FF8C00);
    box-shadow: 0 0 10px #FFD700;
}
.kyc-step-card.kyc-step-gold .kyc-card-title { color: #FFD700; }
.kyc-step-card.kyc-step-gold .kyc-circle-icon {
    background: radial-gradient(circle, rgba(255, 215, 0, 0.25) 0%, rgba(255, 140, 0, 0.1) 100%);
    color: #FFD700;
    border: 1.5px solid rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.3);
}

/* STEP 4: BIOMETRIC SUMSUB (PURPLE MASTER SHARD THEME) */
.kyc-step-card.kyc-step-purple {
    background: linear-gradient(135deg, rgba(28, 12, 38, 0.95) 0%, rgba(14, 6, 22, 0.98) 100%);
    border: 1.5px solid rgba(168, 85, 247, 0.45);
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.12), inset 0 1px 0 rgba(168, 85, 247, 0.2);
}
.kyc-step-card.kyc-step-purple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #c084fc, #7c3aed);
    box-shadow: 0 0 10px #c084fc;
}
.kyc-step-card.kyc-step-purple .kyc-card-title { color: #c084fc; }
.kyc-step-card.kyc-step-purple .kyc-circle-icon {
    background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, rgba(124, 58, 237, 0.1) 100%);
    color: #c084fc;
    border: 1.5px solid rgba(168, 85, 247, 0.5);
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.3);
}

/* STEP 5: ON-CHAIN SERVICE AGREEMENT (CYAN 2X SPEED THEME) */
.kyc-step-card.kyc-step-cyan {
    background: linear-gradient(135deg, rgba(6, 24, 30, 0.95) 0%, rgba(4, 12, 18, 0.98) 100%);
    border: 1.5px solid rgba(0, 255, 204, 0.45);
    box-shadow: 0 8px 24px rgba(0, 255, 204, 0.12), inset 0 1px 0 rgba(0, 255, 204, 0.2);
}
.kyc-step-card.kyc-step-cyan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #00FFCC, #0099FF);
    box-shadow: 0 0 10px #00FFCC;
}
.kyc-step-card.kyc-step-cyan .kyc-card-title { color: #00FFCC; }
.kyc-step-card.kyc-step-cyan .kyc-circle-icon {
    background: radial-gradient(circle, rgba(0, 255, 204, 0.25) 0%, rgba(0, 153, 255, 0.1) 100%);
    color: #00FFCC;
    border: 1.5px solid rgba(0, 255, 204, 0.5);
    box-shadow: 0 0 12px rgba(0, 255, 204, 0.3);
}

/* STEP 6: 7M TARGET (GOLD ACCELERATOR THEME) */
.kyc-step-card.kyc-step-gold-accel {
    background: linear-gradient(135deg, rgba(28, 20, 6, 0.95) 0%, rgba(14, 10, 4, 0.98) 100%);
    border: 1.5px solid rgba(255, 215, 0, 0.45);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.12), inset 0 1px 0 rgba(255, 215, 0, 0.2);
}
.kyc-step-card.kyc-step-gold-accel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #FFD700, #FFA500);
    box-shadow: 0 0 10px #FFD700;
}
.kyc-step-card.kyc-step-gold-accel .kyc-card-title { color: #FFD700; }
.kyc-step-card.kyc-step-gold-accel .kyc-circle-icon {
    background: radial-gradient(circle, rgba(255, 215, 0, 0.25) 0%, rgba(255, 165, 0, 0.1) 100%);
    color: #FFD700;
    border: 1.5px solid rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.3);
}

/* STATE OVERRIDES */
.kyc-step-card.is-done {
    background: linear-gradient(135deg, rgba(6, 28, 18, 0.92) 0%, rgba(4, 16, 10, 0.96) 100%) !important;
    border-color: rgba(0, 230, 118, 0.55) !important;
    box-shadow: 0 8px 24px rgba(0, 230, 118, 0.16), inset 0 1px 0 rgba(0, 230, 118, 0.3) !important;
}
.kyc-step-card.is-done::before {
    background: linear-gradient(180deg, #00E676, #009955) !important;
    box-shadow: 0 0 12px #00E676 !important;
}
.kyc-step-card.is-done .kyc-circle-icon {
    background: radial-gradient(circle, rgba(0, 230, 118, 0.3) 0%, rgba(0, 153, 85, 0.15) 100%) !important;
    color: #00E676 !important;
    border-color: rgba(0, 230, 118, 0.6) !important;
    box-shadow: 0 0 14px rgba(0, 230, 118, 0.4) !important;
}

.kyc-step-card.is-locked {
    opacity: 0.62;
    background: linear-gradient(135deg, rgba(10, 12, 22, 0.85) 0%, rgba(5, 6, 12, 0.9) 100%) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.kyc-step-card.is-locked::before {
    background: rgba(255, 255, 255, 0.15) !important;
    box-shadow: none !important;
}
.kyc-step-card.is-locked .kyc-circle-icon {
    background: rgba(255, 255, 255, 0.04) !important;
    color: #64748b !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: none !important;
}

.kyc-card-top-row { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.kyc-card-meta { display:flex; align-items:center; gap:12px; flex:1; min-width:0; }
.kyc-circle-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: 'Space Grotesk', var(--font-display, sans-serif);
    font-size: 13px;
    font-weight: 800;
}
.kyc-card-texts { display:flex; flex-direction:column; gap:2px; min-width:0; }
.kyc-card-title { overflow:hidden; font-family:'Space Grotesk', var(--font-display, sans-serif); font-size:14px; font-weight:800; white-space:nowrap; text-overflow:ellipsis; }
.kyc-card-sub { color:#94a3b8; font-size:11.5px; line-height:1.4; }
.kyc-card-sub strong { color:#FFD700; font-weight:700; }
.kyc-card-sub code { padding:1px 5px; color:#00FFCC; background:rgba(0,255,204,.1); border-radius:4px; font-family:'JetBrains Mono',monospace; font-size:10.5px; }

/* POWER-UP BUTTONS */
.kyc-btn-action {
    flex-shrink: 0;
    padding: 7px 16px;
    border: none;
    border-radius: 10px;
    font-family: 'Space Grotesk', var(--font-display, sans-serif);
    font-size: 11.5px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.kyc-btn-action:active { transform: scale(0.94); }
.kyc-btn-action.kyc-btn-sky {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
    color: #021422;
    box-shadow: 0 4px 14px rgba(56, 189, 248, 0.4);
}
.kyc-btn-action.kyc-btn-emerald {
    background: linear-gradient(135deg, #00E676 0%, #009955 100%);
    color: #021a0f;
    box-shadow: 0 4px 14px rgba(0, 230, 118, 0.4);
}
.kyc-btn-action.kyc-btn-gold {
    background: linear-gradient(135deg, #FFD700 0%, #FF8C00 100%);
    color: #1a1202;
    box-shadow: 0 4px 14px rgba(255, 215, 0, 0.4);
}
.kyc-btn-action.kyc-btn-purple {
    background: linear-gradient(135deg, #c084fc 0%, #7c3aed 100%);
    color: #160322;
    box-shadow: 0 4px 14px rgba(168, 85, 247, 0.4);
}
.kyc-btn-action.kyc-btn-cyan {
    background: linear-gradient(135deg, #00FFCC 0%, #0099FF 100%);
    color: #03141a;
    box-shadow: 0 4px 14px rgba(0, 255, 204, 0.4);
}

/* POWER-UP PILL TAGS */
.kyc-pill-tag {
    flex-shrink: 0;
    padding: 3.5px 9px;
    border-radius: 8px;
    font-family: 'Space Grotesk', var(--font-display, sans-serif);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-transform: uppercase;
}
.kyc-pill-tag.tag-done {
    color: #00E676;
    background: rgba(0, 230, 118, 0.15);
    border: 1px solid rgba(0, 230, 118, 0.35);
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.2);
}
.kyc-pill-tag.tag-gold, .kyc-pill-tag.tag-pending {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.35);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}
.kyc-pill-tag.tag-cyan {
    color: #00FFCC;
    background: rgba(0, 255, 204, 0.15);
    border: 1px solid rgba(0, 255, 204, 0.35);
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.2);
}
.kyc-pill-tag.tag-purple {
    color: #c084fc;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.35);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
}
.kyc-pill-tag.tag-blue {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.35);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}
.kyc-pill-tag.tag-locked {
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* PROGRESS BARS */
.kyc-card-progress {
    width: 100%;
    height: 5px;
    margin-top: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 99px;
}
.kyc-card-progress-fill {
    height: 100%;
    border-radius: 99px;
    transition: width 0.4s ease;
}
.kyc-card-progress-fill.kyc-progress-gold {
    background: linear-gradient(90deg, #FFD700, #FF8C00);
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}
.kyc-card-progress-fill.kyc-progress-cyan {
    background: linear-gradient(90deg, #00FFCC, #00E676);
    box-shadow: 0 0 8px rgba(0, 255, 204, 0.4);
}

/* BOTTOM UNLOCK BUTTON (POWER-UP STYLE) */
.btn-kyc-bridge-locked {
    width: 100%;
    padding: 13px;
    border: 1.5px solid rgba(255, 215, 0, 0.35);
    border-radius: 14px;
    color: #FFD700;
    background: linear-gradient(135deg, rgba(28, 20, 6, 0.85) 0%, rgba(14, 10, 4, 0.92) 100%);
    font-family: 'Space Grotesk', var(--font-display, sans-serif);
    font-size: 12.5px;
    font-weight: 800;
    cursor: not-allowed;
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.1);
    letter-spacing: 0.3px;
}
.btn-kyc-bridge-unlocked {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 14px;
    color: #021a0f;
    background: linear-gradient(135deg, #00FFCC 0%, #00E676 100%);
    font-family: 'Space Grotesk', var(--font-display, sans-serif);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 22px rgba(0, 255, 204, 0.4);
    letter-spacing: 0.5px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-kyc-bridge-unlocked:active { transform: scale(0.97); }

/* ============================================================
   PI CHECKLIST STEPS & FOOTER (RESTORED 100%)
   ============================================================ */
.pi-notice-card {
    width: 100%;
    border-radius: 18px;
    padding: 14px 16px;
    margin-bottom: 12px;
    background: linear-gradient(155deg, rgba(13, 16, 33, 0.85), rgba(5, 6, 13, 0.92));
    border: 1px solid rgba(0, 255, 204, 0.28);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.pi-notice-card.founder {
    border-color: rgba(255, 215, 0, 0.45);
    background: linear-gradient(155deg, rgba(33, 28, 8, 0.85), rgba(13, 10, 4, 0.92));
}
.pi-notice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    color: #00FFCC;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}
.pi-notice-card.founder .pi-notice-header { color: #FFD700; }
.pi-notice-card p {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.55;
    margin: 0;
    text-align: left;
}
.pi-notice-card code { color: #00FFCC; font-family: 'JetBrains Mono', monospace; }
.pi-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 99px;
    background: rgba(0, 255, 204, 0.10);
    border: 1px solid rgba(0, 255, 204, 0.40);
    color: #00FFCC;
}
.pi-badge.green {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.50);
    color: #22c55e;
}

.pi-checklist { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.pi-step {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
    background: linear-gradient(155deg, rgba(13, 16, 33, 0.85), rgba(5, 6, 13, 0.90));
    border: 1px dashed rgba(0, 255, 204, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
    position: relative;
    overflow: hidden;
}
.pi-step.completed {
    border: 1px solid rgba(34, 197, 94, 0.55);
    background: linear-gradient(155deg, rgba(10, 26, 18, 0.88), rgba(4, 12, 8, 0.92));
}
.pi-step.completed .pi-step-icon {
    background: rgba(34, 197, 94, 0.14);
    border-color: rgba(34, 197, 94, 0.65);
    color: #22c55e;
}
.pi-step.completed .pi-step-title { color: #4ade80; }
.pi-step.active {
    border: 1px solid rgba(0, 255, 204, 0.55);
}
.pi-step.active .pi-step-icon {
    border-color: rgba(0, 255, 204, 0.65);
    color: #00FFCC;
}
.pi-step.locked {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 12, 24, 0.65);
    opacity: 0.65;
}
.pi-step-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    font-weight: 900;
    background: rgba(0, 255, 204, 0.07);
    border: 1px solid rgba(0, 255, 204, 0.40);
    color: #00FFCC;
}
.pi-step-body { flex: 1; min-width: 0; text-align: left; }
.pi-step-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.6px;
    margin-bottom: 3px;
}
.pi-step-desc { font-size: 10.5px; color: #94a3b8; line-height: 1.5; }
.pi-step-desc strong { color: #00FFCC; font-family: 'JetBrains Mono', monospace; }

.pi-step .action-btn-sm,
.pi-step .btn-kyc-start {
    flex-shrink: 0;
    background: linear-gradient(135deg, #00ffcc 0%, #0099ff 100%) !important;
    color: #02120e !important;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    padding: 8px 14px !important;
    border-radius: 10px !important;
    border: none !important;
    white-space: nowrap;
}

.kyc-protocol-footer {
    width: 100%;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 6px;
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(10, 12, 24, 0.70);
    border: 1px solid rgba(168, 85, 247, 0.30);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.kyc-protocol-icon {
    font-size: 22px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.5));
}
.kyc-protocol-body { flex: 1; min-width: 0; }
.kyc-protocol-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #c084fc;
    margin-bottom: 5px;
}
.kyc-protocol-text {
    font-size: 10.5px;
    color: #94a3b8;
    line-height: 1.55;
    margin: 0;
    text-align: left;
}
.kyc-protocol-text strong { color: #e2e8f0; }

@media (max-width: 380px) {
    .kyc-quick-title { font-size: 10.5px; }
    .kyc-quick-sub { font-size: 9px; }
    .kyc-quick-cta-label { display: none; }
    .kyc-neural-title { font-size: 12px; }
    .validator-quick-title { font-size: 11.5px; }
    .validator-quick-sub { font-size: 9px; }
}

/* ============================================================
   MULTI-LANGUAGE (i18n) & TOP-BAR FLAG INDICATOR
   ============================================================ */
.top-lang-flag-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 30, 80, 0.45);
    border: 1px solid rgba(0, 102, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.15);
}
.top-lang-flag-btn:hover {
    border-color: #00FFCC;
    box-shadow: 0 0 12px rgba(0, 255, 204, 0.3);
    transform: scale(1.05);
}
.top-lang-flag-btn:active {
    transform: scale(0.95);
}
.top-lang-flag {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.6);
}

.settings-lang-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 100%;
    margin-top: 4px;
}
.settings-lang-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}
.settings-lang-chip:hover {
    background: rgba(0, 255, 204, 0.08);
    border-color: rgba(0, 255, 204, 0.4);
}
.settings-lang-chip.active {
    background: rgba(0, 255, 204, 0.14);
    border-color: #00FFCC;
    color: #00FFCC;
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.2);
}
.settings-lang-flag {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.settings-lang-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.settings-lang-check {
    font-size: 11px;
    font-weight: 800;
    color: #00FFCC;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.settings-lang-chip.active .settings-lang-check {
    opacity: 1;
}

/* RTL OVERRIDES FOR ARABIC */
body.rtl-layout {
    direction: rtl;
    text-align: right;
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
}
body.rtl-layout .settings-lang-chip {
    text-align: right;
    flex-direction: row-reverse;
}
body.rtl-layout .settings-row-label {
    flex-direction: row-reverse;
}
body.rtl-layout .modal-content {
    text-align: right;
}
body.rtl-layout .task-left {
    flex-direction: row-reverse;
}
body.rtl-layout .kyc-quick-card {
    flex-direction: row-reverse;
}
body.rtl-layout .fibo-streak-titles {
    text-align: right;
}
body.rtl-layout .kyc-quick-cta-arrow {
    transform: rotate(180deg);
}
body.rtl-layout .top-nav,
body.rtl-layout .bottom-nav {
    direction: ltr;
}


/* ============================================================
   VALIDATOR HERO & ATOMIC NODE ANIMATION
   ============================================================ */
.val-hero-box {
    text-align: center;
    margin-bottom: 16px;
    position: relative;
}

.val-hero-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    width: 100%;
}

.val-hero-title {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.val-title-cyan {
    background: linear-gradient(135deg, #00FFCC 0%, #00B4D8 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 18px rgba(0, 255, 204, 0.4);
    display: inline-block;
}

.val-atomic-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 4px 0 12px 0;
}

.val-atomic-stage {
    position: relative;
    width: 120px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    pointer-events: none;
}

.val-atomic-halo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 204, 0.28) 0%, rgba(0, 180, 216, 0.1) 50%, transparent 70%);
    filter: blur(8px);
    transform: translate(-50%, -50%);
    animation: valHaloPulse 3s ease-in-out infinite alternate;
}

/* Cosmos Atomic Orbits (Fixed 3D ellipses at 0°, 60°, 120° exactly as in Explorer) */
.val-atomic-orbit {
    --c: 2, 248, 197;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 96px;
    height: 96px;
    aspect-ratio: 1;
    border: 1.2px solid rgba(var(--c), 0.65);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(var(--c), 0.22), inset 0 0 8px rgba(var(--c), 0.1);
    transform: translate(-50%, -50%) rotateZ(var(--rz, 0deg)) rotateX(70deg);
    pointer-events: none;
}

.val-orbit-luxa {
    --c: 2, 248, 197;
    --t: 12s;
    --s: 6.5px;
}

.val-orbit-ibc {
    --c: 47, 123, 255;
    --t: 16s;
    --s: 6px;
}

.val-orbit-shard {
    --c: 200, 120, 255;
    --t: 10s;
    --s: 5.5px;
}

.val-atomic-orbit-spin {
    position: absolute;
    inset: 0;
    animation: valAtomicSpin var(--t, 12s) linear infinite;
}

.val-orbit-spin-reverse {
    animation: valAtomicSpin var(--t, 16s) linear infinite reverse;
}

.val-atomic-node {
    position: absolute;
    inset: 0;
    transform: rotate(var(--a, 0deg));
}

.val-atomic-node::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    width: var(--s, 6.5px);
    height: var(--s, 6.5px);
    border-radius: 50%;
    background: rgb(var(--c));
    box-shadow: 0 0 6px 2px rgba(var(--c), 0.85), 0 0 16px rgba(var(--c), 0.6);
    transform: translate(-50%, -50%);
}

.val-atomic-core-img {
    position: relative;
    z-index: 2;
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(0, 255, 204, 0.55));
    transition: transform 0.3s ease;
    pointer-events: auto;
}

.val-atomic-core-img:hover {
    transform: scale(1.08);
}

.val-atomic-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(0, 255, 204, 0.08);
    border: 1px solid rgba(0, 255, 204, 0.28);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #00FFCC;
}

.val-atomic-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00FFCC;
    box-shadow: 0 0 8px #00FFCC;
    animation: valDotBlink 1.5s ease-in-out infinite;
}

.val-hero-desc {
    font-size: 12px;
    color: #88BBFF;
    line-height: 1.55;
    margin: 10px auto 0 auto;
    max-width: 440px;
}

@keyframes valHaloPulse {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

@keyframes valAtomicSpin {
    to { transform: rotate(360deg); }
}

@keyframes valDotBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.7); }
}

@media (max-width: 380px) {
    .val-hero-title { font-size: 18px; }
}

/* ============================================================
   VALIDATOR STATUS CARD HEADER & STACKED CODE
   ============================================================ */
.val-card-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.val-card-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    flex-wrap: nowrap;
}

.val-card-label {
    font-size: 10.5px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.val-card-status-badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    white-space: nowrap !important;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.val-card-code-box {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(0, 255, 204, 0.28);
    border-radius: 10px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}

.val-card-code {
    font-size: 19px;
    font-weight: 800;
    color: #00FFCC;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 1.5px;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 0 12px rgba(0, 255, 204, 0.4);
}

.btn-copy-val-code {
    background: rgba(0, 255, 204, 0.12);
    border: 1px solid rgba(0, 255, 204, 0.35);
    color: #00FFCC;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.btn-copy-val-code:hover {
    background: rgba(0, 255, 204, 0.25);
    border-color: #00FFCC;
    color: #ffffff;
}

.btn-copy-val-code:active {
    transform: scale(0.95);
}

@media (max-width: 360px) {
    .val-card-code { font-size: 16px; letter-spacing: 1px; }
    .val-card-status-badge { font-size: 9.5px; padding: 3px 8px; }
}

/* Zealy XP balance in the Rewards card */
.zealy-xp-chip { align-self: flex-start; padding: 5px 11px; gap: 6px; font-size: 14px; }
.zealy-xp-chip .top-zealy-icon { width: 20px; height: 20px; }
.zealy-xp-chip .top-zealy-suffix { font-size: 10px; }
.zealy-xp-chip-label { font: 600 9px 'JetBrains Mono', monospace; color: #94a3b8; margin-left: 4px; }

.chamber-refresh-l1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 4px 10px;
    border: 1px solid rgba(255, 215, 0, 0.65);
    border-radius: 8px;
    background: rgba(255, 215, 0, 0.1);
    color: #FFD700;
    font-size: 10.5px;
    line-height: 1.2;
}
.chamber-refresh-icon {
    display: block;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    object-fit: contain;
}

/* XP to LUXA marketplace preview */
.mk-soon-banner {
    width: 100%; box-sizing: border-box; text-align: center;
    padding: 12px 14px; margin-bottom: 12px; border-radius: 16px;
    background: linear-gradient(135deg, rgba(28,20,6,.95), rgba(14,10,4,.98));
    border: 1.5px dashed rgba(255,215,0,.55);
    box-shadow: 0 8px 24px rgba(255,215,0,.1);
}
.mk-soon-banner p { margin: 8px 0 0; font-size: 11.5px; color: #cbd5e1; line-height: 1.5; }
.mk-soon-badge {
    display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 999px;
    font: 800 10.5px 'JetBrains Mono', monospace; letter-spacing: 1px; color: #FFD700;
    background: rgba(255,215,0,.12); border: 1px solid rgba(255,215,0,.5);
}
.mk-soon-dot { width: 6px; height: 6px; border-radius: 50%; background: #FFD700; box-shadow: 0 0 8px #FFD700; animation: formulaPulseDot 1.6s infinite ease-in-out; }
.mk-xp-tile { margin-bottom: 12px; }
.mk-xp-value { font: 800 24px 'Space Grotesk', sans-serif; color: #fff; line-height: 1.1; text-shadow: 0 0 14px rgba(255,215,0,.45); }
.mk-xp-value small { font-size: 12px; color: #FFD700; letter-spacing: 1px; }
.mk-xp-status { font: 600 10px 'JetBrains Mono', monospace; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-swap-card {
    width: 100%; box-sizing: border-box; padding: 14px; margin-bottom: 8px; border-radius: 16px; text-align: center;
    background: linear-gradient(135deg, rgba(26,10,36,.95), rgba(6,24,30,.98));
    border: 1.5px solid rgba(168,85,247,.45);
    box-shadow: 0 8px 24px rgba(168,85,247,.14), inset 0 1px 0 rgba(168,85,247,.2);
}
.mk-swap-label { font: 800 10px 'Space Grotesk', sans-serif; letter-spacing: 1.2px; color: #c084fc; margin-bottom: 10px; }
.mk-swap-row { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 8px; }
.mk-swap-side { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #fff; font-family: 'Space Grotesk', sans-serif; }
.mk-swap-ico { width: 44px !important; height: 44px !important; border-radius: 50%; object-fit: cover; display: flex; align-items: center; justify-content: center; }
.mk-ico-xp { background: linear-gradient(135deg, #FFD700, #FF8C00); color: #050608; font-size: 24px; box-shadow: 0 0 16px rgba(255,215,0,.5); }
.mk-swap-arrow { font-size: 22px; color: #00FFCC; text-shadow: 0 0 12px rgba(0,255,204,.7); animation: val-arrow-slide 1.4s ease-in-out infinite; }
.mk-swap-rate { font-size: 11px; color: #94a3b8; margin-bottom: 12px; }
.mk-swap-rate strong { color: #38bdf8; }
.mk-swap-btn:disabled {
    width: 100%; background: rgba(255,215,0,.08) !important; color: #FFD700 !important;
    border: 1.5px dashed rgba(255,215,0,.5) !important; font-weight: 800; opacity: .9;
}
.mk-step-desc { font-size: 10.5px; color: #94a3b8; line-height: 1.35; }
.mk-footnote { width: 100%; margin: 6px 0 10px; text-align: center; font-size: 10.5px; line-height: 1.6; color: #64748b; }
.mk-swap-btn:not(:disabled), .mk-swap-btn-live {
    background: linear-gradient(135deg, #FFD700 0%, #FF8C00 100%) !important;
    color: #050608 !important; border: none !important; font-weight: 800;
    box-shadow: 0 6px 20px rgba(255,140,0,.45);
}

/* ============================================================
   VALIDATOR AVATAR BADGE OVERLAY
   ============================================================ */
.avatar {
    position: relative !important;
}

.avatar-val-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: radial-gradient(circle, #FFE066 0%, #F59E0B 75%, #D97706 100%);
    border: 2px solid #FFFBEB;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.95), 0 0 5px #FFD700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 2.5px;
    box-sizing: border-box;
    pointer-events: none;
    animation: valAvatarGoldPulse 2.2s ease-in-out infinite alternate;
}

.avatar-val-badge img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
    border-radius: 0 !important;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.8));
}

@keyframes valAvatarGoldPulse {
    0% {
        box-shadow: 0 0 6px rgba(255, 215, 0, 0.8), 0 0 2px #FFD700;
        transform: scale(1);
    }
    100% {
        box-shadow: 0 0 15px rgba(255, 215, 0, 1), 0 0 6px #FFF5B8;
        transform: scale(1.06);
    }
}

/* Leaderboard avatar & validator badge */
.lb-avatar {
    position: relative !important;
    overflow: visible !important;
}

.lb-avatar img {
    border-radius: 12px !important;
}

.lb-val-badge {
    width: 18px;
    height: 18px;
    bottom: -3px;
    right: -3px;
    border-width: 1.5px;
}

.lb-val-pill {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.55);
    color: #FFD700;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 6px;
    margin-left: 6px;
    letter-spacing: 0.3px;
    vertical-align: middle;
}

/* ============================================================
   SPEED ACCELERATORS — ULTRA CYBER TILES
   ============================================================ */
.booster-tiles-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 4px;
    margin-bottom: 12px;
    box-sizing: border-box;
}

.booster-tile {
    width: 100%;
    border-radius: 16px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    position: relative;
    overflow: hidden !important;
    backdrop-filter: blur(16px);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-sizing: border-box;
    min-height: 70px;
    margin-bottom: 0;
}

.booster-tile:last-child {
    margin-bottom: 0;
}

.booster-tile:active {
    transform: scale(0.985);
}

/* Individual Distinct Tiles */
.booster-tile-20x {
    background: linear-gradient(135deg, rgba(28, 20, 6, 0.95) 0%, rgba(14, 10, 4, 0.98) 100%);
    border: 1.5px solid rgba(255, 215, 0, 0.45);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.12), inset 0 1px 0 rgba(255, 215, 0, 0.2);
}

.booster-tile-20x::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #FFD700, #FF8C00);
    box-shadow: 0 0 10px #FFD700;
}

.booster-tile-2x {
    background: linear-gradient(135deg, rgba(6, 24, 30, 0.95) 0%, rgba(4, 12, 18, 0.98) 100%);
    border: 1.5px solid rgba(0, 255, 204, 0.4);
    box-shadow: 0 8px 24px rgba(0, 255, 204, 0.12), inset 0 1px 0 rgba(0, 255, 204, 0.2);
}

.booster-tile-2x::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #00FFCC, #0066FF);
    box-shadow: 0 0 10px #00FFCC;
}

.booster-tile-3x {
    background: linear-gradient(135deg, rgba(26, 10, 36, 0.95) 0%, rgba(12, 5, 20, 0.98) 100%);
    border: 1.5px solid rgba(168, 85, 247, 0.45);
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.12), inset 0 1px 0 rgba(168, 85, 247, 0.2);
}

.booster-tile-3x::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #c084fc, #ec4899);
    box-shadow: 0 0 10px #c084fc;
}

/* Big, Clear Icon Containers */
.booster-icon-wrap {
    width: 62px;
    height: 62px;
    min-width: 62px;
    min-height: 62px;
    border-radius: 16px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

.booster-icon-wrap.wrap-20x {
    background: radial-gradient(circle, rgba(255, 215, 0, 0.25) 0%, rgba(255, 140, 0, 0.1) 100%);
    border: 1.5px solid rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 14px rgba(255, 215, 0, 0.25);
}

.booster-icon-wrap.wrap-2x {
    background: radial-gradient(circle, rgba(0, 255, 204, 0.25) 0%, rgba(0, 102, 255, 0.1) 100%);
    border: 1.5px solid rgba(0, 255, 204, 0.5);
    box-shadow: 0 0 14px rgba(0, 255, 204, 0.25);
}

.booster-icon-wrap.wrap-3x {
    background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, rgba(236, 72, 153, 0.1) 100%);
    border: 1.5px solid rgba(168, 85, 247, 0.5);
    box-shadow: 0 0 14px rgba(168, 85, 247, 0.25);
}

.booster-icon-wrap img {
    width: 54px !important;
    height: 54px !important;
    max-width: 54px !important;
    max-height: 54px !important;
    object-fit: contain !important;
    display: block !important;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.65));
    transition: transform 0.2s ease;
}

.booster-tile:hover .booster-icon-wrap img {
    transform: scale(1.08);
}

/* Middle Info Column */
.booster-tile-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    flex-grow: 1;
    min-width: 0;
}

.booster-tile-title {
    font-family: 'Space Grotesk', var(--font-display);
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.booster-meta-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.booster-pill-tag {
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.booster-pill-tag.tag-gold {
    background: rgba(255, 215, 0, 0.15);
    color: #FFD700;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.booster-pill-tag.tag-cyan {
    background: rgba(0, 255, 204, 0.15);
    color: #00FFCC;
    border: 1px solid rgba(0, 255, 204, 0.3);
}

.booster-pill-tag.tag-purple {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.booster-pill-tag.tag-info {
    background: rgba(100, 116, 139, 0.25);
    color: #cbd5e1;
}

/* Mini Progress Bar for 20x */
.booster-progress-track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    overflow: hidden;
    margin-top: 4px;
}

.booster-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #FF8C00);
    border-radius: 99px;
    transition: width 0.3s ease;
}

/* Action Buttons */
.booster-cta-btn {
    min-width: 104px;
    height: 38px;
    padding: 0 14px;
    border-radius: 10px;
    font-family: 'Space Grotesk', var(--font-display);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.4px;
    cursor: pointer;
    border: none;
    outline: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-shrink: 0;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.booster-cta-btn:active {
    transform: scale(0.94);
}

.booster-cta-gold {
    background: linear-gradient(135deg, #FFD700 0%, #FF8C00 100%);
    color: #050608;
    box-shadow: 0 4px 14px rgba(255, 140, 0, 0.4);
}

.booster-cta-gold:hover {
    box-shadow: 0 6px 18px rgba(255, 215, 0, 0.6);
}

.booster-cta-cyan {
    background: linear-gradient(135deg, #00FFCC 0%, #0099FF 100%);
    color: #040612;
    box-shadow: 0 4px 14px rgba(0, 255, 204, 0.35);
}

.booster-cta-cyan:hover {
    box-shadow: 0 6px 18px rgba(0, 255, 204, 0.55);
}

.booster-cta-purple {
    background: linear-gradient(135deg, #c084fc 0%, #a855f7 50%, #ec4899 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(168, 85, 247, 0.35);
}

.booster-cta-purple:hover {
    box-shadow: 0 6px 18px rgba(168, 85, 247, 0.55);
}

/* ============================================================
   CIRCULAR ADS BADGES & EXPANDED AD RECTANGULAR BUTTONS
   ============================================================ */
.booster-ad-circle {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: 'Space Grotesk', var(--font-display);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    outline: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    user-select: none;
}

.booster-ad-circle:active {
    transform: scale(0.92);
}

.booster-ad-circle-gold {
    background: linear-gradient(135deg, #FFD700 0%, #FF8C00 100%);
    color: #050608;
    box-shadow: 0 4px 14px rgba(255, 140, 0, 0.45), 0 0 10px rgba(255, 215, 0, 0.35);
}

.booster-ad-circle-gold:hover {
    box-shadow: 0 6px 18px rgba(255, 215, 0, 0.65);
}

.booster-ad-circle-cyan {
    background: linear-gradient(135deg, #00FFCC 0%, #0099FF 100%);
    color: #040612;
    box-shadow: 0 4px 14px rgba(0, 255, 204, 0.4), 0 0 10px rgba(0, 255, 204, 0.35);
}

.booster-ad-circle-cyan:hover {
    box-shadow: 0 6px 18px rgba(0, 255, 204, 0.65);
}

.booster-ad-circle-purple {
    background: linear-gradient(135deg, #c084fc 0%, #a855f7 50%, #ec4899 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(168, 85, 247, 0.4), 0 0 10px rgba(168, 85, 247, 0.35);
}

.booster-ad-circle-purple:hover {
    box-shadow: 0 6px 18px rgba(168, 85, 247, 0.65);
}

/* Circular ADS Badge on Rectangular Buttons (Daily bonus, Mining session bonus) */
.ad-circle-badge {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: 'Space Grotesk', var(--font-display);
    font-size: 9.5px;
    font-weight: 900;
    letter-spacing: 0.6px;
    background: rgba(0, 0, 0, 0.45);
    border: 1.5px solid currentColor;
    color: inherit;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Rectangular button with extended text and side badge */
.ad-rect-btn {
    display: inline-flex;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px;
    box-sizing: border-box;
    text-decoration: none;
    user-select: none;
}

.ad-rect-btn .ad-btn-label {
    flex: 1;
    text-align: left;
    font-family: 'Space Grotesk', var(--font-display);
    font-weight: 800;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.avatar img { border-radius: 14px !important; }

/* ============================================================
   POWER-UP UTILITY TILES & ROUND ACTION BUTTONS
   ============================================================ */
.booster-tile-timeskip {
    background: linear-gradient(135deg, rgba(6, 28, 18, 0.95) 0%, rgba(4, 16, 10, 0.98) 100%);
    border: 1.5px solid rgba(0, 230, 118, 0.45);
    box-shadow: 0 8px 24px rgba(0, 230, 118, 0.12), inset 0 1px 0 rgba(0, 230, 118, 0.2);
}

.booster-tile-timeskip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #00E676, #009955);
    box-shadow: 0 0 10px #00E676;
}

.booster-icon-wrap.wrap-timeskip {
    background: radial-gradient(circle, rgba(0, 230, 118, 0.25) 0%, rgba(0, 153, 85, 0.1) 100%);
    border: 1.5px solid rgba(0, 230, 118, 0.5);
    box-shadow: 0 0 14px rgba(0, 230, 118, 0.25);
}

.booster-tile-shards1 {
    background: linear-gradient(135deg, rgba(6, 22, 38, 0.95) 0%, rgba(4, 12, 22, 0.98) 100%);
    border: 1.5px solid rgba(56, 189, 248, 0.45);
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.12), inset 0 1px 0 rgba(56, 189, 248, 0.2);
}

.booster-tile-shards1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #38bdf8, #0284c7);
    box-shadow: 0 0 10px #38bdf8;
}

.booster-icon-wrap.wrap-shards1 {
    background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(2, 132, 199, 0.1) 100%);
    border: 1.5px solid rgba(56, 189, 248, 0.5);
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.25);
    border-radius: 16px !important;
}

.booster-tile-shards3 {
    background: linear-gradient(135deg, rgba(28, 12, 38, 0.95) 0%, rgba(14, 6, 22, 0.98) 100%);
    border: 1.5px solid rgba(168, 85, 247, 0.45);
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.12), inset 0 1px 0 rgba(168, 85, 247, 0.2);
}

.booster-tile-shards3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #c084fc, #7c3aed);
    box-shadow: 0 0 10px #c084fc;
}

.booster-icon-wrap.wrap-shards3 {
    background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, rgba(124, 58, 237, 0.1) 100%);
    border: 1.5px solid rgba(168, 85, 247, 0.5);
    box-shadow: 0 0 14px rgba(168, 85, 247, 0.25);
}

/* Compact, proportional size for utilities icon wraps */
.booster-icon-wrap.wrap-timeskip,
.booster-icon-wrap.wrap-shards1,
.booster-icon-wrap.wrap-shards3 {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    border-radius: 14px !important;
}

.booster-icon-wrap.wrap-timeskip img,
.booster-icon-wrap.wrap-shards1 img,
.booster-icon-wrap.wrap-shards3 img {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
}

/* Circular Round Buttons for Instant Utilities */
.booster-round-btn {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    border-radius: 50%;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    flex-shrink: 0;
    font-family: 'Space Grotesk', var(--font-display);
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    border: none;
    outline: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    user-select: none;
}

.booster-round-btn:active {
    transform: scale(0.92);
}

.booster-round-btn .token-inline-icon {
    width: 14px;
    height: 14px;
}

.booster-round-emerald {
    background: linear-gradient(135deg, #00E676 0%, #009955 100%);
    color: #021a0f;
    box-shadow: 0 4px 14px rgba(0, 230, 118, 0.4), 0 0 10px rgba(0, 230, 118, 0.3);
}

.booster-round-emerald:hover {
    box-shadow: 0 6px 18px rgba(0, 230, 118, 0.65);
}

.booster-round-blue {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
    color: #031326;
    box-shadow: 0 4px 14px rgba(56, 189, 248, 0.4), 0 0 10px rgba(56, 189, 248, 0.3);
}

.booster-round-blue:hover {
    box-shadow: 0 6px 18px rgba(56, 189, 248, 0.65);
}

.booster-round-purple {
    background: linear-gradient(135deg, #c084fc 0%, #7c3aed 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(168, 85, 247, 0.4), 0 0 10px rgba(168, 85, 247, 0.3);
}

.booster-round-purple:hover {
    box-shadow: 0 6px 18px rgba(168, 85, 247, 0.65);
}

.booster-pill-tag.tag-emerald {
    background: rgba(0, 230, 118, 0.15);
    color: #00E676;
    border: 1px solid rgba(0, 230, 118, 0.35);
}

.booster-pill-tag.tag-blue {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.35);
}


/* ============================================================
   PROTOCOL EXCHANGE FORMULA BANNER & STANDARDIZED TOKEN LOGOS
   ============================================================ */
.exchange-formula-banner {
    width: 100%;
    border-radius: 16px;
    padding: 12px 14px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, rgba(13, 20, 36, 0.95) 0%, rgba(6, 10, 20, 0.98) 100%);
    border: 1px solid rgba(0, 255, 204, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), inset 0 0 16px rgba(0, 255, 204, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-sizing: border-box;
    text-align: center;
}

.formula-badge-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Space Grotesk', var(--font-display);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #00FFCC;
    text-transform: uppercase;
}

.formula-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00FFCC;
    box-shadow: 0 0 8px #00FFCC;
    animation: formulaPulseDot 1.6s infinite ease-in-out;
}

@keyframes formulaPulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

.formula-main-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 2px 6px;
}

.formula-token-side {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.formula-token-img {
    width: 26px !important;
    height: 26px !important;
    max-width: 26px !important;
    max-height: 26px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
    flex-shrink: 0;
}

.formula-token-val {
    font-family: 'Space Grotesk', var(--font-display);
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.formula-token-sym {
    font-family: 'Space Grotesk', var(--font-display);
    font-size: 11.5px;
    font-weight: 700;
    color: #94a3b8;
}

.formula-equals-sign {
    font-family: 'Space Grotesk', var(--font-display);
    font-size: 18px;
    font-weight: 800;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    padding: 0 2px;
}

.formula-sub-rate {
    font-size: 10.5px;
    color: #94a3b8;
    font-family: 'Space Grotesk', var(--font-display);
    letter-spacing: 0.3px;
}

.formula-sub-rate strong {
    color: #38bdf8;
    font-weight: 700;
}

/* Strict uniform size for round action button token logos */
.token-round-icon {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6));
    flex-shrink: 0 !important;
}

/* Ensure left icon containers and images are strictly uniform */
.booster-icon-wrap {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

.booster-icon-wrap img {
    width: 42px !important;
    height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;
    object-fit: contain !important;
    display: block !important;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
    transition: transform 0.2s ease;
}

.booster-round-btn {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
}

.booster-pill-tag.tag-cost-emerald {
    background: rgba(0, 230, 118, 0.12);
    color: #a7f3d0;
    border: 1px solid rgba(0, 230, 118, 0.35);
    font-weight: 700;
}
.booster-pill-tag.tag-cost-blue {
    background: rgba(56, 189, 248, 0.12);
    color: #bae6fd;
    border: 1px solid rgba(56, 189, 248, 0.35);
    font-weight: 700;
}
.booster-pill-tag.tag-cost-purple {
    background: rgba(168, 85, 247, 0.12);
    color: #e9d5ff;
    border: 1px solid rgba(168, 85, 247, 0.35);
    font-weight: 700;
}

/* ============================================================
   UTILITY PRICE COLUMN: token coin button + price label below
   ============================================================ */
.booster-price-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
    min-width: 58px;
}

.booster-price-col .booster-round-btn {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    padding: 0;
    position: relative;
}

.booster-price-col .booster-round-btn::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

/* Both token logos render at the exact same visual size */
.booster-price-col .token-round-icon {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.35), 0 2px 5px rgba(0, 0, 0, 0.5);
    filter: none;
}

/* LUXA PNG has ~5px transparent padding (116/128 px content); SHARD fills the full canvas */
.booster-price-col .token-round-icon.token-luxa {
    transform: scale(1.1);
}

.booster-price-label {
    display: inline-flex;
    align-items: baseline;
    gap: 2.5px;
    padding: 1.5px 7px;
    border-radius: 999px;
    font-family: 'Space Grotesk', var(--font-display);
    line-height: 1.25;
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.4);
}

.booster-price-label strong {
    font-size: 11px;
    font-weight: 800;
    color: #ffffff;
}

.booster-price-label span {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.booster-price-label.price-emerald { border: 1px solid rgba(0, 230, 118, 0.45); }
.booster-price-label.price-emerald span { color: #00E676; }
.booster-price-label.price-blue { border: 1px solid rgba(56, 189, 248, 0.45); }
.booster-price-label.price-blue span { color: #38bdf8; }
.booster-price-label.price-purple { border: 1px solid rgba(168, 85, 247, 0.45); }
.booster-price-label.price-purple span { color: #c084fc; }


/* ============================================================
   COMPACT NON-BULKY BOOST & SESSION YIELD TELEMETRY PILLS
   ============================================================ */
#startBonusAdBtn[style*="display: none"],
#startBonusAdBtn[style*="display:none"] {
    display: none !important;
}

.mining-boost-live-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: -10px auto 6px;
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.38);
    font-family: 'JetBrains Mono', var(--font-mono);
    font-size: 10.5px;
    color: #fef08a;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(255, 180, 0, 0.15);
}

.mining-boost-live-pill .mbp-badge {
    font-family: 'Space Grotesk', var(--font-display);
    font-weight: 800;
    color: #FFD700;
    letter-spacing: 0.3px;
}

.mining-boost-live-pill .mbp-yield {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-weight: 700;
    color: #00FFCC;
}

.mining-boost-live-pill .mbp-ico {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    object-fit: cover;
}

.mining-boost-live-pill .mbp-sep {
    color: rgba(255, 255, 255, 0.28);
}

.mining-boost-live-pill .mbp-time {
    color: #e2e8f0;
    font-size: 10px;
}

.mining-session-live-yield {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    padding: 2px 9px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.18);
    font-family: 'JetBrains Mono', var(--font-mono);
    font-size: 10px;
    color: #94a3b8;
    letter-spacing: 0.2px;
}

.mining-session-live-yield strong {
    color: #00FFCC;
    font-weight: 700;
}

.active-booster-compact-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    box-sizing: border-box;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.38);
    color: #fde68a;
    border-radius: 999px;
    padding: 6px 14px;
    margin-bottom: 10px;
    font-family: 'JetBrains Mono', var(--font-mono);
    font-size: 11px;
    text-align: center;
}

.active-booster-compact-pill strong {
    color: #00FFCC;
    font-family: 'Space Grotesk', var(--font-display);
}

.active-booster-compact-pill .boost-pill-sep {
    color: rgba(255, 255, 255, 0.3);
}


/* ============================================================
   DUAL 24H CLAIM BUTTONS (ClaimLuxa.png & fibo4.png)
   ============================================================ */
.dual-claim-actions-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 260px;
    margin: 8px auto 14px;
    align-items: center;
}

.img-claim-btn {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    width: 250px;
    max-width: 250px;
    box-sizing: border-box;
    transition: transform 0.16s ease, filter 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.img-claim-btn:active {
    transform: scale(0.95);
}

.img-claim-btn:disabled {
    opacity: 0.6;
    pointer-events: none;
}

.img-claim-art-wrap {
    position: relative;
    width: 250px;
    height: 125px;
    min-width: 250px;
    min-height: 125px;
    max-width: 250px;
    max-height: 125px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    box-sizing: border-box;
}

.img-claim-png {
    width: 250px !important;
    height: 125px !important;
    min-width: 250px !important;
    min-height: 125px !important;
    max-width: 250px !important;
    max-height: 125px !important;
    aspect-ratio: 2 / 1;
    object-fit: contain !important;
    display: block !important;
    filter: drop-shadow(0 4px 14px rgba(0, 180, 255, 0.45));
}

.img-claim-normal .img-claim-png {
    filter: drop-shadow(0 4px 14px rgba(0, 180, 255, 0.45));
}

/* FIBO x4 PULSATION ANIMATION - ONLY on FIBO x4 */
@keyframes fibo4Pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 4px 14px rgba(0, 255, 204, 0.45));
    }
    50% {
        transform: scale(1.038);
        filter: drop-shadow(0 6px 22px rgba(0, 255, 204, 0.9)) drop-shadow(0 0 14px rgba(255, 215, 0, 0.55));
    }
}

.img-claim-fibo4 {
    animation: fibo4Pulse 1.8s ease-in-out infinite;
}

.img-claim-fibo4:active {
    animation: none;
    transform: scale(0.95);
}

.img-claim-fibo4 .img-claim-png {
    filter: drop-shadow(0 4px 16px rgba(0, 255, 204, 0.55));
}

.img-claim-ad-badge {
    position: absolute;
    top: 6px;
    right: 8px;
    padding: 2px 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, #FFD700, #FF8C00);
    color: #040814;
    font-family: 'Space Grotesk', var(--font-display);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.6);
    z-index: 2;
}

/* Identical dimensions for both meta pills below the buttons */
.img-claim-meta-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 250px;
    max-width: 250px;
    box-sizing: border-box;
    padding: 4px 12px;
    border-radius: 999px;
    font-family: 'JetBrains Mono', var(--font-mono);
    font-size: 11px;
    line-height: 1.35;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.img-claim-meta-pill.normal-pill {
    border: 1px solid rgba(56, 189, 248, 0.45);
    background: rgba(8, 15, 32, 0.92);
    color: #bae6fd;
}

.img-claim-meta-pill.fibo4-pill {
    border: 1px solid rgba(0, 255, 204, 0.55);
    background: rgba(6, 22, 28, 0.92);
    color: #a7f3d0;
}

.img-claim-meta-pill .icm-level {
    color: #38bdf8;
    font-weight: 700;
}

.img-claim-meta-pill.fibo4-pill .icm-level {
    color: #FFD700;
}

.img-claim-meta-pill .icm-amount {
    color: #ffffff;
    font-weight: 800;
}

.img-claim-meta-pill.fibo4-pill .icm-amount {
    color: #00FFCC;
}

.img-claim-meta-pill .icm-sep {
    color: rgba(255, 255, 255, 0.3);
}


/* ============================================================
   VALIDATOR AMBASSADOR PORTAL & SHIMMERING HIDDEN CHAMBER
   ============================================================ */
@keyframes raqeemChamberShimmer {
    0% {
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.35), 0 0 20px rgba(0, 255, 204, 0.2), inset 0 0 8px rgba(255, 215, 0, 0.2);
        border-color: rgba(255, 215, 0, 0.65);
    }
    50% {
        box-shadow: 0 0 18px rgba(255, 215, 0, 0.75), 0 0 30px rgba(0, 255, 204, 0.45), inset 0 0 14px rgba(255, 215, 0, 0.4);
        border-color: #00FFCC;
    }
    100% {
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.35), 0 0 20px rgba(0, 255, 204, 0.2), inset 0 0 8px rgba(255, 215, 0, 0.2);
        border-color: rgba(255, 215, 0, 0.65);
    }
}

@keyframes raqeemIconFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.75));
    }
    50% {
        transform: translateY(-2px) scale(1.08);
        filter: drop-shadow(0 0 14px rgba(0, 255, 204, 0.95));
    }
}

@keyframes ambSpinnerRotate {
    to { transform: rotate(360deg); }
}

.nav-btn.nav-btn-raqeem-chamber {
    position: relative;
    background: linear-gradient(145deg, rgba(45, 32, 8, 0.9), rgba(8, 28, 38, 0.92)) !important;
    border: 1.5px solid rgba(255, 215, 0, 0.7) !important;
    border-radius: 14px;
    animation: raqeemChamberShimmer 2.6s ease-in-out infinite;
    overflow: hidden;
}

.nav-btn.nav-btn-raqeem-chamber span {
    color: #FFD700 !important;
    font-weight: 800 !important;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.55);
}

.nav-btn.nav-btn-raqeem-chamber.active {
    background: linear-gradient(145deg, rgba(75, 52, 10, 0.96), rgba(0, 55, 65, 0.96)) !important;
    border-color: #00FFCC !important;
}

.nav-btn.nav-btn-raqeem-chamber .raqeem-chamber-icon {
    animation: raqeemIconFloat 2.8s ease-in-out infinite;
}

/* Validator Ambassador Verification / Ambassador Portal Card */
.amb-portal-master-card {
    background: linear-gradient(145deg, rgba(14, 21, 42, 0.95), rgba(8, 12, 26, 0.98));
    border: 1.5px solid rgba(255, 215, 0, 0.45);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55), 0 0 22px rgba(255, 215, 0, 0.12);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.amb-portal-master-card.is-verified-ambassador {
    border-color: #FFD700;
    background: linear-gradient(145deg, rgba(28, 22, 10, 0.95), rgba(8, 22, 34, 0.98));
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.65), 0 0 26px rgba(255, 215, 0, 0.22);
}

.amb-card-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.amb-card-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.amb-card-emblem {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.amb-card-emblem img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.6));
}

.amb-card-title {
    font-family: 'Orbitron', 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: #FFD700;
    margin: 0;
    letter-spacing: 0.3px;
}

.amb-card-sub {
    font-size: 11px;
    color: #94a3b8;
    margin: 2px 0 0 0;
}

.amb-badge-moniker-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.22), rgba(0, 255, 204, 0.18));
    border: 1px solid #FFD700;
    color: #FFD700;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    font-weight: 800;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.28);
}

.amb-verif-desc {
    font-size: 12px;
    color: #cbd5e1;
    line-height: 1.55;
    margin-bottom: 12px;
}

.amb-pillars-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.amb-pillar-mini-box {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 8px 6px;
    text-align: center;
}

.amb-pillar-mini-val {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12.5px;
    font-weight: 800;
    color: #00FFCC;
}

.amb-pillar-mini-lbl {
    display: block;
    font-size: 9.5px;
    color: #94a3b8;
    margin-top: 2px;
}

.amb-input-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.amb-valoper-input {
    width: 100%;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.6);
    border: 1.5px solid rgba(255, 215, 0, 0.4);
    border-radius: 10px;
    padding: 11px 12px;
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    outline: none;
}

.amb-valoper-input:focus {
    border-color: #00FFCC;
    box-shadow: 0 0 12px rgba(0, 255, 204, 0.25);
}

.amb-verify-btn {
    width: 100%;
    height: 44px;
    border: none;
    border-radius: 11px;
    background: linear-gradient(135deg, #FFD700 0%, #FF9900 50%, #00FFCC 100%);
    color: #040814;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.35);
}

.amb-verify-btn:disabled {
    opacity: 0.7;
    cursor: wait;
}

.amb-chamber-btn {
    width: 100%;
    height: 42px;
    border: none;
    border-radius: 11px;
    background: linear-gradient(135deg, #FFD700 0%, #F59E0B 100%);
    color: #040814;
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.3px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(255, 215, 0, 0.32);
    transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
    user-select: none;
}

.amb-chamber-btn:active {
    transform: scale(0.98);
    filter: brightness(0.95);
}

.amb-share-btn {
    width: 100%;
    height: 42px;
    border: none;
    border-radius: 11px;
    background: linear-gradient(135deg, #00FFCC 0%, #00B4D8 100%);
    color: #040814;
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.3px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 255, 204, 0.32);
    transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
    user-select: none;
}

.amb-share-btn:active {
    transform: scale(0.98);
    filter: brightness(0.95);
}

.amb-spinner-box {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 10px;
    background: rgba(0, 255, 204, 0.08);
    border: 1px solid rgba(0, 255, 204, 0.3);
    color: #00FFCC;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    margin-top: 8px;
}

.amb-spinner-circle {
    width: 15px;
    height: 15px;
    border: 2px solid rgba(0, 255, 204, 0.25);
    border-top-color: #00FFCC;
    border-radius: 50%;
    animation: ambSpinnerRotate 0.75s linear infinite;
}

/* Hidden Chamber Page (#page-hidden-chamber) */
.chamber-hero-card {
    background: radial-gradient(circle at top, rgba(255, 215, 0, 0.16), rgba(8, 12, 26, 0.96) 70%);
    border: 1.5px solid rgba(255, 215, 0, 0.55);
    border-radius: 18px;
    padding: 18px 16px;
    text-align: center;
    margin-bottom: 14px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.65), 0 0 28px rgba(255, 215, 0, 0.15);
}

.chamber-hero-emblem-wrap {
    width: 76px;
    height: 76px;
    margin: 0 auto 10px auto;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.25) 0%, rgba(0, 255, 204, 0.08) 70%);
    border: 2px solid rgba(255, 215, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 24px rgba(255, 215, 0, 0.4);
}

.chamber-hero-emblem-wrap img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    animation: raqeemIconFloat 3s ease-in-out infinite;
}

.chamber-hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 16.5px;
    font-weight: 900;
    color: #FFD700;
    letter-spacing: 0.6px;
    margin: 0 0 4px 0;
    text-shadow: 0 0 14px rgba(255, 215, 0, 0.45);
}

.chamber-hero-sub {
    font-size: 11.5px;
    color: #88BBFF;
    margin: 0 0 10px 0;
}

.chamber-section-card {
    background: rgba(12, 17, 34, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 14px 15px;
    margin-bottom: 13px;
    text-align: left;
}

.chamber-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.chamber-section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #00FFCC;
    margin: 0;
}

.chamber-telemetry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.chamber-telemetry-item {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 8px 10px;
}

.chamber-telemetry-lbl {
    display: block;
    font-size: 9.5px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chamber-telemetry-val {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 2px;
    word-break: break-all;
}

.chamber-milestone-card {
    background: linear-gradient(145deg, rgba(16, 23, 44, 0.95), rgba(9, 13, 26, 0.98));
    border: 1.5px solid rgba(56, 189, 248, 0.35);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 12px;
    text-align: left;
}

.chamber-milestone-card.unlocked {
    border-color: #22c55e;
    box-shadow: 0 0 18px rgba(34, 197, 94, 0.18);
}

.chamber-milestone-card.seal-card.unlocked {
    border-color: #FFD700;
    box-shadow: 0 0 22px rgba(255, 215, 0, 0.28);
}

.chamber-progress-track {
    width: 100%;
    height: 9px;
    background: rgba(0, 0, 0, 0.65);
    border-radius: 999px;
    overflow: hidden;
    margin: 8px 0 6px 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.chamber-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #00FFCC, #38bdf8);
    transition: width 0.4s ease;
}

.chamber-progress-fill.gold {
    background: linear-gradient(90deg, #FFD700, #FF8C00, #00FFCC);
}

/* Council of 4 Ministers Election Portal Button (Locked vs Illuminated Active) */
.btn-minister-portal {
    width: 100%;
    min-height: 48px;
    border-radius: 12px;
    padding: 10px 14px;
    font-family: 'Orbitron', 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-minister-portal.locked {
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px dashed rgba(148, 163, 184, 0.35);
    color: #94a3b8;
    cursor: not-allowed;
}

.btn-minister-portal.illuminated {
    background: linear-gradient(135deg, #FFD700 0%, #FFAE00 50%, #00FFCC 100%);
    border: 1.5px solid #ffffff;
    color: #040814;
    cursor: pointer;
    animation: raqeemChamberShimmer 2s ease-in-out infinite;
    box-shadow: 0 0 24px rgba(255, 215, 0, 0.65);
}

#page-boosters {
    padding-left: 14px !important;
    padding-right: 14px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 400px !important;
    margin: 0 auto !important;
}

img.top-zealy-icon {
    width: 16px !important;
    height: 16px !important;
    object-fit: contain;
    flex: 0 0 16px;
    filter: drop-shadow(0 0 6px rgba(255, 79, 216, .6));
}
.zealy-xp-chip img.top-zealy-icon { width: 18px !important; height: 18px !important; flex-basis: 18px; }

.chamber-refresh-l1 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    font-size: 10.5px;
    background: rgba(0, 255, 204, .12);
    border: 1px solid rgba(0, 255, 204, .4);
    color: #00FFCC;
    border-radius: 8px;
}
.chamber-refresh-icon {
    width: 14px !important;
    height: 14px !important;
    object-fit: contain;
    flex: 0 0 14px;
}

#topBalance { white-space: nowrap; }
.tb-dec-box {
    font-size: 9px;
    letter-spacing: 0;
    padding: 1.5px 4px;
    font-variant-numeric: tabular-nums;
}
@media (max-width: 380px) {
    .tb-int { font-size: 11.5px; }
    .tb-dec-box { font-size: 8px; padding: 1px 3px; }
    .top-balance, .top-shard-balance { gap: 4px; padding-right: 6px; }
}

/* XP exchange claim preview */
.mk-claim-strip {
    position: relative; overflow: hidden; width: 100%; box-sizing: border-box;
    padding: 12px 14px; margin-bottom: 12px; border-radius: 16px;
    background: linear-gradient(135deg, rgba(28,20,6,.95), rgba(6,24,30,.98));
    border: 1.5px solid rgba(255,215,0,.45);
    box-shadow: 0 8px 24px rgba(255,215,0,.12);
}
.mk-claim-strip::after {
    content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255,215,0,.18), transparent);
    transform: skewX(-20deg); animation: mkSweep 3.2s ease-in-out infinite; pointer-events: none;
}
.mk-claim-strip.is-ready { border-color: #00FFCC; box-shadow: 0 8px 28px rgba(0,255,204,.25); animation: mkGlow 2.4s ease-in-out infinite; }
@keyframes mkSweep { 0% { left: -60%; } 60%, 100% { left: 140%; } }
@keyframes mkGlow { 50% { box-shadow: 0 8px 36px rgba(0,255,204,.5); } }
.mk-claim-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.mk-claim-label { font: 800 9.5px 'JetBrains Mono', monospace; letter-spacing: .08em; color: #FFD700; }
.mk-claim-amount { display: inline-flex; align-items: center; gap: 6px; font: 800 22px 'Space Grotesk', sans-serif; color: #fff; text-shadow: 0 0 14px rgba(0,255,204,.45); }
.mk-claim-amount img { width: 20px; height: 20px; border-radius: 50%; }
.mk-claim-bar { height: 9px; border-radius: 99px; overflow: hidden; background: rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.08); }
.mk-claim-fill { height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #FFD700, #FF8C00, #00FFCC); transition: width .5s ease; }
.mk-claim-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; font: 600 10px 'JetBrains Mono', monospace; color: #94a3b8; }
@media (prefers-reduced-motion: reduce) { .mk-claim-strip::after, .mk-claim-strip.is-ready { animation: none; } }

/* Zealy Prime page */
.zp-hero {
    width: 100%; box-sizing: border-box; padding: 16px 14px; margin-bottom: 12px; border-radius: 16px; text-align: center;
    background: linear-gradient(135deg, rgba(28,20,6,.95), rgba(6,24,30,.98));
    border: 1.5px solid rgba(255,215,0,.45);
    box-shadow: 0 8px 24px rgba(255,215,0,.12);
}
.zp-hero-label { font: 800 9.5px 'JetBrains Mono', monospace; letter-spacing: .08em; color: #FFD700; margin-bottom: 6px; }
.zp-hero-amount { display: inline-flex; align-items: center; gap: 8px; font: 800 30px 'Space Grotesk', sans-serif; color: #fff; text-shadow: 0 0 16px rgba(0,255,204,.45); }
.zp-hero-amount img { width: 26px; height: 26px; border-radius: 50%; }
.zp-hero-sub { font-size: 11px; color: #94a3b8; margin: 4px 0 12px; }
.zp-hero-sub span { color: #00FFCC; font-weight: 700; }
.zp-me {
    width: 100%; box-sizing: border-box; padding: 10px 14px; margin-bottom: 12px; border-radius: 14px;
    border: 1px solid #00FFCC; background: rgba(0,255,204,.08); color: #e2e8f0; font-size: 12px; text-align: center;
}
.zp-me strong { color: #00FFCC; }
.zp-date { display: block; font: 600 9px 'JetBrains Mono', monospace; color: #64748b; margin-top: 2px; }

/* Larger XP refresh button (Market + Zealy Prime) */
.booster-ad-circle.xp-refresh-btn {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    font-size: 26px;
}
.xp-refresh-icon {
    display: block;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    object-fit: contain;
}
.zp-refresh-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 4px 0 14px;
}
.zp-refresh-label {
    font: 800 10px 'JetBrains Mono', monospace;
    letter-spacing: .1em;
    color: #FFD700;
}

/* Zealy Prime Brand Header */
.zp-header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    margin-bottom: 12px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 14px;
}
.zp-brand-logo {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    object-fit: contain;
}

/* Zealy Prime Hub Card in Market */
.mk-zealy-hub-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    margin: 16px 0 14px;
    background: linear-gradient(135deg, rgba(28, 20, 6, 0.95), rgba(15, 23, 42, 0.95));
    border: 1.5px solid rgba(255, 215, 0, 0.45);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.12);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.mk-zealy-hub-card:active {
    transform: scale(0.98);
}
.mk-zealy-hub-left {
    display: flex;
    align-items: center;
    gap: 14px;
}
.mk-zealy-hub-logo-wrap {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 14px;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.25);
}
.mk-zealy-hub-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}
.mk-zealy-hub-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.mk-zealy-hub-badge {
    font: 800 9px 'JetBrains Mono', monospace;
    color: #FFD700;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
}
.mk-zealy-hub-title {
    font: 700 15px 'Space Grotesk', sans-serif;
    color: #fff;
}
.mk-zealy-hub-meta {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 2px;
}
.mk-zealy-hub-btn {
    background: linear-gradient(135deg, #FFD700, #FF8C00);
    border: none;
    border-radius: 10px;
    color: #000;
    font: 700 12px 'Space Grotesk', sans-serif;
    padding: 8px 14px;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

/* Zealy Prime Snapshot Details Box */
.zp-snapshot-card {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 215, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.zp-snapshot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font: 700 11px 'JetBrains Mono', monospace;
    color: #FFD700;
}
.zp-snapshot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 11px;
}
.zp-snapshot-stat {
    background: rgba(0, 0, 0, 0.3);
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.zp-snapshot-stat span {
    display: block;
    color: #94a3b8;
    font-size: 10px;
}
.zp-snapshot-stat strong {
    color: #00FFCC;
    font-family: 'JetBrains Mono', monospace;
}

/* Floating Active Airdrop Countdown Widget on Mining Screen */
.airdrop-live-floating-widget {
    position: absolute;
    left: 8px;
    top: 172px;
    width: 82px;
    height: 82px;
    z-index: 35;
    cursor: pointer;
    filter: drop-shadow(0 0 10px rgba(0, 102, 255, 0.5));
    animation: airdrop-float 3.5s ease-in-out infinite;
    user-select: none;
    -webkit-user-select: none;
    transition: transform 0.2s ease, filter 0.2s ease;
}
.airdrop-live-floating-widget:hover {
    filter: drop-shadow(0 0 16px rgba(0, 255, 204, 0.85));
    transform: scale(1.06);
}
.airdrop-live-floating-widget:active {
    transform: scale(0.94);
}
@keyframes airdrop-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.airdrop-widget-badge-wrap {
    position: relative;
    width: 100%;
    height: 100%;
}
.airdrop-badge-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}
.airdrop-widget-badge-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Cyclic smooth transition between Flight State and Timer State */
.airdrop-layer-flight {
    animation: airdrop-flight-cycle 8s ease-in-out infinite;
}
.airdrop-layer-timer {
    animation: airdrop-timer-cycle 8s ease-in-out infinite;
}

@keyframes airdrop-flight-cycle {
    0%, 42% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: drop-shadow(0 0 4px rgba(0, 150, 255, 0.4));
    }
    50%, 92% {
        opacity: 0;
        transform: scale(0.96) translateY(-2px);
        filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: drop-shadow(0 0 4px rgba(0, 150, 255, 0.4));
    }
}

@keyframes airdrop-timer-cycle {
    0%, 42% {
        opacity: 0;
        transform: scale(0.96) translateY(2px);
        filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
    }
    50%, 92% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: drop-shadow(0 0 6px rgba(0, 255, 204, 0.6));
    }
    100% {
        opacity: 0;
        transform: scale(0.96) translateY(2px);
        filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
    }
}

/* When hovered or active, smoothly hold on the timer layer for clear readability */
.airdrop-live-floating-widget:hover .airdrop-layer-flight,
.airdrop-live-floating-widget:focus .airdrop-layer-flight {
    opacity: 0 !important;
    animation-play-state: paused;
}
.airdrop-live-floating-widget:hover .airdrop-layer-timer,
.airdrop-live-floating-widget:focus .airdrop-layer-timer {
    opacity: 1 !important;
    animation-play-state: paused;
}

/* The countdown text placed inside the blue container slot of airdrop_countdown_badge.png */
.airdrop-widget-countdown {
    position: absolute;
    bottom: 3.5%;
    left: 50%;
    transform: translateX(-50%);
    width: 76%;
    height: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    font: 800 9.5px 'JetBrains Mono', monospace;
    letter-spacing: 0.2px;
    color: #00FFCC;
    text-shadow: 0 0 6px rgba(0, 255, 204, 0.95);
    background: radial-gradient(circle, rgba(0, 20, 50, 0.95) 0%, rgba(2, 6, 23, 0.98) 100%);
    border-radius: 4px;
    pointer-events: none;
    box-sizing: border-box;
    overflow: hidden;
    white-space: nowrap;
}
.airdrop-widget-countdown.claimed {
    color: #86efac;
    text-shadow: 0 0 6px rgba(34, 197, 94, 0.85);
    font-size: 8.5px;
}

@media (max-height: 720px) {
    .airdrop-live-floating-widget {
        top: 154px;
        width: 72px;
        height: 72px;
        left: 6px;
    }
    .airdrop-widget-countdown {
        font-size: 8.5px;
    }
}
@media (max-width: 360px) {
    .airdrop-live-floating-widget {
        left: 3px;
        width: 66px;
        height: 66px;
    }
    .airdrop-widget-countdown {
        font-size: 8px;
    }
}

/* Floating X Follow & Claim Parachute Widget on Mining Screen */
.x-airdrop-floating-widget {
    position: absolute;
    right: 6px;
    top: 168px;
    width: 88px;
    height: 92px;
    z-index: 36;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    animation: x-airdrop-float 3.2s ease-in-out infinite;
    transition: transform 0.2s ease, filter 0.2s ease;
}
.x-airdrop-floating-widget:hover {
    transform: scale(1.07);
}
.x-airdrop-floating-widget:active {
    transform: scale(0.94);
}
@keyframes x-airdrop-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

.x-airdrop-glow-aura {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.75) 0%, rgba(0, 102, 255, 0.45) 42%, rgba(255, 215, 0, 0.35) 68%, transparent 82%);
    filter: blur(8px);
    opacity: 0.9;
    pointer-events: none;
    animation: x-airdrop-aura-pulse 2.2s ease-in-out infinite;
    z-index: 0;
}
@keyframes x-airdrop-aura-pulse {
    0%, 100% { transform: scale(0.92); opacity: 0.75; }
    50% { transform: scale(1.12); opacity: 1; }
}

.x-airdrop-badge-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.x-airdrop-badge-img {
    width: 100%;
    height: 82px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.85)) drop-shadow(0 0 22px rgba(255, 215, 0, 0.45));
}
.x-airdrop-reward-pill {
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #020617, #0f172a);
    border: 1px solid rgba(0, 229, 255, 0.75);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.55);
    color: #00FFCC;
    font-family: 'JetBrains Mono', monospace;
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: 0.2px;
    padding: 2px 6px;
    border-radius: 999px;
    white-space: nowrap;
}
.x-airdrop-reward-pill.ready {
    background: linear-gradient(90deg, #FFD700, #f59e0b);
    border-color: #FFF3A8;
    color: #040814;
    box-shadow: 0 0 14px rgba(255, 215, 0, 0.85);
}

@media (max-height: 720px) {
    .x-airdrop-floating-widget {
        top: 152px;
        width: 76px;
        height: 80px;
        right: 5px;
    }
    .x-airdrop-badge-img {
        height: 70px;
    }
    .x-airdrop-reward-pill {
        font-size: 8px;
    }
}
@media (max-width: 360px) {
    .x-airdrop-floating-widget {
        right: 3px;
        width: 70px;
        height: 74px;
    }
    .x-airdrop-badge-img {
        height: 64px;
    }
    .x-airdrop-reward-pill {
        font-size: 7.5px;
    }
}

/* ============================================================
   RAQEEM CHAMBER MEMBERS DIRECTORY & REGISTRY
   ============================================================ */

.chamber-btn-roster {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.16), rgba(0, 255, 204, 0.1));
    border: 1.5px solid rgba(255, 215, 0, 0.55);
    border-radius: 12px;
    color: #FFD700;
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.4px;
    cursor: pointer;
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.18);
    transition: all 0.25s ease;
    width: 100%;
    max-width: 320px;
}
.chamber-btn-roster:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.28), rgba(0, 255, 204, 0.18));
    border-color: #00FFCC;
    color: #00FFCC;
    box-shadow: 0 0 22px rgba(0, 255, 204, 0.35);
    transform: translateY(-1px);
}
.chamber-btn-roster:active {
    transform: scale(0.98);
}
.chamber-btn-roster-icon {
    font-size: 14px;
    filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.8));
}
.chamber-roster-pill {
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 215, 0, 0.45);
    color: #00FFCC;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px;
    font-weight: 800;
}

/* Modal Overlay & Card Container */
.chamber-roster-overlay {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(3, 7, 18, 0.88);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-sizing: border-box;
}
.chamber-members-modal-box {
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    padding: 18px 16px 14px;
    border-radius: 18px;
    border: 1.5px solid rgba(255, 215, 0, 0.45);
    background: linear-gradient(170deg, rgba(14, 20, 42, 0.98) 0%, rgba(6, 10, 22, 0.99) 100%);
    box-shadow: 0 0 35px rgba(255, 215, 0, 0.18), 0 20px 40px rgba(0, 0, 0, 0.85);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    text-align: left;
}

/* Modal Header */
.chamber-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-right: 24px;
}
.chamber-modal-emblem-wrap {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.25) 0%, rgba(0, 0, 0, 0.8) 100%);
    border: 1.5px solid rgba(255, 215, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.35);
}
.chamber-modal-emblem {
    width: 36px;
    height: 36px;
    object-fit: contain;
}
.chamber-modal-header-text {
    flex: 1;
    min-width: 0;
}
.chamber-modal-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #FFD700;
    margin-bottom: 2px;
}
.chamber-modal-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: #F8FAFC;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.25;
}
.chamber-modal-sub {
    font-size: 10.5px;
    color: #94A3B8;
    margin: 2px 0 0;
    line-height: 1.3;
}

/* Toolbar (Search & Stats Counter) */
.chamber-members-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.chamber-search-box {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}
.chamber-search-icon {
    position: absolute;
    left: 10px;
    font-size: 12px;
    pointer-events: none;
    opacity: 0.7;
}
.chamber-search-input {
    width: 100%;
    height: 36px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    padding: 0 10px 0 32px;
    color: #F8FAFC;
    font-size: 11px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.chamber-search-input:focus {
    border-color: #00FFCC;
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.25);
}
.chamber-search-input::placeholder {
    color: #64748B;
    font-size: 10.5px;
}
.chamber-members-counter {
    padding: 6px 11px;
    border-radius: 10px;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.4);
    color: #FFD700;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    font-weight: 800;
    white-space: nowrap;
}

/* Scrollable List */
.chamber-members-list {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 4px;
    max-height: calc(85vh - 195px);
}
.chamber-members-list::-webkit-scrollbar {
    width: 5px;
}
.chamber-members-list::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.4);
    border-radius: 4px;
}

/* Single Member Card */
.chamber-member-card {
    flex-shrink: 0 !important;
    min-height: fit-content;
    background: linear-gradient(145deg, rgba(16, 24, 48, 0.85) 0%, rgba(9, 14, 28, 0.95) 100%);
    border: 1px solid rgba(255, 215, 0, 0.28);
    border-radius: 14px;
    padding: 12px 13px;
    box-sizing: border-box;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: visible;
}
.chamber-member-card:hover {
    border-color: rgba(0, 255, 204, 0.6);
    box-shadow: 0 0 18px rgba(0, 255, 204, 0.2);
    transform: translateY(-1px);
}
.chamber-member-card.is-self-card {
    border-color: rgba(0, 255, 204, 0.8);
    background: linear-gradient(145deg, rgba(8, 36, 52, 0.9) 0%, rgba(6, 18, 32, 0.98) 100%);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.25);
}

/* Pagination Bar (5 items per page) */
.chamber-pagination-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 4px 2px;
    margin-top: 6px;
    border-top: 1px solid rgba(255, 215, 0, 0.18);
    flex-shrink: 0;
}
.chamber-page-btn {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(0, 255, 204, 0.15) 100%);
    border: 1px solid rgba(255, 215, 0, 0.45);
    border-radius: 8px;
    color: #FFD700;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    user-select: none;
}
.chamber-page-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3) 0%, rgba(0, 255, 204, 0.3) 100%);
    border-color: #00FFCC;
    color: #00FFCC;
    transform: translateY(-1px);
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.25);
}
.chamber-page-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.1);
    color: #64748B;
    background: rgba(255, 255, 255, 0.03);
    transform: none;
    box-shadow: none;
}
.chamber-page-info {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #94A3B8;
    text-align: center;
    flex: 1;
}
.chamber-page-info strong {
    color: #00FFCC;
}

/* Top Row: Avatar + Moniker/Role + Status Pill */
.chamber-member-top-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 9px;
}
.chamber-member-avatar-box {
    position: relative;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}
.chamber-roster-avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #FFD700;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
    display: block;
}
.chamber-roster-avatar-fallback {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle, #1e293b 0%, #090d16 100%);
    border: 1.5px solid #FFD700;
    color: #FFD700;
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}
.chamber-member-badge-crown {
    position: absolute;
    bottom: -3px;
    right: -3px;
    font-size: 11px;
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.9));
}
.chamber-member-meta {
    flex: 1;
    min-width: 0;
}
.chamber-member-name-line {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.chamber-member-moniker {
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 0.3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.chamber-self-pill {
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(0, 255, 204, 0.2);
    border: 1px solid #00FFCC;
    color: #00FFCC;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    font-weight: 800;
}
.chamber-member-role-title {
    font-size: 10.5px;
    color: #FFD700;
    font-weight: 600;
    margin-top: 1px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.chamber-member-active-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.45);
    color: #22C55E;
    font-size: 9.5px;
    font-weight: 700;
    white-space: nowrap;
}
.pulse-emerald-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22C55E;
    box-shadow: 0 0 6px #22C55E;
    animation: pulse-dot 2s infinite ease-in-out;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

/* Verification Code / Validator ID Highlight Box */
.chamber-matricola-block {
    background: rgba(0, 0, 0, 0.55);
    border: 1.5px solid rgba(0, 255, 204, 0.4);
    border-radius: 10px;
    padding: 7px 10px;
    margin-bottom: 8px;
    box-shadow: inset 0 0 10px rgba(0, 255, 204, 0.08);
}
.chamber-matricola-subhead {
    font-family: 'JetBrains Mono', monospace;
    font-size: 8.5px;
    font-weight: 800;
    color: #94A3B8;
    letter-spacing: 0.6px;
    margin-bottom: 3px;
}
.chamber-matricola-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.chamber-matricola-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13.5px;
    font-weight: 800;
    color: #00FFCC;
    text-shadow: 0 0 8px rgba(0, 255, 204, 0.6);
    letter-spacing: 0.8px;
    word-break: break-all;
}
.chamber-matricola-copy-btn {
    padding: 3px 8px;
    border-radius: 7px;
    background: rgba(0, 255, 204, 0.14);
    border: 1px solid rgba(0, 255, 204, 0.5);
    color: #00FFCC;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}
.chamber-matricola-copy-btn:hover {
    background: rgba(0, 255, 204, 0.28);
}

/* Addresses Telemetry */
.chamber-member-addresses {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 10.5px;
    color: #94A3B8;
    margin-bottom: 7px;
}
.chamber-addr-row {
    display: flex;
    align-items: center;
    gap: 5px;
}
.chamber-addr-lbl {
    color: #64748B;
    font-size: 10px;
    min-width: 52px;
}
.chamber-addr-val {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    color: #88BBFF;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.chamber-btn-inline-copy {
    background: none;
    border: none;
    padding: 0 3px;
    color: #00FFCC;
    font-size: 10px;
    cursor: pointer;
    opacity: 0.75;
    transition: opacity 0.2s;
}
.chamber-btn-inline-copy:hover {
    opacity: 1;
}

/* Card Footer */
.chamber-member-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10px;
    color: #64748B;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
    gap: 6px;
}

/* Empty State / Loading State */
.chamber-empty-roster {
    text-align: center;
    padding: 30px 16px;
    color: #94A3B8;
}
.chamber-loading-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid rgba(255, 215, 0, 0.2);
    border-top-color: #FFD700;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
    margin: 0 auto;
}

/* ============================================================
   OFFICIAL TELEGRAM COMMUNITY GATE MODAL (@LuxaCommunity)
   ============================================================ */

.community-gate-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.community-gate-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.community-gate-box {
    width: 100%;
    max-width: 420px;
    background: linear-gradient(175deg, rgba(14, 22, 48, 0.98) 0%, rgba(6, 10, 24, 0.99) 100%);
    border: 1.5px solid rgba(0, 255, 204, 0.5);
    border-radius: 22px;
    box-shadow: 0 0 45px rgba(0, 255, 204, 0.22), 0 20px 50px rgba(0, 0, 0, 0.9);
    padding: 24px 20px 20px;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    overflow: hidden;
    transform: scale(0.92) translateY(16px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.community-gate-overlay.active .community-gate-box {
    transform: scale(1) translateY(0);
}

/* Pulsing Community Emblem Area */
.community-gate-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 16px;
}
.community-logo-glow-wrap {
    position: relative;
    width: 88px;
    height: 88px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.community-gate-avatar {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #00FFCC;
    box-shadow: 0 0 22px rgba(0, 255, 204, 0.65);
    position: relative;
    z-index: 2;
    background: #090e1c;
}
.community-logo-pulse-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(0, 255, 204, 0.45);
    animation: community-ring-pulse 2.8s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}
@keyframes community-ring-pulse {
    0% { transform: scale(0.95); opacity: 0.9; }
    50% { transform: scale(1.18); opacity: 0.2; }
    100% { transform: scale(0.95); opacity: 0.9; }
}

.community-gate-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(34, 158, 217, 0.16);
    border: 1px solid rgba(34, 158, 217, 0.6);
    color: #38bdf8;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.6px;
    margin-bottom: 8px;
}
.community-gate-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 17px;
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: 0.6px;
    margin: 0 0 6px;
    background: linear-gradient(90deg, #FFFFFF 0%, #00FFCC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.community-gate-sub {
    font-size: 12px;
    color: #94A3B8;
    line-height: 1.45;
    margin: 0;
    padding: 0 4px;
}

/* Perks List */
.community-perks-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}
.community-perk-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #cbd5e1;
}
.perk-icon {
    font-size: 13px;
    flex-shrink: 0;
}
.perk-text {
    flex: 1;
}

/* Notice / Feedback Banner */
.community-gate-notice {
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 11px;
    line-height: 1.4;
    margin-bottom: 12px;
    text-align: left;
}
.community-gate-notice.info {
    background: rgba(34, 158, 217, 0.15);
    border: 1px solid rgba(34, 158, 217, 0.45);
    color: #38bdf8;
}
.community-gate-notice.loading {
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.45);
    color: #FFD700;
}
.community-gate-notice.success {
    background: rgba(34, 197, 94, 0.16);
    border: 1px solid rgba(34, 197, 94, 0.55);
    color: #4ade80;
}
.community-gate-notice.error {
    background: rgba(239, 68, 68, 0.16);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #f87171;
}

/* Action Buttons Stack */
.community-actions-stack {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 12px;
}

.btn-community-join {
    width: 100%;
    height: 44px;
    background: linear-gradient(90deg, #229ED9 0%, #0088cc 100%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    color: #FFFFFF;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(34, 158, 217, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-community-join:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(34, 158, 217, 0.6);
}
.btn-community-join:active {
    transform: scale(0.98);
}

.btn-community-verify {
    width: 100%;
    height: 44px;
    background: linear-gradient(90deg, #00FFCC 0%, #10b981 100%);
    border: none;
    border-radius: 12px;
    color: #04120f;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0, 255, 204, 0.4);
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.btn-community-verify:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(0, 255, 204, 0.6);
}
.btn-community-verify:active {
    transform: scale(0.98);
}
.btn-community-verify:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.community-verify-spinner {
    width: 16px;
    height: 16px;
    border: 2.5px solid rgba(4, 18, 15, 0.3);
    border-top-color: #04120f;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

.community-gate-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 10.5px;
    color: #64748B;
}

/* Zealy Leaderboard and Claimers Avatar Image */
.lb-avatar-img {
    width: 36px !important;
    height: 36px !important;
    border-radius: 12px !important;
    object-fit: cover !important;
    display: block !important;
    border: 1px solid rgba(0, 255, 204, 0.4);
    box-shadow: 0 0 8px rgba(0, 255, 204, 0.25);
}

/* ============================================================
   IN-GAME MAILBOX & NOTIFICATIONS CENTER
   ============================================================ */
.top-mail-btn {
    position: relative;
    background: rgba(0, 30, 80, 0.45);
    border: 1px solid rgba(0, 102, 255, 0.35);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    flex-shrink: 0;
}
.top-mail-btn:active {
    transform: scale(0.92);
}
.top-mail-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(0, 255, 204, 0.45));
}
.top-mail-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: radial-gradient(circle at 35% 35%, #ff4d4d 0%, #d60000 70%, #990000 100%);
    color: #ffffff;
    font-family: 'JetBrains Mono', 'Orbitron', monospace;
    font-size: 10px;
    font-weight: 800;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #ffffff;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.5);
    animation: badgePulse 2.2s infinite ease-in-out;
}
@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); box-shadow: 0 0 14px rgba(255, 0, 0, 1), 0 2px 6px rgba(0, 0, 0, 0.6); }
}

/* MAILBOX MODAL */
.mailbox-modal-content {
    background: linear-gradient(155deg, rgba(14, 20, 42, 0.98), rgba(6, 9, 22, 0.99));
    border: 1px solid rgba(0, 255, 204, 0.35);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 255, 204, 0.15);
    width: 95%;
    max-width: 440px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    backdrop-filter: blur(16px);
}
.mailbox-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.25);
}
.mailbox-header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.mailbox-header-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 255, 204, 0.5));
}
.mailbox-header-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #00FFCC;
    text-transform: uppercase;
}
.mailbox-header-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.5px;
}
.mailbox-tabs-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: rgba(8, 12, 28, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mailbox-tabs {
    display: flex;
    gap: 6px;
}
.mailbox-tab {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.15s ease;
}
.mailbox-tab.active {
    background: rgba(0, 255, 204, 0.15);
    border-color: #00FFCC;
    color: #00FFCC;
}
.mailbox-tab .tab-badge {
    background: #ff334b;
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 99px;
    display: inline-block;
}
.mailbox-mark-all-btn {
    background: none;
    border: none;
    color: #38bdf8;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 6px;
    transition: opacity 0.15s;
}
.mailbox-mark-all-btn:hover {
    opacity: 0.8;
}
.mailbox-list {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 52vh;
}
.mailbox-item {
    background: rgba(18, 24, 48, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: border-color 0.15s ease, background 0.15s ease;
    cursor: pointer;
}
.mailbox-item.unread {
    border-color: rgba(0, 255, 204, 0.45);
    background: linear-gradient(145deg, rgba(14, 28, 56, 0.9), rgba(12, 18, 38, 0.85));
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.1);
}
.mailbox-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mailbox-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.mailbox-delete-btn {
    border: 0;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    color: #94a3b8;
    padding: 4px 7px;
    font-size: 12px;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease;
}
.mailbox-delete-btn:hover:not(:disabled) {
    background: rgba(255, 51, 75, 0.15);
    color: #ff6578;
}
.mailbox-delete-btn:disabled {
    cursor: wait;
    opacity: 0.6;
}
.mailbox-item-sender {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    color: #00FFCC;
    display: flex;
    align-items: center;
    gap: 6px;
}
.mailbox-unread-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff334b;
    box-shadow: 0 0 6px #ff334b;
}
.mailbox-item-date {
    font-size: 10px;
    color: #64748b;
}
.mailbox-item-title {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
}
.mailbox-item-content {
    font-size: 11.5px;
    line-height: 1.5;
    color: #cbd5e1;
    white-space: pre-line;
}
.mailbox-reward-box {
    background: rgba(0, 255, 204, 0.08);
    border: 1px solid rgba(0, 255, 204, 0.3);
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
}
.mailbox-reward-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.mailbox-reward-badge {
    padding: 2px 8px;
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.45);
    color: #FFD700;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
}
.mailbox-reward-val {
    font-family: 'Orbitron', monospace;
    font-size: 13px;
    font-weight: 800;
    color: #00FFCC;
}
.mailbox-reward-status {
    font-size: 10.5px;
    font-weight: 700;
    color: #34d399;
    display: flex;
    align-items: center;
    gap: 4px;
}
.mailbox-empty-state {
    text-align: center;
    padding: 40px 16px;
    color: #94a3b8;
}
.mailbox-empty-icon {
    font-size: 38px;
    margin-bottom: 10px;
}
.mailbox-footer {
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.35);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    font-size: 10px;
    color: #64748b;
    font-family: 'JetBrains Mono', monospace;
}

/* MARKET AUTOMATED SETTLEMENT CARD */
.mk-auto-settlement-card {
    background: linear-gradient(145deg, rgba(14, 24, 48, 0.9), rgba(8, 12, 28, 0.95));
    border: 1px solid rgba(0, 255, 204, 0.35);
    border-radius: 14px;
    padding: 16px;
    margin-top: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 255, 204, 0.08);
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease;
}
.mk-auto-settlement-card:hover {
    border-color: #00FFCC;
    transform: translateY(-1px);
}
.mk-auto-badge {
    display: inline-block;
    padding: 3px 8px;
    background: rgba(0, 255, 204, 0.12);
    border: 1px solid rgba(0, 255, 204, 0.3);
    border-radius: 6px;
    font-size: 9.5px;
    font-weight: 800;
    color: #00FFCC;
    font-family: 'Orbitron', monospace;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}
.mk-auto-row {
    display: flex;
    align-items: center;
    gap: 14px;
}
.mk-auto-icon {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 255, 204, 0.4));
    flex-shrink: 0;
}
.mk-auto-info strong {
    display: block;
    font-size: 13px;
    color: #ffffff;
    margin-bottom: 3px;
}
.mk-auto-info p {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.45;
    margin: 0;
}
.mk-auto-btn {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #00FFCC;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}


/* Dynamic Season Card for Zealy Prime */
.zp-season-card {
    width: 100%;
    box-sizing: border-box;
    padding: 14px;
    margin-bottom: 14px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(14, 22, 45, 0.95), rgba(7, 12, 26, 0.98));
    border: 1.5px solid rgba(0, 255, 204, 0.35);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 255, 204, 0.1);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.zp-season-banner-wrap {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}
.zp-season-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.zp-season-banner-wrap:hover .zp-season-banner-img {
    transform: scale(1.02);
}
.zp-season-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 99px;
    background: rgba(6, 12, 24, 0.88);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 255, 204, 0.5);
    font-family: 'Orbitron', monospace;
    font-size: 10px;
    font-weight: 800;
    color: #00FFCC;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}
.zp-season-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00FFCC;
    box-shadow: 0 0 8px #00FFCC;
}
.zp-season-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.zp-season-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.3px;
}
.zp-season-desc {
    font-size: 11.5px;
    line-height: 1.5;
    color: #94a3b8;
}

/* Mailbox Item Banner Image */
.mailbox-item-banner {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(0, 255, 204, 0.25);
    margin: 4px 0 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}


/* ============================================================
   MAINTENANCE & UPDATE SCREEN STYLES (FULL LOCKDOWN)
   ============================================================ */
.maintenance-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999999 !important;
    background: radial-gradient(circle at 50% 15%, rgba(0, 102, 255, 0.28), #030712 80%), #030712;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Prevents top clipping on vertical overflow */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: calc(24px + var(--tg-safe-area-inset-top, env(safe-area-inset-top, 0px))) 16px calc(30px + var(--tg-safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
    box-sizing: border-box;
}

.maintenance-container {
    max-width: 380px;
    width: 100%;
    margin: 0 auto; /* Top aligned with scroll support */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    animation: maintFadeIn 0.4s ease-out;
    padding-top: 8px;
    padding-bottom: 24px;
    box-sizing: border-box;
}

@keyframes maintFadeIn {
    from { opacity: 0; transform: scale(0.96) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.maintenance-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.16);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
    font-family: 'Orbitron', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
    flex-shrink: 0;
}

.maint-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 0 10px #f59e0b;
    animation: maintPulse 1.5s infinite ease-in-out;
}

@keyframes maintPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(1.3); }
}

.maintenance-poster-wrapper {
    width: 100%;
    max-width: 290px;
    max-height: 48vh;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 102, 255, 0.45), 0 0 30px rgba(0, 255, 204, 0.3);
    border: 1.5px solid rgba(0, 255, 204, 0.45);
    background: #020617;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.maintenance-poster {
    width: 100%;
    height: 100%;
    max-height: 48vh;
    display: block;
    object-fit: contain;
}

.maintenance-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 8px;
}

.maintenance-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #00FFCC;
    letter-spacing: 0.5px;
    margin: 0;
    text-shadow: 0 0 12px rgba(0, 255, 204, 0.4);
}

.maintenance-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #cbd5e1;
    margin: 0;
}

.maintenance-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 320px;
    margin-top: 4px;
}

.maintenance-refresh-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, #00FFCC, #0066FF);
    color: #020617;
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: 13px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0, 255, 204, 0.35);
    transition: transform 0.15s ease, filter 0.15s ease;
}

.maintenance-refresh-btn:active {
    transform: scale(0.97);
}

.maintenance-channel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #38bdf8;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 600;
    transition: background 0.15s ease;
}

.maintenance-channel-btn:hover {
    background: rgba(56, 189, 248, 0.12);
}

.maintenance-footer {
    font-size: 11px;
    color: #64748b;
    margin-top: 4px;
}


/* ============================================================
   ZEALY PRIME SEASON TABS & LOCKED COMING SOON SCREEN (verrou.png)
   ============================================================ */
.zp-season-tabs {
    display: flex;
    width: 100%;
    gap: 8px;
    margin: 10px 0 14px;
    background: rgba(12, 14, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 4px;
    box-sizing: border-box;
}

.zp-season-tab {
    flex: 1;
    padding: 9px 12px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.zp-season-tab.active {
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.22), rgba(0, 102, 255, 0.22));
    border: 1px solid rgba(0, 255, 204, 0.45);
    color: #00FFCC;
    box-shadow: 0 2px 10px rgba(0, 255, 204, 0.2);
}

.zp-locked-screen {
    width: 100%;
    margin: 12px auto;
    padding: 28px 18px;
    background: radial-gradient(circle at 50% 25%, rgba(0, 102, 255, 0.18), #030712 85%), #030712;
    border: 1.5px solid rgba(0, 255, 204, 0.35);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 255, 204, 0.15);
    animation: maintFadeIn 0.35s ease-out;
    box-sizing: border-box;
}

.zp-locked-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
    font-family: 'Orbitron', monospace;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.zp-locked-padlock-wrap {
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    position: relative;
}

.zp-locked-padlock-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 22px rgba(0, 255, 204, 0.55)) drop-shadow(0 0 10px rgba(255, 215, 0, 0.35));
    animation: padlockPulse 2.8s ease-in-out infinite;
}

@keyframes padlockPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 20px rgba(0, 255, 204, 0.55)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 28px rgba(0, 255, 204, 0.85)) drop-shadow(0 0 14px rgba(255, 215, 0, 0.6)); }
}

.zp-locked-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #00FFCC;
    letter-spacing: 0.5px;
    margin: 0 0 8px;
    text-shadow: 0 0 12px rgba(0, 255, 204, 0.4);
}

.zp-locked-desc {
    font-size: 12.5px;
    line-height: 1.5;
    color: #cbd5e1;
    max-width: 320px;
    margin: 0 0 20px;
}

.zp-locked-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
}


/* ============================================================
   SOCIAL TASKS HUB & PARTNER MISSIONS - MULTICOLOR NEON WEB3
   ============================================================ */
.st-hero-container {
    position: relative;
    width: 100%;
    background: linear-gradient(145deg, rgba(13, 20, 44, 0.95), rgba(28, 12, 48, 0.95), rgba(10, 28, 38, 0.95));
    border: 1.5px solid rgba(0, 255, 204, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 255, 204, 0.15), 0 0 35px rgba(168, 85, 247, 0.12);
    border-radius: 24px;
    padding: 24px 18px 20px;
    text-align: center;
    margin-bottom: 22px;
    overflow: hidden;
    box-sizing: border-box;
}

.st-glow-orb {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
    opacity: 0.45;
}
.st-orb-cyan { top: -30px; left: -30px; background: #00FFCC; }
.st-orb-purple { top: -30px; right: -30px; background: #A855F7; }
.st-orb-gold { bottom: -40px; left: 50%; transform: translateX(-50%); background: #FFD700; opacity: 0.35; }

.st-hero-badge-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 12px;
}
.st-hero-badge-img {
    width: 92px;
    height: 92px;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 0 18px rgba(0, 255, 204, 0.6)) drop-shadow(0 0 28px rgba(255, 215, 0, 0.4));
    animation: stBadgeFloat 4s ease-in-out infinite;
}
@keyframes stBadgeFloat {
    0%, 100% { transform: translateY(0); filter: drop-shadow(0 0 18px rgba(0, 255, 204, 0.6)) drop-shadow(0 0 28px rgba(255, 215, 0, 0.4)); }
    50% { transform: translateY(-5px); filter: drop-shadow(0 0 24px rgba(0, 255, 204, 0.8)) drop-shadow(0 0 36px rgba(168, 85, 247, 0.6)); }
}

.st-hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, #00FFCC 10%, #60A5FA 45%, #FFD700 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 6px;
    text-shadow: 0 0 20px rgba(0, 255, 204, 0.3);
}

.st-hero-subtitle {
    font-size: 12px;
    line-height: 1.45;
    color: #cbd5e1;
    max-width: 320px;
    margin: 0 auto 16px;
}
.st-highlight-token {
    color: #00FFCC;
    font-weight: 800;
}

/* Stat row */
.st-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 14px;
}
.st-stat-card {
    background: rgba(10, 15, 30, 0.75);
    border-radius: 14px;
    padding: 10px 6px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}
.st-stat-cyan { border-color: rgba(0, 255, 204, 0.35); box-shadow: inset 0 0 10px rgba(0, 255, 204, 0.1); }
.st-stat-gold { border-color: rgba(255, 215, 0, 0.35); box-shadow: inset 0 0 10px rgba(255, 215, 0, 0.1); }
.st-stat-purple { border-color: rgba(168, 85, 247, 0.35); box-shadow: inset 0 0 10px rgba(168, 85, 247, 0.1); }

.st-stat-num {
    font-family: 'Orbitron', sans-serif;
    font-size: 15px;
    font-weight: 800;
}
.st-stat-cyan .st-stat-num { color: #00FFCC; }
.st-stat-gold .st-stat-num { color: #FFD700; }
.st-stat-purple .st-stat-num { color: #C084FC; }

.st-stat-label {
    font-size: 9.5px;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 2px;
}

/* Section Header */
.st-section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 18px 0 10px;
    flex-wrap: wrap;
}
.st-section-icon {
    font-size: 18px;
}
.st-section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: #f1f5f9;
    letter-spacing: 0.5px;
}
.st-header-pill {
    background: rgba(0, 255, 204, 0.15);
    color: #00FFCC;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 999px;
    border: 1px solid rgba(0, 255, 204, 0.3);
    margin-left: auto;
}

.st-partner-info-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px dashed rgba(0, 255, 204, 0.3);
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 11px;
    color: #94a3b8;
    margin-bottom: 12px;
}
.st-info-icon {
    font-size: 15px;
    flex-shrink: 0;
}

/* Task Cards */
.st-task-card {
    width: 100%;
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(20, 26, 52, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 12px 14px;
    margin-bottom: 12px;
    backdrop-filter: blur(14px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
    transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}
.st-task-card:active {
    transform: scale(0.985);
}

.st-card-twitter { border-color: rgba(56, 189, 248, 0.35); box-shadow: 0 4px 18px rgba(14, 165, 233, 0.1); }
.st-card-referral { border-color: rgba(255, 215, 0, 0.35); box-shadow: 0 4px 18px rgba(255, 215, 0, 0.1); }
.st-card-discord { border-color: rgba(168, 85, 247, 0.35); box-shadow: 0 4px 18px rgba(168, 85, 247, 0.12); }
.st-card-telegram { border-color: rgba(0, 255, 204, 0.35); box-shadow: 0 4px 18px rgba(0, 255, 204, 0.1); }

/* Partner Card Styling */
.st-card-partner {
    background: linear-gradient(135deg, rgba(16, 26, 55, 0.92), rgba(30, 20, 60, 0.92));
    border: 1.5px solid rgba(0, 255, 204, 0.45);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.5), 0 0 16px rgba(0, 255, 204, 0.15);
}
.st-card-partner:hover {
    border-color: rgba(255, 215, 0, 0.6);
}

/* VIP Gold Satset Card Styling */
.st-card-satset-vip {
    background: linear-gradient(135deg, rgba(35, 26, 8, 0.95), rgba(45, 18, 55, 0.95), rgba(12, 18, 36, 0.95)) !important;
    border: 2px solid #FFD700 !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7), 0 0 28px rgba(255, 215, 0, 0.35) !important;
    position: relative;
    overflow: visible !important;
}
.st-card-satset-vip:hover {
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.8), 0 0 36px rgba(255, 215, 0, 0.55) !important;
}
.st-gold-avatar-wrap {
    border: 2.5px solid #FFD700 !important;
    box-shadow: 0 0 18px rgba(255, 215, 0, 0.7), inset 0 0 8px rgba(255, 215, 0, 0.4) !important;
    border-radius: 50% !important;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.25), transparent) !important;
    padding: 2px;
}
.st-floating-offer {
    position: absolute;
    top: -14px;
    right: 14px;
    width: 38px;
    height: 38px;
    animation: stFloatOffer 2.4s ease-in-out infinite;
    z-index: 10;
    filter: drop-shadow(0 4px 10px rgba(255, 215, 0, 0.6));
    pointer-events: none;
}
@keyframes stFloatOffer {
    0%, 100% { transform: translateY(0) scale(1) rotate(0deg); }
    50% { transform: translateY(-7px) scale(1.1) rotate(6deg); }
}

.st-task-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.st-task-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.st-task-icon-box img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

/* Icona Partner con checklist 3D e avatar fornita dall'utente */
.st-partner-avatar-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: radial-gradient(circle, rgba(0, 255, 204, 0.25) 0%, rgba(10, 15, 30, 0.9) 70%);
    border: 1.5px solid rgba(0, 255, 204, 0.55);
    box-shadow: 0 0 14px rgba(0, 255, 204, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.st-partner-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.5));
}

.st-task-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.st-task-title-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.st-task-title {
    font-weight: 700;
    font-size: 13px;
    color: #f8fafc;
    letter-spacing: 0.2px;
    line-height: 1.25;
    word-break: break-word;
}
.st-partner-badge-pill {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 140, 0, 0.2));
    color: #FFD700;
    border: 1px solid rgba(255, 215, 0, 0.4);
    font-size: 8.5px;
    font-weight: 900;
    padding: 1px 6px;
    border-radius: 999px;
    letter-spacing: 0.4px;
}

.st-task-sub {
    font-size: 10.5px;
    color: #94a3b8;
    line-height: 1.3;
}

.st-reward-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 800;
    margin-top: 2px;
}
.st-reward-cyan { color: #00FFCC; }
.st-reward-gold { color: #FFD700; }
.st-reward-purple { color: #C084FC; }
.st-reward-blue { color: #60A5FA; }

.st-reward-status {
    background: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 8px;
    font-weight: 800;
    padding: 1px 4px;
    border-radius: 3px;
    letter-spacing: 0.3px;
}

/* Action Buttons */
.st-btn-action {
    flex-shrink: 0;
    min-width: 74px;
    height: 34px;
    font-size: 11.5px;
    font-weight: 800;
    border-radius: 10px;
}
.st-btn-partner {
    background: linear-gradient(90deg, #0066FF, #00FFCC);
    color: #040814;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 255, 204, 0.3);
}
.st-btn-discord {
    background: linear-gradient(90deg, #5865F2, #8A2BE2);
    color: #ffffff;
    border: none;
    box-shadow: 0 2px 10px rgba(88, 101, 242, 0.3);
}
.st-btn-telegram {
    background: linear-gradient(90deg, #0088cc, #00b4d8);
    color: #ffffff;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 136, 204, 0.3);
}

/* Partner Callout Box */
.st-partner-callout {
    position: relative;
    width: 100%;
    margin-top: 18px;
    background: linear-gradient(145deg, rgba(20, 15, 38, 0.95), rgba(12, 28, 44, 0.95));
    border: 1.5px dashed rgba(255, 215, 0, 0.45);
    border-radius: 20px;
    padding: 16px;
    overflow: hidden;
    text-align: center;
    box-sizing: border-box;
}
.st-callout-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    pointer-events: none;
}
.st-callout-content {
    position: relative;
    z-index: 1;
}
.st-callout-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #FFD700;
    margin-bottom: 5px;
}
.st-callout-desc {
    font-size: 11px;
    color: #cbd5e1;
    line-height: 1.4;
    margin-bottom: 12px;
}
.st-callout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: linear-gradient(90deg, #FFD700, #FF8C00);
    color: #040814;
    font-weight: 800;
    font-size: 11.5px;
    border-radius: 12px;
    text-decoration: none;
    outline: none;
    border: none;
    box-shadow: 0 4px 14px rgba(255, 215, 0, 0.35);
    transition: transform 0.15s ease;
}
.st-callout-btn:focus,
.st-callout-btn:focus-visible {
    outline: none;
}
.st-callout-btn:active {
    transform: scale(0.96);
}

/* Timed Partner Slot Countdown Pill & Free Slot State */
.st-partner-timer-pill {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 1.5px 7px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(56, 189, 248, 0.45);
    color: #38bdf8;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.2px;
    margin-left: 4px;
    white-space: nowrap;
}
.st-card-satset-vip .st-partner-timer-pill {
    background: rgba(20, 14, 4, 0.9);
    border-color: rgba(255, 215, 0, 0.55);
    color: #FFD700;
}
.st-card-partner-free {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.72), rgba(20, 28, 48, 0.78)) !important;
    border: 1.5px dashed rgba(0, 255, 204, 0.38) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}
.st-partner-free-badge {
    background: rgba(34, 197, 94, 0.16);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.45);
    font-size: 8.5px;
    font-weight: 900;
    padding: 1px 6px;
    border-radius: 999px;
    letter-spacing: 0.4px;
}
