/* ═══════════════════════════════════════════════════════════
   SmartLive — MyCam-Style Dark Theme
   Professional dark cam platform aesthetic
   ═══════════════════════════════════════════════════════════ */
:root {
    --sl-bg:          #0a0a0a;
    --sl-bg-deep:     #000000;
    --sl-bg-card:     #141414;
    --sl-bg-card-h:   #1a1a1a;
    --sl-bg-input:    #111111;
    --sl-bg-surface:  #0f0f0f;
    --sl-border:      #222222;
    --sl-border-lt:   #2a2a2a;
    --sl-accent:      #e84393;
    --sl-accent-lt:   #fd79a8;
    --sl-accent-dark: #c72d7e;
    --sl-accent-soft: rgba(232,67,147,0.12);
    --sl-gold:        #f9a825;
    --sl-gold-lt:     #fdd835;
    --sl-gold-soft:   rgba(249,168,37,0.10);
    --sl-green:       #00e676;
    --sl-green-soft:  rgba(0,230,118,0.12);
    --sl-purple:      #a855f7;
    --sl-text:        #e8e8e8;
    --sl-text-muted:  #888888;
    --sl-text-dim:    #555555;
    --sl-white:       #ffffff;
    --sl-red:         #ef4444;
    --sl-success:     #22c55e;
    --sl-radius:      8px;
    --sl-radius-lg:   12px;
    --sl-font:        -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --sl-shadow-card: 0 2px 12px rgba(0,0,0,0.5);
    --sl-shadow-glow: 0 0 20px rgba(232,67,147,0.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body.smartlive-room-page,
body.smartlive-buy-page,
body.smartlive-dashboard-page {
    font-family: var(--sl-font);
    background: var(--sl-bg-deep);
    color: var(--sl-text);
    min-height: 100vh;
    direction: rtl;
    -webkit-font-smoothing: antialiased;
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */
.sl-btn {
    border: none; border-radius: var(--sl-radius); padding: 8px 18px;
    font-size: 13px; cursor: pointer; font-family: var(--sl-font);
    font-weight: 600; transition: all 0.15s ease; display: inline-flex;
    align-items: center; gap: 6px; text-decoration: none; line-height: 1.4;
}
.sl-btn:hover { opacity: 0.88; }
.sl-btn-primary {
    background: var(--sl-accent); color: var(--sl-white);
}
.sl-btn-primary:hover { background: var(--sl-accent-dark); }
.sl-btn-ghost {
    background: rgba(255,255,255,0.06); color: var(--sl-text);
    border: 1px solid var(--sl-border);
}
.sl-btn-ghost:hover { background: rgba(255,255,255,0.10); }
.sl-btn-gift {
    background: linear-gradient(135deg, var(--sl-gold), #ff9800);
    color: #000; font-weight: 700;
}
.sl-btn-outline {
    background: transparent; border: 1px solid var(--sl-accent);
    color: var(--sl-accent-lt);
}
.sl-btn-success { background: var(--sl-success); color: #000; font-weight: 700; }
.sl-btn-muted {
    background: rgba(255,255,255,0.04); border: 1px solid var(--sl-border);
    color: var(--sl-text-muted);
}
.sl-btn-full { width: 100%; justify-content: center; padding: 12px; font-size: 14px; }

.smartlive-btn { /* alias for non-.sl prefixed buttons (age gate etc) */
    border: none; border-radius: var(--sl-radius); padding: 12px 20px;
    font-size: 15px; cursor: pointer; font-family: var(--sl-font);
    font-weight: 700; transition: all 0.15s ease; display: block;
    width: 100%; text-align: center; text-decoration: none; color: var(--sl-white);
}
.smartlive-btn-success { background: var(--sl-accent); }
.smartlive-btn-success:hover { background: var(--sl-accent-dark); }
.smartlive-btn-muted { background: rgba(255,255,255,0.06); color: var(--sl-text-muted); }

/* ═══════════════════════════════════════════════════════════
   TOP BAR
   ═══════════════════════════════════════════════════════════ */
.sl-topbar {
    background: var(--sl-bg-surface); padding: 10px 16px;
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid var(--sl-border); flex-wrap: wrap; gap: 8px;
}
.sl-topbar-right, .sl-topbar-left {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.sl-live-badge {
    background: var(--sl-red); padding: 3px 10px; border-radius: 4px;
    font-size: 11px; font-weight: 700; color: var(--sl-white);
    display: flex; align-items: center; gap: 4px; text-transform: uppercase;
    letter-spacing: 0.5px;
}
.sl-live-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--sl-white); animation: sl-pulse 1.5s infinite;
}
.sl-viewers { font-size: 13px; color: var(--sl-text-muted); }
.sl-guest-badge {
    background: var(--sl-gold-soft); border: 1px solid rgba(249,168,37,0.25);
    padding: 3px 10px; border-radius: 4px; font-size: 11px; color: var(--sl-gold);
}
.sl-user-badge {
    background: rgba(255,255,255,0.06); padding: 4px 12px;
    border-radius: 20px; font-size: 12px; color: var(--sl-text-muted);
}
.sl-points-badge {
    background: var(--sl-gold); padding: 4px 14px; border-radius: 20px;
    font-size: 12px; font-weight: 700; color: #000; text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════
   ROOM — MAIN LAYOUT
   ═══════════════════════════════════════════════════════════ */
.sl-main { display: flex; flex-direction: row-reverse; height: calc(100vh - 50px); }

/* Video area */
.sl-video-area {
    flex: 1 1 65%; position: relative; background: #000;
    min-height: 280px; max-height: 100vh; overflow: hidden;
}
.sl-video-container {
    width: 100%; height: 100%; display: flex; align-items: center;
    justify-content: center; background: #000;
}
.sl-video-placeholder { text-align: center; }
.sl-video-avatar {
    width: 100px; height: 100px; border-radius: 50%;
    opacity: 0.2; filter: grayscale(50%);
}
.sl-video-placeholder-text {
    font-size: 13px; color: var(--sl-text-dim); margin-top: 8px;
}
#sl-video { width: 100%; height: 100%; object-fit: cover; display: none; }

/* Broadcaster overlay */
.sl-broadcaster-info {
    position: absolute; top: 12px; right: 12px;
    background: rgba(0,0,0,0.75); backdrop-filter: blur(8px);
    padding: 8px 14px; border-radius: 10px;
    display: flex; align-items: center; gap: 10px;
    border: 1px solid rgba(255,255,255,0.08);
}
.sl-bc-avatar { width: 32px; height: 32px; border-radius: 50%; }
.sl-bc-name { font-weight: 700; font-size: 14px; }
.sl-bc-title { font-size: 11px; color: var(--sl-text-muted); }

/* Video controls bar */
.sl-video-controls {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    padding: 28px 16px 12px; display: flex; gap: 8px;
    justify-content: center; flex-wrap: wrap;
}

/* Gift animation */
.sl-gift-animation {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    font-size: 72px; pointer-events: none; z-index: 100;
    filter: drop-shadow(0 0 20px rgba(249,168,37,0.5));
}
.sl-gift-animation.active { animation: sl-gift-pop 2s ease-out forwards; }

/* Gift picker */
.sl-gift-picker {
    position: absolute; bottom: 56px; left: 50%; transform: translateX(-50%);
    background: rgba(10,10,10,0.95); backdrop-filter: blur(16px);
    border: 1px solid var(--sl-border); border-radius: var(--sl-radius-lg);
    padding: 14px; display: flex; gap: 10px; z-index: 50;
    flex-wrap: wrap; justify-content: center;
}
.sl-gift-item {
    background: var(--sl-bg-card); border: 1px solid var(--sl-border);
    border-radius: 10px; padding: 10px 14px; color: var(--sl-text);
    cursor: pointer; text-align: center; min-width: 68px; transition: all 0.15s;
}
.sl-gift-item:hover { border-color: var(--sl-accent); background: var(--sl-bg-card-h); }
.sl-gift-emoji { font-size: 28px; display: block; }
.sl-gift-name { font-size: 10px; color: var(--sl-text-dim); margin-top: 3px; display: block; }
.sl-gift-cost { font-size: 11px; font-weight: 700; color: var(--sl-gold); margin-top: 2px; display: block; }

/* ═══════════════════════════════════════════════════════════
   CHAT
   ═══════════════════════════════════════════════════════════ */
.sl-chat {
    flex: 1 1 35%; max-width: 380px; min-width: 300px; display: flex; flex-direction: column;
    border-left: 1px solid var(--sl-border); background: var(--sl-bg);
}
.sl-chat-header {
    padding: 12px 16px; border-bottom: 1px solid var(--sl-border);
    font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 6px;
    color: var(--sl-text-muted);
}
.sl-chat-online-dot {
    width: 7px; height: 7px; border-radius: 50%; background: var(--sl-green);
    display: inline-block; animation: sl-pulse 2s infinite;
}
.sl-chat-messages {
    flex: 1; overflow-y: auto; padding: 8px 12px;
    display: flex; flex-direction: column; gap: 3px;
}
.sl-msg {
    padding: 5px 8px; border-radius: 6px; font-size: 13px; line-height: 1.5;
    animation: sl-fade-in 0.2s ease;
}
.sl-msg-user { font-weight: 700; margin-left: 5px; }
.sl-msg-text { color: var(--sl-text); }
.sl-msg-self { background: rgba(232,67,147,0.08); }
.sl-msg-gift {
    background: var(--sl-gold-soft); border: 1px solid rgba(249,168,37,0.15);
    border-radius: 8px; padding: 8px 12px; text-align: center;
    font-size: 12px; animation: sl-fade-in 0.2s ease;
}
.sl-msg-gift-sender { font-weight: 600; color: var(--sl-gold); }

/* Chat input */
.sl-chat-input {
    padding: 10px 12px; border-top: 1px solid var(--sl-border);
    display: flex; gap: 8px;
}
.sl-chat-input input {
    flex: 1; background: var(--sl-bg-input); border: 1px solid var(--sl-border);
    border-radius: var(--sl-radius); padding: 10px 12px; color: var(--sl-text);
    font-size: 13px; outline: none; font-family: var(--sl-font);
}
.sl-chat-input input:focus { border-color: var(--sl-accent); }
.sl-chat-input input::placeholder { color: var(--sl-text-dim); }

/* Guest prompt */
.sl-chat-guest-prompt {
    padding: 16px 12px; border-top: 1px solid var(--sl-border);
    text-align: center; background: rgba(255,255,255,0.02);
}
.sl-chat-guest-prompt p {
    font-size: 12px; color: var(--sl-text-muted); margin-bottom: 10px; line-height: 1.6;
}
.sl-chat-guest-buttons { display: flex; gap: 8px; justify-content: center; }

/* ═══════════════════════════════════════════════════════════
   MODALS
   ═══════════════════════════════════════════════════════════ */
.sl-modal {
    position: fixed; inset: 0; z-index: 300; display: flex;
    align-items: center; justify-content: center; padding: 16px;
}
.sl-modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.70); }
.sl-modal-card {
    position: relative; background: var(--sl-bg-card); border-radius: 16px;
    width: 100%; max-width: 400px; border: 1px solid var(--sl-border);
    box-shadow: var(--sl-shadow-card), var(--sl-shadow-glow);
    overflow: hidden; animation: sl-modal-in 0.2s ease-out;
}
.sl-modal-card h3 { margin: 0 0 4px; font-size: 17px; }
.sl-modal-card p.sl-muted { color: var(--sl-text-muted); font-size: 12px; margin: 0 0 14px; }
.sl-modal-card textarea {
    width: 100%; background: var(--sl-bg-input); border: 1px solid var(--sl-border);
    border-radius: var(--sl-radius); padding: 10px; color: var(--sl-text);
    font-size: 13px; resize: none; outline: none; font-family: var(--sl-font);
}
.sl-modal-card textarea:focus { border-color: var(--sl-accent); }
.sl-modal-actions { display: flex; gap: 8px; margin-top: 12px; }

/* ── Auth Modal ───────────────────────────────────────────── */
.sl-auth-card { max-width: 400px; }
.sl-auth-accent { background: var(--sl-accent); height: 4px; }
.sl-auth-panel { padding: 26px; }
.sl-auth-header { text-align: center; margin-bottom: 22px; }
.sl-auth-header h3 { color: var(--sl-white); font-size: 20px; font-weight: 800; }
.sl-auth-header p { color: var(--sl-text-muted); font-size: 12px; margin: 4px 0 0; }
.sl-auth-icon { font-size: 32px; margin-bottom: 6px; }
.sl-form-group { margin-bottom: 14px; }
.sl-form-group label {
    font-size: 12px; color: var(--sl-text-muted); font-weight: 600;
    display: block; margin-bottom: 5px;
}
.sl-form-group input {
    width: 100%; padding: 10px 12px; border-radius: var(--sl-radius);
    border: 1px solid var(--sl-border); background: var(--sl-bg-input);
    color: var(--sl-text); font-size: 13px; outline: none; font-family: var(--sl-font);
}
.sl-form-group input:focus { border-color: var(--sl-accent); }
.sl-form-group input::placeholder { color: var(--sl-text-dim); }
.sl-input-wrap { position: relative; }
.sl-input-wrap input { padding-left: 40px; }
.sl-pw-toggle {
    position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
    background: none; border: none; cursor: pointer; font-size: 14px; color: var(--sl-text-dim);
}
.sl-hint { font-size: 10px; color: var(--sl-text-dim); margin-top: 3px; display: block; }
.sl-form-link-row { text-align: left; margin-bottom: 16px; }
.sl-form-link-row a { color: var(--sl-accent-lt); font-size: 12px; text-decoration: none; }
.sl-auth-switch {
    text-align: center; margin-top: 16px; padding-top: 16px;
    border-top: 1px solid var(--sl-border); font-size: 12px; color: var(--sl-text-muted);
}
.sl-auth-switch a { color: var(--sl-accent-lt); font-weight: 700; text-decoration: none; }
.sl-errors { color: var(--sl-red); font-size: 12px; margin-bottom: 10px; }
.sl-success {
    color: var(--sl-success); font-size: 12px; padding: 8px;
    background: var(--sl-green-soft); border-radius: 6px; text-align: center;
}
.sl-warning {
    background: var(--sl-gold-soft); border: 1px solid rgba(249,168,37,0.2);
    border-radius: var(--sl-radius); padding: 10px; font-size: 11px;
    color: var(--sl-gold); margin: 10px 0; text-align: center;
}
.sl-verify-email {
    background: rgba(255,255,255,0.04); border-radius: var(--sl-radius);
    padding: 10px; font-size: 13px; color: var(--sl-accent-lt);
    font-weight: 600; text-align: center; direction: ltr; margin: 10px 0;
}
.sl-verified-check {
    width: 64px; height: 64px; border-radius: 50%; background: var(--sl-success);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px; font-size: 32px; color: #000;
}
.sl-pw-strength { display: flex; gap: 3px; margin-top: 5px; }
.sl-pw-strength span { flex: 1; height: 3px; border-radius: 2px; background: var(--sl-border); transition: background 0.3s; }

/* Share modal */
.sl-share-card { text-align: center; padding: 22px; }
.sl-share-buttons { display: flex; justify-content: center; gap: 14px; margin: 14px 0; }
.sl-share-buttons a {
    width: 50px; height: 50px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; text-decoration: none; color: #fff;
}
.sl-share-wa { background: #25d366; }
.sl-share-fb { background: #1877f2; }
.sl-share-tg { background: #0088cc; }
.sl-share-link { display: flex; gap: 8px; margin-top: 10px; }
.sl-share-link input {
    flex: 1; background: var(--sl-bg-input); border: 1px solid var(--sl-border);
    border-radius: var(--sl-radius); padding: 8px; color: var(--sl-text-muted);
    font-size: 12px; direction: ltr;
}

/* ═══════════════════════════════════════════════════════════
   AGE GATE — MyCam Style
   ═══════════════════════════════════════════════════════════ */
.smartlive-age-gate {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; align-items: center; justify-content: center; padding: 16px;
}
.smartlive-age-gate-overlay {
    position: absolute; inset: 0; background: rgba(0,0,0,0.92);
}
.smartlive-age-gate-card {
    position: relative; background: var(--sl-bg-card); border-radius: 16px;
    width: 100%; max-width: 480px; overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.6); border: 1px solid var(--sl-border);
    animation: sl-modal-in 0.3s ease-out;
}
.smartlive-age-gate-header {
    background: linear-gradient(135deg, var(--sl-accent), var(--sl-accent-dark));
    padding: 18px 22px; text-align: center;
}
.smartlive-age-gate-icon { font-size: 48px; margin-bottom: 4px; }
.smartlive-age-gate-header h2 {
    color: var(--sl-white); font-size: 20px; font-weight: 800;
}
.smartlive-age-gate-body { padding: 22px 24px; }
.smartlive-age-gate-text {
    background: rgba(255,255,255,0.03); border: 1px solid var(--sl-border);
    border-radius: 10px; padding: 14px 16px; margin-bottom: 18px; text-align: center;
}
.smartlive-age-gate-text p { font-size: 14px; color: var(--sl-text); line-height: 1.8; }
.smartlive-age-gate-text strong { font-size: 16px; color: var(--sl-accent-lt); }
.smartlive-age-gate-disclaimer {
    text-align: center; font-size: 12px; color: var(--sl-text-muted);
    line-height: 1.7; margin-bottom: 20px;
}
.smartlive-age-gate-legal {
    text-align: center; font-size: 10px; color: var(--sl-text-dim);
    margin-top: 14px; line-height: 1.5;
}
.smartlive-age-gate .smartlive-btn { margin-bottom: 8px; }

/* ═══════════════════════════════════════════════════════════
   COOKIE BAR
   ═══════════════════════════════════════════════════════════ */
.smartlive-cookie-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 8888;
    animation: sl-slide-up 0.3s ease-out;
}
.smartlive-cookie-inner {
    background: var(--sl-bg-card); border-top: 1px solid var(--sl-border);
    padding: 14px 18px; max-width: 900px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    gap: 14px; flex-wrap: wrap;
}
.smartlive-cookie-text { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 200px; }
.smartlive-cookie-icon { font-size: 24px; flex-shrink: 0; }
.smartlive-cookie-text strong { color: var(--sl-text); font-size: 13px; display: block; margin-bottom: 2px; }
.smartlive-cookie-text p { color: var(--sl-text-muted); font-size: 11px; line-height: 1.5; margin: 0; }
.smartlive-cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════
   WIDGET — [smartlive_now] Grid Cards
   ═══════════════════════════════════════════════════════════ */
.smartlive-widget { margin: 20px 0; }
.smartlive-widget-header {
    display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.smartlive-widget-title {
    font-size: 20px; font-weight: 700; color: var(--sl-white); margin: 0;
}
.smartlive-live-badge {
    background: var(--sl-red); color: var(--sl-white); font-size: 10px;
    font-weight: 700; padding: 2px 10px; border-radius: 4px;
    text-transform: uppercase; letter-spacing: 0.5px;
}

/* Card grid */
.smartlive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}
.smartlive-card {
    background: var(--sl-bg-card); border-radius: var(--sl-radius-lg);
    overflow: hidden; border: 1px solid var(--sl-border);
    text-decoration: none; color: var(--sl-text); display: block;
    transition: all 0.2s ease; box-shadow: var(--sl-shadow-card);
}
.smartlive-card:hover {
    transform: translateY(-3px); border-color: var(--sl-accent);
    box-shadow: var(--sl-shadow-card), var(--sl-shadow-glow);
}

/* Card thumbnail */
.smartlive-card-thumb {
    height: 160px; position: relative; overflow: hidden; background: #0a0a0a;
}
.smartlive-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.smartlive-card-thumb-placeholder {
    display: flex; align-items: center; justify-content: center;
    height: 100%; background: #080808;
}
.smartlive-card-avatar-large {
    width: 56px; height: 56px; border-radius: 50%; opacity: 0.3;
}

/* Badges */
.smartlive-badge-live {
    position: absolute; top: 8px; right: 8px; background: var(--sl-red);
    padding: 2px 8px; border-radius: 4px; font-size: 9px;
    font-weight: 700; color: var(--sl-white); text-transform: uppercase;
    letter-spacing: 0.5px;
}
.smartlive-badge-viewers {
    position: absolute; top: 8px; left: 8px;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
    padding: 2px 8px; border-radius: 4px; font-size: 10px; color: var(--sl-text-muted);
}
.smartlive-badge-category {
    position: absolute; bottom: 8px; right: 8px;
    background: rgba(168,85,247,0.7); backdrop-filter: blur(4px);
    padding: 2px 10px; border-radius: 4px; font-size: 9px; color: var(--sl-white);
}

/* Card info */
.smartlive-card-info { padding: 12px 14px; }
.smartlive-card-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.smartlive-card-avatar { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; }
.smartlive-card-name { font-weight: 700; font-size: 13px; }
.smartlive-card-title {
    font-size: 11px; color: var(--sl-text-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.smartlive-card-btn {
    width: 100%; background: var(--sl-accent); border-radius: var(--sl-radius);
    padding: 8px; text-align: center; font-weight: 600; font-size: 12px;
    color: var(--sl-white); transition: background 0.15s;
}
.smartlive-card:hover .smartlive-card-btn { background: var(--sl-accent-dark); }

/* ═══════════════════════════════════════════════════════════
   BUY POINTS
   ═══════════════════════════════════════════════════════════ */
.smartlive-buy-points { max-width: 600px; margin: 0 auto; padding: 24px 16px; }
.smartlive-buy-header { text-align: center; margin-bottom: 24px; }
.smartlive-buy-header h2 {
    font-size: 24px; font-weight: 800; color: var(--sl-white);
}
.smartlive-buy-header p { color: var(--sl-text-muted); font-size: 13px; margin-top: 4px; }
.smartlive-buy-icon { font-size: 44px; margin-bottom: 6px; }
.smartlive-balance-badge {
    background: var(--sl-gold); padding: 4px 14px; border-radius: 20px;
    font-size: 12px; font-weight: 700; color: #000; display: inline-block; margin-top: 8px;
}
.smartlive-packages-list { display: flex; flex-direction: column; gap: 10px; }
.smartlive-package {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px; background: var(--sl-bg-card); border: 1px solid var(--sl-border);
    border-radius: var(--sl-radius-lg); position: relative; transition: border-color 0.15s;
}
.smartlive-package:hover { border-color: var(--sl-border-lt); }
.smartlive-package.popular {
    background: rgba(168,85,247,0.08); border: 2px solid var(--sl-purple);
}
.smartlive-popular-badge {
    position: absolute; top: 0; left: 0; background: var(--sl-purple);
    padding: 2px 12px; font-size: 9px; font-weight: 700;
    border-bottom-right-radius: 8px; color: var(--sl-white);
    text-transform: uppercase;
}
.smartlive-package-info { display: flex; align-items: center; gap: 12px; }
.smartlive-package-icon {
    width: 44px; height: 44px; border-radius: 10px;
    background: var(--sl-gold); display: flex; align-items: center;
    justify-content: center; font-size: 20px; flex-shrink: 0;
}
.smartlive-package.popular .smartlive-package-icon { background: var(--sl-purple); }
.smartlive-package-points { font-size: 20px; font-weight: 800; color: var(--sl-white); }
.smartlive-package-points span { font-size: 12px; font-weight: 400; color: var(--sl-text-muted); margin-right: 4px; }
.smartlive-package-rate { font-size: 11px; color: var(--sl-text-dim); }
.smartlive-package-action { text-align: center; flex-shrink: 0; }
.smartlive-package-price { font-size: 12px; color: var(--sl-text-muted); margin-bottom: 5px; }
.smartlive-wa-btn {
    display: inline-flex; align-items: center; gap: 5px; background: #25d366;
    color: #fff; padding: 8px 18px; border-radius: var(--sl-radius);
    font-weight: 700; font-size: 13px; text-decoration: none; white-space: nowrap;
}
.smartlive-wa-btn:hover { background: #20b858; color: #fff; }
.smartlive-buy-info {
    margin-top: 20px; background: rgba(255,255,255,0.02);
    border: 1px solid var(--sl-border); border-radius: 10px; padding: 14px;
}
.smartlive-buy-info h4 { font-size: 13px; color: var(--sl-text); margin-bottom: 6px; }
.smartlive-buy-info p { font-size: 12px; color: var(--sl-text-muted); line-height: 1.8; }

/* ═══════════════════════════════════════════════════════════
   CHAT MODERATION
   ═══════════════════════════════════════════════════════════ */
.sl-mod-menu { float: left; opacity: 0; transition: opacity 0.15s; margin-right: 6px; }
.sl-msg:hover .sl-mod-menu { opacity: 1; }
.sl-mod-btn {
    background: none; border: none; cursor: pointer; font-size: 12px;
    padding: 1px 3px; border-radius: 3px; opacity: 0.6; transition: opacity 0.1s;
}
.sl-mod-btn:hover { opacity: 1; background: rgba(255,255,255,0.08); }

/* ═══════════════════════════════════════════════════════════
   SCROLLBAR
   ═══════════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--sl-border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--sl-text-dim); }

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════ */
@keyframes sl-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes sl-fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sl-modal-in { from { opacity: 0; transform: scale(0.95) translateY(12px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes sl-slide-up { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes sl-gift-pop {
    0% { transform: translate(-50%,-50%) scale(0); opacity: 0; }
    25% { transform: translate(-50%,-50%) scale(1.3); opacity: 1; }
    70% { transform: translate(-50%,-50%) scale(1.1); opacity: 1; }
    100% { transform: translate(-50%,-70%) scale(1); opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .sl-main { flex-direction: column !important; height: auto !important; }
    .sl-video-area { min-height: 40vh; order: 1 !important; }
    .sl-chat {
        max-width: 100% !important; min-width: 100% !important; border-left: none !important;
        border-top: 1px solid var(--sl-border); max-height: 45vh; order: 2 !important;
    }
    .smartlive-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
    .smartlive-card-thumb { height: 130px; }
    .smartlive-package { flex-direction: column; gap: 10px; text-align: center; }
    .smartlive-package-info { flex-direction: column; }
}
@media (max-width: 480px) {
    .sl-topbar { padding: 8px 10px; }
    .sl-broadcaster-info { display: none; }
    .smartlive-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .smartlive-card-thumb { height: 110px; }
    .smartlive-card-info { padding: 8px 10px; }
    .smartlive-card-btn { font-size: 11px; padding: 6px; }
}
