/* ============================================
   RedRecord.Life - Main Stylesheet
   유튜브 라이브 큐레이션 사이트
   ============================================ */

/* ---- CSS Variables ---- */
:root {
    --red-primary: #dc3545;
    --red-dark: #a71d2a;
    --red-light: #ff6b7a;
    --bg-dark: #0d0d0d;
    --bg-card: #1a1a2e;
    --bg-card-hover: #232342;
    --bg-surface: #16162a;
    --bg-nav: rgba(13, 13, 13, 0.95);
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0b8;
    --text-muted: #9e9eb3;
    --border-color: #2a2a3e;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 32px rgba(220, 53, 69, 0.15);
    --transition: all 0.3s ease;
}

/* Bootstrap .text-muted 다크테마 오버라이드 */
.text-muted {
    color: var(--text-muted) !important;
}

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

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--red-light);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--red-primary);
}

::selection {
    background: var(--red-primary);
    color: #fff;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--red-primary);
}

/* ---- Navbar ---- */
.navbar {
    background: var(--bg-nav);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.6rem 0;
    z-index: 1050;
    height: auto;
}

.brand-icon {
    color: var(--red-primary);
    font-size: 0.7rem;
    margin-right: 6px;
    animation: pulse-brand 2s infinite;
}

@keyframes pulse-brand {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.brand-text {
    font-size: 1.2rem;
    color: #fff;
    letter-spacing: -0.5px;
}

.brand-text strong {
    font-weight: 700;
}

.brand-text small {
    color: var(--text-secondary);
    font-size: 0.7em;
}

/* Nav Search */
.nav-search-form {
    max-width: 400px;
    width: 100%;
}

.nav-search-form .form-control {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    padding: 0.45rem 1rem;
    font-size: 0.9rem;
}

.nav-search-form .form-control:focus {
    background: var(--bg-card);
    border-color: var(--red-primary);
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
    color: #fff;
}

.nav-search-form .form-control::placeholder {
    color: var(--text-muted);
}

.nav-link {
    color: var(--text-secondary) !important;
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
    background: rgba(220, 53, 69, 0.1);
}

.nav-link i {
    margin-right: 4px;
}

/* 라이브 카운트 뱃지 */
.nav-live-badge {
    background: var(--red-primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 10px;
    margin-left: 4px;
    vertical-align: middle;
    line-height: 1.4;
    animation: badge-glow 2s infinite;
}
.nav-live-badge-mobile {
    background: var(--red-primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    animation: badge-glow 2s infinite;
}
.live-dot-pulse {
    width: 6px; height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: pulse-brand 1.5s infinite;
}
@keyframes badge-glow {
    0%, 100% { box-shadow: 0 0 4px rgba(220,53,69,0.3); }
    50% { box-shadow: 0 0 12px rgba(220,53,69,0.6); }
}

/* 사용자 아바타 (네비) */
.nav-user-toggle {
    display: flex !important;
    align-items: center;
    gap: 6px;
}
.nav-user-avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red-primary), #ff6b6b);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* 드롭다운 커스텀 */
.nav-dropdown-custom {
    background: #1a1a2e !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 12px !important;
    padding: 0 !important;
    overflow: hidden;
    min-width: 220px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5) !important;
}
.nav-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255,255,255,0.03);
}
.nav-dropdown-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red-primary), #ff6b6b);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}
.nav-dropdown-name {
    font-weight: 600;
    color: #fff;
    font-size: 0.9rem;
}
.nav-dropdown-role {
    font-size: 0.72rem;
    color: var(--text-muted);
}
.nav-dropdown-custom .dropdown-item {
    padding: 10px 16px;
    font-size: 0.85rem;
    transition: background 0.15s;
}
.nav-dropdown-custom .dropdown-item i {
    width: 18px;
    text-align: center;
    margin-right: 8px;
    opacity: 0.6;
}
.nav-dropdown-custom .dropdown-item:hover {
    background: rgba(255,255,255,0.06) !important;
}
.nav-dropdown-custom .dropdown-item:hover i {
    opacity: 1;
}
.nav-dropdown-custom .dropdown-divider {
    border-color: rgba(255,255,255,0.08);
    margin: 0;
}

