:root {
    --bg-0: #020206; --bg-1: rgba(10,10,28,0.65); --bg-2: rgba(14,14,38,0.55); --bg-3: rgba(20,20,50,0.5); --bg-4: rgba(28,28,65,0.45);
    --glass: rgba(255,255,255,0.025); --glass-border: rgba(255,255,255,0.055); --glass-hover: rgba(255,255,255,0.055);
    --accent: #8b5cf6; --accent-hover: #7c3aed; --accent-light: #a78bfa; --accent-glow: rgba(139,92,246,0.22);
    --green: #22c55e; --green-hover: #16a34a; --green-glow: rgba(34,197,94,0.18);
    --text: #ededf3; --text-dim: #7c7c9e; --text-muted: #3e3e5a;
    --border: rgba(255,255,255,0.06); --border-light: rgba(255,255,255,0.1);
    --danger: #f43f5e; --danger-glow: rgba(244,63,94,0.16);
    --gold: #f59e0b; --gold-glow: rgba(245,158,11,0.16);
    --cyan: #06b6d4; --cyan-glow: rgba(6,182,212,0.16);
    --radius: 12px; --radius-lg: 16px; --radius-xl: 20px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', -apple-system, sans-serif; background: var(--bg-0); color: var(--text);
    line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before {
    content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
    background:
        radial-gradient(ellipse 70% 50% at 20% 0%, rgba(139,92,246,0.07) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 80% 20%, rgba(6,182,212,0.04) 0%, transparent 50%),
        radial-gradient(ellipse 60% 30% at 50% 100%, rgba(139,92,246,0.04) 0%, transparent 50%);
}
body::after {
    content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat; background-size: 200px 200px;
}
.container { max-width: 1280px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }

/* NAVBAR */
.navbar {
    position: sticky; top: 0; z-index: 100;
    background: rgba(4,4,14,0.72); backdrop-filter: blur(28px) saturate(1.5);
    -webkit-backdrop-filter: blur(28px) saturate(1.5);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    box-shadow: 0 1px 24px rgba(0,0,0,0.3), 0 1px 0 rgba(255,255,255,0.03) inset;
}
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.nav-left { display: flex; align-items: center; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); font-size: 1.18rem; font-weight: 800; letter-spacing: -0.4px; }
.logo-icon {
    width: 40px; height: 40px; border-radius: 12px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 50%, #4c1d95 100%);
    display: flex; align-items: center; justify-content: center; color: #fff; font-size: 0.9rem;
    box-shadow: 0 4px 20px rgba(139,92,246,0.35), 0 0 0 1px rgba(255,255,255,0.08) inset;
}
.logo-accent { color: var(--accent-light); }
.nav-center { display: flex; gap: 4px; }
.nav-link {
    display: flex; align-items: center; gap: 7px; padding: 8px 18px; border-radius: 10px;
    color: var(--text-dim); text-decoration: none; font-size: 0.84rem; font-weight: 500;
    transition: all 0.28s cubic-bezier(0.4,0,0.2,1); border: 1px solid transparent;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.04); }
