/* ==========================================================================
   StanThat - Modern Dark Theme & Glassmorphic Responsive Stylesheet
   ========================================================================== */

:root {
    --bg-main: #0f0f13;
    --bg-secondary: #18181f;
    --bg-card: #20202b;
    --bg-card-hover: #2a2a38;
    --bg-glass: rgba(28, 28, 38, 0.75);
    
    --accent-red: #ff2a55;
    --accent-red-glow: rgba(255, 42, 85, 0.35);
    --accent-purple: #8a2be2;
    
    --text-primary: #f1f1f5;
    --text-secondary: #a0a0b2;
    --text-muted: #6c6c80;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(255, 255, 255, 0.15);
    
    --sidebar-width: 280px;
    --header-height: 70px;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-full: 9999px;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 25px var(--accent-red-glow);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', 'Pretendard', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, select {
    font-family: inherit;
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: #333344;
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-red);
}

/* ==========================================================================
   Login Landing Page
   ========================================================================== */
.login-page-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
    overflow: hidden;
}

.login-background-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 42, 85, 0.25) 0%, rgba(138, 43, 226, 0.15) 50%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.login-card-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
}

.login-card {
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.brand-logo-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
}

.logo-pulse {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent-red), var(--accent-purple));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    box-shadow: var(--shadow-glow);
    margin-bottom: 12px;
    animation: pulse 3s infinite alternate ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 20px rgba(255, 42, 85, 0.4); }
    100% { transform: scale(1.06); box-shadow: 0 0 35px rgba(255, 42, 85, 0.7); }
}

.login-title {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.login-title span {
    color: var(--accent-red);
}

.login-subtitle {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 28px;
    word-break: keep-all;
}

/* Alert Boxes */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 13px;
    text-align: left;
    margin-bottom: 24px;
    line-height: 1.4;
}

.alert-info {
    background: rgba(66, 133, 244, 0.12);
    border: 1px solid rgba(66, 133, 244, 0.3);
    color: #8ab4f8;
}

.alert-info i {
    font-size: 18px;
    margin-top: 2px;
}

/* Google Login Button */
.btn-google-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px 24px;
    background: #ffffff;
    color: #1f1f1f;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-google-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    background: #f8f9fa;
}

.google-icon {
    width: 22px;
    height: 22px;
}

/* Feature Showcase */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 36px;
    margin-bottom: 24px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 10px;
    transition: var(--transition-fast);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-highlight);
}

.feature-icon {
    font-size: 20px;
    color: var(--accent-red);
    margin-bottom: 8px;
}

.feature-item h3 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 11px;
    color: var(--text-muted);
}

.login-footer-info {
    font-size: 12px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

/* ==========================================================================
   Dashboard Layout (App Core)
   ========================================================================== */
.app-layout {
    display: flex;
    min-height: 100vh;
    width: 100vw;
    overflow-x: hidden;
}

/* Left Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    transition: var(--transition-normal);
}

.sidebar-header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-bottom: 1px solid var(--border-color);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-name {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.brand-name span {
    color: var(--accent-red);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--accent-red);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.close-sidebar-btn {
    display: none;
    color: var(--text-secondary);
    font-size: 20px;
}

/* User Profile Card in Sidebar */
.user-profile-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-color);
}

.user-avatar {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 2px solid var(--accent-red);
}

.user-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-email {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.badge {
    display: inline-block;
    padding: 2px 6px;
    font-size: 9px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    margin-top: 2px;
}

.demo-badge {
    background: var(--accent-purple);
    color: #fff;
    width: fit-content;
}

/* Sidebar Navigation */
.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 16px 12px;
}

.nav-section {
    margin-bottom: 24px;
}

.section-title-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px 8px 8px;
}

.section-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.channel-count {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.channel-search-box {
    position: relative;
    margin: 8px;
    margin-bottom: 12px;
}

.channel-search-box i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: var(--text-muted);
}

.channel-search-box input {
    width: 100%;
    padding: 8px 10px 8px 30px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 12px;
    outline: none;
    transition: var(--transition-fast);
}

.channel-search-box input:focus {
    border-color: var(--accent-red);
}

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-item {
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
}

.nav-link i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.nav-item:hover .nav-link,
.nav-item.active .nav-link {
    color: var(--text-primary);
    background: rgba(255, 42, 85, 0.12);
}

.nav-item.active .nav-link i {
    color: var(--accent-red);
}

/* Subscribed Channels List */
.channel-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.channel-item:hover,
.channel-item.active {
    background: rgba(255, 255, 255, 0.06);
}

.channel-item.active {
    border-left: 3px solid var(--accent-red);
}

.channel-thumb {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.channel-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.channel-item:hover .channel-name,
.channel-item.active .channel-name {
    color: var(--text-primary);
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid var(--border-color);
}

.btn-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.btn-logout:hover {
    background: rgba(255, 42, 85, 0.2);
    color: var(--accent-red);
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 90;
}

/* ==========================================================================
   Main Right Feed Content
   ========================================================================== */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--bg-main);
}

/* Top App Header Bar */
.top-bar {
    height: var(--header-height);
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    position: sticky;
    top: 0;
    z-index: 80;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-toggle-btn {
    display: none;
    font-size: 20px;
    color: var(--text-primary);
}

.page-title {
    font-size: 20px;
    font-weight: 700;
}

.active-filter-badge {
    display: inline-block;
    background: rgba(255, 42, 85, 0.15);
    color: var(--accent-red);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 42, 85, 0.3);
    margin-left: 8px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-bar {
    position: relative;
    width: 280px;
}

.search-bar i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
}