/* 회원가입 버튼 (네비) */
.btn-register-nav {
    background: var(--red-primary) !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 0.4rem 0.9rem !important;
    font-size: 0.82rem !important;
    font-weight: 600;
    margin-left: 4px;
}
.btn-register-nav:hover {
    background: #c82333 !important;
    color: #fff !important;
}

.btn-login {
    border: 1px solid rgba(220,53,69,0.5) !important;
    color: var(--text-secondary) !important;
}

.btn-login:hover {
    background: rgba(220,53,69,0.1) !important;
    color: #fff !important;
    border-color: var(--red-primary) !important;
}

.dropdown-menu-dark {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

/* ---- Buttons ---- */
.btn-red {
    background: var(--red-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: var(--transition);
}

.btn-red:hover {
    background: var(--red-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(220, 53, 69, 0.4);
}

/* ---- Hero Section ---- */
.hero-section {
    position: relative;
    padding-bottom: 60px;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a0a0e 50%, #0d0d0d 100%);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(220, 53, 69, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(220, 53, 69, 0.05) 0%, transparent 50%);
}

.min-vh-50 {
    min-height: 40vh;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.text-red {
    color: var(--red-primary);
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Search */
.hero-search-form .input-group {
    max-width: 600px;
    margin: 0 auto;
}

.hero-search-form .input-group-text {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-right: none;
    color: var(--text-muted);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.hero-search-form .form-control {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-left: none;
    border-right: none;
    color: #fff;
    font-size: 1.05rem;
    padding: 0.8rem;
}

.hero-search-form .form-control:focus {
    box-shadow: none;
    border-color: var(--red-primary);
}

.hero-search-form .form-control:focus ~ .input-group-text,
.hero-search-form .input-group:focus-within .input-group-text {
    border-color: var(--red-primary);
}

.hero-search-form .form-control::placeholder {
    color: var(--text-muted);
}

.hero-search-form .btn-red {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 0.8rem 1.5rem;
    font-size: 1.05rem;
}

.hero-stats {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.stat-item {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.stat-item strong {
    color: #fff;
    margin: 0 3px;
}

.pulse-dot {
    font-size: 0.6rem;
    animation: pulse-dot-anim 1.5s infinite;
}

@keyframes pulse-dot-anim {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ---- Category Bar ---- */
.category-bar {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    padding: 0.8rem 0;
    position: sticky;
    top: 56px;
    z-index: 1040;
}

.category-scroll {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
}

/* 카테고리 스크롤바 스타일 */
.category-scroll::-webkit-scrollbar {
    height: 6px;
}

.category-scroll::-webkit-scrollbar-track {
    background: var(--bg-card);
    border-radius: 3px;
}

.category-scroll::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
    transition: background 0.2s;
}

.category-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--red-primary);
}

/* Firefox */
.category-scroll {
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) var(--bg-card);
}

.category-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    white-space: nowrap;
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    flex-shrink: 0;
}

.category-chip:hover,
.category-chip.active {
    background: var(--red-primary);
    color: #fff;
    border-color: var(--red-primary);
}

.category-chip:hover {
    background: var(--chip-color, var(--red-primary));
    border-color: var(--chip-color, var(--red-primary));
    color: #fff;
}

.chip-count {
    background: rgba(255,255,255,0.2);
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 0.75rem;
}

/* ---- Section Blocks ---- */
.section-block {
    padding: 2.5rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h1,
.section-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
}

.section-header h2 i {
    margin-right: 8px;
}

.see-all {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.see-all:hover {
    color: var(--red-primary);
}

/* ---- Live Card ---- */
.live-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
}

.live-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(220, 53, 69, 0.3);
}

.card-thumb-link {
    display: block;
}

.card-thumb {
    position: relative;
    padding-top: 56.25%;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-surface);
}

.card-thumb-sm {
    padding-top: 50%;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, transparent 40%, transparent 60%, rgba(0,0,0,0.6) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
}

.ended-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.card-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 48px;
    height: 48px;
    background: rgba(220, 53, 69, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    opacity: 0;
    transition: var(--transition);
}

.live-card:hover .card-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.card-viewers {
    align-self: flex-end;
    background: rgba(0,0,0,0.7);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.78rem;
    color: #fff;
}

.card-schedule {
    align-self: flex-end;
    background: rgba(0,0,0,0.7);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.78rem;
    color: var(--red-light);
    font-weight: 500;
}

.card-body {
    padding: 12px;
}

.card-channel {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.channel-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.channel-avatar-placeholder {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.channel-name {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.card-title {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-title a {
    color: var(--text-primary);
}

.card-title a:hover {
    color: var(--red-light);
}

.card-category {
    display: inline-block;
    font-size: 0.75rem;
    margin-top: 6px;
}

.card-category:hover {
    opacity: 0.8;
}

.card-since {
    display: inline-block;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 6px;
    margin-left: 8px;
}
.card-since i {
    margin-right: 3px;
    opacity: 0.6;
}

/* Featured Card Large */
.featured-card.large .card-thumb {
    padding-top: 52%;
}

.featured-card.large .card-title {
    font-size: 1.1rem;
}

/* ---- Badges ---- */
.pulse-badge {
    animation: pulse-badge-anim 2s infinite;
}

@keyframes pulse-badge-anim {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.5); }
    50% { box-shadow: 0 0 0 6px rgba(220, 53, 69, 0); }
}

/* ---- Category Cards ---- */
.category-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    color: var(--text-primary);
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: var(--cat-color, var(--red-primary));
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    color: #fff;
}

.category-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--cat-color, var(--red-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.3rem;
    color: #fff;
    opacity: 0.9;
}

.category-card:hover .category-card-icon {
    opacity: 1;
    transform: scale(1.1);
    transition: var(--transition);
}

.category-card h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.category-live-count {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ---- Category Header ---- */
.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--cat-color, var(--red-primary));
}

.category-header-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--cat-color, var(--red-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
}

.category-header h1 {
    font-size: 1.6rem;
    margin: 0;
}

/* ---- Empty State ---- */
.empty-state {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--border-color);
}

.empty-state h4 {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* ---- Live Detail Page ---- */
.live-detail-section {
    padding: 80px 0 2rem;
}

.player-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.5);
    margin-bottom: 1.5rem;
}