.nav-link.active { color: var(--accent-light); background: rgba(139,92,246,0.08); border-color: rgba(139,92,246,0.12); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-cart {
    position: relative; cursor: pointer; width: 42px; height: 42px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; color: var(--text-dim);
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.28s;
}
.nav-cart:hover { color: var(--text); background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.08); }
.cart-badge {
    position: absolute; top: -5px; right: -5px;
    background: linear-gradient(135deg, #8b5cf6, #6d28d9); color: #fff;
    font-size: 0.58rem; font-weight: 700; min-width: 18px; height: 18px;
    border-radius: 50px; display: flex; align-items: center; justify-content: center;
    padding: 0 5px; box-shadow: 0 2px 10px rgba(139,92,246,0.45);
    border: 2px solid var(--bg-0);
}
.auth-btns { display: flex; gap: 8px; }
.user-pill {
    display: flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 50px; padding: 4px 16px 4px 4px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.user-avatar {
    width: 34px; height: 34px; border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #6d28d9); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.78rem; font-weight: 700;
    box-shadow: 0 2px 12px rgba(139,92,246,0.3);
}
.user-name { font-size: 0.84rem; font-weight: 600; }
.role-badge {
    font-size: 0.58rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px;
    padding: 3px 10px; border-radius: 50px;
    background: rgba(139,92,246,0.12); color: var(--accent-light);
    border: 1px solid rgba(139,92,246,0.15);
}
.btn-icon { background: none; border: none; color: var(--text-dim); cursor: pointer; padding: 6px; border-radius: 8px; transition: all 0.2s; }
.btn-icon:hover { color: var(--danger); background: var(--danger-glow); }

/* BUTTONS */
.btn {
    display: inline-flex; align-items: center; gap: 7px; padding: 10px 22px;
    border-radius: var(--radius); font-size: 0.84rem; font-weight: 600; cursor: pointer;
    border: none; transition: all 0.3s cubic-bezier(0.4,0,0.2,1); font-family: inherit;
    letter-spacing: 0.15px; position: relative; overflow: hidden;
}
.btn::after {
    content: ''; position: absolute; inset: 0; opacity: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    transition: opacity 0.3s;
}
.btn:hover::after { opacity: 1; }
.btn-accent {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 40%, #6d28d9 100%);
    color: #fff; box-shadow: 0 4px 18px rgba(139,92,246,0.3), 0 1px 0 rgba(255,255,255,0.1) inset;
}
.btn-accent:hover { box-shadow: 0 8px 28px rgba(139,92,246,0.45), 0 1px 0 rgba(255,255,255,0.1) inset; transform: translateY(-2px); }
.btn-accent:active { transform: translateY(0); }
.btn-ghost {
    background: rgba(255,255,255,0.03); color: var(--text-dim);
    border: 1px solid rgba(255,255,255,0.08); backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: rgba(139,92,246,0.3); color: var(--text); background: rgba(139,92,246,0.06); }
.btn-green {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #15803d 100%);
    color: #fff; box-shadow: 0 4px 18px rgba(34,197,94,0.25), 0 1px 0 rgba(255,255,255,0.1) inset;
}
.btn-green:hover { box-shadow: 0 8px 28px rgba(34,197,94,0.4), 0 1px 0 rgba(255,255,255,0.1) inset; transform: translateY(-2px); }
.btn-green:active { transform: translateY(0); }
.btn-danger {
    background: transparent; color: var(--danger);
    border: 1px solid rgba(244,63,94,0.2);
}
.btn-danger:hover { background: rgba(244,63,94,0.08); border-color: rgba(244,63,94,0.35); }
.btn-sm { padding: 7px 14px; font-size: 0.76rem; border-radius: 10px; }
.btn-lg { padding: 14px 30px; font-size: 0.92rem; border-radius: 14px; }
.btn-full { width: 100%; justify-content: center; }

/* HERO */
.hero { position: relative; padding: 84px 28px 64px; text-align: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse at 50% 0%, rgba(139,92,246,0.1) 0%, transparent 55%), radial-gradient(ellipse at 80% 100%, rgba(6,182,212,0.05) 0%, transparent 45%); }
.hero-content { position: relative; z-index: 1; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 7px; padding: 7px 20px;
    border-radius: 50px; background: rgba(139,92,246,0.06); border: 1px solid rgba(139,92,246,0.15);
    color: var(--accent-light); font-size: 0.76rem; font-weight: 600; margin-bottom: 28px;
    backdrop-filter: blur(12px); box-shadow: 0 2px 16px rgba(139,92,246,0.08);
}
.hero h1 { font-size: 3.4rem; font-weight: 900; line-height: 1.06; margin-bottom: 20px; letter-spacing: -1.2px; }
.gradient-text {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--cyan) 50%, var(--accent-light) 100%);
    background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    animation: shimmer 5s ease-in-out infinite;
}
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero > .hero-content > p { color: var(--text-dim); font-size: 1.05rem; margin-bottom: 40px; max-width: 520px; margin-left: auto; margin-right: auto; }
.hero-stats { display: flex; justify-content: center; gap: 56px; }
.hero-stats .stat { text-align: center; }
.hero-stats .stat strong { display: block; font-size: 1.8rem; font-weight: 800; letter-spacing: -0.5px; }
.hero-stats .stat span { font-size: 0.76rem; color: var(--text-dim); }

/* FILTERS */
.section-bar { border-bottom: 1px solid var(--border); background: rgba(10,10,28,0.5); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.filter-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 16px; flex-wrap: wrap; }
.filter-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pill {
    padding: 8px 20px; border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.025);
    color: var(--text-dim); font-size: 0.76rem; font-weight: 500; cursor: pointer;
    transition: all 0.28s cubic-bezier(0.4,0,0.2,1); font-family: inherit;
    backdrop-filter: blur(8px);
}
.pill:hover { background: rgba(139,92,246,0.08); border-color: rgba(139,92,246,0.2); color: var(--text); }
.pill.active {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9); color: #fff; border-color: transparent;
    box-shadow: 0 4px 18px rgba(139,92,246,0.3);
}
.sort-select select {
    padding: 8px 14px; border-radius: 10px;
    background: rgba(255,255,255,0.03); color: var(--text);
    border: 1px solid rgba(255,255,255,0.06); font-family: inherit;
    font-size: 0.8rem; cursor: pointer; backdrop-filter: blur(10px); outline: none;
}
.sort-select select:focus { border-color: var(--accent); }

