
/* =====================================================================
   YARAAN APP - COMPLETE CSS FILE (SQUARE & COMPACT SVIP CHAT BUBBLES)
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700;800&family=Roboto:wght:400;500;700&display=swap');

:root {
    --app-bg: #ffffff; 
}

html, body { 
    margin: 0; 
    padding: 0; 
    height: 100%; 
    width: 100%; 
    background-color: #ffffff !important; 
    -webkit-tap-highlight-color: transparent; 
    overscroll-behavior: none; 
}

#app-container { 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    position: relative; 
    background-color: #ffffff !important; 
    height: 100%; 
    overflow: hidden; 
}

.view-section { 
    flex: 1; 
    overflow-y: auto; 
    padding-bottom: 100px; 
    display: none; 
    flex-direction: column; 
    position: relative; 
    width: 100%; 
    height: 100%; 
    background-color: #ffffff !important; 
}

/* ====== SUPER MIC TOGGLE SWITCH CSS ====== */
.toggle-switch {
    width: 46px; height: 24px; background-color: #d1d5db; border-radius: 9999px;
    position: relative; cursor: pointer; transition: background-color 0.3s;
}
.toggle-switch.active { background-color: #22c55e; }
.toggle-circle {
    width: 20px; height: 20px; background-color: white; border-radius: 50%;
    position: absolute; top: 2px; left: 2px; transition: transform 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.toggle-switch.active .toggle-circle { transform: translateX(22px); }

/* =================================================================
   🔥 PERFECTLY CENTERED & COMPACT SVIP CHAT BUBBLES (SVIP 1 - 5) 🔥
================================================================= */
.svip-bubble-1, .svip-bubble-2, .svip-bubble-3, .svip-bubble-4, .svip-bubble-5 {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: fit-content !important;
    max-width: 85% !important;
    min-width: unset !important;
    height: auto !important;
    min-height: 24px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    word-break: break-word !important;
    white-space: normal !important;
    color: #ffffff !important;
    position: relative !important;
    margin-top: 3px !important;
    margin-bottom: 3px !important;
    text-align: center !important;
    vertical-align: middle !important;
}

/* SVIP 1 */
.svip-bubble-1 {
    background: linear-gradient(135deg, #072228 0%, #031418 100%) !important;
    border: 1.5px solid #00f2c3 !important;
    box-shadow: 0 0 8px rgba(0, 242, 195, 0.35) !important;
    padding: 4px 22px 4px 10px !important;
}

/* SVIP 2 */
.svip-bubble-2 {
    background: linear-gradient(135deg, #05260c 0%, #021406 100%) !important;
    border: 1.5px solid #00ff38 !important;
    box-shadow: 0 0 8px rgba(0, 255, 56, 0.4) !important;
    padding: 4px 22px 4px 10px !important;
}

/* SVIP 3 */
.svip-bubble-3 {
    background: linear-gradient(135deg, #061c4f 0%, #030d2a 100%) !important;
    border: 1.5px solid #2979ff !important;
    box-shadow: 0 0 10px rgba(41, 121, 255, 0.45) !important;
    padding: 4px 22px 4px 10px !important;
}

/* SVIP 4 */
.svip-bubble-4 {
    background: linear-gradient(135deg, #2c054f 0%, #150228 100%) !important;
    border: 1.5px solid #d500f9 !important;
    box-shadow: 0 0 10px rgba(213, 0, 249, 0.45) !important;
    padding: 4px 22px 4px 10px !important;
}

/* SVIP 5 */
.svip-bubble-5 {
    background: linear-gradient(135deg, #450308 0%, #1d0104 100%) !important;
    border: 1.5px solid #ffd700 !important;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.6) !important;
    padding: 4px 24px 4px 12px !important;
}

/* SVIP 1: TEAL RECTANGLE WITH TEAL LEAF CORNER */
.svip-bubble-1 {
    background: linear-gradient(135deg, #072228 0%, #031418 100%) !important;
    border: 1.5px solid #00f2c3 !important;
    box-shadow: 0 0 8px rgba(0, 242, 195, 0.35) !important;
    padding: 5px 22px 5px 12px !important;
}
.svip-bubble-1::before {
    content: '🌿';
    position: absolute;
    top: -8px;
    left: -7px;
    font-size: 11px;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.8));
}
.svip-bubble-1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 15px;
    height: 15px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300f2c3'%3E%3Cpath d='M5 16L3 5l5.5 5L12 4l3.5 6L21 5l-2 11H5zm14 3c0 .6-.4 1-1 1H6c-.6 0-1-.4-1-1v-1h14v1z'/%3E%3C/svg%3E") no-repeat center/contain;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.8));
}

/* SVIP 2: EMERALD GREEN WITH LUCKY CLOVER GEM */
.svip-bubble-2 {
    background: linear-gradient(135deg, #05260c 0%, #021406 100%) !important;
    border: 1.5px solid #00ff38 !important;
    box-shadow: 0 0 8px rgba(0, 255, 56, 0.4) !important;
    padding: 5px 24px 5px 12px !important;
}
.svip-bubble-2::before {
    content: '🍀';
    position: absolute;
    top: -8px;
    left: -7px;
    font-size: 11px;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.9));
}
.svip-bubble-2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300ff38'%3E%3Cpath d='M5 16L3 5l5.5 5L12 4l3.5 6L21 5l-2 11H5zm14 3c0 .6-.4 1-1 1H6c-.6 0-1-.4-1-1v-1h14v1z'/%3E%3C/svg%3E") no-repeat center/contain;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.9));
}

/* SVIP 3: ROYAL SAPPHIRE BLUE WITH DIAMOND */
.svip-bubble-3 {
    background: linear-gradient(135deg, #061c4f 0%, #030d2a 100%) !important;
    border: 1.5px solid #2979ff !important;
    box-shadow: 0 0 10px rgba(41, 121, 255, 0.45) !important;
    padding: 5px 24px 5px 12px !important;
}
.svip-bubble-3::before {
    content: '💎';
    position: absolute;
    top: -8px;
    left: -7px;
    font-size: 11px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.9));
}
.svip-bubble-3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23facc15'%3E%3Cpath d='M5 16L3 5l5.5 5L12 4l3.5 6L21 5l-2 11H5zm14 3c0 .6-.4 1-1 1H6c-.6 0-1-.4-1-1v-1h14v1z'/%3E%3C/svg%3E") no-repeat center/contain;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.9));
}

/* SVIP 4: MYSTIC AMETHYST PURPLE WITH MAGIC CRYSTAL */
.svip-bubble-4 {
    background: linear-gradient(135deg, #2c054f 0%, #150228 100%) !important;
    border: 1.5px solid #d500f9 !important;
    box-shadow: 0 0 10px rgba(213, 0, 249, 0.45) !important;
    padding: 5px 24px 5px 12px !important;
}
.svip-bubble-4::before {
    content: '🔮';
    position: absolute;
    top: -8px;
    left: -7px;
    font-size: 11px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.9));
}
.svip-bubble-4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23facc15'%3E%3Cpath d='M5 16L3 5l5.5 5L12 4l3.5 6L21 5l-2 11H5zm14 3c0 .6-.4 1-1 1H6c-.6 0-1-.4-1-1v-1h14v1z'/%3E%3C/svg%3E") no-repeat center/contain;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.9));
}

/* SVIP 5: SUPREME IMPERIAL CRIMSON RED & GOLD (BEST LUXURY DESIGN) */
.svip-bubble-5 {
    background: linear-gradient(135deg, #450308 0%, #1d0104 100%) !important;
    border: 1.5px solid #ffd700 !important;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.6) !important;
    padding: 6px 26px 6px 14px !important;
}
.svip-bubble-5::before {
    content: '👑';
    position: absolute;
    top: -9px;
    left: -7px;
    font-size: 12px;
    filter: drop-shadow(0 2px 5px rgba(255, 215, 0, 0.9));
}
.svip-bubble-5::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffd700'%3E%3Cpath d='M5 16L3 5l5.5 5L12 4l3.5 6L21 5l-2 11H5zm14 3c0 .6-.4 1-1 1H6c-.6 0-1-.4-1-1v-1h14v1z'/%3E%3C/svg%3E") no-repeat center/contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.9));
}

/* ====== NEW SEAT NAME FIX ====== */
.seat-name {
    font-size: 10px !important; 
    font-weight: 800;
    text-align: center !important; 
    width: 100%;
    max-width: 65px; 
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block !important;
    margin-top: 5px !important;
    line-height: 1.2;
}

.seat-name.occupied {
    font-size: 13.5px !important; 
    margin-top: 15px !important; 
    max-width: 80px; 
    letter-spacing: 0.3px;
}

/* Full Profile View - SECURE SCROLLING & OVERLAP */
#full-profile-view {
    transition: transform 0.3s ease-in-out;
    will-change: transform;
    background-color: #000 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100 % !important;
    height: 100% !important;
    z-index: 5000 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
}

#full-profile-view .relative.w-full.h-80 {
    height: 280px !important;
    flex-shrink: 0 !important;
}

.fpv-white-board {
    margin-top: -25px !important;
    border-top-left-radius: 30px !important;
    border-top-right-radius: 30px !important;
    box-shadow: 0 -10px 25px rgba(0,0,0,0.5) !important;
    background-color: white !important;
    position: relative !important;
    z-index: 30 !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    min-height: 0 !important; 
    overflow: hidden !important;
}

.fpv-scroll-area {
    flex: 1 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-top: 12px !important;
    padding-bottom: 40px !important;
    max-height: none !important;
    height: auto !important;
}

#fpv-frames-list {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 15px !important;
    padding: 10px 0 !important;
    width: 100% !important;
}

#fpv-medals-list {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 15px !important;
    padding: 10px 0 30px 0 !important;
    width: 100% !important;
}

#fpv-frames-list > div {
    width: 100% !important;
    text-align: center !important;
}

#fpv-medals-list > div {
    width: 100% !important;
    text-align: center !important;
}

#fpv-tab-intimacy {
    min-height: 280px !important;
    height: auto !important;
    margin-bottom: 30px !important;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    position: relative !important;
}