.live-info-block {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

.live-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.live-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.live-channel-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.channel-avatar-lg {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.channel-avatar-lg-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.channel-name-lg {
    font-size: 1rem;
    color: #fff;
}

.live-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.viewer-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.live-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.live-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.tag-badge {
    background: var(--bg-surface);
    color: var(--text-secondary);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
}

.tag-badge:hover {
    background: var(--red-primary);
    color: #fff;
    border-color: var(--red-primary);
}

/* ---- Sidebar ---- */
.sidebar-block {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 1rem;
    border: 1px solid var(--border-color);
}

.sidebar-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-live-item {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--text-primary);
}

.sidebar-live-item:last-child {
    border-bottom: none;
}

.sidebar-live-item:hover {
    color: var(--red-light);
}

.sidebar-thumb {
    width: 120px;
    min-width: 120px;
    height: 68px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.sidebar-thumb .badge {
    position: absolute;
    top: 4px;
    left: 4px;
    font-size: 0.65rem;
}

.sidebar-info h6 {
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-info small {
    display: block;
    font-size: 0.75rem;
}

/* ---- Search Page ---- */
.search-header {
    margin-bottom: 1rem;
}

.search-header h1 {
    font-size: 1.4rem;
}

.filter-bar {
    background: var(--bg-card);
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

.filter-bar .form-select {
    background-color: var(--bg-surface);
    color: var(--text-primary);
    border-color: var(--border-color);
    font-size: 0.85rem;
}

/* ---- Filter Tabs ---- */
.filter-tabs .nav-link {
    color: var(--text-secondary) !important;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    margin-right: 4px;
    font-size: 0.85rem;
    padding: 0.4rem 1rem !important;
}

.filter-tabs .nav-link.active {
    background: var(--red-primary) !important;
    border-color: var(--red-primary);
    color: #fff !important;
}

.filter-tabs .nav-link:hover:not(.active) {
    background: var(--bg-card-hover);
}

/* ---- Schedule ---- */
.schedule-timeline {
    position: relative;
}

.schedule-day {
    margin-bottom: 2rem;
}

.schedule-date-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.schedule-date-badge {
    width: 50px;
    height: 50px;
    background: var(--red-primary);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    line-height: 1;
}

.schedule-date-badge .date-day {
    font-size: 1.3rem;
    font-weight: 700;
}

.schedule-date-badge .date-month {
    font-size: 0.65rem;
    text-transform: uppercase;
}

.schedule-date-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.schedule-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.schedule-card:hover {
    border-color: rgba(220, 53, 69, 0.3);
}

.schedule-time {
    padding: 6px 12px;
    background: var(--bg-surface);
    font-size: 0.85rem;
    color: var(--red-light);
    font-weight: 500;
}

.schedule-time i {
    margin-right: 4px;
}

/* ---- Auth Pages ---- */
.auth-section {
    padding: 100px 0 3rem;
}

.auth-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
}

.auth-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.auth-card .form-control {
    background: var(--bg-surface);
    border-color: var(--border-color);
    color: #fff;
}

.auth-card .form-control:focus {
    border-color: var(--red-primary);
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
}

.auth-card .input-group-text {
    background: var(--bg-surface);
    border-color: var(--border-color);
    color: var(--text-muted);
}

.auth-card .form-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

.auth-card .form-check-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ---- Admin ---- */
.admin-section {
    padding-top: 1rem;
}

/* 관리자 헤더 */
.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}
.admin-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.admin-header h1 i {
    color: var(--red-primary);
}
.admin-header-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.admin-header-actions .btn {
    font-size: 0.82rem;
    padding: 6px 14px;
    border-radius: 8px;
}

/* 관리자 네비게이션 */
.admin-nav {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 24px !important;
}
.admin-nav .nav-item {
    flex: 0 0 auto;
}
.admin-nav .nav-link {
    color: #888 !important;
    font-size: 0.82rem;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.admin-nav .nav-link i {
    font-size: 0.78rem;
    opacity: 0.6;
}
.admin-nav .nav-link.active {
    background: var(--red-primary) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(220,53,69,0.3);
}
.admin-nav .nav-link.active i {
    opacity: 1;
}
.admin-nav .nav-link:hover:not(.active) {
    background: rgba(255,255,255,0.06);
    color: #ccc !important;
}

/* 통계 카드 */
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}
.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 100%;
    background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.02));
    pointer-events: none;
}
.stat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    flex-shrink: 0;
}