/* PRODUCTS */
.products-area { padding: 40px 0 72px; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.product-card {
    background: rgba(14,14,38,0.55); border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-xl); overflow: hidden; cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139,92,246,0.25);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35), 0 0 30px rgba(139,92,246,0.08), 0 0 0 1px rgba(139,92,246,0.1) inset;
}
.product-img {
    height: 240px; display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
    background: linear-gradient(145deg, rgba(10,10,30,0.6), rgba(20,20,55,0.4));
    background-size: cover; background-position: center;
}
.product-img::after {
    content: ''; position: absolute; inset: 0; opacity: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.4) 100%);
    transition: opacity 0.4s;
}
.product-card:hover .product-img::after { opacity: 1; }
.product-img .p-icon { font-size: 3.8rem; opacity: 0.55; transition: all 0.5s cubic-bezier(0.4,0,0.2,1); position: relative; z-index: 1; }
.product-card:hover .p-icon { transform: scale(1.15) translateY(-4px); opacity: 0.75; }
.product-img .p-img-el { width: 100%; height: 100%; object-fit: contain; position: relative; z-index: 1; }
.p-tag {
    position: absolute; top: 14px; left: 14px;
    padding: 4px 14px; border-radius: 50px;
    font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.9px;
    z-index: 3; backdrop-filter: blur(12px);
}
.tag-featured { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; box-shadow: 0 2px 14px rgba(245,158,11,0.35); }
.tag-rare { background: linear-gradient(135deg, #8b5cf6, #6d28d9); color: #fff; box-shadow: 0 2px 14px rgba(139,92,246,0.35); }
.tag-og { background: linear-gradient(135deg, #f43f5e, #e11d48); color: #fff; box-shadow: 0 2px 14px rgba(244,63,94,0.35); }
.tag-vbucks { background: linear-gradient(135deg, #06b6d4, #0891b2); color: #fff; box-shadow: 0 2px 14px rgba(6,182,212,0.35); }
.p-skins-badge {
    position: absolute; bottom: 14px; right: 14px;
    background: rgba(0,0,0,0.55); backdrop-filter: blur(14px);
    padding: 4px 14px; border-radius: 50px;
    font-size: 0.66rem; color: var(--text-dim); z-index: 3;
    border: 1px solid rgba(255,255,255,0.06);
}
.p-body { padding: 20px; }
.p-title { font-size: 0.94rem; font-weight: 700; margin-bottom: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -0.2px; }
.p-specs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.spec {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05);
    padding: 4px 12px; border-radius: 50px; font-size: 0.66rem;
    color: var(--text-dim); display: flex; align-items: center; gap: 4px;
    backdrop-filter: blur(6px);
}
.p-footer { display: flex; justify-content: space-between; align-items: center; }
.p-price { font-size: 1.3rem; font-weight: 800; color: var(--green); letter-spacing: -0.4px; }
.p-price small { font-size: 0.66rem; color: var(--text-dim); font-weight: 400; }
.p-delivery { font-size: 0.7rem; color: var(--text-dim); display: flex; align-items: center; gap: 4px; }
.p-delivery i { color: var(--green); }
.empty-state { text-align: center; padding: 68px 0; color: var(--text-muted); }
.empty-state i { font-size: 3.2rem; margin-bottom: 14px; display: block; }

/* PANELS */
.panel-header { padding: 48px 0 30px; }
.panel-header h1 { font-size: 1.75rem; font-weight: 800; display: flex; align-items: center; gap: 12px; margin-bottom: 7px; letter-spacing: -0.4px; }
.panel-header p { color: var(--text-dim); }

/* SELLER */
.cooldown-banner {
    display: flex; align-items: center; gap: 11px; padding: 14px 24px;
    border-radius: var(--radius); background: rgba(245,158,11,0.06);
    border: 1px solid rgba(245,158,11,0.15); color: var(--gold);
    margin-bottom: 24px; font-size: 0.86rem; backdrop-filter: blur(12px);
    box-shadow: 0 2px 16px rgba(245,158,11,0.06);
}
.seller-form-card {
    background: rgba(14,14,38,0.55); border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-xl); padding: 34px; margin-bottom: 36px;
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.panel-section h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; letter-spacing: -0.2px; }
.my-listing-card {
    background: rgba(14,14,38,0.45); border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius); padding: 18px; margin-bottom: 10px;
    display: flex; align-items: center; gap: 16px; transition: all 0.28s;
    backdrop-filter: blur(10px);
}
.my-listing-card:hover { border-color: rgba(255,255,255,0.08); background: rgba(20,20,50,0.5); }
.my-listing-thumb {
    width: 54px; height: 54px; border-radius: 12px; object-fit: cover;
    background: rgba(255,255,255,0.03); display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; flex-shrink: 0; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
}
.my-listing-thumb img { width: 100%; height: 100%; object-fit: cover; }
.my-listing-info { flex: 1; }
.my-listing-info h4 { font-size: 0.9rem; margin-bottom: 2px; }
.my-listing-info span { font-size: 0.76rem; color: var(--text-dim); }
.my-listing-price { font-size: 1.1rem; font-weight: 700; color: var(--green); }

/* IMAGE UPLOAD */
.image-upload-area {
    border: 2px dashed rgba(255,255,255,0.08); border-radius: var(--radius-xl);
    cursor: pointer; transition: all 0.3s; margin-bottom: 24px; overflow: hidden;
}
.image-upload-area:hover { border-color: rgba(139,92,246,0.35); background: rgba(139,92,246,0.03); }
.upload-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px; color: var(--text-muted); gap: 8px; min-height: 155px; }
.upload-placeholder i { font-size: 2.4rem; color: var(--accent-light); opacity: 0.35; }
.upload-placeholder span { font-size: 0.86rem; font-weight: 500; color: var(--text-dim); }
.upload-placeholder small { font-size: 0.7rem; }
.upload-placeholder img { max-width: 100%; max-height: 300px; border-radius: var(--radius); object-fit: contain; }

/* FORMS */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 4px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.76rem; color: var(--text-dim); margin-bottom: 8px; font-weight: 500; letter-spacing: 0.4px; text-transform: uppercase; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 16px; border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.025);
    color: var(--text); font-size: 0.86rem; font-family: inherit; outline: none;
    transition: all 0.28s; backdrop-filter: blur(8px);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--accent); box-shadow: 0 0 0 3px rgba(139,92,246,0.08), 0 2px 12px rgba(0,0,0,0.15);
}
.form-group textarea { min-height: 88px; resize: vertical; }
.form-alt { text-align: center; margin-top: 20px; font-size: 0.8rem; color: var(--text-dim); }
.form-alt a { color: var(--accent-light); text-decoration: none; font-weight: 600; }
.role-select { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.role-option {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 20px 14px; border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.06); cursor: pointer;
    transition: all 0.28s; text-align: center;
    background: rgba(255,255,255,0.02);
}
.role-option input { display: none; }
.role-option i { font-size: 1.5rem; color: var(--text-dim); transition: color 0.2s; }
.role-option strong { font-size: 0.82rem; }
.role-option span { font-size: 0.66rem; color: var(--text-muted); }
.role-option:hover { border-color: rgba(139,92,246,0.25); background: rgba(139,92,246,0.04); }
.role-option.active {
    border-color: rgba(139,92,246,0.4); background: rgba(139,92,246,0.08);
    box-shadow: 0 0 24px rgba(139,92,246,0.08), 0 0 0 1px rgba(139,92,246,0.15) inset;
}
.role-option.active i { color: var(--accent-light); }

