button,
input {
    font: inherit;
}
.topbar div a{
    text-decoration:none;
    color:#fff;
}

.topbar-left,
.topbar-center,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.menu-btn,
.icon-btn {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
}

.menu-btn:hover,
.icon-btn:hover {
    background: var(--surface-3);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.2px;
}

.search-wrap {
    flex: 1;
    max-width: 720px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7a18, #af002d 70%);
    display: grid;
    place-items: center;
    font-weight: 700;
}

.nav-item:hover,
.nav-item.active {
    background: var(--surface-3);
}

.main {
    padding: 20px;
    overflow-x: hidden;
}

.category-bar {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 14px;
    margin-bottom: 20px;
    scrollbar-width: none;
}

.category-bar::-webkit-scrollbar {
    display: none;
}

.chip {
    white-space: nowrap;
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--text);
    padding: 10px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition);
}

.chip:hover,
.chip.active {
    background: var(--text);
    color: #111;
}

.hero {
    background: linear-gradient(135deg, #1c1c1c, #111 60%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
    box-shadow: var(--shadow);
}

.hero h1 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1.15;
    margin-bottom: 12px;
}

.hero p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 58ch;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-secondary {
    background: var(--surface-3);
    color: var(--text);
}

.hero-preview {
    background: radial-gradient(circle at top right, rgba(255,45,85,0.25), transparent 45%), var(--surface);
    border-radius: 18px;
    border: 1px solid var(--border);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.preview-video {
    background: linear-gradient(135deg, #3b3b3b, #1d1d1d);
    border-radius: 14px;
    min-height: 220px;
    display: grid;
    place-items: center;
    font-size: 3rem;
}

.preview-meta h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.preview-meta p {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.mobile-menu {
    display: none;
}

@media (max-width: 1100px) {
    .hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .app {
        grid-template-columns: 88px 1fr;
    }

    .sidebar {
        padding: 16px 10px;
    }

    .nav-title,
    .nav-item span {
        display: none;
    }

    .nav-item {
        justify-content: center;
        padding: 14px;
    }

    .topbar-center {
        flex: 1;
    }
}

@media (max-width: 680px) {
    .app {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }

    .topbar {
        padding: 0 14px;
    }

    .topbar-center {
        display: none;
    }

    .mobile-menu {
        display: inline-flex;
    }

    .main {
        padding: 16px;
    }

    .hero {
        padding: 18px;
    }
}

.btn {
    border: none;
    border-radius: 20px;
    padding: 8px 14px;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    transition: 0.3s ease;
}

div button a{
    text-decoration:none;
    color:#fff;
}

.login-btn {
    background:#212121;
    color: #fff;
    border: 1px solid #212121;
}

.login-btn:hover {
    background:#00630B;
    color: #000;
}

.signup-btn {
    background:#212121;
    color: #fff;
}

.signup-btn:hover {
    opacity: 0.8;
    background:#9A0508;
}
/*THIS IS REQUIRED FOR THE UI TO WORK PROPLER */
.cat-field-error {
    color: #c62828;
    font-size: 13px;
    margin-top: 4px;
}

.cat-input-error {
    border: 1px solid #c62828;
}

.cat-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cat-toast {
    min-width: 220px;
    padding: 12px 14px;
    border-radius: 8px;
    color: #fff;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.cat-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.cat-toast-success { background: #2e7d32; }
.cat-toast-error { background: #c62828; }
.cat-toast-warning { background: #ed6c02; }
.cat-toast-info { background: #1565c0; }

.cat-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
}

.cat-modal {
    background: #fff;
    border-radius: 12px;
    max-width: 95%;
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
    overflow: hidden;
}

.cat-modal-header,
.cat-modal-footer {
    padding: 14px 18px;
    border-bottom: 1px solid #eee;
}

.cat-modal-footer {
    border-top: 1px solid #eee;
    border-bottom: none;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.cat-modal-body {
    padding: 18px;
}

.cat-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cat-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.cat-btn {
    border: 1px solid #ccc;
    background: #fff;
    padding: 10px 14px;
    border-radius: 8px;
}

.cat-btn-primary {
    background: #1565c0;
    color: #fff;
    border-color: #1565c0;
}

.cat-btn-danger {
    background: #c62828;
    color: #fff;
    border-color: #c62828;
}

.drop-zone {
    border: 2px dashed #999;
    padding: 30px;
    text-align: center;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    margin-bottom: 15px;
}

.drop-zone.dragover {
    border-color: #1565c0;
    background: #e3f2fd;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    margin: 15px 0;
}

.cat-image-preview {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.cat-loading {
    padding: 12px;
    text-align: center;
    color: #555;
}
/* ── Topbar Right ─────────────────────────────────────── */
.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.action-trigger .badge {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    pointer-events: none;
}

.profile-trigger:hover .avatar-circle {
    border-color: var(--text);
}

@media (min-width: 900px) {
    .profile-name {
        display: inline;
    }
}

.btn-logout-small::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cccccc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
    transition: background-image 0.2s ease;
}

.btn-logout-small:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff2d55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E");
}

/* Hide text on small screens, keep the icon */
@media (max-width: 680px) {
    .btn-logout-small {
        font-size: 0;
        padding: 7px 9px;
    }
    .btn-logout-small::before {
        width: 16px;
        height: 16px;
    }
}

/* ── Logged-out: auth buttons ─────────────────────────── */
.auth-buttons {
    display: flex;
    gap: 8px;
    margin-right: 10px;
    align-items: center;
}

.btn-signup-pill:hover {
    opacity: 0.85;
}
/* Logout button */
logout-btn {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--muted);
    cursor: pointer;
    text-decoration: none;
    transition: border-color var(--transition), color var(--transition);
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.logout-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Hide logout label on small screens, keep button tappable */
@media (max-width: 680px) {
    .logout-btn {
        font-size: 0;        /* hides text */
        padding: 6px 10px;
    }

    .logout-btn::before {
        content: "⏏";
        font-size: 1rem;
    }
}

/* Container for the icons and profile */
.auth-action-bar {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

/* Icon Buttons (Messages & Notifications) */
.action-trigger {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    color: #555;
    font-size: 1.4rem;
    padding: 8px;
}

.action-trigger:hover {
    background: var(--surface-3);
    background-color: rgba(0, 0, 0, 0.05);
    color: #000;
}

/* Notification Badges */
.badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: #ff3b30; /* High-visibility red */
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    border: 2px solid #fff;
}

/* Profile Section */
.profile-dropdown {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 10px;
    border-left: 1px solid #eee;
}

.profile-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.profile-name {
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
    white-space: nowrap;
    display: none;
}

/* Logout Styling */
.btn-logout-small {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px;
    border-radius: 4px;
    background: transparent;
    border: 1px solid #ddd;
    color: #888;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
    transition: all 0.2s;
}

.btn-logout-small:hover {
    border-color: #d9534f;
    color: #d9534f;
    background: #fdf2f2;
}

/* Logged out state buttons */
.btn-signup-pill {
    padding: 8px 20px;
    border-radius: 20px;
    background: var(--accent);
    border: 1.5px solid var(--accent);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.2s ease;
    line-height: 1;
    white-space: nowrap;
    background-color: #000;
}

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

/* --- Professional Upload Form Styles --- */
.upload-container {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    background: var(--bg); /* */
}

.upload-card {
    background: var(--surface); /* */
    border: 1px solid var(--border); /* */
    border-radius: var(--radius); /* */
    width: 100%;
    max-width: 800px;
    padding: 30px;
    box-shadow: var(--shadow); /* */
}

.upload-header {
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 15px;
}

.upload-header h2 {
    font-size: 1.5rem;
    color: var(--text); /* */
    margin-bottom: 5px;
}

.upload-header p {
    color: var(--muted); /* */
    font-size: 0.9rem;
}

/* Form Layout */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.full-width {
    grid-column: span 2;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
}

/* Inputs & Selects */
.upload-form input[type="text"],
.upload-form select {
    background: var(--surface-2); /* */
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 15px;
    color: var(--text);
    font-size: 0.95rem;
    transition: var(--transition);
}

/* Custom File Inputs */
.file-input-wrapper {
    position: relative;
    height: 45px;
    background: var(--surface-2);
    border: 1.5px dashed var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    cursor: pointer;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-custom {
    color: var(--muted);
    font-size: 0.85rem;
}

/* Footer & Button */
.form-footer {
    margin-top: 30px;
    display: flex;
    justify-content: flex-end;
}

.btn-large {
    padding: 14px 40px;
    font-size: 1rem;
    width: 100%; /* Mobile friendly */
}

@media (min-width: 600px) {
    .btn-large { width: auto; }
}

/* Preview Box Styling */
.preview-box {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

/* Add this to your style.css for that extra bit of polish */
.upload-form input:focus,
.upload-form select:focus {
    border-color: var(--accent);
    /* */
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 45, 85, 0.1);
    /* subtle glow using your accent color */
    background: var(--surface-3);
}

/* --- Professional Progress Bar --- */
.progressbar {
    width: 100%;
    height: 22px;
    background: #222;
    border-radius: 30px;
    overflow: hidden;
    display: none;
}

.progress-fill {
    width: 0%;
    height: 100%;
    border-radius: 30px;
    transition: width 0.5s ease;
    background-size: 40px 40px;
    animation: progressMove 1s linear infinite;
}

.progress-fill.probing {
    background-image: linear-gradient(
            45deg,
            #3498db 25%,
            #5dade2 25%,
            #5dade2 50%,
            #3498db 50%,
            #3498db 75%,
            #5dade2 75%
    );
}

.progress-fill.encoding {
    background-image: linear-gradient(
            45deg,
            #f39c12 25%,
            #f5b041 25%,
            #f5b041 50%,
            #f39c12 50%,
            #f39c12 75%,
            #f5b041 75%
    );
}

.progress-fill.thumbnails {
    background-image: linear-gradient(
            45deg,
            #9b59b6 25%,
            #bb8fce 25%,
            #bb8fce 50%,
            #9b59b6 50%,
            #9b59b6 75%,
            #bb8fce 75%
    );
}

.progress-fill.completed {
    animation: none;
    background-image: none;
    background-color: #2ecc71;
}

.progress-fill.failed {
    animation: none;
    background-image: none;
    background-color: #e74c3c;
}

@keyframes progressMove {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 40px 0;
    }
}

.progress-text {
    margin-top: 8px;
    font-weight: 600;
}


/*PROFILE SETTINGS CSS */
.profile-avatar-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.account-popup.show {
    display: block;
}

.cat-menu-vertical ul {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.cat-menu-vertical li {
    margin: 0;
}

.cat-menu-links {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s ease;
}

.cat-menu-links:hover {
    background: #272727;
}

.cat-menu-links img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.cat-ui-logout:hover {
    opacity: 0.85;
}

/* Page foundation */
html,
body {
    min-height: 100%;
    background:
            radial-gradient(circle at top left, rgba(255, 0, 60, 0.15), transparent 32%),
            radial-gradient(circle at top right, rgba(196, 0, 47, 0.11), transparent 28%),
            linear-gradient(180deg, #07080d 0%, #0c0e14 45%, #050609 100%) !important;
    color: var(--gh-text);
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

.app {
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr;
    grid-template-rows: var(--topbar-height) 1fr;
    min-height: 100vh;
    background: transparent !important;
    color: var(--gh-text);
}

/* ==========================================================
   Header / Topbar
   ========================================================== */

.topbar {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 20px;
    background: var(--mameada-nav-background) !important;
    border-bottom: 1px solid rgba(255, 45, 85, 0.18);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    color: #ffffff !important;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.48),
    inset 0 -1px 0 rgba(255, 255, 255, 0.025);
}

.topbar a,
.topbar button,
.topbar .brand a {
    color: #ffffff !important;
}

.brand a {
    display: flex;
    align-items: center;
    gap: 0;
    font-weight: 900;
    letter-spacing: 0.2px;
    text-decoration: none;
}

.brand-logo {
    display: block;
    object-fit: contain;
}

.brand-logo--full {
    width: clamp(126px, 10.5vw, 154px);
    height: 44px;
}

.brand-logo--mark {
    display: none;
    width: 38px;
    height: 38px;
}

.menu-btn,
.icon-btn,
.action-trigger {
    background: rgba(0,0,0,0.24) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.16) !important;
    border-radius: 14px !important;
    transition: 0.22s ease;
}

.menu-btn:hover,
.icon-btn:hover,
.action-trigger:hover {
    background: rgba(255,255,255,0.16) !important;
    transform: translateY(-1px);
}

/* Search */
.search-box {
    flex: 1;
    display: flex;
    align-items: center;
    background: rgba(7, 8, 13, 0.62) !important;
    border: 1px solid rgba(255,255,255,0.14) !important;
    border-radius: 999px !important;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.22);
}

.search-box input {
    width: 100%;
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    color: #ffffff !important;
    padding: 12px 18px;
}

.search-box input::placeholder {
    color: rgba(255,255,255,0.68) !important;
}

.search-btn {
    appearance: none;
    border: 0 !important;
    background: linear-gradient(135deg, #b80b39 0%, #8f001f 58%, #650016 100%) !important;
    color: #ffffff !important;
    padding: 12px 18px;
    cursor: pointer;
    border-left: 1px solid rgba(255, 76, 112, .34) !important;
    border-radius: 0 999px 999px 0 !important;
    box-shadow: inset 1px 0 rgba(255, 255, 255, .04), 0 8px 20px rgba(66, 0, 17, .22);
    font-weight: 800;
    transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.search-btn:hover,
.search-btn:focus-visible {
    background: linear-gradient(135deg, #d31347 0%, #a50029 58%, #76001c 100%) !important;
    box-shadow: inset 1px 0 rgba(255, 255, 255, .05), 0 10px 24px rgba(88, 0, 24, .32);
}

.search-btn:active {
    background: linear-gradient(135deg, #950029 0%, #720019 100%) !important;
    box-shadow: inset 0 2px 7px rgba(0, 0, 0, .28);
    transform: translateY(1px);
}

/* Upload button and signup button */
.btn-primary,
.btn-signup-pill,
.profile-main-btn,
.save-profile-section-btn,
.load-more-profile-btn {
    background: linear-gradient(135deg, #ff335f 0%, #ff003c 42%, #9b001f 100%) !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 999px !important;
    font-weight: 900;
    box-shadow: var(--gh-red-shadow);
    transition: 0.22s ease;
}

.btn-primary:hover,
.btn-signup-pill:hover,
.profile-main-btn:hover,
.save-profile-section-btn:hover,
.load-more-profile-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 16px 42px rgba(255,0,60,0.36);
}

/* Login link */
.btn-link {
    padding: 7px 16px;
    border-radius: 999px;
    background: transparent;
    border: 1.5px solid #444;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    transition: border-color 0.2s ease, color 0.2s ease;
    line-height: 1;
    white-space: nowrap;
}

.btn-link:hover {
    border-color: var(--text);
    color: #ffe1e8 !important;
}

/* Notification badge */
.action-trigger .badge,
.badge {
    background: #ffffff !important;
    color: #c4002f !important;
    font-weight: 900;
}

.account-popup ul {
    list-style: none;
    padding: 8px;
    margin: 0;
}

.account-popup li a,
.cat-menu-links {
    color: var(--gh-text-soft) !important;
    border-radius: 12px;
    transition: 0.2s ease;
}

.account-popup li a:hover,
.cat-menu-links:hover {
    background: rgba(255,0,60,0.14) !important;
    color: #ffffff !important;
}

.avatar-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff003c, #7a001d) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: #ffffff !important;
    flex-shrink: 0;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
    text-transform: uppercase;
    background-color: #4a90e2;
    /* professional blue */
    color: white;
    box-shadow: 0 0 22px rgba(255,0,60,0.34);
}

.cat-ui-logout {
    width: calc(100% - 24px);
    margin: 8px 12px 10px;
    padding: 10px 14px;
    border: 1px solid rgba(255,0,60,0.32) !important;
    border-radius: 12px;
    background: rgba(255,0,60,0.14) !important;
    color: #ffffff !important;
    font-weight: 800;
    cursor: pointer;
}

/* ==========================================================
   Sidebar
   ========================================================== */

.sidebar {
    background: radial-gradient(circle at top left, rgba(255,0,60,0.22), transparent 35%),
    var(--gh-gradient-sidebar) !important;
    border-right: 1px solid rgba(255,0,60,0.18);
    padding: 18px 12px;
    overflow-y: auto;
    color: var(--gh-text);
    box-shadow: 12px 0 35px rgba(0,0,0,0.28),
    inset -1px 0 0 rgba(255,255,255,0.04);
}

/* ==========================================================
   Global Cards / Forms
   ========================================================== */

.card,
.dashboard-card,
.profile-completion-card,
.profile-edit-section,
.profile-about-card,
.empty-profile-state {
    background:
            var(--gh-gradient-card),
            var(--gh-card) !important;
    color: var(--gh-text);
    border: 1px solid var(--gh-border) !important;
    border-radius: var(--gh-radius) !important;
    box-shadow: var(--gh-shadow);
}

input,
textarea,
select {
    background: #0f121a !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 12px !important;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--gh-red) !important;
    box-shadow: 0 0 0 3px rgba(255,0,60,0.16) !important;
    outline: none !important;
}

label {
    color: var(--gh-text-soft);
    font-weight: 800;
}

/* =========================================================
   MeTube themed scrollbars
   ========================================================= */

/* Firefox */
html,
body,
* {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

/* Chrome, Edge, Safari and Opera */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        var(--scrollbar-thumb-hover),
        var(--scrollbar-thumb)
    );
    border: 2px solid var(--scrollbar-track);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        180deg,
        var(--scrollbar-thumb-active),
        var(--scrollbar-thumb-hover)
    );
}

::-webkit-scrollbar-thumb:active {
    background: var(--scrollbar-thumb-active);
}

::-webkit-scrollbar-corner {
    background: var(--scrollbar-track);
}

/*
|--------------------------------------------------------------------------
| FACEBOOK-LIKE ABOUT TAB - GH DARK THEME
|--------------------------------------------------------------------------
*/

.profile-about-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 22px;
    align-items: start;
}

.profile-about-sidebar {
    position: sticky;
    top: 90px;

    background:
            radial-gradient(circle at top left, rgba(255,47,109,0.10), transparent 38%),
            linear-gradient(180deg, #181920, #101116);

    border: 1px solid #30313a;
    border-radius: 20px;

    padding: 12px;

    box-shadow:
            0 20px 45px rgba(0,0,0,0.28),
            inset 0 1px 0 rgba(255,255,255,0.04);
}

.about-menu-btn {
    width: 100%;

    border: none;
    border-radius: 14px;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 13px 14px;

    background: transparent;
    color: #bfc0c8;

    font-size: 14px;
    font-weight: 800;

    cursor: pointer;

    transition: 0.2s ease;
}

.about-menu-btn i {
    width: 22px;
    color: #ff3f78;
    font-size: 15px;
}

.about-menu-btn:hover {
    background: rgba(255,255,255,0.055);
    color: #fff;
}

.about-menu-btn.active {
    background: linear-gradient(135deg, #e1164d, #ff2f6d);
    color: #fff;
    box-shadow: 0 12px 26px rgba(255,47,109,0.22);
}

.about-menu-btn.active i {
    color: #fff;
}

.profile-about-content {
    min-width: 0;
}

.about-content-section {
    display: none;
}

.about-content-section.active {
    display: block;
}

.about-section-card {
    background:
            radial-gradient(circle at top left, rgba(255,47,109,0.07), transparent 35%),
            linear-gradient(180deg, #181920, #101116);

    border: 1px solid #30313a;
    border-radius: 22px;

    padding: 22px;

    box-shadow:
            0 22px 52px rgba(0,0,0,0.32),
            inset 0 1px 0 rgba(255,255,255,0.04);
}

.about-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 16px;

    padding-bottom: 16px;
    border-bottom: 1px solid #30313a;
    margin-bottom: 8px;
}

.about-section-head h3 {
    margin: 0;

    color: #fff;

    font-size: 20px;
    font-weight: 900;
}

.about-edit-btn {
    border: none;
    border-radius: 999px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 9px 14px;

    background: rgba(255,255,255,0.07);
    color: #fff;

    font-size: 13px;
    font-weight: 800;

    cursor: pointer;
    transition: 0.2s ease;
}

.about-edit-btn:hover {
    background: linear-gradient(135deg, #e1164d, #ff2f6d);
    transform: translateY(-1px);
}

.about-list {
    display: grid;
    gap: 0;
}

.about-list-item {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 14px;

    padding: 17px 0;

    border-bottom: 1px solid rgba(255,255,255,0.065);
}

.about-list-item:last-child {
    border-bottom: none;
}

.about-icon {
    width: 42px;
    height: 42px;

    border-radius: 50%;

    display: grid;
    place-items: center;

    background:
            radial-gradient(circle at 30% 20%, rgba(255,63,120,0.20), rgba(255,63,120,0.06));

    color: #ff3f78;

    font-size: 17px;
}

.about-list-item span {
    display: block;

    color: #aeb0ba;

    font-size: 13px;
    font-weight: 700;

    margin-bottom: 4px;
}

.about-list-item strong {
    display: block;

    color: #fff;

    font-size: 15px;
    line-height: 1.55;
    font-weight: 800;
}

/*
|--------------------------------------------------------------------------
| SOCIAL LINKS
|--------------------------------------------------------------------------
*/

.about-social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;

    padding-top: 16px;
}

.about-social-card {
    min-height: 72px;

    display: flex;
    align-items: center;
    gap: 14px;

    padding: 16px;

    text-decoration: none;

    background:
            linear-gradient(180deg, #1e1f27, #15161c);

    border: 1px solid #32333d;
    border-radius: 16px;

    color: #fff;

    transition: 0.2s ease;
}

.about-social-card i {
    color: #ff3f78;
    font-size: 22px;
}

.about-social-card span {
    font-size: 14px;
    font-weight: 800;
}

.about-social-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255,63,120,0.55);
    box-shadow: 0 18px 34px rgba(0,0,0,0.28);
}

.about-social-card.disabled {
    opacity: 0.55;
    pointer-events: none;
}

/*
|--------------------------------------------------------------------------
| ABOUT STATS
|--------------------------------------------------------------------------
*/

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;

    padding-top: 16px;
}

.about-stat-card {
    background:
            radial-gradient(circle at top, rgba(255,255,255,0.055), transparent 45%),
            linear-gradient(180deg, #1e1f27, #15161c);

    border: 1px solid #32333d;
    border-radius: 16px;

    padding: 20px 14px;

    text-align: center;
}

.about-stat-card i {
    color: #ff3f78;
    font-size: 22px;
    margin-bottom: 10px;
}

.about-stat-card strong {
    display: block;
    color: #fff;
    font-size: 24px;
    font-weight: 950;
}

.about-stat-card span {
    display: block;
    margin-top: 5px;
    color: #aaa;
    font-size: 13px;
    font-weight: 700;
}

/*
|--------------------------------------------------------------------------
| RESPONSIVE
|--------------------------------------------------------------------------
*/

@media (max-width: 900px) {
    .profile-about-layout {
        grid-template-columns: 1fr;
    }

    .profile-about-sidebar {
        position: static;
        display: flex;
        gap: 10px;
        overflow-x: auto;
    }

    .about-menu-btn {
        min-width: max-content;
    }
}

@media (max-width: 560px) {
    .about-section-card {
        padding: 18px;
        border-radius: 18px;
    }

    .about-list-item {
        grid-template-columns: 38px 1fr;
        gap: 12px;
    }

    .about-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .about-section-head h3 {
        font-size: 17px;
    }
}

.ghp-header-upload-btn {
    min-height: 42px;
    padding: 0 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    border-radius: 999px;

    background: linear-gradient(135deg, #ff1d5b, #f0184f);
    color: #fff;

    text-decoration: none;
    font-size: 14px;
    font-weight: 950;

    box-shadow:
            0 12px 28px rgba(255,45,85,0.25),
            inset 0 1px 0 rgba(255,255,255,0.14);

    transition:
            transform 0.2s ease,
            filter 0.2s ease,
            box-shadow 0.2s ease;
}

.ghp-header-upload-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
    box-shadow:
            0 16px 36px rgba(255,45,85,0.34),
            inset 0 1px 0 rgba(255,255,255,0.18);
}

.ghp-header-icon-btn,
.ghp-header-user-chip {
    position: relative;

    width: 48px;
    height: 48px;

    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.16);

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background:
            linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
            rgba(0,0,0,0.26);

    color: #fff;

    text-decoration: none;
    font-size: 20px;

    cursor: pointer;

    box-shadow:
            0 10px 24px rgba(0,0,0,0.32),
            inset 0 1px 0 rgba(255,255,255,0.10);

    transition:
            transform 0.2s ease,
            border-color 0.2s ease,
            background 0.2s ease,
            box-shadow 0.2s ease;
}

.ghp-header-icon-btn:hover,
.ghp-header-user-chip:hover {
    transform: translateY(-1px);
    border-color: rgba(255,45,85,0.42);
    background: rgba(255,45,85,0.14);
}

.ghp-profile-shortcut {
    overflow: hidden;
}

.ghp-profile-shortcut img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ghp-header-user-chip {
    background: linear-gradient(135deg, #e1164d, #ff2d55);
    border-color: rgba(255,45,85,0.45);

    font-size: 17px;
    font-weight: 950;
}

.ghp-notification-wrap {
    position: relative;
}

.ghp-notification-btn.has-notifications {
    animation: ghpBellPulse 1.8s ease-in-out infinite;
}

@keyframes ghpBellPulse {
    0%, 100% {
        box-shadow:
                0 10px 24px rgba(0,0,0,0.32),
                0 0 0 rgba(255,45,85,0);
    }

    50% {
        box-shadow:
                0 10px 24px rgba(0,0,0,0.32),
                0 0 24px rgba(255,45,85,0.28);
    }
}

.ghp-notification-badge {
    position: absolute;
    top: -5px;
    right: -4px;

    min-width: 20px;
    height: 20px;
    padding: 0 5px;

    display: none;
    align-items: center;
    justify-content: center;

    border-radius: 999px;
    border: 2px solid #65001f;

    background: #fff;
    color: #e1164d;

    font-size: 11px;
    font-weight: 950;
    line-height: 1;
}

.ghp-notification-badge.active {
    display: inline-flex;
}

.ghp-notification-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;

    width: min(390px, calc(100vw - 24px));
    max-height: 520px;

    display: none;
    overflow: hidden;

    border-radius: 22px;
    border: 1px solid rgba(255,45,85,0.20);

    background:
            radial-gradient(circle at top right, rgba(255,45,85,0.16), transparent 35%),
            linear-gradient(180deg, #18191f, #101116);

    box-shadow:
            0 30px 80px rgba(0,0,0,0.58),
            0 0 32px rgba(255,45,85,0.12),
            inset 0 1px 0 rgba(255,255,255,0.06);

    z-index: 99999;
}

.ghp-notification-dropdown.active {
    display: block;
}

.ghp-notification-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    padding: 18px;

    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ghp-notification-head strong {
    display: block;

    color: #fff;

    font-size: 17px;
    font-weight: 950;
}

.ghp-notification-head small {
    display: block;
    margin-top: 4px;

    color: #aaa;

    font-size: 12px;
}

.ghp-notification-head a {
    color: #ff7a93;
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
}

.ghp-notification-body {
    max-height: 440px;
    overflow-y: auto;
    padding: 8px;
}

.ghp-notification-section-title {
    padding: 10px 10px 7px;

    color: #ff7a93;

    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.ghp-notification-item {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 12px;

    padding: 12px;

    border-radius: 16px;

    color: #fff;
    text-decoration: none;

    transition:
            background 0.2s ease,
            transform 0.2s ease;
}

.ghp-notification-item:hover {
    background: rgba(255,255,255,0.055);
    transform: translateY(-1px);
}

.ghp-notification-avatar {
    width: 46px;
    height: 46px;

    border-radius: 15px;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(135deg, #e1164d, #ff2d55);
    color: #fff;

    text-decoration: none;
    font-weight: 950;
}

.ghp-notification-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ghp-notification-content p {
    margin: 0;

    color: #ddd;

    font-size: 13px;
    line-height: 1.45;
}

.ghp-notification-content p strong {
    color: #fff;
    font-weight: 950;
}

.ghp-notification-content small {
    display: block;
    margin-top: 4px;

    color: #aaa;

    font-size: 12px;
}

.ghp-notification-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.ghp-notification-actions button {
    min-height: 30px;
    padding: 0 12px;

    border: none;
    border-radius: 999px;

    background: linear-gradient(135deg, #e1164d, #ff2d55);
    color: #fff;

    font-size: 12px;
    font-weight: 900;

    cursor: pointer;
}

.ghp-notification-actions button.reject {
    background: rgba(255,255,255,0.08);
    color: #ddd;
}

.ghp-notification-actions button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.ghp-notification-empty {
    padding: 34px 20px;

    display: grid;
    justify-items: center;
    gap: 8px;

    color: #aaa;
    text-align: center;
}

.ghp-notification-empty i {
    color: #ff2d55;
    font-size: 28px;
}

.ghp-notification-empty strong {
    color: #fff;
    font-size: 14px;
}

.ghp-notification-empty span {
    font-size: 12px;
    line-height: 1.45;
}

/* Mobile header actions */
@media (max-width: 760px) {

    .ghp-header-upload-btn {
        min-height: 38px;
        padding: 0 13px;
        font-size: 12px;
    }

    .ghp-header-upload-btn span {
        display: none;
    }

    .ghp-header-icon-btn,
    .ghp-header-user-chip {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }

    .ghp-notification-dropdown {
        right: -90px;
    }
}
.ghp-header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
}

.ghp-header-actions .account-popup-wrap {
    position: relative;
    flex: 0 0 auto;
}

.ghp-header-actions .profile-avatar-btn {
    width: 48px;
    height: 48px;
}

@media (max-width: 760px) {
    .ghp-header-actions {
        gap: 8px;
    }

    .ghp-header-actions .profile-avatar-btn {
        width: 40px;
        height: 40px;
    }
}

/* ==========================================================
   HEADER PROFILE ICON SIZE FIX
   Controls account popup icon, notification icon, and popup menu icons
   ========================================================== */

/* Header right action wrapper */
.topbar .topbar-right .ghp-header-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 14px !important;
}

/* Account popup wrapper */
.topbar .topbar-right .ghp-header-actions .account-popup-wrap {
    position: relative !important;
    width: 48px !important;
    height: 48px !important;
    flex: 0 0 48px !important;
}

/* Main profile icon button */
.topbar .topbar-right .ghp-header-actions .account-popup-wrap #accountPopupBtn.profile-avatar-btn {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;

    padding: 0 !important;
    margin: 0 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 50% !important;
    border: 2px solid rgba(255,255,255,0.18) !important;

    background:
            linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
            rgba(0,0,0,0.28) !important;

    color: #fff !important;

    overflow: hidden !important;
    cursor: pointer !important;

    box-shadow:
            0 10px 24px rgba(0,0,0,0.32),
            inset 0 1px 0 rgba(255,255,255,0.10) !important;
}

/* Profile image inside button */
.topbar .topbar-right .ghp-header-actions .account-popup-wrap #accountPopupBtn.profile-avatar-btn img {
    width: 100% !important;
    height: 100% !important;

    display: block !important;

    object-fit: cover !important;
    object-position: center !important;

    border-radius: 50% !important;
}

/* Initial letter inside button */
.topbar .topbar-right .ghp-header-actions .account-popup-wrap #accountPopupBtn.profile-avatar-btn span {
    width: 100% !important;
    height: 100% !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 50% !important;

    background: linear-gradient(135deg, #e1164d, #ff2d55) !important;
    color: #fff !important;

    font-size: 17px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
}

/* Notification bell should match profile icon size */
.topbar .topbar-right .ghp-header-actions .ghp-notification-wrap {
    width: 48px !important;
    height: 48px !important;
    flex: 0 0 48px !important;
}

.topbar .topbar-right .ghp-header-actions .ghp-notification-btn {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;

    padding: 0 !important;
    margin: 0 !important;

    border-radius: 50% !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 18px !important;
}

/* Mobile size */
@media (max-width: 760px) {
    .topbar .topbar-right .ghp-header-actions .account-popup-wrap,
    .topbar .topbar-right .ghp-header-actions .ghp-notification-wrap {
        width: 40px !important;
        height: 40px !important;
        flex-basis: 40px !important;
    }

    .topbar .topbar-right .ghp-header-actions .account-popup-wrap #accountPopupBtn.profile-avatar-btn,
    .topbar .topbar-right .ghp-header-actions .ghp-notification-btn {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
    }

    .topbar .topbar-right .ghp-header-actions .account-popup-wrap #accountPopupBtn.profile-avatar-btn span {
        font-size: 15px !important;
    }
}

/* ==========================================================
   PREMIUM ACCOUNT POPUP - GHPHOUSE DARK RED THEME
   ========================================================== */

.account-popup-wrap {
    position: relative !important;
    display: inline-block;
}

.account-popup {
    position: absolute !important;
    top: calc(100% + 14px) !important;
    right: 0 !important;
    width: 330px;
    background: var(--gh-gradient-card),
    #151821 !important;
    border: 1px solid var(--gh-border-red) !important;
    border-radius: 18px !important;
    box-shadow: 0 34px 90px rgba(0,0,0,0.65),
    0 0 30px rgba(255,45,85,0.12),
    inset 0 1px 0 rgba(255,255,255,0.07);
    z-index: 100000 !important;
    display: none;
    overflow: hidden;
    padding: 12px;
}

.account-popup::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 22px;

    width: 16px;
    height: 16px;

    transform: rotate(45deg);

    background: #1a1b23;
    border-left: 1px solid rgba(255,45,85,0.22);
    border-top: 1px solid rgba(255,45,85,0.22);
}

.account-popup.show,
.account-popup.active {
    display: block;
    animation: accountPopupIn 0.18s ease-out;
}

@keyframes accountPopupIn {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Profile top section */
.account-popup-profile {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 12px;

    border-radius: 18px;

    background:
            linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025)),
            rgba(255,45,85,0.06);
}

.account-popup-avatar {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;

    border-radius: 18px;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(135deg, #e1164d, #ff2d55);
    color: #fff;

    font-size: 20px;
    font-weight: 950;

    box-shadow:
            0 12px 26px rgba(255,45,85,0.22),
            inset 0 1px 0 rgba(255,255,255,0.18);
}

.account-popup-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.account-popup-avatar span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
}

.account-popup-user {
    min-width: 0;
}

.account-popup-user strong {
    display: block;

    color: #fff;

    font-size: 15px;
    font-weight: 950;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.account-popup-user small {
    display: block;

    margin-top: 4px;

    color: #ff8aa2;

    font-size: 12px;
    font-weight: 800;
}

/* Divider */
.account-popup-divider {
    height: 1px;
    margin: 10px 4px;

    background: linear-gradient(
            90deg,
            transparent,
            rgba(255,45,85,0.28),
            rgba(255,255,255,0.08),
            transparent
    );
}

/* Menu */
.account-popup-menu {
    display: grid;
    gap: 5px;
}

.account-popup-menu a,
.account-popup-logout {
    min-height: 58px;
    padding: 10px;

    display: flex;
    align-items: center;
    gap: 11px;

    border-radius: 16px;

    color: #fff;
    text-decoration: none;

    transition:
            background 0.18s ease,
            transform 0.18s ease,
            color 0.18s ease;
}

.account-popup-menu a:hover,
.account-popup-logout:hover {
    background: rgba(255,45,85,0.13);
    transform: translateX(3px);
}

.account-popup-link-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background:
            linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025)),
            rgba(255,45,85,0.10);

    border: 1px solid rgba(255,45,85,0.24);

    color: #ff6f8d;
    font-size: 15px;
}

.account-popup-menu a span:last-child,
.account-popup-logout span:last-child {
    min-width: 0;
}

.account-popup-menu a strong,
.account-popup-logout strong {
    display: block;

    color: #fff;

    font-size: 14px;
    font-weight: 900;
}

.account-popup-menu a small,
.account-popup-logout small {
    display: block;

    margin-top: 3px;

    color: #999;

    font-size: 11px;
    line-height: 1.25;
}

/* Logout */
.account-popup-logout {
    background: rgba(255,45,85,0.07);
}

.account-popup-logout-form {
    margin: 0;
}

button.account-popup-logout {
    width: 100%;
    border: 0;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.account-popup-logout:hover {
    background: rgba(255,45,85,0.18);
}

.account-popup-logout .account-popup-link-icon {
    background: rgba(255,45,85,0.14);
    border-color: rgba(255,45,85,0.35);
    color: #ff2d55;
}

/* Stop old popup styles from forcing inline links */
.account-popup a {
    width: 100%;
    box-sizing: border-box;
}

.account-popup a i {
    width: 22px !important;
    min-width: 22px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    margin: 0 !important;
}

/* Mobile */
@media (max-width: 640px) {
    .account-popup {
        width: min(320px, calc(100vw - 24px));
        right: -8px !important;
    }

    .account-popup-profile {
        padding: 10px;
    }

    .account-popup-avatar {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .account-popup-menu a,
    .account-popup-logout {
        min-height: 54px;
    }
}

/* ==========================================================
   ACCOUNT POPUP NOTIFICATION BADGES
   Uses existing premium account popup design
   ========================================================== */

.account-popup-menu-link,
.account-popup-menu a {
    position: relative;
}

.account-popup-link-text {
    min-width: 0;
    flex: 1 1 auto;
}

.account-popup-link-badge {
    min-width: 24px;
    height: 24px;
    padding: 0 7px;

    display: none;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    background: linear-gradient(135deg, #ff1d5b, #ff4778);
    color: #fff;

    font-size: 11px;
    font-weight: 950;
    line-height: 1;

    box-shadow:
            0 8px 20px rgba(255,45,85,0.28),
            inset 0 1px 0 rgba(255,255,255,0.18);
}

.account-popup-link-badge.active {
    display: inline-flex;
}

.account-popup-menu-link.has-count {
    background: rgba(255,45,85,0.08);
}

.account-popup-menu-link.has-count:hover {
    background: rgba(255,45,85,0.16);
}

.account-popup-menu-link.has-count .account-popup-link-icon {
    border-color: rgba(255,45,85,0.38);
    background:
            linear-gradient(145deg, rgba(255,255,255,0.10), rgba(255,255,255,0.025)),
            rgba(255,45,85,0.15);
    color: #ff2d55;
}

/* Friends badge can carry a green social tone */
#accountFriendsBadge.active {
    background: linear-gradient(135deg, #23c76a, #33d17a);
    box-shadow:
            0 8px 20px rgba(51,209,122,0.22),
            inset 0 1px 0 rgba(255,255,255,0.18);
}

/* Messages badge can carry a blue chat tone */
#accountMessagesBadge.active {
    background: linear-gradient(135deg, #3aa7ff, #65b8ff);
    box-shadow:
            0 8px 20px rgba(101,184,255,0.22),
            inset 0 1px 0 rgba(255,255,255,0.18);
}

@media (max-width: 640px) {
    .account-popup-link-badge {
        min-width: 22px;
        height: 22px;
        font-size: 10px;
    }
}

/* ==========================================================
   PREMIUM SIDEBAR - GHPHOUSE DARK RED THEME
   ========================================================== */

.ghp-sidebar,
.sidebar {
    width: 260px;
    min-width: 260px;
    height: calc(100vh - var(--topbar-height, 76px));

    position: sticky;
    top: var(--topbar-height, 76px);

    overflow-y: auto;
    overflow-x: hidden;

    padding: 18px 14px;

    background:
            radial-gradient(circle at top left, rgba(255,45,85,0.12), transparent 35%),
            linear-gradient(180deg, #171820, #0d0e13);

    border-right: 1px solid rgba(255,45,85,0.14);

    box-shadow:
            18px 0 45px rgba(0,0,0,0.28),
            inset -1px 0 0 rgba(255,255,255,0.03);

    box-sizing: border-box;
    z-index: 2000;
}

.ghp-sidebar-brand-card {
    display: grid;
    justify-items: start;
    gap: 7px;

    padding: 14px;

    border-radius: 20px;
    border: 1px solid rgba(255,45,85,0.18);

    background:
            linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
            rgba(255,45,85,0.055);

    box-shadow:
            0 16px 34px rgba(0,0,0,0.30),
            inset 0 1px 0 rgba(255,255,255,0.06);
}

.ghp-sidebar-brand-logo {
    display: block;
    object-fit: contain;
}

.ghp-sidebar-brand-logo--full {
    width: min(154px, 100%);
    height: 46px;
}

.ghp-sidebar-brand-logo--mark {
    display: none;
    width: 44px;
    height: 44px;
}

.ghp-sidebar-brand-tagline {
    display: block;
    margin-top: -2px;

    color: #ff8aa2;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.nav-group:last-of-type {
    border-bottom: none;
}

.nav-title {
    color: rgba(255,255,255,0.58) !important;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin: 12px 12px 8px;
    font-weight: 950;
    padding: 0 10px 4px;
}

.nav-title--subgroup {
    margin-top: 20px;
    padding-top: 13px;
    border-top: 1px solid rgba(255,255,255,0.07);
    color: rgba(255,138,162,0.82) !important;
}

.nav-item strong {
    filter: drop-shadow(0 0 8px rgba(255,0,60,0.28));
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(255,255,255,0.065), rgba(255,255,255,0.02)),
    rgba(255,255,255,0.035);
    color: #ff7a93;
    font-size: 14px;
}

.nav-item:hover {
    background: rgba(255,255,255,0.10) !important;
    color: #ffffff !important;
    transform: translateX(3px);
    border-color: rgba(255,45,85,0.18);
}

.nav-item:hover strong {
    background: rgba(255,45,85,0.16);
    color: #fff;
}

.nav-item.active {
    background: linear-gradient(135deg, rgba(255,0,60,0.95), rgba(122,0,29,0.86)) !important;
    color: #ffffff !important;
    box-shadow: 0 14px 30px rgba(255,45,85,0.22),
    inset 0 1px 0 rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.12);
}

.nav-item.active strong {
    background: rgba(255,255,255,0.16);
    color: #fff;
}

.nav-item.active::before {
    content: "";
    position: absolute;
    left: -14px;
    top: 10px;

    width: 4px;
    height: 26px;

    border-radius: 999px;

    background: #fff;

    box-shadow: 0 0 18px rgba(255,255,255,0.6);
}

/* Sidebar notification badges */
.nav-item .site-menu-badge {
    margin-left: auto;

    min-width: 21px;
    height: 21px;
    padding: 0 6px;

    display: none;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    background: linear-gradient(135deg, #3aa7ff, #65b8ff);
    color: #fff;

    font-size: 10px;
    font-style: normal;
    font-weight: 950;
    line-height: 1;

    box-shadow:
            0 8px 18px rgba(101,184,255,0.24),
            inset 0 1px 0 rgba(255,255,255,0.18);
}

.nav-item .site-menu-badge.friends {
    background: linear-gradient(135deg, #23c76a, #33d17a);

    box-shadow:
            0 8px 18px rgba(51,209,122,0.22),
            inset 0 1px 0 rgba(255,255,255,0.18);
}

.nav-item .site-menu-badge.active {
    display: inline-flex;
}

.nav-item.has-notification-count {
    background: rgba(255,45,85,0.10);
    border-color: rgba(255,45,85,0.22);
}

.ghp-sidebar-footer {
    padding: 14px;

    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);

    background:
            linear-gradient(145deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012)),
            rgba(0,0,0,0.20);
}

.ghp-sidebar-footer small {
    display: block;

    color: #fff;

    font-size: 13px;
    font-weight: 950;
}

.ghp-sidebar-footer span {
    display: block;

    margin-top: 4px;

    color: #888;

    font-size: 11px;
    font-weight: 700;
}

/* Scrollbar */
.ghp-sidebar::-webkit-scrollbar,
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.ghp-sidebar::-webkit-scrollbar-thumb,
.sidebar::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255,45,85,0.28);
}

.ghp-sidebar::-webkit-scrollbar-track,
.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

/* Compact sidebar support */
body.sidebar-collapsed .ghp-sidebar,
body.sidebar-collapsed .sidebar {
    width: 86px;
    min-width: 86px;
}

body.sidebar-collapsed .ghp-sidebar-brand-card div,
body.sidebar-collapsed .ghp-sidebar-brand-logo--full,
body.sidebar-collapsed .ghp-sidebar-brand-tagline,
body.sidebar-collapsed .nav-title,
body.sidebar-collapsed .nav-item span,
body.sidebar-collapsed .ghp-sidebar-footer {
    display: none;
}

body.sidebar-collapsed .ghp-sidebar-brand-card {
    justify-items: center;
    padding-inline: 8px;
}

body.sidebar-collapsed .ghp-sidebar-brand-logo--mark {
    display: block;
}

body.sidebar-collapsed .nav-item strong {
    margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .brand-logo--full,
    .ghp-sidebar-brand-logo--full,
    .ghp-sidebar-brand-tagline {
        display: none;
    }

    .brand-logo--mark,
    .ghp-sidebar-brand-logo--mark {
        display: block;
    }

    .ghp-sidebar-brand-card {
        justify-items: center;
    }

    .ghp-sidebar,
    .sidebar {
        position: fixed;
        top: var(--topbar-height, 66px);
        left: 0;

        height: calc(100vh - var(--topbar-height, 66px));

        transform: translateX(-110%);
        transition: transform 0.25s ease;

        z-index: 10000;
    }

    body.sidebar-open .ghp-sidebar,
    body.sidebar-open .sidebar {
        transform: translateX(0);
    }
}

@media (max-width: 640px) {
    .ghp-sidebar,
    .sidebar {
        width: min(290px, 86vw);
        min-width: min(290px, 86vw);
    }
}

/* ==========================================================
   APP LAYOUT FIX
   Makes main content resize correctly when sidebar collapses
   ========================================================== */

:root {
    --scrollbar-track: #08070d;
    --scrollbar-thumb: #6f1028;
    --scrollbar-thumb-hover: #a90032;
    --scrollbar-thumb-active: #d0003b;
    --bg: #0f0f0f;
    --surface: #181818;
    --surface-2: #212121;
    --surface-3: #272727;
    --text: #f1f1f1;
    --muted: #aaaaaa;
    --border: #303030;
    --accent: #ff2d55;
    --sidebar-width: 240px;
    --topbar-height: 64px;
    --radius: 14px;
    --transition: 0.25s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    --gh-bg: #07080d;
    --gh-bg-soft: #101219;
    --gh-card: #151821;
    --gh-card-light: #1d2230;
    --gh-red: #ff003c;
    --gh-red-soft: #ff335f;
    --gh-red-dark: #9b001f;
    --gh-red-deep: #3b000c;
    --gh-text: #ffffff;
    --gh-text-soft: #d8dce7;
    --gh-muted: #9ca3af;
    --gh-border: rgba(255, 255, 255, 0.08);
    --gh-border-red: rgba(255, 0, 60, 0.35);
    --gh-gradient-red: linear-gradient(135deg, #ff003c 0%, #c4002f 42%, #7a001d 78%, #260007 100%);
    --mameada-nav-background:
            radial-gradient(circle at 8% -80%, rgba(89, 18, 42, 0.18) 0%, rgba(89, 18, 42, 0) 52%),
            linear-gradient(105deg, #170e11 0%, #0f0c0e 50%, #140a0e 100%);
    --gh-gradient-sidebar: linear-gradient(180deg, #3b000c 0%, #180008 42%, #090a0f 100%);
    --gh-gradient-card: linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015));
    --gh-radius: 18px;
    --gh-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
    --gh-red-shadow: 0 12px 35px rgba(255, 0, 60, 0.26);
    --ghp-topbar-height: 76px;
    --ghp-sidebar-width: 260px;
    --ghp-sidebar-collapsed-width: 86px;
}

/* Main app shell */
.app,
.ghp-app,
body > .app {
    display: grid !important;
    grid-template-columns: var(--ghp-sidebar-width) minmax(0, 1fr) !important;
    grid-template-rows: var(--ghp-topbar-height) minmax(0, 1fr) !important;

    width: 100% !important;
    min-height: 100vh !important;

    background: #07080d;
    overflow-x: hidden !important;
}

/* Header must always span full width */
.app > .topbar,
.ghp-app > .topbar,
.app > header.topbar,
.ghp-app > header.topbar {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;

    width: 100% !important;
    height: var(--ghp-topbar-height) !important;

    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;

    z-index: 9000 !important;
}

/* Fixed navigation remains outside normal flow, while the explicit first
   grid row above preserves its height for every routed page shell. */
html {
    scroll-padding-top: calc(var(--ghp-topbar-height, 76px) + 12px);
}

:where([id]) {
    scroll-margin-top: calc(var(--ghp-topbar-height, 76px) + 12px);
}

/* Sidebar placement */
.app > .sidebar,
.ghp-app > .sidebar,
.app > .ghp-sidebar,
.ghp-app > .ghp-sidebar {
    grid-column: 1 !important;
    grid-row: 2 !important;

    width: var(--ghp-sidebar-width) !important;
    min-width: var(--ghp-sidebar-width) !important;

    height: calc(100vh - var(--ghp-topbar-height)) !important;

    position: sticky !important;
    top: var(--ghp-topbar-height) !important;
}

/* Main content placement */
.app > .main,
.app > main,
.app > .main-content,
.app > .content,
.ghp-app > .main,
.ghp-app > main,
.ghp-app > .main-content,
.ghp-app > .content {
    grid-column: 2 !important;
    grid-row: 2 !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    margin-left: 0 !important;
    padding-left: 0 !important;

    overflow-x: hidden !important;
    box-sizing: border-box !important;
}

/* Inner page content should stretch naturally */
.main,
.main-content,
.content,
.page-content,
.profile-main,
.creator-studio-main,
.social-main {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    margin-left: 0 !important;
    box-sizing: border-box !important;
}

/* Collapsed sidebar layout */
body.sidebar-collapsed .app,
body.sidebar-collapsed .ghp-app,
body.sidebar-collapsed body > .app {
    grid-template-columns: var(--ghp-sidebar-collapsed-width) minmax(0, 1fr) !important;
}

body.sidebar-collapsed .app > .sidebar,
body.sidebar-collapsed .ghp-app > .sidebar,
body.sidebar-collapsed .app > .ghp-sidebar,
body.sidebar-collapsed .ghp-app > .ghp-sidebar {
    width: var(--ghp-sidebar-collapsed-width) !important;
    min-width: var(--ghp-sidebar-collapsed-width) !important;
}

/* Remove old spacing that may be coming from previous layout */
body.sidebar-collapsed .main,
body.sidebar-collapsed main,
body.sidebar-collapsed .main-content,
body.sidebar-collapsed .content,
body.sidebar-collapsed .page-content,
body.sidebar-collapsed .profile-main,
body.sidebar-collapsed .creator-studio-main,
body.sidebar-collapsed .social-main {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* Smooth resize */
.app,
.ghp-app,
.sidebar,
.ghp-sidebar,
.main,
.main-content,
.content,
.page-content {
    transition:
            grid-template-columns 0.24s ease,
            width 0.24s ease,
            min-width 0.24s ease,
            margin 0.24s ease;
}

/* Mobile layout */
@media (max-width: 900px) {
    :root {
        --ghp-topbar-height: 66px;
    }

    .app,
    .ghp-app,
    body > .app {
        grid-template-columns: 1fr !important;
        grid-template-rows: var(--ghp-topbar-height) minmax(0, 1fr) !important;
    }

    .app > .topbar,
    .ghp-app > .topbar,
    .app > header.topbar,
    .ghp-app > header.topbar {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    .app > .main,
    .app > main,
    .app > .main-content,
    .app > .content,
    .ghp-app > .main,
    .ghp-app > main,
    .ghp-app > .main-content,
    .ghp-app > .content {
        grid-column: 1 !important;
        grid-row: 2 !important;

        width: 100% !important;
        margin-left: 0 !important;
    }

    .app > .sidebar,
    .ghp-app > .sidebar,
    .app > .ghp-sidebar,
    .ghp-app > .ghp-sidebar {
        position: fixed !important;
        top: var(--ghp-topbar-height) !important;
        left: 0 !important;

        width: min(290px, 86vw) !important;
        min-width: min(290px, 86vw) !important;

        height: calc(100vh - var(--ghp-topbar-height)) !important;

        transform: translateX(-110%);
        transition: transform 0.25s ease;

        z-index: 10000 !important;
    }

    body.sidebar-open .app > .sidebar,
    body.sidebar-open .ghp-app > .sidebar,
    body.sidebar-open .app > .ghp-sidebar,
    body.sidebar-open .ghp-app > .ghp-sidebar {
        transform: translateX(0);
    }

    body.sidebar-collapsed .app,
    body.sidebar-collapsed .ghp-app {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================
   SIDEBAR LONG MENU POLISH
   ========================================================== */

.ghp-sidebar-inner {
    display: grid;
    gap: 18px;
    padding-bottom: 24px;
}

.nav-group {
    padding-bottom: 16px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    display: grid;
    gap: 6px;
}

.nav-group--unified {
    margin: 0 0 12px;
    padding: 8px 7px 12px;
    border: 1px solid rgba(255, 45, 85, 0.22);
    border-radius: 18px;
    background:
            radial-gradient(circle at 12% 0, rgba(255, 45, 85, 0.16), transparent 42%),
            linear-gradient(155deg, rgba(76, 0, 18, 0.58), rgba(12, 13, 19, 0.92));
    box-shadow:
            0 14px 34px rgba(0, 0, 0, 0.24),
            inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.nav-group--unified .nav-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ff9caf !important;
}

.nav-group--unified .nav-item {
    background: rgba(255, 255, 255, 0.025);
}

.nav-group--unified .nav-item:hover {
    background: linear-gradient(135deg, rgba(255, 45, 85, 0.18), rgba(255, 255, 255, 0.055)) !important;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 12px;
    border-radius: 15px;
    color: var(--gh-text-soft) !important;
    text-decoration: none;
    transition: background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
    margin-bottom: 4px;
    position: relative;
    min-height: 44px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 800;
}

.nav-item span {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
}

body.sidebar-collapsed .nav-item {
    justify-content: center;
    padding: 0;
    min-height: 46px;
}

body.sidebar-collapsed .nav-item::after {
    content: attr(title);
}

/* Keep badges visible when collapsed */
body.sidebar-collapsed .nav-item .site-menu-badge {
    position: absolute;
    top: 2px;
    right: 6px;
}

/* ==========================================================
   VIDEO LIBRARY / CHANNEL PAGES
   ========================================================== */

.ghp-library-main {
    padding: 24px;
    background:
            radial-gradient(circle at top right, rgba(255,45,85,0.08), transparent 34%),
            #07080d;
    min-height: calc(100vh - var(--ghp-topbar-height, 76px));
}

.ghp-library-hero {
    display: flex;
    align-items: center;
    gap: 16px;

    margin-bottom: 22px;
    padding: 20px;

    border-radius: 24px;
    border: 1px solid rgba(255,45,85,0.18);

    background:
            linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
            rgba(255,45,85,0.055);

    box-shadow:
            0 18px 45px rgba(0,0,0,0.32),
            inset 0 1px 0 rgba(255,255,255,0.06);
}

.ghp-library-hero-icon {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 20px;

    background: linear-gradient(135deg, #e1164d, #ff2d55);
    color: #fff;

    font-size: 22px;

    box-shadow: 0 14px 30px rgba(255,45,85,0.25);
}

.ghp-library-hero h1 {
    margin: 0;
    color: #fff;
    font-size: 25px;
    font-weight: 950;
}

.ghp-library-hero p {
    margin: 5px 0 0;
    color: #aaa;
    font-size: 13px;
    font-weight: 700;
}

.ghp-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 18px;
}

.ghp-video-card {
    overflow: hidden;

    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);

    background:
            linear-gradient(145deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)),
            #12131a;

    box-shadow:
            0 18px 42px rgba(0,0,0,0.34),
            inset 0 1px 0 rgba(255,255,255,0.04);

    transition:
            transform 0.22s ease,
            border-color 0.22s ease,
            box-shadow 0.22s ease;
}

.ghp-video-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,45,85,0.30);
    box-shadow:
            0 24px 55px rgba(0,0,0,0.46),
            0 0 24px rgba(255,45,85,0.10);
}

.ghp-video-thumb {
    position: relative;

    display: block;
    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #08090d;
}

.ghp-video-thumb img,
.ghp-video-placeholder {
    width: 100%;
    height: 100%;
}

.ghp-video-thumb img {
    display: block;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.ghp-video-card:hover .ghp-video-thumb img {
    transform: scale(1.05);
}

.ghp-video-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    background:
            radial-gradient(circle, rgba(255,45,85,0.22), transparent 40%),
            #101116;

    color: #ff7a93;
    font-size: 28px;
}

.ghp-video-duration {
    position: absolute;
    right: 9px;
    bottom: 9px;

    padding: 4px 8px;

    border-radius: 8px;

    background: rgba(0,0,0,0.78);
    color: #fff;

    font-size: 11px;
    font-weight: 900;
}

.ghp-video-info {
    padding: 13px;
}

.ghp-video-info h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 950;
    line-height: 1.35;
}

.ghp-video-info h3 a {
    color: #fff;
    text-decoration: none;
}

.ghp-video-info h3 a:hover {
    color: #ff7a93;
}

.ghp-video-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;

    margin-top: 8px;

    color: #8f9098;

    font-size: 11px;
    font-weight: 800;
}

.ghp-video-meta span:not(:last-child)::after {
    content: "•";
    margin-left: 7px;
    color: #555;
}

.ghp-empty-state {
    min-height: 280px;
    padding: 40px 22px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border-radius: 24px;
    border: 1px dashed rgba(255,45,85,0.24);

    background:
            linear-gradient(145deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012)),
            rgba(0,0,0,0.18);

    text-align: center;
}

