/* extracted from settings.html <style> block 1 */
/* ══════════════════════════════════════════════════════════════
       SETTINGS PAGE — ULTRA MODERN REDESIGN v3
    ══════════════════════════════════════════════════════════════ */

    /* ── Animated background particles ── */
    .settings-bg-orb {
      position: fixed; pointer-events: none; z-index: 0; border-radius: 50%;
      filter: blur(80px); opacity: 0.06;
      animation: orbFloat 12s ease-in-out infinite alternate;
    }
    .settings-bg-orb-1 { width: 500px; height: 500px; background: var(--hex-06b6d4); top: -150px; right: -100px; animation-delay: 0s; }
    .settings-bg-orb-2 { width: 350px; height: 350px; background: var(--hex-8b5cf6); bottom: 10%; left: -80px; animation-delay: -4s; }
    .settings-bg-orb-3 { width: 280px; height: 280px; background: var(--hex-34d399); top: 50%; right: 10%; animation-delay: -8s; }
    @keyframes orbFloat {
      from { transform: translateY(0px) scale(1); }
      to   { transform: translateY(30px) scale(1.08); }
    }

    /* ── Page layout ── */
    .settings-page-body { max-width: 860px; position: relative; z-index: 1; }

    /* ── Profile Hero Banner ── */
    .settings-profile-banner {
      position: relative; border-radius: 22px; overflow: hidden;
      margin-bottom: 24px;
      background: linear-gradient(135deg, var(--rgba-6-182-212-0-12) 0%, var(--rgba-139-92-246-0-08) 50%, var(--rgba-52-211-153-0-06) 100%);
      border: 1px solid var(--rgba-6-182-212-0-2);
      box-shadow: 0 8px 48px var(--rgba-0-0-0-0-4), 0 0 0 1px var(--rgba-6-182-212-0-05) inset;
    }
    .settings-profile-banner::before {
      content: '';
      position: absolute; top: 0; left: 0; right: 0; height: 2px;
      background: linear-gradient(90deg, transparent 0%, var(--hex-06b6d4) 30%, var(--hex-8b5cf6) 60%, var(--hex-34d399) 80%, transparent 100%);
    }
    .settings-profile-banner-bg {
      position: absolute; inset: 0; pointer-events: none;
      background:
        radial-gradient(ellipse 60% 80% at 0% 50%, var(--rgba-6-182-212-0-08) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 100% 20%, var(--rgba-139-92-246-0-06) 0%, transparent 50%);
    }
    .settings-profile-banner-grid {
      position: absolute; inset: 0; pointer-events: none;
      background-image:
        linear-gradient(var(--rgba-6-182-212-0-03) 1px, transparent 1px),
        linear-gradient(90deg, var(--rgba-6-182-212-0-03) 1px, transparent 1px);
      background-size: 40px 40px;
    }
    .settings-profile-inner {
      position: relative; z-index: 1;
      display: flex; align-items: center; gap: 24px;
      padding: 28px 30px;
      flex-wrap: wrap;
    }

    /* ── Avatar ── */
    .profile-avatar-wrap { position: relative; flex-shrink: 0; }
    .profile-avatar-glow {
      position: absolute; inset: -6px; border-radius: 50%;
      background: conic-gradient(from 0deg, var(--hex-06b6d4), var(--hex-8b5cf6), var(--hex-34d399), var(--hex-06b6d4));
      animation: avatarSpin 6s linear infinite;
      opacity: 0.7;
    }
    @keyframes avatarSpin { to { transform: rotate(360deg); } }
    .profile-avatar-ring {
      position: relative; z-index: 1;
      width: 80px; height: 80px; border-radius: 50%;
      background: var(--surface2);
      padding: 3px;
      box-shadow: 0 0 30px var(--rgba-6-182-212-0-4), 0 0 60px var(--rgba-6-182-212-0-15);
    }
    .profile-avatar-inner {
      width: 100%; height: 100%; border-radius: 50%;
      background: linear-gradient(135deg, var(--surface3), var(--surface2));
      display: flex; align-items: center; justify-content: center;
      font-size: 28px; font-weight: 800; color: var(--primary);
      overflow: hidden;
    }
    .profile-avatar-inner img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

    /* ── Profile info ── */
    .profile-info-block { flex: 1; min-width: 0; }
    .profile-name-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
    .profile-display-name { font-size: 22px; font-weight: 900; color: var(--text); letter-spacing: -0.03em; }
    .profile-email-row { font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
    .profile-email-row i { color: var(--primary); opacity: 0.7; }

    /* ── Profile stats strip ── */
    .profile-stats-strip {
      display: flex; gap: 8px; flex-wrap: wrap;
    }
    .profile-stat-pill {
      display: flex; align-items: center; gap: 8px;
      background: var(--rgba-255-255-255-0-04);
      border: 1px solid var(--rgba-255-255-255-0-07);
      border-radius: 100px; padding: 6px 14px;
      backdrop-filter: blur(8px);
      transition: all 0.2s ease;
    }
    .profile-stat-pill:hover { background: var(--rgba-6-182-212-0-08); border-color: var(--rgba-6-182-212-0-2); }
    .profile-stat-pill-icon { font-size: 12px; color: var(--primary); opacity: 0.8; }
    .profile-stat-pill-label { font-size: 10px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
    .profile-stat-pill-value { font-size: 12px; font-weight: 600; color: var(--text-secondary); }

    /* ── Tab Navigation ── */
    .settings-tabs-nav {
      display: flex; gap: 4px; flex-wrap: wrap;
      background: var(--rgba-255-255-255-0-02);
      border: 1px solid var(--rgba-6-182-212-0-1);
      border-radius: 16px; padding: 6px;
      margin-bottom: 24px;
      backdrop-filter: blur(12px);
    }
    .settings-tab-btn {
      display: flex; align-items: center; gap: 8px;
      padding: 10px 18px; border-radius: 12px;
      font-size: 13px; font-weight: 600;
      color: var(--text-secondary);
      background: none; border: none; cursor: pointer;
      transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
      white-space: nowrap; position: relative;
    }
    .settings-tab-btn:hover { color: var(--text); background: var(--rgba-255-255-255-0-04); }
    .settings-tab-btn.active {
      color: var(--primary);
      background: linear-gradient(135deg, var(--rgba-6-182-212-0-15), var(--rgba-6-182-212-0-07));
      border: 1px solid var(--rgba-6-182-212-0-25);
      box-shadow: 0 4px 16px var(--rgba-6-182-212-0-12), inset 0 1px 0 var(--rgba-255-255-255-0-06);
    }
    .settings-tab-btn .tab-icon { font-size: 14px; }
    .settings-tab-btn .tab-dot {
      width: 6px; height: 6px; border-radius: 50%;
      background: var(--success);
      box-shadow: 0 0 6px var(--success);
      display: none;
    }
    .settings-tab-btn.has-dot .tab-dot { display: block; }

    /* ── Tab Panels ── */
    .settings-tab-panel { display: none; animation: tabFadeIn 0.3s ease; }
    .settings-tab-panel.active { display: block; }
    @keyframes tabFadeIn {
      from { opacity: 0; transform: translateY(8px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    /* ══════════════════════════════════════════════════════════════
       SECTION CARDS
    ══════════════════════════════════════════════════════════════ */
    .s-card {
      background: linear-gradient(160deg, var(--rgba-6-182-212-0-03) 0%, var(--surface) 35%);
      border: 1px solid var(--border-light);
      border-radius: 20px; overflow: hidden;
      margin-bottom: 18px;
      transition: border-color 0.25s ease, box-shadow 0.25s ease;
      box-shadow: 0 2px 24px var(--rgba-0-0-0-0-28), inset 0 1px 0 var(--rgba-255-255-255-0-03);
      position: relative;
    }
    .s-card::before {
      content: '';
      position: absolute; top: 0; left: 0; right: 0; height: 1px;
      background: linear-gradient(90deg, transparent, var(--rgba-6-182-212-0-3), transparent);
      opacity: 0; transition: opacity 0.25s ease;
    }
    .s-card:hover::before { opacity: 1; }
    .s-card:hover {
      border-color: var(--rgba-6-182-212-0-22);
      box-shadow: 0 4px 40px var(--rgba-0-0-0-0-35), 0 0 0 1px var(--rgba-6-182-212-0-06) inset;
    }
    .s-card:last-child { margin-bottom: 0; }

    /* ── Card header ── */
    .s-card-head {
      display: flex; align-items: center; justify-content: space-between;
      gap: 14px; padding: 20px 24px 18px;
      border-bottom: 1px solid var(--rgba-6-182-212-0-07);
      background: linear-gradient(90deg, var(--rgba-6-182-212-0-05) 0%, transparent 50%);
      flex-wrap: wrap;
    }
    .s-card-head-left { display: flex; align-items: center; gap: 14px; min-width: 0; }

    /* ── Card icon ── */
    .s-card-icon {
      width: 42px; height: 42px; border-radius: 13px;
      display: flex; align-items: center; justify-content: center;
      font-size: 18px; flex-shrink: 0;
      position: relative; overflow: hidden;
    }
    .s-card-icon::after {
      content: '';
      position: absolute; inset: 0;
      background: linear-gradient(135deg, var(--rgba-255-255-255-0-1) 0%, transparent 60%);
      border-radius: inherit;
    }
    .s-card-icon.cyan   { background: linear-gradient(135deg, var(--rgba-6-182-212-0-25), var(--rgba-6-182-212-0-08)); border: 1px solid var(--rgba-6-182-212-0-3); color: var(--hex-06b6d4); box-shadow: 0 0 20px var(--rgba-6-182-212-0-15); }
    .s-card-icon.yellow { background: linear-gradient(135deg, var(--rgba-251-191-36-0-25), var(--rgba-251-191-36-0-08)); border: 1px solid var(--rgba-251-191-36-0-3); color: var(--hex-fbbf24); box-shadow: 0 0 20px var(--rgba-251-191-36-0-15); }
    .s-card-icon.purple { background: linear-gradient(135deg, var(--rgba-139-92-246-0-25), var(--rgba-139-92-246-0-08)); border: 1px solid var(--rgba-139-92-246-0-3); color: var(--hex-a78bfa); box-shadow: 0 0 20px var(--rgba-139-92-246-0-15); }
    .s-card-icon.discord{ background: linear-gradient(135deg, var(--rgba-88-101-242-0-25), var(--rgba-88-101-242-0-08)); border: 1px solid var(--rgba-88-101-242-0-3); color: var(--hex-5865f2); box-shadow: 0 0 20px var(--rgba-88-101-242-0-15); }
    .s-card-icon.green  { background: linear-gradient(135deg, var(--rgba-52-211-153-0-25), var(--rgba-52-211-153-0-08)); border: 1px solid var(--rgba-52-211-153-0-3); color: var(--hex-34d399); box-shadow: 0 0 20px var(--rgba-52-211-153-0-15); }
    .s-card-icon.red    { background: linear-gradient(135deg, var(--rgba-248-113-113-0-25), var(--rgba-248-113-113-0-08)); border: 1px solid var(--rgba-248-113-113-0-3); color: var(--hex-f87171); box-shadow: 0 0 20px var(--rgba-248-113-113-0-15); }

    .s-card-title { font-size: 15px; font-weight: 800; color: var(--text); letter-spacing: -0.01em; }
    .s-card-subtitle { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

    /* ── Card body ── */
    .s-card-body { padding: 22px 24px; }

    /* ── Form section divider ── */
    .s-form-section {
      padding: 20px 24px;
      border-bottom: 1px solid var(--rgba-6-182-212-0-05);
    }
    .s-form-section:last-child { border-bottom: none; }
    .s-section-label {
      font-size: 11px; font-weight: 700; color: var(--text-muted);
      text-transform: uppercase; letter-spacing: 0.12em;
      margin-bottom: 16px;
      display: flex; align-items: center; gap: 10px;
    }
    .s-section-label i { color: var(--primary); font-size: 12px; }
    .s-section-label::after {
      content: '';
      flex: 1; height: 1px;
      background: linear-gradient(90deg, var(--rgba-6-182-212-0-18), transparent);
    }

    /* ══════════════════════════════════════════════════════════════
       SESSIONS
    ══════════════════════════════════════════════════════════════ */
    .session-item {
      display: flex; align-items: flex-start; gap: 14px;
      padding: 14px 16px;
      border: 1px solid var(--border);
      border-radius: 14px;
      background: linear-gradient(135deg, var(--surface2), var(--surface));
      margin-bottom: 10px;
      transition: all 0.22s ease;
      position: relative; overflow: hidden;
    }
    .session-item::before {
      content: '';
      position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
      background: transparent; border-radius: 0 3px 3px 0;
      transition: background 0.22s ease;
    }
    .session-item:last-child { margin-bottom: 0; }
    .session-item:hover { border-color: var(--border-light); transform: translateX(3px); box-shadow: 0 4px 20px var(--rgba-0-0-0-0-2); }
    .session-item:hover::before { background: var(--rgba-6-182-212-0-4); }
    .session-item.current-session {
      border-color: var(--rgba-6-182-212-0-28);
      background: linear-gradient(135deg, var(--rgba-6-182-212-0-07), var(--rgba-6-182-212-0-02));
    }
    .session-item.current-session::before { background: var(--primary); box-shadow: 0 0 8px var(--rgba-6-182-212-0-5); }
    .session-item.revoked-session { opacity: 0.35; pointer-events: none; }
    .session-device-icon {
      width: 40px; height: 40px; border-radius: 12px;
      background: var(--rgba-6-182-212-0-1); border: 1px solid var(--rgba-6-182-212-0-2);
      display: flex; align-items: center; justify-content: center;
      font-size: 18px; flex-shrink: 0; color: var(--primary);
    }
    .session-info { flex: 1; min-width: 0; }
    .session-info-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
    .session-browser { font-size: 13px; font-weight: 700; color: var(--text); }
    .session-meta { font-size: 11px; color: var(--text-secondary); display: flex; flex-wrap: wrap; gap: 0 14px; line-height: 1.8; }
    .session-meta i { margin-right: 4px; opacity: 0.5; }
    .session-actions { flex-shrink: 0; align-self: center; }

    /* ══════════════════════════════════════════════════════════════
       WEBHOOKS
    ══════════════════════════════════════════════════════════════ */
    .webhook-item {
      display: flex; align-items: center; gap: 14px;
      padding: 14px 16px;
      border: 1px solid var(--border);
      border-radius: 14px;
      background: linear-gradient(135deg, var(--surface2), var(--surface));
      margin-bottom: 10px;
      transition: all 0.22s ease;
    }
    .webhook-item:last-child { margin-bottom: 0; }
    .webhook-item:hover { border-color: var(--rgba-88-101-242-0-3); background: var(--rgba-88-101-242-0-04); }
    .webhook-discord-icon {
      width: 38px; height: 38px; border-radius: 11px;
      background: var(--rgba-88-101-242-0-12); border: 1px solid var(--rgba-88-101-242-0-28);
      display: flex; align-items: center; justify-content: center;
      font-size: 18px; flex-shrink: 0; color: var(--hex-5865f2);
    }
    .webhook-info { flex: 1; min-width: 0; }
    .webhook-label { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
    .webhook-url { font-size: 11px; color: var(--text-muted); font-family: monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 320px; }
    .webhook-status { font-size: 11px; margin-top: 2px; }
    .webhook-actions { display: flex; gap: 6px; flex-shrink: 0; flex-wrap: wrap; }

    /* ── Add webhook form ── */
    .webhook-add-form {
      background: linear-gradient(135deg, var(--rgba-88-101-242-0-06), var(--rgba-88-101-242-0-02));
      border: 1px solid var(--rgba-88-101-242-0-18);
      border-radius: 16px; padding: 18px; margin-bottom: 18px;
      position: relative; overflow: hidden;
    }
    .webhook-add-form::before {
      content: '';
      position: absolute; top: 0; left: 0; right: 0; height: 1px;
      background: linear-gradient(90deg, transparent, var(--rgba-88-101-242-0-5), transparent);
    }
    .webhook-add-form-title {
      font-size: 11px; font-weight: 700; color: var(--hex-7b8de0);
      text-transform: uppercase; letter-spacing: 0.1em;
      margin-bottom: 14px;
      display: flex; align-items: center; gap: 8px;
    }

    /* ══════════════════════════════════════════════════════════════
       2FA
    ══════════════════════════════════════════════════════════════ */
    .twofa-methods {
      display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 4px;
    }
    .twofa-method-card {
      border: 1px solid var(--border-light); border-radius: 16px; padding: 18px;
      background: linear-gradient(135deg, var(--rgba-6-182-212-0-04), var(--surface2));
      display: flex; flex-direction: column; align-items: center; gap: 12px;
      transition: border-color 0.22s ease;
    }
    .twofa-method-card:hover { border-color: var(--rgba-6-182-212-0-3); }
    .twofa-method-card .method-title {
      font-size: 11px; font-weight: 700; color: var(--text-muted);
      text-transform: uppercase; letter-spacing: .08em; align-self: flex-start;
    }
    .twofa-method-card .method-badge {
      font-size: 10px; font-weight: 700; padding: 2px 10px; border-radius: 99px;
      background: linear-gradient(135deg, var(--primary), var(--primary-dim));
      color: var(--hex-fff); align-self: flex-start; margin-top: -8px;
      box-shadow: 0 2px 10px var(--rgba-6-182-212-0-35);
    }
    #twofa-qr-container {
      background: var(--hex-fff); border-radius: 12px; padding: 10px;
      display: inline-flex; align-items: center; justify-content: center;
      box-shadow: 0 4px 24px var(--rgba-0-0-0-0-5);
    }
    #twofa-qr-container canvas, #twofa-qr-container img { display: block; border-radius: 4px; }
    .secret-copy-row { display: flex; gap: 8px; width: 100%; }
    .secret-copy-row input { flex: 1; min-width: 0; font-family: monospace; font-size: 12px; letter-spacing: .08em; }
    .btn-icon { flex-shrink: 0; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
    #twofa-backup-reveal-btn {
      background: none; border: none; cursor: pointer;
      color: var(--primary); font-size: 13px; padding: 0;
      display: inline-flex; align-items: center; gap: 6px; margin-top: 4px;
    }
    #twofa-backup-reveal-btn:hover { text-decoration: underline; }
    .twofa-forgot-link {
      background: none; border: none; cursor: pointer;
      color: var(--text-muted); font-size: 12px; padding: 0;
      text-decoration: underline; text-underline-offset: 2px;
    }
    .twofa-forgot-link:hover { color: var(--text-secondary); }
    .twofa-step-hint { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

    /* ── Info box ── */
    .s-info-box {
      background: var(--rgba-6-182-212-0-05);
      border: 1px solid var(--rgba-6-182-212-0-14);
      border-radius: 14px; padding: 14px 16px;
      margin-bottom: 18px;
      display: flex; gap: 10px; align-items: flex-start;
    }
    .s-info-box i { color: var(--primary); margin-top: 1px; flex-shrink: 0; }
    .s-info-box-text { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

    /* ── API token ── */
    #api-token-value {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px; letter-spacing: 0.03em;
      color: var(--primary);
      background: var(--surface3);
      border-color: var(--rgba-6-182-212-0-15);
    }

    /* ── Alert delivery checkboxes ── */
    .alert-event-card {
      display: flex; gap: 12px; align-items: flex-start;
      padding: 14px 16px;
      border: 1px solid var(--border);
      border-radius: 14px;
      background: linear-gradient(135deg, var(--surface2), var(--surface));
      cursor: pointer;
      transition: all 0.22s ease;
    }
    .alert-event-card:hover { border-color: var(--border-light); background: var(--surface3); }
    .alert-event-card:has(input:checked) {
      border-color: var(--rgba-6-182-212-0-35);
      background: var(--rgba-6-182-212-0-05);
      box-shadow: 0 0 0 1px var(--rgba-6-182-212-0-1) inset;
    }

    /* ── IP History table ── */
    .ip-history-wrap .table-wrapper { border-radius: 14px; border-color: var(--rgba-6-182-212-0-1); }

    /* ── Token stats grid ── */
    .token-stats-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px;
    }
    .token-stat-item {
      background: var(--surface2); border: 1px solid var(--border);
      border-radius: 12px; padding: 14px 16px;
      transition: border-color 0.22s ease;
    }
    .token-stat-item:hover { border-color: var(--border-light); }
    .token-stat-label {
      font-size: 10px; font-weight: 700; color: var(--text-muted);
      text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 5px;
      display: flex; align-items: center; gap: 5px;
    }
    .token-stat-value { font-size: 13px; font-weight: 600; color: var(--text-secondary); }

    /* ── Glowing divider ── */
    .s-glow-divider {
      height: 1px; margin: 0;
      background: linear-gradient(90deg, transparent, var(--rgba-6-182-212-0-15), transparent);
    }

    /* ══════════════════════════════════════════════════════════════
       MOBILE
    ══════════════════════════════════════════════════════════════ */
    @media (max-width: 768px) {
      .settings-profile-inner { padding: 20px; gap: 16px; }
      .settings-tabs-nav { gap: 2px; padding: 4px; border-radius: 14px; }
      .settings-tab-btn { padding: 8px 12px; font-size: 12px; gap: 6px; }
      .settings-tab-btn .tab-label { display: none; }
      .settings-tab-btn .tab-icon { font-size: 16px; }
      .s-card-head { padding: 16px 18px 14px; }
      .s-card-body { padding: 16px 18px; }
      .s-form-section { padding: 16px 18px; }
      .twofa-methods { grid-template-columns: 1fr; }
      .webhook-form-grid { grid-template-columns: 1fr !important; }
      .webhook-item { flex-wrap: wrap; }
      .webhook-actions { width: 100%; justify-content: flex-end; }
      .session-item { flex-wrap: wrap; }
      .session-actions { width: 100%; display: flex; justify-content: flex-end; margin-top: 6px; }
      .token-stats-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 480px) {
      .profile-stats-strip { display: none; }
      .profile-display-name { font-size: 18px; }
      .s-card-icon { width: 36px; height: 36px; font-size: 16px; border-radius: 10px; }
    }

    /* ── Birthday pill special style ── */
    .profile-stat-pill-birthday {
      border-color: var(--rgba-6-182-212-0-25) !important;
      background: var(--rgba-6-182-212-0-06) !important;
    }
    .profile-stat-pill-birthday:hover {
      background: var(--rgba-6-182-212-0-12) !important;
      border-color: var(--rgba-6-182-212-0-4) !important;
    }

    /* ══════════════════════════════════════════════════════════════
       BIRTHDAY CARD OVERLAY
    ══════════════════════════════════════════════════════════════ */
    #birthday-card-overlay {
      position: fixed; inset: 0; z-index: 9999;
      display: flex; align-items: center; justify-content: center;
      background: var(--rgba-0-0-0-0-75);
      backdrop-filter: blur(6px);
      animation: bdOverlayIn 0.4s ease;
    }
    @keyframes bdOverlayIn {
      from { opacity: 0; }
      to   { opacity: 1; }
    }
    .birthday-card {
      position: relative;
      max-width: 480px; width: 90%;
      background: linear-gradient(135deg, var(--hex-071318) 0%, var(--hex-0a1a20) 60%, var(--hex-0d2028) 100%);
      border: 1px solid var(--rgba-6-182-212-0-35);
      border-radius: 28px;
      padding: 48px 36px 40px;
      text-align: center;
      box-shadow: 0 0 80px var(--rgba-6-182-212-0-18), 0 24px 80px var(--rgba-0-0-0-0-6);
      overflow: hidden;
      animation: bdCardIn 0.5s cubic-bezier(0.34,1.56,0.64,1);
    }
    @keyframes bdCardIn {
      from { opacity: 0; transform: scale(0.7) translateY(40px); }
      to   { opacity: 1; transform: scale(1) translateY(0); }
    }
    .birthday-card::before {
      content: '';
      position: absolute; top: 0; left: 0; right: 0; height: 3px;
      background: linear-gradient(90deg, transparent, var(--hex-06b6d4), var(--hex-22d3ee), var(--hex-06b6d4), transparent);
    }
    .birthday-card-confetti {
      position: absolute; inset: 0; pointer-events: none; overflow: hidden;
    }
    .confetti-piece {
      position: absolute;
      width: 8px; height: 8px; border-radius: 2px;
      animation: confettiFall linear infinite;
      opacity: 0.8;
    }
    @keyframes confettiFall {
      0%   { transform: translateY(-20px) rotate(0deg); opacity: 1; }
      100% { transform: translateY(520px) rotate(720deg); opacity: 0; }
    }
    .birthday-emoji { font-size: 64px; margin-bottom: 16px; display: block; animation: bdBounce 1.2s ease infinite alternate; }
    @keyframes bdBounce {
      from { transform: translateY(0) scale(1); }
      to   { transform: translateY(-10px) scale(1.08); }
    }
    .birthday-card-title {
      font-size: 28px; font-weight: 900;
      background: linear-gradient(135deg, var(--hex-06b6d4), var(--hex-22d3ee), var(--hex-34d399));
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 8px; letter-spacing: -0.03em;
    }
    .birthday-card-name {
      font-size: 18px; font-weight: 700; color: var(--hex-e0f7fa); margin-bottom: 16px;
    }
    .birthday-card-msg {
      font-size: 14px; color: var(--rgba-224-247-250-0-65); line-height: 1.7;
      margin-bottom: 28px;
    }
    .birthday-card-close {
   background: linear-gradient(135deg, var(--hex-06b6d4), var(--hex-22d3ee));
      border: none; border-radius: 100px;
      color: var(--hex-071318); font-size: 14px; font-weight: 700;
      padding: 12px 32px; cursor: pointer;
    box-shadow: 0 4px 24px var(--rgba-6-182-212-0-4);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .birthday-card-close:hover { transform: translateY(-2px); box-shadow: 0 8px 32px var(--rgba-6-182-212-0-55); }
    .birthday-card-stars {
      position: absolute; inset: 0; pointer-events: none;
    }
    .bd-star {
      position: absolute; color: var(--hex-06b6d4); font-size: 10px;
      animation: bdStarTwinkle 2s ease-in-out infinite alternate;
    }
    @keyframes bdStarTwinkle {
      from { opacity: 0.2; transform: scale(0.8); }
      to   { opacity: 1; transform: scale(1.3); }
    }

/* generated inline-style classes from settings.html */

.settings-inline-1 {flex:1;min-width:0;}

.settings-inline-2 {display:flex;flex-direction:row;gap:5px;align-items:center;}

.settings-inline-3 {display:flex;align-items:center;gap:12px;}

.settings-inline-4 {font-family:monospace;}

.settings-inline-5 {color:var(--hex-06b6d4);}

.settings-inline-6 {background:none;border:none;cursor:pointer;padding:0 0 0 4px;color:var(--primary);font-size:11px;opacity:0.7;}

.settings-inline-7 {display:none;align-items:center;gap:8px;}

.settings-inline-8 {padding:5px 10px;font-size:12px;border-radius:100px;max-width:160px;height:34px;}

.settings-inline-9 {padding:5px 14px;font-size:12px;border-radius:100px;height:34px;}

.settings-inline-10 {padding:5px 12px;font-size:12px;border-radius:100px;height:34px;}

.settings-inline-11 {font-weight:400;text-transform:none;letter-spacing:0;color:var(--text-muted);font-size:11px;margin-left:4px;}

.settings-inline-12 {display:none;}

.settings-inline-13 {display:flex;align-items:center;gap:12px;padding:14px 16px;background:var(--rgba-52-211-153-0-06);border:1px solid var(--rgba-52-211-153-0-2);border-radius:14px;margin-bottom:16px;}

.settings-inline-14 {font-size:28px;}

.settings-inline-15 {font-size:13px;font-weight:700;color:var(--hex-34d399);}

.settings-inline-16 {font-size:12px;color:var(--rgba-52-211-153-0-7);margin-top:2px;}

.settings-inline-17 {display:flex;align-items:center;gap:12px;padding:14px 16px;background:var(--rgba-6-182-212-0-05);border:1px solid var(--rgba-6-182-212-0-15);border-radius:14px;margin-bottom:16px;}

.settings-inline-18 {font-size:13px;font-weight:700;color:var(--text-secondary);}

.settings-inline-19 {font-size:12px;color:var(--text-muted);margin-top:2px;}

.settings-inline-20 {border-color:var(--rgba-251-191-36-0-2);background:var(--rgba-251-191-36-0-05);}

.settings-inline-21 {color:var(--hex-fbbf24);}

.settings-inline-22 {color:var(--rgba-251-191-36-0-8);}

.settings-inline-23 {display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:16px;}

.settings-inline-24 {font-size:13px;color:var(--text-secondary);}

.settings-inline-25 {display:grid;gap:14px;}

.settings-inline-26 {margin-bottom:14px;}

.settings-inline-27 {margin-right:6px;}

.settings-inline-28 {margin-right:5px;}

.settings-inline-29 {font-size:11px;color:var(--text-muted);text-align:center;line-height:1.4;}

.settings-inline-30 {font-size:12px;color:var(--text-muted);align-self:flex-start;line-height:1.5;}

.settings-inline-31 {font-size:11px;color:var(--text-muted);align-self:flex-start;line-height:1.4;}

.settings-inline-32 {display:none;margin-top:14px;}

.settings-inline-33 {font-size:13px;color:var(--text-secondary);margin-bottom:6px;}

.settings-inline-34 {margin-right:6px;color:var(--warning);}

.settings-inline-35 {font-size:11px;font-weight:400;color:var(--text-muted);}

.settings-inline-36 {margin-top:16px;}

.settings-inline-37 {max-width:220px;}

.settings-inline-38 {display:flex;gap:10px;flex-wrap:wrap;margin-top:4px;}

.settings-inline-39 {display:flex;gap:10px;flex-wrap:wrap;align-items:center;}

.settings-inline-40 {margin-right:4px;}

.settings-inline-41 {display:none;margin-top:16px;}

.settings-inline-42 {margin-bottom:8px;}

.settings-inline-43 {display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px;}

.settings-inline-44 {max-width:180px;}

.settings-inline-45 {max-width:260px;}

.settings-inline-46 {display:flex;gap:10px;margin-top:10px;flex-wrap:wrap;}

.settings-inline-47 {font-size:11px;color:var(--primary);}

.settings-inline-48 {display:flex;flex-wrap:wrap;gap:10px;}

.settings-inline-49 {padding:32px;color:var(--text-muted);}

.settings-inline-50 {display:grid;gap:16px;}

.settings-inline-51 {display:grid;grid-template-columns:1fr 1fr;gap:12px;}

.settings-inline-52 {margin-top:2px;accent-color:var(--primary);}

.settings-inline-53 {display:block;font-weight:700;color:var(--text);font-size:13px;}

.settings-inline-54 {display:block;font-size:12px;color:var(--text-secondary);margin-top:3px;}

.settings-inline-55 {display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px;}

.settings-inline-56 {margin-bottom:0;}

.settings-inline-57 {padding:28px;color:var(--text-muted);}

.settings-inline-58 {padding-top:0;}

.settings-inline-59 {padding:24px;color:var(--text-muted);}

.qr-generation-error {color: var(--hex-e53e3e); font-size: 12px; padding: 8px;}
.ip-history-empty {color: var(--text-muted); padding: 20px;}
.ip-history-code {color: var(--primary);}
.ip-history-agent {max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.ip-history-error {color: var(--danger);}
.bd-star-dynamic {color: var(--color-primary);}


.icon-gap-4 { margin-right: 4px; }
.icon-gap-6 { margin-right: 6px; }
.discord-avatar-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.loading-panel { padding: 32px; color: var(--text-muted); }
.loading-panel-sm { padding: 28px; color: var(--text-muted); }
.empty-state-padded { padding: 32px 20px; }
.empty-icon-lg { font-size: 32px; }
.badge-xs { font-size: 10px; }
.badge-sm { font-size: 11px; }
.webhooks-empty { text-align: center; padding: 32px; color: var(--text-muted); font-size: 13px; }
.webhooks-empty-icon { font-size: 32px; display: block; margin-bottom: 12px; opacity: 0.2; }