/* ADMIN */
.admin-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 28px; }
.admin-stat-card {
    background: rgba(14,14,38,0.55); border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-lg); padding: 22px; display: flex; align-items: center; gap: 18px;
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    transition: all 0.28s; box-shadow: 0 2px 16px rgba(0,0,0,0.15);
}
.admin-stat-card:hover { border-color: rgba(255,255,255,0.08); transform: translateY(-2px); }
.admin-stat-icon {
    width: 50px; height: 50px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.admin-stat-info { display: flex; flex-direction: column; }
.admin-stat-num { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.6px; }
.admin-stat-info span:last-child { font-size: 0.7rem; color: var(--text-dim); }
.admin-tabs { display: flex; gap: 4px; margin-bottom: 24px; border-bottom: 1px solid var(--border); padding-bottom: 0; flex-wrap: wrap; }
.admin-tab {
    padding: 12px 22px; border: none; background: transparent; color: var(--text-dim);
    font-size: 0.8rem; font-weight: 500; cursor: pointer;
    border-bottom: 2px solid transparent; transition: all 0.28s;
    font-family: inherit; display: flex; align-items: center; gap: 7px;
}
.admin-tab:hover { color: var(--text); }
.admin-tab.active { color: var(--accent-light); border-bottom-color: var(--accent); }
.admin-table-wrap { overflow-x: auto; }
.admin-table {
    width: 100%; border-collapse: collapse;
    background: rgba(14,14,38,0.55); border-radius: var(--radius-xl);
    overflow: hidden; border: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(14px); box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}
.admin-table th {
    text-align: left; padding: 14px 20px; font-size: 0.7rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-dim);
    background: rgba(255,255,255,0.02); border-bottom: 1px solid var(--border);
    white-space: nowrap;
}
.admin-table td { padding: 14px 20px; font-size: 0.8rem; border-bottom: 1px solid rgba(255,255,255,0.035); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(139,92,246,0.025); }
.table-thumb {
    width: 44px; height: 44px; border-radius: 10px; object-fit: cover;
    background: rgba(255,255,255,0.03); display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; overflow: hidden; border: 1px solid rgba(255,255,255,0.06);
}
.table-thumb img { width: 100%; height: 100%; object-fit: cover; }
.table-actions { display: flex; gap: 6px; }
.table-badge { display: inline-block; padding: 3px 11px; border-radius: 50px; font-size: 0.66rem; font-weight: 600; }
.badge-owner { background: rgba(245,158,11,0.12); color: var(--gold); border: 1px solid rgba(245,158,11,0.12); }
.badge-admin { background: rgba(244,63,94,0.12); color: var(--danger); border: 1px solid rgba(244,63,94,0.12); }
.badge-seller { background: rgba(245,158,11,0.12); color: var(--gold); border: 1px solid rgba(245,158,11,0.12); }
.badge-trusted { background: rgba(6,182,212,0.12); color: var(--cyan); border: 1px solid rgba(6,182,212,0.12); }
.badge-user { background: rgba(139,92,246,0.12); color: var(--accent-light); border: 1px solid rgba(139,92,246,0.12); }