.ghp-empty-state i {
    color: #ff2d55;
    font-size: 34px;
}

.ghp-empty-state strong {
    color: #fff;
    font-size: 17px;
    font-weight: 950;
}

.ghp-empty-state span {
    color: #aaa;
    font-size: 13px;
    font-weight: 700;
}

/* Creator / Channel cards */
.ghp-creator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

.ghp-creator-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    padding: 16px;

    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.08);

    background:
            radial-gradient(circle at top right, rgba(255,45,85,0.09), transparent 35%),
            linear-gradient(145deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)),
            #12131a;

    box-shadow:
            0 18px 42px rgba(0,0,0,0.34),
            inset 0 1px 0 rgba(255,255,255,0.04);

    transition:
            transform 0.22s ease,
            border-color 0.22s ease,
            box-shadow 0.22s ease;
}

.ghp-creator-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,45,85,0.28);
    box-shadow:
            0 24px 55px rgba(0,0,0,0.46),
            0 0 24px rgba(255,45,85,0.10);
}

.ghp-creator-avatar {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-radius: 22px;

    background: linear-gradient(135deg, #e1164d, #ff2d55);
    color: #fff;

    text-decoration: none;
    font-size: 24px;
    font-weight: 950;

    box-shadow: 0 14px 30px rgba(255,45,85,0.24);
}

.ghp-creator-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ghp-creator-info {
    min-width: 0;
}

.ghp-creator-info h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 950;
}

