@charset "utf-8";

/* AI 분석 및 레이더 차트 스타일 추가 (아티스트 뷰 스킨용) */
.ai-analysis-box { 
    width: 100%; max-width: 100%; box-sizing: border-box; margin: 30px 0 0 0; padding: 25px; 
    background: #fff; border-radius: 12px; border: 1px solid #e1e4e8; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.03); position: relative; 
}
.ai-title { 
    font-size: 18px; font-weight: 700; color: #333; margin-bottom: 20px; 
    display: flex; align-items: center; justify-content: space-between; padding-bottom: 15px; border-bottom: 2px solid #f1f3f5;
}
.ai-report h4 { font-weight: 800; letter-spacing: -0.5px; }
.ai-box { padding: 15px; border-radius: 8px; margin-bottom: 15px; font-size: 15px; line-height: 1.6; }
.ai-box.good { background-color: #f0fdf4; border: 1px solid #dcfce7; color: #166534; }
.ai-box.bad { background-color: #fef2f2; border: 1px solid #fee2e2; color: #991b1b; }
.ai-label { font-weight: 700; margin-bottom: 5px; display: block; font-size: 13px; opacity: 0.8; }
.ai-box p { margin: 0; }
.ai-content { width: 100%; font-size: 15px; line-height: 1.7; color: #495057; white-space: pre-line; }
.ai-placeholder { color: #999; text-align: center; padding: 30px 0; font-size: 14px; }
.radar-tab.active { background: #fff; color: #f00080 !important; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.login-overlay { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(255, 255, 255, 0.92); z-index: 10; display: flex; 
    align-items: center; justify-content: center; backdrop-filter: blur(3px); 
}
.login-msg-box { text-align: center; }
.lock-icon { font-size: 40px; margin: 0 0 10px 0; }
.lock-text { font-size: 16px; font-weight: 700; color: #495057; margin-bottom: 20px; line-height: 1.5; }
.btn-login-go { display: inline-block; padding: 12px 30px; background: #f00080; color: #fff; border-radius: 25px; font-weight: 600; text-decoration: none; box-shadow: 0 4px 10px rgba(240, 0, 128, 0.3); transition: all 0.2s; }
.btn-login-go:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(240, 0, 128, 0.4); }
.btn-admin-ai { font-size: 11px; padding: 4px 8px; background: #333; color: #fff; border: none; border-radius: 4px; cursor: pointer; margin-left: auto; }
.btn-admin-ai:hover { background: #555; }
.radar-container { height: 350px; }


/* 유튜브 구독자 게시판 스타일 (디자인그대로리스트스킨 기준) */
.youtube-subscriber-board {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* 헤더 영역 */
.board-header { margin-bottom: 40px; }
.board-title-section { text-align: center; margin-bottom: 30px; }
.board-title { font-size: 48px; font-weight: 700; margin: 0 0 10px 0; color: #000; }
.board-title .main-title { font-weight: 700; }
.board-title .sub-title { font-weight: 300; color: #999; }
.board-title sup { font-size: 20px; color: #db007c; margin-left: 5px; }
.board-description { font-size: 14px; color: #666; margin: 10px 0 0 0; }

/* 컨트롤 영역 */
.board-controls { display: flex; justify-content: center; margin-bottom: 20px; }
.control-group { display: flex; gap: 30px; }
.control-item { display: flex; flex-direction: column; align-items: center; }
.control-label { font-size: 11px; color: #999; text-transform: uppercase; margin-bottom: 8px; letter-spacing: 0.5px; }
.control-select { padding: 8px 15px; border: 1px solid #ddd; border-radius: 4px; background: #fff; font-size: 14px; color: #333; cursor: pointer; min-width: 150px; transition: all 0.3s; }
.control-select:hover { border-color: #db007c; }
.control-select:focus { outline: none; border-color: #db007c; box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1); }

/* 버튼 그룹 */
.btns_gr_wrap { margin-bottom: 20px; }
.btns_gr { display: flex; gap: 10px; justify-content: flex-end; }
.fl_btns { padding: 10px 20px; border: 1px solid #ddd; border-radius: 4px; background: #fff; color: #333; cursor: pointer; font-size: 14px; display: flex; align-items: center; gap: 5px; transition: all 0.3s; }
.fl_btns:hover { background: #f8f9fa; }
.fl_btns.main_color_bg { background: #db007c; color: #fff; border-color: #db007c; }
.fl_btns.main_color_bg:hover { background: #c9006e; }
.fl_btns img { width: 16px; height: 16px; }

/* 리스트 컨테이너 */
.subscriber-list-container {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
}
.list-header {
    display: grid;
    grid-template-columns: 80px 1fr 150px 150px 100px;
    gap: 20px;
    padding: 20px 20px;
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    font-weight: 600; font-size: 14px; color: #495057;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.item-content {
    display: grid;
    grid-template-columns: 80px 1fr 150px 150px 100px;
    gap: 20px;
    padding: 20px 20px;
    align-items: center;
}
.list-item { border-bottom: 1px solid #e9ecef; transition: all 0.3s; }
.list-item:hover { background: #f8f9fa; }
.list-item.expanded { background: #db007c; color: #fff; }
.list-item.expanded .item-content { border-bottom: 1px solid rgba(255, 255, 255, 0.2); }

/* 컬럼별 스타일 */
.col-rank { text-align: center; }
.rank-number { font-size: 24px; font-weight: 700; }
.col-artist { display: flex; align-items: center; }
.artist-info { display: flex; align-items: center; gap: 15px; }
.artist-thumbnail { width: 80px; height: 45px; border-radius: 4px; overflow: hidden; flex-shrink: 0; } /* 직사각형 썸네일 */
.artist-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.no-thumbnail { width: 100%; height: 100%; background: #e9ecef; display: flex; align-items: center; justify-content: center; font-size: 10px; color: #999; font-weight: 600; }
.artist-name a { font-size: 16px; font-weight: 600; color: #000; text-decoration: none; transition: color 0.3s; }
.artist-name a:hover { color: #db007c; }
.list-item.expanded .artist-name a, .list-item.expanded .rank-number { color: #fff; }
.artist-name span { display:block; font-size:12px; color:#888; font-weight:400; margin-top:3px; }
.list-item.expanded .artist-name span { color: rgba(255,255,255,0.8); }

.col-growth { text-align: center; }
.growth-value { font-size: 18px; font-weight: 700; }
.growth-value.positive { color: #db007c; }
.growth-value.negative { color: #5f27cd; }
.growth-value.neutral { color: #666; }
.list-item.expanded .growth-value { color: #fff; }

.col-total { text-align: center; }
.total-value { font-size: 16px; font-weight: 600; color: #495057; }
.list-item.expanded .total-value { color: #fff; }

.col-actions { display: flex; gap: 10px; justify-content: center; }
.btn-chart { width: 36px; height: 36px; border: 1px solid #ddd; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s; color: #495057; }
.btn-chart:hover { border-color: #db007c; background: #db007c; color: #fff; }
.list-item.expanded .btn-chart { background: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.list-item.expanded .btn-chart:hover { background: rgba(255, 255, 255, 0.3); }

/* 차트 컨테이너 */
.chart-container { padding: 10px 30px 50px 30px; background: #db007c; text-align: center; }
.chart-wrapper { position: relative; margin: 0 auto; }
.xy-chart-wrapper { height: 300px; margin-bottom: 20px; }
.radar-chart-wrapper { max-width: 600px; margin: 0 auto; height: 400px; }

/* 리스트 내 차트 컨트롤 스타일 */
.list-chart-controls .chart-period-toggles { display: flex; background: rgba(0,0,0,0.1); border-radius: 20px; padding: 4px; border:1px solid rgba(255,255,255,0.1); }
.list-chart-controls .chart-toggle { border: none; background: transparent; padding: 5px 12px; border-radius: 16px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.6); cursor: pointer; transition: all 0.2s; }
.list-chart-controls .chart-toggle.active { background: #fff; color: #db007c; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.list-chart-controls .chart-toggle:hover:not(.active) { color: #fff; }
.list-chart-controls .chart-nav-btn { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.1); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; font-weight: bold; }
.list-chart-controls .chart-nav-btn:hover { background: #fff; color: #db007c; border-color:#fff; }

/* 레이더 차트 로그인 오버레이 스타일 */
.radar-login-overlay { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(255, 255, 255, 0.92); z-index: 10; 
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(3px); border-radius: 8px;
}
.radar-login-msg-box { text-align: center; }
.radar-lock-icon { font-size: 40px; margin: 0 0 10px 0; }
.radar-lock-text { font-size: 14px; font-weight: 700; color: #495057; margin-bottom: 15px; line-height: 1.5; }
.radar-btn-login-go { 
    display: inline-block; padding: 8px 20px; background: #f00080; color: #fff; 
    border-radius: 20px; font-weight: 600; text-decoration: none; font-size: 13px;
    box-shadow: 0 4px 10px rgba(240, 0, 128, 0.3); transition: all 0.2s; 
}
.radar-btn-login-go:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(240, 0, 128, 0.4); }

.no-data { padding: 60px 20px; text-align: center; color: #999; }
.pagination-area { margin-top: 40px; display: flex; justify-content: center; }

@media (max-width: 768px) {
    .youtube-subscriber-board { padding: 0px; }
    .list-header, .item-content { grid-template-columns: 35px 1fr 55px 75px; padding: 15px 8px; gap: 8px; }
    .list-header .col-total, .item-content .col-total { display: none; }
    .artist-name a { font-size: 14px; }
    .chart-container { padding: 20px 10px; }
    .radar-chart-wrapper { height: 440px; }
    .col-actions { display: flex; gap: 5px; justify-content: center; }
}