.search-bar input {
    width: 100%;
    padding: 10px 36px 10px 36px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 13px;
    outline: none;
    transition: var(--transition-fast);
}

.search-bar input:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 12px var(--accent-red-glow);
    width: 320px;
}

.clear-search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    display: none;
}

.view-options {
    display: flex;
    background: var(--bg-secondary);
    padding: 4px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.icon-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.icon-btn.active, .icon-btn:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}

/* Video Feed Section */
.video-feed-section {
    padding: 28px;
    flex: 1;
}

.feed-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--text-secondary);
}

.custom-select {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    outline: none;
}

/* Video Cards Grid Layout */
.video-grid {
    display: grid;
    gap: 24px;
    transition: var(--transition-normal);
}

.video-grid.grid-view {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.video-grid.list-view {
    grid-template-columns: 1fr;
}

/* Video Card Item */
.video-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
    cursor: pointer;
    position: relative;
}

.video-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-highlight);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

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

.video-thumbnail-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.video-card:hover .video-thumbnail {
    transform: scale(1.05);
}

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

.play-button-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-red);
    color: #fff;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-glow);
}

.video-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.video-card-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-card-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

.video-channel-name {
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.video-channel-name i {
    color: var(--accent-red);
}

/* List View Style Adjustments */
.video-grid.list-view .video-card {
    flex-direction: row;
    height: 140px;
}

.video-grid.list-view .video-thumbnail-wrap {
    width: 240px;
    height: 100%;
}

/* Skeleton Loading Cards */
.skeleton-card {
    pointer-events: none;
}

.skeleton-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(90deg, #1c1c28 25%, #2a2a3a 50%, #1c1c28 75%);
    background-size: 200% 100%;
    animation: skeletonLoading 1.5s infinite;
}

.skeleton-details {
    padding: 16px;
}

.skeleton-line {
    height: 12px;
    border-radius: 4px;
    background: linear-gradient(90deg, #1c1c28 25%, #2a2a3a 50%, #1c1c28 75%);
    background-size: 200% 100%;
    animation: skeletonLoading 1.5s infinite;
    margin-bottom: 8px;
}

.title-line { width: 90%; }
.title-line-short { width: 60%; }
.channel-line { width: 40%; margin-top: 12px; }

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

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 64px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.btn-primary {
    background: var(--accent-red);
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition-fast);
}

.btn-primary:hover {
    background: #e02047;
    box-shadow: var(--shadow-glow);
}

/* ==========================================================================
   Video Player Modal
   ========================================================================== */
.video-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.video-modal-backdrop.active {
    display: flex;
}

.video-modal-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 900px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
}

.video-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
}

.video-modal-title {
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80%;
}

.modal-close-btn {
    color: var(--text-secondary);
    font-size: 20px;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    color: var(--accent-red);
}

.video-iframe-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
}

.video-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
}

.video-channel-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.channel-icon {
    color: var(--accent-red);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.hidden {
    display: none !important;
}

/* ==========================================================================
   Responsive Breakpoints (Desktop vs Tablet & Mobile)
   ========================================================================== */
@media (max-width: 1024px) {
    .main-content {
        margin-left: 0;
    }

    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .sidebar-overlay.active {
        display: block;
    }

    .mobile-toggle-btn {
        display: block;
    }

    .close-sidebar-btn {
        display: block;
    }

    .top-bar {
        padding: 0 16px;
    }

    .search-bar {
        width: 180px;
    }

    .search-bar input:focus {
        width: 220px;
    }
}

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

    .video-feed-section {
        padding: 16px;
    }

    .video-grid.grid-view {
        grid-template-columns: 1fr;
    }

    .search-bar {
        display: none;
    }

    .video-grid.list-view .video-card {
        flex-direction: column;
        height: auto;
    }

    .video-grid.list-view .video-thumbnail-wrap {
        width: 100%;
    }
}

/* ==========================================================================
   Category Navigation & Management Styles
   ========================================================================== */
.category-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 18px;
    padding: 0 6px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
}

.category-item.active .category-count-badge {
    background: rgba(255, 42, 85, 0.25);
    color: var(--accent-red);
}

.category-item {
    position: relative;
}

.category-item .btn-delete-cat {
    opacity: 0;
    visibility: hidden;
    padding: 2px 6px;
    color: #888;
    font-size: 11px;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.category-item:hover .btn-delete-cat {
    opacity: 1;
    visibility: visible;
}

.category-item .btn-delete-cat:hover {
    color: #ff4d4d;
    background: rgba(255, 77, 77, 0.15);
}

.channel-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.channel-info-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.channel-cate-tag {
    display: inline-block;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: var(--transition-fast);
}

.channel-cate-tag:hover {
    background: rgba(255, 42, 85, 0.15);
    color: var(--accent-red);
    border-color: rgba(255, 42, 85, 0.3);
}

.btn-edit-channel-cate {
    opacity: 0;
    visibility: hidden;
    padding: 4px 6px;
    color: #888;
    font-size: 11px;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.channel-item:hover .btn-edit-channel-cate {
    opacity: 1;
    visibility: visible;
}

.btn-edit-channel-cate:hover {
    color: #ff2a55;
    background: rgba(255, 42, 85, 0.15);
}