.stat-info h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.stat-info p {
    color: #777;
    font-size: 0.78rem;
    margin: 2px 0 0;
    font-weight: 500;
}

/* 관리자 카드 */
.admin-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 0;
    overflow: hidden;
}

.admin-card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.02);
}
.admin-card-header h5 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.admin-card-header h5 i {
    color: var(--red-primary);
    font-size: 0.85rem;
}
.admin-card-body {
    padding: 0;
}

.admin-card h5 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px 0;
}
.admin-card h5 i {
    color: var(--red-primary);
}

.admin-card .form-control,
.admin-card .form-select {
    background: var(--bg-surface);
    border-color: var(--border-color);
    color: #fff;
    border-radius: 8px;
    font-size: 0.85rem;
}

.admin-card .form-control:focus,
.admin-card .form-select:focus {
    border-color: var(--red-primary);
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
}

.admin-card .form-label {
    color: #888;
    font-size: 0.8rem;
    font-weight: 500;
}

.admin-card .form-check-label {
    color: #888;
}

.admin-thumb {
    width: 80px;
    height: 45px;
    border-radius: 6px;
    object-fit: cover;
}

/* 테이블 개선 */
.table-dark {
    --bs-table-bg: transparent;
    --bs-table-color: var(--text-primary);
    --bs-table-border-color: var(--border-color);
}
.admin-card .table {
    margin: 0;
    font-size: 0.84rem;
}
.admin-card .table thead th {
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #777;
    padding: 10px 16px;
    white-space: nowrap;
}
.admin-card .table tbody td {
    padding: 10px 16px;
    vertical-align: middle;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.admin-card .table tbody tr:hover {
    background: rgba(255,255,255,0.03);
}
.admin-card .table tbody tr:last-child td {
    border-bottom: none;
}
.admin-card .table .btn-sm {
    padding: 4px 8px;
    font-size: 0.75rem;
    border-radius: 6px;
}

/* 빠른 작업 그리드 */
.quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 14px 16px;
}
.quick-action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    color: #999;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.quick-action-btn:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.12);
    color: #fff;
    transform: translateY(-1px);
}
.quick-action-btn .quick-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.78rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .admin-nav {
        gap: 2px;
        padding: 4px;
    }
    .admin-nav .nav-link {
        padding: 6px 10px;
        font-size: 0.78rem;
    }
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .quick-actions {
        grid-template-columns: 1fr;
    }
}

