:root {
      --accent: #ffffff;
      --accent-glow: rgba(255, 255, 255, 0.12);
      --bg: #09090b;
      --card-bg: rgba(18, 18, 22, 0.72);
      --card-border: rgba(255, 255, 255, 0.08);
      --card-border-hover: rgba(255, 255, 255, 0.18);
      --text: #ffffff;
      --text-muted: #88888e;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      -webkit-font-smoothing: antialiased;
    }

    body {
      background-color: var(--bg);
      color: var(--text);
      font-family: 'Plus Jakarta Sans', sans-serif;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow-x: hidden;
      position: relative;
      padding: 2rem 1rem;
    }

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

    /* Ambient Glow Behind Card */
    .ambient-glow {
      position: fixed;
      width: 600px;
      height: 600px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      filter: blur(80px);
      z-index: 1;
      pointer-events: none;
      transition: background 0.5s ease;
    }

    /* Click to Enter Overlay (Guns.lol iconic feature) */
    #enterOverlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(8, 8, 10, 0.94);
      backdrop-filter: blur(25px);
      -webkit-backdrop-filter: blur(25px);
      z-index: 1000000;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      user-select: none;
      -webkit-user-select: none;
      transition: opacity 0.4s ease, visibility 0.4s ease;
    }

    #enterOverlay.hidden {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
    }

    .enter-text {
      font-size: 0.95rem;
      font-weight: 800;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: #fff;
      animation: pulseEnter 2s infinite ease-in-out;
      display: flex;
      align-items: center;
      gap: 0.6rem;
      pointer-events: none;
    }

    @keyframes pulseEnter {
      0%, 100% { opacity: 0.45; transform: scale(0.98); }
      50% { opacity: 1; transform: scale(1.02); filter: drop-shadow(0 0 12px rgba(255,255,255,0.4)); }
    }

    /* The Gunslol Card */
    .gunslol-container {
      position: relative;
      z-index: 10;
      width: 100%;
      max-width: var(--card-width, 440px);
      margin: auto;
      transform: scale(var(--card-scale, 1));
      transform-origin: center center;
      font-family: var(--bio-font, 'Plus Jakarta Sans', sans-serif);
      background: rgba(10, 10, 14, var(--card-opacity, 0.8));
      backdrop-filter: blur(var(--card-blur, 30px));
      -webkit-backdrop-filter: blur(var(--card-blur, 30px));
      border: 1px solid var(--card-border);
      border-radius: var(--card-radius, 28px) !important;
      overflow: hidden;
      box-shadow: 0 35px 100px rgba(0, 0, 0, 0.85), 0 0 40px rgba(255, 255, 255, 0.02);
      transition: transform 0.12s ease-out, border-color 0.3s ease, box-shadow 0.3s ease, max-width 0.2s ease;
      transform-style: preserve-3d;
      will-change: transform;
    }

    .gunslol-container,
    .gunslol-container *,
    .gunslol-container button,
    .gunslol-container input,
    .gunslol-container select,
    .gunslol-container textarea {
      font-family: var(--bio-font, 'Plus Jakarta Sans', sans-serif);
    }

    .gunslol-container.layout-borderless {
      border: none !important;
      box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85) !important;
    }
    .gunslol-container.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-container.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-container.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-container::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.12), transparent 75%);
      pointer-events: none;
      z-index: 10;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

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

    .gunslol-container:hover {
      border-color: var(--card-border-hover);
      box-shadow: 0 45px 120px rgba(0, 0, 0, 0.95), 0 0 60px var(--accent-glow);
    }

    /* Top Banner (Hidden by default, only shown when custom banner exists) */
    .card-banner {
      display: none;
      height: 165px;
      width: 100%;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      position: relative;
    }

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

    /* Content */
    .card-content {
      padding: 1.85rem 2rem 2rem;
      position: relative;
      margin-top: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    /* Avatar */
    .avatar-wrap {
      position: relative;
      width: var(--avatar-size, 104px);
      height: var(--avatar-size, 104px);
      margin: 0 auto 1rem;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      z-index: 2;
    }

    .avatar-wrap .haunt-decoration-img {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 120% !important;
      height: 120% !important;
      max-width: none !important;
      max-height: none !important;
      transform: translate(-50%, -50%) !important;
      pointer-events: none;
      z-index: 10;
      object-fit: contain;
    }

    .avatar-img {
      width: 100% !important;
      height: 100% !important;
      border-radius: 50% !important;
      object-fit: cover !important;
      box-sizing: border-box !important;
      border: 4px solid #101014;
      background: #18181c;
      box-shadow: 0 15px 35px rgba(0,0,0,0.8), 0 0 25px var(--accent-glow);
      display: block;
    }

    /* Presence dot on main avatar (matching authentic Discord layout) */
    .avatar-wrap .bio-avatar-status-dot {
      position: absolute !important;
      bottom: 2px;
      right: 2px;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: transparent;
      border: none !important;
      box-shadow: none !important;
      filter: none !important;
      z-index: 4;
      transition: background 0.25s ease;
    }

    /* Discord Status Dot Indicators (Widget & Main Avatar) - Authentic Discord Icons (Zero Glow / Shadow) */
    .status-online {
      background: url('/assets/icons/status/online.png') no-repeat center / contain !important;
      border: none !important;
      box-shadow: none !important;
      filter: none !important;
    }
    .status-idle {
      background: url('/assets/icons/status/inactive.png') no-repeat center / contain !important;
      border: none !important;
      box-shadow: none !important;
      filter: none !important;
    }
    .status-dnd {
      background: url('/assets/icons/status/busy.png') no-repeat center / contain !important;
      border: none !important;
      box-shadow: none !important;
      filter: none !important;
    }
    .status-dnd::after {
      display: none !important;
    }
    .status-offline {
      background: url('/assets/icons/status/offline.png') no-repeat center / contain !important;
      border: none !important;
      box-shadow: none !important;
      filter: none !important;
    }
    .status-offline::after {
      display: none !important;
    }

    .avatar-initial {
      width: 100% !important;
      height: 100% !important;
      border-radius: 50% !important;
      border: 4px solid #101014;
      background: linear-gradient(135deg, #1f1f28 0%, #111116 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: calc(var(--avatar-size, 104px) * 0.42);
      font-weight: 900;
      color: #fff;
      box-sizing: border-box;
      box-shadow: 0 15px 35px rgba(0,0,0,0.8), 0 0 25px var(--accent-glow);
    }

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

    /* User details */
    .user-name-row {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin-bottom: 0.4rem;
    }

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

    /* ── 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;
    }

    .verified-icon {
      display: none !important;
    }

    /* Guns.lol Authentic Badges Tray & Tooltip */
    .badges-wrapper {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.6rem;
      flex-wrap: wrap;
      margin-bottom: 1rem;
    }

    #badges.gunslol-badges-tray {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 6px 13px;
      border-radius: 25px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    }

    .user-info-col {
      position: relative;
      z-index: 25;
      overflow: visible !important;
    }

    .badge-item {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 10;
      width: var(--badge-size, 22px);
      height: var(--badge-size, 22px);
      flex-shrink: 0;
    }

    .badge-item:hover,
    .badge-item:focus-within {
      z-index: 9999999 !important;
    }

    .inline-badges-tray,
    .badges-wrapper {
      position: relative;
      z-index: 50;
      overflow: visible !important;
    }

    .inline-badges-tray:hover,
    .badges-wrapper:hover {
      z-index: 999999 !important;
    }

    .badge-item img, .badge-item svg {
      width: 100% !important;
      height: 100% !important;
      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.24);
      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% + 12px);
      left: 50%;
      transform: translateX(-50%) translateY(4px);
      background: #09090c !important;
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 255, 255, 0.25) !important;
      color: #ffffff !important;
      font-size: 0.72rem !important;
      font-weight: 800 !important;
      letter-spacing: 0.04em;
      padding: 0.38rem 0.85rem !important;
      border-radius: 8px !important;
      white-space: nowrap !important;
      pointer-events: none !important;
      opacity: 0;
      transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
      z-index: 99999999 !important;
      box-shadow: 0 14px 35px rgba(0, 0, 0, 0.95), 0 0 20px rgba(0, 0, 0, 0.85) !important;
      line-height: 1.25 !important;
      max-width: 220px;
    }

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

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

    /* 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;
    }

    .bio-pill.views {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      padding: 0.3rem 0.85rem;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 999px;
      font-size: 0.7rem;
      font-weight: 800;
      color: #888;
      backdrop-filter: blur(8px);
    }

    /* Bio Text Quote */
    .bio-quote {
      font-size: 0.88rem;
      color: #aaa;
      line-height: 1.55;
      font-style: italic;
      margin-bottom: 1.25rem;
      max-width: 420px;
      word-break: break-word;
    }

    /* Social Icons Row (Glassmorphism Icon-Only) */
    .socials-grid {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.75rem;
      flex-wrap: wrap;
      margin-bottom: 1.5rem;
      width: 100%;
    }

    .social-pill {
      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.35rem 0.55rem;
      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;
    }

    .social-pill svg {
      width: 22px;
      height: 22px;
      filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
      transition: transform 0.2s ease, filter 0.2s ease;
    }

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

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

    /* Guns.lol Iconic Audio / Song Bar */
    .audio-player-card {
      width: 100%;
      background: rgba(0, 0, 0, 0.4);
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: 16px;
      padding: 0.75rem 1rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 1.15rem;
      transition: border-color 0.2s;
      box-sizing: border-box;
    }

    .card-content > .audio-player-card:first-child {
      margin-top: 0.25rem;
      margin-bottom: 1.15rem;
    }

    .audio-player-card:hover {
      border-color: rgba(255, 255, 255, 0.14);
    }

    .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-play-btn:hover {
      transform: scale(1.06);
      background: #e4e4e7;
    }

    .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: 240px;
    }

    .audio-sub {
      font-size: 0.65rem;
      color: #777;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }

    /* Equalizer Bars */
    .equalizer {
      display: flex;
      align-items: flex-end;
      gap: 2.5px;
      height: 18px;
      padding: 0 0.4rem;
    }

    .eq-bar {
      width: 3px;
      background: var(--accent);
      border-radius: 2px;
      height: 4px;
      transition: height 0.2s ease;
    }

    .equalizer.playing .eq-bar:nth-child(1) { animation: eqAnim 0.7s infinite alternate ease-in-out; }
    .equalizer.playing .eq-bar:nth-child(2) { animation: eqAnim 0.5s infinite alternate ease-in-out 0.15s; }
    .equalizer.playing .eq-bar:nth-child(3) { animation: eqAnim 0.8s infinite alternate ease-in-out 0.3s; }
    .equalizer.playing .eq-bar:nth-child(4) { animation: eqAnim 0.6s infinite alternate ease-in-out 0.45s; }

    @keyframes eqAnim {
      0% { height: 4px; }
      100% { height: 18px; }
    }

    /* Action Buttons Row */
    .card-actions {
      display: flex;
      align-items: center;
      gap: 0.65rem;
      width: 100%;
      margin-top: 0.5rem;
    }

    .btn-action-primary {
      flex: 1;
      padding: 0.8rem 1rem;
      background: #ffffff;
      color: #080808;
      border-radius: 12px;
      font-size: 0.78rem;
      font-weight: 900;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.45rem;
      transition: all 0.2s;
    }

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

    .btn-action-share {
      width: 44px;
      height: 44px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 12px;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.2s;
      flex-shrink: 0;
    }

    .btn-action-share:hover {
      background: rgba(255, 255, 255, 0.12);
      border-color: rgba(255, 255, 255, 0.25);
    }

    /* Footer Guns.lol Branding - Moved to bottom-left corner */
    .gunslol-footer {
      display: none !important;
    }

    .bio-corner-brand {
      position: fixed;
      bottom: 16px;
      right: 18px;
      left: auto;
      z-index: 100;
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.72rem;
      color: rgba(255, 255, 255, 0.42);
      background: rgba(14, 14, 18, 0.65);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 999px;
      padding: 6px 14px;
      pointer-events: auto;
      transition: all 0.22s ease;
      user-select: none;
      box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
    }
    .bio-corner-brand:hover {
      color: rgba(255, 255, 255, 0.95);
      background: rgba(18, 18, 24, 0.9);
      border-color: rgba(255, 255, 255, 0.2);
      transform: translateY(-1px);
    }
    .bio-corner-brand a {
      color: inherit;
      text-decoration: none;
      font-weight: 500;
      transition: color 0.15s ease;
    }
    .bio-corner-brand a:hover {
      color: #ffffff;
    }
    .bio-corner-brand .corner-sep {
      opacity: 0.35;
      font-size: 0.6rem;
    }

    /* Toast */
    .bio-toast {
      position: fixed;
      bottom: 2rem;
      left: 50%;
      transform: translateX(-50%) translateY(20px);
      background: #ffffff;
      color: #000;
      padding: 0.65rem 1.25rem;
      border-radius: 999px;
      font-size: 0.75rem;
      font-weight: 800;
      letter-spacing: 0.02em;
      opacity: 0;
      visibility: hidden;
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
      z-index: 999999;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    }

    .bio-toast.show {
      opacity: 1;
      visibility: visible;
      transform: translateX(-50%) translateY(0);
    }

    /* Video Background (Guns.lol & Frail.lol) */
    .bio-bg-media {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      object-fit: cover;
      z-index: 0;
      pointer-events: none;
      transition: opacity 0.6s ease;
    }

    .bio-bg-overlay {
      position: fixed;
      inset: 0;
      background: radial-gradient(circle at center, rgba(6, 6, 8, 0.35) 0%, rgba(6, 6, 8, 0.82) 100%);
      z-index: 1;
      pointer-events: none;
    }

    /* Haunt.gg / Frail.lol CRT Scanline Aesthetic Overlay */
    .scanlines-overlay {
      position: fixed;
      inset: 0;
      background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.22) 50%);
      background-size: 100% 4px;
      z-index: 1;
      pointer-events: none;
      opacity: 0.35;
    }

    /* Discord Presence Widget */
    .discord-presence-box {
      width: 100%;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 16px;
      padding: 0.65rem 0.95rem;
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-bottom: 0.95rem;
      text-align: left;
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    }

    .discord-presence-avatar-wrap {
      position: relative;
      width: 36px;
      height: 36px;
      flex-shrink: 0;
    }

    .discord-presence-avatar-wrap img {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      object-fit: cover;
      border: 1.5px solid rgba(255, 255, 255, 0.15);
    }

    .discord-presence-status-dot {
      position: absolute;
      bottom: -1px;
      right: -1px;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: transparent;
      border: none !important;
      box-shadow: none !important;
      filter: none !important;
    }

    .discord-presence-info {
      overflow: hidden;
      flex: 1;
    }

    .discord-presence-user {
      font-size: 0.76rem;
      font-weight: 800;
      color: #fff;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .discord-presence-activity {
      font-size: 0.68rem;
      color: #aaa;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    /* Roblox Profile Widget Box */
    .roblox-widget-box {
      width: 100%;
      max-width: 380px;
      margin: 0.6rem auto 1rem;
      background: rgba(14, 14, 20, 0.6);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 14px;
      padding: 0.65rem 0.9rem;
      display: flex;
      align-items: center;
      gap: 0.75rem;
      transition: all 0.2s ease;
      box-sizing: border-box;
    }
    .roblox-widget-box:hover {
      background: rgba(22, 22, 30, 0.75);
      border-color: rgba(239, 68, 68, 0.4);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(239, 68, 68, 0.15);
    }
    .roblox-widget-avatar-wrap {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: #1a1924;
      border: 1px solid rgba(255, 255, 255, 0.12);
      flex-shrink: 0;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .roblox-widget-avatar-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .roblox-widget-info {
      flex: 1;
      min-width: 0;
      text-align: left;
    }
    .roblox-widget-user {
      font-size: 0.78rem;
      font-weight: 800;
      color: #fff;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .roblox-widget-status {
      font-size: 0.68rem;
      color: #8e8ea0;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .roblox-badge-tag {
      font-size: 0.62rem;
      font-weight: 800;
      background: rgba(239, 68, 68, 0.15);
      color: #ef4444;
      border: 1px solid rgba(239, 68, 68, 0.3);
      padding: 0.15rem 0.5rem;
      border-radius: 6px;
      flex-shrink: 0;
    }
  
    /* ═══════════════════════════════════════════════════════════
       FRAIL.LOL & GUNS.LOL AESTHETIC CARD LAYOUTS
       ═══════════════════════════════════════════════════════════ */
    /* Clean Centered Aesthetic Layout (Centered Avatar, Badges & Content) */
    .gunslol-container.layout-centered,
    .gunslol-container:not(.layout-glass-axxelet):not(.layout-minimal-moh) {
      text-align: center;
    }
    .gunslol-container.layout-centered .card-content,
    .gunslol-container:not(.layout-glass-axxelet):not(.layout-minimal-moh) .card-content {
      align-items: center !important;
      text-align: center !important;
    }
    .gunslol-container.layout-centered .user-header-flex,
    .gunslol-container:not(.layout-glass-axxelet):not(.layout-minimal-moh) .user-header-flex {
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      text-align: center !important;
      width: 100% !important;
    }
    .gunslol-container.layout-centered .avatar-wrap,
    .gunslol-container:not(.layout-glass-axxelet):not(.layout-minimal-moh) .avatar-wrap {
      margin: 0 auto 0.75rem auto !important;
    }
    .gunslol-container.layout-centered .user-name-row,
    .gunslol-container:not(.layout-glass-axxelet):not(.layout-minimal-moh) .user-name-row {
      justify-content: center !important;
    }
    .gunslol-container.layout-centered .socials-grid,
    .gunslol-container:not(.layout-glass-axxelet):not(.layout-minimal-moh) .socials-grid {
      justify-content: center !important;
    }
    .gunslol-container.layout-centered .bio-clock-card,
    .gunslol-container:not(.layout-glass-axxelet):not(.layout-minimal-moh) .bio-clock-card {
      margin-left: auto !important;
      margin-right: auto !important;
    }
    .gunslol-container.layout-centered .discord-presence-box,
    .gunslol-container:not(.layout-glass-axxelet):not(.layout-minimal-moh) .discord-presence-box {
      margin-left: auto !important;
      margin-right: auto !important;
    }
    .gunslol-container.layout-centered .card-actions,
    .gunslol-container:not(.layout-glass-axxelet):not(.layout-minimal-moh) .card-actions {
      justify-content: center !important;
    }
    /* Layout: Borderless / Centered Clean (frail.lol & haunt.gg style) */
    .gunslol-container.layout-borderless,
    .gunslol-container.layout-borderless:hover {
      background: rgba(10, 10, 14, var(--card-opacity, 0.8)) !important;
      backdrop-filter: blur(var(--card-blur, 30px)) !important;
      -webkit-backdrop-filter: blur(var(--card-blur, 30px)) !important;
      border: 1px solid var(--card-border-color, rgba(255, 255, 255, 0.08));
      box-shadow: 0 35px 100px rgba(0, 0, 0, 0.85);
    }
    .gunslol-container.layout-borderless::before,
    .gunslol-container.layout-borderless:hover::before {
      display: none !important;
      opacity: 0 !important;
      content: none !important;
    }
    .gunslol-container.layout-borderless .card-banner {
      border-radius: var(--card-radius, 28px) var(--card-radius, 28px) 0 0 !important;
    }
    .gunslol-container.layout-borderless:not(.has-custom-banner) .card-content,
    .gunslol-container:not(.has-custom-banner) .card-content {
      padding-top: 2.2rem !important;
      margin-top: 0 !important;
    }
    .gunslol-container.layout-borderless .avatar-wrap {
      margin-top: 0.2rem !important;
      margin-bottom: 0.95rem !important;
    }
    .gunslol-container.layout-borderless .username-text {
      text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 0 24px var(--accent-glow) !important;
    }
    .gunslol-container.layout-borderless .bio-quote {
      text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95) !important;
      font-size: 0.95rem !important;
    }
    .gunslol-container.layout-borderless .gunslol-badges-tray {
      background: rgba(12, 12, 16, 0.55) !important;
      backdrop-filter: blur(14px) !important;
      -webkit-backdrop-filter: blur(14px) !important;
      border: 1px solid rgba(255, 255, 255, 0.12) !important;
      box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45) !important;
    }
    .gunslol-container.layout-borderless .social-pill {
      background: transparent !important;
      border: none !important;
      box-shadow: none !important;
    }
    .gunslol-container.layout-borderless .social-pill:hover {
      background: transparent !important;
      border: none !important;
      color: #ffffff !important;
      transform: translateY(-3px) scale(1.15) !important;
      filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.8)) !important;
    }
    .gunslol-container.layout-borderless .bio-pill.views {
      background: rgba(12, 12, 16, 0.55) !important;
      backdrop-filter: blur(14px) !important;
      -webkit-backdrop-filter: blur(14px) !important;
      border: 1px solid rgba(255, 255, 255, 0.12) !important;
    }
    .gunslol-container.layout-borderless .btn-action-primary {
      background: rgba(18, 18, 24, 0.6) !important;
      backdrop-filter: blur(16px) !important;
      -webkit-backdrop-filter: blur(16px) !important;
      border: 1px solid rgba(255, 255, 255, 0.16) !important;
      color: #ffffff !important;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45) !important;
    }
    .gunslol-container.layout-borderless .btn-action-primary:hover {
      background: rgba(255, 255, 255, 0.14) !important;
      border-color: rgba(255, 255, 255, 0.32) !important;
      color: #ffffff !important;
      transform: translateY(-2px) !important;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 16px var(--accent-glow) !important;
    }
    .gunslol-container.layout-borderless .btn-action-share {
      background: rgba(18, 18, 24, 0.6) !important;
      backdrop-filter: blur(16px) !important;
      -webkit-backdrop-filter: blur(16px) !important;
      border: 1px solid rgba(255, 255, 255, 0.16) !important;
      color: #eee !important;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45) !important;
    }
    .gunslol-container.layout-borderless .btn-action-share:hover {
      background: rgba(255, 255, 255, 0.14) !important;
      border-color: rgba(255, 255, 255, 0.32) !important;
      color: #ffffff !important;
      transform: translateY(-2px) !important;
    }
    body.has-borderless-layout .ambient-glow,
    body:has(.layout-borderless) .ambient-glow,
    .gunslol-container.layout-borderless ~ .ambient-glow {
      display: none !important;
      opacity: 0 !important;
      visibility: hidden !important;
    }
    body.has-borderless-layout #bioBgOverlay {
      background: radial-gradient(circle at center, transparent 40%, rgba(6, 6, 8, 0.45) 100%) !important;
    }

    
    /* ═══════════════════════════════════════════════════════════
       AUTHENTIC GUNS.LOL V3 LAYOUTS: AXXELET & MOH STYLES
       ═══════════════════════════════════════════════════════════ */
    /* Layout: Axxelet (Frosted Acrylic Glass with Left Avatar & Clock) */
    .gunslol-container.layout-glass-axxelet,
    .gunslol-container.layout-glass_axxelet,
    .gunslol-container.layout-glass-axxelet,
    .gunslol-container.layout-glass_axxelet,
    .gunslol-container.layout-glass {
      background: rgba(14, 14, 18, var(--card-opacity, 0.68));
      backdrop-filter: blur(var(--card-blur, 28px));
      -webkit-backdrop-filter: blur(var(--card-blur, 28px));
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 28px;
      box-shadow: 0 35px 90px rgba(0, 0, 0, 0.8), inset 0 0 25px rgba(255, 255, 255, 0.02);
      padding: 1.85rem 2rem;
      max-width: 540px;
    }
    .gunslol-container.layout-glass-axxelet .card-banner,
    .gunslol-container.layout-glass_axxelet .card-banner,
    .gunslol-container.layout-glass .card-banner {
      display: none !important;
    }
    .gunslol-container.layout-glass-axxelet .card-content,
    .gunslol-container.layout-glass_axxelet .card-content,
    .gunslol-container.layout-glass .card-content {
      padding: 0 !important;
      margin: 0 !important;
    }
    .gunslol-container.layout-glass-axxelet .user-header-flex,
    .gunslol-container.layout-glass_axxelet .user-header-flex,
    .gunslol-container.layout-glass .user-header-flex {
      display: flex !important;
      align-items: center !important;
      gap: 1.15rem !important;
      text-align: left !important;
      margin-bottom: 0.85rem !important;
      width: 100% !important;
      max-width: 100% !important;
      box-sizing: border-box !important;
      flex-wrap: wrap !important;
      justify-content: flex-start !important;
    }
    .gunslol-container.layout-glass-axxelet .avatar-wrap,
    .gunslol-container.layout-glass_axxelet .avatar-wrap,
    .gunslol-container.layout-glass .avatar-wrap {
      margin: 0 !important;
      flex-shrink: 0 !important;
    }
    .gunslol-container.layout-glass-axxelet .user-name-row,
    .gunslol-container.layout-glass_axxelet .user-name-row,
    .gunslol-container.layout-glass .user-name-row {
      justify-content: flex-start !important;
    }

    /* Layout: Moh (Void Minimalist / Horizontal Floating - Image 3 Style) */
    .gunslol-container.layout-minimal-moh,
    .gunslol-container.layout-minimal_moh {
      background: transparent !important;
      border: none !important;
      box-shadow: none !important;
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
      max-width: 480px !important;
      padding: 1rem !important;
    }
    .gunslol-container.layout-minimal-moh .card-banner,
    .gunslol-container.layout-minimal_moh .card-banner { display: none !important; }
    .gunslol-container.layout-minimal-moh .user-header-flex,
    .gunslol-container.layout-minimal_moh .user-header-flex {
      display: flex !important;
      align-items: center !important;
      gap: 1.15rem !important;
      text-align: left !important;
      justify-content: flex-start !important;
      width: 100% !important;
      max-width: 100% !important;
      box-sizing: border-box !important;
      flex-wrap: wrap !important;
    }
    .gunslol-container.layout-minimal-moh .avatar-wrap,
    .gunslol-container.layout-minimal_moh .avatar-wrap {
      width: var(--avatar-size, 110px) !important;
      height: var(--avatar-size, 110px) !important;
      margin: 0 !important;
      flex-shrink: 0 !important;
    }
    .gunslol-container.layout-minimal-moh .username-text,
    .gunslol-container.layout-minimal_moh .username-text {
      font-size: 1.5rem !important;
      font-weight: 800 !important;
      letter-spacing: -0.02em !important;
      text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95);
    }
    .gunslol-container.layout-minimal-moh .user-name-row,
    .gunslol-container.layout-minimal_moh .user-name-row { justify-content: flex-start !important; }
    .gunslol-container.layout-minimal-moh .socials-grid,
    .gunslol-container.layout-minimal_moh .socials-grid {
      justify-content: flex-start !important;
      margin-top: 0.35rem !important;
    }
    .gunslol-container.layout-minimal-moh .bio-footer-stats,
    .gunslol-container.layout-minimal_moh .bio-footer-stats,
    .gunslol-container.layout-minimal-moh .card-actions,
    .gunslol-container.layout-minimal_moh .card-actions,
    .gunslol-container.layout-minimal-moh .gunslol-footer,
    .gunslol-container.layout-minimal_moh .gunslol-footer {
      display: none !important;
    }

    /* Banner Display for Cards with Custom Banners */
    .gunslol-container.has-custom-banner {
      padding-top: 0 !important;
      overflow: hidden !important;
    }
    .gunslol-container.has-custom-banner .card-banner {
      display: block !important;
      height: 195px !important;
      background-size: cover !important;
      background-position: center center !important;
      background-repeat: no-repeat !important;
      border-radius: inherit inherit 0 0 !important;
      position: relative !important;
    }
    .gunslol-container.has-custom-banner .card-banner::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 75px;
      background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 14, 0.95) 100%);
      pointer-events: none;
    }
    .gunslol-container.has-custom-banner .card-content {
      margin-top: -50px !important;
      padding: 0 1.85rem 1.85rem !important;
      position: relative !important;
      z-index: 2 !important;
    }
    /* Centered cards with banner keep avatar centered without squishing */
    .gunslol-container.layout-classic.has-custom-banner .user-header-flex,
    .gunslol-container.layout-borderless.has-custom-banner .user-header-flex {
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      text-align: center !important;
      gap: 0.5rem !important;
      width: 100% !important;
    }
    .gunslol-container.layout-classic.has-custom-banner .avatar-wrap,
    .gunslol-container.layout-borderless.has-custom-banner .avatar-wrap {
      margin: 0 auto !important;
      z-index: 5 !important;
      flex-shrink: 0 !important;
    }
    .gunslol-container.layout-classic.has-custom-banner .user-name-row,
    .gunslol-container.layout-borderless.has-custom-banner .user-name-row {
      justify-content: center !important;
    }
    /* Horizontal cards with banner */
    .gunslol-container.layout-glass.has-custom-banner .user-header-flex,
    .gunslol-container.layout-glass-axxelet.has-custom-banner .user-header-flex,
    .gunslol-container.layout-glass_axxelet.has-custom-banner .user-header-flex {
      display: flex !important;
      align-items: flex-end !important;
      text-align: left !important;
      gap: 1.25rem !important;
      width: 100% !important;
    }
    .gunslol-container.has-custom-banner .avatar-img,
    .gunslol-container.has-custom-banner .avatar-initial {
      width: 100% !important;
      height: 100% !important;
      border: 3.5px solid #0e0e12 !important;
    }

    /* Empty Badges Tray Suppression */
    #badges:empty,
    .gunslol-badges-tray:empty {
      display: none !important;
      padding: 0 !important;
      border: none !important;
      background: transparent !important;
      box-shadow: none !important;
    }

    /* Unclaimed Bio Profile Screen */
    .unclaimed-container {
      width: 100%;
      max-width: 460px;
      margin: auto;
      padding: 1.5rem;
      position: relative;
      z-index: 10;
      animation: fadeInScale 0.4s ease-out forwards;
    }
    .unclaimed-card {
      background: rgba(14, 14, 18, 0.88);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 24px;
      padding: 2.5rem 2rem;
      text-align: center;
      backdrop-filter: blur(25px);
      -webkit-backdrop-filter: blur(25px);
      box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 255, 255, 0.04);
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .unclaimed-icon-wrap {
      width: 68px;
      height: 68px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.16);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #ffffff;
      margin-bottom: 1.25rem;
      box-shadow: 0 0 25px rgba(255, 255, 255, 0.08);
    }
    .unclaimed-tag {
      font-size: 0.68rem;
      font-weight: 800;
      letter-spacing: 0.12em;
      color: #ffffff;
      text-transform: uppercase;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.15);
      padding: 0.25rem 0.75rem;
      border-radius: 999px;
      margin-bottom: 0.85rem;
    }
    .unclaimed-username {
      font-size: 1.75rem;
      font-weight: 900;
      color: #ffffff;
      margin-bottom: 0.6rem;
      letter-spacing: -0.02em;
    }
    .unclaimed-desc {
      font-size: 0.88rem;
      line-height: 1.5;
      color: #a1a1aa;
      margin-bottom: 1.75rem;
      max-width: 340px;
    }
    .unclaimed-actions {
      display: flex;
      flex-direction: column;
      gap: 0.65rem;
      width: 100%;
    }
    .btn-unclaimed-primary {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      background: #ffffff;
      color: #09090b;
      font-size: 0.92rem;
      font-weight: 800;
      padding: 0.85rem 1.4rem;
      border-radius: 12px;
      text-decoration: none;
      transition: all 0.25s ease;
      box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
    }
    .btn-unclaimed-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 30px rgba(255, 255, 255, 0.4);
      background: #e4e4e7;
    }
    .btn-unclaimed-secondary {
      display: inline-block;
      color: #71717a;
      font-size: 0.82rem;
      font-weight: 600;
      text-decoration: none;
      padding: 0.5rem;
      transition: color 0.2s ease;
    }
    .btn-unclaimed-secondary:hover {
      color: #e4e4e7;
    }

    /* Clock Widget */
    .bio-clock-card {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.85rem;
      padding: 0.65rem 1rem;
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      margin: 0.85rem 0 0.5rem;
      width: 100%;
      box-sizing: border-box;
    }
    .inline-badges,
    .inline-badges-tray {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      background: rgba(18, 18, 22, 0.75);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 9999px;
      padding: 4px 10px;
      vertical-align: middle;
      margin-left: 8px;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    }
    .inline-badges .badge-item img,
    .inline-badges .badge-item svg,
    .inline-badges-tray .badge-item img,
    .inline-badges-tray .badge-item svg {
      width: 20px;
      height: 20px;
      object-fit: contain;
      cursor: pointer;
      filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.6));
      transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.2s ease;
    }
    .inline-badges .badge-item:hover img,
    .inline-badges .badge-item:hover svg,
    .inline-badges-tray .badge-item:hover img,
    .inline-badges-tray .badge-item:hover svg {
      transform: scale(1.25);
      filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
    }

    /* Layout: Frosted Acrylic Glass */
    .gunslol-container.layout-glass {
      background: rgba(12, 12, 16, var(--card-opacity, 0.45));
      backdrop-filter: blur(var(--card-blur, 30px));
      -webkit-backdrop-filter: blur(var(--card-blur, 30px));
      border: 1px solid rgba(255, 255, 255, 0.08);
      box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 50px var(--accent-glow);
      border-radius: 28px;
    }

    /* Layout: Classic Guns.lol Boxed */
    .gunslol-container.layout-classic {
      background: rgba(18, 18, 22, var(--card-opacity, 0.72));
      backdrop-filter: blur(var(--card-blur, 20px));
      -webkit-backdrop-filter: blur(var(--card-blur, 20px));
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    /* ═══════════════════════════════════════════════════════════
       AVATAR AURA GLOW PRESETS
       ═══════════════════════════════════════════════════════════ */
    .avatar-wrap.glow-violet .avatar-img, .avatar-wrap.glow-violet .avatar-initial {
      box-shadow: 0 0 25px rgba(168, 85, 247, 0.65), 0 0 50px rgba(168, 85, 247, 0.25);
    }
    .avatar-wrap.glow-pink .avatar-img, .avatar-wrap.glow-pink .avatar-initial {
      box-shadow: 0 0 25px rgba(244, 114, 182, 0.7), 0 0 50px rgba(244, 114, 182, 0.3);
    }
    .avatar-wrap.glow-cyan .avatar-img, .avatar-wrap.glow-cyan .avatar-initial {
      box-shadow: 0 0 25px rgba(56, 189, 248, 0.7), 0 0 50px rgba(56, 189, 248, 0.3);
    }
    .avatar-wrap.glow-rose .avatar-img, .avatar-wrap.glow-rose .avatar-initial {
      box-shadow: 0 0 25px rgba(244, 63, 94, 0.75), 0 0 50px rgba(244, 63, 94, 0.3);
    }
    .avatar-wrap.glow-gold .avatar-img, .avatar-wrap.glow-gold .avatar-initial {
      box-shadow: 0 0 25px rgba(250, 204, 21, 0.65), 0 0 50px rgba(250, 204, 21, 0.25);
    }
    .avatar-wrap.glow-white .avatar-img, .avatar-wrap.glow-white .avatar-initial {
      box-shadow: 0 0 25px rgba(255, 255, 255, 0.7), 0 0 50px rgba(255, 255, 255, 0.3);
    }
    .avatar-wrap.glow-none .avatar-img, .avatar-wrap.glow-none .avatar-initial {
      box-shadow: 0 15px 35px rgba(0,0,0,0.8);
    }

    /* ═══════════════════════════════════════════════════════════
       FLOATING AUDIO CONTROLS (MINI DOCK & VOLUME BUTTON)
       ═══════════════════════════════════════════════════════════ */
    .volume-floating-btn {
      position: fixed;
      top: 18px;
      left: 18px;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(12, 12, 16, 0.65);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 1px solid rgba(255, 255, 255, 0.12);
      color: #fff;
      display: none;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 9999;
      transition: all 0.2s ease;
      box-shadow: 0 6px 25px rgba(0,0,0,0.6);
    }
    .volume-floating-btn:hover {
      background: rgba(255, 255, 255, 0.15);
      transform: scale(1.08);
      border-color: rgba(255, 255, 255, 0.25);
    }
    .volume-floating-btn svg {
      width: 18px;
      height: 18px;
    }

    .mini-audio-dock {
      position: fixed;
      bottom: 22px;
      right: 22px;
      display: none;
      align-items: center;
      gap: 0.65rem;
      padding: 0.5rem 1rem;
      border-radius: 999px;
      background: rgba(12, 12, 16, 0.7);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 255, 255, 0.14);
      color: #fff;
      cursor: pointer;
      z-index: 9999;
      box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 255, 255, 0.05);
      transition: all 0.25s ease;
    }
    .mini-audio-dock:hover {
      background: rgba(22, 22, 28, 0.88);
      border-color: rgba(255, 255, 255, 0.28);
      transform: translateY(-2px);
    }
    .mini-dock-play-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.12);
      color: #fff;
    }
    .mini-dock-title {
      font-size: 0.76rem;
      font-weight: 800;
      color: #fff;
      max-width: 170px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      letter-spacing: -0.01em;
    }
    .mini-eq {
      display: flex;
      align-items: flex-end;
      gap: 2.5px;
      height: 14px;
    }
    .mini-eq span {
      width: 2.5px;
      height: 100%;
      background: var(--accent);
      border-radius: 2px;
      animation: miniEqAnim 0.75s infinite alternate ease-in-out;
    }
    .mini-eq span:nth-child(2) { animation-delay: 0.25s; }
    .mini-eq span:nth-child(3) { animation-delay: 0.5s; }
    @keyframes miniEqAnim {
      0% { height: 2px; }
      100% { height: 14px; }
    }
    .mini-eq.paused span {
      animation: none !important;
      height: 2px !important;
    }

  
    /* Dynamic Theme Support for any Custom Hex Color */
    :root {
      --accent: #ffffff;
      --accent-glow: rgba(255, 255, 255, 0.4);
    }

    
    /* Guns.lol & Haunt 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;
      text-shadow: none !important;
      filter: drop-shadow(0 0 10px rgba(255, 191, 0, 0.55)) !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;
      text-shadow: none !important;
      filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.35)) !important;
      animation: rainbowCycle 3s linear infinite;
    }
    @keyframes rainbowCycle {
      to { background-position: 200% center; }
    }

    /* Glow Effects */
    .glow-username-active {
      text-shadow: 0 0 15px var(--accent), 0 0 30px var(--accent-glow) !important;
      animation: usernameGlowPulse 2.5s infinite alternate ease-in-out;
    }
    @keyframes usernameGlowPulse {
      0% { text-shadow: 0 0 10px var(--accent); }
      100% { text-shadow: 0 0 25px var(--accent), 0 0 45px var(--accent-glow); }
    }

    .glow-socials-active .social-btn {
      box-shadow: 0 0 14px var(--accent-glow) !important;
      border-color: var(--accent) !important;
    }

    .badge-item.glow-active img {
      filter: drop-shadow(0 0 8px var(--accent)) drop-shadow(0 0 16px var(--accent-glow)) !important;
    }

    /* Location Badge */
    .bio-location-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      padding: 0.2rem 0.65rem;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      font-size: 0.72rem;
      font-weight: 700;
      color: #cbd5e1;
      margin-top: 0.2rem;
      letter-spacing: 0.04em;
    }

    /* Discord Presence Widget */
    .discord-presence-card {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.75rem 1rem;
      border-radius: 14px;
      background: rgba(18, 18, 24, 0.65);
      border: 1px solid rgba(255, 255, 255, 0.08);
      margin: 0.85rem 0 0.5rem;
      text-align: left;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }
    .discord-status-indicator {
      width: 34px;
      height: 34px;
      border-radius: 10px;
      background: #5865F2;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
    }
    .discord-activity-info {
      display: flex;
      flex-direction: column;
      gap: 0.15rem;
      overflow: hidden;
    }
    .discord-activity-header {
      font-size: 0.62rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: #94a3b8;
    }
    .discord-activity-name {
      font-size: 0.78rem;
      font-weight: 700;
      color: #ffffff;
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
    }

    /* Effects Canvas */
    #effectsCanvas {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      pointer-events: none;
      z-index: 2;
    }

    @keyframes spinVinyl {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }
    .vinyl-disc.playing {
      animation: spinVinyl 3.5s linear infinite;
    }
    @keyframes scrollTicker {
      0% { transform: translateX(0%); }
      50% { transform: translateX(-35%); }
      100% { transform: translateX(0%); }
    }

    /* ═══════════════════════════════════════════════════════════
       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 1.05rem;
      box-sizing: border-box;
    }

    .bio-widgets-grid.single-widget,
    .bio-widgets-grid > .widget-full-width,
    .bio-widgets-grid > :only-child {
      grid-column: 1 / -1;
    }

    @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.7rem 0.8rem;
      display: flex;
      align-items: center;
      gap: 0.65rem;
      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;
      min-height: 72px;
      overflow: hidden;
    }

    .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 (Image 1 Style: Rounded Square 12px) */
    .discord-widget .widget-avatar-box {
      width: 48px !important;
      height: 48px !important;
      border-radius: 12px !important;
      position: relative !important;
      overflow: visible !important;
      flex-shrink: 0;
    }

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

    .discord-widget .discord-presence-status-dot {
      position: absolute;
      bottom: -3px;
      right: -3px;
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background-color: #22c55e;
      border: 2px solid #111116 !important;
      box-shadow: none !important;
      filter: none !important;
      background-size: contain !important;
      background-position: center !important;
      background-repeat: no-repeat !important;
      z-index: 5;
    }

    /* Roblox Avatar Styling (Image 2 & 3 Style: Clean Rounded Square 12px) */
    .roblox-widget .widget-avatar-box {
      width: 48px !important;
      height: 48px !important;
      border-radius: 12px !important;
      background: rgba(255, 255, 255, 0.04) !important;
      border: 1px solid rgba(255, 255, 255, 0.08) !important;
      position: relative !important;
      overflow: hidden !important;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .roblox-widget .widget-avatar-box img {
      width: 100% !important;
      height: 100% !important;
      object-fit: cover !important;
      border-radius: 12px !important;
    }

    .widget-details-box {
      display: flex;
      flex-direction: column;
      justify-content: center;
      min-width: 0;
      flex: 1;
      min-height: 50px;
      box-sizing: border-box;
      padding: 2px 0;
      gap: 0.22rem;
      overflow: hidden;
    }

    .widget-title {
      font-size: 0.78rem;
      font-weight: 800;
      color: #ffffff;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      line-height: 1.25;
      padding-bottom: 2px;
      margin: 0;
      letter-spacing: -0.01em;
      min-width: 0;
      max-width: 100%;
      display: block;
    }

    .widget-stats {
      font-size: 0.65rem;
      color: #a1a1aa;
      display: flex;
      align-items: center;
      gap: 0.45rem;
      flex-wrap: wrap;
      white-space: normal;
      font-weight: 500;
      line-height: 1.3;
      margin: 0.2rem 0;
      min-width: 0;
    }

    .widget-stats span {
      display: inline-flex;
      align-items: center;
      gap: 0.25rem;
      white-space: nowrap;
      font-size: 0.65rem;
    }

    .widget-stats strong {
      color: #ffffff;
      font-weight: 700;
    }

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

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

    /* Discord Widget Badges */
    .discord-widget-badges {
      display: inline-flex;
      align-items: center;
      gap: 0.28rem;
      flex-shrink: 0;
      margin-left: auto;
    }

    .discord-badge-icon {
      width: 15px;
      height: 15px;
      filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6));
      transition: transform 0.15s ease;
      cursor: help;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      vertical-align: middle;
    }

    .discord-badge-icon img,
    .discord-badge-icon svg {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
    }

    .discord-badge-icon:hover {
      transform: scale(1.22);
    }

    /* ── Exclusive Top 1, Top 2, Top 3 Insignia Badges (Uniform Size, Elite White Glow) ── */
    .badge-exclusive-top1 {
      width: var(--badge-size, 22px) !important;
      height: var(--badge-size, 22px) !important;
    }
    .badge-exclusive-top1 img {
      filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 12px rgba(255, 255, 255, 0.5)) !important;
      animation: top1GlowAnim 2.5s infinite ease-in-out;
    }

    .badge-exclusive-top2 {
      width: var(--badge-size, 22px) !important;
      height: var(--badge-size, 22px) !important;
    }
    .badge-exclusive-top2 img {
      filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.85)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.4)) !important;
      animation: top2GlowAnim 3s infinite ease-in-out;
    }

    .badge-exclusive-top3 {
      width: var(--badge-size, 22px) !important;
      height: var(--badge-size, 22px) !important;
    }
    .badge-exclusive-top3 img {
      filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.35)) !important;
      animation: top3GlowAnim 3.5s infinite ease-in-out;
    }

    @keyframes top1GlowAnim {
      0%, 100% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.85)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.4)); }
      50% { transform: scale(1.08); filter: drop-shadow(0 0 8px rgba(255, 255, 255, 1)) drop-shadow(0 0 16px rgba(255, 255, 255, 0.6)); }
    }

    @keyframes top2GlowAnim {
      0%, 100% { transform: scale(1); filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.8)); }
      50% { transform: scale(1.06); filter: drop-shadow(0 0 7px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 14px rgba(255, 255, 255, 0.5)); }
    }

    @keyframes top3GlowAnim {
      0%, 100% { transform: scale(1); filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.75)); }
      50% { transform: scale(1.05); filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 12px rgba(255, 255, 255, 0.45)); }
    }

    /* ═══════════════════════════════════════════════════════════
       VISUALIZER STUDIO (Live Real-Time Editor Mode)
       ═══════════════════════════════════════════════════════════ */
    body.visualizer-mode {
      padding-bottom: 160px !important;
    }

    body.visualizer-mode .gunslol-container {
      outline: 2px dashed rgba(168, 85, 247, 0.5) !important;
      outline-offset: 8px !important;
    }

    /* Blocks in Visualizer Mode */
    body.visualizer-mode [data-block] {
      position: relative !important;
      border: 1.5px dashed rgba(255, 255, 255, 0.16) !important;
      border-radius: 14px !important;
      padding: 8px 10px !important;
      margin-bottom: 10px !important;
      transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.15s !important;
      cursor: pointer;
    }

    body.visualizer-mode [data-block]:hover {
      border-color: rgba(255, 255, 255, 0.4) !important;
      background: rgba(255, 255, 255, 0.03) !important;
    }

    body.visualizer-mode [data-block].v-selected {
      border: 1.5px solid rgba(255, 255, 255, 0.6) !important;
      background: rgba(255, 255, 255, 0.04) !important;
      box-shadow: 0 0 24px rgba(0, 0, 0, 0.6), 0 0 12px rgba(255, 255, 255, 0.08) !important;
    }

    body.visualizer-mode [data-block].v-selected .v-block-toolbar {
      display: flex !important;
      border-color: rgba(255, 255, 255, 0.3) !important;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8) !important;
    }

    body.visualizer-mode [data-block].v-dragging {
      opacity: 0.3 !important;
      border: 1.5px dashed rgba(255, 255, 255, 0.7) !important;
      transform: scale(0.98);
    }

    body.visualizer-mode [data-block].v-drag-over-above {
      border-top: 3px solid #ffffff !important;
    }

    body.visualizer-mode [data-block].v-drag-over-below {
      border-bottom: 3px solid #ffffff !important;
    }

    /* Mini toolbar pill inside each block */
    .v-block-toolbar {
      display: none;
      position: absolute;
      top: -14px;
      right: 12px;
      z-index: 100;
      background: #18181b;
      border: 1px solid rgba(255, 255, 255, 0.22);
      border-radius: 999px;
      padding: 3px 9px;
      gap: 6px;
      align-items: center;
      box-shadow: 0 6px 22px rgba(0,0,0,0.85);
      cursor: grab;
      user-select: none;
    }
    .v-block-toolbar:active {
      cursor: grabbing;
    }

    body.visualizer-mode [data-block]:hover .v-block-toolbar {
      display: flex !important;
    }

    .v-block-handle {
      cursor: grab;
      font-size: 0.85rem;
      color: #a1a1aa;
      padding: 0 3px;
      user-select: none;
      line-height: 1;
    }
    .v-block-handle:hover {
      color: #ffffff;
    }
    .v-block-handle:active {
      cursor: grabbing;
    }

    .v-block-badge {
      font-size: 0.65rem;
      font-weight: 800;
      text-transform: uppercase;
      color: #ffffff;
      letter-spacing: 0.05em;
      padding: 0 4px;
      user-select: none;
    }

    .v-btn-arrow {
      background: rgba(255, 255, 255, 0.08);
      color: #fff;
      border: 1px solid rgba(255, 255, 255, 0.14);
      width: 22px;
      height: 22px;
      border-radius: 6px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 0.65rem;
      font-weight: 900;
      transition: background 0.15s, transform 0.1s, color 0.15s;
    }

    .v-btn-arrow:hover {
      background: #ffffff;
      color: #09090b;
      transform: scale(1.08);
    }

    /* Layers Strip in Visualizer Dock */
    .v-layers-strip {
      display: flex;
      align-items: center;
      gap: 6px;
      overflow-x: auto;
      padding: 4px 0;
      scrollbar-width: none;
    }
    .v-layers-strip::-webkit-scrollbar {
      display: none;
    }
    .v-layer-pill {
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 999px;
      padding: 4px 10px;
      font-size: 0.72rem;
      font-weight: 700;
      color: #cbd5e1;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      white-space: nowrap;
      transition: all 0.15s ease;
      user-select: none;
    }
    .v-layer-pill:hover {
      background: rgba(255, 255, 255, 0.12);
      border-color: rgba(255, 255, 255, 0.25);
      color: #fff;
    }
    .v-layer-pill.active {
      background: #ffffff;
      border-color: #ffffff;
      color: #09090b;
      box-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
    }

    /* Visualizer Floating Studio Side Panel ("hazlo a un costado") */
    #visualizerDock {
      position: fixed;
      top: 50%;
      right: 22px;
      transform: translateY(-50%);
      z-index: 10000;
      width: 330px;
      max-height: calc(100vh - 44px);
      background: rgba(13, 13, 17, 0.96);
      border: 1px solid rgba(255, 255, 255, 0.15);
      backdrop-filter: blur(28px);
      -webkit-backdrop-filter: blur(28px);
      border-radius: 20px;
      padding: 16px 18px;
      box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 35px rgba(255, 255, 255, 0.04);
      display: flex;
      flex-direction: column;
      gap: 13px;
      animation: vDockSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      box-sizing: border-box;
      overflow-y: auto;
      scrollbar-width: thin;
      scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    }

    @keyframes vDockSlideIn {
      from { transform: translate(50px, -50%); opacity: 0; }
      to { transform: translate(0, -50%); opacity: 1; }
    }

    @media (max-width: 900px) {
      #visualizerDock {
        top: auto;
        bottom: 14px;
        right: 14px;
        left: 14px;
        transform: none;
        width: auto;
        max-height: 50vh;
      }
    }

    .v-sidebar-block-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      padding: 7px 10px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 10px;
      margin-bottom: 6px;
      cursor: pointer;
      transition: all 0.15s ease;
    }
    .v-sidebar-block-row:hover {
      background: rgba(255, 255, 255, 0.08);
      border-color: rgba(255, 255, 255, 0.2);
    }
    .v-sidebar-block-row.active {
      border-color: rgba(255, 255, 255, 0.45);
      background: rgba(255, 255, 255, 0.1);
      box-shadow: 0 0 14px rgba(255, 255, 255, 0.08);
    }
    .v-sidebar-block-title {
      font-size: 0.72rem;
      font-weight: 700;
      color: #e4e4e7;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      flex: 1;
    }
    .v-sidebar-block-actions {
      display: flex;
      align-items: center;
      gap: 4px;
      flex-shrink: 0;
    }
    .v-side-btn-arrow {
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.12);
      color: #fff;
      width: 22px;
      height: 22px;
      border-radius: 6px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 0.65rem;
      font-weight: 800;
      transition: all 0.15s ease;
    }
    .v-side-btn-arrow:hover:not(:disabled) {
      background: #ffffff;
      color: #09090b;
      transform: scale(1.05);
    }
    .v-side-btn-arrow:disabled {
      opacity: 0.25;
      cursor: not-allowed;
    }
    .v-side-btn-toggle {
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.14);
      color: #fff;
      border-radius: 6px;
      padding: 2px 7px;
      font-size: 0.65rem;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.15s ease;
    }
    .v-side-btn-toggle.hidden-state {
      background: rgba(239, 68, 68, 0.15);
      border-color: rgba(239, 68, 68, 0.35);
      color: #fca5a5;
    }

    .v-dock-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding-bottom: 10px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      flex-wrap: wrap;
    }

    .v-dock-title-wrap {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .v-dock-title {
      font-size: 0.85rem;
      font-weight: 800;
      color: #fff;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .v-dock-badge {
      font-size: 0.62rem;
      font-weight: 800;
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.15);
      color: #fff;
      padding: 2px 8px;
      border-radius: 999px;
      letter-spacing: 0.05em;
    }

    .v-dock-controls-grid {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .v-control-item {
      display: flex;
      flex-direction: column;
      gap: 5px;
    }

    .v-control-label {
      font-size: 0.7rem;
      font-weight: 700;
      color: #a1a1aa;
      display: flex;
      justify-content: space-between;
    }

    .v-control-val {
      color: #fff;
      font-family: 'JetBrains Mono', monospace;
    }

    .v-control-input-row {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .v-dock-select {
      background: #1c1c24;
      border: 1px solid rgba(255, 255, 255, 0.14);
      color: #fff;
      border-radius: 10px;
      padding: 7px 10px;
      font-size: 0.75rem;
      outline: none;
      width: 100%;
      cursor: pointer;
      transition: border-color 0.2s;
    }
    .v-dock-select:hover, .v-dock-select:focus {
      border-color: #a855f7;
    }

    .v-dock-btn-icon {
      background: rgba(255, 255, 255, 0.08);
      color: #cbd5e1;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 10px;
      padding: 7px 11px;
      font-size: 0.72rem;
      font-weight: 700;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      white-space: nowrap;
      transition: background 0.15s, border-color 0.15s;
    }

    .v-dock-btn-icon:hover {
      background: rgba(168, 85, 247, 0.2);
      border-color: rgba(168, 85, 247, 0.5);
      color: #fff;
    }

    .v-dock-actions {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-left: auto;
    }

    .v-btn-save {
      background: linear-gradient(135deg, #10b981 0%, #059669 100%);
      color: #fff;
      border: none;
      border-radius: 10px;
      padding: 8px 18px;
      font-size: 0.8rem;
      font-weight: 800;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
      transition: transform 0.15s, box-shadow 0.15s;
    }

    .v-btn-save:hover {
      transform: scale(1.03);
      box-shadow: 0 0 28px rgba(16, 185, 129, 0.65);
    }

    .v-btn-exit {
      background: rgba(255, 255, 255, 0.06);
      color: #94a3b8;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 10px;
      padding: 8px 14px;
      font-size: 0.76rem;
      font-weight: 700;
      cursor: pointer;
      transition: background 0.15s, color 0.15s;
    }

    .v-btn-exit:hover {
      background: rgba(239, 68, 68, 0.15);
      border-color: rgba(239, 68, 68, 0.3);
      color: #ef4444;
    }