.ghp-creator-info h3 a {
    color: #fff;
    text-decoration: none;
}

.ghp-creator-info h3 a:hover {
    color: #ff7a93;
}

.ghp-creator-info small {
    display: block;
    margin-top: 4px;

    color: #ff8aa2;

    font-size: 12px;
    font-weight: 800;
}

.ghp-creator-info p {
    margin: 9px 0;

    color: #aaa;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

.ghp-creator-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ghp-creator-stats span {
    padding: 5px 8px;

    border-radius: 999px;

    background: rgba(255,255,255,0.06);
    color: #ddd;

    font-size: 11px;
    font-weight: 900;
}

@media (max-width: 700px) {
    .ghp-library-main {
        padding: 14px;
    }

    .ghp-library-hero {
        align-items: flex-start;
        padding: 16px;
    }

    .ghp-library-hero h1 {
        font-size: 21px;
    }

    .ghp-video-grid,
    .ghp-creator-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   WATCH PAGE ACTION BUTTON POLISH
   ========================================================== */

.video-actions-btns .action-btn-pill {
    text-decoration: none;
}

.video-actions-btns .watch-later-btn.active {
    background: linear-gradient(135deg, #e1164d, #ff2d55);
    color: #fff;
    border-color: rgba(255,255,255,0.16);
    box-shadow:
            0 14px 30px rgba(255,45,85,0.25),
            inset 0 1px 0 rgba(255,255,255,0.16);
}

.video-actions-btns .watch-later-btn.active i {
    color: #fff;
}

.video-actions-btns .action-btn-pill.loading {
    opacity: 0.65;
    pointer-events: none;
}

.video-actions-btns .action-btn-pill span {
    display: inline-flex;
    align-items: center;
}

/* ==========================================================
   WATCH PAGE - CHANNEL / ACTIONS / COMMENTS THEME
   GHPHOUSE DARK RED GRADIENT
   ========================================================== */

.watch-left-column {
    color: #fff;
}

/* =========================
   CHANNEL + ACTION BAR
   ========================= */
.video-interaction-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin: 18px 0 20px;
    padding: 16px 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 45, 85, 0.14);
    background:
            radial-gradient(circle at top left, rgba(255,45,85,0.10), transparent 35%),
            linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)),
            #0f1118;
    box-shadow:
            0 18px 45px rgba(0,0,0,0.35),
            inset 0 1px 0 rgba(255,255,255,0.04);
}