#cp-bg-video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.fpv-scroll-area::-webkit-scrollbar { width: 4px !important; }
.fpv-scroll-area::-webkit-scrollbar-track { background: #f1f1f1 !important; }
.fpv-scroll-area::-webkit-scrollbar-thumb { background: #c084fc !important; border-radius: 10px !important; }
.fpv-scroll-area::-webkit-scrollbar-thumb:hover { background: #a855f7 !important; }

#fpv-tab-intimacy .flex.items-center.justify-center.gap-6 {
    flex-wrap: wrap !important;
}

body { font-family: 'Montserrat', sans-serif; color: #1f2937; overflow: hidden; display: flex; flex-direction: column; padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); }

/* HEADER */
#app-header { background-color: var(--app-bg) !important; border: none !important; padding-top: 15px; padding-bottom: 5px; display: none; flex-direction: row; align-items: center; justify-content: space-between; padding-left: 15px; padding-right: 15px; z-index: 50; white-space: nowrap; height: 50px; flex-shrink: 0; }
.tabs-wrapper { display: flex; align-items: baseline; gap: 15px; }
.home-tab { font-family: 'Montserrat', sans-serif; background: none; border: none; cursor: pointer; padding: 0; margin: 0; transition: all 0.2s ease; font-size: 14px; font-weight: 500; color: var(--inactive-text); }
.home-tab.active { font-size: 19px; font-weight: 800; color: var(--active-text); border-bottom: 2px solid #000; padding-bottom: 2px; } 
.header-icons { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.icon-btn { font-size: 20px; display: flex; align-items: center; justify-content: center; }

/* CAROUSEL CSS */
.modern-carousel { position: relative; width: 100%; height: 105px; overflow: hidden; border-radius: 12px; background: #f0f0f0; margin-top: 5px; touch-action: pan-y; }
.carousel-track { display: flex; height: 100%; transition: transform 0.5s ease-in-out; width: 100%; }
.carousel-slide { min-width: 100%; height: 100%; position: relative; }
.carousel-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 10; }
.dot { width: 6px; height: 6px; background-color: rgba(255, 255, 255, 0.5); border-radius: 50%; transition: all 0.3s ease; }
.dot.active { width: 16px; border-radius: 10px; background-color: #ffffff; }

/* 3 ICON MENU CSS */
.mid-menu-container { display: flex; justify-content: space-between; padding: 5px 15px 15px 15px; gap: 10px; }
.mid-menu-item { flex: 1; height: 70px; border-radius: 10px; overflow: hidden; background: #fafafa; position: relative; box-shadow: 0 2px 5px rgba(0,0,0,0.05); cursor: pointer; transition: transform 0.1s; }
.mid-menu-item:active { transform: scale(0.95); }
.mid-menu-img { width: 100%; height: 100%; object-fit: fill; }

/* GRID ROOM LAYOUT CSS */
#home-room-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; row-gap: 25px; padding: 0 15px 80px 15px; }
.room-card-wrapper { display: flex; flex-direction: column; gap: 8px; }
.room-card-new { position: relative; aspect-ratio: 1 / 1.1; border-radius: 16px; overflow: hidden; background-color: #f3f4f6; box-shadow: 0 4px 12px rgba(0,0,0,0.08); width: 100%; transition: transform 0.2s; }
.room-card-new:active { transform: scale(0.98); }
.room-card-cover { width: 100%; height: 100%; object-fit: cover; }
.room-card-overlay { position: absolute; bottom: 0; left: 0; width: 100%; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); padding: 10px; display: flex; align-items: flex-end; justify-content: center; }
.room-live-tag { position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,0.7); border: 1.5px solid #22c55e; color: #22c55e; font-size: 10px; padding: 3px 8px; border-radius: 20px; font-weight: 800; display: flex; align-items: center; gap: 4px; z-index: 20; backdrop-filter: blur(2px); }
.room-live-tag .pulse-dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; animation: pulse 1.5s infinite; }
@keyframes pulse { 0% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.2); } 100% { opacity: 1; transform: scale(1); } }
.room-target-tag { position: absolute; top: 45px; left: 10px; background: rgba(0,0,0,0.7); border: 1.5px solid #facc15; color: #facc15; font-size: 9px; padding: 3px 8px; border-radius: 20px; font-weight: 800; display: flex; align-items: center; gap: 4px; z-index: 20; backdrop-filter: blur(2px); }
.room-target-tag img { width: 12px; height: 12px; object-fit: contain; }
.room-user-badge { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,0.7); color: white; font-size: 11px; padding: 3px 8px; border-radius: 20px; font-weight: 700; display: flex; align-items: center; gap: 5px; backdrop-filter: blur(2px); z-index: 20; }
.room-card-title { color: white; font-size: 15px; font-weight: 900; text-shadow: 0 2px 4px rgba(0,0,0,0.9); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; letter-spacing: 0.3px; }

.room-info-bottom { 
    display: flex; 
    align-items: center; 
    gap: 5px; 
    padding: 8px 8px 6px 8px; 
    background: white;
    border-radius: 0 0 16px 16px;
}
.room-gender-icon { width: 14px; height: 14px; object-fit: contain; }
.room-owner-name { font-size: 12px; font-weight: 800; color: #374151; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }

.visual-root { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: visible !important; }
.visual-img { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 78%; height: 78%; border-radius: 50%; object-fit: cover; z-index: 10; }
.visual-frame { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 270% !important; height: 270% !important; object-fit: contain; z-index: 20; pointer-events: none; filter: drop-shadow(0 5px 10px rgba(0,0,0,0.8)); }
.profile-page-visual { width: 90px; height: 90px; position: relative; display: flex; align-items: center; justify-content: center; overflow: visible !important; flex-shrink: 0; }
.frame-preview-box { width: 80px; height: 80px; position: relative; margin: 15px 0; display: flex; align-items: center; justify-content: center; overflow: visible !important; }

.view-section { flex: 1; overflow-y: auto; padding-bottom: 80px; display: none; flex-direction: column; position: relative; width: 100%; height: 100%; }
.view-active { display: flex !important; animation: fadeIn 0.2s ease; }
.light-bg { background-color: var(--app-bg) !important; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* MAIN BOTTOM NAV */
.bottom-nav { 
    position: fixed; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    background-color: #ffffff !important; 
    border-top: 1px solid #f0f0f0; 
    display: flex; 
    justify-content: space-around; 
    align-items: center; 
    z-index: 6000; 
    padding-bottom: env(safe-area-inset-bottom); 
    height: calc(65px + env(safe-area-inset-bottom)); 
    box-shadow: 0 -5px 15px rgba(0,0,0,0.05) !important; 
}

#view-profile, #view-home, #view-inbox, #view-moment {
    padding-bottom: 110px !important;
}

/* ROOM SETTINGS MODAL */
.bottom-sheet-modal {
    position: fixed; inset: 0; z-index: 3000; background: rgba(0,0,0,0.6);
    display: none; flex-direction: column; justify-content: flex-end;
}
.bottom-sheet-content {
    background: #f8f9fa; width: 100%; border-radius: 24px 24px 0 0;
    padding: 15px 20px 0 20px; animation: slideUp 0.3s ease-out; 
    height: 65vh; 
    display: flex; flex-direction: column;
    position: absolute; bottom: 0; left: 0; 
}
.settings-scroll-area {
    flex: 1; overflow-y: auto; 
    padding-bottom: max(40px, env(safe-area-inset-bottom)); 
    -webkit-overflow-scrolling: touch;
}

.sub-sheet-modal {
    position: fixed; inset: 0; z-index: 3500; background: rgba(0,0,0,0.5);
    display: none; flex-direction: column; justify-content: flex-end;
}
.sub-sheet-content {
    background: #ffffff; width: 100%; border-radius: 24px 24px 0 0;
    padding: 20px; padding-bottom: max(20px, env(safe-area-inset-bottom));
    animation: slideUp 0.2s ease-out;
}

.pin-box {
    width: 55px;
    height: 60px;
    background-color: #f3f4f6;
    border-radius: 12px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    border: 2px solid transparent;
    outline: none;
    transition: all 0.2s;
    color: #1f2937;
}
.pin-box:focus {
    border-color: #7ce2e4;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(124, 226, 228, 0.3);
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

.settings-menu-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 0; border-bottom: 1px solid #f3f4f6; cursor: pointer;
}
.settings-icon-btn {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    cursor: pointer; transition: 0.2s;
}
.settings-icon-btn .icon-circle {
    width: 50px; height: 50px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; font-size: 20px;
}
.settings-icon-btn span { font-size: 11px; color: #374151; font-weight: 600; }
.settings-icon-btn:active { transform: scale(0.95); }

/* ROOM VIEW */
#view-room { display: none; flex-direction: column; height: 100dvh; width: 100%; padding-bottom: 0 !important; background: #000 !important; position: fixed; inset: 0; z-index: 60; padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); overflow: hidden; }
#room-top-content { flex-shrink: 0; }
.cinema-frame { position: relative; width: 96%; margin: 5px auto; aspect-ratio: 16/9; background: #000000; overflow: hidden; z-index: 10; border-radius: 20px; border: 1px solid #222; box-shadow: 0 5px 20px rgba(0,0,0,0.5); flex-shrink: 0; }
#video-controls-wrapper { transition: all 0.4s ease-in-out; max-height: 200px; opacity: 1; overflow: hidden; margin-bottom: 5px; flex-shrink: 0; }

#room-lower-half { flex: 1; display: flex; flex-direction: column; overflow: hidden; position: relative; margin-top: 5px; min-height: 0; }
.fixed-bg-layer { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: -10; pointer-events: none; }
#theme-image-bg { background-size: cover; background-position: center; background-repeat: no-repeat; }
#theme-video-bg { object-fit: cover; }

/* 🔥 MICS AREA (PERFECT CENTERED) 🔥 */
#mics-scroll-area:not(.video-mode-mics) { 
    flex-shrink: 0; overflow: visible; padding-top: 10px; background: transparent !important; z-index: 10; position: relative; height: auto; 
}
#mics-scroll-area:not(.video-mode-mics) .mics-container-main { 
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 15px; padding-bottom: 5px; width: 100%; 
}

#mics-scroll-area:not(.video-mode-mics) #super-mics-row { 
    display: flex !important; justify-content: space-evenly !important; width: 75% !important; margin: 0 auto 20px auto !important; gap: 0 !important; 
}
#mics-scroll-area:not(.video-mode-mics) .bottom-mic-row { 
    display: flex !important; justify-content: space-between !important; width: 90% !important; margin: 0 auto 15px auto !important; padding: 0 !important; gap: 0 !important; 
}
#mics-scroll-area:not(.video-mode-mics) .mic-wrapper { 
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; width: 54px !important; 
}

#mics-scroll-area:not(.video-mode-mics) .seat-base { 
    position: relative !important; 
    width: 50px !important; 
    height: 50px !important;
    border-radius: 50% !important; 
    background: rgba(184, 134, 11, 0.15) !important; 
    border: 1.5px solid #facc15 !important; 
    box-shadow: 0 0 10px rgba(250, 204, 21, 0.3), inset 0 0 8px rgba(255, 255, 255, 0.2) !important; 
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    display: flex !important; align-items: center !important; justify-content: center !important; 
}

#mics-scroll-area:not(.video-mode-mics) .chair-bg-img { display: none !important; }

#mics-scroll-area:not(.video-mode-mics) .seat-base .visual-root > div {
    border: none !important; 
    box-shadow: none !important; 
    background: transparent !important; 
    width: 100% !important; 
    height: 100% !important;
}