.table-dark th {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-dark td {
    font-size: 0.85rem;
    vertical-align: middle;
}

.table-hover > tbody > tr:hover > * {
    background-color: rgba(220, 53, 69, 0.05);
}

/* ---- Footer ---- */
.site-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1.5rem;
    margin-top: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 1rem;
}

.footer-brand .brand-text {
    font-size: 1.3rem;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--red-primary);
    border-color: var(--red-primary);
    color: #fff;
}

.footer-heading {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--red-primary);
}

.footer-submit-form .form-control {
    background: var(--bg-card);
    border-color: var(--border-color);
    color: #fff;
    font-size: 0.85rem;
}

.footer-submit-form .form-control::placeholder {
    color: var(--text-muted);
}

.footer-divider {
    border-color: var(--border-color);
    margin: 1.5rem 0;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-bottom-links a:hover {
    color: var(--red-primary);
}

/* ---- Pagination ---- */
.pagination .page-link {
    background: var(--bg-card);
    border-color: var(--border-color);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.pagination .page-link:hover {
    background: var(--bg-card-hover);
    color: #fff;
}

.pagination .page-item.active .page-link {
    background: var(--red-primary);
    border-color: var(--red-primary);
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    background: var(--bg-surface);
    color: var(--text-muted);
}

/* ---- Main Content Offset ---- */
.main-content {
    padding-top: 90px;
    min-height: 70vh;
}

/* index 히어로는 네비 아래로 깔리므로 중복 여백 제거 */
.hero-section {
    margin-top: -90px;
    padding-top: calc(90px + 60px); /* navbar + 원래 여백 */
}

/* 모든 section-block에 기본 상단 여백 */
.main-content > .section-block:first-child {
    padding-top: 2rem;
}

/* category-header 가림 방지 */
.category-header {
    margin-top: 1rem;
}

/* admin 페이지도 여백 보정 */
.main-content > .admin-section:first-child {
    padding-top: 1rem;
}

/* ---- Alert ---- */
.alert {
    border: none;
    border-radius: var(--radius-sm);
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2rem;
    }

    .nav-search-form {
        margin: 0.5rem 0;
        max-width: 100%;
    }

    .live-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .live-actions {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 0.5rem;
    }

    .section-header h1,
    .section-header h2 {
        font-size: 1.1rem;
    }

    .category-card {
        padding: 1rem;
    }

    .category-card-icon {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .category-card h5 {
        font-size: 0.85rem;
    }

    .footer-bottom-links {
        justify-content: flex-start;
        margin-top: 0.5rem;
    }

    .live-detail-section {
        padding: 70px 0 1rem;
    }

    .sidebar-thumb {
        width: 100px;
        min-width: 100px;
        height: 56px;
    }
}

/* ---- Utility ---- */
.text-red { color: var(--red-primary) !important; }
.bg-red { background-color: var(--red-primary) !important; }

/* ============================================
   정렬 바
   ============================================ */
.sort-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 10px 14px;
    margin-bottom: 4px;
    background: rgba(255,255,255,0.02);
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.06);
}
.sort-bar::before {
    content: '\f0dc';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.7rem;
    color: #555;
    margin: 0 4px 0 6px;
}
.sort-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    color: #777;
    background: transparent;
    border: 1px solid transparent;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
    font-weight: 500;
    letter-spacing: -0.01em;
}
.sort-btn:hover {
    color: #ccc;
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.08);
}
.sort-btn.active {
    color: #fff;
    background: var(--red-primary);
    border-color: var(--red-primary);
    font-weight: 600;
    box-shadow: 0 2px 12px rgba(220,53,69,0.3);
}
.sort-btn.active:hover {
    background: var(--red-hover);
    border-color: var(--red-hover);
}
.sort-btn i {
    font-size: 0.7rem;
    opacity: 0.6;
}
.sort-btn.active i {
    opacity: 1;
}
@media (max-width: 576px) {
    .sort-bar {
        padding: 8px 10px;
        gap: 4px;
        border-radius: 14px;
    }
    .sort-bar::before {
        display: none;
    }
    .sort-btn {
        padding: 5px 12px;
        font-size: 0.75rem;
    }
}