.role-select-inline {
    padding: 5px 10px; border-radius: 8px;
    background: rgba(255,255,255,0.03); color: var(--text);
    border: 1px solid rgba(255,255,255,0.06); font-size: 0.76rem;
    font-family: inherit; cursor: pointer; outline: none; backdrop-filter: blur(8px);
}
.role-select-inline:focus { border-color: var(--accent); }

/* LOGS */
.log-controls { margin-bottom: 20px; }
.log-controls select {
    padding: 9px 16px; border-radius: 10px;
    background: rgba(255,255,255,0.03); color: var(--text);
    border: 1px solid rgba(255,255,255,0.06); font-family: inherit;
    font-size: 0.8rem; cursor: pointer; backdrop-filter: blur(8px); outline: none;
}
.log-list { max-height: 540px; overflow-y: auto; padding-right: 4px; }
.log-list::-webkit-scrollbar { width: 4px; }
.log-list::-webkit-scrollbar-track { background: transparent; }
.log-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 4px; }
.log-list::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.14); }
.log-entry {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 18px 22px; background: rgba(14,14,38,0.5);
    border: 1px solid rgba(255,255,255,0.045); border-radius: var(--radius);
    margin-bottom: 8px; transition: all 0.28s; backdrop-filter: blur(10px);
}
.log-entry:hover { border-color: rgba(255,255,255,0.08); background: rgba(18,18,45,0.55); }
.log-icon {
    width: 40px; height: 40px; border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; flex-shrink: 0;
}
.log-icon.login { background: rgba(34,197,94,0.1); color: var(--green); }
.log-icon.register { background: rgba(139,92,246,0.1); color: var(--accent-light); }
.log-icon.logout { background: rgba(124,124,158,0.1); color: var(--text-dim); }
.log-icon.purchase { background: rgba(245,158,11,0.1); color: var(--gold); }
.log-icon.product_add { background: rgba(6,182,212,0.1); color: var(--cyan); }
.log-icon.product_edit { background: rgba(139,92,246,0.1); color: var(--accent-light); }
.log-icon.product_delete { background: rgba(244,63,94,0.1); color: var(--danger); }
.log-icon.user_add { background: rgba(34,197,94,0.1); color: var(--green); }
.log-icon.role_change { background: rgba(6,182,212,0.1); color: var(--cyan); }
.log-icon.log_clear { background: rgba(244,63,94,0.1); color: var(--danger); }
.log-info { flex: 1; min-width: 0; }
.log-info .log-msg { font-size: 0.84rem; font-weight: 500; margin-bottom: 4px; }
.log-info .log-meta { font-size: 0.7rem; color: var(--text-dim); display: flex; gap: 16px; flex-wrap: wrap; }
.log-meta span { display: flex; align-items: center; gap: 5px; }

.log-ip { font-size: 0.68rem; }
.ip-censored { color: var(--text-muted); cursor: default; filter: blur(0); user-select: none; transition: all 0.2s; }
.ip-censored:hover, .ip-revealed { color: var(--accent-light); filter: none; background: rgba(139,92,246,0.08); padding: 2px 8px; border-radius: 6px; }
.ip-full { color: var(--accent-light); }

/* MODALS */
.modal-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.55); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    z-index: 200; align-items: center; justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal {
    background: rgba(12,12,36,0.88); border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-xl); padding: 40px; width: 90%; max-width: 440px;
    position: relative; animation: mIn 0.35s cubic-bezier(0.16,1,0.3,1);
    max-height: 90vh; overflow-y: auto;
    backdrop-filter: blur(32px) saturate(1.4); -webkit-backdrop-filter: blur(32px) saturate(1.4);
    box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 1px rgba(255,255,255,0.08) inset, 0 0 60px rgba(139,92,246,0.04);
}
.modal-lg { max-width: 660px; }
@keyframes mIn { from { opacity: 0; transform: scale(0.94) translateY(16px); } to { opacity: 1; transform: none; } }
.modal-close {
    position: absolute; top: 18px; right: 18px;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
    color: var(--text-dim); width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.25s; z-index: 5;
}
.modal-close:hover { background: rgba(244,63,94,0.1); color: var(--danger); border-color: rgba(244,63,94,0.2); }
.modal-header { text-align: center; margin-bottom: 30px; }
.modal-icon {
    width: 56px; height: 56px; border-radius: 18px;
    background: rgba(139,92,246,0.1); color: var(--accent-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin: 0 auto 18px;
    border: 1px solid rgba(139,92,246,0.1);
    box-shadow: 0 4px 24px rgba(139,92,246,0.08);
}
.modal-header h2 { font-size: 1.35rem; font-weight: 800; margin-bottom: 5px; letter-spacing: -0.3px; }
.modal-header p { color: var(--text-dim); font-size: 0.8rem; }
.modal-hint { text-align: center; margin-top: 20px; color: var(--text-muted); }
.modal-hint small { font-size: 0.7rem; }

/* PRODUCT DETAIL */
.pd-img {
    width: 100%; height: 340px; border-radius: var(--radius-xl); overflow: hidden;
    margin-bottom: 26px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(145deg, rgba(10,10,30,0.6), rgba(20,20,55,0.4));
    background-size: cover; background-position: center;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.pd-img img { width: 100%; height: 100%; object-fit: contain; }
.pd-img .pd-icon { font-size: 3.4rem; }
.pd-info h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 5px; letter-spacing: -0.3px; }
.pd-info p { color: var(--text-dim); font-size: 0.8rem; margin-bottom: 20px; }
.pd-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 24px; }
.pd-stat {
    background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius); padding: 16px; text-align: center;
    backdrop-filter: blur(8px);
}
.pd-stat small { display: block; font-size: 0.66rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 6px; }
.pd-stat strong { font-size: 1rem; }
.pd-skins-title { font-size: 0.76rem; color: var(--text-dim); margin-bottom: 10px; text-transform: uppercase; font-weight: 600; letter-spacing: 0.6px; }
.pd-skins { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 24px; }
.pd-skin {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05);
    padding: 5px 16px; border-radius: 50px; font-size: 0.74rem;
    backdrop-filter: blur(6px);
}
.pd-price { font-size: 2.5rem; font-weight: 900; color: var(--green); text-align: center; margin: 20px 0; letter-spacing: -0.6px; }
.pd-price small { font-size: 0.82rem; color: var(--text-dim); font-weight: 400; }