#mics-scroll-area:not(.video-mode-mics) .seat-base i.fa-microphone,
#mics-scroll-area:not(.video-mode-mics) .seat-base i.fa-lock {
    font-size: 18px !important; color: rgba(255, 255, 255, 0.6) !important; z-index: 5 !important; 
    position: absolute !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; margin: 0 !important;
}

#mics-scroll-area:not(.video-mode-mics) .user-dp-visual,
#mics-scroll-area:not(.video-mode-mics) .visual-root { 
    position: absolute !important; 
    inset: 0 !important; 
    margin: auto !important; 
    width: 100% !important; 
    height: 100% !important; 
    z-index: 20 !important; 
    border-radius: 50% !important; 
    border: none !important; 
    background: transparent !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
}

#mics-scroll-area:not(.video-mode-mics) .visual-img { 
    position: absolute !important; 
    inset: 0 !important; 
    margin: auto !important; 
    width: 100% !important; 
    height: 100% !important; 
    border-radius: 50% !important; 
    object-fit: cover !important; 
    z-index: 21 !important; 
    border: none !important; 
    transform: none !important; 
}

#mics-scroll-area:not(.video-mode-mics) .visual-frame { 
    position: absolute !important; 
    top: 50% !important; 
    left: 50% !important; 
    transform: translate(-50%, -50%) !important; 
    width: 145% !important;  
    height: 145% !important; 
    max-width: none !important; 
    max-height: none !important;
    object-fit: contain !important;
    z-index: 25 !important;
    pointer-events: none !important;
    margin: 0 !important; padding: 0 !important;
}

#mics-scroll-area:not(.video-mode-mics) .seat-name { 
    margin-top: 6px !important; font-size: 10px !important; color: rgba(255, 255, 255, 0.6) !important; text-shadow: none !important; z-index: 30 !important; text-align: center !important; width: 100% !important; display: block !important;
}

#mics-scroll-area:not(.video-mode-mics) .seat-name.occupied {
    font-size: 13.5px !important; 
    margin-top: 16px !important; 
    text-shadow: 1px 1px 2px rgba(0,0,0,0.9) !important; 
    color: #ffffff !important; 
}

.action-menu-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: none; flex-direction: column; align-items: center; justify-content: center; background: rgba(0,0,0,0.8); border-radius: 50%; z-index: 150; gap: 3px; }
.btn-action { font-size: 10px; font-weight: bold; padding: 3px 8px; border-radius: 4px; color: white; cursor: pointer; text-transform: uppercase; width: 90%; text-align: center; }
.btn-green { background: #22c55e; } .btn-red { background: #ef4444; } .btn-yellow { background: #eab308; color: black; } .btn-blue { background: #3b82f6; }

/* CHAT AREA */
#chat-display-area { flex: 1; width: 100%; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-y: contain; padding: 10px 15px; z-index: 20; display: flex; flex-direction: column; position: relative; background: transparent !important; color: white !important; text-shadow: 0 1px 2px black; padding-bottom: 100px !important; margin-bottom: 0; mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 70%, transparent 85%); -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 70%, transparent 85%); }
#chat-display-area > div:first-child { margin-top: auto !important; }

/* DEFAULT CHAT BUBBLE */
.chat-message-bubble { 
    background: rgba(20, 20, 20, 0.4); 
    backdrop-filter: blur(2px); 
    padding: 4px 10px; 
    border-radius: 14px; 
    margin-bottom: 4px; 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    color: white !important; 
    font-size: 11.5px !important; 
    line-height: 1.4;
    max-width: 85%; 
    width: fit-content;
} 

/* ROOM BOTTOM BAR */
#room-bottom-bar { 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    padding: 10px 20px; 
    padding-bottom: max(15px, env(safe-area-bottom)); 
    background: transparent !important; 
    background-image: none !important;
    border: none !important; 
    z-index: 100; 
    pointer-events: none; 
}

#room-icons-container {
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    width: 100%;
    pointer-events: auto; 
}

.room-icon-btn { 
    font-size: 16px; 
    color: #ffffff; 
    cursor: pointer; 
    transition: all 0.2s ease-in-out; 
    width: 38px; 
    height: 38px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 50%; 
    background: rgba(0, 0, 0, 0.4); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px); 
    border: 1px solid rgba(255, 255, 255, 0.15); 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); 
}
.room-icon-btn:active { transform: scale(0.85); }

/* CHAT INPUT POPUP */
#room-chat-input-layer { 
    display: none; 
    position: fixed; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    background: #111827; 
    padding: 12px 15px; 
    z-index: 9999; 
    align-items: center; 
    gap: 12px; 
    border-top: 1px solid rgba(255,255,255,0.1); 
    padding-bottom: max(12px, env(safe-area-inset-bottom)); 
    box-shadow: 0 -5px 20px rgba(0,0,0,0.6);
    animation: slideUpChat 0.2s ease-out; 
    pointer-events: auto;
}

#global-search-view, #admin-search-view, #full-profile-view, 
#edit-profile-view, #view-system-chat, #level-system-modal {
    transition-property: opacity !important;
    transform: none !important;
}

#mic-sheet-content, #half-profile-content, #cp-ranking-modal {
    transition-property: opacity !important;
    transition-duration: 0.25s !important;
    transform: none !important;
}

.translate-x-full, .-translate-x-full, 
.translate-y-full, .-translate-y-full {
    opacity: 0 !important;
    pointer-events: none !important;
}

@keyframes slideUp { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: scale(1); } }
@keyframes slideUpChat { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInLeft { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

#room-chat-input-field {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
}
#room-chat-input-field:focus {
    border-color: #3b82f6;
    background: rgba(255,255,255,0.15);
}  

#search-overlay { position: absolute; top: 70px; left: 0; width: 100%; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px); z-index: 40; padding: 20px; transform: translateY(-150%); transition: transform 0.3s ease-out; border-bottom: 1px solid #ccc; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
#search-overlay.open { transform: translateY(0); }
#edit-modal, #prophouse-modal, #create-room-view, #room-settings-modal, #friend-profile-modal, #room-users-modal, #theme-modal, #leaderboard-modal { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.95); backdrop-filter: blur(5px); display: none; flex-direction: column; }
#edit-modal, #room-settings-modal, #friend-profile-modal, #room-users-modal, #theme-modal, #leaderboard-modal { align-items: center; justify-content: center; background: rgba(0,0,0,0.85); }
#edit-modal.open, #prophouse-modal.open, #create-room-view.open, #room-settings-modal.open, #friend-profile-modal.open, #room-users-modal.open, #theme-modal.open { display: flex; }
.frame-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; overflow-y: auto; padding-bottom: 50px; }
.frame-card { background: #080808; border: 1px solid #222; border-radius: 12px; padding: 15px; display: flex; flex-direction: column; align-items: center; position: relative; transition: transform 0.2s; }

#guest-touch-blocker { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: transparent; z-index: 500; display: none; cursor: pointer; }

/* EXIT OVERLAY */
#room-exit-overlay { 
    position: fixed; inset: 0; width: 100%; height: 100%; 
    background: rgba(0,0,0,0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); 
    z-index: 99999; display: none; flex-direction: column; justify-content: space-evenly; align-items: center; 
    opacity: 0; transition: opacity 0.3s ease; padding: 20% 0;
}

.exit-menu-content { 
    display: flex; flex-direction: column; align-items: center; gap: 8px; 
    cursor: pointer; transition: transform 0.2s; 
}
.exit-menu-content:active { transform: scale(0.9); }

.exit-svg-icon { 
    width: 75px; 
    height: 75px; 
    object-fit: contain; 
    filter: drop-shadow(0 5px 12px rgba(0,0,0,0.7)); 
}

.exit-text { 
    color: white; 
    font-size: 14px; 
    font-weight: bold; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.9); 
    letter-spacing: 1px; 
}

