:root {
            --bg: #0b0f14;
            --panel: #111820;
            --panel-hover: #16202c;
            --line: #25313d;
            --text: #f5f7fa;
            --muted: #8b98a8;
            --accent: #38bdf8;
            --live: #ff4b4b;
--twitch: #9d65f0;
    --youtube: #ff4b4b;
    --chzzk: #00e599;
    --soop: #3b82f6;
        }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        html { background: var(--bg); }
        body {
            font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            background: radial-gradient(circle at 15% 0%, rgba(56, 189, 248, 0.06), transparent 28%), linear-gradient(180deg, #0b0f14 0%, #0d1218 100%);
            color: var(--text);
            min-height: 100vh;
            padding: 10px;
        }
		/* 카드 내부 모든 링크 태그의 기본 파란색 및 밑줄 완전 제거 */
        .card a,
        .card a:link,
        .card a:visited,
        .card a:hover,
        .card a:active {
            text-decoration: none;
            color: inherit;
        }
		
        .header {
            max-width: 1500px;
            margin: 0 auto 20px;
            display: flex;
            flex-direction: column;
            gap: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid var(--line);
        }

        .main-bar {
            display: flex;
            align-items: strETCh;
            gap: 15px;
            flex-wrap: nowrap;
        }
        
        .header-left {
            position: relative;
            display: inline-block;
            flex-shrink: 0;
        }

        .banner-wrapper {
            position: relative;
            display: inline-flex;
            cursor: pointer;
            overflow: hidden;
            border-radius: 6px;
            height: 150px;
        }

        .banner-wrapper img {
            display: block;
            border-radius: 6px;
            transition: transform 0.3s ease, filter 0.3s ease;
            height: 150px;
            width: auto;
        }

        .banner-wrapper:hover img {
            transform: scale(1.05);
            filter: brightness(1.2);
        }

        .notice-panel {
            flex: 1;
            min-width: 0;
            height: 150px;
            max-height: 150px;
            flex-shrink: 0;
            background: rgba(17, 24, 32, 0.85);
            border: 1px solid var(--line);
            border-radius: 8px;
            padding: 0px 4px 0px 0px;
            display: flex;
            flex-direction: column;
            backdrop-filter: blur(4px);
        }

        .notice-panel-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            padding-bottom: 2px;
            margin-bottom: 6px;
            flex-shrink: 0;
            flex-wrap: wrap;
            gap: 6px;
        }

        .notice-title {
            font-size: 12px;
            font-weight: 700;
            color: var(--accent);
            display: flex;
            align-items: center;
            gap: 2px;
            flex-wrap: wrap;
        }

        .notice-update-btn {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            cursor: pointer;
            padding: 2px 6px;
            border-radius: 4px;
            transition: background 0.2s, color 0.2s;
            user-select: none;
        }
        .notice-update-btn:hover {
            background: rgba(56, 189, 248, 0.15);
            color: #fff;
        }
		.notice-cat-tag {
		font-size: 10px;
		font-weight: 600;
		color: #38bdf8;
		background: rgba(56, 189, 248, 0.12);
		padding: 1px 4px;
		border-radius: 3px;
		white-space: nowrap;
		flex-shrink: 0;
		border: 1px solid rgba(56, 189, 248, 0.25);
		}
        .refresh-icon {
            display: inline-block;
            font-size: 13px;
            line-height: 1;
            transition: transform 0.3s ease;
        }
        .notice-update-btn:hover .refresh-icon {
            transform: rotate(180deg);
        }
        .refresh-spinning .refresh-icon {
            animation: spin 0.8s linear infinite;
        }
        @keyframes spin {
            100% { transform: rotate(360deg); }
        }

        /* 시청자 수 합계 뱃지 스타일 */
        .category-live-viewers {
            display: inline-flex;
            align-items: center;
            margin-left: auto;
            gap: 6px;
            font-size: 11px;
            font-weight: 600;
        }
        .viewer-sum-item {
            display: inline-flex;
            align-items: center;
            gap: 3px;
            background: rgba(255, 255, 255, 0.06);
            padding: 2px 6px;
            border-radius: 4px;
            border: 1px solid rgba(255, 255, 255, 0.12);
            color: #cbd5e1;
        }
        .viewer-sum-item .lbl {
            font-size: 11px;
            color: var(--accent);
            font-weight: 700;
        }
        .viewer-sum-item strong {
            color: #fff;
            font-weight: 700;
        }

        .notice-clear-btn {
            background: transparent;
            border: none;
            color: var(--muted);
            font-size: 11px;
            cursor: pointer;
            transition: color 0.2s;
        }
        .notice-clear-btn:hover { color: #fff; }

        .notice-list {
            list-style: none;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 1px;
            flex: 1;
            min-height: 0;
            padding-right: 4px;
        }
        .notice-list::-webkit-scrollbar { width: 4px; }
        .notice-list::-webkit-scrollbar-thumb { background: #25313d; border-radius: 4px; }

        .notice-empty {
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--muted);
            font-size: 12px;
        }

        .notice-item {
            font-size: 12px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 4px 6px;
            background: rgba(22, 31, 40, 0.7);
            border-radius: 4px;
            border-left: 3px solid transparent;
            animation: fadeIn 0.3s ease;
            transition: background 0.2s;
        }
        .notice-item:hover {
            background: rgba(30, 41, 59, 0.9);
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-4px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .notice-item.type-on { border-left-color: var(--live); }
        .notice-item.type-off { border-left-color: #64748b; }

        .notice-item.type-off .notice-badge {
            filter: grayscale(1);
            background: #334155 !important;
            color: #94a3b8 !important;
        }

        .notice-link {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            text-decoration: none;
            color: inherit;
            gap: 8px;
            min-width: 0;
        }

        .notice-left {
            display: flex;
            align-items: center;
            gap: 6px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            min-width: 0;
            flex: 1;
        }

        .notice-profile-img {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            object-fit: cover;
            background: #25313d;
            flex-shrink: 0;
        }

        .notice-badge {
            font-size: 10px;
            font-weight: 700;
            padding: 1px 4px;
            border-radius: 3px;
            flex-shrink: 0;
        }
        .notice-badge.chzzk { background: var(--chzzk); color: #000; }
        .notice-badge.youtube { background: var(--youtube); color: #fff; }
        .notice-badge.soop { background: var(--soop); color: #fff; }
        .notice-badge.twitch { background: var(--twitch); color: #fff; }

        .notice-name { font-weight: 600; color: #fff; flex-shrink: 0; }
        .notice-stream-title { 
            color: #cbd5e1; 
            overflow: hidden; 
            text-overflow: ellipsis; 
            white-space: nowrap; 
            font-size: 11px;
            opacity: 0.85;
        }
        .notice-action { color: var(--accent); flex-shrink: 0; font-size: 11px; font-weight: 600; }
        .notice-item.type-off .notice-action { color: var(--muted); }

        .notice-right {
            font-size: 11px;
            color: #94a3b8;
            white-space: nowrap;
            display: flex;
            gap: 4px;
            flex-shrink: 0;
        }
        .notice-elapsed { color: var(--accent); font-weight: 600; }

        .filter-container { 
            display: flex; 
            gap: 8px; 
            align-items: center; 
            flex-wrap: wrap; 
        }
        .filter-group {
            display: flex;
            gap: 4px;
            align-items: center;
            background: #161f28;
            padding: 3px;
            border-radius: 8px;
            border: 1px solid var(--line);
        }
        .filter-btn {
            border: 2px solid transparent;
            background: transparent;
            color: var(--muted);
            padding: 6px 6px;
            border-radius: 6px;
            font-size: 12px;
            font-weight: 700;
            cursor: pointer;
            transition: all .18s ease;
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }

        .filter-btn:not(.active):hover { 
            color: #fff; 
            background: #22303c; 
        }
        
        .filter-btn.active,
        .filter-btn.active:hover { 
            background: #22303c;
            color: #fff;
            border-color: var(--accent);
        }

        .filter-btn .count-badge {
            font-size: 11px;
            font-weight: 600;
            opacity: 0.85;
            background: rgba(255, 255, 255, 0.1);
            color: inherit;
            padding: 1px 6px;
            border-radius: 10px;
            line-height: 1.2;
        }
        .filter-btn.active .count-badge,
        .filter-btn.active:hover .count-badge {
            background: rgba(255, 255, 255, 0.15);
            color: #fff;
            opacity: 1;
        }

        #country-filters {
            display: none !important;
        }

        @keyframes liveAllGlowEffect {
            0% {
                box-shadow: 0 0 12px rgba(56, 189, 248, 0.6), 0 0 25px rgba(145, 70, 255, 0.4);
                border-color: #38bdf8;
            }
            50% {
                box-shadow: 0 0 18px rgba(0, 255, 163, 0.7), 0 0 35px rgba(239, 68, 68, 0.5);
                border-color: #00ffa3;
            }
            100% {
                box-shadow: 0 0 12px rgba(56, 189, 248, 0.6), 0 0 25px rgba(145, 70, 255, 0.4);
                border-color: #38bdf8;
            }
        }

        @keyframes chzzkGlowEffect {
            0% { box-shadow: 0 0 10px rgba(0, 255, 163, 0.5), inset 0 0 4px rgba(0, 255, 163, 0.2); }
            100% { box-shadow: 0 0 18px rgba(0, 255, 163, 0.8), inset 0 0 8px rgba(0, 255, 163, 0.4); }
        }
        @keyframes youtubeGlowEffect {
            0% { box-shadow: 0 0 10px rgba(255, 0, 0, 0.5), inset 0 0 4px rgba(255, 0, 0, 0.2); }
            100% { box-shadow: 0 0 18px rgba(255, 0, 0, 0.8), inset 0 0 8px rgba(255, 0, 0, 0.4); }
        }
        @keyframes soopGlowEffect {
            0% { box-shadow: 0 0 10px rgba(0, 120, 255, 0.5), inset 0 0 4px rgba(0, 120, 255, 0.2); }
            100% { box-shadow: 0 0 18px rgba(0, 120, 255, 0.8), inset 0 0 8px rgba(0, 120, 255, 0.4); }
        }
        @keyframes twitchGlowEffect {
            0% { box-shadow: 0 0 10px rgba(145, 70, 255, 0.5), inset 0 0 4px rgba(145, 70, 255, 0.2); }
            100% { box-shadow: 0 0 18px rgba(145, 70, 255, 0.8), inset 0 0 8px rgba(145, 70, 255, 0.4); }
        }
		@keyframes animRippleall {
			0% { box-shadow: 0 0 0 0 rgba(255, 136, 0, 0.7); }
			70% { box-shadow: 0 0 0 16px rgba(255, 136, 0, 0); }
			100% { box-shadow: 0 0 0 0 rgba(255, 136, 0, 0); }
			
			0%, 100% { filter: blur(0.3px); opacity: 0.6; }
			50% { filter: blur(0px); opacity: 1; }
			}
		@keyframes animRippleon {
			0% { box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.7); }
			70% { box-shadow: 0 0 0 16px rgba(255, 68, 68, 0); }
			100% { box-shadow: 0 0 0 0 rgba(255, 68, 68, 0); }
			
			0%, 100% { filter: blur(0.3px); opacity: 0.6; }
			50% { filter: blur(0px); opacity: 1; }			0%, 100% { filter: blur(0.3px); opacity: 0.6; }
			50% { filter: blur(0px); opacity: 1; }
			}
		@keyframes animRippleoff {
			0% { box-shadow: 0 0 0 0 rgba(160, 168, 184, 0.6); }
			70% { box-shadow: 0 0 0 16px rgba(160, 168, 184, 0); }
			100% { box-shadow: 0 0 0 0 rgba(160, 168, 184, 0); }
			
			0%, 100% { filter: blur(0.3px); opacity: 0.6; }
			50% { filter: blur(0px); opacity: 1; }
			}
        #live-toggle-btn {
            position: relative;
            background: linear-gradient(135deg, #1c2633 0%, #22303c 100%);
            color: #ffffff;
            border: 1px solid var(--accent);
			border-color: #ffa500;
            box-shadow: 0 0 10px rgba(56, 189, 248, 0.35), inset 0 0 6px rgba(56, 189, 248, 0.2);
            text-shadow: 0 0 6px rgba(56, 189, 248, 0.6);
            cursor: pointer;
            overflow: hidden;
            transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            display: inline-flex;
            align-items: center;
            gap: 0px;
			animation: animRippleall 3s infinite cubic-bezier(0.25, 0, 0, 1);
        }

        #live-toggle-btn:hover,
        .filter-btn[data-type="cat"]:not(.no-hover):hover {
            transform: translateY(-2px) scale(1.05);
            background: linear-gradient(135deg, #22303c 0%, #2d3e4f 100%);
            color: #fff;
            text-shadow: 0 0 10px #fff, 0 0 18px var(--accent);
            z-index: 10;
        }

        #live-toggle-btn.mode-on {
            border-color: var(--live);
            box-shadow: 0 0 12px rgba(239, 68, 68, 0.5);
            text-shadow: 0 0 6px rgba(239, 68, 68, 0.8);
            animation: animRippleon 3s infinite cubic-bezier(0.25, 0, 0, 1);
        }
        #live-toggle-btn.mode-on:hover {
            box-shadow: 0 0 20px rgba(239, 68, 68, 0.8);
        }

        #live-toggle-btn.mode-off {
            border-color: #64748b;
            box-shadow: 0 0 10px rgba(100, 116, 139, 0.4);
            text-shadow: none;
            animation: animRippleoff 3s infinite cubic-bezier(0.25, 0, 0, 1);
        }

        .filter-btn[data-type="platform"]:not(.no-hover):hover {
            transform: translateY(-2px) scale(1.08);
            background: linear-gradient(135deg, #22303c 0%, #2d3e4f 100%);
            color: #fff;
            z-index: 10;
        }

        .filter-btn[data-val="chzzk"]:not(.no-hover):hover {
            border-color: var(--chzzk) !important;
            color: #fff;
            text-shadow: 0 0 10px #fff, 0 0 18px var(--chzzk);
            animation: chzzkGlowEffect 1.5s infinite alternate;
        }
        .filter-btn[data-val="chzzk"].active {
            border-color: var(--chzzk);
            color: #fff;
        }

        .filter-btn[data-val="youtube"]:not(.no-hover):hover {
            border-color: var(--youtube) !important;
            color: #fff;
            text-shadow: 0 0 10px #fff, 0 0 18px var(--youtube);
            animation: youtubeGlowEffect 1.5s infinite alternate;
        }
        .filter-btn[data-val="youtube"].active {
            border-color: var(--youtube);
            color: #fff;
        }

        .filter-btn[data-val="soop"]:not(.no-hover):hover {
            border-color: var(--soop) !important;
            color: #fff;
            text-shadow: 0 0 10px #fff, 0 0 18px var(--soop);
            animation: soopGlowEffect 1.5s infinite alternate;
        }
        .filter-btn[data-val="soop"].active {
            border-color: var(--soop);
            color: #fff;
        }

        .filter-btn[data-val="twitch"]:not(.no-hover):hover {
            border-color: var(--twitch) !important;
            color: #fff;
            text-shadow: 0 0 10px #fff, 0 0 18px var(--twitch);
            animation: twitchGlowEffect 1.5s infinite alternate;
        }
        .filter-btn[data-val="twitch"].active {
            border-color: var(--twitch);
            color: #fff;
        }	
        
        /* grid 기본 4열 및 클래스 기반 강제 분기 */
.grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    text-decoration: none;
}
.grid.cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }


        .card {
            background: var(--panel);
            border-radius: 10px;
            overflow: visible !important;
            border: 2px solid var(--line);
            display: flex;
            flex-direction: column;			
            transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s, border-color 0.25s, box-shadow 0.25s;
        }
        
        .card:hover {
            transform: translateY(-8px) scale(1.05);
            filter: brightness(1.1);
            background: var(--panel-hover);
            z-index: 5;
        }
        .card[data-platform="chzzk"]:hover {
            border-color: var(--chzzk) !important;
            box-shadow: 0 8px 24px rgba(0, 255, 163, 0.45), 0 0 12px rgba(0, 255, 163, 0.3) !important;
        }
        .card[data-platform="youtube"]:hover {
            border-color: var(--youtube) !important;
            box-shadow: 0 8px 24px rgba(255, 0, 0, 0.45), 0 0 12px rgba(255, 0, 0, 0.3) !important;
        }
        .card[data-platform="soop"]:hover {
            border-color: var(--soop) !important;
            box-shadow: 0 8px 24px rgba(0, 120, 255, 0.45), 0 0 12px rgba(0, 120, 255, 0.3) !important;
        }
        .card[data-platform="twitch"]:hover {
            border-color: var(--twitch) !important;
            box-shadow: 0 8px 24px rgba(145, 70, 255, 0.45), 0 0 12px rgba(145, 70, 255, 0.3) !important;
        }

        .card.hidden { display: none !important; }

        .card[data-status="on"] {
            order: -1;
        }
        .card[data-status="on"][data-platform="chzzk"] {
            border: 2px solid var(--chzzk) !important;
            box-shadow: 0 0 15px rgba(0, 255, 163, 0.35);
        }
        .card[data-status="on"][data-platform="youtube"] {
            border: 2px solid var(--youtube) !important;
            box-shadow: 0 0 15px rgba(255, 0, 0, 0.35);
        }
        .card[data-status="on"][data-platform="soop"] {
            border: 2px solid var(--soop) !important;
            box-shadow: 0 0 15px rgba(0, 120, 255, 0.35);
        }
        .card[data-status="on"][data-platform="twitch"] {
            border: 2px solid var(--twitch) !important;
            box-shadow: 0 0 15px rgba(145, 70, 255, 0.35);
        }

        .card[data-status="off"] {
            opacity: 1;
            filter: brightness(1);
        }

        @keyframes pulseLive {
            0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
            70% { transform: scale(1.05); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
            100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
        }

        .badge.on {
            background: #ef4444;
            color: #fff;
            animation: pulseLive 1.8s infinite;
            font-weight: 800;
        }

        .badge.off {
            background: #1e293b;
            color: #64748b;
            border: 1px solid #334155;
        }

        .card-link { text-decoration: none; color: inherit; display: block; transition: opacity .2s; overflow: visible !important; }
        .card-link:hover { opacity: 0.95; }
        
        .thumb-container { position: relative; width: 100%; aspect-ratio: 16/9; background: #020617; overflow: visible !important; border-top-left-radius: 8px; border-top-right-radius: 8px;}
        .thumb { width: 100%; height: 100%; display: block; object-fit: cover; border-top-left-radius: 8px; border-top-right-radius: 8px;}
        .no-thumb { display: flex; align-items: center; justify-content: center; height: 100%; color: #cbd5e1; font-size: 14px; font-weight: 600; text-align: center; padding: 8px; }
        
        .thumb-bottom-right {
            position: absolute;
            bottom: 2px;
            right: 2px;
            display: flex;
            align-items: center;
            gap: 4px;
            z-index: 2;
        }

        .badge { position: absolute; top: 0px !important; right: 10px !important; transform: translateY(-50%) !important;padding: 3px 7px; border-radius: 5px; font-size: 11px; font-weight: 700; text-transform: uppercase; z-index: 99 !important; }
        .platform-tag { position: absolute; top: 0px !important; left: 10px !important; transform: translateY(-50%) !important;padding: 3px 7px; border-radius: 5px; font-size: 10px; font-weight: 600; color: #fff; z-index: 99 !important; }
        .twitch { background: var(--twitch); color: #fff; }
        .youtube { background: var(--youtube); color: #fff; }
        .chzzk { background: var(--chzzk); color: #000; }
        .soop { background: var(--soop); color: #fff; }
        .card[data-status="off"] .platform-tag { filter: grayscale(1); background: #1e293b; color: #94a3b8; }
        
        .info { padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; flex-grow: 1; background: #141c26; border-top: 1px solid var(--line); border-top-left-radius: 8px; border-top-right-radius: 8px;border-bottom-left-radius: 8px; border-bottom-right-radius: 8px;}
        .channel-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
        .channel-name { font-size: 14px; font-weight: 700; color: #f8fafc; display: flex; align-items: center; gap: 6px; overflow: hidden; }
        .channel-name span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .channel-profile-img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: #25313d; }
        
        .category-tag {
            font-size: 11px;
            height: 22px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0 7px;
    margin: 0;
    vertical-align: middle;
	background: rgba(56, 189, 248, 0.12);
	border: 1px solid rgba(56, 189, 248, 0.25);
        }
		
		.notice-item.type-video .notice-action {
    background: #ffcc00;
    color: #111;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 3px;
}

    .btn-more-vod {
    height: 22px;
    width: 26px;
	border: 1px solid rgba(255, 255, 255, 0.2);
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0 6px;
    margin: 0;
    vertical-align: middle;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffcc00;
    font-size: 13px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-more-vod:hover {
	border: 1px solid rgba(255, 255, 255, 0.2);
    background: #ffcc00;
    color: #111;
    border-color: #ffcc00;
	width:26px;
}
        .vod-modal-backdrop {
            display: none;
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0, 0, 0, 0.75);
            z-index: 9999;
            backdrop-filter: blur(4px);
            align-items: center;
            justify-content: center;
        }
        .vod-modal-content {
            background: #181a1f;
            border: 1px solid #333;
            border-radius: 8px;
            width: 90%;
            max-width: 650px;
            max-height: 80vh;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.8);
        }
        .vod-modal-header {
            padding: 14px 18px;
            border-bottom: 1px solid #2a2d35;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .vod-modal-title {
            font-size: 15px;
            font-weight: bold;
            color: #fff;
        }
        .vod-modal-close {
            background: transparent;
            border: none;
            color: #aaa;
            font-size: 20px;
            cursor: pointer;
            line-height: 1;
        }
        .vod-modal-close:hover { color: #fff; }
        .vod-modal-list {
            padding: 12px 18px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .vod-item {
            display: flex;
            gap: 12px;
            background: #20232a;
            border-radius: 6px;
            padding: 8px;
            text-decoration: none;
            color: #ddd;
            transition: background 0.2s;
            align-items: center;
        }
        .vod-item:hover { background: #2b303c; }
        .vod-thumb-box {
            position: relative;
            width: 110px;
            height: 62px;
            border-radius: 4px;
            overflow: hidden;
            background: #000;
            flex-shrink: 0;
        }
        .vod-thumb-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .vod-duration-tag {
            position: absolute;
            bottom: 3px;
            right: 4px;
            background: rgba(0,0,0,0.8);
            font-size: 10px;
            padding: 1px 4px;
            border-radius: 3px;
            color: #fff;
        }
        .vod-info-box {
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
        .vod-item-title {
            font-size: 13px;
            font-weight: 500;
            color: #eee;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .vod-meta {
            font-size: 11px;
            color: #888;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .vod-date {
            color: #aaa;
        }
		
		/* 채널 이름 링크 스타일 고정 */
        .channel-name {
            text-decoration: none;
            color: #eee;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        .channel-name:hover {
            color: #fff;
            text-decoration: none;
        }

        /* 영상 제목 링크 스타일 고정 */
        .title-link {
            text-decoration: none;
            color: inherit;
            display: block;
        }
        .title-link:hover {
            text-decoration: none;
        }
		
        .badge-group { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
        .time-badge { background: rgba(0, 0, 0, 0.75); color: #cbd5e1; padding: 2px 6px; border-radius: 4px; font-size: 11px; font-weight: 600; white-space: nowrap; backdrop-filter: blur(2px); }
        .title { font-size: 13px; color: var(--muted); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

        /* 미디어 쿼리 조정 */
@media (max-width: 1200px) {
    body { padding: 10px; }
    .main-bar { flex-direction: column; align-items: stretch; gap: 10px; }
    .header-left { width: 100%; display: flex; justify-content: center; }
    .banner-wrapper { width: 100%; height: auto; display: flex; justify-content: center; }
    .banner-wrapper img { width: 100%; height: auto; max-height: 150px; object-fit: contain; }
    .notice-panel { width: 100%; height: auto; max-height: 123px; padding: 1px; }
    .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
    .channel-name { text-decoration: none; }
}

/* 폴드 내부 메인 화면(약 600px~800px대)까지 3열 유지 */
@media (max-width: 600px) {
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }  
    .channel-name { text-decoration: none; }
}

/* 바깥 커버 화면 세로 모드 및 일반 좁은 스마트폰 세로: 1열 최소 출력 */
@media (max-width: 480px) {
    .grid { grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 10px; }
    .channel-name { text-decoration: none; }			
}