.channel-block {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.channel-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6d5cff, #8372ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(109, 92, 255, 0.25);
}

.channel-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.channel-name-main {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.channel-name-main i {
    color: #fff;
    background: #2d8cff;
    border-radius: 50%;
    font-size: 14px;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sub-count {
    margin: 0;
    color: #cfcfd6;
    font-size: 14px;
    font-weight: 500;
}

.subscribe-btn-main {
    border: none;
    outline: none;
    border-radius: 999px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    color: #111;
    background: linear-gradient(135deg, #ffffff, #ececec);
    transition: all 0.2s ease;
    box-shadow: 0 10px 24px rgba(0,0,0,0.24);
}

.subscribe-btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.28);
}

/* =========================
   ACTION BUTTONS
   ========================= */
.video-actions-btns {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.like-dislike-group {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}

.like-dislike-group .action-btn-pill {
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.like-dislike-group .action-btn-pill.divider {
    border-left: 1px solid rgba(255,255,255,0.08);
}

.action-btn-pill {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.05);
    background:
            linear-gradient(145deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)),
            rgba(255,255,255,0.04);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow:
            0 12px 26px rgba(0,0,0,0.25),
            inset 0 1px 0 rgba(255,255,255,0.04);
}

.action-btn-pill i {
    color: #fff;
    font-size: 15px;
}

.action-btn-pill:hover {
    transform: translateY(-2px);
    background:
            linear-gradient(135deg, rgba(225,22,77,0.85), rgba(255,45,85,0.85));
    border-color: rgba(255, 45, 85, 0.45);
    box-shadow:
            0 16px 34px rgba(255,45,85,0.20),
            0 0 18px rgba(255,45,85,0.10);
}

.action-btn-pill.active,
.watch-later-btn.active {
    background: linear-gradient(135deg, #e1164d, #ff2d55);
    border-color: rgba(255,255,255,0.10);
    color: #fff;
    box-shadow:
            0 16px 34px rgba(255,45,85,0.28),
            inset 0 1px 0 rgba(255,255,255,0.10);
}

.more-btn {
    width: 44px;
    min-width: 44px;
    padding: 0;
}

/* =========================
   COMMENTS AREA
   ========================= */
.comments-section,
.video-comments-section,
.comment-section-wrap {
    margin-top: 22px;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(255,45,85,0.14);
    background:
            radial-gradient(circle at top right, rgba(255,45,85,0.08), transparent 30%),
            linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.012)),
            #0d1017;
    box-shadow:
            0 18px 45px rgba(0,0,0,0.34),
            inset 0 1px 0 rgba(255,255,255,0.03);
}