/* CART */
.cart-empty { text-align: center; padding: 48px 0; color: var(--text-muted); }
.cart-empty i { font-size: 2.8rem; margin-bottom: 14px; display: block; opacity: 0.3; }
.cart-item {
    display: flex; align-items: center; gap: 16px;
    padding: 16px; background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius); margin-bottom: 10px;
    transition: all 0.28s; backdrop-filter: blur(10px);
}
.cart-item:hover { border-color: rgba(255,255,255,0.08); }
.cart-item-icon { font-size: 1.8rem; width: 52px; text-align: center; flex-shrink: 0; }
.cart-item-icon img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info h4 { font-size: 0.86rem; font-weight: 600; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-info span { font-size: 0.74rem; color: var(--text-dim); }
.cart-item-price { font-size: 1.05rem; font-weight: 700; color: var(--green); white-space: nowrap; }
.cart-item-remove {
    background: transparent; border: 1px solid rgba(244,63,94,0.15); color: var(--danger);
    width: 36px; height: 36px; border-radius: 10px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.78rem; transition: all 0.25s; flex-shrink: 0;
}
.cart-item-remove:hover { background: rgba(244,63,94,0.08); border-color: rgba(244,63,94,0.3); }
.cart-summary { border-top: 1px solid var(--border); padding-top: 20px; margin-top: 10px; }
.cart-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; }
.cart-row.total { font-size: 1.2rem; font-weight: 800; padding-top: 14px; border-top: 1px solid var(--border); margin-top: 10px; letter-spacing: -0.3px; }
.cart-actions { display: flex; gap: 10px; margin-top: 20px; }
.cart-actions .btn { flex: 1; justify-content: center; }

/* ORDERS */
.order-card {
    background: rgba(14,14,38,0.55); border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-xl); padding: 0; margin-bottom: 16px; overflow: hidden;
    transition: all 0.28s; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 2px 16px rgba(0,0,0,0.15);
}
.order-card:hover { border-color: rgba(255,255,255,0.08); }
.order-header {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
    padding: 18px 22px; border-bottom: 1px solid rgba(255,255,255,0.04); background: rgba(255,255,255,0.015);
}
.order-header strong { font-size: 0.9rem; }
.order-items { padding: 12px 22px; }
.order-item-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.035); font-size: 0.84rem;
}
.order-item-row:last-child { border-bottom: none; }
.order-footer {
    padding: 16px 22px; border-top: 1px solid rgba(255,255,255,0.04); background: rgba(255,255,255,0.015);
    display: flex; flex-direction: column; gap: 10px;
}
.order-time { font-size: 0.74rem; color: var(--text-dim); display: flex; align-items: center; gap: 5px; }
.order-total { font-size: 1.05rem; font-weight: 800; color: var(--green); }
.order-actions { display: flex; gap: 8px; justify-content: flex-end; }
.order-note { font-size: 0.74rem; color: var(--green); display: flex; align-items: center; gap: 5px; }

.order-badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 12px; border-radius: 50px; font-size: 0.68rem; font-weight: 600;
}
.order-pending { background: rgba(245,158,11,0.12); color: var(--gold); border: 1px solid rgba(245,158,11,0.1); }
.order-confirmed { background: rgba(34,197,94,0.12); color: var(--green); border: 1px solid rgba(34,197,94,0.1); }
.order-rejected { background: rgba(244,63,94,0.12); color: var(--danger); border: 1px solid rgba(244,63,94,0.1); }

