/* ============ TOAST NOTIFICATIONS ============ */
.toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 90%;
    max-width: 400px;
    pointer-events: none;
}

.toast {
    background: rgba(20, 20, 30, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: toastSlideIn 0.3s ease-out;
    pointer-events: auto;
    border-left: 4px solid var(--primary);
}

.toast.success { border-left-color: #22c55e; }
.toast.error { border-left-color: #ef4444; }
.toast.warning { border-left-color: #fbbf24; }

.toast .toast-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.toast.hide {
    animation: toastSlideOut 0.3s ease-in forwards;
}

@keyframes toastSlideIn {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes toastSlideOut {
    from { transform: translateY(0); opacity: 1; }
    to { transform: translateY(-30px); opacity: 0; }
}

/* ============ BUTON YÜKLENİYOR ============ */
.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============ INPUT HATA DURUMU ============ */
input.input-error {
    border-color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.1) !important;
    animation: inputShake 0.3s ease-in-out;
}

@keyframes inputShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
}

/* ============ ŞİFRE GÖSTER/GİZLE ============ */
.password-wrapper {
    position: relative;
    margin-bottom: 12px;
}

.password-wrapper input {
    margin-bottom: 0 !important;
    padding-right: 45px !important;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    transition: 0.2s;
}

.toggle-password:hover { color: #fff; }

/* ============ CONFIRM MODAL ============ */
.confirm-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    animation: fadeIn 0.2s;
}

.confirm-modal.open { display: flex; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.confirm-card {
    width: 100%;
    max-width: 340px;
    background: var(--bg-elevated);
    border-radius: 22px;
    padding: 28px 22px 22px;
    border: 1px solid var(--border);
    animation: popIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

@keyframes popIn {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.confirm-icon {
    font-size: 48px;
    margin-bottom: 12px;
    display: block;
    animation: iconBounce 0.5s ease-out 0.1s both;
}

@keyframes iconBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.confirm-title {
    font-size: 18px;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 8px;
}

.confirm-message {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 22px;
}

.confirm-actions {
    display: flex;
    gap: 10px;
}

.confirm-btn {
    flex: 1;
    padding: 14px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 800;
    min-height: 48px;
    transition: 0.2s;
}

.confirm-btn.cancel {
    background: var(--bg-input);
    color: var(--text);
    border: 1px solid var(--border);
}

.confirm-btn.confirm {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 6px 20px rgba(240, 42, 123, 0.4);
}

.confirm-btn.danger {
    background: var(--danger);
    color: #fff;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.confirm-btn:active { transform: scale(0.96); }

/* ================================================
   🎯 REAL-TIME BANNER (yuxarıdan pərdə)
   ================================================ */

.rt-top-banner {
    position: fixed;
    top: calc(env(safe-area-inset-top) + 70px);
    left: 50%;
    transform: translate(-50%, -200%);
    width: calc(100% - 24px);
    max-width: 400px;
    background: linear-gradient(135deg, rgba(20, 20, 35, 0.98), rgba(30, 20, 45, 0.98));
    border: 1px solid rgba(238, 42, 123, 0.4);
    border-radius: 16px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(238, 42, 123, 0.25);
    z-index: 99999;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    pointer-events: none;
}

.rt-top-banner.show {
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.rt-banner-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.rt-banner-body {
    flex: 1;
    min-width: 0;
}

.rt-banner-title {
    font-size: 11px;
    font-weight: 800;
    color: #ee2a7b;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.rt-banner-msg {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rt-banner-close {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: unset;
    min-height: unset;
    padding: 0;
}
.rt-banner-close::after { display: none !important; }
/* 🎯 Bottom nav badge (messages icon) */
.nav-item .nav-icon {
    position: relative;
    display: inline-block;
}

.nav-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    min-width: 16px;
    height: 16px;
    padding: 0 5px;
    background: #ef4444;
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    border-radius: 100px;
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 10;
    box-sizing: border-box;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.5);
    font-family: inherit;
}

/* 🎯 Banner-dəki avatar (artıq .rt-banner-icon daxilində) */
.rt-banner-icon img {
    display: block;
    border-radius: 50%;
}

/* 🎯 Sayt daxili anons pərdəsi */
.site-announcement-banner {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: linear-gradient(90deg, #ef4444, #b91c1c);
    color: #fff;
    padding: calc(env(safe-area-inset-top) + 12px) 16px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 14px;
    z-index: 999999;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.site-announcement-banner.show { transform: translateY(0); }
.site-announcement-banner span { font-size: 20px; animation: pulse 1.5s infinite; }
.site-announcement-banner div { flex: 1; }
.site-announcement-banner button {
    background: rgba(0,0,0,0.2); border: none; color: #fff;
    width: 24px; height: 24px; border-radius: 50%; font-size: 12px;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
}


/* 🎯 Yeni Musiqi Tabları */
.music-tabs-nav {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.music-tab-btn {
    flex: 1;
    padding: 10px;
    border-radius: 100px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s;
    font-family: inherit;
}
.music-tab-btn.active {
    background: linear-gradient(135deg, #ee2a7b, #6228d7);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(238,42,123,0.3);
}
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }

/* ═══════════════════════════════════════════════════════════
   👑 QLOBAL VIP/ADMIN CAM EFFEKTİ (HOME & PROFİL)
   ═══════════════════════════════════════════════════════════ */
.vip-name-glass, .admin-name-glass {
    background: linear-gradient(135deg, rgba(var(--vip-color-rgb, 0, 255, 255), 0.15), rgba(var(--vip-color-rgb, 0, 255, 255), 0.3)) !important;
    border: 1.5px solid var(--vip-color, #00ffff) !important;
    border-radius: 6px !important;
    padding: 1px 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
    box-shadow: 0 0 10px rgba(var(--vip-color-rgb, 0, 255, 255), 0.5), inset 0 0 5px rgba(var(--vip-color-rgb, 0, 255, 255), 0.3) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    position: relative;
}

.admin-name-glass {
    --vip-color: var(--admin-color, #ff4500);
    --vip-color-rgb: var(--admin-color-rgb, 255, 69, 0);
}



/* ═══════════════════════════════════════════════════════════
   👑 VIP TAC İKONU (SVG — QIZILI VƏ PARILDAYAN)
   ═══════════════════════════════════════════════════════════ */

.vip-crown-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    color: #fbbf24;
    margin-right: 4px;
    vertical-align: middle;
    position: relative;
    top: -1px;
    filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.9));
    animation: crownGlow 2s ease-in-out infinite alternate;
}

@keyframes crownGlow {
    0% {
        filter: drop-shadow(0 0 3px rgba(251, 191, 36, 0.6));
        transform: scale(1);
    }
    100% {
        filter: drop-shadow(0 0 8px rgba(251, 191, 36, 1));
        transform: scale(1.08);
    }
}

/* 🔒 Kiçik ekranlarda bir az kiçilt */
@media (max-width: 480px) {
    .vip-crown-icon {
        width: 14px;
        height: 14px;
        margin-right: 3px;
    }
}

/* ═══════════════════════════════════════════════════════════
   👑 VIP/ADMIN PILL ŞƏKİLLİ HƏRƏKƏTLİ İŞIQLI ÇƏRÇİVƏ
   ═══════════════════════════════════════════════════════════ */

/* 🎯 Angle dəyişəni — conic-gradient-i fırlatmaq üçün */
@property --vip-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.vip-name-glass,
.admin-name-glass {
    --vip-color: #00ffff;
    --vip-color-rgb: 0, 255, 255;

    background: linear-gradient(135deg, 
        rgba(var(--vip-color-rgb), 0.15), 
        rgba(var(--vip-color-rgb), 0.3)) !important;
    border: none !important; /* 🎯 Border-i sildik, ::before ilə əvəz edəcəyik */
    border-radius: 100px !important; /* 🎯 PILL ŞƏKİL (sağ-sol yumru) */
    padding: 2px 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
    position: relative;
    box-shadow: 
        0 0 10px rgba(var(--vip-color-rgb), 0.4), 
        inset 0 0 8px rgba(var(--vip-color-rgb), 0.3) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
}

/* 🎯 ADMIN üçün rəng */
.admin-name-glass {
    --vip-color: #ff4500;
    --vip-color-rgb: 255, 69, 0;
}

/* ═══════════════════════════════════════════════════════════
   🌟 HƏRƏKƏTLİ İŞIQ SƏRHƏDDİ (comet effekti)
   ═══════════════════════════════════════════════════════════ */

.vip-name-glass::before,
.admin-name-glass::before {
    content: '';
    position: absolute;
    inset: -2px; /* 🎯 Çərçivənin qalınlığı */
    border-radius: 100px; /* 🎯 Pill forması */
    padding: 2px;
    background: conic-gradient(
        from var(--vip-angle),
        transparent 0deg,
        transparent 260deg,
        rgba(var(--vip-color-rgb), 0.3) 290deg,
        var(--vip-color) 330deg,
        #fff 350deg,
        var(--vip-color) 360deg
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: vipLightRotate 3s linear infinite;
    pointer-events: none;
    z-index: 1;
}

/* 🎯 İşıq ləkəsinin fırlanması */
@keyframes vipLightRotate {
    from { --vip-angle: 0deg; }
    to { --vip-angle: 360deg; }
}

/* ═══════════════════════════════════════════════════════════
   ⏳ QLOBAL VIP/ADMIN ANİMASİYA (Mövcud — toxunma)
   ═══════════════════════════════════════════════════════════ */
.vip-name-text, .admin-name-text { transition: opacity 0.4s ease-in-out !important; display: inline-block; }
.vip-name-glass::after, .admin-name-glass::after {
    content: 'VIP'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    color: #fff; font-weight: 900; font-size: 10px; text-shadow: 0 0 10px var(--vip-color); 
    opacity: 0; transition: opacity 0.4s ease-in-out !important; pointer-events: none; letter-spacing: 1px;
    z-index: 2;
}
.admin-name-glass::after { content: 'ADMIN'; font-size: 9px; }

body.show-vip-label .vip-name-text, body.show-vip-label .admin-name-text { opacity: 0 !important; }
body.show-vip-label .vip-name-glass::after, body.show-vip-label .admin-name-glass::after { opacity: 1 !important; }

/* ═══════════════════════════════════════════════════════════
   🎨 MODERN SVG İKON STİLLƏRİ
   ═══════════════════════════════════════════════════════════ */

/* Bütün SVG ikonları üçün ortaq əsas */
.svg-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    flex-shrink: 0;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    transition: transform 0.2s ease;
}

/* Fərqli ölçülər */
.svg-icon-sm { width: 13px; height: 13px; stroke-width: 2.2; }
.svg-icon-md { width: 18px; height: 18px; }
.svg-icon-lg { width: 22px; height: 22px; }
.svg-icon-xl { width: 28px; height: 28px; }

/* Rəngli variantlar */
.svg-icon.hearts { stroke: #ef4444; filter: drop-shadow(0 0 4px rgba(239, 68, 68, 0.4)); }
.svg-icon.songs { stroke: #a78bfa; filter: drop-shadow(0 0 4px rgba(167, 139, 250, 0.4)); }
.svg-icon.likes { stroke: #3b82f6; filter: drop-shadow(0 0 4px rgba(59, 130, 246, 0.4)); }
.svg-icon.emojis { stroke: #f97316; filter: drop-shadow(0 0 4px rgba(249, 115, 22, 0.4)); }
.svg-icon.cares { stroke: #ec4899; filter: drop-shadow(0 0 4px rgba(236, 72, 153, 0.4)); }
.svg-icon.xp { stroke: #fbbf24; filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.4)); }
.svg-icon.crown { stroke: #fbbf24; filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.6)); fill: #fbbf24; }
.svg-icon.admin-crown { stroke: #ff4500; filter: drop-shadow(0 0 5px rgba(255, 69, 0, 0.6)); fill: #ff4500; }
dialog.vip-gift-receipt {
    position: fixed;
    inset: 0;
    margin: auto;
    box-sizing: border-box;
    width: min(360px, calc(100vw - 28px));
    max-height: calc(100dvh - 28px);
    overflow: auto;
    padding: 0;
    border: 1px solid #a17a58;
    border-radius: 24px;
    color: #fff7ec;
    background: radial-gradient(ellipse at top, #503044, #22182f 68%);
    box-shadow: 0 20px 80px #000a;
    font: inherit;
}

dialog.vip-gift-receipt::backdrop {
    background: rgb(11 7 18 / 76%);
    backdrop-filter: blur(5px);
}

.vip-gift-receipt-body {
    display: grid;
    gap: 13px;
    justify-items: center;
    padding: 23px 18px 18px;
    text-align: center;
    animation: vipGiftReceiptIn .28s ease-out both;
}

.vip-gift-receipt-crown {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    color: #4a2a36;
    background: linear-gradient(135deg, #fff0bc, #e9aa56);
    box-shadow: 0 5px 28px rgb(245 189 101 / 24%);
}

.vip-gift-receipt-crown svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linejoin: round;
}

.vip-gift-receipt-body h2 {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
}

.vip-gift-receipt-days {
    padding: 5px 12px;
    border: 1px solid #8c6a52;
    border-radius: 99px;
    color: #ffdf9c;
    background: #402b38;
    font-size: 13px;
    font-weight: 800;
}

.vip-gift-receipt-sender {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid #5b4767;
    border-radius: 14px;
    background: #2f223b;
    text-align: start;
}

.vip-gift-receipt-avatar {
    position: relative;
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    overflow: hidden;
    border-radius: 50%;
    background: #765286;
    font-weight: 800;
}

.vip-gift-receipt-avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vip-gift-receipt-sender small,
.vip-gift-receipt-sender strong {
    display: block;
    overflow-wrap: anywhere;
}

.vip-gift-receipt-sender small {
    color: #d6c1e2;
    font-size: 11px;
}

.vip-gift-receipt-claim {
    width: 100%;
    min-height: 46px;
    border: 0;
    border-radius: 13px;
    color: #35232b;
    background: linear-gradient(115deg, #ffeabc, #f2b869);
    font: inherit;
    font-weight: 850;
    cursor: pointer;
}

.vip-gift-receipt-claim:disabled {
    cursor: default;
}

.vip-gift-receipt.is-claimed .vip-gift-receipt-claim {
    color: #16362b;
    background: #a4e6be;
}

.vip-gift-receipt-status {
    margin: 0;
    color: #ffbdc8;
    font-size: 12px;
}

.vip-gift-receipt-status:empty {
    display: none;
}

@keyframes vipGiftReceiptIn {
    from { opacity: 0; transform: translateY(8px) scale(.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .vip-gift-receipt-body { animation: none; }
}

.balance-gift-entry {
    --gift-accent: #ff8ba9;
    --gift-surface: #442135;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0 0 12px;
    padding: 11px 13px;
    border: 1px solid var(--gift-accent);
    border-radius: 16px;
    background: linear-gradient(120deg, var(--gift-surface), #241a2b);
    color: #fff6fb;
    text-align: start;
    cursor: pointer;
}

.balance-gift-entry--emojis {
    --gift-accent: #84edce;
    --gift-surface: #173d39;
}

.balance-gift-entry svg {
    flex: none;
    box-sizing: border-box;
    width: 38px;
    height: 38px;
    padding: 8px;
    border-radius: 12px;
    background: var(--gift-accent);
    fill: none;
    stroke: #241a2b;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.balance-gift-entry strong,
.balance-gift-entry small {
    display: block;
}

.balance-gift-entry small {
    margin-top: 3px;
    color: #e0cddd;
}

.vg-composer[data-balance-gift="hearts"] .vg-pack-icon,
.vip-gift-receipt[data-gift-kind="hearts"] .vip-gift-receipt-crown {
    background: linear-gradient(135deg, #ffd4dd, #ff8ba9);
}

.vg-composer[data-balance-gift="emojis"] .vg-pack-icon,
.vip-gift-receipt[data-gift-kind="emojis"] .vip-gift-receipt-crown {
    background: linear-gradient(135deg, #c5ffe9, #84edce);
}

.vg-center-colors {
    --vg-option-border: #a481ca;
    --vg-option-bg: #48305e;
    --vg-option-icon: #dec1ff;
}

.vg-color-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    max-height: min(54dvh, 430px);
    overflow-y: auto;
    padding: 2px;
}

.vg-color-card {
    display: grid;
    gap: 6px;
    min-width: 0;
    padding: 9px;
    border: 1px solid #6d5387;
    border-radius: 15px;
    background: linear-gradient(150deg, #362746, #251c32);
    color: #fff5ff;
    text-align: start;
    cursor: pointer;
}

.vg-color-card:hover,
.vg-color-card:focus-visible {
    border-color: var(--vg-swatch);
}

.vg-color-card strong {
    overflow-wrap: anywhere;
    font-size: 13px;
}

.vg-color-card small {
    color: #efd6a4;
    font-size: 12px;
}

.vg-color-card .vg-color-sample,
.vg-composer .vg-color-sample,
.vip-gift-receipt .vg-color-sample {
    display: grid;
    place-items: center;
    min-height: 38px;
    border-radius: 10px;
    background: #1c1429;
    color: var(--vg-swatch);
    text-shadow: 0 0 10px var(--vg-glow);
    font-size: 23px;
    font-weight: 850;
}

.vip-gift-color-choice {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.vip-gift-color-choice legend {
    margin-bottom: 8px;
    padding: 0;
    color: #ead9f0;
    font-size: 13px;
    font-weight: 750;
}

.vip-gift-color-choice label {
    position: relative;
    min-width: 0;
    cursor: pointer;
}

.vip-gift-color-choice input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.vip-gift-color-choice label > span {
    display: grid;
    gap: 3px;
    box-sizing: border-box;
    height: 100%;
    padding: 9px 7px;
    border: 1px solid #604b70;
    border-radius: 12px;
    background: #2e223c;
    color: #fff5fc;
}

.vip-gift-color-choice small {
    color: #d9c3e5;
    font-size: 11px;
}

.vip-gift-color-choice input:checked + span {
    border-color: #eac182;
    background: linear-gradient(135deg, #4f3645, #3b2947);
}

.vip-gift-color-choice input:focus-visible + span {
    outline: 2px solid #f0c8ff;
    outline-offset: 2px;
}

.post-video {
    display: block;
    width: 100%;
    max-height: min(65dvh, 540px);
    object-fit: contain;
    background: #14101d;
    border-radius: 14px;
}

.post-video-preview {
    max-height: 220px;
    margin-bottom: 12px;
}

.discover-post-tile .post-video-thumb {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.post-share-dialog {
    box-sizing: border-box;
    width: min(370px, calc(100vw - 24px));
    padding: 16px;
    border: 1px solid #775b90;
    border-radius: 20px;
    background: linear-gradient(145deg, #382649, #22192e);
    color: #fff3ff;
}

.post-share-dialog::backdrop {
    background: rgb(12 8 19 / 72%);
}

.post-share-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.post-share-header h2 {
    margin: 0;
    font-size: 17px;
}

.post-share-header button,
.post-share-person {
    padding: 9px 12px;
    border: 1px solid #684e80;
    border-radius: 11px;
    background: #432e55;
    color: #fff3ff;
    cursor: pointer;
}

.post-share-list {
    display: grid;
    gap: 7px;
    max-height: 50dvh;
    overflow-y: auto;
}

.post-share-person {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: start;
}

.dm-shared-post {
    display: inline-flex;
    gap: 8px;
    padding: 7px 10px;
    border: 1px solid rgb(255 255 255 / 25%);
    border-radius: 10px;
    color: inherit;
    text-decoration: none;
    font-weight: 750;
}