/* =============================================================
   china-friendly.css — 大陸友善資源
   - 系統中文字型優先（不依賴 Google Fonts）
   - MV 用 click-to-load 機制，避免預載 YouTube iframe 阻擋頁面
   適用於：8la.name 整站
   新增日期：2026-08-07
   ============================================================= */

/* ---------- 1. 字型 stack：系統中文字型優先 ---------- */
:root {
    --font-sans-zh: "PingFang TC", "PingFang SC", "Microsoft JhengHei",
                    "Microsoft YaHei", "Heiti TC", "Hiragino Sans GB",
                    "Noto Sans TC", "Noto Sans CJK TC", "Source Han Sans TC",
                    "Noto Sans", -apple-system, BlinkMacSystemFont,
                    "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --font-serif-zh: "Noto Serif TC", "PMingLiU", "Source Han Serif TC",
                     "Songti TC", "SimSun", Georgia, serif;
}

html, body,
button, input, select, textarea,
.btn, .btn-premium-nav, .btn-login, .dropdown-link,
.song-card-title, .song-card-artist, .player-title, .player-artist,
.hero h1, .section-title, .nav-link, .footer-title, .footer-links a,
.admin-nav-item, .admin-topbar-title {
    font-family: var(--font-sans-zh) !important;
}

.lyric-content, .lyric-block, .song-lyrics,
.quote-block, blockquote {
    font-family: var(--font-serif-zh) !important;
}

/* ---------- 2. MV click-to-load ---------- */
.mv-click-to-load {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 220px;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 100%);
    border-radius: var(--radius, 12px);
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.mv-click-to-load::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(192, 132, 252, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.mv-click-to-load:hover::before {
    background: radial-gradient(circle at 50% 50%, rgba(192, 132, 252, 0.25) 0%, transparent 60%);
}

.mv-play-btn {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.55);
    border: 2px solid rgba(255, 255, 255, 0.85);
    color: #fff;
    padding: 18px 36px;
    border-radius: 999px;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.mv-click-to-load:hover .mv-play-btn {
    background: rgba(192, 132, 252, 0.85);
    border-color: #fff;
    transform: scale(1.04);
    box-shadow: 0 8px 24px rgba(192, 132, 252, 0.4);
}

.mv-play-icon {
    font-size: 1.6em;
    line-height: 1;
}

.mv-play-label {
    font-size: 0.95em;
}

.mv-external-link {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(0, 0, 0, 0.55);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    text-decoration: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: all 0.2s;
}

.mv-external-link:hover {
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
}

/* iframe 載入後的樣式 */
.mv-click-to-load iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* 大陸地區提示（手動標記時用） */
.mv-blocked-hint {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    z-index: 1;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.72rem;
    text-align: center;
    line-height: 1.4;
    pointer-events: none;
}