/* CHECKOUT */
.checkout-success { text-align: center; padding: 28px 0; }
.checkout-success .check-icon {
    width: 72px; height: 72px; border-radius: 50%;
    background: rgba(245,158,11,0.1); color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; margin: 0 auto 20px;
    border: 1px solid rgba(245,158,11,0.12);
    box-shadow: 0 4px 24px rgba(245,158,11,0.1);
}
.checkout-success h3 { font-size: 1.3rem; margin-bottom: 8px; letter-spacing: -0.2px; }
.checkout-success p { color: var(--text-dim); font-size: 0.86rem; margin-bottom: 5px; }
.checkout-items { margin: 20px 0; text-align: left; }
.checkout-item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 0.86rem; }
.checkout-item:last-child { border-bottom: none; }
.checkout-total { font-size: 1.4rem; font-weight: 800; color: var(--green); text-align: center; margin: 20px 0; }

/* CREDENTIALS SECTION */
.credentials-section {
    border: 1px dashed rgba(245,158,11,0.2); border-radius: var(--radius-lg);
    padding: 22px; margin: 20px 0 4px; background: rgba(245,158,11,0.015);
}
.credentials-header {
    font-size: 0.86rem; font-weight: 700; color: var(--gold);
    display: flex; align-items: center; gap: 9px; margin-bottom: 8px;
}
.credentials-info { font-size: 0.74rem; color: var(--text-dim); margin-bottom: 18px; }

.cred-box {
    background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius); padding: 18px 22px; margin-top: 14px;
    backdrop-filter: blur(8px);
}
.cred-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.035);
    font-size: 0.8rem;
}
.cred-row:last-child { border-bottom: none; }
.cred-label { color: var(--text-dim); font-weight: 500; }
.cred-value { font-weight: 600; color: var(--text); font-family: 'Courier New', monospace; }

/* PAYMENT OPTIONS */
.payment-option { transition: all 0.28s cubic-bezier(0.4,0,0.2,1) !important; }
.payment-option:hover { border-color: var(--accent) !important; background: rgba(139,92,246,0.05) !important; box-shadow: 0 4px 24px rgba(139,92,246,0.08) !important; }

/* MASKED FIELDS */
.masked-field { position: relative; display: flex; align-items: center; }
.masked-field input { width: 100%; padding-right: 44px; }
.masked-toggle {
    position: absolute; right: 10px; background: none; border: none;
    color: var(--text-dim); cursor: pointer; padding: 4px 6px; font-size: 0.8rem;
    transition: color 0.2s;
}
.masked-toggle:hover { color: var(--accent-light); }
.email-locked {
    border: 1px dashed rgba(255,255,255,0.08); border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.02);
}

/* TOAST */
.toast {
    position: fixed; bottom: 28px; right: 28px; padding: 14px 26px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff; font-weight: 600; font-size: 0.82rem;
    z-index: 300; opacity: 0; transform: translateY(24px);
    transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
    pointer-events: none;
    box-shadow: 0 8px 32px rgba(34,197,94,0.3), 0 1px 0 rgba(255,255,255,0.1) inset;
}
.toast.show { opacity: 1; transform: none; }

/* FOOTER */
.footer {
    background: rgba(8,8,22,0.6); border-top: 1px solid rgba(255,255,255,0.04);
    padding: 48px 0 24px; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
}
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 36px; }
.footer-brand p { color: var(--text-dim); font-size: 0.8rem; margin-top: 12px; line-height: 1.7; }
.footer-col h4 { font-size: 0.78rem; margin-bottom: 16px; letter-spacing: 0.4px; text-transform: uppercase; color: var(--text-dim); }
.footer-col a { display: block; color: var(--text-dim); text-decoration: none; font-size: 0.8rem; padding: 5px 0; transition: all 0.2s; }
.footer-col a:hover { color: var(--accent-light); transform: translateX(3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.04); padding-top: 20px; text-align: center; font-size: 0.76rem; color: var(--text-muted); }

/* SCROLLBAR */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.14); }

/* RESPONSIVE */
@media (max-width: 900px) { .admin-stats { grid-template-columns: repeat(2,1fr); } .footer-inner { grid-template-columns: 1fr; gap: 28px; } .pd-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 700px) { .nav-center { display: none; } .hero h1 { font-size: 2.2rem; } .hero-stats { gap: 28px; } .form-grid { grid-template-columns: 1fr; } .admin-stats { grid-template-columns: 1fr; } .user-name { display: none; } .log-entry { flex-direction: column; gap: 10px; } }

/* AMBIENT ORBS */
.ambient-orbs { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.04; }
.orb-1 { width: 500px; height: 500px; background: var(--accent); top: -10%; left: -5%; animation: orbFloat1 20s ease-in-out infinite; }
.orb-2 { width: 400px; height: 400px; background: var(--cyan); bottom: -10%; right: -5%; animation: orbFloat2 25s ease-in-out infinite; }
.orb-3 { width: 350px; height: 350px; background: var(--accent); top: 50%; left: 50%; transform: translate(-50%, -50%); animation: orbFloat3 30s ease-in-out infinite; }
@keyframes orbFloat1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(40px, 30px); } }
@keyframes orbFloat2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-30px, -40px); } }
@keyframes orbFloat3 { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.15); } }