.top-anim { 
    transform: translateY(-200px); opacity: 0; 
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}
.bottom-anim { 
    transform: translateY(200px); opacity: 0; 
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

#room-exit-overlay.open { opacity: 1; }
#room-exit-overlay.open .top-anim { transform: translateY(0); opacity: 1; }
#room-exit-overlay.open .bottom-anim { transform: translateY(0); opacity: 1; }

.heartbeat-wrapper { width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; position: relative; margin-bottom: 20px; overflow: visible !important; opacity: 0; transition: opacity 0.5s ease; z-index: 5; margin-left: 2px; margin-right: 2px; }
.heartbeat-active { opacity: 1; }
.hb-img { width: 35px; height: 35px; object-fit: contain; z-index: 10; filter: drop-shadow(0 0 15px rgba(220, 38, 38, 0.9)); }
.heartbeat-active .hb-img { animation: lovelyHeartBeat 1.2s infinite ease-in-out; }
@keyframes lovelyHeartBeat { 0% { transform: scale(1); } 15% { transform: scale(1.3); } 30% { transform: scale(1); } 45% { transform: scale(1.15); } 60% { transform: scale(1); } 100% { transform: scale(1); } }
.line-img { position: absolute; top: 50%; transform: translateY(-50%); height: 30px; width: 50px; object-fit: contain; z-index: 1; pointer-events: none; }
.left-line { right: 25px; } .right-line { left: 25px; }

#empty-state-trigger { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 40; width: 100%; height: 100%; pointer-events: none; }
.empty-icon { font-size: 50px; color: rgba(255, 255, 255, 0.3); margin-bottom: 10px; }
.empty-text { color: rgba(255, 255, 255, 0.3); font-size: 14px; font-weight: 500; }
#auth-bg-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.auth-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.3); z-index: 0; }
#auth-content-wrapper { z-index: 10; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding: 30px; padding-bottom: 60px; }
.auth-logo-container { position: absolute; top: 15%; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; text-align: center; }
.auth-logo-png { width: 70px; height: 70px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(0,0,0,0.5)); margin-bottom: 20px; border-radius: 15px; border: 2px solid white; }
.auth-buttons-group { width: 100%; max-width: 320px; display: flex; flex-direction: column; align-items: center; }
.google-sign-btn { width: 100%; max-width: 320px; background: white; color: #333; font-family: 'Roboto', sans-serif; font-weight: 500; display: flex; align-items: center; justify-content: center; position: relative; padding: 12px; border-radius: 30px; box-shadow: 0 4px 15px rgba(0,0,0,0.3); margin-bottom: 10px; transition: transform 0.2s; cursor: pointer; }
.google-sign-btn:active { transform: scale(0.98); }
.google-icon-svg { position: absolute; left: 15px; width: 24px; height: 24px; }
.email-login-trigger { width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,0.2); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; color: white; font-size: 20px; cursor: pointer; border: 1px solid rgba(255,255,255,0.3); transition: background 0.2s; margin-top: 10px; }
.email-login-trigger:hover { background: rgba(255,255,255,0.3); }
.yaarann-text-design { font-size: 14px; font-weight: bold; color: white; text-shadow: 0 1px 3px rgba(0,0,0,0.5); margin-top: 10px; }
#email-auth-full-page { position: fixed; inset: 0; z-index: 50; display: none; flex-direction: column; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: opacity 0.3s ease-in-out; opacity: 0; padding: 20px; padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); }
#email-auth-full-page.open { display: flex; opacity: 1; }
.email-form-box { width: 100%; max-width: 400px; background: rgba(255, 255, 255, 0.9); border: 1px solid rgba(200, 200, 200, 0.5); border-radius: 16px; padding: 30px 20px; box-shadow: 0 8px 30px rgba(0,0,0,0.2); }
#auth-email-form-container input { background: #f1f1f1; border: 1px solid #ccc; color: #333; }
.menu-list-container { background: white; margin-top: 10px; padding-bottom: 20px; }
.menu-item { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; background: white; cursor: pointer; transition: background 0.2s; }
.menu-item:active { background: #f9fafb; }
.menu-icon-box { width: 24px; text-align: center; margin-right: 12px; }
.menu-text { flex: 1; font-size: 14px; color: #374151; font-weight: 500; }
.menu-arrow { color: #d1d5db; font-size: 12px; }

/* GENDER SELECTOR STYLES */
.gender-options { display: flex; gap: 20px; justify-content: center; margin-top: 10px; margin-bottom: 10px; }
.gender-option { display: flex; flex-direction: column; align-items: center; gap: 5px; cursor: pointer; opacity: 0.5; transition: all 0.2s; }
.gender-option.selected { opacity: 1; transform: scale(1.1); }
.gender-img { width: 40px; height: 40px; object-fit: contain; }
.locked-gender { filter: grayscale(1); cursor: not-allowed; }

/* CREATE ROOM FULL SCREEN */
#create-room-view { background: #000; color: white; display: none; align-items: center; justify-content: center; padding: 30px; }
.cr-cover-preview { width: 120px; height: 120px; border-radius: 50%; border: 3px solid #dc2626; object-fit: cover; margin-bottom: 30px; background: #222; }
.cr-input { background: #222; border: 1px solid #333; color: white; padding: 12px; width: 100%; border-radius: 8px; margin-bottom: 15px; outline: none; text-align: center; }
.cr-input:focus { border-color: #dc2626; }
.cr-btn { background: #dc2626; width: 100%; padding: 15px; border-radius: 30px; font-weight: bold; font-size: 16px; margin-top: 20px; box-shadow: 0 0 15px rgba(220, 38, 38, 0.5); }

/* VIP COLORS */
.name-vip-green,
#mics-scroll-area .seat-name.occupied.name-vip-green,
#mics-scroll-area:not(.video-mode-mics) .seat-name.occupied.name-vip-green,
.video-mode-mics .seat-name.occupied.name-vip-green { 
    color: #10b981 !important; 
    text-shadow: none !important; 
    -webkit-text-stroke: 0px transparent !important; 
    filter: none !important;
    font-weight: 900 !important; 
}

.name-vip-yellow,
#mics-scroll-area .seat-name.occupied.name-vip-yellow,
#mics-scroll-area:not(.video-mode-mics) .seat-name.occupied.name-vip-yellow,
.video-mode-mics .seat-name.occupied.name-vip-yellow { 
    color: #facc15 !important; 
    text-shadow: none !important; 
    -webkit-text-stroke: 0px transparent !important; 
    filter: none !important;
    font-weight: 900 !important; 
}

.name-vip-pink,
#mics-scroll-area .seat-name.occupied.name-vip-pink,
#mics-scroll-area:not(.video-mode-mics) .seat-name.occupied.name-vip-pink,
.video-mode-mics .seat-name.occupied.name-vip-pink { 
    color: #f43f5e !important; 
    text-shadow: none !important; 
    -webkit-text-stroke: 0px transparent !important; 
    filter: none !important;
    font-weight: 900 !important; 
}

.name-vip-colorful,
#mics-scroll-area .seat-name.occupied.name-vip-colorful,
#mics-scroll-area:not(.video-mode-mics) .seat-name.occupied.name-vip-colorful,
.video-mode-mics .seat-name.occupied.name-vip-colorful {
    background-image: linear-gradient(to right, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff, #ff0000) !important;
    background-size: 200% 100% !important;
    color: transparent !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    animation: shineVIPText 2.5s linear infinite !important;
    font-weight: 900 !important;
    text-shadow: none !important; 
    -webkit-text-stroke: 0px transparent !important; 
    filter: none !important;
}

@keyframes shineVIPText {
    0% { background-position: 0% center; }
    100% { background-position: -200% center; }
}

.animate-slideInLeft {
    animation: slideInLeft 0.3s ease-out forwards;
}

@keyframes pulse-heart {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

/* ROCKET SYSTEM */
#rocket-trigger-btn { position: absolute; bottom: 140px; right: 15px; width: 50px; height: 50px; z-index: 50; cursor: pointer; }
.rocket-display-icon { width: 130%; height: 130%; object-fit: contain; filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6)); margin-left: -15%; margin-top: -15%; animation: floatRocket 2.5s ease-in-out infinite; }
@keyframes floatRocket { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

#rocket-fly-layer { position: fixed !important; top: 0 !important; left: 0 !important; width: 100vw !important; height: 100vh !important; pointer-events: none !important; z-index: 2500 !important; display: none; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 10%; transform: translateZ(9999px) !important; }
.flying-rocket { width: 120vw; max-width: 500px; height: auto; position: relative; z-index: 3002; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.8)); }
.rocket-countdown { font-size: 150px; font-weight: 900; color: #ffda44; text-shadow: 0 8px 0 #b37700, 0 15px 30px rgba(0,0,0,0.9), 0 0 50px #ffea00; position: absolute; top: 25%; left: 50%; transform: translate(-50%, -50%); z-index: 3005; animation: popInNumber 1s infinite; }
@keyframes popInNumber { 0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; } 30% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; } 80% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0; } }
.rocket-aura { position: absolute; top: 55%; left: 50%; transform: translate(-50%, -50%); width: 150vw; height: 150vw; max-width: 600px; max-height: 600px; border-radius: 50%; z-index: 3001; opacity: 0; animation: pulse-aura 1s infinite alternate; pointer-events: none; }
.aura-1 { background: radial-gradient(circle, rgba(34,197,94,0.7) 0%, transparent 70%); } .aura-2 { background: radial-gradient(circle, rgba(59,130,246,0.7) 0%, transparent 70%); } .aura-3 { background: radial-gradient(circle, rgba(16,185,129,0.7) 0%, transparent 70%); } .aura-4 { background: radial-gradient(circle, rgba(250,204,21,0.7) 0%, transparent 70%); }
@keyframes pulse-aura { 0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; } 100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; } }
.rocket-rumble { animation: rumble 1.2s infinite ease-in-out; }
@keyframes rumble { 0% { transform: translate(0, 0) rotate(0deg); } 20% { transform: translate(-2px, 2px) rotate(-0.5deg); } 40% { transform: translate(2px, -2px) rotate(0.5deg); } 60% { transform: translate(-2px, -2px) rotate(-0.5deg); } 80% { transform: translate(2px, 2px) rotate(0.5deg); } 100% { transform: translate(0, 0) rotate(0deg); } }
.rocket-launching { animation: bigLaunch 2.5s ease-in-out forwards; }
@keyframes bigLaunch { 0% { transform: translateY(0) scale(1); opacity: 1; } 15% { transform: translateY(30px) scale(0.95); opacity: 1; filter: drop-shadow(0 0 50px #ff0000); } 100% { transform: translateY(-200vh) scale(1.2); opacity: 0; } }
.sparkle-effect { position: absolute; width: 15px; height: 15px; background: #fff; border-radius: 50%; box-shadow: 0 0 20px #fff, 0 0 40px #ffea00; animation: sparkleAnim 1s ease-out forwards; z-index: 3006; }
@keyframes sparkleAnim { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(3); opacity: 0; } }

#rocket-details-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.3); z-index: 3000; align-items: center; justify-content: flex-end; flex-direction: column; padding: 0; }
.rocket-modal-card { background: rgba(30, 10, 50, 0.4); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border-top: 1.5px solid rgba(255, 255, 255, 0.2); border-radius: 30px 30px 0 0; width: 100%; max-width: 500px; height: auto; min-height: 55vh; padding: 20px 15px 30px 15px; display: flex; flex-direction: column; position: relative; box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5); }

.modal-top-section { display: flex; justify-content: space-between; flex: 1; min-height: 250px; margin-bottom: 20px; }
.modal-left-col { width: 60px; display: flex; flex-direction: column; gap: 15px; align-items: center; padding-top: 10px; }
.modal-level-btn { width: 45px; height: 45px; background: rgba(255,255,255,0.1); border: 1.5px solid rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: bold; color: white; cursor: pointer; transition: all 0.2s; box-shadow: 0 4px 6px rgba(0,0,0,0.3); backdrop-filter: blur(5px); }
.modal-level-btn.active { border-color: #facc15; background: rgba(250, 204, 21, 0.25); box-shadow: 0 0 15px rgba(250, 204, 21, 0.6); color: #facc15; transform: scale(1.1); }

.modal-center-col { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; }
.big-center-rocket { width: 250px; height: 250px; object-fit: contain; filter: drop-shadow(0 0 35px rgba(250, 204, 21, 0.7)); animation: floatRocket 2.5s ease-in-out infinite; }

.modal-right-col { width: 50px; display: flex; justify-content: flex-end; padding-top: 10px; padding-bottom: 10px; padding-right: 5px; }

.tube-container { width: 18px; height: 100%; background: rgba(0,0,0,0.6); border-radius: 20px; border: 1.5px solid rgba(255,255,255,0.2); position: relative; overflow: visible; display: flex; flex-direction: column-reverse; box-shadow: inset 0 0 10px rgba(0,0,0,0.8); }
.tube-fill { width: 100%; background: linear-gradient(to top, #3b82f6, #d946ef, #facc15); transition: height 0.5s ease; border-radius: 20px; box-shadow: 0 0 15px rgba(236, 72, 153, 0.8); }

.tube-percent { position: absolute; top: 50%; right: 30px; transform: translateY(-50%); color: white; font-weight: 900; font-size: 15px; text-shadow: 0 2px 6px black; letter-spacing: 1px; }

.rewards-bottom-section { background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 15px 10px; display: flex; justify-content: space-around; align-items: flex-end; backdrop-filter: blur(10px); }
.reward-tier { display: flex; flex-direction: column; align-items: center; width: 31%; position: relative; }
.reward-tier-box { background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.15); border-radius: 16px; width: 100%; padding: 12px 5px; display: flex; flex-direction: column; align-items: center; gap: 6px; box-shadow: inset 0 0 10px rgba(0,0,0,0.5); }
.tier-crown { width: 42px; height: 42px; position: absolute; top: -25px; object-fit: contain; z-index: 10; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.8)); }

.r-item-row { display: flex; align-items: center; gap: 4px; width: 90%; justify-content: center; padding: 3px 0; border-radius: 6px; }
.r-bg-coin { background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.05); }
.r-bg-exp { background: rgba(59, 130, 246, 0.2); border: 1px solid rgba(59, 130, 246, 0.3); }

.r-icon { width: 12px; height: 12px; object-fit: contain; }
.r-text { font-size: 10px; font-weight: 900; text-shadow: 1px 1px 0px #000; }

.tier-1-box { border-color: rgba(250, 204, 21, 0.5); background: rgba(250, 204, 21, 0.1); transform: scale(1.08); z-index: 5; margin-bottom: 5px; }
.tier-2-box { border-color: rgba(148, 163, 184, 0.4); }
.tier-3-box { border-color: rgba(217, 119, 6, 0.4); }

/* GIFT MODAL */
.gift-targets-wrapper { display: flex; overflow-x: auto; gap: 15px; padding: 10px 0; flex: 1; scrollbar-width: none; }
.gift-targets-wrapper::-webkit-scrollbar { display: none; }
.gift-target-item { display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; position: relative; }
.gift-target-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid transparent; transition: 0.2s; filter: grayscale(0.5) opacity(0.6); }

.gift-target-item.selected .gift-target-avatar { border-color: #a855f7; filter: grayscale(0) opacity(1); transform: scale(1.05); }
.gift-target-item.selected::after { content: '✔'; position: absolute; bottom: 12px; right: -2px; background: #a855f7; color: white; font-size: 8px; width: 14px; height: 14px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1.5px solid #111; z-index: 10; }
.gift-target-name { font-size: 9px; color: #aaa; max-width: 45px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gift-target-item.selected .gift-target-name { color: #fff; font-weight: bold; }

.gift-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 10px 0; max-height: 250px; overflow-y: auto; }
.gift-item { background: transparent; border-radius: 12px; padding: 8px 4px; text-align: center; cursor: pointer; border: 1px solid transparent; transition: all 0.2s; }
.gift-item.selected { border-color: #a855f7; background: rgba(168, 85, 247, 0.15); box-shadow: 0 0 10px rgba(168, 85, 247, 0.3); }
.gift-img { width: 50px; height: 50px; object-fit: contain; margin: 0 auto; }
.gift-price { font-size: 10px; color: #aaa; margin-top: 4px; display: flex; align-items: center; justify-content: center; gap: 3px; }
.gift-item.selected .gift-price { color: #facc15; }

#gift-combo-menu { position: absolute; bottom: 60px; right: 90px; background: #222; border-radius: 12px; width: 80px; display: none; flex-direction: column; box-shadow: 0 5px 20px rgba(0,0,0,0.8); z-index: 300; overflow: hidden; transform-origin: bottom center; border: 1px solid #444; }
.combo-item { padding: 10px; text-align: center; font-size: 14px; font-weight: bold; color: #fff; border-bottom: 1px solid #333; cursor: pointer; }
.combo-item:hover { background: #a855f7; color: #fff; }

/* LEVEL BADGES */
.user-level-badge {
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    min-width: 44px !important; height: 16px !important; border-radius: 6px !important; 
    font-family: 'Montserrat', sans-serif !important; flex-shrink: 0 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5), inset 0 1px 2px rgba(255,255,255,0.4) !important;
    border: 1px solid rgba(255,255,255,0.6) !important; transition: all 0.3s !important;
    padding: 0 5px !important; margin-bottom: 0 !important; background-image: none !important;
}

.user-level-badge span {
    font-size: 9px !important; font-weight: 900 !important; text-transform: uppercase !important; 
    letter-spacing: 0.5px !important; margin-top: 0 !important; z-index: 10 !important;
    color: #fff !important; text-shadow: 1px 1px 2px rgba(0,0,0,0.9) !important;
}

.level-medal-img { display: none !important; }

.tier-1 { background: linear-gradient(to bottom, #7f8c8d, #34495e) !important; border-color: #bdc3c7 !important; } 
.tier-2 { background: linear-gradient(to bottom, #d35400, #a04000) !important; border-color: #e67e22 !important; } 
.tier-3 { background: linear-gradient(to bottom, #27ae60, #1e8449) !important; border-color: #2ecc71 !important; } 
.tier-4 { background: linear-gradient(to bottom, #16a085, #0e6655) !important; border-color: #1abc9c !important; } 
.tier-5 { background: linear-gradient(to bottom, #2980b9, #1a5276) !important; border-color: #3498db !important; } 
.tier-6 { background: linear-gradient(to bottom, #8e44ad, #5b2c6f) !important; border-color: #9b59b6 !important; } 
.tier-7 { background: linear-gradient(to bottom, #e83e8c, #ad1457) !important; border-color: #ff80ab !important; } 
.tier-8 { background: linear-gradient(to bottom, #c0392b, #7b241c) !important; border-color: #e74c3c !important; } 

.tier-9 { background: linear-gradient(to bottom, #f39c12, #b9770e) !important; border-color: #f1c40f !important; animation: glow-gold 1.5s infinite alternate !important; } 
.tier-10 { background: linear-gradient(to right, #2c3e50, #c0392b) !important; background-size: 200% 200% !important; animation: grad-move 3s ease infinite !important; border-color: #e74c3c !important; } 
.tier-11 { background: linear-gradient(to right, #00d2ff, #3a7bd5) !important; background-size: 200% 200% !important; animation: grad-move 2s ease infinite !important; box-shadow: 0 0 10px #00d2ff !important; border-color: #80e5ff !important; } 
.tier-12 { background: linear-gradient(to right, #ff0844, #ffb199) !important; background-size: 200% 200% !important; animation: grad-move 2s ease infinite !important; box-shadow: 0 0 12px #ff0844 !important; border-color: #ffcccc !important; } 
.tier-13 { background: linear-gradient(to right, #0ba360, #3cba92) !important; background-size: 200% 200% !important; animation: grad-move 1.5s ease infinite !important; box-shadow: 0 0 15px #3cba92 !important; border-color: #a8e6cf !important; } 
.tier-14 { background: linear-gradient(45deg, #a18cd1, #fbc2eb, #a18cd1) !important; background-size: 300% 300% !important; animation: holo-shine 2s infinite !important; box-shadow: 0 0 15px #a18cd1 !important; color: #4a235a !important; text-shadow: 1px 1px 0px white !important; } 
.tier-15 { background: linear-gradient(90deg, #000, #ff0000, #f1c40f, #000) !important; background-size: 400% 400% !important; animation: supreme-fire 2s infinite linear !important; border: 1.5px solid #f1c40f !important; box-shadow: 0 0 20px #ff0000, inset 0 0 10px #f1c40f !important; color: #f1c40f !important; } 

@keyframes glow-gold { from {box-shadow: 0 0 5px #f39c12;} to {box-shadow: 0 0 15px #f1c40f;} }
@keyframes grad-move { 0% {background-position: 0% 50%;} 50% {background-position: 100% 50%;} 100% {background-position: 0% 50%;} }
@keyframes holo-shine { 0% {background-position: 0% 50%;} 50% {background-position: 100% 50%;} 100% {background-position: 0% 50%;} }
@keyframes supreme-fire { 0% {background-position: 0% 50%;} 100% {background-position: 100% 50%;} }

/* LUCKY FRUIT GAME */
.game-svg-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 75vh; 
    margin: 0 auto 0 auto;
    overflow: hidden;
    border-radius: 30px 30px 0 0; 
    box-shadow: 0 -10px 40px rgba(0,0,0,0.8);
    background: linear-gradient(to bottom, #3d0a04, #1a0f00);
}

.fruit-box {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.fruit-box.active {
    box-shadow: inset 0 0 25px rgba(255, 235, 59, 0.8), 0 0 15px rgba(255, 255, 255, 0.5);
    background: radial-gradient(circle, rgba(255, 165, 0, 0.5) 0%, transparent 80%);
    transform: scale(1.05);
    border: 2px solid #fff;
}

.fruit-box .fruit-img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    filter: drop-shadow(0 5px 5px rgba(0,0,0,0.8));
    transition: transform 0.2s;
    z-index: 2;
}

.fruit-box:active .fruit-img { transform: scale(0.9); }

.fruit-box .multiplier {
    font-size: 11px;
    color: #facc15;
    font-weight: 900;
    margin-top: 2px;
    text-shadow: 1px 1px 2px #000;
    z-index: 3;
}

.bet-overlay {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: rgba(0,0,0,0.85);
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    padding: 2px 5px;
    border-radius: 6px;
    z-index: 10;
    border: 1px solid #facc15;
}

.bet-amount-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 10px;
    font-weight: 900;
    padding: 2px 10px;
    border-radius: 15px;
    margin-bottom: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.6);
    transition: all 0.2s ease;
}
.bet-pill-off { background: rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.3); color: #d1d5db; }
.bet-pill-on { background: rgba(250, 204, 21, 0.2); border: 1px solid #facc15; color: #facc15; }
.new-tag { position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); background: transparent; border: 1px solid #d97706; color: #d97706; font-size: 7px; padding: 0 4px; border-radius: 8px; font-weight: bold; }

#new-result-popup { position: absolute; top: 40%; left: 50%; transform: translate(-50%, -50%); width: 85%; max-width: 320px; background: #e67e22; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.9); display: none; flex-direction: column; overflow: hidden; z-index: 5000; border: 2px solid #f39c12; }
.popup-header-bar { display: flex; align-items: center; background: linear-gradient(to right, #f39c12, #f1c40f, #f39c12); padding: 10px; border-bottom: 2px dashed #fff; }
.popup-header-bar img { width: 35px; height: 35px; object-fit: contain; margin-right: 10px; filter: drop-shadow(0 2px 2px rgba(0,0,0,0.5)); }
.popup-header-bar span { font-size: 12px; font-weight: bold; color: #fff; text-shadow: 0 1px 2px #000; flex: 1; text-align: center; }
.popup-body { display: flex; align-items: center; justify-content: center; padding: 20px; background: #d35400; flex-direction: column; }
.popup-icon-circle { width: 60px; height: 60px; border: 2px solid rgba(255,255,255,0.5); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; color: rgba(255,255,255,0.7); margin-bottom: 10px; }
.popup-win-amount { font-size: 24px; font-weight: 900; color: #fff; text-shadow: 0 2px 4px #000; }

#global-winner-broadcast { z-index: 99999 !important; }

#game-result-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.9); z-index: 100; display: none; flex-direction: column; align-items: center; justify-content: center; backdrop-filter: blur(4px); transition: transform 0.3s ease-out; transform: scale(0); }

/* BROADCAST SLOTS */
.global-broadcast-slot { position: fixed; left: 0; width: 100%; height: 60px; z-index: 999999999 !important; display: flex; align-items: center; justify-content: center; pointer-events: none; transform: translateX(120vw); transition: none; }
.slot-1 { top: 20px; } 
.slot-2 { top: 85px; } 

.bc-show { transform: translateX(0) !important; transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important; }
.bc-hide { transform: translateX(-120vw) !important; transition: transform 0.5s ease-in !important; }

.bc-wrapper { width: 100%; height: 100%; position: relative; display: flex; align-items: center; justify-content: space-between; }
.bc-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: fill; z-index: -1; }
.bc-user-col { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 60px; margin-left: 15px; z-index: 2; }
.bc-dp { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #ffffff; object-fit: cover; box-shadow: 0 2px 5px rgba(0,0,0,0.8); }
.bc-name { font-size: 11px; color: #ffffff; font-weight: 900; text-shadow: 1px 1px 0 #000, -1px -1px 0 #000; margin-top: 2px; max-width: 70px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.bc-coins-container { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; }
.bc-coins { font-size: 20px; font-weight: 900; color: #ffffff; text-shadow: 2px 2px 0 #000, 0 4px 10px rgba(0,0,0,0.8); animation: pulse-coin 1s infinite; }

.rb-wrapper { width: 100%; height: 100%; position: relative; display: flex; align-items: center; justify-content: space-between; background: linear-gradient(90deg, rgba(15,23,42,0.95) 0%, rgba(88,28,135,0.95) 100%); border: 2px solid #a855f7; border-radius: 35px; box-shadow: 0 0 15px rgba(168,85,247,0.6); padding-right: 10px; pointer-events: auto;}
.rb-png { width: 45px; height: 45px; object-fit: contain; filter: drop-shadow(0 2px 5px rgba(0,0,0,0.8)); margin-left: 10px; }
.rb-center-col { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.rb-roomname { font-size: 13px; font-weight: 900; color: #ffffff; text-shadow: 1px 1px 0 #000; }
.rb-go-btn { background: linear-gradient(to bottom, #ef4444, #991b1b); color: white; font-weight: 900; font-size: 11px; padding: 4px 12px; border-radius: 20px; border: 2px solid #facc15; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.5); }

.gb-wrapper { width: 100%; height: 100%; position: relative; display: flex; align-items: center; justify-content: space-between; background: linear-gradient(90deg, rgba(220,38,38,0.9) 0%, rgba(245,158,11,0.9) 100%); border: 2px solid #fcd34d; border-radius: 35px; box-shadow: 0 0 15px rgba(245,158,11,0.6); padding: 0 5px; }
.gb-user { display: flex; flex-direction: column; align-items: center; width: 50px; }
.gb-dp { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #fff; object-fit: cover; }
.gb-name { font-size: 9px; color: #fff; font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 50px; text-shadow: 1px 1px 0 #000; }
.gb-center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gb-action-text { font-size: 10px; color: #fff; font-weight: bold; font-style: italic; }
.gb-gift-img { height: 35px; object-fit: contain; animation: bounce 1s infinite; }
.gb-coins { font-size: 10px; color: #facc15; font-weight: 900; text-shadow: 1px 1px 0 #000; background: rgba(0,0,0,0.4); padding: 1px 6px; border-radius: 10px; margin-top: 2px; }

.swal2-container { z-index: 99999 !important; }

/* 🔥 HOME TOP 3 DPs CENTER ALIGNMENT & LARGER SIZE 🔥 */
.home-top3-container { 
    position: absolute !important; 
    bottom: 22px !important; /* بالکل سینٹر میں لانے کے لیے */
    left: 50% !important; 
    transform: translateX(-50%) !important; 
    display: flex !important; 
    align-items: flex-end !important; 
    justify-content: center !important; 
    width: 100% !important; 
    pointer-events: none !important; 
    z-index: 5 !important; 
}

.home-top-dp, .home-empty-dp { 
    border-radius: 50% !important; 
    object-fit: cover !important; 
    box-shadow: none !important; /* 🔥 کالا شیڈو 100% ختم 🔥 */
    background: transparent !important; 
}

/* ساکن اور فکسڈ DPs (کوئی باؤنس اینیمیشن نہیں) */
.dp-rank-1 { 
    width: 35px !important; 
    height: 35px !important; 
    border: 2px solid #facc15 !important; 
    z-index: 3 !important; 
    animation: none !important; /* 🔥 ہلنے والی اینیمیشن مکمل بند 🔥 */
    transform: none !important;
}

.dp-rank-2 { 
    width: 27px !important; 
    height: 27px !important; 
    border: 1.5px solid #e2e8f0 !important; 
    z-index: 2 !important; 
    margin-right: -8px !important; 
    margin-bottom: 2px !important; 
    animation: none !important;
}

.dp-rank-3 { 
    width: 27px !important; 
    height: 27px !important; 
    border: 1.5px solid #fdba74 !important; 
    z-index: 1 !important; 
    margin-left: -8px !important; 
    margin-bottom: 2px !important; 
    animation: none !important;
}

/* خالی سلاٹ میں آئیکن کے لیے سٹائل */
.home-empty-dp {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(0, 0, 0, 0.6) !important;
    border: 1px dashed rgba(255, 255, 255, 0.5) !important;
}

.home-empty-dp img {
    width: 70% !important;
    height: 70% !important;
    object-fit: contain !important;
}

@keyframes popBounce {
    0%, 30%, 100% { transform: translateY(0) scale(1); box-shadow: 0 2px 4px rgba(0,0,0,0.8); }
    15% { transform: translateY(-4px) scale(1.1); box-shadow: 0 8px 15px rgba(250, 204, 21, 0.9); }
}

#leaderboard-modal { background: linear-gradient(to bottom, #0a1930, #020813); display: none; flex-direction: column; z-index: 3000; position: fixed; inset: 0; font-family: 'Montserrat', sans-serif; overflow: hidden; }

.lb-m-tab { color: #888; font-size: 11px; font-weight: bold; padding: 6px 12px; border-radius: 18px; cursor: pointer; transition: 0.3s; }
.lb-m-tab.active { color: #fff; background: linear-gradient(to right, #d4af37, #aa7c11); box-shadow: 0 2px 10px rgba(212, 175, 55, 0.5); }

.lb-sub-tabs { display: flex; justify-content: center; gap: 30px; padding: 10px 15px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.lb-s-tab { color: #888; font-size: 14px; font-weight: bold; cursor: pointer; transition: 0.3s; padding-bottom: 5px; border-bottom: 2px solid transparent; letter-spacing: 0.5px; }
.lb-s-tab.active { color: #fff; border-bottom: 2px solid #fff; }

.lb-stage-bg { background: url('./stage_bg.png') bottom center no-repeat; background-size: cover; padding: 30px 10px 20px 10px; display: flex; justify-content: center; align-items: flex-end; gap: 15px; min-height: 250px; }
.vip-podium-item { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 10; }
.vip-podium-dp { border-radius: 50%; object-fit: cover; border: 3px solid; box-shadow: 0 5px 15px rgba(0,0,0,0.8); background: #111; }
.rank-1-dp { width: 80px; height: 80px; border-color: #facc15; z-index: 3; }
.rank-2-dp, .rank-3-dp { width: 60px; height: 60px; border-color: #c0c0c0; z-index: 2; margin-bottom: -15px; }
.rank-3-dp { border-color: #cd7f32; }

.vip-crown { position: absolute; top: -25px; width: 40px; object-fit: contain; filter: drop-shadow(0 2px 4px black); }
.vip-rank-badge { margin-top: -10px; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 900; color: white; border: 2px solid #000; z-index: 5; }
.bg-gold { background: linear-gradient(to bottom, #fde047, #ca8a04); }
.bg-silver { background: linear-gradient(to bottom, #e2e8f0, #64748b); }
.bg-bronze { background: linear-gradient(to bottom, #fdba74, #b45309); }

.vip-list-item { display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,0.05); margin: 8px 15px; padding: 12px 15px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(5px); }

.lb-my-rank-bar { position: absolute; bottom: 0; left: 0; width: 100%; height: 70px; background: linear-gradient(to right, #0d47a1, #1565c0); border-top: 1px solid #4fc3f7; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; box-shadow: 0 -5px 20px rgba(0,0,0,0.5); z-index: 50; }

.lb-list-container { flex: 1; overflow-y: auto; padding: 10px 15px; padding-bottom: max(20px, env(safe-area-inset-bottom)); background: #111; }

/* LEVEL SYSTEM */
#level-system-modal {
    position: fixed; inset: 0; background: #000;
    z-index: 5000; display: none; flex-direction: column; overflow: hidden;
}
.level-modal-content {
    background: linear-gradient(to bottom, #111827, #000000);
    width: 100%; height: 100%; display: flex; flex-direction: column;
}
.level-progress-box {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px; padding: 15px; text-align: center; margin-bottom: 15px; margin-left: 20px; margin-right: 20px;
}
.level-bar-bg { width: 100%; height: 10px; background: #333; border-radius: 5px; overflow: hidden; margin-top: 10px; }
.level-bar-fill { height: 100%; background: linear-gradient(90deg, #facc15, #ef4444); transition: width 0.5s ease; }
.reward-list-container { 
    flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; 
    padding-left: 20px; padding-right: 20px; padding-bottom: max(30px, env(safe-area-inset-bottom));
}
.reward-item-box {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px; padding: 10px 15px; display: flex; justify-content: space-between; align-items: center;
}
.reward-item-box.locked { opacity: 0.5; filter: grayscale(1); }
.reward-item-box.claimed { border-color: #22c55e; background: rgba(34,197,94,0.1); }
.claim-btn {
    background: linear-gradient(to bottom, #eab308, #ca8a04); color: white; font-size: 10px;
    font-weight: 900; padding: 5px 12px; border-radius: 20px; cursor: pointer; border: 1px solid #fef08a;
}
.claim-btn:disabled { background: #555; border-color: #444; color: #aaa; cursor: not-allowed; }

/* OFFICIAL & SUPER ADMIN */
.v-badge-profile { width: 16px; height: 16px; object-fit: contain; margin-left: 5px; display: inline-block; vertical-align: middle; }
.v-badge-mic { position: absolute; bottom: 10px; right: 10px; width: 16px; height: 16px; background: transparent; object-fit: contain; z-index: 35; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6)); }

#admin-panel-modal { background: rgba(0,0,0,0.9); display: none; flex-direction: column; z-index: 4000; position: fixed; inset: 0; align-items: center; justify-content: center; backdrop-filter: blur(5px); }
.admin-box { background: #1f2937; width: 90%; max-width: 400px; border-radius: 16px; border: 2px solid #ef4444; padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.8); }
.admin-input { w-full; background: #111827; border: 1px solid #374151; color: white; padding: 10px; border-radius: 8px; outline: none; margin-bottom: 10px; text-align: center; }
.admin-input:focus { border-color: #ef4444; }
.admin-action-btn { font-size: 11px; font-weight: bold; padding: 8px; border-radius: 6px; color: white; text-align: center; cursor: pointer; transition: 0.2s; }
.admin-action-btn:active { transform: scale(0.95); }

.chat-header-dp-wrapper { position: relative; display: inline-block; flex-shrink: 0; }
.chat-header-dp { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid #e5e7eb; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.chat-header-v-badge { position: absolute; bottom: -2px; right: -4px; width: 18px; height: 18px; background: transparent; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.6)); padding: 0; }

.fp-dp-wrapper { position: relative; display: inline-block; margin-bottom: 15px; }
.fp-dp { width: 90px; height: 90px; border-radius: 50%; border: 3px solid #dc2626; object-fit: cover; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.fp-v-badge { position: absolute; bottom: 18px; right: -2px; width: 26px; height: 26px; background: transparent; z-index: 50; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6)); }

/* CP FERRIS WHEEL */
.cp-ferris-bg { background: url('./cp_bg_city.png') center/cover no-repeat; position: relative; } 
.cp-ferris-bg::before { content: ''; position: absolute; inset: 0; background: rgba(40, 10, 60, 0.6); }

.ferris-wheel-container { position: relative; width: 300px; height: 300px; margin: 30px auto 20px auto; z-index: 10; display: flex; align-items: center; justify-content: center; }
.ferris-center-logo { position: absolute; width: 110px; height: 110px; z-index: 20; border-radius: 50%; box-shadow: 0 0 30px #d946ef; border: 3px solid #facc15; background: radial-gradient(circle, #a855f7, #4c1d95); display: flex; align-items: center; justify-content: center; flex-direction: column; }
.ferris-center-logo span { color: #fff; font-weight: 900; font-size: 26px; font-style: italic; text-shadow: 2px 2px 0 #db2777, -1px -1px 0 #db2777; line-height: 1; }
.ferris-center-logo .cp-text { color: #facc15; font-size: 28px; }

.ferris-wheel { position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 4px solid rgba(250, 204, 21, 0.4); box-shadow: inset 0 0 20px rgba(250,204,21,0.2), 0 0 20px rgba(250,204,21,0.2); animation: wheel-spin 15s linear infinite; display: flex; align-items: center; justify-content: center; }
.ferris-spoke { position: absolute; width: 2px; height: 100%; background: rgba(250, 204, 21, 0.3); }

.ferris-arm { position: absolute; width: 130px; height: 2px; left: 50%; top: 50%; transform-origin: 0 50%; }
.ferris-counter-offset { position: absolute; right: -30px; top: -25px; width: 60px; height: 50px; }
.ferris-cabin-wrapper { width: 100%; height: 100%; animation: anti-spin 15s linear infinite; transform-origin: center center; }

.ferris-cabin { width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(253, 224, 71, 0.9), rgba(245, 158, 11, 0.9)); border-radius: 12px; border: 2px solid #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.5); display: flex; justify-content: center; align-items: center; gap: 2px; padding: 2px; position: relative; overflow: visible; backdrop-filter: blur(2px); }
.ferris-cabin img { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #fff; background: rgba(255,255,255,0.4); object-fit: cover; }

.cabin-rank { position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); width: 20px; height: 20px; background: url('./cp_heart_final.png') center/contain no-repeat; display: flex; align-items: center; justify-content: center; color: white; font-size: 10px; font-weight: 900; z-index: 10; text-shadow: 1px 1px 1px #000; }

@keyframes wheel-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes anti-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(-360deg); } }

.cp-timer-box { background: rgba(0,0,0,0.5); padding: 8px 15px; border-radius: 8px; display: inline-flex; align-items: center; gap: 8px; color: white; font-size: 12px; border: 1px solid rgba(255,255,255,0.1); }
.cp-time-block { background: rgba(255,255,255,0.15); padding: 4px 6px; border-radius: 4px; font-weight: bold; }
.cp-tabs-row { display: flex; justify-content: center; gap: 10px; padding: 15px; }
.cp-tab-btn { background: linear-gradient(to bottom, #d946ef, #7e22ce); color: white; border: 1px solid #facc15; padding: 8px 15px; border-radius: 20px; font-size: 11px; font-weight: bold; box-shadow: 0 4px 10px rgba(0,0,0,0.3); flex: 1; text-align: center; cursor: pointer; }
.cp-tab-btn.active { background: linear-gradient(to bottom, #facc15, #d97706); border-color: #fff; text-shadow: 1px 1px 0 #000; }

.chair-bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 1;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6));
    z-index: 5;
    pointer-events: none;
}

#full-profile-view {
    transition: transform 0.3s ease-in-out;
    will-change: transform;
    background-color: #000 !important;
}
.fpv-white-board {
    margin-top: -25px !important;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    box-shadow: 0 -10px 25px rgba(0,0,0,0.5);
    background-color: white;
    position: relative;
    z-index: 30;
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}
.fpv-scroll-area {
    flex: 1;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 30px;
    max-height: calc(100vh - 250px);
}

#fpv-frames-list,
#fpv-medals-list {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px !important;
    padding: 5px 0 !important;
}

.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

.visual-root { position: relative !important; overflow: visible !important; }
.swal2-toast { display: none !important; }

/* HOME LEADERBOARD SLIDER */
.lb-slider-wrapper {
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 35px; 
    overflow: hidden;
    pointer-events: none;
    z-index: 5;
    margin-bottom: 2px !important;
}
.lb-slide-track {
    display: flex;
    flex-direction: column;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}
.lb-slide-item {
    height: 35px;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-shrink: 0;
}
.lb-time-tag {
    display: none !important;
}

.home-empty-dp {
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    border: 1px dashed rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    font-weight: 900;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.5), 0 2px 4px rgba(0,0,0,0.8);
}
.home-empty-dp.dp-rank-2 { width: 20px; height: 20px; z-index: 2; margin-right: -6px; margin-bottom: 2px; font-size: 9px; }
.home-empty-dp.dp-rank-1 { width: 26px; height: 26px; z-index: 3; font-size: 12px; }
.home-empty-dp.dp-rank-3 { width: 20px; height: 20px; z-index: 1; margin-left: -6px; margin-bottom: 2px; font-size: 9px; }

.fast-spin { animation: fa-spin 0.5s infinite linear !important; }

/* ROCKET REWARD POPUP */
@keyframes dropInSmooth { 0% { transform: scale(0.8) translateY(-30px); opacity: 0; } 100% { transform: scale(1) translateY(0); opacity: 1; } }
.rocket-popup-container { animation: dropInSmooth 0.4s ease-out forwards; background: linear-gradient(145deg, #0f0c29, #302b63, #24243e); border: 2px solid #facc15; box-shadow: 0 20px 50px rgba(0,0,0,0.9), inset 0 0 30px rgba(250, 204, 21, 0.15); }
.top-rank-box { background: linear-gradient(to bottom, rgba(255,255,255,0.08), rgba(0,0,0,0.7)); border-radius: 16px; padding: 10px 4px; border: 1px solid rgba(255,255,255,0.15); position: relative; display: flex; flex-direction: column; align-items: center; box-shadow: 0 5px 15px rgba(0,0,0,0.5); }

.reward-grid-item { background: rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; width: 30px; height: 42px; display: flex; flex-direction: column; justify-content: center; align-items: center; box-shadow: inset 0 0 5px rgba(0,0,0,0.5); }
.reward-grid-item img { width: 18px; height: 18px; object-fit: contain; filter: drop-shadow(0 2px 2px rgba(0,0,0,0.5)); margin-bottom: 2px; }
.reward-grid-item span { font-size: 8px; font-weight: 900; }

/* VIDEO ROOM EXCLUSIVE UI */
@keyframes toastIn { 
    from { opacity: 0; transform: translate(-50%, 20%); } 
    to { opacity: 1; transform: translate(-50%, -50%); } 
}
.animate-uni-toast { animation: toastIn 0.3s ease-out forwards; }

#view-room.video-room-bg { background: radial-gradient(circle at center, #4a0000 0%, #150000 100%) !important; }
#view-room.video-room-bg #room-top-content, #view-room.video-room-bg #room-lower-half { background: transparent !important; }
#view-room.video-room-bg #theme-image-bg { display: none !important; }
#view-room.video-room-bg #video-controls-wrapper { display: none !important; }

#view-room.video-room-bg .cinema-frame { border-color: #5a0000 !important; box-shadow: 0 5px 20px rgba(0,0,0,0.8) !important; cursor: pointer !important; }

.video-mode-mics .mics-container-main { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 0px 5px !important; padding-top: 0px !important; margin-top: -35px !important; width: 100% !important; }
.video-mode-mics #super-mics-row, .video-mode-mics .bottom-mic-row, .video-mode-mics #bottom-4-mics-row { display: contents !important; }
.video-mode-mics #wrapper-seat9, .video-mode-mics #wrapper-seat10 { display: none !important; }

.video-mode-mics .mic-wrapper { position: relative !important; width: 100% !important; height: 78px !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: flex-start !important; }
.video-mode-mics .seat-base { width: 100% !important; height: 100% !important; border-radius: 0 !important; position: absolute !important; top: 0 !important; left: 0 !important; }
.video-mode-mics .chair-bg-img { width: 100% !important; height: 100% !important; object-fit: contain !important; top: 0 !important; left: 0 !important; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.6)) !important; opacity: 1 !important; display: block !important; z-index: 1 !important; }

.video-mode-mics .user-dp-visual { position: absolute !important; top: 32% !important; left: 50% !important; transform: translate(-50%, -50%) !important; width: 44px !important; height: 44px !important; z-index: 5 !important; border-radius: 50% !important; }
.video-mode-mics .visual-root { width: 100% !important; height: 100% !important; border-radius: 50% !important; display: flex !important; align-items: center !important; justify-content: center !important; }
.video-mode-mics .visual-img { width: 100% !important; height: 100% !important; border-radius: 50% !important; object-fit: cover !important; border: 1.5px solid rgba(255,255,255,0.4) !important; top: 0 !important; left: 0 !important; transform: none !important; }

.video-mode-mics .visual-root > div { width: 100% !important; height: 100% !important; background: transparent !important; border: 1px solid rgba(255, 255, 255, 0.4) !important; box-shadow: inset 0 0 8px rgba(255,255,255,0.2) !important; backdrop-filter: blur(0px) !important; -webkit-backdrop-filter: blur(0px) !important; border-radius: 50% !important; display: flex !important; align-items: center !important; justify-content: center !important; overflow: hidden !important; }
.video-mode-mics i.fa-microphone, .video-mode-mics i.fa-lock { font-size: 16px !important; color: rgba(255,255,255,0.95) !important; filter: drop-shadow(0 2px 3px rgba(0,0,0,0.8)) !important; transform: none !important; margin: 0 !important; }
.video-mode-mics .visual-frame { display: none !important; }

.video-mode-mics .seat-mute-badge { position: absolute !important; top: calc(32% + 10px) !important; left: calc(50% + 10px) !important; width: 20px !important; height: 20px !important; background-color: #a3a3a3 !important; border: 1.5px solid #ffffff !important; border-radius: 50% !important; display: flex !important; align-items: center !important; justify-content: center !important; z-index: 50 !important; box-shadow: 0 2px 4px rgba(0,0,0,0.4) !important; right: auto !important; bottom: auto !important; }
.video-mode-mics .seat-mute-badge i { font-size: 10px !important; color: #ffffff !important; margin: 0 !important; padding: 0 !important; transform: none !important; }

.video-mode-mics .seat-name { position: absolute !important; bottom: 12px !important; left: 50% !important; transform: translateX(-50%) !important; z-index: 15 !important; color: #ffffff !important; font-size: 10px !important; font-weight: 900 !important; width: 80% !important; text-align: center !important; margin-top: 0 !important; text-shadow: 0 1px 4px rgba(0,0,0,0.9), 0 0 2px rgba(0,0,0,0.8) !important; pointer-events: none !important; }

.combo-pop { animation: popCombo 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
@keyframes popCombo { 0% { transform: scale(0.6); } 50% { transform: scale(1.4); } 100% { transform: scale(1); } }
.svg-gift-fly { position: fixed; width: 60px; height: 60px; z-index: 99999; pointer-events: none; filter: drop-shadow(0 5px 15px rgba(0,0,0,0.5)); }

/* DAILY REWARD MODAL */
@keyframes popActive { 0%, 100% { transform: translateY(0px) scale(1.05); } 50% { transform: translateY(-6px) scale(1.05); } }
.active-3d-box { animation: popActive 1.5s ease-in-out infinite; z-index: 20; }
.ribbon-3d-header { background: linear-gradient(to bottom, #ffdf00, #d4af37); padding: 12px 35px; border-radius: 12px; box-shadow: inset 0 4px 0 rgba(255,255,255,0.6), 0 10px 20px rgba(0,0,0,0.6); position: relative; z-index: 30; border: 2px solid #fff; }

.bottom-nav.hidden { display: none !important; }

/* CUSTOM SVG BOTTOM NAV LOGIC */
.nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; }
.nav-item span { display: none !important; }
.nav-svg { width: 42px; height: 42px; object-fit: contain; }

.nav-item .shine-svg { display: none; }
.nav-item .simple-svg { display: block; }

.nav-item.active .shine-svg { display: block; }
.nav-item.active .simple-svg { display: none; }

/* CROPPER JS TOUCH & LAG FIX */
.cropper-container { touch-action: none !important; -webkit-user-select: none !important; user-select: none !important; }
.cropper-wrap-box, .cropper-canvas, .cropper-drag-box, .cropper-crop-box, .cropper-modal { touch-action: none !important; }
#image-to-crop, .cropper-canvas img, .cropper-view-box img { will-change: transform !important; transform: translateZ(0) !important; backface-visibility: hidden !important; }

/* 3D ERROR POPUP STYLES */
.swal-neo-popup { background: #e0e5ec !important; border-radius: 20px !important; box-shadow: 10px 10px 20px #a3b1c6, -10px -10px 20px #ffffff !important; padding: 20px !important; }
.swal-neo-confirm { background: #e0e5ec !important; color: #ef4444 !important; border-radius: 15px !important; box-shadow: 5px 5px 10px #a3b1c6, -5px -5px 10px #ffffff !important; font-weight: 900 !important; padding: 12px 30px !important; border: none !important; outline: none !important; margin-top: 15px !important; cursor: pointer; transition: all 0.2s ease !important; font-size: 13px !important; letter-spacing: 1px !important; }
.swal-neo-confirm:active { box-shadow: inset 5px 5px 10px #a3b1c6, inset -5px -5px 10px #ffffff !important; }

/* FLOATING MINIMIZED ROOM */
.floating-minimized-room { position: fixed; bottom: 90px; right: 20px; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, #a855f7, #7e22ce); padding: 3px; z-index: 60; display: none; box-shadow: 0 5px 15px rgba(168, 85, 247, 0.5); cursor: grab; touch-action: none; }
.floating-minimized-room-inner { width: 100%; height: 100%; border-radius: 50%; background: #111; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.floating-room-img { width: 100%; height: 100%; object-fit: cover; animation: slow-spin 8s linear infinite; }

@keyframes slow-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

#floating-close-btn { position: absolute; top: -2px; right: -2px; width: 22px; height: 22px; background-color: #6b7280; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; cursor: pointer; z-index: 70; border: 2px solid white; box-shadow: 0 2px 5px rgba(0,0,0,0.4); transition: transform 0.2s; }
#floating-close-btn:active { transform: scale(0.8); }

/* AUDIO ROOM MUTE BADGE */
#mics-scroll-area:not(.video-mode-mics) .seat-mute-badge { position: absolute !important; bottom: -2px !important; right: -2px !important; width: 20px !important; height: 20px !important; background-color: #a3a3a3 !important; border: 1.5px solid #ffffff !important; border-radius: 50% !important; display: flex !important; align-items: center !important; justify-content: center !important; z-index: 50 !important; box-shadow: 0 2px 4px rgba(0,0,0,0.4) !important; }
#mics-scroll-area:not(.video-mode-mics) .seat-mute-badge i { font-size: 10px !important; color: #ffffff !important; margin: 0 !important; padding: 0 !important; transform: none !important; }

.seat-base, .visual-root, .user-dp-visual, .mic-wrapper { overflow: visible !important; position: relative !important; }
.voice-wibe-anim { max-width: none !important; max-height: none !important; pointer-events: none !important; }

#prophouse-modal { background-color: #ffffff !important; transform: translateX(0); opacity: 1; }
#prophouse-modal.translate-x-full { transform: translateX(100%); opacity: 0; }

#mics-scroll-area:not(.video-mode-mics) .seat-base { 
    position: relative !important; 
    width: 50px !important; 
    height: 50px !important;
    border-radius: 50% !important; 
    background: rgba(184, 134, 11, 0.15) !important; 
    border: 1.5px solid #facc15 !important; 
    box-shadow: 0 0 10px rgba(250, 204, 21, 0.3), inset 0 0 8px rgba(255, 255, 255, 0.2) !important; 
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    display: flex !important; align-items: center !important; justify-content: center !important; 
}

/* SNAKE LOADER */
.global-snake-overlay { position: fixed; inset: 0; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; z-index: 999999; }
.snake-box { background: rgba(255, 255, 255, 0.95); padding: 20px 35px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); display: flex; gap: 5px; }
.snake-letter { color: #000; font-size: 18px; font-weight: 500; font-family: sans-serif; display: inline-block; animation: snakeWave 1.2s infinite ease-in-out; }
@keyframes snakeWave { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.snake-letter:nth-child(1) { animation-delay: 0.1s; }
.snake-letter:nth-child(2) { animation-delay: 0.2s; }
.snake-letter:nth-child(3) { animation-delay: 0.3s; }
.snake-letter:nth-child(4) { animation-delay: 0.4s; }
.snake-letter:nth-child(5) { animation-delay: 0.5s; }

#view-profile { background-color: #f7f9fb !important; }

.profile-main-cards { display: flex; padding: 10px 15px; gap: 12px; justify-content: space-between; }
.p-card { background: #ffffff; flex: 1; height: 85px; border-radius: 12px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; box-shadow: 0 4px 10px rgba(0,0,0,0.03); cursor: pointer; }
.p-card:active { transform: scale(0.98); }
.p-card-info { display: flex; flex-direction: column; max-width: 60%; }
.p-card-title { font-size: 14px; font-weight: 800; color: #333; line-height: 1.2; }
.p-card-sub { font-size: 10px; color: #999; margin-top: 4px; }
.p-card-icon { width: 50px; height: 50px; object-fit: contain; }

.menu-list-container { background: #ffffff; border-radius: 25px 25px 0 0; margin-top: 5px; }

.profile-stats-new { display: flex; justify-content: space-around; align-items: center; background: transparent; padding: 15px 10px; margin-bottom: 5px; }
.stat-item { display: flex; flex-direction: column; align-items: center; flex: 1; cursor: pointer; }
.stat-count { font-size: 18px; font-weight: 800; color: #1f2937; line-height: 1; }
.stat-text { font-size: 12px; font-weight: 600; color: #9ca3af; margin-top: 5px; }
.stat-line { width: 1px; height: 25px; background-color: #e5e7eb; }
.stat-item:active { opacity: 0.6; }