/* top row: comments count + sort */
.comments-topbar,
.comments-header,
.comment-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.comments-topbar h3,
.comments-header h3,
.comments-count-title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}

.comment-sort-buttons,
.comments-sort-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-btn {
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.06);
    background:
            linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)),
            rgba(255,255,255,0.04);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sort-btn:hover {
    transform: translateY(-2px);
    background: rgba(255,45,85,0.18);
    border-color: rgba(255,45,85,0.30);
}

.sort-btn.active {
    background: linear-gradient(135deg, #ffffff, #efefef);
    color: #111;
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(0,0,0,0.24);
}

/* comment form */
.comment-form-box,
.comment-input-wrap,
.main-comment-box {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 22px;
}

#commentInput,
.comment-input,
textarea.comment-input {
    width: 100%;
    min-height: 88px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    background:
            linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.012)),
            #0a0e18;
    color: #fff;
    font-size: 15px;
    line-height: 1.45;
    resize: vertical;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

#commentInput::placeholder,
.comment-input::placeholder {
    color: #9699a6;
}

#commentInput:focus,
.comment-input:focus {
    border-color: rgba(255,45,85,0.35);
    box-shadow:
            0 0 0 3px rgba(255,45,85,0.08),
            0 10px 24px rgba(0,0,0,0.24);
}

#commentBtn,
.comment-submit-btn {
    align-self: flex-start;
    min-height: 46px;
    padding: 0 26px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #e1164d, #ff2d55);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow:
            0 14px 28px rgba(255,45,85,0.25),
            inset 0 1px 0 rgba(255,255,255,0.08);
}

#commentBtn:hover,
.comment-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow:
            0 18px 34px rgba(255,45,85,0.32),
            inset 0 1px 0 rgba(255,255,255,0.08);
}

/* load more comments */
#loadMoreCommentsBtn,
.load-more-comments-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    margin: 12px auto 0;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.06);
    background:
            linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)),
            rgba(255,255,255,0.04);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 12px 26px rgba(0,0,0,0.24);
}

#loadMoreCommentsBtn:hover,
.load-more-comments-btn:hover {
    transform: translateY(-2px);
    background: rgba(255,45,85,0.18);
    border-color: rgba(255,45,85,0.30);
}

/* =========================
   COMMENT LIST
   ========================= */
#commentsList {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comment-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    background:
            linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)),
            rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
}

.comment-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e1164d, #ff2d55);
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.comment-avatar.small {
    width: 34px;
    height: 34px;
    font-size: 13px;
}

.comment-body {
    flex: 1;
    min-width: 0;
}

.comment-body strong {
    display: block;
    margin-bottom: 5px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.comment-body p {
    margin: 0;
    color: #d4d6de;
    font-size: 14px;
    line-height: 1.55;
}

.comment-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.comment-actions button {
    border: none;
    background: rgba(255,255,255,0.04);
    color: #d5d6dc;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.comment-actions button:hover,
.comment-actions button.active {
    background: rgba(255,45,85,0.18);
    color: #fff;
}

.replies {
    margin-top: 14px;
    padding-left: 18px;
    border-left: 2px solid rgba(255,45,85,0.16);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reply-box {
    margin-top: 12px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
}

.reply-box textarea {
    width: 100%;
    min-height: 70px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.06);
    background: #0a0f19;
    color: #fff;
    resize: vertical;
    box-sizing: border-box;
}

.reply-box-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.reply-box-actions button {
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
}

.submit-reply-btn {
    background: linear-gradient(135deg, #e1164d, #ff2d55);
    color: #fff;
}

.cancel-reply-btn {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 900px) {
    .video-interaction-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .video-actions-btns {
        width: 100%;
    }

    .comments-topbar,
    .comments-header,
    .comment-header-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .video-actions-btns {
        gap: 10px;
    }

    .action-btn-pill {
        min-height: 42px;
        padding: 0 14px;
        font-size: 14px;
    }

    .channel-name-main {
        font-size: 18px;
    }

    .subscribe-btn-main {
        width: 100%;
        justify-content: center;
    }

    #commentBtn,
    .comment-submit-btn,
    #loadMoreCommentsBtn {
        width: 100%;
        justify-content: center;
    }

    .comment-item {
        padding: 12px;
    }
}

/* ==========================================================
   CHANNEL APPLICATION / ADMIN REVIEW
   GHPHOUSE PREMIUM DARK RED THEME
   ========================================================== */

.channel-application-wrap,
.channel-admin-wrap {
    width: 100%;
}

.channel-application-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 22px;
}

.channel-application-card,
.channel-application-side,
.channel-admin-card {
    border-radius: 24px;
    border: 1px solid rgba(255,45,85,0.16);
    background:
            radial-gradient(circle at top right, rgba(255,45,85,0.10), transparent 34%),
            linear-gradient(145deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)),
            #101119;
    box-shadow:
            0 20px 55px rgba(0,0,0,0.38),
            inset 0 1px 0 rgba(255,255,255,0.04);
}

.channel-application-card {
    padding: 22px;
}

.channel-application-card-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
}

.channel-application-icon,
.channel-side-card i {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    border-radius: 20px;
    background: linear-gradient(135deg, #e1164d, #ff2d55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 30px rgba(255,45,85,0.25);
}

.channel-application-card h2 {
    margin: 0;
    color: #fff;
    font-size: 24px;
    font-weight: 950;
}

.channel-application-card p {
    margin: 6px 0 0;
    color: #aaa;
    line-height: 1.55;
}

.channel-application-form {
    display: grid;
    gap: 16px;
}

.channel-form-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.channel-form-row {
    display: grid;
    gap: 8px;
}

.channel-form-row label,
.channel-terms {
    color: #ddd;
    font-size: 13px;
    font-weight: 850;
}

.channel-form-row input,
.channel-form-row select,
.channel-form-row textarea,
.channel-admin-note {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    background:
            linear-gradient(145deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012)),
            #090d15;
    color: #fff;
    padding: 13px 14px;
    outline: none;
    box-sizing: border-box;
}

.channel-form-row textarea,
.channel-admin-note {
    min-height: 110px;
    resize: vertical;
}

.channel-form-row input:focus,
.channel-form-row select:focus,
.channel-form-row textarea:focus,
.channel-admin-note:focus {
    border-color: rgba(255,45,85,0.38);
    box-shadow: 0 0 0 3px rgba(255,45,85,0.08);
}

.channel-terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #aaa;
}

.channel-terms input {
    margin-top: 3px;
}

.channel-primary-btn,
.channel-admin-btn {
    min-height: 46px;
    padding: 0 20px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #e1164d, #ff2d55);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 950;
    cursor: pointer;
    box-shadow:
            0 14px 30px rgba(255,45,85,0.24),
            inset 0 1px 0 rgba(255,255,255,0.12);
}

.channel-primary-btn.loading {
    opacity: 0.65;
    pointer-events: none;
}

.channel-application-side {
    display: grid;
    gap: 14px;
    padding: 16px;
    align-self: start;
}

.channel-side-card {
    padding: 16px;
    border-radius: 20px;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.055);
}

.channel-side-card i {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    margin-bottom: 12px;
}

.channel-side-card strong {
    display: block;
    color: #fff;
    font-size: 15px;
    font-weight: 950;
}

.channel-side-card p {
    margin: 6px 0 0;
    color: #999;
    font-size: 12px;
    line-height: 1.55;
}

.channel-status-card {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 16px;
    margin-bottom: 18px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
}

.channel-status-card i {
    font-size: 26px;
}

.channel-status-card strong {
    display: block;
    color: #fff;
    font-weight: 950;
}

.channel-status-card span {
    display: block;
    margin-top: 4px;
    color: #aaa;
    font-size: 13px;
}

.channel-status-card.approved {
    background: rgba(51,209,122,0.10);
    border-color: rgba(51,209,122,0.22);
}

.channel-status-card.approved i {
    color: #33d17a;
}

.channel-status-card.pending {
    background: rgba(255,190,80,0.10);
    border-color: rgba(255,190,80,0.22);
}

.channel-status-card.pending i {
    color: #ffbe50;
}

.channel-status-card.rejected {
    background: rgba(255,45,85,0.10);
    border-color: rgba(255,45,85,0.25);
}

.channel-status-card.rejected i {
    color: #ff2d55;
}

.channel-application-summary {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.055);
}

.channel-application-summary p {
    margin: 6px 0;
}

/* Admin */
.channel-admin-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.channel-admin-filters a {
    min-height: 38px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    color: #ddd;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
}

.channel-admin-filters a.active {
    background: linear-gradient(135deg, #e1164d, #ff2d55);
    color: #fff;
}

.channel-admin-list {
    display: grid;
    gap: 16px;
}

.channel-admin-card {
    padding: 18px;
}

.channel-admin-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.channel-admin-card h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 950;
}

.channel-admin-card p {
    color: #aaa;
    line-height: 1.55;
}

.channel-status-pill {
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
}

.channel-status-pill.pending {
    color: #ffbe50;
    background: rgba(255,190,80,0.12);
}

.channel-status-pill.approved {
    color: #33d17a;
    background: rgba(51,209,122,0.12);
}

.channel-status-pill.rejected {
    color: #ff6f8d;
    background: rgba(255,45,85,0.12);
}

.channel-admin-actions {
    margin-top: 16px;
    display: grid;
    gap: 12px;
}

.channel-admin-actions > div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.channel-admin-btn.reject {
    background: rgba(255,255,255,0.08);
}

.channel-admin-note-display {
    margin-top: 14px;
    padding: 13px;
    border-radius: 16px;
    color: #ddd;
    background: rgba(255,255,255,0.04);
}

@media (max-width: 980px) {
    .channel-application-grid {
        grid-template-columns: 1fr;
    }

    .channel-form-two {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   CHANNEL APPLICATION VERIFICATION SECTION
   ========================================================== */

.channel-verification-section {
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255,45,85,0.16);
    background:
            radial-gradient(circle at top right, rgba(255,45,85,0.08), transparent 34%),
            rgba(255,255,255,0.025);
}

.channel-verification-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.channel-verification-head h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 950;
}

.channel-verification-head p {
    margin: 5px 0 0;
    color: #999;
    font-size: 13px;
    line-height: 1.45;
}

.channel-secondary-btn {
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid rgba(255,45,85,0.22);
    border-radius: 999px;
    background: rgba(255,45,85,0.10);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
    cursor: pointer;
}

.channel-operator-card {
    padding: 16px;
    margin-top: 14px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.075);
    background:
            linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.012)),
            #0b0f17;
}

.channel-operator-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.channel-operator-title strong {
    color: #fff;
    font-size: 15px;
    font-weight: 950;
}

.channel-operator-title span {
    color: #ff8aa2;
    font-size: 12px;
    font-weight: 850;
}

.channel-remove-operator {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    border: none;
    background: rgba(255,45,85,0.12);
    color: #ff8aa2;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.channel-input-hint {
    display: block;
    margin-top: 6px;
    color: #888;
    font-size: 11px;
    line-height: 1.45;
}

.channel-form-row input[type="file"] {
    padding: 11px;
    cursor: pointer;
}

.channel-form-row input[type="file"]::file-selector-button {
    margin-right: 12px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #e1164d, #ff2d55);
    color: #fff;
    padding: 8px 12px;
    font-weight: 900;
    cursor: pointer;
}

@media (max-width: 760px) {
    .channel-verification-head {
        flex-direction: column;
    }

    .channel-secondary-btn {
        width: 100%;
        justify-content: center;
    }
}

.channel-admin-operators {
    margin-top: 16px;
    display: grid;
    gap: 10px;
}

.channel-admin-operators h4 {
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 950;
}

.channel-admin-operator-card {
    padding: 13px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.035);
}

.channel-admin-operator-card strong {
    display: block;
    color: #fff;
    font-size: 13px;
}

.channel-admin-operator-card strong span {
    margin-left: 6px;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(255,45,85,0.16);
    color: #ff8aa2;
    font-size: 10px;
}

.channel-admin-operator-card small {
    display: block;
    margin-top: 5px;
    color: #999;
    font-size: 11px;
}

.channel-admin-file-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.channel-admin-file-links a {
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255,45,85,0.12);
    color: #ff8aa2;
    text-decoration: none;
    font-size: 11px;
    font-weight: 900;
}

/* ==========================================================
   ADMIN DASHBOARD
   ========================================================== */

.admin-dashboard-wrap,
.admin-users-wrap {
    width: 100%;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(150px, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.admin-stat-card,
.admin-panel-card {
    border-radius: 24px;
    border: 1px solid rgba(255,45,85,0.16);
    background:
            radial-gradient(circle at top right, rgba(255,45,85,0.10), transparent 34%),
            linear-gradient(145deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)),
            #101119;
    box-shadow:
            0 20px 55px rgba(0,0,0,0.38),
            inset 0 1px 0 rgba(255,255,255,0.04);
}

.admin-stat-card {
    min-height: 128px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    text-decoration: none;
}

.admin-stat-card i {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: rgba(255,45,85,0.14);
    color: #ff6f8d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-stat-card span {
    color: #aaa;
    font-size: 12px;
    font-weight: 900;
}

.admin-stat-card strong {
    color: #fff;
    font-size: 28px;
    font-weight: 950;
}

.admin-stat-card.success i {
    color: #33d17a;
    background: rgba(51,209,122,0.14);
}

.admin-stat-card.warning i {
    color: #ffbe50;
    background: rgba(255,190,80,0.14);
}

.admin-stat-card.danger i {
    color: #ff6f8d;
    background: rgba(255,45,85,0.14);
}

.admin-stat-card.accent i {
    color: #8ab4ff;
    background: rgba(45,140,255,0.14);
}

.admin-management-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.admin-panel-card {
    padding: 18px;
    min-width: 0;
}

.admin-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.admin-panel-head h2 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 950;
}

.admin-panel-head p {
    margin: 5px 0 0;
    color: #999;
    font-size: 12px;
    line-height: 1.45;
}

.admin-panel-head a,
.admin-filter-bar button {
    min-height: 38px;
    padding: 0 14px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #e1164d, #ff2d55);
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
}

.admin-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.admin-table th,
.admin-table td {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: #ddd;
    font-size: 13px;
    text-align: left;
    vertical-align: middle;
}

.admin-table th {
    color: #fff;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(255,255,255,0.035);
}

