* { margin: 0; padding: 0; box-sizing: border-box; outline: none !important; }

    :root {
      --bg: #080808;
      --card-bg: #0e0e0e;
      --card-bg-subtle: #121212;
      --card-border: #1c1c1c;
      --card-border-hover: #2e2e2e;
      --text: #ffffff;
      --text-dim: #888888;
      --text-muted: #555555;
      --green: #10b981;
    }

    body.light-theme {
      --bg: #f8fafc;
      --card-bg: #ffffff;
      --card-bg-subtle: #f1f5f9;
      --card-border: #e2e8f0;
      --card-border-hover: #cbd5e1;
      --text: #0f172a;
      --text-dim: #475569;
      --text-muted: #94a3b8;
    }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      min-height: 100vh;
      transition: background-color 0.3s ease, color 0.3s ease;
      position: relative;
      overflow-x: hidden;
    }

    #bg {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      z-index: 0;
      pointer-events: none;
    }

    nav, .dashboard-container { position: relative; z-index: 10; }

    /* Top Navbar */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1rem 2.5rem;
      background: rgba(8, 8, 8, 0.88);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--card-border);
      transition: background 0.3s ease, border-color 0.3s ease;
    }

    body.light-theme nav {
      background: rgba(255, 255, 255, 0.88);
      border-bottom-color: #e2e8f0;
    }

    .nav-brand {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      text-decoration: none;
      color: var(--text);
      font-size: 1.15rem !important;
      font-weight: 900 !important;
      letter-spacing: 0.16em !important;
    }

    .nav-logo-img {
      height: 38px !important;
      width: auto !important;
      object-fit: contain;
      filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.25));
      transition: transform 0.3s ease, filter 0.3s ease;
    }

    .nav-brand:hover .nav-logo-img {
      transform: scale(1.08);
      filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.4));
    }

    body.light-theme .nav-logo-img {
      filter: invert(1);
    }

    .nav-right {
      display: flex;
      align-items: center;
      gap: 0.85rem;
    }

    .btn-logout {
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      padding: 0.45rem 1.15rem;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.03);
      color: #888;
      border: 1px solid var(--card-border);
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .btn-logout:hover {
      color: #ef4444;
      border-color: rgba(239, 68, 68, 0.4);
      background: rgba(239, 68, 68, 0.05);
      transform: translateY(-1px);
    }

    .nav-bio-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.28rem 0.85rem 0.28rem 0.35rem;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.1);
      color: #eee;
      text-decoration: none;
      font-size: 0.75rem;
      font-weight: 700;
      transition: all 0.2s ease;
    }
    .nav-bio-pill:hover {
      background: rgba(255, 255, 255, 0.08);
      border-color: rgba(255, 255, 255, 0.3);
      transform: translateY(-1px);
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    }
    .nav-bio-avatar-wrap {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      overflow: hidden;
      background: #18181b;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1.5px solid rgba(255, 255, 255, 0.2);
      flex-shrink: 0;
    }
    .nav-bio-initial {
      font-size: 0.75rem;
      font-weight: 900;
      color: #fff;
    }
    .nav-bio-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .nav-bio-name {
      color: #fff;
      font-weight: 700;
      letter-spacing: 0.02em;
    }

    /* Fixed Theme Toggle Button with centered SVG */
    .theme-toggle {
      width: 36px !important;
      height: 36px !important;
      min-width: 36px !important;
      max-width: 36px !important;
      min-height: 36px !important;
      max-height: 36px !important;
      border-radius: 50% !important;
      background: rgba(255, 255, 255, 0.03) !important;
      border: 1px solid var(--card-border) !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      cursor: pointer !important;
      color: var(--text-dim) !important;
      padding: 0 !important;
      margin: 0 !important;
      position: relative !important;
      box-sizing: border-box !important;
      transition: all 0.25s ease !important;
      flex-shrink: 0 !important;
    }

    .theme-toggle:hover {
      border-color: var(--card-border-hover) !important;
      color: var(--text) !important;
      background: rgba(255, 255, 255, 0.08) !important;
    }

    .theme-toggle svg {
      width: 17px !important;
      height: 17px !important;
      display: block !important;
      margin: auto !important;
      padding: 0 !important;
      position: static !important;
      transform: none !important;
      stroke: currentColor !important;
      flex-shrink: 0 !important;
    }

    .theme-toggle .sun-icon { display: none !important; }
    .theme-toggle .moon-icon { 
      display: block !important; 
      stroke: none !important; 
      fill: currentColor !important; 
    }
    body.light-theme .theme-toggle .sun-icon { display: block !important; }
    body.light-theme .theme-toggle .moon-icon { display: none !important; }

    .lang-switch {
      display: flex;
      align-items: center;
      gap: 0.2rem;
      font-size: 0.72rem;
      font-weight: 700;
      color: var(--text-muted);
    }
    .lang-switch button {
      background: none;
      border: none;
      cursor: pointer;
      color: var(--text-muted);
      font-weight: 700;
      font-size: 0.72rem;
      transition: color 0.2s;
    }
    .lang-switch button.active, .lang-switch button:hover {
      color: var(--text);
    }

    /* ═══════════════════════════════════════════════════════════
       NEW MODERN DASHBOARD LAYOUT (AUTHENTIC TRUCE PORTAL)
       ═══════════════════════════════════════════════════════════ */
    .dashboard-container {
      max-width: 1540px;
      margin: 0 auto;
      padding: 5.2rem 1.5rem 3.5rem;
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
      box-sizing: border-box;
    }

    /* ═══════════════════════════════════════════════════════════
       GUNS.LOL AESTHETIC USER CARD (LIVE PREVIEW IN SIDEBAR)
       ═══════════════════════════════════════════════════════════ */
    .gunslol-card {
      width: 100%;
      max-width: var(--card-width, 480px);
      margin: 0 auto;
      background: rgba(12, 12, 16, 0.78);
      backdrop-filter: blur(28px);
      -webkit-backdrop-filter: blur(28px);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 28px;
      overflow: hidden;
      position: relative;
      box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 255, 255, 0.02);
      transition: transform 0.12s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
      transform-style: preserve-3d;
      will-change: transform;
    }

    .gunslol-card.layout-borderless {
      border: none !important;
      box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85) !important;
    }
    .gunslol-card.layout-subtle_border {
      border: 1px solid rgba(255, 255, 255, 0.14) !important;
      box-shadow: 0 24px 70px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    }
    .gunslol-card.layout-neon_border {
      border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
      box-shadow: 0 0 25px rgba(255, 255, 255, 0.22), 0 30px 85px rgba(0, 0, 0, 0.9) !important;
    }
    .gunslol-card.layout-glass_boxed {
      border: 1px solid rgba(255, 255, 255, 0.22) !important;
      background: rgba(18, 18, 24, calc(var(--card-opacity, 0.7) * 0.85)) !important;
      backdrop-filter: blur(var(--card-blur, 35px)) !important;
      -webkit-backdrop-filter: blur(var(--card-blur, 35px)) !important;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.03) !important;
    }

    .gunslol-card::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: var(--card-radius, 28px) !important;
      background: radial-gradient(circle 380px at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255, 255, 255, 0.1), transparent 75%);
      pointer-events: none;
      z-index: 10;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .gunslol-card:hover::before {
      opacity: 1;
    }

    .gunslol-card:hover {
      border-color: rgba(255, 255, 255, 0.2);
      box-shadow: 0 28px 75px rgba(0, 0, 0, 0.85), 0 0 40px rgba(255, 255, 255, 0.05);
    }

    /* Fixed stationary dashboard forms - absolutely no movement/tilt */
    .dash-card, .metric-card, .links-manager-box, .dash-master-switcher, .dashboard-grid, .dash-sidebar-card, .dash-side-tab {
      transform: none !important;
      will-change: auto !important;
    }

    .gunslol-banner {
      height: 120px;
      background-size: cover !important;
      background-position: center center !important;
      background-repeat: no-repeat !important;
      position: relative;
      background-color: #0d0d10;
      background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 100%),
                        radial-gradient(ellipse at 50% -20%, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
      transition: all 0.35s ease;
      border-radius: var(--card-radius, 28px) var(--card-radius, 28px) 0 0 !important;
    }

    .gunslol-banner::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 45px;
      background: linear-gradient(180deg, transparent 0%, rgba(14, 14, 18, 0.95) 100%);
      pointer-events: none;
    }

    .gunslol-content {
      padding: 0 1.25rem 1.25rem;
      margin-top: -38px;
      position: relative;
      z-index: 2;
    }

    .gunslol-header {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 0.65rem;
      width: 100%;
    }

    .gunslol-avatar-wrap {
      position: relative;
      flex-shrink: 0;
      margin: 0 auto;
    }

    .gunslol-avatar-wrap .profile-avatar-btn {
      width: 76px;
      height: 76px;
      border: 3px solid #0e0e10;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.85), 0 0 15px rgba(255, 255, 255, 0.08);
      position: relative;
      z-index: 5;
    }

    .gunslol-status-dot {
      display: none !important;
    }

    .gunslol-info {
      flex: 1;
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 0.5rem;
      padding-top: 0.2rem;
    }

    .gunslol-user-row {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.55rem;
      flex-wrap: wrap;
    }

    
    /* Guns.lol Name Effects */
    .name-effect-normal { text-shadow: inherit; }
    .name-effect-glow {
      color: #fff !important;
      text-shadow: 0 0 10px rgba(255, 255, 255, 0.95), 0 0 22px rgba(255, 255, 255, 0.6), 0 0 35px rgba(255, 255, 255, 0.35) !important;
      animation: whiteGlowPulse 2s ease-in-out infinite alternate;
    }
    @keyframes whiteGlowPulse {
      from { text-shadow: 0 0 8px rgba(255, 255, 255, 0.8), 0 0 18px rgba(255, 255, 255, 0.45); }
      to { text-shadow: 0 0 14px #ffffff, 0 0 30px rgba(255, 255, 255, 0.8); }
    }
    .name-effect-typewriter::after {
      content: '|';
      display: inline-block;
      margin-left: 2px;
      color: #ffffff;
      animation: blinkCursor 0.8s infinite;
      font-weight: 300;
    }
    @keyframes blinkCursor {
      0%, 100% { opacity: 1; }
      50% { opacity: 0; }
    }
    .name-effect-sparkles {
      position: relative;
      display: inline-flex;
      align-items: center;
    }
    .name-sparkle-star {
      position: absolute;
      pointer-events: none;
      font-size: 11px;
      line-height: 1;
      animation: sparkleTwinkle 1.5s infinite ease-in-out;
    }
    @keyframes sparkleTwinkle {
      0% { transform: scale(0) rotate(0deg); opacity: 0; }
      50% { transform: scale(1.1) rotate(90deg); opacity: 1; }
      100% { transform: scale(0) rotate(180deg); opacity: 0; }
    }
    .name-effect-focus {
      position: relative;
      display: inline-flex;
      align-items: center;
      padding: 0 0.35rem;
    }
    .name-effect-focus::before {
      content: '[';
      margin-right: 0.3rem;
      color: #ffffff;
      opacity: 0.7;
      font-weight: 300;
      animation: bracketPulse 1.8s infinite;
    }
    .name-effect-focus::after {
      content: ']';
      margin-left: 0.3rem;
      color: #ffffff;
      opacity: 0.7;
      font-weight: 300;
      animation: bracketPulse 1.8s infinite;
    }
    @keyframes bracketPulse {
      0%, 100% { opacity: 0.5; transform: scale(1); }
      50% { opacity: 1; transform: scale(1.15); }
    }
    .name-effect-glitch {
      position: relative;
      animation: nameGlitchAnim 1.8s infinite;
      text-shadow: 2px 0 #ffffff, -2px 0 #71717a !important;
    }
    @keyframes nameGlitchAnim {
      0%, 100% { transform: translate(0); }
      20% { transform: translate(-2px, 1px); }
      40% { transform: translate(2px, -1px); }
      60% { transform: translate(-1px, -1px); }
      80% { transform: translate(1px, 2px); }
    }
    .name-effect-neon {
      color: #fff !important;
      text-shadow: 0 0 8px rgba(255,255,255,0.9), 0 0 16px rgba(255,255,255,0.6), 0 0 28px rgba(255,255,255,0.4) !important;
      animation: whiteGlowPulse 2s ease-in-out infinite alternate;
    }
    .name-effect-gold {
      background: linear-gradient(135deg, #fff7ad 0%, #ffa700 50%, #ffde59 100%) !important;
      -webkit-background-clip: text !important;
      -webkit-text-fill-color: transparent !important;
      filter: drop-shadow(0 0 8px rgba(255, 191, 0, 0.6)) !important;
    }
    .name-effect-rainbow {
      background: linear-gradient(90deg, #ff007f, #ff7f00, #ffff00, #00ff7f, #00ffff, #007fff, #7f00ff, #ff007f) !important;
      background-size: 200% auto !important;
      -webkit-background-clip: text !important;
      -webkit-text-fill-color: transparent !important;
      animation: rainbowCycle 3s linear infinite;
    }
    @keyframes rainbowCycle {
      to { background-position: 200% center; }
    }

    .gunslol-username {
      font-size: 1.35rem;
      font-weight: 900;
      letter-spacing: -0.02em;
      color: #fff;
    }

    .gunslol-badge-verified {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.45));
    }

    .gunslol-badges {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      flex-wrap: wrap;
    }

    /* Guns.lol Authentic Badges Tray & Hover Tooltip */
    
    /* Guns.lol Inline Badges & Clock Preview */
    .inline-badges-tray {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      vertical-align: middle;
    }
    .inline-badges-tray .badge-item img {
      width: 18px;
      height: 18px;
      aspect-ratio: 1 / 1;
      object-fit: contain;
      cursor: pointer;
      filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.85));
      transition: transform 0.2s ease, filter 0.2s ease;
    }
    .inline-badges-tray .badge-item:hover img {
      transform: scale(1.25);
      filter: drop-shadow(0 0 8px rgba(255, 255, 255, 1));
    }
    .bio-clock-card {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      padding: 0.6rem 0.9rem;
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      margin: 0.45rem 0 0.25rem;
    }

    /* ── Username UID Tooltip on Hover ── */
    .username-wrapper {
      position: relative;
      display: inline-flex;
      align-items: center;
      cursor: pointer;
    }

    .username-uid-tooltip {
      position: absolute;
      bottom: calc(100% + 9px);
      left: 50%;
      transform: translateX(-50%) translateY(4px);
      background: #09090d !important;
      border: 1px solid rgba(255, 255, 255, 0.22) !important;
      box-shadow: 0 4px 18px rgba(0, 0, 0, 0.75), 0 0 12px rgba(255, 255, 255, 0.25) !important;
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      color: #ffffff !important;
      font-size: 0.7rem !important;
      font-weight: 800 !important;
      letter-spacing: 0.06em;
      padding: 0.25rem 0.65rem !important;
      border-radius: 8px;
      white-space: nowrap;
      pointer-events: none;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
      z-index: 99999999 !important;
    }

    .username-uid-tooltip::after {
      content: '';
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      border-width: 5px;
      border-style: solid;
      border-color: #09090d transparent transparent transparent;
    }

    .username-wrapper:hover .username-uid-tooltip,
    .username-text:hover + .username-uid-tooltip,
    .gunslol-username:hover + .username-uid-tooltip {
      opacity: 1 !important;
      visibility: visible !important;
      transform: translateX(-50%) translateY(0) !important;
    }

    .gunslol-badges-tray {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      padding: 5px 11px;
      border-radius: 25px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    }

    .badge-item {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }

    .badge-item img, .badge-item svg {
      width: 21px;
      height: 21px;
      aspect-ratio: 1 / 1;
      object-fit: contain;
      display: block;
      transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.2s ease;
      filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.35));
    }

    .badge-item:hover img, .badge-item:hover svg {
      transform: scale(1.25);
      filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 16px rgba(255, 255, 255, 0.6));
    }

    .badge-tooltip {
      position: absolute;
      bottom: calc(100% + 8px);
      left: 50%;
      transform: translateX(-50%) translateY(4px);
      background: rgba(10, 10, 14, 0.95);
      backdrop-filter: blur(14px);
      border: 1px solid rgba(255, 255, 255, 0.18);
      color: #fff;
      font-size: 0.65rem;
      font-weight: 800;
      letter-spacing: 0.04em;
      padding: 0.3rem 0.65rem;
      border-radius: 7px;
      white-space: nowrap;
      pointer-events: none;
      opacity: 0;
      transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
      z-index: 1000;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.9);
      max-width: 220px;
    }

    .badge-tooltip::after {
      content: '';
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      border-width: 4px;
      border-style: solid;
      border-color: rgba(10, 10, 14, 0.95) transparent transparent transparent;
    }

    .badge-item:hover .badge-tooltip {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }

    /* Anti-cutoff rule when badge is near the right edge of card */
    .badge-item:last-child .badge-tooltip,
    .gunslol-badges-tray > div:last-child .badge-tooltip,
    .inline-badges-tray > div:last-child .badge-tooltip {
      left: auto !important;
      right: -8px !important;
      transform: translateY(4px) !important;
    }
    .badge-item:last-child:hover .badge-tooltip,
    .gunslol-badges-tray > div:last-child:hover .badge-tooltip,
    .inline-badges-tray > div:last-child:hover .badge-tooltip {
      transform: translateY(0) !important;
    }
    .badge-item:last-child .badge-tooltip::after,
    .gunslol-badges-tray > div:last-child .badge-tooltip::after,
    .inline-badges-tray > div:last-child .badge-tooltip::after {
      left: auto !important;
      right: 14px !important;
      transform: none !important;
    }

    .gunslol-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      padding: 0.25rem 0.65rem;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 999px;
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      color: #ccc;
      text-transform: uppercase;
    }

    .gunslol-pill--dim {
      color: #777;
    }

    .gunslol-pill-action {
      display: inline-flex;
      align-items: center;
      padding: 0.25rem 0.65rem;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: 999px;
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      color: #eee;
      cursor: pointer;
      transition: all 0.2s;
    }

    .gunslol-pill-action:hover {
      background: rgba(255, 255, 255, 0.16);
      color: #fff;
    }

    .gunslol-bio {
      font-size: 0.78rem;
      color: #888;
      font-style: italic;
      letter-spacing: 0.02em;
      margin-top: 0.1rem;
    }

    .gunslol-socials {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin-top: 0.2rem;
      flex-wrap: wrap;
    }

    .gunslol-pill.gold {
      background: linear-gradient(135deg, rgba(234, 179, 8, 0.16) 0%, rgba(202, 138, 4, 0.08) 100%);
      border-color: rgba(234, 179, 8, 0.45);
      color: #facc15;
      box-shadow: 0 0 16px rgba(234, 179, 8, 0.28);
    }

    .gunslol-pill.fire {
      background: linear-gradient(135deg, rgba(244, 63, 94, 0.16) 0%, rgba(225, 29, 72, 0.08) 100%);
      border-color: rgba(244, 63, 94, 0.45);
      color: #fb7185;
      box-shadow: 0 0 16px rgba(244, 63, 94, 0.28);
    }

    .gunslol-pill.cyan {
      background: linear-gradient(135deg, rgba(6, 182, 212, 0.16) 0%, rgba(14, 165, 233, 0.08) 100%);
      border-color: rgba(6, 182, 212, 0.45);
      color: #22d3ee;
      box-shadow: 0 0 16px rgba(6, 182, 212, 0.28);
    }

    .gunslol-pill.emerald {
      background: rgba(16, 185, 129, 0.14);
      border-color: rgba(16, 185, 129, 0.35);
      color: #10b981;
      box-shadow: 0 0 16px rgba(16, 185, 129, 0.25);
    }

    .gunslol-social-btn {
      width: auto;
      height: auto;
      border-radius: 0;
      background: transparent !important;
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
      border: none !important;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.25rem 0.45rem;
      color: rgba(255, 255, 255, 0.88);
      text-decoration: none;
      transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
      box-shadow: none !important;
    }
    .gunslol-social-btn svg {
      width: 18px;
      height: 18px;
      filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
      transition: transform 0.2s ease, filter 0.2s ease;
    }

    .gunslol-social-btn:hover {
      background: transparent !important;
      border: none !important;
      color: #fff;
      transform: translateY(-2px) scale(1.15);
      box-shadow: none !important;
    }
    .gunslol-social-btn:hover svg {
      filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
    }

    /* ═══════════════════════════════════════════════════════════
       VIP GUNS.LOL BIO STUDIO STYLING
       ═══════════════════════════════════════════════════════════ */
    .bio-studio-modal-box {
      background: #0c0c10;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 26px;
      padding: 0;
      width: 95%;
      max-width: 1060px;
      max-height: 88vh;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      box-shadow: 0 40px 120px rgba(0, 0, 0, 0.95), 0 0 60px rgba(255, 255, 255, 0.03);
      position: relative;
    }

    .bio-studio-header {
      padding: 1.15rem 2rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: rgba(16, 16, 20, 0.75);
      backdrop-filter: blur(16px);
      flex-shrink: 0;
    }

    .bio-studio-body {
      display: grid;
      grid-template-columns: 370px 1fr;
      overflow: hidden;
      flex: 1;
      min-height: 0;
    }

    @media (max-width: 920px) {
      .bio-studio-body {
        grid-template-columns: 1fr;
        overflow-y: auto;
      }
      .bio-studio-preview-col {
        display: none !important;
      }
    }

    .bio-studio-preview-col {
      background: #070709;
      border-right: 1px solid rgba(255, 255, 255, 0.07);
      padding: 2rem 1.5rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      overflow-y: auto;
      position: relative;
    }

    .bio-studio-editor-col {
      display: flex;
      flex-direction: column;
      overflow-y: auto;
      background: #0e0e12;
    }

    .bio-studio-nav-tabs {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.85rem 1.75rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.07);
      background: rgba(14, 14, 18, 0.9);
      overflow-x: auto;
      flex-shrink: 0;
    }

    .studio-tab-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      padding: 0.5rem 0.95rem;
      border-radius: 12px;
      font-size: 0.72rem;
      font-weight: 700;
      color: #888;
      background: transparent;
      border: 1px solid transparent;
      cursor: pointer;
      transition: all 0.2s ease;
      white-space: nowrap;
    }

    .studio-tab-btn:hover {
      color: #eee;
      background: rgba(255, 255, 255, 0.04);
    }

    .studio-tab-btn.active {
      color: #fff;
      background: rgba(255, 255, 255, 0.09);
      border-color: rgba(255, 255, 255, 0.18);
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    }

    .studio-tab-content {
      padding: 1.75rem 2rem;
      display: none;
      flex-direction: column;
      gap: 1.25rem;
      flex: 1;
    }

    .studio-tab-content.active {
      display: flex;
    }

    .banner-presets-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
      gap: 0.75rem;
      margin-top: 0.5rem;
    }

    .banner-preset-card {
      position: relative;
      height: 72px;
      border-radius: 12px;
      overflow: hidden;
      border: 1.5px solid rgba(255, 255, 255, 0.09);
      cursor: pointer;
      background-size: cover;
      background-position: center;
      transition: all 0.22s ease;
    }

    .banner-preset-card:hover {
      transform: translateY(-2px);
      border-color: rgba(255, 255, 255, 0.35);
      box-shadow: 0 8px 22px rgba(0, 0, 0, 0.6);
    }

    .banner-preset-label {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 0.35rem 0.5rem;
      background: linear-gradient(0deg, rgba(0,0,0,0.92) 0%, transparent 100%);
      font-size: 0.62rem;
      font-weight: 800;
      color: #fff;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .equalizer-bar {
      width: 3px;
      height: 12px;
      background: #10b981;
      border-radius: 2px;
      animation: eqBounce 1.2s ease-in-out infinite alternate;
    }
    .equalizer-bar:nth-child(2) { animation-delay: 0.2s; height: 16px; }
    .equalizer-bar:nth-child(3) { animation-delay: 0.4s; height: 9px; }
    .equalizer-bar:nth-child(4) { animation-delay: 0.1s; height: 14px; }

    @keyframes eqBounce {
      0% { transform: scaleY(0.3); }
      100% { transform: scaleY(1); }
    }

    .gunslol-sub-strip {
      margin-top: 1rem;
      padding: 0.75rem 1rem;
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 0.75rem;
    }

    .gunslol-sub-indicator {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: #71717a;
      flex-shrink: 0;
    }
    .gunslol-sub-indicator.active {
      background: #10b981;
      box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
    }

    .gunslol-sub-name {
      font-size: 0.8rem;
      font-weight: 800;
      color: #fff;
    }

    .gunslol-sub-desc {
      font-size: 0.65rem;
      color: #777;
    }

    .gunslol-btn-buy {
      padding: 0.42rem 0.95rem;
      background: #ffffff;
      color: #080808;
      border: none;
      border-radius: 999px;
      font-size: 0.68rem;
      font-weight: 800;
      letter-spacing: 0.04em;
      cursor: pointer;
      transition: all 0.2s ease;
      white-space: nowrap;
    }

    .gunslol-btn-buy:hover {
      background: #e4e4e7;
      transform: translateY(-1px);
      box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    }

    .profile-user-wrap {
      display: flex;
      align-items: center;
      gap: 1.25rem;
    }

    /* Luxury Dynamic Avatar with Specular Sweep & Floating Glow */
    .profile-avatar-btn {
      width: 70px;
      height: 70px;
      border-radius: 50%;
      background: linear-gradient(135deg, #1b1b1f 0%, #0c0c0e 100%);
      border: 2px solid rgba(255, 255, 255, 0.18);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      position: relative;
      cursor: pointer;
      overflow: hidden;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 255, 255, 0.05);
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      padding: 0;
      outline: none;
    }

    .profile-avatar-btn:hover {
      transform: translateY(-2px) scale(1.04);
      border-color: rgba(255, 255, 255, 0.45);
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 255, 255, 0.15);
    }

    /* Specular Light Sweep Animation */
    .profile-avatar-btn::after {
      content: "";
      position: absolute;
      top: -60%;
      left: -70%;
      width: 45%;
      height: 220%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
      transform: rotate(25deg);
      animation: avatarShineSweep 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
      pointer-events: none;
    }

    @keyframes avatarShineSweep {
      0% { left: -80%; }
      32%, 100% { left: 170%; }
    }

    .avatar-initial {
      font-size: 1.9rem;
      font-weight: 900;
      letter-spacing: -0.02em;
      background: linear-gradient(180deg, #ffffff 30%, #a1a1aa 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      user-select: none;
      display: block;
      transition: transform 0.3s ease;
    }

    .avatar-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 50%;
      display: none;
      transition: transform 0.4s ease;
    }

    .profile-avatar-btn:hover .avatar-img {
      transform: scale(1.08);
    }

    .avatar-edit-overlay {
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.65);
      backdrop-filter: blur(2px);
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      opacity: 0;
      transition: opacity 0.25s ease;
      color: #fff;
    }

    .profile-avatar-btn:hover .avatar-edit-overlay {
      opacity: 1;
    }

    /* Pinterest Gallery Modal Styling */
    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
      gap: 0.85rem;
      max-height: 380px;
      overflow-y: auto;
      padding-right: 0.4rem;
      margin-top: 1rem;
    }

    .gallery-grid::-webkit-scrollbar {
      width: 6px;
    }
    .gallery-grid::-webkit-scrollbar-track {
      background: rgba(255, 255, 255, 0.02);
      border-radius: 10px;
    }
    .gallery-grid::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.15);
      border-radius: 10px;
    }

    .gallery-item {
      position: relative;
      aspect-ratio: 1;
      border-radius: 14px;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.1);
      cursor: pointer;
      background: #141416;
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .gallery-item:hover {
      transform: scale(1.05);
      border-color: rgba(255, 255, 255, 0.45);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 255, 255, 0.1);
      z-index: 2;
    }

    .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.3s ease;
    }

    .gallery-item:hover img {
      transform: scale(1.1);
    }

    .gallery-pill {
      position: absolute;
      bottom: 6px;
      left: 6px;
      right: 6px;
      background: rgba(0, 0, 0, 0.7);
      backdrop-filter: blur(4px);
      border-radius: 6px;
      padding: 0.2rem 0.4rem;
      font-size: 0.62rem;
      font-weight: 700;
      color: #e4e4e7;
      text-align: center;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      opacity: 0;
      transition: opacity 0.2s ease;
    }

    .gallery-item:hover .gallery-pill {
      opacity: 1;
    }

    .profile-details {
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
    }

    .profile-tag {
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 0.16em;
      color: #666;
      text-transform: uppercase;
    }

    .profile-name {
      font-size: 1.5rem;
      font-weight: 800;
      letter-spacing: -0.02em;
      color: var(--text);
    }

    .profile-meta {
      display: flex;
      align-items: center;
      gap: 1rem;
      font-size: 0.75rem;
      color: var(--text-dim);
      margin-top: 0.15rem;
      flex-wrap: wrap;
    }

    .profile-meta span {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
    }

    .btn-hwid-reset {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.1);
      color: #aaa;
      font-size: 0.65rem;
      font-weight: 700;
      padding: 0.2rem 0.55rem;
      border-radius: 6px;
      cursor: pointer;
      transition: all 0.2s;
    }
    .btn-hwid-reset:hover {
      background: rgba(255, 255, 255, 0.08);
      color: #fff;
      border-color: rgba(255, 255, 255, 0.25);
    }

    /* Subscription summary box inside hero */
    .profile-sub-box {
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid var(--card-border);
      border-radius: 14px;
      padding: 1rem 1.4rem;
      min-width: 280px;
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
    }

    .sub-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 0.2rem;
    }

    .sub-title {
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 0.18em;
      color: #666;
      text-transform: uppercase;
    }

    .sub-badge {
      font-size: 0.62rem;
      font-weight: 800;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 0.2rem 0.65rem;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      color: #888;
    }

    .sub-badge.active {
      background: rgba(16, 185, 129, 0.12);
      border-color: rgba(16, 185, 129, 0.3);
      color: #10b981;
      box-shadow: 0 0 14px rgba(16, 185, 129, 0.2);
    }

    .sub-plan-name {
      font-size: 0.95rem;
      font-weight: 700;
      color: #eee;
      word-break: break-all;
    }

    .btn-get-sub {
      margin-top: 0.4rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.45rem 1rem;
      background: #ffffff;
      color: #080808;
      border-radius: 8px;
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.06em;
      text-decoration: none;
      text-transform: uppercase;
      transition: all 0.2s ease;
    }
    .btn-get-sub:hover {
      background: #e4e4e7;
      transform: translateY(-1px);
    }

    /* 2-Column Main Hub */
    .dashboard-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
      align-items: start;
    }

    /* ═══════════════════════════════════════════════════════════
       MODERN 2-COLUMN DASHBOARD WORKSPACE (SIDEBAR - FULL VIEWS)
       ═══════════════════════════════════════════════════════════ */
    .dash-workspace-layout {
      display: grid;
      grid-template-columns: 240px 1fr;
      gap: 2rem;
      align-items: start;
      position: relative;
      width: 100%;
    }

    .dash-sidebar {
      position: sticky;
      top: 75px;
      z-index: 25;
    }

    .dash-main-area {
      min-width: 0;
      width: 100%;
    }

    /* RIGHT COLUMN: STICKY LIVE PROFILE PREVIEW */
    .dash-preview-aside {
      position: sticky;
      top: 75px;
      z-index: 20;
      align-self: start;
      width: 100%;
      max-width: 390px;
    }

    .preview-sticky-wrap {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      width: 100%;
    }

    .preview-header-label {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.1rem 0.4rem;
    }

    .preview-header-label span:first-child {
      font-size: 0.68rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      color: #71717a;
      text-transform: uppercase;
    }

    .preview-live-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      font-size: 0.62rem;
      font-weight: 800;
      color: #10b981;
      background: rgba(16, 185, 129, 0.1);
      border: 1px solid rgba(16, 185, 129, 0.25);
      border-radius: 999px;
      padding: 0.15rem 0.5rem;
      letter-spacing: 0.04em;
    }

    .preview-live-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #10b981;
      box-shadow: 0 0 8px #10b981;
      animation: previewPulse 2s infinite ease-in-out;
    }

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

    .dash-sidebar-card {
      background: rgba(14, 14, 18, 0.78);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 20px;
      padding: 1.1rem;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 255, 255, 0.02);
      transform: none !important;
    }

    .dash-sidebar-header {
      padding: 0.15rem 0.35rem 0.85rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
      margin-bottom: 0.85rem;
    }

    .dash-sidebar-tag {
      font-size: 0.68rem;
      font-weight: 800;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: #71717a;
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
    }

    .dash-side-tabs-list {
      display: flex;
      flex-direction: column;
      gap: 0.65rem;
    }

    .dash-side-tab {
      display: flex;
      align-items: center;
      gap: 0.95rem;
      width: 100%;
      padding: 0.85rem 1rem;
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.025);
      border: 1px solid rgba(255, 255, 255, 0.06);
      cursor: pointer;
      text-align: left;
      position: relative;
      overflow: hidden;
      transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
      color: #888;
      font-family: inherit;
      transform: none !important;
    }

    .dash-side-tab:hover {
      background: rgba(255, 255, 255, 0.05);
      border-color: rgba(255, 255, 255, 0.14);
      color: #e4e4e7;
    }

    .dash-side-tab.active {
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
      border-color: rgba(255, 255, 255, 0.2);
      color: #ffffff;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }

    .dash-side-tab-icon {
      width: 42px;
      height: 42px;
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      color: #71717a;
      transition: all 0.25s ease;
    }

    .dash-side-tab:hover .dash-side-tab-icon {
      color: #fff;
      border-color: rgba(255, 255, 255, 0.18);
    }

    .dash-side-tab.active .client-icon {
      background: rgba(16, 185, 129, 0.14);
      border-color: rgba(16, 185, 129, 0.45);
      color: #10b981;
      box-shadow: 0 0 18px rgba(16, 185, 129, 0.35);
    }

    .dash-side-tab.active .biolink-icon {
      background: rgba(255, 255, 255, 0.12);
      border-color: rgba(255, 255, 255, 0.35);
      color: #ffffff;
      box-shadow: 0 0 18px rgba(255, 255, 255, 0.2);
    }

    .dash-side-tab-info {
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      gap: 0.2rem;
    }

    .dash-side-tab-title {
      font-size: 0.84rem;
      font-weight: 800;
      letter-spacing: -0.01em;
      color: inherit;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.35rem;
    }

    .dash-side-tab-sub {
      font-size: 0.68rem;
      color: #71717a;
      font-weight: 500;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .dash-side-tab.active .dash-side-tab-sub {
      color: #a1a1aa;
    }

    .dash-side-tab-accent {
      position: absolute;
      left: 0;
      top: 22%;
      bottom: 22%;
      width: 3.5px;
      border-radius: 0 4px 4px 0;
      background: transparent;
      transition: all 0.25s ease;
    }

    .dash-side-tab.active#btnMainTabClient .dash-side-tab-accent {
      background: #10b981;
      box-shadow: 0 0 12px #10b981;
    }

    .dash-side-tab.active#btnMainTabBioLink .dash-side-tab-accent {
      background: #ffffff;
      box-shadow: 0 0 12px #ffffff;
    }

    .dash-sidebar-divider {
      height: 1px;
      background: rgba(255, 255, 255, 0.07);
      margin: 1.15rem 0;
    }

    .dash-sidebar-widget {
      background: rgba(0, 0, 0, 0.35);
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: 14px;
      padding: 0.95rem;
    }

    .dash-sidebar-status-row {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin-bottom: 0.25rem;
    }

    .pulse-indicator-emerald {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #10b981;
      box-shadow: 0 0 10px #10b981;
      animation: pulseGlow 2s infinite ease-in-out;
    }

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

    .dash-sidebar-status-title {
      font-size: 0.68rem;
      font-weight: 800;
      color: #10b981;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .dash-sidebar-status-sub {
      font-size: 0.7rem;
      color: #888;
      line-height: 1.4;
    }

    .dash-sidebar-actions {
      display: flex;
      flex-direction: column;
      gap: 0.45rem;
      margin-top: 0.85rem;
    }

    .dash-side-action-btn {
      width: 100%;
      padding: 0.55rem 0.8rem;
      border-radius: 10px;
      font-size: 0.72rem;
      font-weight: 700;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.09);
      color: #ccc;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.45rem;
      text-decoration: none;
      transition: all 0.2s ease;
      font-family: inherit;
    }

    .dash-side-action-btn:hover {
      background: rgba(255, 255, 255, 0.08);
      border-color: rgba(255, 255, 255, 0.18);
      color: #fff;
    }

    .dash-side-action-btn.discord-action:hover {
      background: rgba(88, 101, 242, 0.14);
      border-color: rgba(88, 101, 242, 0.35);
      color: #8ea1e1;
    }

    .dash-main-area {
      min-width: 0;
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }

    /* Backward compatibility for legacy horizontal switcher rules */
    .dash-master-switcher {
      display: none !important;
    }

    .dash-master-tab {
      /* preserved for legacy query selectors */
    }

    .tab-pill-badge {
      font-size: 0.58rem;
      background: rgba(255, 255, 255, 0.12);
      border: 1px solid rgba(255, 255, 255, 0.15);
      color: #fff;
      padding: 0.15rem 0.45rem;
      border-radius: 999px;
      font-weight: 900;
      letter-spacing: 0.04em;
    }

    /* Light Theme Compatibility */
    body.light-theme .dash-sidebar-card {
      background: rgba(255, 255, 255, 0.9);
      border-color: #e2e8f0;
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    }
    body.light-theme .dash-side-tab {
      background: #f8fafc;
      border-color: #e2e8f0;
      color: #64748b;
    }
    body.light-theme .dash-side-tab:hover {
      background: #f1f5f9;
      color: #0f172a;
    }
    body.light-theme .dash-side-tab.active {
      background: #ffffff;
      border-color: #cbd5e1;
      color: #0f172a;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    }
    body.light-theme .dash-sidebar-widget {
      background: #f8fafc;
      border-color: #e2e8f0;
    }
    body.light-theme .dash-side-action-btn {
      background: #ffffff;
      border-color: #e2e8f0;
      color: #334155;
    }

    @media (max-width: 960px) {
      .dash-workspace-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
      }
      .dash-sidebar {
        position: static;
      }
    }
      .dash-side-tabs-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
      }
      .dash-sidebar-widget {
        margin-top: 0.5rem;
      }
      .dash-preview-aside {
        grid-column: 1;
        order: -1;
        position: static;
      }
    }

    @media (max-width: 640px) {
      .dash-side-tabs-list {
        grid-template-columns: 1fr;
      }
    }

    /* ═══════════════════════════════════════════════════════════
       AUTHENTIC GUNS.LOL DASHBOARD STYLES (RESUMEN & PERSONALIZAR)
       ═══════════════════════════════════════════════════════════ */
    .gl-sidebar-brand {
      display: flex;
      align-items: center;
      gap: 0.65rem;
      padding: 0.2rem 0.4rem 0.95rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
      margin-bottom: 0.85rem;
    }
    .gl-brand-name {
      font-size: 1.15rem;
      font-weight: 900;
      letter-spacing: -0.02em;
      color: #ffffff;
    }
    .gl-brand-badge {
      font-size: 0.6rem;
      font-weight: 900;
      letter-spacing: 0.08em;
      padding: 0.15rem 0.45rem;
      border-radius: 6px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.15);
      color: #ffffff;
    }
    .gl-search-bar {
      display: flex;
      align-items: center;
      gap: 0.55rem;
      padding: 0.6rem 0.85rem;
      background: #14131a;
      border: 1px solid rgba(255, 255, 255, 0.07);
      border-radius: 12px;
      margin-bottom: 1.1rem;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    .gl-search-bar:hover {
      border-color: rgba(255, 255, 255, 0.16);
      background: #191821;
    }
    .gl-search-placeholder {
      font-size: 0.74rem;
      color: #71717a;
      flex: 1;
    }
    .gl-kbd {
      font-size: 0.6rem;
      font-weight: 700;
      color: #a1a1aa;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 4px;
      padding: 0.1rem 0.35rem;
      font-family: inherit;
    }

    .gl-nav-menu {
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
    }
    .gl-nav-group {
      margin-bottom: 0.35rem;
    }
    .gl-nav-group-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.65rem 0.85rem;
      border-radius: 12px;
      color: #e4e4e7;
      font-size: 0.84rem;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    .gl-nav-group-header:hover {
      background: rgba(255, 255, 255, 0.04);
      color: #fff;
    }
    .gl-nav-group-title {
      display: flex;
      align-items: center;
      gap: 0.65rem;
    }
    .gl-chevron {
      color: #71717a;
      transition: transform 0.2s ease;
    }
    .gl-nav-group.active .gl-chevron {
      transform: rotate(180deg);
    }
    .gl-nav-sublist {
      display: flex;
      flex-direction: column;
      gap: 0.2rem;
      padding-left: 1.25rem;
      margin-top: 0.25rem;
    }


    .gl-nav-item {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.65rem 0.85rem;
      border-radius: 12px;
      background: transparent;
      border: 1px solid transparent;
      color: #a1a1aa;
      font-size: 0.84rem;
      font-weight: 700;
      cursor: pointer;
      text-align: left;
      font-family: inherit;
      transition: all 0.2s ease;
      position: relative;
    }
    .gl-nav-item:hover {
      background: rgba(255, 255, 255, 0.04);
      color: #fff;
    }
    .gl-nav-item.active {
      background: rgba(255, 255, 255, 0.08);
      color: #fff;
      border-color: rgba(255, 255, 255, 0.16);
    }
    .gl-nav-item.active .gl-nav-item-icon {
      color: #ffffff;
    }
    .gl-nav-item-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      color: #71717a;
      transition: color 0.2s;
    }
    .gl-nav-item-text {
      flex: 1;
    }
    .gl-badge-pro {
      font-size: 0.58rem;
      font-weight: 900;
      padding: 0.12rem 0.4rem;
      border-radius: 999px;
      background: rgba(245, 158, 11, 0.18);
      border: 1px solid rgba(245, 158, 11, 0.4);
      color: #fbbf24;
      letter-spacing: 0.04em;
    }

    .gl-sidebar-bottom {
      display: flex;
      flex-direction: column;
      gap: 0.45rem;
      margin-top: 1.5rem;
      padding-top: 1rem;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
    }
    .gl-bottom-btn {
      display: flex;
      align-items: center;
      gap: 0.55rem;
      padding: 0.65rem 0.95rem;
      border-radius: 12px;
      font-size: 0.78rem;
      font-weight: 700;
      cursor: pointer;
      text-decoration: none;
      font-family: inherit;
      transition: all 0.2s ease;
      border: 1px solid transparent;
    }
    .gl-bottom-btn.help-btn {
      background: rgba(255, 255, 255, 0.03);
      border-color: rgba(255, 255, 255, 0.07);
      color: #a1a1aa;
    }
    .gl-bottom-btn.help-btn:hover {
      background: rgba(255, 255, 255, 0.06);
      color: #fff;
    }

    /* Guns.lol Subtabs Navigation - Sleek Modern Pill Dock */
    .gl-subtabs-nav {
      display: flex;
      align-items: center;
      gap: 0.35rem;
      overflow-x: auto;
      white-space: nowrap;
      padding: 0.35rem;
      margin-bottom: 1.5rem;
      background: rgba(18, 17, 24, 0.75);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 14px;
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      scrollbar-width: none;
    }
    .gl-subtabs-nav::-webkit-scrollbar { display: none; }
    .gl-subtab-btn {
      background: transparent;
      border: 1px solid transparent;
      border-radius: 10px;
      color: #9ca3af;
      padding: 0.45rem 0.85rem;
      font-size: 0.78rem;
      font-weight: 600;
      cursor: pointer;
      white-space: nowrap;
      flex-shrink: 0 !important;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      user-select: none;
      outline: none;
    }
    .gl-subtab-btn:hover {
      background: rgba(255, 255, 255, 0.06);
      color: #ffffff;
    }
    .gl-subtab-btn.active {
      background: #ffffff !important;
      color: #09090b !important;
      font-weight: 800;
      border-color: #ffffff !important;
      box-shadow: 0 4px 18px rgba(255, 255, 255, 0.22);
    }
    .gl-bottom-btn.page-btn {
      background: rgba(255, 255, 255, 0.06);
      border-color: rgba(255, 255, 255, 0.12);
      color: #ffffff;
    }
    .gl-bottom-btn.page-btn:hover {
      background: rgba(255, 255, 255, 0.12);
      border-color: rgba(255, 255, 255, 0.25);
      color: #fff;
      transform: translateY(-1px);
    }

    /* Views Layout */
    .gl-view {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
      animation: fadeInGl 0.25s ease-out;
    }
    @keyframes fadeInGl {
      from { opacity: 0; transform: translateY(6px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .gl-section-title {
      font-size: 1.25rem;
      font-weight: 800;
      color: #ffffff;
      letter-spacing: -0.02em;
      margin-bottom: 0.95rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .gl-section-title .gl-pill-btn {
      font-size: 0.65rem;
      font-weight: 800;
      padding: 0.25rem 0.65rem;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.15);
      color: #ffffff;
      cursor: pointer;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
    }

    /* Resumen Cards */
    .gl-overview-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
    }
    @media (max-width: 768px) {
      .gl-overview-grid {
        grid-template-columns: 1fr;
      }
    }
    .gl-card {
      background: #111016;
      border: 1px solid rgba(255, 255, 255, 0.07);
      border-radius: 20px;
      padding: 1.35rem 1.45rem;
      position: relative;
      transition: all 0.25s ease;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    }
    .gl-card:hover {
      border-color: rgba(255, 255, 255, 0.18);
      transform: translateY(-2px);
    }
    .gl-card-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 0.75rem;
    }
    .gl-card-title {
      font-size: 0.8rem;
      font-weight: 700;
      color: #9ca3af;
    }
    .gl-card-icon {
      color: #71717a;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: color 0.2s;
    }
    .gl-card-icon:hover {
      color: #fff;
    }
    .gl-card-val {
      font-size: 1.55rem;
      font-weight: 900;
      color: #ffffff;
      letter-spacing: -0.01em;
      margin-bottom: 0.3rem;
    }
    .gl-card-val-huge {
      font-size: 2.3rem;
      font-weight: 900;
      color: #ffffff;
      letter-spacing: -0.02em;
      margin-bottom: 0.3rem;
    }
    .gl-card-sub {
      font-size: 0.72rem;
      color: #71717a;
      font-weight: 500;
    }

    /* 2-Column Grid inside Resumen */
    .gl-two-col-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.25rem;
      align-items: start;
    }
    @media (max-width: 820px) {
      .gl-two-col-grid {
        grid-template-columns: 1fr;
      }
    }

    .gl-progress-bar-wrap {
      width: 100%;
      height: 9px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.06);
      overflow: hidden;
      margin-top: 0.5rem;
    }
    .gl-progress-bar-fill {
      height: 100%;
      border-radius: 999px;
      background: linear-gradient(90deg, #ffffff, #a1a1aa);
      transition: width 0.4s ease;
    }

    .gl-alert-banner {
      background: rgba(234, 179, 8, 0.06);
      border: 1px solid rgba(234, 179, 8, 0.2);
      border-radius: 14px;
      padding: 0.95rem 1.15rem;
      margin: 1rem 0;
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
    }
    .gl-alert-icon {
      color: #eab308;
      flex-shrink: 0;
      margin-top: 2px;
    }
    .gl-alert-title {
      font-size: 0.8rem;
      font-weight: 800;
      color: #fef08a;
      margin-bottom: 0.2rem;
    }
    .gl-alert-desc {
      font-size: 0.72rem;
      color: #d1d5db;
      line-height: 1.4;
    }

    .gl-task-pill {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.75rem 1rem;
      border-radius: 12px;
      background: #17161e;
      border: 1px solid rgba(255, 255, 255, 0.06);
      color: #e4e4e7;
      font-size: 0.78rem;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.2s ease;
      margin-bottom: 0.5rem;
    }
    .gl-task-pill:hover {
      background: #1e1d28;
      border-color: rgba(255, 255, 255, 0.12);
      transform: translateX(2px);
    }
    .gl-task-pill.completed {
      background: rgba(16, 185, 129, 0.08);
      border-color: rgba(16, 185, 129, 0.25);
      color: #10b981;
    }
    .gl-task-arrow {
      color: #71717a;
      font-size: 0.85rem;
    }

    .gl-btn-pill {
      display: flex;
      align-items: center;
      gap: 0.65rem;
      width: 100%;
      padding: 0.75rem 1.1rem;
      border-radius: 12px;
      background: #181720;
      border: 1px solid rgba(255, 255, 255, 0.07);
      color: #fff;
      font-size: 0.78rem;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.2s ease;
      margin-bottom: 0.5rem;
      text-align: left;
      font-family: inherit;
    }
    .gl-btn-pill:hover {
      background: #201f2b;
      border-color: rgba(255, 255, 255, 0.16);
      transform: translateY(-1px);
    }

    /* Uploader Slots (Personalizar) */
    .gl-uploader-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
    }
    @media (max-width: 768px) {
      .gl-uploader-grid {
        grid-template-columns: 1fr;
      }
    }
    .gl-upload-slot {
      background: #141319;
      border: 1.5px dashed rgba(255, 255, 255, 0.1);
      border-radius: 16px;
      padding: 1.4rem 1.2rem;
      text-align: center;
      cursor: pointer;
      position: relative;
      transition: all 0.22s ease;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0.55rem;
      min-height: 140px;
    }
    .gl-upload-slot:hover {
      background: #191822;
      border-color: rgba(255, 255, 255, 0.3);
    }
    .gl-slot-badge {
      display: inline-flex;
      align-items: center;
      font-size: 0.62rem;
      font-weight: 800;
      padding: 0.18rem 0.55rem;
      border-radius: 6px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.12);
      color: #cbd5e1;
      letter-spacing: 0.04em;
    }
    .gl-slot-remove {
      position: absolute;
      top: 10px;
      right: 10px;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: rgba(239, 68, 68, 0.2);
      color: #f87171;
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.7rem;
      cursor: pointer;
    }

    .gl-banner-vip {
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(24, 24, 27, 0.8) 100%);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 16px;
      padding: 1.15rem 1.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      cursor: pointer;
      transition: all 0.22s ease;
    }
    .gl-banner-vip:hover {
      border-color: rgba(255, 255, 255, 0.3);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .gl-form-group {
      margin-bottom: 1.1rem;
    }
    .gl-form-label {
      font-size: 0.74rem;
      font-weight: 700;
      color: #9ca3af;
      margin-bottom: 0.45rem;
      display: flex;
      align-items: center;
      gap: 0.4rem;
      min-height: 24px;
      line-height: 1.2;
      box-sizing: border-box;
    }
    .gl-input-pill {
      width: 100%;
      height: 44px;
      box-sizing: border-box;
      background: #17161e;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 12px;
      padding: 0 1rem;
      color: #fff;
      font-size: 0.82rem;
      font-family: inherit;
      outline: none;
      transition: all 0.2s ease;
    }
    .gl-input-pill:focus {
      background: #1c1b26;
      border-color: rgba(255, 255, 255, 0.35);
      box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08);
    }
    select, .gl-select-pill {
      width: 100%;
      height: 44px;
      box-sizing: border-box;
      background-color: #14131b;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 15 5 5 5-5'/%3E%3Cpath d='m7 9 5-5 5 5'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 1.1rem center;
      background-size: 14px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 12px;
      padding: 0 2.6rem 0 1.1rem;
      color: #f4f4f5;
      font-size: 0.84rem;
      font-weight: 500;
      font-family: inherit;
      cursor: pointer;
      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
      outline: none;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    }
    select:hover, .gl-select-pill:hover {
      background-color: #191822;
      border-color: rgba(255, 255, 255, 0.22);
    }
    select:focus, .gl-select-pill:focus {
      background-color: #1c1b26;
      border-color: rgba(192, 132, 252, 0.6);
      box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.18);
    }
    select option, .gl-select-pill option {
      background-color: #121118;
      color: #f4f4f5;
      padding: 10px 14px;
    }

    .gl-glow-pills-row {
      display: flex;
      gap: 0.5rem;
      flex-wrap: wrap;
      min-height: 44px;
      align-items: center;
    }
    .gl-glow-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      padding: 0.55rem 0.95rem;
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.08);
      color: #71717a;
      font-size: 0.75rem;
      font-weight: 800;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    .gl-glow-pill.active {
      background: rgba(16, 185, 129, 0.12);
      border-color: rgba(16, 185, 129, 0.45);
      color: #10b981;
      box-shadow: 0 0 14px rgba(16, 185, 129, 0.25);
    }

    .gl-slider-box {
      background: #17161e;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 12px;
      padding: 0.5rem 0.85rem;
      box-sizing: border-box;
    }
    .gl-step-marks {
      display: flex;
      justify-content: space-between;
      margin-top: 0.25rem;
      font-size: 0.65rem;
      color: #71717a;
      font-weight: 700;
    }
      color: #71717a;
      font-weight: 700;
    }

    @media (max-width: 820px) {
      .dashboard-grid {
        grid-template-columns: 1fr;
      }
      .profile-sub-box {
        width: 100%;
      }
      .profile-hero {
        padding: 1.5rem;
      }
    }

    /* Column Panels */
    .dash-card {
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: 18px;
      padding: 1.65rem 1.75rem;
      box-shadow: 0 4px 25px rgba(0, 0, 0, 0.35);
      position: relative;
    }

    .card-label {
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.2em;
      color: #888;
      text-transform: uppercase;
      margin-bottom: 0.4rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .card-title {
      font-size: 1.15rem;
      font-weight: 800;
      letter-spacing: -0.01em;
      color: var(--text);
      margin-bottom: 0.45rem;
    }

    .card-desc {
      font-size: 0.8rem;
      color: #777;
      line-height: 1.5;
      margin-bottom: 1.25rem;
    }

    /* Controls & Inputs */
    .input-group {
      display: flex;
      gap: 0.65rem;
      width: 100%;
    }

    .ctrl-input {
      flex: 1;
      background: #0a0a0a;
      border: 1px solid var(--card-border);
      border-radius: 10px;
      padding: 0.75rem 1rem;
      color: #fff;
      font-size: 0.82rem;
      font-family: monospace;
      letter-spacing: 0.06em;
      transition: all 0.2s ease;
    }

    .ctrl-input:focus {
      border-color: rgba(255, 255, 255, 0.35);
      background: #0f0f0f;
    }

    .ctrl-btn {
      padding: 0.75rem 1.25rem;
      background: #ffffff;
      color: #080808;
      border: 1px solid #ffffff;
      border-radius: 10px;
      font-size: 0.75rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      cursor: pointer;
      transition: all 0.2s ease;
      white-space: nowrap;
    }

    .ctrl-btn:hover {
      background: #e6e6e6;
      transform: translateY(-1px);
    }

    .ctrl-btn-secondary {
      padding: 0.75rem 1.25rem;
      background: rgba(255, 255, 255, 0.04);
      color: #e4e4e7;
      border: 1px solid var(--card-border);
      border-radius: 10px;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      cursor: pointer;
      transition: all 0.2s ease;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.4rem;
    }

    .ctrl-btn-secondary:hover {
      background: rgba(255, 255, 255, 0.08);
      border-color: rgba(255, 255, 255, 0.25);
      color: #ffffff;
    }

    /* Cloud Configs Tabs */
    .tabs-header {
      display: flex;
      border-bottom: 1px solid var(--card-border);
      margin-bottom: 1.25rem;
      gap: 0.5rem;
    }

    .tab-btn {
      padding: 0.65rem 1rem;
      background: none;
      border: none;
      border-bottom: 2px solid transparent;
      color: #777;
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      cursor: pointer;
      transition: all 0.2s;
    }

    .tab-btn.active {
      color: #ffffff;
      border-bottom-color: #ffffff;
    }

    .tab-content {
      display: none;
    }
    .tab-content.active {
      display: block;
    }

    /* Toast */
    .toast {
      position: fixed;
      top: 24px;
      right: 24px;
      bottom: auto;
      background: #141416;
      border: 1px solid rgba(255, 255, 255, 0.22);
      color: #fff;
      padding: 0.85rem 1.4rem;
      border-radius: 12px;
      font-size: 0.8rem;
      font-weight: 600;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
      opacity: 0;
      transform: translateY(-15px);
      transition: all 0.25s ease;
      pointer-events: none;
      z-index: 2100000 !important;
    }
    .toast.show {
      opacity: 1;
      transform: translateY(0);
    }

    /* ═══════════════════════════════════════════════════════════
       HAUNT.GG DASHBOARD STUDIO COMPONENTS & EFFECT STYLES
       ═══════════════════════════════════════════════════════════ */
    .haunt-studio-header {
      background: linear-gradient(180deg, rgba(22, 21, 30, 0.85) 0%, rgba(14, 13, 20, 0.7) 100%);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 20px;
      padding: 1.4rem 1.75rem;
      margin-bottom: 1.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 1.25rem;
      backdrop-filter: blur(16px);
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    }

    .haunt-studio-title-wrap {
      display: flex;
      flex-direction: column;
      gap: 0.3rem;
    }

    .haunt-studio-breadcrumbs {
      font-size: 0.72rem;
      font-weight: 700;
      color: #a1a1aa;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      display: flex;
      align-items: center;
      gap: 0.4rem;
    }

    .haunt-studio-title {
      font-size: 1.45rem;
      font-weight: 900;
      letter-spacing: -0.02em;
      color: #ffffff;
      display: flex;
      align-items: center;
      gap: 0.65rem;
    }

    .haunt-studio-actions {
      display: flex;
      align-items: center;
      gap: 0.65rem;
      flex-wrap: wrap;
    }

    .haunt-action-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      padding: 0.6rem 1.1rem;
      border-radius: 12px;
      font-size: 0.78rem;
      font-weight: 800;
      letter-spacing: 0.02em;
      cursor: pointer;
      transition: all 0.2s ease;
      text-decoration: none;
      box-sizing: border-box;
    }

    .haunt-btn-secondary {
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.12);
      color: #e4e4e7;
    }

    .haunt-btn-secondary:hover {
      background: rgba(255, 255, 255, 0.12);
      border-color: rgba(255, 255, 255, 0.22);
      color: #fff;
    }

    .haunt-btn-primary {
      background: #ffffff;
      border: 1px solid #ffffff;
      color: #09090b;
      box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
    }

    .haunt-btn-primary:hover {
      background: #e4e4e7;
      transform: translateY(-1px);
    }

    .haunt-btn-accent {
      background: #ffffff;
      border: 1px solid #ffffff;
      color: #09090b;
      font-weight: 700;
      box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
    }

    .haunt-btn-accent:hover {
      background: #e4e4e7;
      color: #000000;
      transform: translateY(-1px);
      box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
    }

    /* Soundboard buttons */
    .haunt-sound-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
      gap: 0.65rem;
    }

    .haunt-sound-btn {
      background: #17161f;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 12px;
      padding: 0.75rem 0.6rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0.35rem;
      color: #cbd5e1;
      font-size: 0.75rem;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.18s ease;
      outline: none;
    }

    .haunt-sound-btn:hover {
      background: #201f2d;
      border-color: rgba(255, 255, 255, 0.3);
      color: #ffffff;
      transform: translateY(-2px);
    }

    .haunt-sound-btn:active {
      transform: scale(0.96);
      background: rgba(255, 255, 255, 0.08);
    }

    /* Avatar Decorations Modal & Gallery */
    .haunt-deco-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
      gap: 0.9rem;
      max-height: 62vh;
      overflow-y: auto;
      padding: 0.6rem 0.4rem;
    }

    .haunt-deco-card {
      background: #14131b;
      border: 1.5px solid rgba(255, 255, 255, 0.08);
      border-radius: 16px;
      padding: 1.1rem 0.5rem 0.95rem;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      cursor: pointer;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      position: relative;
      box-sizing: border-box;
      min-height: 156px;
    }

    .haunt-deco-card:hover {
      background: #1c1b26;
      border-color: rgba(255, 255, 255, 0.35);
      transform: translateY(-3px);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    }

    .haunt-deco-card.selected {
      border-color: #ffffff;
      background: rgba(255, 255, 255, 0.08);
      box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2), 0 8px 20px rgba(0,0,0,0.5);
    }

    .haunt-deco-preview-wrap {
      position: relative;
      width: 90px;
      height: 90px;
      margin-bottom: 1.15rem;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .haunt-deco-preview-wrap .haunt-avatar-img {
      width: 62px;
      height: 62px;
      border-radius: 50%;
      background: #201f2d;
      object-fit: cover;
      position: relative;
      z-index: 1;
    }

    .haunt-deco-preview-wrap .haunt-decoration-img {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 86px;
      height: 86px;
      transform: translate(-50%, -50%);
      pointer-events: none;
      z-index: 2;
      object-fit: contain;
    }

    .haunt-deco-name {
      font-size: 0.74rem;
      font-weight: 700;
      color: #e4e4e7;
      line-height: 1.25;
      max-width: 110px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      margin-top: auto;
      position: relative;
      z-index: 3;
    }

    /* ═══════════════════════════════════════════════════════════
       HAUNT.GG WIDGETS STUDIO & CUSTOM SELECT / PICKER STYLING
       ═══════════════════════════════════════════════════════════ */
    .haunt-widget-card {
      background: #13121a;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 16px;
      padding: 1.1rem 1.3rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      margin-bottom: 0.85rem;
      transition: all 0.2s ease;
    }
    .haunt-widget-card:hover {
      background: #171622;
      border-color: rgba(192, 132, 252, 0.25);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    }
    .haunt-widget-left {
      display: flex;
      align-items: center;
      gap: 1rem;
      min-width: 0;
    }
    .haunt-widget-icon {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      background: #1c1b26;
      border: 1px solid rgba(255, 255, 255, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      color: #fff;
    }
    .haunt-widget-title {
      font-size: 0.92rem;
      font-weight: 800;
      color: #fff;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .haunt-widget-sub {
      font-size: 0.73rem;
      color: #8e8ea0;
      margin-top: 0.15rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .haunt-widget-actions {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      flex-shrink: 0;
    }
    .haunt-widget-edit-btn {
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.12);
      color: #cbd5e1;
      border-radius: 10px;
      width: 34px;
      height: 34px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    .haunt-widget-edit-btn:hover {
      background: rgba(255, 255, 255, 0.15);
      border-color: rgba(255, 255, 255, 0.3);
      color: #ffffff;
      transform: translateY(-1px);
    }
    .haunt-widget-del-btn {
      background: rgba(239, 68, 68, 0.1);
      border: 1px solid rgba(239, 68, 68, 0.2);
      color: #ef4444;
      border-radius: 10px;
      width: 34px;
      height: 34px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    .haunt-widget-del-btn:hover {
      background: rgba(239, 68, 68, 0.22);
      border-color: #ef4444;
      color: #fff;
    }

    /* Haunt Toggle Switch */
    .haunt-switch {
      position: relative;
      display: inline-block;
      width: 44px;
      height: 24px;
      flex-shrink: 0;
    }
    .haunt-switch input {
      opacity: 0;
      width: 0;
      height: 0;
    }
    .haunt-switch-slider {
      position: absolute;
      cursor: pointer;
      inset: 0;
      background-color: #272732;
      border: 1px solid rgba(255,255,255,0.12);
      transition: .25s;
      border-radius: 34px;
    }
    .haunt-switch-slider:before {
      position: absolute;
      content: "";
      height: 16px;
      width: 16px;
      left: 3px;
      bottom: 3px;
      background-color: white;
      transition: .25s;
      border-radius: 50%;
    }
    .haunt-switch input:checked + .haunt-switch-slider {
      background-color: #10b981;
      border-color: #10b981;
    }
    .haunt-switch input:checked + .haunt-switch-slider:before {
      transform: translateX(20px);
    }

    /* Custom Sleek Color Picker */
    .haunt-color-control {
      display: flex;
      align-items: center;
      gap: 0.65rem;
      background: #14131b;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 14px;
      padding: 0.4rem 0.75rem;
      width: fit-content;
      transition: all 0.2s ease;
    }
    .haunt-color-control:hover {
      border-color: rgba(192, 132, 252, 0.4);
    }
    .haunt-color-control input[type="color"] {
      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
      width: 32px;
      height: 32px;
      border: none;
      border-radius: 9px;
      cursor: pointer;
      background: none;
      padding: 0;
    }
    .haunt-color-control input[type="color"]::-webkit-color-swatch-wrapper {
      padding: 0;
    }
    .haunt-color-control input[type="color"]::-webkit-color-swatch {
      border: 2px solid rgba(255, 255, 255, 0.2);
      border-radius: 9px;
    }
    .haunt-color-hex-label {
      font-size: 0.78rem;
      font-weight: 800;
      color: #fff;
      font-family: monospace;
      letter-spacing: 0.05em;
    }

    /* Platform Dropdown List in Modal */
    .haunt-platform-option {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.7rem 0.9rem;
      border-radius: 10px;
      cursor: pointer;
      color: #e4e4e7;
      font-size: 0.82rem;
      font-weight: 700;
      transition: all 0.15s ease;
    }
    .haunt-platform-option:hover {
      background: #201f2d;
      color: #fff;
    }
    .haunt-platform-option.selected {
      background: rgba(255, 255, 255, 0.12);
      color: #ffffff;
    }

    /* ═══════════════════════════════════════════════════════════
       AUTHENTIC HAUNT WIDGETS GRID (PHOTOS 3 & 4 AESTHETIC)
       ═══════════════════════════════════════════════════════════ */
    .bio-widgets-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.65rem;
      width: 100%;
      margin: 0.85rem 0 1rem;
      box-sizing: border-box;
    }

    @media (max-width: 520px) {
      .bio-widgets-grid {
        grid-template-columns: 1fr;
      }
    }

    .haunt-profile-widget {
      background: #111116 !important;
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 16px;
      padding: 0.75rem 0.85rem;
      display: flex;
      align-items: center;
      gap: 0.75rem;
      text-align: left;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      box-sizing: border-box;
      box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
      position: relative;
      min-width: 0;
      overflow: visible;
    }

    .haunt-profile-widget:hover {
      background: #16161c !important;
      border-color: rgba(255, 255, 255, 0.16);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
    }

    .widget-avatar-box {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      background: transparent !important;
      border: none !important;
      box-shadow: none !important;
      flex-shrink: 0;
      overflow: visible;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }

    .widget-avatar-box img {
      width: 100%;
      height: 100%;
      object-fit: contain !important;
      border-radius: inherit !important;
      filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
    }

    /* Authentic Discord Avatar & Online Status Dot */
    .discord-widget .widget-avatar-box {
      width: 48px !important;
      height: 48px !important;
      border-radius: 50% !important;
      position: relative !important;
      overflow: visible !important;
    }

    .discord-widget .widget-avatar-box img {
      width: 48px !important;
      height: 48px !important;
      border-radius: 50% !important;
      object-fit: cover !important;
    }

    .discord-widget .discord-presence-status-dot {
      position: absolute;
      bottom: 0px;
      right: 0px;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      border: 2.5px solid #111116;
      background: #23a55a;
      z-index: 5;
    }

    /* Roblox Avatar Styling */
    .roblox-widget .widget-avatar-box {
      width: 48px !important;
      height: 48px !important;
      background: transparent !important;
      border: none !important;
      box-shadow: none !important;
    }

    .roblox-widget .widget-avatar-box img {
      width: 100% !important;
      height: 100% !important;
      object-fit: contain !important;
    }

    .widget-details-box {
      display: flex;
      flex-direction: column;
      justify-content: center;
      min-width: 0;
      flex: 1;
      overflow: hidden;
    }

    .widget-title {
      font-size: 0.86rem;
      font-weight: 700;
      color: #ffffff;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      margin-bottom: 0.18rem;
      line-height: 1.2;
    }

    .widget-stats {
      font-size: 0.65rem;
      color: #a1a1aa;
      display: flex;
      align-items: center;
      gap: 0.4rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      margin-bottom: 0.35rem;
      font-weight: 500;
      line-height: 1.2;
    }

    .widget-action-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.25rem;
      background: #ffffff;
      color: #000000 !important;
      font-size: 0.64rem;
      font-weight: 700;
      padding: 0.25rem 0.65rem;
      border-radius: 9999px;
      text-decoration: none !important;
      border: none;
      cursor: pointer;
      width: fit-content;
      transition: all 0.15s ease;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    }

    .widget-action-pill:hover {
      background: #e4e4e7;
      transform: scale(1.03);
    }

    /* ═══════════════════════════════════════════════════════════
       CUSTOM HAUNT DROPDOWN SELECT MENUS (ZERO OS BLUE BARS)
       ═══════════════════════════════════════════════════════════ */
    .gl-card {
      position: relative;
      z-index: 1;
    }
    .gl-card.has-open-select,
    .gl-card:has(.haunt-custom-select-wrap.open),
    .gl-card:focus-within {
      position: relative !important;
      z-index: 99999 !important;
    }

    .gl-form-group.has-open-select,
    .gl-form-group:has(.haunt-custom-select-wrap.open) {
      position: relative !important;
      z-index: 99999 !important;
    }

    .haunt-custom-select-wrap {
      position: relative;
      width: 100%;
      user-select: none;
    }

    .haunt-custom-select-wrap.open {
      z-index: 99999 !important;
    }

    .haunt-custom-select-trigger {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
      width: 100%;
      box-sizing: border-box;
      background: #14131c;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 12px;
      padding: 0.65rem 0.95rem;
      color: #ffffff;
      font-size: 0.8rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.18s ease;
      min-height: 42px;
    }

    .haunt-custom-select-trigger:hover,
    .haunt-custom-select-wrap.open .haunt-custom-select-trigger {
      border-color: rgba(255, 255, 255, 0.25);
      background: #1a1924;
    }

    .haunt-custom-select-trigger .select-arrow {
      transition: transform 0.2s ease;
      color: #a1a1aa;
      flex-shrink: 0;
    }

    .haunt-custom-select-wrap.open .select-arrow {
      transform: rotate(180deg);
      color: #ffffff;
    }

    .haunt-custom-select-menu {
      display: none;
      position: absolute;
      top: calc(100% + 6px);
      left: 0;
      right: 0;
      background: #121118;
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 14px;
      padding: 0.45rem;
      z-index: 10000 !important;
      box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85);
      max-height: 240px;
      overflow-y: auto;
      scrollbar-width: thin;
      scrollbar-color: rgba(255,255,255,0.2) transparent;
    }

    .haunt-custom-select-wrap.open .haunt-custom-select-menu {
      display: block;
      animation: hauntMenuFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @keyframes hauntMenuFadeIn {
      from { opacity: 0; transform: translateY(-4px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .haunt-custom-select-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
      padding: 0.6rem 0.85rem;
      border-radius: 8px;
      color: #cbd5e1;
      font-size: 0.78rem;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.12s ease;
    }

    .haunt-custom-select-item:hover {
      background: rgba(255, 255, 255, 0.08);
      color: #ffffff;
    }

    .haunt-custom-select-item.selected {
      background: rgba(255, 255, 255, 0.12);
      color: #ffffff;
      font-weight: 700;
    }

    .haunt-custom-select-item .check-icon {
      font-size: 0.75rem;
      color: #ffffff;
      font-weight: 800;
    }

    /* ═══════════════════════════════════════════════════════════
       FLOATING SAVE CHANGES OVERLAY BAR (HAUNT / DISCORD STYLE)
       ═══════════════════════════════════════════════════════════ */
    .floating-save-overlay {
      position: fixed;
      bottom: 24px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 99999;
      animation: floatingBarSlideUp 0.28s cubic-bezier(0.16, 1, 0.3, 1);
      pointer-events: auto;
      max-width: 90vw;
    }

    @keyframes floatingBarSlideUp {
      from { opacity: 0; transform: translateX(-50%) translateY(25px); }
      to { opacity: 1; transform: translateX(-50%) translateY(0); }
    }

    .floating-save-content {
      background: rgba(14, 14, 20, 0.94);
      border: 1px solid rgba(255, 255, 255, 0.16);
      backdrop-filter: blur(28px);
      -webkit-backdrop-filter: blur(28px);
      border-radius: 16px;
      padding: 0.65rem 1.15rem;
      display: flex;
      align-items: center;
      gap: 1.25rem;
      box-shadow: 0 16px 45px rgba(0, 0, 0, 0.9), 0 0 35px rgba(255, 255, 255, 0.05);
    }

    .floating-save-info {
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }

    .floating-save-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #eab308;
      box-shadow: 0 0 10px #eab308;
      animation: saveDotPulse 2s infinite ease-in-out;
      flex-shrink: 0;
    }

    @keyframes saveDotPulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.45; transform: scale(0.85); }
    }

    .floating-save-title {
      font-size: 0.8rem;
      font-weight: 700;
      color: #ffffff;
      white-space: nowrap;
    }

    .floating-save-actions {
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }

    .floating-save-discard-btn {
      background: transparent;
      border: none;
      color: #a1a1aa;
      font-size: 0.78rem;
      font-weight: 600;
      cursor: pointer;
      padding: 0.45rem 0.75rem;
      border-radius: 8px;
      transition: all 0.15s ease;
    }

    .floating-save-discard-btn:hover {
      color: #ffffff;
      background: rgba(255, 255, 255, 0.08);
    }

    .floating-save-btn {
      background: #ffffff;
      color: #09090b;
      border: none;
      border-radius: 10px;
      padding: 0.52rem 1.1rem;
      font-size: 0.78rem;
      font-weight: 800;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      box-shadow: 0 4px 18px rgba(255, 255, 255, 0.25);
      transition: all 0.18s ease;
      white-space: nowrap;
    }

    .floating-save-btn:hover {
      background: #e4e4e7;
      transform: translateY(-1px);
      box-shadow: 0 6px 22px rgba(255, 255, 255, 0.35);
    }

    /* ═══════════════════════════════════════════════════════════
       MODO BÁSICO VS AVANZADO & COLOR PICKER CUSTOM STYLES
       ═══════════════════════════════════════════════════════════ */
    .gl-mode-switcher {
      display: inline-flex;
      align-items: center;
      background: rgba(18, 17, 24, 0.85);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 12px;
      padding: 0.25rem;
      gap: 0.3rem;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    }
    .gl-mode-btn {
      background: transparent;
      border: 1px solid transparent;
      border-radius: 9px;
      color: #a1a1aa;
      padding: 0.42rem 0.95rem;
      font-size: 0.76rem;
      font-weight: 700;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      user-select: none;
    }
    .gl-mode-btn:hover {
      color: #fff;
      background: rgba(255, 255, 255, 0.05);
    }
    .gl-mode-btn.active {
      background: rgba(255, 255, 255, 0.14) !important;
      border-color: rgba(255, 255, 255, 0.25) !important;
      color: #ffffff !important;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }
    .gl-color-trigger {
      display: inline-flex;
      align-items: center;
      gap: 0.55rem;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 10px;
      padding: 0.35rem 0.75rem;
      cursor: pointer;
      transition: all 0.2s ease;
      user-select: none;
    }
    .gl-color-trigger:hover {
      background: rgba(255, 255, 255, 0.12);
      border-color: rgba(255, 255, 255, 0.25);
    }
    .gl-color-dot {
      width: 16px;
      height: 16px;
      border-radius: 50%;
      border: 2px solid rgba(255, 255, 255, 0.5);
      box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
      flex-shrink: 0;
      transition: background-color 0.2s ease, box-shadow 0.2s ease;
    }
    .gl-color-swatch {
      width: 26px;
      height: 26px;
      border-radius: 50%;
      border: 2px solid transparent;
      cursor: pointer;
      transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
      position: relative;
      flex-shrink: 0;
    }
    .gl-color-swatch:hover {
      transform: scale(1.18);
    }
    .gl-color-swatch.active {
      border-color: #ffffff !important;
      transform: scale(1.12);
      box-shadow: 0 0 12px currentColor;
    }
    .gl-slider-row {
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: 12px;
      padding: 0.85rem 1rem;
    }
    .gl-range-slider {
      -webkit-appearance: none;
      appearance: none;
      width: 100%;
      height: 6px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.12);
      outline: none;
      cursor: pointer;
      margin: 0.35rem 0;
      touch-action: none;
      pointer-events: auto;
    }
    .gl-range-slider::-webkit-slider-thumb {
      -webkit-appearance: none;
      appearance: none;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: #ffffff;
      border: 2px solid #09090b;
      box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
      cursor: pointer;
      transition: transform 0.15s ease;
    }
    .gl-range-slider::-moz-range-thumb {
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: #ffffff;
      border: 2px solid #09090b;
      box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
      cursor: pointer;
    }
    .gl-range-slider::-webkit-slider-thumb:hover {
      transform: scale(1.22);
    }

    /* ═══════════════════════════════════════════════════════════
       CANVAS VISUAL INTERACTIVO EN TIEMPO REAL (MODO AVANZADO)
       ═══════════════════════════════════════════════════════════ */
    .canvas-workspace-grid {
      display: grid;
      grid-template-columns: minmax(360px, 1.15fr) minmax(340px, 1fr);
      gap: 1.5rem;
      align-items: start;
    }
    @media (max-width: 992px) {
      .canvas-workspace-grid {
        grid-template-columns: 1fr;
      }
    }
    .canvas-viewport {
      background: radial-gradient(circle at 50% 20%, rgba(25, 23, 36, 0.95), #09090d);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 20px;
      padding: 2.2rem 1.4rem;
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      min-height: 580px;
      box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.8), 0 10px 40px rgba(0, 0, 0, 0.5);
    }
    .canvas-viewport-topbar {
      position: absolute;
      top: 1rem;
      left: 1.2rem;
      right: 1.2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      z-index: 10;
      pointer-events: auto;
    }
    .canvas-live-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      background: rgba(16, 185, 129, 0.12);
      border: 1px solid rgba(16, 185, 129, 0.3);
      border-radius: 999px;
      padding: 0.2rem 0.65rem;
      font-size: 0.68rem;
      font-weight: 800;
      color: #34d399;
      letter-spacing: 0.05em;
    }
    .canvas-live-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #10b981;
      box-shadow: 0 0 8px #10b981;
      animation: pulseLive 1.5s infinite;
    }
    @keyframes pulseLive {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.4; transform: scale(0.85); }
    }
    .canvas-card-wrapper {
      position: relative;
      width: 100%;
      max-width: 440px;
      margin: auto;
      z-index: 5;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .canvas-module {
      position: relative;
      border-radius: 12px;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      cursor: grab;
      user-select: none;
      -webkit-user-select: none;
    }
    .canvas-module:active {
      cursor: grabbing;
    }
    .canvas-module img {
      -webkit-user-drag: none !important;
      user-drag: none !important;
      pointer-events: none !important;
    }
    .canvas-module:hover {
      outline: 1.5px dashed rgba(59, 130, 246, 0.75);
      outline-offset: 3px;
      background: rgba(59, 130, 246, 0.04);
    }
    .canvas-module.selected {
      outline: 2px solid #3b82f6 !important;
      outline-offset: 3px !important;
      background: rgba(59, 130, 246, 0.08) !important;
      box-shadow: 0 0 20px rgba(59, 130, 246, 0.3) !important;
    }
    .canvas-module.canvas-module-dragging {
      opacity: 0.45 !important;
      transform: scale(0.97);
      outline: 2px dashed rgba(59, 130, 246, 0.9) !important;
      outline-offset: 3px;
    }
    .canvas-module.canvas-drag-over-top {
      border-top: 3px solid #3b82f6 !important;
      transform: translateY(2px);
    }
    .canvas-module.canvas-drag-over-bottom {
      border-bottom: 3px solid #3b82f6 !important;
      transform: translateY(-2px);
    }
    .canvas-module-tag {
      position: absolute;
      top: -10px;
      right: 8px;
      background: #3b82f6;
      color: #fff;
      font-size: 0.58rem;
      font-weight: 800;
      padding: 0.15rem 0.45rem;
      border-radius: 4px;
      display: none;
      z-index: 20;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    }
    .canvas-module:hover .canvas-module-tag,
    .canvas-module.selected .canvas-module-tag {
      display: block;
    }

    @keyframes spinAudioVinyl {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }
    .spin-anim {
      animation: spinAudioVinyl 3.5s linear infinite;
    }

    /* Canvas Audio Player Card (1:1 con Guns.lol Biolink) */
    .audio-player-card {
      width: 100%;
      background: rgba(0, 0, 0, 0.4);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 16px;
      padding: 0.75rem 1rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 0.85rem;
      transition: border-color 0.2s;
      box-sizing: border-box;
    }
    .audio-player-card:hover {
      border-color: rgba(255, 255, 255, 0.16);
    }
    .audio-left {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      text-align: left;
    }
    .audio-play-btn {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background: #ffffff;
      color: #09090b;
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: transform 0.2s, background 0.2s;
      flex-shrink: 0;
    }
    .audio-title {
      font-size: 0.8rem;
      font-weight: 800;
      color: #fff;
      letter-spacing: -0.01em;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 220px;
    }
    .audio-sub {
      font-size: 0.65rem;
      color: #777;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }
    .equalizer {
      display: flex;
      align-items: flex-end;
      gap: 2.5px;
      height: 18px;
      padding: 0 0.4rem;
    }
    .eq-bar {
      width: 3px;
      background: var(--accent, #3b82f6);
      border-radius: 2px;
      height: 4px;
      transition: height 0.2s ease;
    }
    .equalizer.playing .eq-bar:nth-child(1) { animation: canvasEqAnim 0.7s infinite alternate ease-in-out; }
    .equalizer.playing .eq-bar:nth-child(2) { animation: canvasEqAnim 0.5s infinite alternate ease-in-out 0.15s; }
    .equalizer.playing .eq-bar:nth-child(3) { animation: canvasEqAnim 0.8s infinite alternate ease-in-out 0.3s; }
    .equalizer.playing .eq-bar:nth-child(4) { animation: canvasEqAnim 0.6s infinite alternate ease-in-out 0.45s; }
    @keyframes canvasEqAnim {
      0% { height: 4px; }
      100% { height: 18px; }
    }
    .canvas-inspector-card {
      background: rgba(18, 17, 24, 0.95);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 18px;
      padding: 1.4rem;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      position: sticky;
      top: 1.5rem;
    }
    .canvas-quick-tabs {
      display: flex;
      gap: 0.3rem;
      overflow-x: auto;
      scrollbar-width: none;
      padding-bottom: 0.6rem;
      margin-bottom: 1rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .canvas-quick-tabs::-webkit-scrollbar { display: none; }
    .canvas-quick-tab {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 8px;
      color: #a1a1aa;
      padding: 0.35rem 0.75rem;
      font-size: 0.72rem;
      font-weight: 700;
      cursor: pointer;
      white-space: nowrap;
      transition: all 0.15s ease;
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
    }
    .canvas-quick-tab:hover {
      background: rgba(255, 255, 255, 0.08);
      color: #fff;
    }
    .canvas-quick-tab.active {
      background: #ffffff !important;
      border-color: #ffffff !important;
      color: #09090b !important;
      font-weight: 800;
      box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2);
    }

    /* ═══════════════════════════════════════════════════════════
       ESTUDIO EN VIVO PANTALLA COMPLETA (INMERSIVO 1:1)
       ═══════════════════════════════════════════════════════════ */
    .fs-studio-container {
      position: fixed;
      inset: 0;
      width: 100vw;
      height: 100vh;
      z-index: 999999;
      background: #09090d;
      display: flex;
      overflow: hidden;
      user-select: none;
    }
    .fs-studio-bg-media {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
      pointer-events: none;
      overflow: hidden;
    }
    .fs-studio-bg-media video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 1;
    }
    .fs-studio-bg-media div {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      z-index: 1;
    }
    .fs-studio-overlay {
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at center, rgba(6, 6, 8, 0.45) 0%, rgba(6, 6, 8, 0.88) 100%);
      z-index: 2;
      pointer-events: none;
    }
    .fs-studio-canvas-area {
      position: relative;
      flex: 1;
      height: 100%;
      min-height: 100%;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 5rem 1.5rem 3.5rem;
      z-index: 10;
      margin-right: 400px;
      transition: margin-right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      scrollbar-width: thin;
      box-sizing: border-box;
    }
    .fs-studio-canvas-area.full-view {
      margin-right: 0 !important;
    }
    .fs-studio-topbar {
      position: fixed;
      top: 1rem;
      left: 1.5rem;
      right: 1.5rem;
      z-index: 100;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: rgba(14, 14, 20, 0.85);
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 16px;
      padding: 0.6rem 1.1rem;
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
    }
    .fs-top-btn {
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 10px;
      padding: 0.45rem 0.95rem;
      font-size: 0.75rem;
      font-weight: 700;
      color: #fff;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      cursor: pointer;
      transition: all 0.2s ease;
      white-space: nowrap;
    }
    .fs-top-btn:hover {
      background: rgba(255, 255, 255, 0.12);
      border-color: rgba(255, 255, 255, 0.22);
    }
    .fs-btn-back {
      color: #cbd5e1;
    }
    .fs-btn-save {
      background: #ffffff !important;
      color: #09090b !important;
      font-weight: 800;
      border-color: #ffffff !important;
      box-shadow: 0 0 20px rgba(255, 255, 255, 0.35);
    }
    .fs-btn-save:hover {
      transform: translateY(-1px);
      box-shadow: 0 0 25px rgba(255, 255, 255, 0.55);
    }
    .fs-live-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      background: rgba(239, 68, 68, 0.15);
      border: 1px solid rgba(239, 68, 68, 0.35);
      padding: 0.35rem 0.8rem;
      border-radius: 999px;
      font-size: 0.72rem;
      font-weight: 800;
      color: #fca5a5;
      letter-spacing: 0.03em;
    }
    .fs-live-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: #ef4444;
      box-shadow: 0 0 10px #ef4444;
      animation: pulseLive 1.5s infinite;
    }
    .fs-studio-dock {
      position: fixed;
      top: 5rem;
      right: 1.5rem;
      bottom: 1.5rem;
      width: 380px;
      max-width: 90vw;
      background: rgba(14, 14, 20, 0.9);
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: 20px;
      backdrop-filter: blur(28px);
      -webkit-backdrop-filter: blur(28px);
      box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 40px rgba(255, 255, 255, 0.03);
      z-index: 90;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    }
    .fs-studio-dock.collapsed {
      transform: translateX(calc(100% + 2rem));
      pointer-events: none;
      opacity: 0;
    }
    .fs-studio-dock-body {
      flex: 1;
      overflow-y: auto;
      padding: 1.25rem 1.4rem;
      scrollbar-width: thin;
    }
    .fs-dock-nav-grid {
      display: flex !important;
      flex-wrap: nowrap !important;
      overflow-x: auto !important;
      -webkit-overflow-scrolling: touch !important;
      gap: 0.45rem !important;
      padding: 0.65rem 0.9rem !important;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
      background: rgba(0, 0, 0, 0.32) !important;
      box-sizing: border-box !important;
      scrollbar-width: none !important;
    }
    .fs-dock-nav-grid::-webkit-scrollbar {
      display: none !important;
    }
    .fs-dock-nav-btn {
      width: auto !important;
      display: flex !important;
      flex-direction: row !important;
      align-items: center !important;
      justify-content: center !important;
      gap: 0.35rem !important;
      padding: 0.42rem 0.85rem !important;
      background: rgba(255, 255, 255, 0.04) !important;
      border: 1px solid rgba(255, 255, 255, 0.08) !important;
      border-radius: 999px !important;
      color: #a1a1aa !important;
      font-size: 0.73rem !important;
      font-weight: 700 !important;
      white-space: nowrap !important;
      cursor: pointer;
      transition: all 0.16s ease !important;
      user-select: none;
      box-sizing: border-box !important;
      flex-shrink: 0 !important;
    }
    .fs-dock-nav-btn:hover {
      background: rgba(255, 255, 255, 0.1) !important;
      color: #ffffff !important;
      border-color: rgba(255, 255, 255, 0.2) !important;
    }
    .fs-dock-nav-btn.active {
      background: #ffffff !important;
      color: #09090b !important;
      border-color: #ffffff !important;
      font-weight: 800 !important;
      box-shadow: 0 4px 14px rgba(255, 255, 255, 0.28) !important;
    }
    .haunt-avatar-wrapper {
      position: relative !important;
      width: 96px;
      height: 96px;
      flex-shrink: 0;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      overflow: visible !important;
    }
    #hauntDecoActiveImg {
      position: absolute !important;
      top: 50% !important;
      left: 50% !important;
      width: 120% !important;
      height: 120% !important;
      max-width: none !important;
      max-height: none !important;
      transform: translate(-50%, -50%) !important;
      pointer-events: none !important;
      z-index: 10 !important;
      object-fit: contain !important;
    }
    #canvasAvatarWrap {
      position: relative !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
    }
    #canvasDecoImg,
    .gunslol-avatar-wrap .haunt-decoration-img {
      position: absolute !important;
      top: 50% !important;
      left: 50% !important;
      width: 124% !important;
      height: 124% !important;
      max-width: none !important;
      max-height: none !important;
      transform: translate(-50%, -50%) !important;
      pointer-events: none !important;
      z-index: 10 !important;
      object-fit: contain !important;
    }
    @media (max-width: 1024px) {
      .fs-studio-canvas-area {
        margin-right: 0;
        padding-bottom: 340px;
      }
      .fs-studio-dock {
        top: auto;
        bottom: 0.75rem;
        right: 0.75rem;
        left: 0.75rem;
        width: auto;
        max-width: none;
        height: 320px;
      }
    }

    /* ═══════════════════════════════════════════════════════════
       MODULAR BLOCKS DRAG & DROP & DISCORD WIDGET POLISH
       ═══════════════════════════════════════════════════════════ */
    .gl-codeblock-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.85rem;
      padding: 0.75rem 1rem;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 12px;
      margin-bottom: 0.5rem;
      transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
      user-select: none;
      cursor: grab;
      position: relative;
    }
    .gl-codeblock-item:hover {
      background: rgba(255, 255, 255, 0.06);
      border-color: rgba(255, 255, 255, 0.16);
    }
    .gl-codeblock-item.dragging {
      opacity: 0.45;
      cursor: grabbing;
      transform: scale(0.98);
      border-color: #6366f1 !important;
      box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
    }
    .gl-codeblock-item.drag-over {
      border-color: #6366f1 !important;
      background: rgba(99, 102, 241, 0.14) !important;
      box-shadow: 0 0 16px rgba(99, 102, 241, 0.35);
      transform: translateY(-2px);
    }
    .drag-handle-grip {
      display: flex;
      align-items: center;
      justify-content: center;
      color: #71717a;
      cursor: grab;
      padding: 0.25rem 0.35rem;
      border-radius: 6px;
      transition: color 0.2s, background 0.2s;
    }
    .drag-handle-grip:hover {
      color: #fff;
      background: rgba(255, 255, 255, 0.08);
    }

    /* Live Studio Discord Widget Centering & Structure */
    .discord-widget {
      width: 100%;
      box-sizing: border-box;
    }
    .discord-presence-status-dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background-color: #22c55e;
      border: 2px solid #0e0e14;
      box-sizing: border-box;
      flex-shrink: 0;
    }
    .discord-presence-status-dot.status-online { background-color: #22c55e !important; }
    .discord-presence-status-dot.status-idle { background-color: #f59e0b !important; }
    .discord-presence-status-dot.status-dnd { background-color: #ef4444 !important; }
    .discord-presence-status-dot.status-offline { background-color: #71717a !important; }

    /* Free Module Positioning (Left, Center, Right & Nudge X) */
    .canvas-floating-pos-bar {
      position: absolute;
      z-index: 70;
      background: rgba(10, 11, 16, 0.94);
      border: 1px solid rgba(59, 130, 246, 0.55);
      border-radius: 999px;
      padding: 0.25rem 0.55rem;
      display: flex;
      align-items: center;
      gap: 0.25rem;
      box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 15px rgba(59,130,246,0.3);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      transition: opacity 0.15s ease, transform 0.15s ease;
      pointer-events: auto;
    }
    .btn-pos-quick {
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 999px;
      color: #e2e8f0;
      font-size: 0.65rem;
      font-weight: 700;
      padding: 0.22rem 0.5rem;
      cursor: pointer;
      transition: all 0.12s ease;
      display: inline-flex;
      align-items: center;
      gap: 0.2rem;
      white-space: nowrap;
    }
    .btn-pos-quick:hover {
      background: rgba(59, 130, 246, 0.25);
      border-color: #3b82f6;
      color: #fff;
    }
    .btn-pos-quick.active {
      background: #3b82f6 !important;
      border-color: #3b82f6 !important;
      color: #fff !important;
      box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    }
    .btn-align-pill {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 8px;
      color: #cbd5e1;
      font-size: 0.72rem;
      font-weight: 700;
      padding: 0.42rem 0.5rem;
      cursor: pointer;
      transition: all 0.15s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.3rem;
    }
    .btn-align-pill:hover {
      background: rgba(59, 130, 246, 0.15);
      border-color: rgba(59, 130, 246, 0.4);
      color: #fff;
    }
    .btn-align-pill.active {
      background: #3b82f6 !important;
      border-color: #3b82f6 !important;
      color: #fff !important;
      box-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
    }
    .btn-nudge-pill {
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 6px;
      color: #cbd5e1;
      font-size: 0.68rem;
      font-weight: 800;
      padding: 0.3rem 0.55rem;
      cursor: pointer;
      transition: all 0.15s ease;
      flex-shrink: 0;
    }
    .btn-nudge-pill:hover {
      background: rgba(255, 255, 255, 0.15);
      color: #fff;
    }

    /* ═══════════════════════════════════════════════════════════
       AUTHENTIC GUNS.LOL / HAUNT INTEGRATED LIVE PREVIEW LAYOUT
       ═══════════════════════════════════════════════════════════ */
    .bio-studio-workspace {
      display: block !important;
      position: relative;
      width: 100%;
    }

    .bio-studio-editor-col {
      display: none !important;
    }

    .bio-studio-preview-col {
      position: relative;
      width: 100%;
      max-width: 100% !important;
      z-index: 20;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .bio-preview-stage {
      position: relative;
      border-radius: 28px;
      overflow: hidden;
      min-height: 840px;
      max-height: calc(100vh - 80px);
      width: 100%;
      overflow-y: auto;
      scrollbar-width: thin;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 3rem 1.8rem 2.5rem;
      background: #08080a;
      border: 1px solid rgba(255, 255, 255, 0.12);
      box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 255, 255, 0.02);
      box-sizing: border-box;
      transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* Fullscreen / Full-Size Expanded Mode */
    .bio-preview-stage.stage-expanded {
      position: fixed !important;
      inset: 24px !important;
      z-index: 99999 !important;
      width: auto !important;
      max-width: none !important;
      min-height: 0 !important;
      max-height: none !important;
      border-radius: 24px !important;
      border: 1px solid rgba(255, 255, 255, 0.2) !important;
      box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.88), 0 40px 100px rgba(0, 0, 0, 0.95) !important;
      padding: 3.5rem 2rem !important;
    }

    .bio-preview-stage-bg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 1;
      overflow: hidden;
    }
    .bio-preview-stage-bg video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 1;
    }
    .bio-preview-stage-bg div {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      z-index: 1;
    }
    .bio-preview-stage-overlay {
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.38);
      backdrop-filter: blur(1px);
      -webkit-backdrop-filter: blur(1px);
      z-index: 2;
    }

    .bio-preview-floating-pill {
      position: absolute;
      top: 14px;
      right: 14px;
      z-index: 15;
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      padding: 0.35rem 0.75rem;
      background: rgba(10, 10, 14, 0.65);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 999px;
      color: #e4e4e7;
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.02em;
      text-decoration: none;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    }
    .bio-preview-floating-pill:hover {
      background: rgba(255, 255, 255, 0.18);
      color: #ffffff;
      border-color: rgba(255, 255, 255, 0.3);
      transform: translateY(-1px);
    }

    @media (max-width: 1160px) {
      .bio-studio-workspace {
        grid-template-columns: 1fr;
      }
      .bio-studio-preview-col {
        position: static;
        width: 100%;
        margin-bottom: 2rem;
      }
      .bio-preview-stage {
        min-height: 520px;
        max-height: 600px;
      }
    }


/* ═══════════════════════════════════════════════════════════
   AUTHENTIC GUNS.LOL PLANTILLAS / COMMUNITY TEMPLATES GALLERY
   ═══════════════════════════════════════════════════════════ */
.templates-hero-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.6rem 2rem;
  background: linear-gradient(135deg, rgba(22, 22, 29, 0.95) 0%, rgba(13, 13, 17, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.templates-hero-left {
  flex: 1;
  min-width: 280px;
}
.templates-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #c084fc;
  background: rgba(192, 132, 252, 0.12);
  border: 1px solid rgba(192, 132, 252, 0.25);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}
.templates-hero-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 0.35rem 0;
  letter-spacing: -0.02em;
}
.templates-hero-subtitle {
  font-size: 0.82rem;
  color: #a1a1aa;
  margin: 0;
  line-height: 1.5;
}
.btn-create-template {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, #9333ea 0%, #7c3aed 100%);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.6rem;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(147, 51, 234, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-create-template:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(147, 51, 234, 0.5);
  filter: brightness(1.1);
}

.templates-filters-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
  scrollbar-width: none;
}
.templates-filter-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.template-pill-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #a1a1aa;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.template-pill-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
}
.template-pill-btn.active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.templates-search-sort-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.templates-search-box {
  flex: 1;
  min-width: 260px;
  position: relative;
  display: flex;
  align-items: center;
}
.templates-search-box svg {
  position: absolute;
  left: 1rem;
  pointer-events: none;
}
.templates-search-box input {
  width: 100%;
  background: #0d0d11;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.templates-search-box input:focus {
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}
.templates-sort-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #0d0d11;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  color: #cbd5e1;
}
.templates-sort-dropdown-btn select {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  outline: none;
  cursor: pointer;
}
.templates-sort-dropdown-btn select option {
  background: #14141a;
  color: #ffffff;
}