.chat-fab { position: fixed; bottom: 28px; right: 28px; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-hover)); color: #fff; border: none; cursor: pointer; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 24px var(--accent-glow), 0 0 60px rgba(139,92,246,0.15); z-index: 10001; transition: transform 0.2s, box-shadow 0.2s; }
.chat-fab:hover { transform: scale(1.1); box-shadow: 0 6px 32px var(--accent-glow), 0 0 80px rgba(139,92,246,0.25); }
.chat-badge { position: absolute; top: -4px; right: -4px; background: var(--danger); color: #fff; font-size: 0.65rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: flex; align-items: center; justify-content: center; padding: 0 4px; border: 2px solid var(--bg-0); }

.chat-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 10000; display: flex; align-items: center; justify-content: center; animation: chatFadeIn 0.2s ease; }
@keyframes chatFadeIn { from { opacity: 0; } to { opacity: 1; } }

.chat-window { position: fixed; bottom: 96px; right: 28px; width: 380px; height: 540px; background: var(--bg-0); border: 1px solid var(--border); border-radius: 16px; display: flex; flex-direction: column; z-index: 10001; box-shadow: 0 8px 48px rgba(0,0,0,0.5), 0 0 80px rgba(139,92,246,0.08); overflow: hidden; animation: chatSlideUp 0.3s ease; }
@keyframes chatSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.chat-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(139,92,246,0.05)); border-bottom: 1px solid var(--border); color: var(--accent-light); flex-shrink: 0; }
.chat-close-btn { background: none; border: none; color: var(--text-dim); cursor: pointer; font-size: 1rem; padding: 6px 10px; border-radius: 8px; transition: all 0.2s; }
.chat-close-btn:hover { color: #fff; background: rgba(239,68,68,0.2); }

.chat-admin-panel { border-bottom: 1px solid var(--border); flex-shrink: 0; }
.chat-user-list { max-height: 160px; overflow-y: auto; }
.chat-user-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; cursor: pointer; font-size: 0.8rem; color: var(--text-dim); border-bottom: 1px solid rgba(255,255,255,0.03); transition: background 0.15s; position: relative; }
.chat-user-item:hover, .chat-user-item.active { background: rgba(139,92,246,0.08); color: var(--accent-light); }
.chat-user-item .unread-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--danger); flex-shrink: 0; animation: pulse-dot 1.5s ease infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.chat-user-item .user-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-glow); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; color: var(--accent-light); font-weight: 700; flex-shrink: 0; border: 1px solid rgba(139,92,246,0.2); }

.chat-messages { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.chat-msg { max-width: 80%; padding: 10px 14px; border-radius: 14px; font-size: 0.82rem; line-height: 1.45; word-wrap: break-word; position: relative; }
.chat-msg.user-msg { align-self: flex-end; background: linear-gradient(135deg, var(--accent), var(--accent-hover)); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg.support-msg { align-self: flex-start; background: var(--bg-2); color: var(--text); border-bottom-left-radius: 4px; border: 1px solid rgba(255,255,255,0.04); }
.chat-msg .msg-sender { font-size: 0.68rem; font-weight: 700; margin-bottom: 3px; opacity: 0.7; }
.chat-msg .msg-time { font-size: 0.6rem; opacity: 0.5; margin-top: 4px; text-align: right; }
.chat-msg.system-msg { align-self: center; background: none; color: var(--text-muted); font-size: 0.72rem; padding: 4px 0; max-width: 100%; }

.chat-input-area { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--border); background: var(--bg-1); flex-shrink: 0; position: relative; z-index: 2; }
.chat-input-area input { flex: 1; background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; color: var(--text); font-size: 0.82rem; outline: none; transition: border-color 0.2s; position: relative; z-index: 2; }
.chat-input-area input:focus { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(139,92,246,0.15); }
.chat-send-btn { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--accent), var(--accent-hover)); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; transition: transform 0.15s; flex-shrink: 0; position: relative; z-index: 2; }
.chat-send-btn:hover { transform: scale(1.05); }

@media (max-width: 480px) {
    .chat-window { width: calc(100vw - 20px); right: 10px; bottom: 80px; height: 70vh; }
    .chat-fab { bottom: 16px; right: 16px; width: 50px; height: 50px; }
}

.admin-support-user { display: flex; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer; border-bottom: 1px solid rgba(255,255,255,0.03); transition: all 0.15s; }
.admin-support-user:hover, .admin-support-user.active { background: rgba(139,92,246,0.08); }
.admin-support-user .sup-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-glow); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; color: var(--accent-light); font-weight: 700; flex-shrink: 0; border: 1px solid rgba(139,92,246,0.2); }
.admin-support-user .sup-info { flex: 1; min-width: 0; }
.admin-support-user .sup-name { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.admin-support-user .sup-last { font-size: 0.7rem; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-support-user .sup-unread { width: 9px; height: 9px; border-radius: 50%; background: var(--danger); flex-shrink: 0; animation: pulse-dot 1.5s ease infinite; }
.admin-support-user.active .sup-name { color: var(--accent-light); }