.admin-status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: #ddd;
    font-size: 11px;
    font-weight: 950;
    text-transform: capitalize;
}

.admin-status-pill.approved {
    color: #33d17a;
    background: rgba(51,209,122,0.14);
}

.admin-status-pill.pending {
    color: #ffbe50;
    background: rgba(255,190,80,0.14);
}

.admin-status-pill.suspended,
.admin-status-pill.deleted,
.admin-status-pill.rejected {
    color: #ff6f8d;
    background: rgba(255,45,85,0.14);
}

.admin-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.admin-filter-bar input,
.admin-filter-bar select {
    min-height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08);
    background: #0b0f17;
    color: #fff;
    padding: 0 14px;
    outline: none;
}

.admin-filter-bar input {
    min-width: 260px;
}

.admin-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.admin-row-actions button {
    min-height: 31px;
    padding: 0 10px;
    border-radius: 999px;
    border: none;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}

.admin-row-actions button.success {
    background: rgba(51,209,122,0.14);
    color: #6ef0a4;
}

.admin-row-actions button.warning {
    background: rgba(255,190,80,0.14);
    color: #ffd083;
}

.admin-row-actions button.danger {
    background: rgba(255,45,85,0.14);
    color: #ff8aa2;
}

@media (max-width: 1280px) {
    .admin-stat-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .admin-management-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .admin-stat-grid {
        grid-template-columns: 1fr 1fr;
    }

    .admin-filter-bar input,
    .admin-filter-bar select,
    .admin-filter-bar button {
        width: 100%;
    }
}

.admin-row-actions a {
    min-height: 31px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.site-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.site-setting-card {
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.035);
}

.site-setting-card label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 950;
}

.site-setting-card input,
.site-setting-card select {
    width: 100%;
    min-height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: #0b0f17;
    color: #fff;
    padding: 0 13px;
    outline: none;
    box-sizing: border-box;
}

.site-setting-card small {
    display: block;
    margin-top: 8px;
    color: #999;
    font-size: 11px;
    line-height: 1.45;
}

@media (max-width: 760px) {
    .site-settings-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   ADMIN CONTROL BOARD ADDITIONS
   ========================================================== */

.admin-control-board {
    display: grid;
    grid-template-columns: repeat(6, minmax(150px, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.admin-control-card {
    min-height: 150px;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(255,45,85,0.16);
    background:
            radial-gradient(circle at top right, rgba(255,45,85,0.11), transparent 34%),
            linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)),
            #101119;
    color: #fff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow:
            0 20px 55px rgba(0,0,0,0.38),
            inset 0 1px 0 rgba(255,255,255,0.04);
    transition:
            transform 0.2s ease,
            border-color 0.2s ease,
            box-shadow 0.2s ease;
}

.admin-control-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255,45,85,0.34);
    box-shadow:
            0 24px 65px rgba(0,0,0,0.45),
            0 0 28px rgba(255,45,85,0.12);
}

.admin-control-card i {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    background: linear-gradient(135deg, #e1164d, #ff2d55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 30px rgba(255,45,85,0.24);
}

.admin-control-card strong {
    margin-top: 16px;
    color: #fff;
    font-size: 15px;
    font-weight: 950;
}

.admin-control-card span {
    margin-top: 7px;
    color: #999;
    font-size: 12px;
    line-height: 1.45;
}

.admin-bottom-grid {
    margin-top: 18px;
}

.admin-mini-stats {
    display: grid;
    gap: 12px;
}

.admin-mini-stats div {
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.035);
}

.admin-mini-stats span {
    display: block;
    color: #999;
    font-size: 12px;
    font-weight: 850;
}

.admin-mini-stats strong {
    display: block;
    margin-top: 6px;
    color: #fff;
    font-size: 24px;
    font-weight: 950;
}

.admin-log-feed {
    display: grid;
    gap: 10px;
}

.admin-log-item {
    padding: 13px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.035);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.admin-log-item strong {
    display: block;
    color: #fff;
    font-size: 13px;
    font-weight: 950;
}

.admin-log-item span {
    display: block;
    margin-top: 4px;
    color: #999;
    font-size: 11px;
}

.admin-log-item small {
    color: #777;
    font-size: 10px;
    white-space: nowrap;
}

@media (max-width: 1380px) {
    .admin-control-board {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 760px) {
    .admin-control-board {
        grid-template-columns: 1fr 1fr;
    }

    .admin-log-item {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .admin-control-board {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   ADMIN ROLE MANAGEMENT
   ========================================================== */

.admin-role-control {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 220px;
}

.admin-role-select {
    min-height: 34px;
    min-width: 130px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08);
    background: #0b0f17;
    color: #fff;
    padding: 0 11px;
    outline: none;
    font-size: 12px;
    font-weight: 800;
}

.admin-role-select:focus {
    border-color: rgba(255,45,85,0.38);
    box-shadow: 0 0 0 3px rgba(255,45,85,0.08);
}

.admin-role-save-btn {
    min-height: 34px;
    padding: 0 12px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #e1164d, #ff2d55);
    color: #fff;
    font-size: 11px;
    font-weight: 950;
    cursor: pointer;
}

.admin-role-save-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.admin-status-pill.visible,
.admin-status-pill.clear {
    color: #33d17a;
    background: rgba(51,209,122,0.14);
}

.admin-status-pill.hidden,
.admin-status-pill.flagged {
    color: #ff6f8d;
    background: rgba(255,45,85,0.14);
}

.admin-status-pill.accent {
    color: #8ab4ff;
    background: rgba(45,140,255,0.14);
}

/* ==========================================================
   MODERATION REPORT COUNTS / BADGES
   ========================================================== */

.moderation-report-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(130px, 1fr));
    gap: 14px;
    margin: 0 0 20px;
}

.moderation-report-chip {
    min-height: 82px;
    padding: 16px;

    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);

    background:
            radial-gradient(circle at top right, rgba(255,45,85,0.12), transparent 36%),
            linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
            #101119;

    color: #fff;
    text-decoration: none;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;

    box-shadow:
            0 16px 38px rgba(0,0,0,0.28),
            inset 0 1px 0 rgba(255,255,255,0.04);

    transition:
            transform 0.2s ease,
            border-color 0.2s ease,
            background 0.2s ease;
}

.moderation-report-chip:hover {
    transform: translateY(-2px);
    border-color: rgba(255,45,85,0.24);
}

.moderation-report-chip strong {
    font-size: 28px;
    font-weight: 950;
    line-height: 1;
}

