:root {
    --bg: #030303;
    --s1: #101010;
    --s2: #161616;
    --p: #e10600;
    --pl: #ff2a2a;
    --pd: #8a0400;
    --pg: rgba(225, 6, 0, 0.28);
    --bd: rgba(225, 6, 0, 0.28);
    --bdh: rgba(255, 42, 42, 0.65);
    --tx: #f4f4f4;
    --mt: #8d8d8d;
    --gold: #fbbf24;
    --red: #ff2a2a;
    --green: #4ade80;
}

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

html {
    background: var(--bg);
    scrollbar-width: thin;
    scrollbar-color: var(--p) #0a0a0a;
}

body {
    font-family: Outfit, system-ui, sans-serif;
    background: var(--bg);
    color: var(--tx);
    overflow-x: hidden;
    -webkit-user-select: none;
    user-select: none;
}

img, svg, video, canvas {
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
}

input, textarea, select, [contenteditable="true"],
.invite-val, .lc-text, .lc-card-url {
    -webkit-user-select: text;
    user-select: text;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: var(--p); }

.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 2000;
    background: linear-gradient(90deg, transparent, var(--p) 20%, var(--pl) 50%, var(--p) 80%, transparent);
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 248px;
    height: 100vh;
    height: 100dvh;
    background: #0b0b0b;
    border-right: 1px solid var(--bd);
    overflow-y: auto;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.sb-top {
    padding: 14px 14px 12px;
    border-bottom: 1px solid var(--bd);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    gap: 8px;
}

.sb-brand { display: flex; align-items: center; min-width: 0; flex: 1; }
.sb-logo,
.brand-mark {
    display: block;
    width: 188px;
    max-width: 100%;
    height: auto;
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
    overflow: visible;
}
.brand-mark.lg { width: 280px; }
.sb-brand .brand-mark { width: min(188px, 100%); }

.sb-close {
    display: none;
    background: none;
    border: none;
    color: var(--mt);
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
}

.sb-user {
    margin: 12px 12px 0;
    background: var(--s1);
    border: 1px solid var(--bd);
    border-radius: 4px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sb-avatar {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    flex-shrink: 0;
    background: var(--p);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
}

.sb-uname { font-size: 13px; font-weight: 700; color: var(--tx); }
.sb-ustats { font-size: 11px; color: var(--mt); margin-top: 2px; }

.pro-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 1px 6px;
    background: var(--gold);
    color: #000;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 700;
    margin-left: 4px;
}

.sb-kicker {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 14px 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--pl);
}

.sb-kicker::before {
    content: "";
    width: 14px;
    height: 2px;
    background: var(--p);
    flex-shrink: 0;
}

.sb-kicker.gold { color: var(--gold); }
.sb-kicker.gold::before { background: var(--gold); }

.sb-block { padding-bottom: 6px; }