/* ============================================
   미니플레이어 (내려보기)
   ============================================ */
.mini-player {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 400px;
    z-index: 9999;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}
.mini-player:hover {
    box-shadow: 0 12px 48px rgba(0,0,0,0.8);
}

.mini-player-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--bg-elevated);
    cursor: grab;
    user-select: none;
    border-bottom: 1px solid var(--border-color);
}
.mini-player-header:active {
    cursor: grabbing;
}
.mini-player-drag {
    color: var(--text-muted);
    font-size: 0.75rem;
    flex-shrink: 0;
}
.mini-player-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
.mini-player-title {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mini-player-channel {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mini-player-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.mini-player-controls a,
.mini-player-controls button {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 4px 6px;
    cursor: pointer;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
    text-decoration: none;
    line-height: 1;
}
.mini-player-controls a:hover,
.mini-player-controls button:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.1);
}
.mini-player-close:hover {
    color: var(--red-primary) !important;
}
.mini-player-unmute {
    animation: pulse-unmute 1.5s ease-in-out infinite;
    color: var(--bs-warning) !important;
}
.mini-player-unmute:hover {
    color: #fff !important;
    background: var(--bs-warning) !important;
}
@keyframes pulse-unmute {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.mini-player-video {
    width: 100%;
}
.mini-player-video iframe {
    border: none;
    width: 100%;
    height: 100%;
}

/* 내려보기 버튼 */
.btn-pip {
    border-color: var(--bs-info) !important;
    color: var(--bs-info) !important;
}
.btn-pip:hover {
    background: var(--bs-info) !important;
    color: #000 !important;
}

/* 반응형 미니플레이어 */
@media (max-width: 576px) {
    .mini-player {
        width: calc(100% - 16px);
        right: 8px;
        bottom: 8px;
        border-radius: 8px;
    }
}

/* ══════════════════════════════════════════
   채널 페이지 스타일
   ══════════════════════════════════════════ */

/* 카드 내 채널 링크 */
.channel-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}
.channel-link:hover {
    opacity: 0.8;
    color: var(--red-primary, #dc3545);
}
.channel-link:hover .channel-name {
    color: var(--red-primary, #dc3545);
}

/* live.php 채널 링크 (큰 사이즈) */
.channel-link-lg {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}
.channel-link-lg:hover {
    opacity: 0.85;
}
.channel-link-lg:hover .channel-name-lg {
    color: var(--red-primary, #dc3545);
}

/* 채널 프로필 섹션 */
.channel-profile-section {
    padding: 40px 0 20px;
    background: linear-gradient(180deg, rgba(220,53,69,0.08) 0%, transparent 100%);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.channel-profile {
    display: flex;
    align-items: center;
    gap: 24px;
}
.channel-profile-avatar img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(220,53,69,0.4);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.channel-avatar-xl-placeholder {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: rgba(255,255,255,0.4);
    border: 3px solid rgba(255,255,255,0.15);
}
.channel-profile-info {
    flex: 1;
}
.channel-profile-name {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 8px 0;
    color: #fff;
}
.channel-profile-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.channel-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.channel-categories .badge {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
}
.channel-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}
.channel-stat {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 5px;
}
.channel-stat i {
    font-size: 0.7rem;
}
.channel-profile-actions {
    margin-top: 12px;
    display: flex;
    gap: 8px;
}
.channel-profile-actions .btn {
    font-size: 0.8rem;
    padding: 6px 14px;
    border-radius: 20px;
}

/* 채널 페이지 모바일 */
@media (max-width: 768px) {
    .channel-profile {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    .channel-profile-name {
        font-size: 1.35rem;
    }
    .channel-profile-avatar img,
    .channel-avatar-xl-placeholder {
        width: 72px;
        height: 72px;
    }
    .channel-stats-row {
        justify-content: center;
        gap: 12px;
    }
    .channel-categories {
        justify-content: center;
    }
    .channel-profile-actions {
        justify-content: center;
    }
    .channel-profile-section {
        padding: 24px 0 16px;
    }
}

/* ── 검색 채널 카드 (가로 스크롤) ── */
.section-subtitle {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.section-subtitle i {
    color: var(--red-primary);
    font-size: 0.9rem;
}
.search-channels-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
    -webkit-overflow-scrolling: touch;
}
.search-channels-scroll::-webkit-scrollbar {
    height: 4px;
}
.search-channels-scroll::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}
.search-channel-chip {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s ease;
    min-width: 180px;
    max-width: 240px;
}
.search-channel-chip:hover {
    background: var(--bg-hover);
    border-color: var(--red-primary);
    color: var(--text-primary);
}
.search-chip-avatar {
    position: relative;
    flex-shrink: 0;
}
.search-chip-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
}
.search-channel-chip:hover .search-chip-avatar img {
    border-color: var(--red-primary);
}
.search-chip-avatar-ph {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
    border: 2px solid var(--border-color);
}
.search-chip-live-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: var(--red-primary);
    border-radius: 50%;
    border: 2px solid var(--bg-card);
    animation: pulse-live 1.5s infinite;
}
.search-chip-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.search-chip-name {
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-chip-meta {
    font-size: 0.72rem;
    color: var(--text-muted);
    white-space: nowrap;
}

@media (max-width: 576px) {
    .search-channel-chip {
        min-width: 160px;
        max-width: 200px;
        padding: 8px 10px;
        gap: 8px;
    }
    .search-chip-avatar img,
    .search-chip-avatar-ph {
        width: 34px;
        height: 34px;
    }
    .search-chip-name {
        font-size: 0.8rem;
    }
}