.templates-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
@media (max-width: 1100px) {
  .templates-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .templates-cards-grid {
    grid-template-columns: 1fr;
  }
}

.gl-template-card {
  background: #0e0e13;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.gl-template-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.65);
}
.gl-template-thumb {
  position: relative;
  width: 100%;
  height: 180px;
  background: #070709;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gl-template-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(14,14,19,0.9) 100%);
  pointer-events: none;
}
.gl-template-star-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s ease;
}
.gl-template-star-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}
.gl-template-star-btn.starred svg {
  fill: #eab308 !important;
  stroke: #eab308 !important;
  filter: drop-shadow(0 0 6px rgba(234, 179, 8, 0.6));
}

.gl-template-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}
.gl-template-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.gl-template-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1c1c24;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  overflow: hidden;
  flex-shrink: 0;
}
.gl-template-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gl-template-info {
  flex: 1;
  min-width: 0;
}
.gl-template-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gl-template-author {
  font-size: 0.72rem;
  color: #71717a;
  font-weight: 600;
}
.gl-template-stats {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  color: #a1a1aa;
}
.gl-stat-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.gl-stat-trend {
  color: #c084fc;
}
.gl-template-tags {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.gl-tag-pill {
  font-size: 0.65rem;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
}
.gl-template-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
}
.gl-btn-use-template {
  flex: 1;
  background: #3b1d54;
  color: #e9d5ff;
  border: 1px solid rgba(168, 85, 247, 0.35);
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.6rem 1rem;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}
.gl-btn-use-template:hover {
  background: #581c87;
  color: #ffffff;
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}
.gl-btn-icon-action {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #a1a1aa;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.gl-btn-icon-action:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

/* ═══════════════════════════════════════════════════════════
   FULL-STAGE LIVE PROFILE STUDIO (UNIFIED SINGLE LIVE EDITOR)
   ═══════════════════════════════════════════════════════════ */
.full-stage-workspace {
  position: relative !important;
  width: 100% !important;
  display: block !important;
  margin-top: 1rem;
}
.full-stage-preview {
  position: relative;
  width: 100% !important;
  min-height: 840px !important;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem !important;
  background: #08080a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
}
.live-studio-dock {
  position: absolute;
  top: 20px;
  left: 20px;
  bottom: 20px;
  width: 440px;
  max-width: calc(100% - 30px);
  z-index: 25;
  background: rgba(14, 14, 19, 0.92);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}
.live-studio-dock.dock-hidden {
  transform: translateX(calc(-100% - 40px));
  opacity: 0;
  pointer-events: none;
}
.dock-header {
  padding: 1rem 1.25rem 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.dock-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dock-nav-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.85rem;
  background: rgba(0, 0, 0, 0.42);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.dock-tab-btn {
  flex: 1 1 calc(25% - 0.35rem);
  min-width: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #a1a1aa;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.01em;
  padding: 0.42rem 0.4rem;
  border-radius: 9px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.dock-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.15);
}
.dock-tab-btn.active {
  color: #ffffff;
  background: rgba(168, 85, 247, 0.28);
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 2px 10px rgba(168, 85, 247, 0.3);
}

/* Reopen Floating Button when Dock is hidden */
.floating-studio-reopen-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.15rem;
  background: rgba(15, 15, 22, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.floating-studio-reopen-btn:hover {
  background: rgba(24, 24, 34, 0.95);
  border-color: rgba(168, 85, 247, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(168, 85, 247, 0.35);
}

/* Floating Fullscreen button on stage */
.stage-floating-fs-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  background: rgba(15, 15, 20, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #e4e4e7;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.stage-floating-fs-btn:hover {
  color: #ffffff;
  background: rgba(25, 25, 35, 0.9);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

/* Fullscreen Mode Styles */
#bioLivePreviewStage:fullscreen,
#bioLivePreviewStage:-webkit-full-screen,
#bioLivePreviewStage.is-fullscreen-stage {
  width: 100vw !important;
  height: 100vh !important;
  min-height: 100vh !important;
  max-height: 100vh !important;
  border-radius: 0 !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
}

/* Interactive Canvas Drag & Move Styles */
.canvas-draggable-module {
  position: relative;
  transition: outline 0.15s ease, box-shadow 0.15s ease;
  cursor: grab !important;
  border-radius: 10px;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.canvas-draggable-module:hover {
  outline: 1.5px dashed rgba(168, 85, 247, 0.45);
  outline-offset: 3px;
}
.canvas-draggable-module.module-selected {
  outline: 2px solid #a855f7 !important;
  outline-offset: 3px;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.35);
}
.canvas-draggable-module.is-dragging-module {
  cursor: grabbing !important;
  outline: 2px solid #c084fc !important;
  outline-offset: 4px;
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.55);
  opacity: 0.95;
  z-index: 50;
}
.dock-scroll-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}
.dock-control-group {
  margin-bottom: 1.25rem;
}
.dock-control-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #e4e4e7;
  margin-bottom: 0.5rem;
}
.dock-val-pill {
  font-size: 0.68rem;
  font-weight: 800;
  color: #a1a1aa;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  font-family: monospace;
}
.btn-toggle-floating-dock {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 30;
  background: rgba(14, 14, 19, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.45rem 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  transition: all 0.2s ease;
}
.btn-toggle-floating-dock:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}