.sb-nav {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 0 10px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 8px;
    border-radius: 4px;
    color: var(--mt);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.nav-ico {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    border: 1px solid var(--bd);
    background: #0e0e0e;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pl);
    font-size: 11px;
    flex-shrink: 0;
}

.nav-link:hover { background: rgba(225, 6, 0, 0.1); color: #fff; }
.nav-link:hover .nav-ico { background: rgba(225, 6, 0, 0.18); border-color: var(--bdh); }
.nav-link.active { background: rgba(225, 6, 0, 0.16); color: #fff; }
.nav-link.active .nav-ico { background: var(--p); border-color: var(--p); color: #fff; }

.live-badge {
    display: none;
    margin-left: auto;
    background: var(--p);
    color: #fff;
    border-radius: 8px;
    font-size: 9px;
    font-weight: 800;
    padding: 1px 6px;
}

.tier-chips {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 4px 12px 8px;
}

.tchip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 58px;
    padding: 8px 4px;
    border: 1px solid var(--bd);
    background: #0e0e0e;
    color: var(--mt);
    text-decoration: none;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    font-family: Outfit, sans-serif;
}

.tchip .tchip-n {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    color: var(--mt);
}

.tchip i { font-size: 9px; opacity: 0.8; }

.tchip:hover { border-color: var(--bdh); color: var(--pl); }
.tchip:hover .tchip-n { color: var(--pl); }

.tchip.on {
    border-color: var(--p);
    background: rgba(225, 6, 0, 0.16);
    color: #fff;
}

.tchip.on .tchip-n { color: #fff; }
.tchip.on i { color: var(--green); opacity: 1; }

.tchip.gold { border-color: rgba(251, 191, 36, 0.28); }
.tchip.gold:hover { border-color: rgba(251, 191, 36, 0.55); color: var(--gold); }
.tchip.gold:hover .tchip-n { color: var(--gold); }
.tchip.gold.on {
    border-color: var(--gold);
    background: rgba(251, 191, 36, 0.14);
    color: var(--gold);
}
.tchip.gold.on .tchip-n { color: var(--gold); }
.tchip.gold.on i { color: var(--gold); }

.sb-logout {
    margin: 14px;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 2px;
    background: rgba(225, 6, 0, 0.08);
    border: 1px solid var(--bd);
    color: var(--pl);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.sb-logout:hover { background: rgba(225, 6, 0, 0.16); }

.topbar {
    position: fixed;
    top: 3px;
    left: 248px;
    right: 0;
    height: 52px;
    background: #0b0b0b;
    border-bottom: 1px solid var(--bd);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 900;
}

.topbar-left { display: flex; align-items: center; gap: 12px; }

.mob-menu {
    display: none;
    background: none;
    border: none;
    color: var(--pl);
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
}

.topbar-title { font-size: 15px; font-weight: 700; color: var(--tx); }
.topbar-right { display: flex; align-items: center; gap: 8px; }

.tb-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 2px;
    background: transparent;
    border: 1px solid var(--bd);
    color: var(--mt);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    font-family: Outfit, sans-serif;
}

.tb-btn:hover { background: rgba(225, 6, 0, 0.12); border-color: var(--bdh); color: var(--pl); }

.main {
    margin-left: 248px;
    padding-top: 55px;
    min-height: 100vh;
    background: var(--bg);
}

.main-inner { position: relative; z-index: 1; padding: 24px; }

.hero {
    background: #101010;
    border: 1px solid var(--bd);
    border-radius: 4px;
    padding: 24px 28px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-title { font-size: 24px; font-weight: 800; color: var(--tx); margin-bottom: 6px; }
.hero-title span { color: var(--pl); }
.hero-sub { font-size: 14px; color: var(--mt); line-height: 1.5; }
.hero-sub strong { color: var(--pl); }
.hero-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--p);
    border: none;
    border-radius: 2px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.btn-primary:hover { background: var(--pl); }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: transparent;
    border: 1px solid var(--bd);
    border-radius: 2px;
    color: var(--pl);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

button.btn-ghost { cursor: pointer; font-family: Outfit, sans-serif; }

.btn-ghost:hover { background: rgba(225, 6, 0, 0.12); }

.stats-3col { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 12px; margin-bottom: 22px; }

.stat-card {
    background: var(--s1);
    border: 1px solid var(--bd);
    border-radius: 4px;
    padding: 20px;
}

.stat-label {
    font-size: 11px;
    color: var(--mt);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-label i { color: var(--pl); }
.stat-value { font-size: 44px; font-weight: 800; color: var(--pl); line-height: 1; }
.stat-hint { font-size: 13px; color: var(--mt); margin-top: 8px; }

.progress-head {
    font-size: 11px;
    color: var(--mt);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.progress-head span { display: flex; align-items: center; gap: 6px; }
.progress-head span i { color: var(--pl); }
.progress-pct { font-size: 16px; font-weight: 800; color: var(--pl); }

.progress-track {
    background: var(--s2);
    border-radius: 2px;
    height: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: var(--p);
    border-radius: 2px;
}

.progress-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--mt);
}

.progress-meta strong { color: var(--tx); }
.progress-left { color: var(--pl); font-weight: 700; }
.progress-done { color: var(--green); font-weight: 700; }

.btn-mini {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 8px 14px;
    background: transparent;
    border: 1px solid var(--bd);
    border-radius: 2px;
    color: var(--pl);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.section { margin-bottom: 22px; }

.section-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--mt);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.section-label.gold { color: var(--gold); }
.section-label i { color: var(--pl); }
.section-label.gold i { color: var(--gold); }

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.section-link {
    font-size: 13px;
    color: var(--pl);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.tier-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; overflow: visible; }

.tcard {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 10px;
    background: var(--s1);
    border: 1px solid var(--bd);
    border-radius: 4px;
    text-decoration: none;
    gap: 8px;
    cursor: pointer;
    color: inherit;
}

.tcard:hover { border-color: var(--bdh); background: rgba(225, 6, 0, 0.08); }
.tcard.on { border-color: var(--p); background: rgba(225, 6, 0, 0.1); }
.tcard.gold { border-color: rgba(251, 191, 36, 0.45); background: rgba(251, 191, 36, 0.08); }
.tcard.gold:hover { border-color: var(--gold); }

.tcard-icon {
    width: 44px;
    height: 44px;
    border-radius: 4px;
    background: rgba(225, 6, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: var(--pl);
}

.tcard.on .tcard-icon { background: var(--p); color: #fff; }
.tcard.gold .tcard-icon { background: var(--gold); color: #000; }

.tcard-name { font-size: 13px; font-weight: 700; color: var(--tx); }
.tcard-meta { font-size: 11px; color: var(--mt); display: flex; align-items: center; gap: 4px; }
.tcard.on .tcard-meta { color: var(--green); }
.tcard.gold .tcard-name, .tcard.gold .tcard-meta { color: var(--gold); }

.owned-section { padding: 14px; background: var(--s1); border: 1px solid rgba(251, 191, 36, 0.22); border-radius: 4px; }
.owned-hint { font-size: 12px; color: var(--mt); line-height: 1.45; margin: 8px 0 12px; }
.owned-kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: var(--mt);
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 12px 0 8px;
}
.owned-kicker:first-of-type { margin-top: 0; }
.owned-kicker i { color: var(--gold); }
.owned-count {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 99px;
    font-size: 10px;
    letter-spacing: 0.4px;
    color: #000;
    background: var(--gold);
    text-transform: uppercase;
}
.tcard.owned { border-color: var(--bd); background: rgba(225, 6, 0, 0.08); cursor: default; }
.tcard.owned:hover { border-color: var(--bdh); }
.tcard.owned .tcard-icon { background: var(--p); color: #fff; }
.tcard.owned .tcard-meta { color: var(--green); }
.tcard-meta.pack-help {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.tcard-meta.pack-help a {
    color: var(--pl);
    text-decoration: none;
    font-weight: 700;
}
.tcard-meta.pack-help a:hover { text-decoration: underline; }

.pkg-list { display: flex; flex-wrap: wrap; gap: 8px; }

.pkg-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    background: rgba(225, 6, 0, 0.1);
    border: 1px solid var(--bd);
    border-radius: 2px;
    font-size: 13px;
    font-weight: 600;
    color: var(--tx);
}

.pkg-chip i { color: var(--green); font-size: 13px; }

.pkg-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    background: transparent;
    border: 1px dashed var(--bd);
    border-radius: 2px;
    color: var(--mt);
    font-size: 12px;
    text-decoration: none;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.video-card {
    background: var(--s1);
    border: 1px solid var(--bd);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    display: block;
    width: 100%;
    padding: 0;
    text-align: left;
    color: inherit;
    font-family: inherit;
}

.video-card:hover { border-color: var(--bdh); }

.video-thumb-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    background: var(--s2);
    content-visibility: auto;
    contain-intrinsic-size: 200px 112px;
}

.video-thumb-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .16s ease;
}

.video-thumb-wrap img.is-in {
    opacity: 1;
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
}

.video-card:hover .video-play-overlay { opacity: 1; }

.play-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--p);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-circle i { font-size: 18px; color: #fff; margin-left: 3px; }

.video-dur {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: #000;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 2px;
}
.video-dur:empty { display: none; }

.video-info { padding: 10px 12px; }
.video-title { font-size: 13px; font-weight: 600; color: var(--tx); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 4px; }
.video-views { font-size: 12px; color: var(--mt); }

.sb-overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.7); z-index: 999; }

.notif {
    position: fixed;
    top: 20px;
    right: 20px;
    width: min(380px, calc(100vw - 24px));
    max-width: none;
    padding: 14px;
    background: #141414;
    border: 1px solid #2c2c2c;
    border-radius: 12px;
    color: var(--tx);
    z-index: 30000;
    display: none;
    box-shadow: 0 16px 40px rgba(0,0,0,.45);
}

.notif.show { display: block; }
.notif.error { border-color: rgba(225, 6, 0, 0.45); }
.notif.success { border-color: rgba(74, 222, 128, 0.5); }
.notif-inner { display: flex; align-items: flex-start; gap: 10px; }
.notif-icon { font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.notif.error .notif-icon { color: #e10600; }
.notif.success .notif-icon { color: var(--green); }
.notif-text { flex: 1; min-width: 0; font-size: 13px; line-height: 1.45; color: #ddd; }
.notif-text > strong { display: block; color: #fff; font-size: 14px; margin-bottom: 4px; }
.notif-text span { display: block; }
.notif-text b, .notif-text span strong { color: #fff; }
.notif-text .notif-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.notif-actions a {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    background: #e10600;
}
.notif-actions a:last-child {
    background: #1c1c1c;
    border: 1px solid #333;
    color: #ddd;
}
.notif-close { background: none; border: none; color: var(--mt); font-size: 15px; cursor: pointer; margin-left: 6px; }
@media (max-width: 560px) {
    .notif { top: 12px; right: 12px; left: 12px; width: auto; }
}

.get-page {
    max-width: 980px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.main.get-main {
    --get-col: 980px;
    --get-sb: 248px;
    --get-gutter: calc((100vw - var(--get-sb) - var(--get-col)) / 2);
    --get-art: min(45vh, calc(var(--get-gutter) - 48px));
    overflow: visible;
}

.get-side {
    position: fixed;
    top: 54%;
    width: var(--get-art);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}
.get-side img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 66vh;
    object-fit: contain;
}
.get-side-l {
    left: calc(var(--get-sb) + var(--get-gutter) / 2);
    transform: translate(-50%, -50%);
}
.get-side-r {
    left: calc(100vw - var(--get-gutter) / 2);
    transform: translate(-50%, -50%);
}

.get-head { margin-bottom: 22px; }
.get-title { font-size: 24px; font-weight: 800; color: var(--tx); }
.get-title span { color: var(--pl); }
.get-sub { font-size: 14px; color: var(--mt); margin-top: 6px; line-height: 1.5; }

.invite-panel {
    background: var(--s1);
    border: 1px solid var(--bd);
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 22px;
    display: grid;
    grid-template-columns: minmax(220px, 0.9fr) minmax(280px, 1.1fr);
    gap: 18px;
    align-items: start;
}

.invite-lead { display: flex; gap: 14px; align-items: flex-start; }
.invite-ico {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    background: var(--p);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.invite-lead h2 { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.invite-lead p { font-size: 13px; color: var(--mt); line-height: 1.5; }

.invite-links { display: flex; flex-direction: column; gap: 8px; }
.invite-row {
    background: #0a0a0a;
    border: 1px solid var(--bd);
    border-radius: 4px;
    padding: 12px;
}
.invite-row-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.invite-lbl {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--mt);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.invite-val {
    font-size: 12px;
    color: var(--pl);
    font-family: ui-monospace, Consolas, monospace;
    word-break: break-all;
    line-height: 1.45;
}
.invite-copy {
    background: var(--p);
    border: none;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    font-family: Outfit, sans-serif;
    padding: 8px 12px;
    min-height: 36px;
    border-radius: 2px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.invite-copy i, .invite-copy span { pointer-events: none; }
.invite-copy.copied { background: #16a34a; }

.rw-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 12px;
    margin-bottom: 8px;
}
.rw-card {
    background: var(--s1);
    border: 1px solid var(--bd);
    border-radius: 4px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}
.rw-card:hover { border-color: rgba(255,255,255,.16); }
.rw-ico {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 18px;
}
.rw-ico svg { width: 20px; height: 20px; display: block; }
.rw-ico.x { background: #000; }
.rw-ico.discord { background: #5865F2; }
.rw-ico.reddit { background: #FF4500; }
.rw-ico.facebook { background: #1877F2; }
.rw-ico.tiktok { background: #010101; }
.rw-ico.telegram { background: #26A5E4; }
.rw-ico.instagram { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.rw-ico.whatsapp { background: #25D366; }
.rw-ico.snapchat { background: #FFFC00; color: #000; }
.rw-ico.bluesky { background: #1185FE; }
.rw-ico.tumblr { background: #36465D; }
.rw-ico.vk { background: #0077FF; }
.rw-ico.pinterest { background: #E60023; }
.rw-ico.signal { background: #3A76F0; }
.rw-ico.onion { background: #7D4698; }
.rw-card h3 { font-size: 14px; font-weight: 800; }
.rw-card p { font-size: 12px; color: var(--mt); line-height: 1.5; flex: 1; }
.rw-act {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 9px 10px;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    font-family: Outfit, sans-serif;
    cursor: pointer;
}
.rw-act.x { background: #000; }
.rw-act.discord { background: #5865F2; }
.rw-act.reddit { background: #FF4500; }
.rw-act.facebook { background: #1877F2; }
.rw-act.tiktok { background: #010101; }
.rw-act.telegram { background: #26A5E4; }
.rw-act.instagram { background: #E1306C; }
.rw-act.whatsapp { background: #25D366; }
.rw-act.snapchat { background: #FFFC00; color: #111; }
.rw-act.bluesky { background: #1185FE; }
.rw-act.copied {
    background: #16a34a !important;
    color: #fff !important;
}
.rw-act.tumblr { background: #36465D; }
.rw-act.vk { background: #0077FF; }
.rw-act.pinterest { background: #E60023; }
.rw-act.signal { background: #3A76F0; }
.rw-act.onion { background: #7D4698; }

.pkg-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
}
.pkg-catalog { margin-top: 8px; }
.pkg-sec { margin: 0 0 26px; }
.pkg-sec-title {
    text-align: center;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--pl);
    margin: 0 0 6px;
}
.pkg-sec-sub {
    text-align: center;
    font-size: 12px;
    color: var(--mt);
    margin: 0 auto 14px;
    max-width: 420px;
    line-height: 1.4;
}

.pkg {
    --pkg-gold: #d4af37;
    --pkg-gold-bd: rgba(201, 162, 39, 0.42);
    --pkg-gold-bg: rgba(201, 162, 39, 0.1);
    background: var(--s1);
    border: 1px solid var(--bd);
    border-radius: 4px;
    padding: 13px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    height: 100%;
}
.pkg:hover { border-color: var(--bdh); }
.pkg.ult { border-color: var(--pkg-gold-bd); }

.pkg-head { display: flex; align-items: center; gap: 10px; }
.pkg-ico {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background: rgba(225, 6, 0, 0.16);
    border: 1px solid var(--bd);
    color: var(--pl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.pkg.ult .pkg-ico {
    background: rgba(225, 6, 0, 0.16);
    border-color: var(--bd);
    color: var(--pl);
}

.pkg-name { font-size: 14px; font-weight: 800; color: var(--tx); }
.pkg.ult .pkg-name { color: var(--pkg-gold); }
.pkg-badge {
    display: inline-block;
    margin-top: 2px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: var(--pl);
    border: 1px solid var(--bd);
    padding: 1px 6px;
    border-radius: 2px;
}
.pkg.ult .pkg-badge { color: var(--pkg-gold); border-color: var(--pkg-gold-bd); }

.pkg-price { font-size: 18px; font-weight: 800; color: var(--tx); }
.pkg.ult .pkg-price { color: var(--pkg-gold); }
.pkg-price small { font-size: 11px; color: var(--mt); font-weight: 500; }

.pkg-storage {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0a0a0a;
    border: 1px solid var(--bd);
    border-radius: 4px;
    padding: 8px 10px;
}
.pkg-gb { font-size: 14px; font-weight: 800; }
.pkg-gb-lbl { font-size: 9px; color: var(--mt); text-transform: uppercase; letter-spacing: 1px; margin-top: 1px; }
.pkg-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--p); flex-shrink: 0; }
.pkg.ult .pkg-dot { background: var(--pkg-gold); }

.pkg-meta {
    font-size: 11px;
    color: var(--mt);
    min-height: 32px;
    display: flex;
    align-items: center;
}
.pkg-feats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-height: 80px;
    max-height: 80px;
    overflow: hidden;
}
.pkg.feats-open .pkg-feats {
    min-height: 0;
    max-height: none;
    overflow: visible;
}
.pkg-feats li {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 11px;
    color: var(--mt);
    line-height: 1.4;
}
.pkg-feats i {
    color: var(--pl);
    font-size: 10px;
    margin-top: 3px;
    flex-shrink: 0;
}
.pkg.ult .pkg-feats i { color: var(--pkg-gold); }

.feat-more {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 18px;
    width: auto;
    margin: 0 0 10px;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    color: var(--mt);
    font-family: Outfit, sans-serif;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1.4;
}
.feat-more:hover {
    color: var(--pl);
    background: none;
    border: none;
}
.feat-more i { pointer-events: none; }
.feat-more-spacer {
    visibility: hidden;
    pointer-events: none;
    min-height: 18px;
    margin: 0 0 10px;
}
.buy-offer-feats li.feat-extra,
.pkg-feats li.feat-extra { display: none !important; }
.feats-open .buy-offer-feats li.feat-extra,
.feats-open .pkg-feats li.feat-extra { display: flex !important; }
.pkg-vip {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--pkg-gold, #d4af37);
    border: 1px solid var(--pkg-gold-bd, rgba(201, 162, 39, 0.42));
    background: var(--pkg-gold-bg, rgba(201, 162, 39, 0.1));
    padding: 6px 8px;
    border-radius: 4px;
    min-height: 32px;
}

.pkg-btns { display: flex; flex-direction: column; gap: 6px; margin-top: auto; }
.pkg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; min-height: 36px; }
.pkg-row.one { grid-template-columns: 1fr; }
.pkg-row-ghost,
.pbtn-spacer {
    visibility: hidden;
    pointer-events: none;
}

.pbtn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 2px;
    font-family: Outfit, sans-serif;
    border: 1px solid transparent;
}
.pbtn-buy { background: var(--p); color: #fff; }
.pbtn-buy:hover { background: var(--pl); }
.pbtn-ok { background: rgba(74, 222, 128, 0.1); border-color: rgba(74, 222, 128, 0.35); color: var(--green); }
.pbtn-lock { background: #0e0e0e; border-color: var(--bd); color: var(--mt); }
.pbtn-inv { background: transparent; border-color: var(--bd); color: var(--pl); }
.pbtn-inv:hover, .pbtn-lock:hover { border-color: var(--bdh); color: #fff; }

#videoModal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 99999;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-y: auto;
    padding: 20px;
}

#videoModal.open { display: flex !important; }
#videoModal.fullscreen { padding: 0; }

.modal-inner { width: 100%; max-width: 960px; display: flex; flex-direction: column; gap: 16px; }

.player-wrap {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--bd);
}

.player-container { position: relative; width: 100%; padding-top: 56.25%; }
#customPlayer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #000; cursor: pointer; }

.player-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}
.player-stage #customPlayer {
    position: relative;
    top: auto;
    left: auto;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    cursor: default;
}
.player-loading {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    background: #000;
    z-index: 8;
    pointer-events: none;
}
.player-loading.show { display: flex; }
.player-spin {
    width: 34px;
    height: 34px;
    border: 3px solid rgba(255, 255, 255, 0.12);
    border-top-color: var(--p, #e10600);
    border-radius: 50%;
    animation: player-spin .7s linear infinite;
}
@keyframes player-spin {
    to { transform: rotate(360deg); }
}
.player-container video::-webkit-media-controls-loading-panel,
.player-stage video::-webkit-media-controls-loading-panel,
.player-container video::-internal-media-controls-loading-panel,
.player-stage video::-internal-media-controls-loading-panel {
    display: none !important;
}
.video-error-msg {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(3, 3, 3, 0.92);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 20px;
    z-index: 9;
}
.video-error-msg.active { display: flex; }
.video-error-msg i { font-size: 32px; color: var(--red); }
.video-error-msg p { font-size: 14px; color: var(--mt); }

.preview-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    background: var(--s1);
    border: 1px solid var(--bd);
    border-radius: 4px;
    padding: 14px 16px;
    margin-bottom: 18px;
}
.preview-cta strong { display: block; font-size: 14px; margin-bottom: 3px; }
.preview-cta span { font-size: 13px; color: var(--mt); }
.preview-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--mt);
    padding: 48px 20px;
    font-size: 14px;
}

.sidebar-video-card {
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    background: var(--s2);
    border: 1px solid var(--bd);
    padding: 0;
    text-align: left;
    color: inherit;
    font-family: inherit;
    width: 100%;
}
.sidebar-video-card:hover { border-color: var(--bdh); }
.sidebar-video-thumb {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #0a0a0a;
    overflow: hidden;
}
.sidebar-video-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .16s ease;
}
.sidebar-video-thumb img.is-in {
    opacity: 1;
}
.sidebar-video-title {
    font-size: 11px;
    color: var(--tx);
    padding: 6px 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sidebar-videos-head i { margin-right: 8px; opacity: 0.6; }

.player-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px 14px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    opacity: 0;
    visibility: hidden;
    z-index: 10;
}

.player-controls.visible { opacity: 1; visibility: visible; }

.progress-bar-wrap {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    cursor: pointer;
    margin-bottom: 10px;
    position: relative;
}

.progress-bar-fill { height: 100%; background: var(--p); border-radius: 2px; pointer-events: none; }

.progress-bar-thumb {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--pl);
    pointer-events: none;
}

.ctrl-row { display: flex; align-items: center; gap: 10px; }
.ctrl-btn { background: none; border: none; color: #fff; cursor: pointer; font-size: 16px; padding: 4px; flex-shrink: 0; }
.ctrl-btn:hover { color: var(--pl); }
.ctrl-time { font-size: 12px; color: rgba(255, 255, 255, 0.8); white-space: nowrap; }
.ctrl-spacer { flex: 1; }
.volume-wrap { display: flex; align-items: center; gap: 6px; }

.volume-slider {
    width: 70px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--pl);
    cursor: pointer;
}

.player-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--s1);
    border-bottom: 1px solid var(--bd);
}

.player-title { font-size: 14px; font-weight: 700; color: var(--tx); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }

.player-close {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--bd);
    border-radius: 4px;
    color: var(--mt);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.error-retry-btn {
    padding: 9px 20px;
    background: var(--p);
    border: none;
    border-radius: 2px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: Outfit, sans-serif;
}

.sidebar-videos-wrap { background: var(--s1); border: 1px solid var(--bd); border-radius: 4px; overflow: hidden; }
.sidebar-videos-head { padding: 14px 16px; border-bottom: 1px solid var(--bd); font-size: 13px; font-weight: 700; color: var(--pl); }
#sidebarVideos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; padding: 12px; }

.welcome-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.welcome-overlay.open {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.welcome-card {
    background: var(--s1);
    border: 1px solid var(--bd);
    border-radius: 6px;
    padding: 26px 22px 18px;
    max-width: 520px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
}

.welcome-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--bd);
    border-radius: 4px;
    color: var(--mt);
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-brand {
    margin: 4px auto 14px;
    width: min(240px, 78%);
}
.welcome-brand img,
.welcome-brand .brand-mark {
    display: block;
    width: 100%;
    height: auto;
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

.welcome-card h2 { font-size: 22px; font-weight: 800; color: var(--tx); margin-bottom: 6px; }
.welcome-card .sub { font-size: 14px; color: var(--pl); margin-bottom: 8px; }
.welcome-card .desc { font-size: 13px; color: var(--mt); line-height: 1.5; margin-bottom: 18px; }

.welcome-primary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
}
.welcome-primary .btn-primary,
.welcome-primary .btn-ghost {
    justify-content: center;
    width: 100%;
}

.welcome-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--mt);
    margin-bottom: 8px;
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
}

.welcome-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 72px;
    padding: 12px 8px;
    background: var(--s2);
    border: 1px solid var(--bd);
    border-radius: 4px;
    color: var(--tx);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    font-family: Outfit, sans-serif;
    cursor: pointer;
}
.welcome-tile i { color: var(--pl); font-size: 16px; }
.welcome-tile:hover { border-color: var(--bdh); background: rgba(225, 6, 0, 0.1); }

.welcome-skip {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 4px;
    padding: 12px 16px;
    background: var(--p);
    border: none;
    border-radius: 2px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    font-family: Outfit, sans-serif;
    cursor: pointer;
}
.welcome-skip:hover { background: var(--pl); }

.welcome-onion-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(0, 0, 0, 0.72);
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.welcome-onion-overlay.open { display: flex; }

.welcome-onion-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: var(--s1);
    border: 1px solid var(--bd);
    border-radius: 6px;
    padding: 28px 20px 20px;
    text-align: center;
}
.welcome-onion-card h3 { font-size: 18px; margin-bottom: 6px; }
.welcome-onion-card p { font-size: 13px; color: var(--mt); margin-bottom: 14px; }
.welcome-onion-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.welcome-onion-box code {
    display: block;
    word-break: break-all;
    background: #0a0a0a;
    border: 1px solid var(--bd);
    border-radius: 4px;
    padding: 10px;
    font-size: 12px;
    color: var(--pl);
}
.welcome-onion-box .btn-primary { justify-content: center; }

.il-feed {
    background: var(--s1);
    border: 1px solid var(--bd);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}
.il-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--bd);
    flex-wrap: wrap;
}
.il-toolbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.il-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 8px rgba(22, 163, 74, 0.7);
    animation: ilBlink 1.5s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes ilBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}
.il-title { font-size: 13px; font-weight: 800; color: var(--tx); }
.il-count { font-size: 11px; color: var(--mt); }
.il-toolbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.il-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #0a0a0a;
    border: 1px solid var(--bd);
    border-radius: 4px;
    padding: 7px 10px;
    min-width: 180px;
}
.il-search i { color: var(--mt); font-size: 12px; }
.il-search input {
    background: none;
    border: none;
    outline: none;
    color: var(--tx);
    font-size: 12px;
    font-family: Outfit, sans-serif;
    width: 140px;
}
.il-search input::placeholder { color: var(--mt); }
.il-filters { display: flex; gap: 4px; }
.il-fbtn {
    padding: 7px 11px;
    border-radius: 4px;
    border: 1px solid var(--bd);
    background: transparent;
    color: var(--mt);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    font-family: Outfit, sans-serif;
}
.il-fbtn.on, .il-fbtn:hover {
    background: rgba(225, 6, 0, 0.12);
    border-color: var(--bdh);
    color: var(--pl);
}
.il-list { max-height: 62vh; overflow-y: auto; }
.il-entry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.il-entry:last-child { border-bottom: none; }
.il-entry:hover { background: rgba(225, 6, 0, 0.05); }
.il-entry.mine { background: rgba(225, 6, 0, 0.07); border-left: 2px solid var(--p); }
.il-left { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.il-av {
    width: 34px;
    height: 34px;
    border-radius: 4px;
    background: var(--p);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
}
.il-text { font-size: 13px; color: var(--tx); line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.il-name {
    color: var(--pl);
    font-weight: 700;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font-family: Outfit, sans-serif;
    font-size: 13px;
}
.il-name:hover { text-decoration: underline; }
.il-meta { display: flex; align-items: center; gap: 6px; margin-top: 4px; flex-wrap: wrap; }
.il-chip {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    background: rgba(225, 6, 0, 0.12);
    border: 1px solid var(--bd);
    color: var(--pl);
}
.il-chip.you { background: var(--p); color: #fff; border-color: transparent; }
.il-sub { font-size: 11px; color: var(--mt); }
.il-time { font-size: 11px; color: var(--mt); white-space: nowrap; flex-shrink: 0; }
.il-empty { text-align: center; padding: 48px 20px; color: var(--mt); }
.il-empty i { font-size: 28px; margin-bottom: 10px; opacity: 0.45; color: var(--pl); }

.il-profile {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.il-profile.open { display: flex; }
.il-profile-card {
    background: var(--s1);
    border: 1px solid var(--bd);
    border-radius: 4px;
    padding: 22px;
    width: 280px;
    text-align: center;
}
.il-profile-card .il-av { width: 56px; height: 56px; font-size: 22px; margin: 0 auto 12px; }
.il-profile-name { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.il-profile-meta { font-size: 12px; color: var(--mt); margin-bottom: 14px; }
.il-profile-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.il-pstat { background: #0a0a0a; border: 1px solid var(--bd); border-radius: 4px; padding: 10px; }
.il-pstat-v { font-size: 18px; font-weight: 800; color: var(--pl); }
.il-pstat-l { font-size: 10px; color: var(--mt); margin-top: 2px; }
.il-profile-close {
    width: 100%;
    padding: 10px;
    background: var(--p);
    border: none;
    border-radius: 2px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    font-family: Outfit, sans-serif;
    cursor: pointer;
}

.il-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    padding: 14px 16px;
    background: var(--s1);
    border: 1px solid var(--bd);
    border-radius: 4px;
}
.il-cta p { font-size: 13px; color: var(--mt); }
.il-cta strong { color: var(--tx); }

.dw-warn {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.28);
    border-radius: 4px;
    padding: 14px 16px;
    margin-bottom: 18px;
}
.dw-warn i { color: var(--gold); margin-top: 2px; }
.dw-warn h3 { font-size: 13px; font-weight: 800; color: var(--gold); margin-bottom: 4px; }
.dw-warn p { font-size: 12px; color: var(--mt); line-height: 1.55; }

.dw-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}
.dw-fact {
    background: var(--s1);
    border: 1px solid var(--bd);
    border-radius: 4px;
    padding: 14px;
}
.dw-fact i { color: var(--pl); margin-bottom: 8px; }
.dw-fact h3 { font-size: 13px; font-weight: 800; margin-bottom: 4px; }
.dw-fact p { font-size: 12px; color: var(--mt); line-height: 1.45; }

.dw-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.dw-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid var(--bd);
    background: transparent;
    color: var(--mt);
    font-size: 12px;
    font-weight: 700;
    font-family: Outfit, sans-serif;
    cursor: pointer;
}
.dw-tab.on, .dw-tab:hover {
    background: rgba(225, 6, 0, 0.12);
    border-color: var(--bdh);
    color: var(--pl);
}
.dw-pane { display: none; }
.dw-pane.on { display: block; }
.dw-guide {
    background: var(--s1);
    border: 1px solid var(--bd);
    border-radius: 4px;
    padding: 18px;
}
.dw-guide-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--bd);
}
.dw-os {
    width: 42px;
    height: 42px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}
.dw-os.win { background: #2563eb; }
.dw-os.mac { background: #111; }
.dw-os.lin { background: #e95420; }
.dw-os.and { background: #16a34a; }
.dw-os.ios { background: #6d28d9; }
.dw-guide h3 { font-size: 15px; font-weight: 800; }
.dw-guide .sub { font-size: 12px; color: var(--mt); margin-top: 2px; }
.dw-steps { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.dw-step { display: flex; gap: 10px; align-items: flex-start; }
.dw-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--p);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}
.dw-step p { font-size: 13px; color: var(--tx); line-height: 1.5; }
.dw-step a { color: var(--pl); font-weight: 700; text-decoration: none; }
.dw-step a:hover { text-decoration: underline; }
.dw-step code {
    background: #0a0a0a;
    border: 1px solid var(--bd);
    border-radius: 3px;
    padding: 1px 6px;
    font-size: 12px;
    color: var(--pl);
}
.dw-post {
    background: #0a0a0a;
    border: 1px solid var(--bd);
    border-radius: 4px;
    padding: 12px;
    font-size: 12px;
    color: var(--mt);
    white-space: pre-wrap;
    font-family: ui-monospace, Consolas, monospace;
    line-height: 1.5;
    margin-bottom: 12px;
}

.pf-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 280px));
    gap: 10px;
    margin-bottom: 14px;
}
.pf-sec { margin-bottom: 12px; }
.pf-sec .section-label { margin-bottom: 6px; }
.pf-note {
    font-size: 13px;
    color: var(--mt);
    line-height: 1.45;
    max-width: 640px;
}
.pf-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}
.pf-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    background: var(--s1);
    border: 1px solid var(--bd);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    color: var(--mt);
}
.pf-pill i { color: var(--pl); }
.pf-sales {
    background: var(--s1);
    border: 1px solid var(--bd);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 18px;
}
.pf-sales-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--bd);
}
.pf-sales-head h3 { font-size: 13px; font-weight: 800; }
.pf-sales-list { max-height: 280px; overflow-y: auto; }
.pf-sale {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255,255,255,.04);
    font-size: 13px;
}
.pf-sale:last-child { border-bottom: none; }
.pf-sale-pack { font-weight: 700; color: var(--tx); }
.pf-sale-who { color: var(--mt); font-size: 12px; }
.pf-sale-amt { color: #4ade80; font-weight: 800; font-variant-numeric: tabular-nums; }
.pf-sale-time { color: var(--mt); font-size: 11px; white-space: nowrap; }
.pf-badge-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #4ade80;
}
.pf-badge-live::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 8px rgba(22,163,74,.7);
    animation: ilBlink 1.5s ease-in-out infinite;
}
.pf-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}
.pf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(148px, 168px));
    gap: 10px;
}
.pf-card {
    background: var(--s1);
    border: 1px solid var(--bd);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    padding: 0;
    width: 100%;
    color: inherit;
    font-family: Outfit, sans-serif;
}
.pf-card:hover { border-color: var(--bdh); }
.pf-thumb {
    position: relative;
    width: 100%;
    height: 112px;
    background: #0a0a0a;
    overflow: hidden;
}
.pf-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity .16s ease;
}
.pf-thumb img.is-in {
    opacity: 1;
}
.pf-zoom {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    color: #fff;
    font-size: 20px;
}
.pf-card:hover .pf-zoom { opacity: 1; }
.pf-info { padding: 10px 12px; }
.pf-title { font-size: 13px; font-weight: 700; }
.pf-ok { font-size: 11px; color: #4ade80; margin-top: 3px; display: flex; align-items: center; gap: 5px; }
.pf-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 16px;
    color: var(--mt);
    background: var(--s1);
    border: 1px solid var(--bd);
    border-radius: 4px;
}
.pf-empty i { font-size: 28px; color: var(--pl); opacity: 0.5; margin-bottom: 10px; }

.pf-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.pf-modal.open { display: flex; }
.pf-modal img {
    max-width: min(92vw, 1100px);
    max-height: 82vh;
    object-fit: contain;
    border: 1px solid var(--bd);
    border-radius: 4px;
    background: #000;
}
.pf-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 1px solid var(--bd);
    background: var(--s1);
    color: var(--tx);
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}
.pf-nav.prev { left: 16px; }
.pf-nav.next { right: 16px; }
.pf-nav:hover { border-color: var(--bdh); color: var(--pl); }
.pf-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--bd);
    background: var(--s1);
    color: var(--tx);
    border-radius: 4px;
    cursor: pointer;
}
.pf-count {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 700;
    color: var(--mt);
    background: var(--s1);
    border: 1px solid var(--bd);
    border-radius: 4px;
    padding: 6px 10px;
}

@media (max-width: 480px) {
    .welcome-primary,
    .welcome-grid { grid-template-columns: 1fr 1fr; }
    .welcome-primary .btn-primary,
    .welcome-primary .btn-ghost { padding: 11px 10px; font-size: 12px; }
}

.main.live-main {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    padding-top: 55px;
    display: flex;
    flex-direction: column;
}
.lc-wrap {
    flex: 1;
    min-height: 0;
    padding: 12px 16px 14px;
    display: flex;
    flex-direction: column;
}
.lc-box {
    flex: 1;
    min-height: 0;
    background: var(--s1);
    border: 1px solid var(--bd);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.lc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--bd);
    flex-shrink: 0;
}
.lc-head-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.lc-av {
    width: 38px;
    height: 38px;
    border-radius: 4px;
    background: var(--p);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    position: relative;
    flex-shrink: 0;
}
.lc-av::after {
    content: "";
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--green);
    border: 2px solid var(--s1);
}
.lc-av.off::after { background: var(--red); }
.lc-title { font-size: 14px; font-weight: 800; }
.lc-status { font-size: 11px; font-weight: 700; margin-top: 2px; color: var(--mt); }
.lc-status.on { color: var(--green); }
.lc-status.off { color: var(--red); }
.lc-head-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.lc-head-links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.lc-mini {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    background: var(--s2);
    border: 1px solid var(--bd);
    border-radius: 4px;
    color: var(--mt);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    font-family: Outfit, sans-serif;
    cursor: pointer;
}
.lc-mini:hover { border-color: var(--bdh); color: var(--pl); }
.lc-msgs {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.lc-welcome {
    margin: auto;
    text-align: center;
    max-width: 420px;
    padding: 8px 8px 18px;
}
.lc-welcome i { font-size: 26px; color: var(--pl); margin-bottom: 10px; }
.lc-welcome h4 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.lc-welcome p { font-size: 13px; color: var(--mt); line-height: 1.5; }
.lc-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
}
.lc-chip {
    border: 1px solid var(--bd);
    background: var(--s2);
    color: var(--tx);
    border-radius: 4px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: Outfit, sans-serif;
}
.lc-chip:hover { border-color: var(--bdh); color: var(--pl); }
.lc-date {
    text-align: center;
    margin: 6px 0;
    font-size: 10px;
    font-weight: 700;
    color: var(--mt);
    letter-spacing: 0.6px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}
.lc-date::before, .lc-date::after { content: ""; flex: 1; height: 1px; background: var(--bd); }
.lc-msg { display: flex; gap: 8px; }
.lc-msg.me { flex-direction: row-reverse; }
.lc-msg-av {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    margin-top: 2px;
    background: var(--p);
}
.lc-msg.them .lc-msg-av { background: #166534; }
.lc-msg-body { display: flex; flex-direction: column; max-width: 74%; }
.lc-msg.me .lc-msg-body { align-items: flex-end; }
.lc-bubble {
    padding: 9px 12px;
    border-radius: 4px;
    background: var(--s2);
    border: 1px solid var(--bd);
}
.lc-msg.me .lc-bubble { background: var(--p); border-color: transparent; }
.lc-who { font-size: 10px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; margin-bottom: 3px; color: var(--mt); }
.lc-msg.me .lc-who { color: rgba(255,255,255,.75); }
.lc-text { font-size: 13px; line-height: 1.5; word-break: break-word; }
.lc-text a { color: var(--pl); }
.lc-msg.me .lc-text a { color: #fff; text-decoration: underline; }
.lc-meta { display: flex; align-items: center; gap: 4px; margin-top: 3px; font-size: 10px; color: var(--mt); }
.lc-msg.me .lc-meta { color: rgba(255,255,255,.55); }
.lc-img { max-width: 220px; border-radius: 4px; border: 1px solid var(--bd); cursor: pointer; display: block; }
.lc-typing { display: none; align-items: center; gap: 8px; padding: 2px 0; }
.lc-typing.show { display: flex; }
.lc-dots {
    display: flex;
    gap: 4px;
    background: var(--s2);
    border: 1px solid var(--bd);
    border-radius: 4px;
    padding: 9px 12px;
}
.lc-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mt); animation: typingBounce 1.2s ease-in-out infinite; }
.lc-dot:nth-child(2) { animation-delay: .2s; }
.lc-dot:nth-child(3) { animation-delay: .4s; }
@keyframes typingBounce { 0%,60%,100%{transform:translateY(0)} 30%{transform:translateY(-5px);background:var(--pl)} }
.lc-input {
    border-top: 1px solid var(--bd);
    flex-shrink: 0;
    background: #0d0d0d;
}
.lc-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 12px 0;
}
.lc-quick .lc-chip { font-size: 11px; padding: 6px 9px; }
.lc-count { font-size: 10px; color: var(--mt); text-align: right; padding: 6px 14px 0; }
.lc-count.warn { color: var(--gold); }
.lc-count.danger { color: var(--red); }
.lc-row { display: flex; align-items: center; gap: 8px; padding: 10px 12px 12px; }
.lc-field {
    flex: 1;
    background: var(--s2);
    border: 1px solid var(--bd);
    border-radius: 4px;
    padding: 10px 12px;
    color: var(--tx);
    font-size: 13px;
    font-family: Outfit, sans-serif;
    outline: none;
}
.lc-field:focus { border-color: var(--bdh); }
.lc-send, .lc-imgbtn {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    border: 1px solid var(--bd);
    background: var(--s2);
    color: var(--tx);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}
.lc-send { background: var(--p); border-color: transparent; color: #fff; }
.lc-send:disabled { opacity: .45; cursor: not-allowed; }
.lc-imgbtn:hover { border-color: var(--bdh); color: var(--pl); }
.lc-preview {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,.92);
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.lc-preview.open { display: flex; }
.lc-preview img { max-width: 92vw; max-height: 86vh; border: 1px solid var(--bd); border-radius: 4px; }
.lc-preview-x {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--bd);
    background: var(--s1);
    color: var(--tx);
    border-radius: 4px;
    cursor: pointer;
}
.lc-msg.them .lc-msg-body.card { max-width: min(420px, 92%); }
.lc-card {
    background: #0a0a0a;
    border: 1px solid var(--bd);
    border-radius: 4px;
    padding: 12px;
    min-width: 220px;
}
.lc-card-kicker {
    font-size: 11px;
    font-weight: 800;
    color: var(--pl);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.lc-card-note { font-size: 12px; color: var(--mt); line-height: 1.45; margin-bottom: 10px; }
.lc-card-url {
    font-size: 11px;
    color: var(--tx);
    word-break: break-all;
    background: var(--s2);
    border: 1px solid var(--bd);
    padding: 8px;
    border-radius: 4px;
    font-family: ui-monospace, Consolas, monospace;
    line-height: 1.4;
    margin-bottom: 8px;
}
.lc-card-copy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    background: var(--p);
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: Outfit, sans-serif;
}
.lc-card-copy.copied { background: #16a34a; }
.lc-card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
    padding: 8px 10px;
    border: 1px solid var(--bd);
    border-radius: 4px;
    color: var(--tx);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}
.lc-card-cta:hover { border-color: var(--bdh); color: var(--pl); }
.lc-card-cta.primary {
    background: var(--p);
    border-color: var(--p);
    color: #fff;
}
.lc-card-cta.primary:hover { background: var(--pl); border-color: var(--pl); color: #fff; }
.lc-card-backup { border-color: rgba(201, 162, 39, 0.38); }
.lc-card-backup .lc-card-kicker { color: #d4af37; }
.lc-card-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 2px; }
.lc-card-chips { justify-content: flex-start; margin: 0 0 10px; }
.lc-mini-close { color: var(--red); border-color: rgba(248,113,113,.35); }
.lc-mini-close:hover { border-color: var(--red); color: var(--red); }
.lc-confirm {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(0,0,0,.72);
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.lc-confirm.open { display: flex; }
.lc-confirm-box {
    background: var(--s1);
    border: 1px solid var(--bd);
    border-radius: 4px;
    padding: 18px;
    max-width: 380px;
    width: 100%;
}
.lc-confirm-box h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.lc-confirm-box p { font-size: 13px; color: var(--mt); line-height: 1.5; margin-bottom: 14px; }
.lc-confirm-row { display: flex; justify-content: flex-end; gap: 8px; }
.lc-pay-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.lc-pay-tag {
    font-size: 11px;
    font-weight: 700;
    padding: 5px 8px;
    border: 1px solid var(--bd);
    border-radius: 4px;
    color: var(--tx);
    background: var(--s2);
}
.notif-container {
    position: fixed;
    top: 64px;
    right: 16px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 320px;
}
.notif-item {
    background: var(--s1);
    border: 1px solid var(--bd);
    border-radius: 4px;
    padding: 10px 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
}
.notif-item.error { border-color: rgba(248,113,113,.45); }
.notif-item.success { border-color: rgba(74,222,128,.45); }
.notif-item.warning { border-color: rgba(251,191,36,.45); }
.notif-item .notif-icon { color: var(--pl); margin-top: 2px; }
.notif-item.error .notif-icon { color: var(--red); }
.notif-item.success .notif-icon { color: var(--green); }
.notif-item.warning .notif-icon { color: var(--gold); }
.notif-item .notif-close {
    background: none;
    border: none;
    color: var(--mt);
    cursor: pointer;
    margin-left: auto;
}

button, a { touch-action: manipulation; -webkit-tap-highlight-color: rgba(225, 6, 0, 0.18); }

/* ===== DASHBOARD IMPROVEMENTS ===== */

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(251, 191, 36, 0.05));
    border: 1px solid rgba(251, 191, 36, 0.35);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

/* Hero Proof */
.hero-proof {
    display: flex;
    gap: 20px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.hero-proof span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--mt);
}

.hero-proof i {
    color: var(--pl);
    font-size: 14px;
}

.hero-proof strong {
    color: var(--tx);
    font-weight: 800;
}

/* Invite Banner */
.invite-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(225, 6, 0, 0.12), rgba(225, 6, 0, 0.04));
    border: 1px solid var(--bd);
    border-radius: 6px;
    margin-bottom: 20px;
}

.invite-banner-icon {
    width: 52px;
    height: 52px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--p), var(--pl));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    flex-shrink: 0;
}

.invite-banner-content {
    flex: 1;
    min-width: 0;
}

.invite-banner-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--tx);
    margin-bottom: 4px;
}