.moderation-report-chip span {
    color: #aaa;
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.moderation-report-chip.danger strong {
    color: #ff6f8d;
}

.moderation-report-chip.warning strong {
    color: #ffd166;
}

.moderation-report-chip.success strong {
    color: #33d17a;
}

.moderation-report-chip.muted strong {
    color: #aeb3c2;
}

.ghp-sidebar-link {
    position: relative;
}

.ghp-sidebar-badge {
    min-width: 22px;
    height: 22px;
    padding: 0 7px;

    border-radius: 999px;

    background: linear-gradient(135deg, #e1164d, #ff2d55);
    color: #fff;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-left: auto;

    font-size: 11px;
    font-style: normal;
    font-weight: 950;

    box-shadow:
            0 8px 18px rgba(255,45,85,0.28),
            inset 0 1px 0 rgba(255,255,255,0.16);
}

.admin-stat-icon.danger {
    color: #ff6f8d;
    background: rgba(255,45,85,0.14);
}

.admin-stat-icon.warning {
    color: #ffd166;
    background: rgba(255,209,102,0.12);
}

.admin-stat-icon.success {
    color: #33d17a;
    background: rgba(51,209,122,0.12);
}

.admin-stat-icon.muted {
    color: #aeb3c2;
    background: rgba(174,179,194,0.12);
}

@media (max-width: 850px) {
    .moderation-report-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .moderation-report-summary {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   SIDEBAR MODERATOR BADGE FIX
   ========================================================== */

.ghp-sidebar-nav-link,
.sidebar a.ghp-sidebar-nav-link,
.ghp-sidebar a.ghp-sidebar-nav-link {
    width: 100% !important;
    min-height: 46px !important;

    display: flex !important;
    align-items: center !important;
    gap: 14px !important;

    padding: 8px 14px !important;
    margin: 4px 0 !important;

    border-radius: 16px !important;

    color: #f5f7ff !important;
    text-decoration: none !important;

    font-size: 15px !important;
    font-weight: 850 !important;

    background: transparent !important;

    box-sizing: border-box !important;

    transition:
            background 0.2s ease,
            color 0.2s ease,
            transform 0.2s ease;
}

.ghp-sidebar-nav-link:hover,
.sidebar a.ghp-sidebar-nav-link:hover,
.ghp-sidebar a.ghp-sidebar-nav-link:hover {
    background: rgba(255, 45, 85, 0.10) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateX(2px);
}

.ghp-sidebar-nav-icon {
    width: 42px !important;
    height: 42px !important;

    border-radius: 15px !important;

    background: rgba(255, 45, 85, 0.13) !important;
    color: #ff6f8d !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 42px !important;
}

.ghp-sidebar-nav-icon i {
    font-size: 16px !important;
    color: inherit !important;
}

.ghp-sidebar-nav-text {
    flex: 1 1 auto !important;
    min-width: 0 !important;

    color: inherit !important;
    text-decoration: none !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.ghp-sidebar-badge {
    min-width: 24px !important;
    height: 24px !important;
    padding: 0 8px !important;

    border-radius: 999px !important;

    background: linear-gradient(135deg, #e1164d, #ff2d55) !important;
    color: #ffffff !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 auto !important;

    font-size: 11px !important;
    font-weight: 950 !important;
    font-style: normal !important;
    line-height: 1 !important;

    box-shadow:
            0 8px 18px rgba(255, 45, 85, 0.32),
            inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

/* ==========================================================
   MODERATION REPORT REVIEW DRAWER
   ========================================================== */

.admin-mini-action {
    min-height: 34px;
    padding: 8px 12px;

    border: none;
    border-radius: 999px;

    background: rgba(255, 45, 85, 0.13);
    color: #ff8aa2;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    font-size: 12px;
    font-weight: 900;

    cursor: pointer;
}

.admin-mini-action:hover {
    background: linear-gradient(135deg, #e1164d, #ff2d55);
    color: #fff;
}

.moderation-report-table td strong {
    display: block;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.moderation-report-table td small {
    display: block;
    margin-top: 4px;
    color: #9ca3af;
    font-size: 11px;
    font-weight: 700;
}

.moderation-review-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: none;

    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(12px);
}

.moderation-review-backdrop.show {
    display: flex;
    justify-content: flex-end;
}

.moderation-review-drawer {
    width: min(100%, 480px);
    height: 100vh;
    padding: 20px;

    overflow-y: auto;

    border-left: 1px solid rgba(255, 45, 85, 0.18);

    background:
            radial-gradient(circle at top right, rgba(255, 45, 85, 0.16), transparent 34%),
            linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
            #101119;

    color: #fff;

    box-shadow:
            -20px 0 70px rgba(0, 0, 0, 0.48),
            inset 1px 0 0 rgba(255,255,255,0.04);

    transform: translateX(20px);
    opacity: 0;

    animation: moderationDrawerIn 0.24s ease forwards;
}

@keyframes moderationDrawerIn {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.moderation-review-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;

    padding-bottom: 16px;
    margin-bottom: 16px;

    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.moderation-review-kicker {
    display: inline-flex;

    color: #ff8aa2;

    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.moderation-review-head h3 {
    margin: 5px 0 0;

    color: #fff;

    font-size: 22px;
    font-weight: 950;
    text-transform: capitalize;
}

.moderation-review-close {
    width: 40px;
    height: 40px;

    border: none;
    border-radius: 50%;

    background: rgba(255,255,255,0.07);
    color: #fff;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
}

.moderation-review-close:hover {
    background: rgba(255,45,85,0.18);
}

.moderation-review-body {
    display: grid;
    gap: 12px;
}

.moderation-review-card {
    padding: 14px;

    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);

    background:
            linear-gradient(145deg, rgba(255,255,255,0.045), rgba(255,255,255,0.014)),
            rgba(255,255,255,0.02);
}

.moderation-review-card small,
.moderation-review-card label {
    display: block;
    margin-bottom: 6px;

    color: #9ca3af;

    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.moderation-review-card strong {
    display: block;

    color: #fff;

    font-size: 15px;
    font-weight: 950;
}

.moderation-review-card p {
    margin: 7px 0 0;

    color: #c5c9d4;

    font-size: 13px;
    line-height: 1.55;
}

.moderation-target-link {
    margin-top: 12px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #ff8aa2;
    text-decoration: none;

    font-size: 12px;
    font-weight: 900;
}

.moderation-target-link:hover {
    color: #fff;
}

#drawerModeratorNote {
    width: 100%;
    min-height: 100px;
    padding: 12px 13px;

    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.09);

    background: #090d15;
    color: #fff;

    outline: none;
    resize: vertical;

    box-sizing: border-box;
}

#drawerModeratorNote:focus {
    border-color: rgba(255,45,85,0.34);
    box-shadow: 0 0 0 3px rgba(255,45,85,0.09);
}

.moderation-review-actions {
    position: sticky;
    bottom: 0;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;

    padding-top: 16px;
    margin-top: 16px;

    background:
            linear-gradient(to top, #101119 72%, rgba(16,17,25,0));
}

.moderation-action {
    min-height: 44px;
    padding: 10px 12px;

    border: none;
    border-radius: 999px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    color: #fff;

    font-size: 12px;
    font-weight: 950;

    cursor: pointer;
}

.moderation-action.warning {
    background: rgba(255, 209, 102, 0.16);
    color: #ffd166;
}

.moderation-action.success {
    background: rgba(51, 209, 122, 0.15);
    color: #33d17a;
}

.moderation-action.muted {
    background: rgba(174, 179, 194, 0.13);
    color: #c5c9d4;
}

.moderation-action.danger {
    background: linear-gradient(135deg, #e1164d, #ff2d55);
    color: #fff;
}

.moderation-action:hover {
    filter: brightness(1.08);
}

@media (max-width: 560px) {
    .moderation-review-drawer {
        width: 100%;
    }

    .moderation-review-actions {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   GHPHOUSE HEADER NOTIFICATIONS
   ========================================================== */

.ghp-notification-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.ghp-notification-btn {
    position: relative;
}

.ghp-notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;

    min-width: 20px;
    height: 20px;
    padding: 0 6px;

    border-radius: 999px;

    background: linear-gradient(135deg, #e1164d, #ff2d55);
    color: #fff;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 10px;
    font-weight: 950;
    line-height: 1;

    box-shadow:
            0 8px 18px rgba(255, 45, 85, 0.34),
            inset 0 1px 0 rgba(255,255,255,0.18);
}

.ghp-notification-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 99999;

    width: min(380px, calc(100vw - 24px));
    max-height: 500px;

    display: none;
    overflow: hidden;

    border-radius: 22px;
    border: 1px solid rgba(255, 45, 85, 0.18);

    background:
            radial-gradient(circle at top right, rgba(255, 45, 85, 0.14), transparent 34%),
            linear-gradient(145deg, rgba(255,255,255,0.065), rgba(255,255,255,0.018)),
            #101119;

    box-shadow:
            0 24px 64px rgba(0,0,0,0.52),
            0 0 26px rgba(255,45,85,0.12),
            inset 0 1px 0 rgba(255,255,255,0.05);
}

.ghp-notification-dropdown.show {
    display: block;
}

.ghp-notification-dropdown::before {
    content: "";

    position: absolute;
    top: -7px;
    right: 18px;

    width: 14px;
    height: 14px;

    transform: rotate(45deg);

    background: #101119;
    border-left: 1px solid rgba(255, 45, 85, 0.18);
    border-top: 1px solid rgba(255, 45, 85, 0.18);
}

.ghp-notification-head {
    padding: 15px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ghp-notification-head strong {
    display: block;

    color: #fff;

    font-size: 15px;
    font-weight: 950;
}

.ghp-notification-head small {
    display: block;
    margin-top: 3px;

    color: #999;

    font-size: 11px;
    font-weight: 750;
}

.ghp-notification-head a {
    color: #ff8aa2;
    text-decoration: none;

    font-size: 12px;
    font-weight: 900;
}

.ghp-notification-body {
    max-height: 410px;
    overflow-y: auto;
    padding: 8px;
}

.ghp-notification-item {
    position: relative;

    padding: 11px 12px;

    border-radius: 17px;

    color: #fff;
    text-decoration: none;

    display: flex;
    align-items: flex-start;
    gap: 11px;

    transition:
            background 0.2s ease,
            transform 0.2s ease;
}

.ghp-notification-item:hover {
    background: rgba(255, 45, 85, 0.10);
    transform: translateY(-1px);
}

.ghp-notification-item.unread {
    background: rgba(255, 45, 85, 0.085);
}

.ghp-notification-item.unread::after {
    content: "";

    position: absolute;
    top: 15px;
    right: 12px;

    width: 8px;
    height: 8px;

    border-radius: 999px;

    background: #ff2d55;
    box-shadow: 0 0 14px rgba(255,45,85,0.58);
}

.ghp-notification-icon {
    width: 40px;
    height: 40px;

    border-radius: 15px;

    background: rgba(255, 45, 85, 0.14);
    color: #ff8aa2;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 40px;
}

.ghp-notification-content {
    min-width: 0;
    padding-right: 16px;
}

.ghp-notification-content strong {
    display: block;

    color: #fff;

    font-size: 13px;
    font-weight: 950;
    line-height: 1.3;
}

.ghp-notification-content small {
    display: block;
    margin-top: 4px;

    color: #b4b8c4;

    font-size: 12px;
    font-weight: 650;
    line-height: 1.45;
}

.ghp-notification-content em {
    display: block;
    margin-top: 5px;

    color: #777;

    font-size: 10px;
    font-style: normal;
    font-weight: 800;
}

.ghp-notification-empty {
    padding: 34px 16px;

    color: #aaa;
    text-align: center;

    display: grid;
    place-items: center;
    gap: 6px;
}

.ghp-notification-empty i {
    width: 48px;
    height: 48px;

    border-radius: 18px;

    background: rgba(255,45,85,0.12);
    color: #ff8aa2;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;
}

.ghp-notification-empty strong {
    color: #fff;
    font-size: 14px;
    font-weight: 950;
}

.ghp-notification-empty small {
    color: #999;
    font-size: 12px;
    font-weight: 700;
}

/* ==========================================================
   NOTIFICATIONS PAGE
   ========================================================== */

.notifications-page {
    max-width: 960px;
    margin: 0 auto;
    padding: 24px;
}

.notifications-page-head {
    margin-bottom: 20px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.notifications-kicker {
    color: #ff8aa2;

    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.notifications-page-head h1 {
    margin: 5px 0;

    color: #fff;

    font-size: 32px;
    font-weight: 950;
}

.notifications-page-head p {
    margin: 0;

    color: #aaa;

    font-size: 14px;
    font-weight: 750;
}

.notifications-mark-all {
    min-height: 42px;
    padding: 0 16px;

    border: none;
    border-radius: 999px;

    background: rgba(255,45,85,0.13);
    color: #ff8aa2;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    font-size: 13px;
    font-weight: 900;

    cursor: pointer;
}

.notifications-mark-all:hover {
    background: linear-gradient(135deg, #e1164d, #ff2d55);
    color: #fff;
}

.notifications-list-page {
    display: grid;
    gap: 10px;
}

.notifications-page-item {
    position: relative;

    padding: 16px;

    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.08);

    background:
            radial-gradient(circle at top right, rgba(255,45,85,0.10), transparent 34%),
            linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.018)),
            #101119;

    color: #fff;
    text-decoration: none;

    display: flex;
    align-items: flex-start;
    gap: 14px;

    box-shadow:
            0 16px 36px rgba(0,0,0,0.26),
            inset 0 1px 0 rgba(255,255,255,0.04);
}

.notifications-page-item.unread {
    border-color: rgba(255,45,85,0.24);
    background:
            radial-gradient(circle at top right, rgba(255,45,85,0.18), transparent 34%),
            linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.018)),
            #101119;
}

.notifications-page-icon {
    width: 46px;
    height: 46px;

    border-radius: 17px;

    background: rgba(255,45,85,0.14);
    color: #ff8aa2;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 46px;
}

.notifications-page-body {
    min-width: 0;
}

.notifications-page-body strong {
    display: block;

    color: #fff;

    font-size: 15px;
    font-weight: 950;
}

.notifications-page-body small {
    display: block;
    margin-top: 5px;

    color: #b4b8c4;

    font-size: 13px;
    line-height: 1.5;
}

.notifications-page-body em {
    display: block;
    margin-top: 7px;

    color: #777;

    font-size: 11px;
    font-style: normal;
    font-weight: 800;
}

.notifications-unread-dot {
    position: absolute;
    top: 20px;
    right: 20px;

    width: 10px;
    height: 10px;

    border-radius: 999px;

    background: #ff2d55;
    box-shadow: 0 0 16px rgba(255,45,85,0.60);
}

.notifications-empty-state {
    padding: 44px 20px;

    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.08);

    background:
            radial-gradient(circle at top right, rgba(255,45,85,0.10), transparent 34%),
            linear-gradient(145deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)),
            #101119;

    color: #aaa;
    text-align: center;

    display: grid;
    place-items: center;
    gap: 8px;
}

.notifications-empty-state i {
    width: 60px;
    height: 60px;

    border-radius: 22px;

    background: rgba(255,45,85,0.14);
    color: #ff8aa2;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;
}

.notifications-empty-state strong {
    color: #fff;
    font-size: 18px;
    font-weight: 950;
}

.notifications-empty-state span {
    color: #aaa;
    font-size: 13px;
}

@media (max-width: 640px) {
    .ghp-notification-dropdown {
        right: -80px;
        width: min(340px, calc(100vw - 18px));
    }

    .notifications-page {
        padding: 16px;
    }

    .notifications-page-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .notifications-page-head h1 {
        font-size: 26px;
    }
}

/* ==========================================================
   HEADER JS VISIBILITY FIX
   ========================================================== */

.account-popup,
.ghp-notification-dropdown {
    display: none;
}

.account-popup.show,
.account-popup.active,
.account-popup.open,
.ghp-notification-dropdown.show,
.ghp-notification-dropdown.active,
.ghp-notification-dropdown.open {
    display: block;
}

/* Mobile sidebar fallback */
body.sidebar-open .sidebar,
body.sidebar-open .ghp-sidebar {
    transform: translateX(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Desktop collapsed fallback */
body.sidebar-collapsed .sidebar,
body.sidebar-collapsed .ghp-sidebar {
    width: 82px !important;
}

body.sidebar-collapsed .main {
    margin-left: 82px;
}

/* Notification type divider */
.ghp-notification-group {
    padding: 10px 8px 6px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;

    color: #ff8aa2;

    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ghp-notification-group span {
    height: 1px;
    background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 45, 85, 0.45),
            transparent
    );
}

.ghp-notification-group strong {
    white-space: nowrap;
}

.social-action-btn.danger,
.social-action-btn.danger-outline {
    color: #fff;
    background: rgba(255, 45, 85, 0.15);
    border: 1px solid rgba(255, 45, 85, 0.28);
}

.social-action-btn.danger:hover,
.social-action-btn.danger-outline:hover {
    background: linear-gradient(135deg, #e1164d, #ff2d55);
    color: #fff;
}

.social-action-btn.success {
    color: #d7ffe6;
    background: rgba(34, 197, 94, 0.14);
    border: 1px solid rgba(34, 197, 94, 0.28);
}

.social-action-btn.success:hover {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
}

/* =========================================================
   GHP MODERN TOASTS + CONFIRM DIALOGS
========================================================= */

.ghp-toast-stack {
    position: fixed;
    right: 22px;
    bottom: 24px;
    z-index: 99999;

    display: flex;
    flex-direction: column;
    gap: 12px;

    width: min(380px, calc(100vw - 32px));
    pointer-events: none;
}

.ghp-toast {
    pointer-events: auto;

    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: flex-start;
    gap: 12px;

    padding: 14px 14px;
    border-radius: 18px;

    background: linear-gradient(
            135deg,
            rgba(18, 18, 24, 0.98),
            rgba(35, 12, 22, 0.96)
    );

    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.45);

    color: #fff;

    opacity: 0;
    transform: translateY(18px) scale(0.98);
    animation: ghpToastIn 0.25s ease forwards;
    overflow: hidden;
}

.ghp-toast::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: #ff2d55;
}

.ghp-toast.success::before {
    background: #22c55e;
}

.ghp-toast.error::before {
    background: #ef4444;
}

.ghp-toast.warning::before {
    background: #f59e0b;
}

.ghp-toast.info::before {
    background: #3b82f6;
}

.ghp-toast-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.ghp-toast.success .ghp-toast-icon {
    background: rgba(34, 197, 94, 0.16);
    color: #86efac;
}

.ghp-toast.error .ghp-toast-icon {
    background: rgba(239, 68, 68, 0.16);
    color: #fca5a5;
}

.ghp-toast.warning .ghp-toast-icon {
    background: rgba(245, 158, 11, 0.16);
    color: #fcd34d;
}

.ghp-toast.info .ghp-toast-icon {
    background: rgba(59, 130, 246, 0.16);
    color: #93c5fd;
}

.ghp-toast-content strong {
    display: block;
    margin-bottom: 3px;

    font-size: 14px;
    font-weight: 900;
}

.ghp-toast-content span {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    line-height: 1.45;
}

.ghp-toast-close {
    width: 28px;
    height: 28px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.74);
    cursor: pointer;
}

.ghp-toast-close:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.ghp-toast.removing {
    animation: ghpToastOut 0.2s ease forwards;
}

@keyframes ghpToastIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes ghpToastOut {
    to {
        opacity: 0;
        transform: translateY(12px) scale(0.97);
    }
}

/* Confirm dialog */
.ghp-dialog-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 22px;

    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(8px);
}

.ghp-dialog-overlay.show {
    display: flex;
}

.ghp-dialog-card {
    width: min(430px, 100%);

    padding: 22px;
    border-radius: 24px;

    background: linear-gradient(
            145deg,
            rgba(18, 18, 24, 0.98),
            rgba(42, 12, 25, 0.98)
    );

    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);

    color: #fff;

    transform: translateY(14px) scale(0.96);
    opacity: 0;
    animation: ghpDialogIn 0.23s ease forwards;
}

.ghp-dialog-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 14px;

    border-radius: 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 45, 85, 0.16);
    color: #ff8aa2;

    font-size: 22px;
}

.ghp-dialog-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 950;
}

.ghp-dialog-card p {
    margin: 0;

    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.55;
}

.ghp-dialog-actions {
    margin-top: 22px;

    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.ghp-dialog-btn {
    min-height: 42px;
    padding: 0 16px;

    border: 0;
    border-radius: 14px;

    font-weight: 850;
    cursor: pointer;
}

.ghp-dialog-btn.cancel {
    background: rgba(255, 255, 255, 0.09);
    color: rgba(255, 255, 255, 0.85);
}

.ghp-dialog-btn.cancel:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.ghp-dialog-btn.confirm {
    background: linear-gradient(135deg, #e1164d, #ff2d55);
    color: #fff;
    box-shadow: 0 12px 30px rgba(255, 45, 85, 0.28);
}

.ghp-dialog-btn.confirm:hover {
    filter: brightness(1.08);
}

@keyframes ghpDialogIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 600px) {
    .ghp-toast-stack {
        right: 16px;
        left: 16px;
        bottom: 18px;
        width: auto;
    }

    .ghp-dialog-actions {
        flex-direction: column-reverse;
    }

    .ghp-dialog-btn {
        width: 100%;
    }
}

/* Premium control centre and creator membership management */
.premium-admin { padding: 28px; color: #f6f3f5; }
.premium-admin__hero { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 22px; padding: 26px; border: 1px solid rgba(169,0,50,.35); border-radius: 18px; background: radial-gradient(circle at top right, rgba(169,0,50,.22), transparent 45%), #100e15; }
.premium-admin__hero h1 { margin: 7px 0 5px; font-size: clamp(1.65rem,3vw,2.35rem); }
.premium-admin__hero p { margin: 0; color: #bcb5bf; max-width: 760px; }
.premium-admin__eyebrow { color: #ff688e; text-transform: uppercase; letter-spacing: .11em; font-size: .78rem; font-weight: 800; }
.premium-admin__stats { display: grid; grid-template-columns: repeat(6,minmax(150px,1fr)); gap: 12px; margin-bottom: 18px; }
.premium-admin__stats article { min-height: 128px; padding: 17px; border: 1px solid #292330; border-radius: 15px; background: #100e15; display: flex; flex-direction: column; gap: 7px; }
.premium-admin__stats i { color: #d0003b; font-size: 1.2rem; }
.premium-admin__stats span { color: #a9a1ac; font-size: .82rem; }
.premium-admin__stats strong { margin-top: auto; font-size: 1.28rem; overflow-wrap: anywhere; }
.premium-admin__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.premium-panel { margin-bottom: 18px; padding: 22px; border: 1px solid #292330; border-radius: 17px; background: #100e15; box-shadow: 0 18px 45px rgba(0,0,0,.16); }
.premium-panel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.premium-panel__head h2 { margin: 0 0 5px; font-size: 1.1rem; }
.premium-panel__head p { margin: 0; color: #a9a1ac; font-size: .88rem; }
.premium-form, .premium-form label { display: grid; gap: 8px; }
.premium-form label { color: #d7d1d8; font-size: .84rem; font-weight: 650; }
.premium-form__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.premium-form input, .premium-form textarea, .premium-form select { width: 100%; border: 1px solid #37303d; border-radius: 10px; background: #08070d; color: #fff; padding: 11px 12px; outline: 0; }
.premium-form input:focus, .premium-form textarea:focus { border-color: #a90032; box-shadow: 0 0 0 3px rgba(169,0,50,.16); }
.premium-form__checks, .premium-form__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.premium-form__checks label { display: flex; grid-template-columns: auto 1fr; align-items: center; gap: 8px; }
.premium-form__checks input, .premium-switch input { width: auto; accent-color: #a90032; }
.premium-switch-grid { display: grid; gap: 10px; margin-bottom: 8px; }
.premium-switch { grid-template-columns: auto 1fr !important; align-items: center; gap: 12px !important; padding: 13px; border: 1px solid #302936; border-radius: 12px; background: #0b0910; }
.premium-switch span { display: grid; gap: 3px; }
.premium-switch small { color: #99919c; font-weight: 400; }
.premium-switch--warning { border-color: rgba(255,177,43,.35); }
.premium-table-wrap { overflow-x: auto; }
.premium-table { width: 100%; border-collapse: collapse; min-width: 780px; }
.premium-table th, .premium-table td { padding: 12px 10px; border-bottom: 1px solid #292330; text-align: left; vertical-align: middle; }
.premium-table th { color: #9e95a2; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.premium-table td { color: #e7e1e8; font-size: .86rem; }
.premium-table td strong, .premium-table td small { display: block; }
.premium-table td small { color: #948c97; margin-top: 3px; }
.premium-table code { color: #ff83a2; font-size: .78rem; }
.premium-status { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 999px; background: #29232e; color: #c8c0ca; font-size: .72rem; font-weight: 800; text-transform: capitalize; }
.premium-status.is-active, .premium-status.status-success { background: rgba(37,194,120,.14); color: #58e2a1; }
.premium-status.is-inactive, .premium-status.status-failed, .premium-status.status-refunded { background: rgba(208,0,59,.13); color: #ff6f93; }
.premium-status.status-pending, .premium-status.status-initialized { background: rgba(255,177,43,.14); color: #ffc45d; }
.premium-status.status-suspended, .premium-status.status-archived { background: rgba(208,0,59,.13); color: #ff7b9a; }
.premium-status.status-active { background: rgba(37,194,120,.14); color: #58e2a1; }
.premium-actions { display: flex; gap: 7px; flex-wrap: wrap; }
.premium-actions button { border: 1px solid #3b3341; border-radius: 8px; background: #18141c; color: #eee8ef; padding: 7px 9px; cursor: pointer; }
.premium-actions button:hover { border-color: #a90032; color: #ff9ab2; }
.premium-actions button:disabled, .premium-form button:disabled { opacity: .55; cursor: wait; }
.premium-notice { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 14px 16px; border-radius: 12px; background: rgba(255,177,43,.11); border: 1px solid rgba(255,177,43,.3); color: #ffd27b; }
.premium-checklist { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; color: #c6bec8; }
.premium-checklist li { display: flex; gap: 10px; align-items: flex-start; }
.premium-checklist i { color: #ff4e79; margin-top: 3px; }
.membership-card-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 14px; }
.membership-card { padding: 18px; border: 1px solid #332b38; border-radius: 14px; background: #0b0910; }
.membership-card.is-inactive { opacity: .7; }
.membership-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.membership-card__top > strong { color: #ff7395; }
.membership-card h3 { margin: 15px 0 7px; }
.membership-card p { min-height: 42px; color: #a9a1ac; font-size: .85rem; }
.membership-card__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; }
.membership-card__stats span { padding: 9px; border-radius: 9px; background: #141018; color: #9e96a1; font-size: .75rem; }
.membership-card__stats b { display: block; color: #fff; font-size: 1rem; }
.premium-empty { grid-column: 1/-1; min-height: 190px; display: grid; place-items: center; align-content: center; gap: 8px; color: #9e96a1; text-align: center; }
.premium-empty i { font-size: 2rem; color: #6f1028; }
.premium-toast { position: fixed; z-index: 99999; right: 22px; bottom: 22px; max-width: 380px; padding: 13px 16px; border: 1px solid #3b3341; border-radius: 11px; background: #17121b; color: #fff; box-shadow: 0 18px 55px rgba(0,0,0,.4); opacity: 0; transform: translateY(12px); transition: .2s ease; }
.premium-toast.is-visible { opacity: 1; transform: translateY(0); }
.premium-toast--success { border-color: rgba(37,194,120,.5); }
.premium-toast--error { border-color: rgba(208,0,59,.6); }
@media (max-width: 1180px) { .premium-admin__stats { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 860px) { .premium-admin { padding: 16px; } .premium-admin__grid { grid-template-columns: 1fr; } .premium-admin__hero { align-items: flex-start; flex-direction: column; } }
@media (max-width: 620px) { .premium-admin__stats { grid-template-columns: repeat(2,1fr); } .premium-form__grid { grid-template-columns: 1fr; } .premium-panel { padding: 16px; } }
.ghp-header-premium-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid rgba(226, 180, 61, .38);
    border-radius: 999px;
    color: #f2d273;
    background: rgba(226, 180, 61, .08);
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
}

.ghp-header-premium-btn:hover {
    color: #171006;
    background: linear-gradient(135deg, #ffe28a, #d8a52d);
}

@media (max-width: 720px) {
    .ghp-header-premium-btn span { display: none; }
    .ghp-header-premium-btn { width: 38px; padding: 0; }
}

/* Unified header search and advanced filters */
.ghp-main-search-wrap {
    position: relative;
    max-width: 820px;
}

.search-box.ghp-main-search {
    min-width: 240px;
    overflow: visible;
}

.ghp-main-search-field {
    position: relative;
    display: flex;
    flex: 1;
    align-items: center;
    min-width: 0;
}

.ghp-main-search-field > i {
    margin-left: 15px;
    color: rgba(255, 255, 255, .62);
    font-size: 13px;
}

.search-box .ghp-main-search-field input {
    min-width: 0;
    padding-left: 10px;
}

.ghp-header-search-suggestions {
    position: absolute;
    z-index: 9200;
    top: calc(100% + 11px);
    left: 0;
    right: 0;
    overflow: hidden;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    background: #18141b;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
}

.ghp-header-search-suggestions a {
    display: block;
    padding: 10px 11px;
    border-radius: 8px;
    color: #f4eef5 !important;
    text-decoration: none;
}

.ghp-header-search-suggestions a:hover {
    background: #312936;
}

.ghp-header-search-filters {
    position: relative;
    flex: 0 0 auto;
}

.ghp-header-search-filters > summary {
    position: relative;
    display: grid;
    place-items: center;
    list-style: none;
}

.ghp-header-search-filters > summary::-webkit-details-marker {
    display: none;
}

.ghp-header-search-filters[open] > summary,
.ghp-header-search-filters > summary:hover {
    background: rgba(255, 255, 255, .2) !important;
}

.ghp-search-filter-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    border: 2px solid #8b001f;
    border-radius: 50%;
    background: #fff;
}

.ghp-header-search-panel {
    position: absolute;
    z-index: 9300;
    top: calc(100% + 13px);
    right: 0;
    width: min(520px, calc(100vw - 32px));
    padding: 17px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 15px;
    background: #151218;
    color: #f8f4f8;
    box-shadow: 0 24px 65px rgba(0, 0, 0, .58);
}

.ghp-header-search-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.ghp-header-search-panel__head strong,
.ghp-header-search-panel__head small {
    display: block;
}

.ghp-header-search-panel__head small {
    margin-top: 3px;
    color: #a9a0ad;
    font-size: 12px;
}

.ghp-header-search-panel__head a {
    color: #ff88a6 !important;
    font-size: 12px;
    font-weight: 800;
}

.ghp-header-search-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
}

.ghp-header-search-grid label {
    display: grid;
    gap: 6px;
    color: #c9c1cc;
    font-size: 11px;
    font-weight: 800;
}

.ghp-header-search-grid input,
.ghp-header-search-grid select {
    width: 100%;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #433a47;
    border-radius: 8px;
    outline: 0;
    background: #09080c;
    color: #fff;
}

.ghp-header-search-grid input:focus,
.ghp-header-search-grid select:focus {
    border-color: #dc2454;
    box-shadow: 0 0 0 3px rgba(220, 36, 84, .14);
}

.ghp-header-search-apply {
    width: 100%;
    min-height: 41px;
    margin-top: 13px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(135deg, #b70c3b, #e12455);
    color: #fff;
    cursor: pointer;
    font-weight: 850;
}

.ghp-mobile-search-btn {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 12px;
    background: rgba(0, 0, 0, .22);
}

@media (max-width: 1100px) {
    .ghp-main-search-wrap { max-width: 520px; }
    .search-box.ghp-main-search .search-btn span { display: none; }
    .search-box.ghp-main-search .search-btn { width: 46px; padding: 0; }
}

@media (max-width: 680px) {
    .ghp-mobile-search-btn { display: inline-flex; }
    .ghp-header-search-grid { grid-template-columns: 1fr; }
}

/* Upload-time identity review must be unmistakable to moderators. */
.channel-operator-review-alert {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin: 12px 0 18px;
    padding: 15px 17px;
    border: 1px solid rgba(245, 158, 11, .58);
    border-radius: 12px;
    background: rgba(245, 158, 11, .12);
    color: #fde68a;
}
.channel-operator-review-alert > i { margin-top: 3px; font-size: 1.15rem; }
.channel-operator-review-alert strong,
.channel-operator-review-alert span { display: block; }
.channel-operator-review-alert span { margin-top: 4px; color: #fef3c7; line-height: 1.5; }
.channel-operator-publication-lock {
    margin-top: 12px !important;
    padding: 10px 12px;
    border-left: 4px solid #f59e0b;
    border-radius: 7px;
    background: rgba(245, 158, 11, .1);
    color: #fde68a;
}
/* ADMIN DIRECTORY ----------------------------------------------------- */
.admin-directory {
    margin-top: 28px;
    padding: 24px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(19, 24, 38, 0.98), rgba(11, 14, 24, 0.98));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.admin-directory-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.admin-directory-heading h2 {
    margin: 5px 0 0;
    color: #fff;
}

.admin-directory-kicker,
.admin-directory-count,
.admin-directory-section p,
.admin-directory-link small {
    color: #a9abb6;
}

.admin-directory-kicker {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.admin-directory-count {
    white-space: nowrap;
    font-size: 0.84rem;
}

.admin-directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 18px;
}

.admin-directory-section {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.025);
}

.admin-directory-section h3 {
    margin: 0 0 6px;
    color: #fff;
}

.admin-directory-section p {
    margin: 0 0 14px;
    font-size: 0.84rem;
    line-height: 1.55;
}

.admin-directory-links {
    display: grid;
    gap: 9px;
}

.admin-directory-link {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    align-items: center;
    min-width: 0;
    padding: 11px 12px;
    color: #fff;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.035);
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.admin-directory-link:hover,
.admin-directory-link:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(225, 22, 77, 0.55);
    background: rgba(225, 22, 77, 0.1);
}

.admin-directory-link > i {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #f7be52;
    border-radius: 10px;
    background: rgba(247, 190, 82, 0.1);
}

.admin-directory-link span {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.admin-directory-link strong,
.admin-directory-link small {
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 700px) {
    .admin-directory { padding: 18px; }
    .admin-directory-heading { align-items: flex-start; flex-direction: column; }
    .admin-directory-grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   CREATOR LOCATION VERIFICATION — CSS-ONLY HOTFIX
   Scoped to the channel application and admin location blocks.
   ========================================================== */

.channel-application-form .channel-location-card {
    box-sizing: border-box;
    display: grid;
    gap: 14px;
    width: 100%;
    padding: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 45, 85, 0.18);
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(255, 45, 85, 0.09), transparent 38%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
        #11131b;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.channel-application-form .channel-location-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
}

.channel-application-form .channel-location-head > div {
    min-width: 0;
}

.channel-application-form .channel-location-head h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 950;
    line-height: 1.3;
}

.channel-application-form .channel-location-head h3 i {
    flex: 0 0 auto;
    color: #ff5477;
}

.channel-application-form .channel-location-head p {
    max-width: 780px;
    margin: 6px 0 0;
    color: #a9abb6;
    font-size: 13px;
    line-height: 1.55;
}

.channel-application-form .channel-location-required {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(255, 45, 85, 0.24);
    border-radius: 999px;
    color: #ff8aa2;
    background: rgba(255, 45, 85, 0.10);
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.channel-application-form .channel-location-btn {
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    width: fit-content;
    min-height: 44px;
    margin: 0;
    padding: 0 17px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #e1164d, #ff2d55);
    box-shadow:
        0 12px 28px rgba(255, 45, 85, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.channel-application-form .channel-location-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow:
        0 15px 32px rgba(255, 45, 85, 0.29),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.channel-application-form .channel-location-btn:focus-visible {
    outline: 2px solid #ff6b8a;
    outline-offset: 3px;
}

.channel-application-form .channel-location-btn:disabled,
.channel-application-form .channel-location-btn.loading {
    opacity: 0.58;
    cursor: wait;
    transform: none;
    box-shadow: none;
}

.channel-application-form .channel-location-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 12px;
}

.channel-application-form .channel-location-actions > span {
    color: #858a98;
    font-size: 12px;
    line-height: 1.4;
}

.channel-application-form .channel-location-search {
    display: grid;
    gap: 8px;
}

.channel-application-form .channel-location-search > label {
    color: #f5f5f7;
    font-size: 12px;
    font-weight: 850;
}

.channel-application-form .channel-location-search > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.channel-application-form .channel-location-search input {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    color: #fff;
    background: rgba(6, 8, 13, 0.74);
    font: inherit;
    font-size: 13px;
}

.channel-application-form .channel-location-search input:focus {
    border-color: rgba(255, 45, 85, 0.65);
    outline: 3px solid rgba(255, 45, 85, 0.12);
}

.channel-application-form .channel-location-search .channel-secondary-btn {
    min-height: 44px;
    margin: 0;
    white-space: nowrap;
}

.channel-application-form .channel-location-status {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 11px 13px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    color: #aaaeba;
    background: rgba(255, 255, 255, 0.035);
    font-size: 12px;
    line-height: 1.5;
}

.channel-application-form .channel-location-status.is-loading {
    border-color: rgba(255, 190, 80, 0.20);
    color: #ffd580;
    background: rgba(255, 190, 80, 0.08);
}

.channel-application-form .channel-location-status.is-success {
    border-color: rgba(51, 209, 122, 0.22);
    color: #7ee2aa;
    background: rgba(51, 209, 122, 0.08);
}

.channel-application-form .channel-location-status.is-error {
    border-color: rgba(255, 45, 85, 0.25);
    color: #ff9bb0;
    background: rgba(255, 45, 85, 0.09);
}

.channel-application-form .channel-location-status.is-warning {
    border-color: rgba(255, 190, 80, 0.24);
    color: #ffd580;
    background: rgba(255, 190, 80, 0.08);
}

.channel-application-form .channel-location-map {
    box-sizing: border-box;
    width: 100%;
    min-height: 260px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    background: #090d15;
}

.channel-application-form .channel-location-confirm {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(76, 221, 142, 0.28);
    border-radius: 999px;
    color: #8df0b8;
    background: rgba(38, 169, 102, 0.12);
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.channel-application-form .channel-location-confirm:disabled {
    opacity: 0.48;
    cursor: not-allowed;
}

.channel-application-form .channel-location-privacy {
    display: block;
    margin: 0;
    color: #858a98;
    font-size: 11px;
    line-height: 1.5;
}

.channel-admin-location {
    box-sizing: border-box;
    display: grid;
    gap: 6px;
    width: 100%;
    margin-top: 14px;
    padding: 14px;
    border: 1px solid rgba(255, 45, 85, 0.18);
    border-radius: 16px;
    color: #f3f4f7;
    background: rgba(255, 45, 85, 0.07);
}

.channel-admin-location strong,
.channel-admin-location span,
.channel-admin-location small {
    display: block;
}

.channel-admin-location strong i {
    margin-right: 6px;
    color: #ff5477;
}

.channel-admin-location small {
    color: #a4a7b2;
    line-height: 1.45;
}

.channel-admin-location a {
    width: fit-content;
    color: #ff8aa2;
    font-size: 12px;
    font-weight: 850;
}

.channel-admin-location.is-missing {
    border-color: rgba(255, 190, 80, 0.20);
    color: #ffd580;
    background: rgba(255, 190, 80, 0.07);
}

@media (max-width: 760px) {
    .channel-application-form .channel-location-card {
        padding: 15px;
        border-radius: 18px;
    }

    .channel-application-form .channel-location-head {
        flex-direction: column;
    }

    .channel-application-form .channel-location-btn {
        width: 100%;
    }

    .channel-application-form .channel-location-search > div {
        grid-template-columns: 1fr;
    }

    .channel-application-form .channel-location-search .channel-secondary-btn,
    .channel-application-form .channel-location-confirm {
        width: 100%;
    }

    .channel-application-form .channel-location-map {
        min-height: 220px;
    }
}

/* Final desktop sidebar position override. */
@media (min-width: 901px) {
    .app > .sidebar,
    .ghp-app > .sidebar,
    .app > .ghp-sidebar,
    .ghp-app > .ghp-sidebar {
        position: fixed !important;
        top: var(--ghp-topbar-height, 76px) !important;
        bottom: 0 !important;
        left: 0 !important;
        height: auto !important;
        max-height: calc(100vh - var(--ghp-topbar-height, 76px)) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        scrollbar-gutter: stable;
    }
}