.invite-banner-sub {
    font-size: 13px;
    color: var(--mt);
    line-height: 1.5;
}

.invite-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--p), var(--pl));
    border-radius: 4px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.invite-banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(225, 6, 0, 0.35);
    color: #fff;
}

/* Highlight Card */
.highlight-card {
    border-color: rgba(251, 191, 36, 0.35);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.08), var(--s1));
}

/* Stat CTA */
.stat-cta {
    margin-top: 10px;
}

.btn-outline {
    background: transparent !important;
    border: 1px solid var(--bd) !important;
    color: var(--pl) !important;
}

.btn-outline:hover {
    border-color: var(--bdh) !important;
    background: rgba(225, 6, 0, 0.08) !important;
}

/* Upgrade Section */
.upgrade-section {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.06), transparent);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 6px;
    padding: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.upgrade-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 20px 0;
}

.upgrade-card {
    background: var(--s1);
    border: 1px solid var(--bd);
    border-radius: 6px;
    padding: 20px 16px;
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.upgrade-card:hover {
    transform: translateY(-4px);
    border-color: var(--bdh);
}

.upgrade-icon {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 20px;
    color: #fff;
}

.upgrade-icon.gold { background: linear-gradient(135deg, #fbbf24, #d97706); }
.upgrade-icon.red { background: linear-gradient(135deg, #e10600, #8a0400); }
.upgrade-icon.green { background: linear-gradient(135deg, #4ade80, #16a34a); }
.upgrade-icon.purple { background: linear-gradient(135deg, #a855f7, #7c3aed); }

.upgrade-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--tx);
    margin-bottom: 6px;
}

.upgrade-desc {
    font-size: 12px;
    color: var(--mt);
    line-height: 1.5;
}

.btn-large {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--p), var(--pl));
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(225, 6, 0, 0.35);
    color: #fff;
}

/* Tier Card Badges */
.tcard {
    position: relative;
    overflow: visible;
}

.tcard-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 10;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(0,0,0,0.4);
}

.tcard-badge.popular {
    background: linear-gradient(135deg, #e10600, #ff2a2a);
    color: #fff;
    box-shadow: 0 3px 10px rgba(225, 6, 0, 0.5);
}

.tcard-badge.best {
    background: linear-gradient(135deg, #fbbf24, #d97706);
    color: #000;
    box-shadow: 0 3px 10px rgba(251, 191, 36, 0.5);
}

/* Tier Benefit */
.tcard-benefit {
    font-size: 11px;
    color: var(--mt);
    margin-top: 2px;
}

/* Responsive */
@media (max-width: 900px) {
    .upgrade-grid { grid-template-columns: repeat(2, 1fr); }
    .invite-banner { flex-direction: column; text-align: center; }
    .invite-banner-btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .upgrade-grid { grid-template-columns: 1fr; }
    .hero-proof { flex-direction: column; gap: 8px; }
}

@media (max-width: 1460px) {
    .get-side { display: none; }
}

@media (max-width: 1024px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); }
    .sb-close { display: block; }
    .mob-menu { display: block; }
    .sb-overlay.active { display: block; }
    .topbar { left: 0; }
    .main { margin-left: 0; }
    .tb-btn span, .tb-btn { font-size: 0; padding: 7px 9px; }
    .tb-btn i { font-size: 14px; }
    .topbar-right { gap: 4px; }
    .invite-panel { grid-template-columns: 1fr; }
    .pkg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lc-wrap { padding: 8px; }
    .lc-head-links { display: none; }
}

@media (max-width: 900px) {
    .stats-3col { grid-template-columns: 1fr 1fr; }
    .stats-progress { grid-column: span 2; }
}

@media (max-width: 768px) {
    .tier-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .videos-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    #videoModal { padding: 8px; }
    #sidebarVideos { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 20px; }
    .stat-value { font-size: 36px; }
}

@media (max-width: 480px) {
    .main-inner { padding: 12px; }
    .videos-grid { grid-template-columns: 1fr; }
    #videoModal { padding: 0; }
    .stats-3col { grid-template-columns: 1fr; }
    .stats-progress { grid-column: span 1; }
    .hero { padding: 18px 14px; }
    .pkg-row { grid-template-columns: 1fr; }
    .get-title { font-size: 20px; }
    .pkg-grid { grid-template-columns: 1fr; }
    .il-cta { flex-direction: column; align-items: stretch; }
    .il-search { min-width: 0; width: 100%; }
    .il-search input { width: 100%; }
    .il-toolbar { flex-direction: column; align-items: stretch; }
    .dw-facts { grid-template-columns: 1fr; }
    .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pf-stats { grid-template-columns: 1fr 1fr; }
    .pf-thumb { height: 100px; }
}

.page-meta { font-size: 12px; color: var(--mt); margin: -12px 0 16px; }
.video-author {
    font-size: 11px;
    color: var(--mt);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
}
.video-author i { color: var(--gold); font-size: 10px; }
.video-actions { width: 100%; }
.dl-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 12px;
    background: var(--p);
    border: none;
    border-radius: 2px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    font-family: Outfit, sans-serif;
    width: 100%;
    box-sizing: border-box;
}
.dl-btn:hover { background: var(--pl); color: #fff; }
.tier-nav {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding-bottom: 32px;
}
.tier-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    background: var(--s2);
    border: 1px solid var(--bd);
    border-radius: 4px;
    color: var(--pl);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    font-family: Outfit, sans-serif;
    cursor: pointer;
}
.tier-nav-btn:hover { border-color: var(--bdh); color: #fff; }
.tier-nav-btn.locked { opacity: 0.45; cursor: not-allowed; }
.tier-nav-btn.mega { border-color: rgba(251, 191, 36, 0.4); color: var(--gold); }
.tier-nav-btn.mega:hover { border-color: var(--gold); color: var(--gold); }
.tier-nav-btn.mega.bot { border-color: rgba(225, 6, 0, 0.45); color: var(--pl); }
.tier-nav-btn.mega.bot:hover { border-color: var(--pl); color: #fff; }
.tier-nav-note {
    margin: -18px 0 28px;
    font-size: 12px;
    color: var(--mt);
}
.tchip.here { border-color: var(--pl); color: #fff; }
.tchip.gold.here { border-color: var(--gold); color: var(--gold); }
.premium-main {
    display: flex;
    min-height: calc(100dvh - 55px);
}
.premium-page {
    width: 100%;
    max-width: 760px;
    margin: auto;
    padding-bottom: 28px;
}
.premium-page .get-head,
.premium-page .page-meta {
    text-align: center;
}
.premium-page .tier-nav {
    justify-content: center;
    padding-bottom: 8px;
    margin-top: 18px;
}
.premium-page .tier-nav-note {
    text-align: center;
    margin: 0;
}
.mega-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 8px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
}
.mega-panel {
    background: var(--s1);
    border: 1px solid var(--bd);
    border-radius: 4px;
    padding: 22px;
    margin-bottom: 22px;
}
.mega-panel-top {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 18px;
}
.mega-mark {
    width: 52px;
    height: 52px;
    border-radius: 4px;
    background: linear-gradient(135deg, #92400e, var(--gold));
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.28);
}
.mega-kicker {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 4px;
}
.mega-h {
    font-size: 22px;
    font-weight: 800;
    color: var(--tx);
    margin: 0 0 6px;
}
.mega-lead { font-size: 13px; color: var(--mt); line-height: 1.55; max-width: 560px; }
.mega-open {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #92400e, var(--gold));
    color: #111;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    border-radius: 4px;
    font-family: Outfit, sans-serif;
    margin-bottom: 12px;
}
.mega-open:hover { filter: brightness(1.08); }
.mega-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--mt);
    margin-bottom: 18px;
}
.mega-note i { color: var(--gold); }
.mega-wait {
    text-align: center;
    padding: 8px 0 18px;
}
.mega-wait-ico {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 4px;
    border: 1px solid rgba(251, 191, 36, 0.28);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.mega-wait-title { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.mega-wait p { font-size: 13px; color: var(--mt); line-height: 1.55; max-width: 420px; margin: 0 auto; }
.mega-help {
    margin-top: 6px;
    padding: 16px;
    border: 1px solid var(--bd);
    background: #0c0c0c;
    border-radius: 4px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
    gap: 16px;
    align-items: center;
}
.mega-help-kicker {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--pl);
    margin-bottom: 4px;
}
.mega-help-copy strong { display: block; font-size: 15px; margin-bottom: 4px; }
.mega-help-copy p { font-size: 12px; color: var(--mt); line-height: 1.5; margin: 0; }
.mega-help-actions { display: flex; flex-direction: column; gap: 8px; }
.mega-help-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 4px;
    border: 1px solid var(--bd);
    background: var(--s2);
    color: var(--tx);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    font-family: Outfit, sans-serif;
}
.mega-help-btn.primary { background: var(--p); border-color: transparent; color: #fff; }
.mega-help-btn:hover { border-color: var(--bdh); }
.lc-send.cd {
    width: auto;
    min-width: 40px;
    padding: 0 10px;
    font-size: 11px;
    font-weight: 800;
}
@media (max-width: 820px) {
    .mega-help { grid-template-columns: 1fr; }
    .mega-panel-top { flex-direction: column; }
}
