/* ============================================================
   LyricsQuester Theme — Main Stylesheet
   Version: 1.0.0
   ============================================================ */

/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: #f4f5f7;
    color: #1a1e2e;
    font-size: 14px;
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── CSS Variables ── */
:root {
    --primary: #1a237e;
    --primary-dark: #0d1257;
    --primary-light: #3949ab;
    --accent: #f57c00;
    --accent-dark: #e65100;
    --yellow: #ffcc02;
    --bg: #f4f5f7;
    --white: #ffffff;
    --border: #e8eaf0;
    --border-light: #f0f1f6;
    --text: #1a1e2e;
    --text-secondary: #2a2e40;
    --text-muted: #9196a8;
    --text-light: #b0b5c5;
    --sidebar-width: 290px;
    --container: 1160px;
    --radius: 8px;
    --shadow: 0 2px 8px rgba(26,35,126,0.08);
    --shadow-hover: 0 4px 16px rgba(26,35,126,0.14);
    --transition: 0.18s ease;
}

/* ── Category Colors ── */
:root {
    --cat-bollywood-bg: #fff3e0;
    --cat-bollywood-text: #e65100;
    --cat-kollywood-bg: #e8f5e9;
    --cat-kollywood-text: #2e7d32;
    --cat-hollywood-bg: #e3f2fd;
    --cat-hollywood-text: #1565c0;
    --cat-nepali-bg: #f3e5f5;
    --cat-nepali-text: #6a1b9a;
    --cat-devotional-bg: #fff8e1;
    --cat-devotional-text: #f57f17;
    --cat-bhojpuri-bg: #fce4ec;
    --cat-bhojpuri-text: #880e4f;
}

/* ============================================================
   TOPBAR
   ============================================================ */
.site-topbar {
    background: var(--primary);
    padding: 5px 0;
}
.site-topbar__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}
.site-topbar__inner a {
    font-size: 10.5px;
    color: #c5cae9;
    text-decoration: none;
    transition: color var(--transition);
    white-space: nowrap;
}
.site-topbar__inner a:hover { color: #fff; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header-wrap {
    background: var(--white);
    border-bottom: 2px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.site-header {
    max-width: var(--container);
    margin: 0 auto;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.site-logo__mark {
    width: 46px;
    height: 46px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform var(--transition);
}
.site-logo:hover .site-logo__mark { transform: scale(1.05); }
.site-logo__mark svg { width: 24px; height: 24px; fill: #fff; }
.site-logo__name {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--primary);
    line-height: 1;
}
.site-logo__name em { color: var(--accent); font-style: normal; }

/* Search Box */
.site-search {
    display: flex;
    align-items: center;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 24px;
    padding: 7px 14px;
    gap: 8px;
    flex: 1;
    max-width: 420px;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.site-search:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,35,126,0.08);
}
.site-search svg { width: 15px; height: 15px; fill: none; stroke: var(--text-muted); stroke-width: 2; flex-shrink: 0; }
.site-search input {
    background: transparent;
    border: none;
    outline: none;
    font-size: 13px;
    color: var(--text);
    width: 100%;
}
.site-search input::placeholder { color: var(--text-muted); }
.site-search__btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 18px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    transition: background var(--transition);
    flex-shrink: 0;
}
.site-search__btn:hover { background: var(--primary-light); }

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    padding: 8px;
    cursor: pointer;
}
.menu-toggle svg { width: 20px; height: 20px; fill: var(--primary); display: block; }

/* ============================================================
   NAVBAR
   ============================================================ */
.site-navbar-wrap {
    background: var(--white);
    border-bottom: 2px solid var(--border);
}
.site-navbar {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.site-navbar::-webkit-scrollbar { display: none; }
.site-navbar a {
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    transition: color var(--transition), border-color var(--transition);
}
.site-navbar a:hover { color: var(--primary); border-bottom-color: var(--border); }
.site-navbar a.current-menu-item,
.site-navbar a.current-cat,
.site-navbar a.active { color: var(--primary); border-bottom-color: var(--accent); }
.site-navbar .upload-link {
    margin-left: auto;
    background: var(--accent);
    color: #fff !important;
    border-bottom: 3px solid transparent !important;
    padding: 12px 18px;
    transition: background var(--transition) !important;
    flex-shrink: 0;
}
.site-navbar .upload-link:hover { background: var(--accent-dark) !important; border-bottom-color: transparent !important; }

/* ============================================================
   AD BANNER
   ============================================================ */
.ad-banner {
    background: #fffde7;
    border: 1.5px dashed #f9a825;
    border-radius: 6px;
    text-align: center;
    padding: 10px;
    font-size: 11px;
    color: #827717;
    font-weight: 600;
    letter-spacing: 0.04em;
    width: 100%;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.main-container {
    max-width: var(--container);
    margin: 20px auto;
    padding: 0 16px;
}
.main-wrap {
    max-width: var(--container);
    margin: 20px auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--sidebar-width);
    gap: 20px;
    padding: 0 16px;
}
.main-content { min-width: 0; }
.sidebar { min-width: 0; }

/* ============================================================
   HERO (Homepage)
   ============================================================ */
.site-hero {
    background: var(--primary);
    padding: 36px 20px;
    border-bottom: 3px solid var(--accent);
}
.site-hero__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
}
.site-hero h1 {
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 10px;
}
.site-hero h1 span { color: var(--yellow); }
.site-hero p {
    font-size: 14px;
    color: #9fa8da;
    line-height: 1.7;
    max-width: 460px;
    margin-bottom: 18px;
}
.hero-search {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    max-width: 420px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.hero-search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 11px 16px;
    font-size: 13px;
    color: var(--text);
}
.hero-search button {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 11px 22px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--transition);
}
.hero-search button:hover { background: var(--accent-dark); }
.hero-stats {
    display: flex;
    gap: 28px;
    margin-top: 20px;
}
.hstat { line-height: 1.2; }
.hstat-num {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}
.hstat-lbl {
    font-size: 11px;
    color: #7986cb;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.hero-cards {
    display: flex;
    gap: 10px;
}
.hcard {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 12px;
    width: 130px;
    text-decoration: none;
    transition: background var(--transition);
}
.hcard:hover { background: rgba(255,255,255,0.14); }
.hcard-thumb {
    background: rgba(255,255,255,0.1);
    height: 68px;
    border-radius: 6px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hcard-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.hcard-thumb svg { width: 22px; height: 22px; fill: var(--yellow); opacity: 0.7; }
.hcard-title { font-size: 11px; font-weight: 700; color: #fff; line-height: 1.3; }
.hcard-artist { font-size: 10px; color: #9fa8da; margin-top: 3px; }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.sec-head {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    border-bottom: 2px solid var(--border);
}
.sh-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--primary);
    padding-bottom: 10px;
    border-bottom: 3px solid var(--accent);
    margin-bottom: -2px;
}
.sh-more {
    margin-left: auto;
    font-size: 12px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    padding-bottom: 10px;
    transition: color var(--transition);
}
.sh-more:hover { color: var(--accent); }

/* ============================================================
   LYRICS LIST ROW
   ============================================================ */
.lyrics-list { margin-bottom: 4px; }
.lyric-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 8px;
    text-decoration: none;
    color: inherit;
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition), transform var(--transition);
}
.lyric-row:hover {
    border-color: #9fa8da;
    background: #f8f9ff;
    box-shadow: var(--shadow);
    transform: translateY(-1px);
}
.lr-thumb {
    width: 70px;
    height: 52px;
    background: #e8eaf6;
    border-radius: 6px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.lr-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lr-thumb svg { width: 24px; height: 24px; }
.lr-body { flex: 1; min-width: 0; }
.lr-cat {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    margin-bottom: 3px;
    letter-spacing: 0.04em;
}
.lr-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lr-deva { font-size: 11.5px; color: #666; margin-top: 1px; }
.lr-artist { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.lr-date { font-size: 10px; color: var(--text-light); margin-left: auto; flex-shrink: 0; white-space: nowrap; }

/* Category label colors */
.cat-bollywood { background: var(--cat-bollywood-bg); color: var(--cat-bollywood-text); }
.cat-kollywood { background: var(--cat-kollywood-bg); color: var(--cat-kollywood-text); }
.cat-hollywood { background: var(--cat-hollywood-bg); color: var(--cat-hollywood-text); }
.cat-nepali    { background: var(--cat-nepali-bg);    color: var(--cat-nepali-text); }
.cat-devotional{ background: var(--cat-devotional-bg);color: var(--cat-devotional-text); }
.cat-bhojpuri  { background: var(--cat-bhojpuri-bg);  color: var(--cat-bhojpuri-text); }

/* ============================================================
   SIDEBAR CARDS
   ============================================================ */
.sb-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 16px;
    overflow: hidden;
}
.sb-head {
    background: var(--primary);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 7px;
}
.sb-head-title {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.sb-head-title span { color: var(--yellow); }
.sb-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
    color: inherit;
    transition: background var(--transition);
}
.sb-item:last-child { border-bottom: none; }
.sb-item:hover { background: #f8f9ff; }
.sb-rank {
    font-size: 16px;
    font-weight: 800;
    color: var(--border);
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}
.sb-thumb {
    width: 48px;
    height: 36px;
    background: #e8eaf6;
    border-radius: 5px;
    flex-shrink: 0;
    overflow: hidden;
}
.sb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sb-title { font-size: 12px; font-weight: 700; color: var(--primary); line-height: 1.3; }
.sb-sub { font-size: 11px; color: var(--text-muted); margin-top: 1px; }

/* Category Grid (Browse Categories) */
.cat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    border-right: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    gap: 5px;
    transition: background var(--transition);
}
.cat-item:nth-child(2n) { border-right: none; }
.cat-item:nth-last-child(-n+2) { border-bottom: none; }
.cat-item:hover { background: #f8f9ff; }
.cat-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cat-dot svg { width: 14px; height: 14px; fill: #fff; }
.cat-count { font-size: 10px; color: var(--text-muted); font-weight: 500; }

/* Sidebar category links */
.sb-cat-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ============================================================
   PAGE / CATEGORY HEADER
   ============================================================ */
.page-hero {
    background: var(--primary);
    padding: 28px 20px;
    border-bottom: 3px solid var(--accent);
}
.page-hero__inner {
    max-width: var(--container);
    margin: 0 auto;
}
.page-hero h1 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px;
}
.page-hero p { font-size: 13px; color: #9fa8da; margin-top: 4px; }
.page-hero .breadcrumb-nav {
    margin-top: 10px;
    font-size: 11.5px;
    color: #7986cb;
}
.page-hero .breadcrumb-nav a { color: #9fa8da; text-decoration: none; }
.page-hero .breadcrumb-nav a:hover { color: #fff; }
.page-hero .breadcrumb-nav span { color: #7986cb; margin: 0 5px; }

/* Filter bar */
.filter-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}
.filter-bar__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.filter-pill {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    background: var(--bg);
    border: 1.5px solid var(--border);
    color: #444;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
    white-space: nowrap;
}
.filter-pill:hover,
.filter-pill.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ============================================================
   SINGLE LYRICS PAGE
   ============================================================ */
.detail-header {
    background: var(--primary);
    padding: 28px 20px;
}
.detail-header__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    gap: 22px;
    align-items: flex-start;
}
.dh-art {
    width: 160px;
    height: 160px;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.dh-art img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.dh-art svg { width: 60px; height: 60px; fill: var(--yellow); opacity: 0.5; }
.dh-cat-pill {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: #c5cae9;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}
.dh-title {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 3px;
}
.dh-deva { font-size: 15px; color: #9fa8da; margin-bottom: 16px; }
.dh-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 16px;
}
.dh-meta-chip {
    background: rgba(255,255,255,0.1);
    color: #c5cae9;
    font-size: 11.5px;
    padding: 4px 12px;
    border-radius: 6px;
}
.dh-meta-chip strong { color: #fff; }
.share-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}
.share-lbl {
    font-size: 11px;
    color: #7986cb;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.share-ico {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    transition: opacity var(--transition);
}
.share-ico:hover { opacity: 0.85; }
.sfb { background: #1877f2; }
.stw { background: #1da1f2; }
.swa { background: #25d366; }
.syt { background: #ff0000; }

/* Lyrics Tabs */
.detail-body {
    max-width: var(--container);
    margin: 20px auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--sidebar-width);
    gap: 20px;
    padding: 0 16px;
}
.lyrics-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius) var(--radius) 0 0;
    overflow: hidden;
}
.tabs-row {
    display: flex;
    border-bottom: 2px solid var(--border);
}
.tab {
    padding: 10px 18px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    color: #666;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color var(--transition);
    white-space: nowrap;
}
.tab:hover { color: var(--primary); }
.tab.active { color: var(--primary); border-bottom-color: var(--accent); }
.tab-pane {
    background: var(--white);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 22px;
    display: none;
}
.tab-pane.active { display: block; }
.lyrics-text {
    font-size: 15px;
    line-height: 2.2;
    color: var(--text-secondary);
    white-space: pre-line;
}
.stanza { margin-bottom: 24px; }
.chorus-label {
    font-size: 10px;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}
.yt-embed {
    background: #0f0f0f;
    border-radius: 8px;
    overflow: hidden;
}
.yt-embed iframe { width: 100%; display: block; }
.yt-placeholder {
    height: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.yt-placeholder svg { width: 52px; height: 52px; fill: #ff0000; }
.yt-placeholder p { font-size: 13px; color: #aaa; }
.yt-placeholder a {
    background: #ff0000;
    color: #fff;
    border-radius: 6px;
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 700;
}

/* Copy lyrics button */
.lyrics-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    border: 1.5px solid var(--border);
    background: var(--bg);
    color: #444;
    cursor: pointer;
    transition: all var(--transition);
}
.action-btn:hover { border-color: var(--primary); color: var(--primary); background: #f0f2ff; }
.action-btn svg { width: 14px; height: 14px; fill: currentColor; }

/* ============================================================
   ARTIST PAGE
   ============================================================ */
.artist-header {
    background: var(--primary);
    padding: 28px 20px;
    border-bottom: 3px solid var(--accent);
}
.artist-header__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    gap: 20px;
    align-items: center;
}
.artist-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    font-size: 36px;
    font-weight: 800;
    color: var(--yellow);
}
.artist-avatar img { width: 100%; height: 100%; object-fit: cover; }
.artist-info h1 { font-size: 26px; font-weight: 800; color: #fff; margin-bottom: 5px; }
.artist-info p { font-size: 13px; color: #9fa8da; }
.artist-song-count {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    color: #c5cae9;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    margin-top: 8px;
}

/* ============================================================
   SEARCH RESULTS
   ============================================================ */
.search-header {
    background: var(--primary);
    padding: 24px 20px;
    border-bottom: 3px solid var(--accent);
}
.search-header__inner {
    max-width: var(--container);
    margin: 0 auto;
}
.search-header h1 { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.search-header p { font-size: 13px; color: #9fa8da; }
.search-form-big {
    display: flex;
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 14px;
    max-width: 520px;
}
.search-form-big input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 11px 16px;
    font-size: 14px;
    color: #fff;
}
.search-form-big input::placeholder { color: #9fa8da; }
.search-form-big button {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 11px 22px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.no-results svg { width: 48px; height: 48px; fill: var(--border); margin: 0 auto 16px; }
.no-results h3 { font-size: 18px; color: var(--primary); margin-bottom: 8px; }
.no-results p { font-size: 13px; color: var(--text-muted); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
    display: flex;
    flex-direction: row;  /* force horizontal */
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
    margin-bottom: 8px;
}
.pagination a,
.pagination span,
.pagination .page-numbers {
    min-width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    border: 1.5px solid var(--border);
    background: var(--white);
    color: #444;
    text-decoration: none;
    transition: all .15s;
    padding: 0 10px;
    cursor: pointer;
    line-height: 1;
}
.pagination a:hover,
.pagination a.page-numbers:hover { border-color: var(--primary); color: var(--primary); background: #f0f2ff; }
.pagination .current,
.pagination span.current { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination .dots { border: none; background: none; color: var(--text-muted); min-width: auto; }

/* Also style WordPress default pagination UL output */
.page-numbers.page-numbers {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 24px auto 0;
    justify-content: center;
    align-items: center;
}
.page-numbers li { list-style: none; margin: 0; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
    flex-wrap: wrap;
    padding: 12px 0;
}
.breadcrumb a { color: var(--primary); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--border); }

/* ============================================================
   LEGAL / CONTENT PAGES
   ============================================================ */
.legal-content-wrap {
    max-width: var(--container);
    margin: 24px auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 22px;
    padding: 0 16px;
}
.legal-main {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px 32px;
}
.prose h2 {
    font-size: 17px;
    font-weight: 800;
    color: var(--primary);
    margin: 28px 0 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin: 18px 0 8px;
}
.prose p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 12px; }
.prose ul { padding-left: 20px; margin-bottom: 12px; list-style: disc; }
.prose ul li { font-size: 13.5px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 5px; }
.prose a { color: var(--primary); text-decoration: underline; }
.prose .highlight-box {
    background: #e8f0fe;
    border-left: 4px solid var(--primary);
    border-radius: 0 6px 6px 0;
    padding: 12px 16px;
    margin: 16px 0;
}
.prose .highlight-box p { margin: 0; font-size: 13px; color: var(--primary); }
.prose .warning-box {
    background: #fff8e1;
    border-left: 4px solid var(--accent);
    border-radius: 0 6px 6px 0;
    padding: 12px 16px;
    margin: 16px 0;
}
.prose .warning-box p { margin: 0; font-size: 13px; color: var(--accent-dark); }

/* TOC Card */
.toc-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 16px;
    overflow: hidden;
}
.toc-head {
    background: var(--primary);
    padding: 10px 14px;
}
.toc-head-title {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.toc-head-title span { color: var(--yellow); }
.toc-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-bottom: 1px solid var(--border-light);
    font-size: 12.5px;
    color: var(--primary);
    text-decoration: none;
}
.toc-item:last-child { border-bottom: none; }
.toc-item:hover { background: #f8f9ff; }
.toc-num { font-size: 11px; font-weight: 700; color: var(--text-muted); width: 18px; flex-shrink: 0; }

/* Legal pages nav */
.legal-nav {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}
.legal-nav__head { background: var(--primary); padding: 10px 14px; }
.legal-nav__title {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.legal-nav__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-light);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: background var(--transition);
}
.legal-nav__item:last-child { border-bottom: none; }
.legal-nav__item:hover,
.legal-nav__item.active { background: #e8f0fe; }
.legal-nav__arr { font-size: 11px; color: var(--text-muted); }

/* ============================================================
   ABOUT / CONTACT
   ============================================================ */
.contact-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px 32px;
}
.form-row { margin-bottom: 16px; }
.form-row label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: #444;
    margin-bottom: 5px;
    letter-spacing: 0.02em;
}
.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    background: #f8f9ff;
    border: 1.5px solid var(--border);
    border-radius: 7px;
    padding: 9px 13px;
    font-size: 13px;
    color: var(--text);
    outline: none;
    transition: border-color var(--transition);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { border-color: var(--primary); }
.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--text-light); }
.form-row textarea { resize: vertical; min-height: 120px; }
.submit-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: background var(--transition);
}
.submit-btn:hover { background: var(--primary-light); }

/* ============================================================
   UPLOAD PAGE
   ============================================================ */
.upload-header {
    background: var(--primary);
    padding: 22px 20px;
    border-bottom: 3px solid var(--accent);
}
.upload-header__inner {
    max-width: var(--container);
    margin: 0 auto;
}
.upload-header h1 { font-size: 24px; font-weight: 800; color: #fff; }
.upload-header p { font-size: 13px; color: #9fa8da; margin-top: 3px; }
.upload-body {
    max-width: var(--container);
    margin: 20px auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 20px;
    padding: 0 16px;
}
.form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 22px;
}
.fsec {
    font-size: 11px;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 18px 0 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--border);
}
.fsec:first-child { margin-top: 0; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.frow { margin-bottom: 12px; }
.frow label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: #444;
    margin-bottom: 5px;
}
.frow input,
.frow select {
    width: 100%;
    background: #f8f9ff;
    border: 1.5px solid var(--border);
    border-radius: 7px;
    padding: 9px 13px;
    font-size: 13px;
    color: var(--text);
    outline: none;
    transition: border-color var(--transition);
}
.frow input:focus,
.frow select:focus { border-color: var(--primary); }
.frow input::placeholder { color: var(--text-light); }
.lyr-tabs {
    display: flex;
    border-bottom: 2px solid var(--border);
}
.lt {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    color: #666;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color var(--transition);
}
.lt.active { color: var(--primary); border-bottom-color: var(--accent); }
.lyr-pane {
    background: #f8f9ff;
    border: 1.5px solid var(--border);
    border-top: none;
    border-radius: 0 0 8px 8px;
    margin-bottom: 14px;
}
.lyr-pane textarea {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 14px;
    font-size: 13px;
    color: var(--text);
    line-height: 1.9;
    resize: vertical;
    font-family: inherit;
}
.tip-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 14px;
}
.tip-head {
    font-size: 11px;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 12px;
}
.tip-row {
    display: flex;
    gap: 8px;
    margin-bottom: 9px;
    font-size: 12.5px;
    color: #555;
    line-height: 1.5;
}
.tip-icon { font-size: 13px; flex-shrink: 0; width: 16px; }

/* ============================================================
   404 PAGE
   ============================================================ */
.not-found {
    text-align: center;
    padding: 80px 20px;
}
.not-found h1 {
    font-size: 120px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    opacity: 0.12;
}
.not-found h2 { font-size: 24px; font-weight: 800; color: var(--primary); margin-bottom: 12px; margin-top: -20px; }
.not-found p { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.not-found .btn-primary {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--primary);
    margin-top: 36px;
    padding: 32px 20px 0;
}
.site-footer__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .fn { font-size: 22px; font-weight: 800; color: #fff; }
.footer-brand .fn em { color: var(--yellow); font-style: normal; }
.footer-brand p {
    font-size: 12.5px;
    color: #9fa8da;
    margin-top: 8px;
    line-height: 1.7;
    max-width: 240px;
}
.footer-col h4 {
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}
.footer-col a {
    display: block;
    font-size: 12.5px;
    color: #9fa8da;
    text-decoration: none;
    margin-bottom: 7px;
    transition: color var(--transition);
}
.footer-col a:hover { color: #fff; }
.site-footer__bottom {
    max-width: var(--container);
    margin: 0 auto;
    padding: 14px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.site-footer__bottom p { font-size: 11.5px; color: #7986cb; }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
    font-size: 11.5px;
    color: #7986cb;
    text-decoration: none;
    transition: color var(--transition);
}
.footer-social a:hover { color: #fff; }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.hidden { display: none !important; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.text-center { text-align: center; }
.w-full { width: 100%; }

/* Back to top */
#back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: var(--shadow-hover);
    transition: background var(--transition);
}
#back-to-top.visible { display: flex; }
#back-to-top:hover { background: var(--primary-light); }
#back-to-top svg { width: 18px; height: 18px; fill: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .main-wrap,
    .detail-body,
    .legal-content-wrap,
    .upload-body {
        grid-template-columns: 1fr;
    }
    .sidebar { display: none; }
    .site-hero__inner {
        grid-template-columns: 1fr;
    }
    .hero-cards { display: none; }
    .hero-stats { gap: 18px; }
    .site-footer__inner {
        grid-template-columns: 1fr 1fr;
    }
    .detail-header__inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .dh-art { width: 120px; height: 120px; }
    .fgrid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .site-header { flex-wrap: wrap; gap: 10px; }
    .site-search { display: none; }
    .menu-toggle { display: flex; }
    .site-navbar-wrap { display: none; }
    .site-navbar-wrap.open { display: block; }
    .site-navbar { flex-direction: column; align-items: flex-start; }
    .site-navbar a { width: 100%; border-bottom: 1px solid var(--border-light) !important; padding: 12px 16px; }
    .site-navbar .upload-link { width: 100%; }
    .site-hero h1 { font-size: 24px; }
    .hero-stats { flex-wrap: wrap; }
    .hstat-num { font-size: 18px; }
    .site-footer__inner { grid-template-columns: 1fr; }
    .dh-title { font-size: 20px; }
    .site-topbar { display: none; }
    .legal-main { padding: 20px 16px; }
    .contact-form { padding: 20px 16px; }
    .lyric-row { padding: 9px 10px; gap: 10px; }
    .lr-thumb { width: 56px; height: 44px; }
}

@media (max-width: 400px) {
    .site-logo__name { font-size: 20px; }
    .site-logo__mark { width: 38px; height: 38px; }
}


/* ============================================================
   SINGLE LYRICS PAGE — FIXED STYLES (v1.1)
   ============================================================ */

/* ── Detail header info block ── */
.dh-info { flex: 1; }

/* ── THE fix: tabs + panels in ONE unified card ── */
.lyric-tabs-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 0;
}

/* Tab navigation bar — flush top of card */
.lyric-tabs-card .tabs-row {
    display: flex;
    border-bottom: 2px solid var(--border);
    background: var(--white);
    margin: 0;
    padding: 0;
}

/* Tab buttons */
.lyric-tabs-card .tab {
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    color: #666;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    background: transparent;
    font-family: inherit;
    transition: color 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
}
.lyric-tabs-card .tab:hover { color: var(--primary); }
.lyric-tabs-card .tab.active {
    color: var(--primary);
    border-bottom-color: var(--accent);
}

/* Tab panels — directly below the tab bar, no extra border */
.tab-panel {
    padding: 20px 22px;
    display: block;
}

/* ── Copy bar (above lyrics text) ── */
.lyrics-copy-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 0 16px;
    flex-wrap: wrap;
}
.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    border: 1.5px solid var(--border);
    background: var(--bg);
    color: #444;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    transition: all 0.15s ease;
    line-height: 1;
}
.copy-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #f0f2ff;
}
.copy-btn--yt {
    color: #c0392b;
    border-color: #ffd0d0;
    background: #fff5f5;
}
.copy-btn--yt:hover {
    background: #fff0f0;
    border-color: #ff0000;
}

/* ── Lyrics text ── */
.lyrics-text {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-secondary);
}

/* Stanza-based lyrics layout */
.lyrics-stanza {
    margin-bottom: 1.6em;   /* gap between stanzas */
}
.lyrics-stanza:last-child {
    margin-bottom: 0;
}
.lyrics-line {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    min-height: 1.7em;      /* preserve empty lines */
}
.lyrics-text .chorus-label,
.chorus-label {
    display: block;
    font-size: 10.5px;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 20px 0 6px;
}
.lyrics-text br + .chorus-label { margin-top: 10px; }

.lyrics-empty { padding: 20px 0; font-size: 14px; color: var(--text-muted); }
.lyrics-empty a { color: var(--primary); font-weight: 600; }

/* ── YouTube responsive embed ── */
.yt-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 6px;
}
.yt-responsive iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

/* YouTube placeholder (when only URL, no embed ID) */
.yt-placeholder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 48px 20px;
    background: #0f0f0f;
    border-radius: 6px;
    text-align: center;
}
.yt-placeholder-inner p { color: #aaa; font-size: 14px; }
.yt-watch-btn {
    background: #ff0000;
    color: #fff;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s;
}
.yt-watch-btn:hover { background: #cc0000; }

/* ── Song Information Table ── */
.song-info-table {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 20px;
}
.song-info-head {
    background: var(--primary);
    padding: 10px 16px;
    font-size: 11px;
    font-weight: 800;
    color: var(--yellow);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.song-info-body { padding: 0; }
.song-info-row {
    display: flex;
    border-bottom: 1px solid var(--border-light);
    font-size: 13px;
}
.song-info-row:last-child { border-bottom: none; }
.song-info-label {
    width: 120px;
    flex-shrink: 0;
    padding: 10px 16px;
    font-weight: 700;
    color: var(--primary);
    background: #f8f9ff;
    border-right: 1px solid var(--border-light);
}
.song-info-value {
    padding: 10px 16px;
    color: var(--text-secondary);
    flex: 1;
}

/* ── Detail body grid (left col name) ── */
.detail-main-col { min-width: 0; }

/* ── Sidebar sb-thumb: show colored icon when no image ── */
.sb-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
}
.sb-thumb img { border-radius: 4px; }

/* ── Responsive fixes for single page ── */
@media (max-width: 900px) {
    .detail-header__inner { flex-direction: column; gap: 14px; }
    .dh-art { width: 100px; height: 100px; align-self: flex-start; }
    .dh-title { font-size: 20px; }
    .dh-meta { gap: 5px; }
    .dh-meta-chip { font-size: 10.5px; padding: 3px 9px; }
}
@media (max-width: 640px) {
    .tab-panel { padding: 14px 14px; }
    .lyric-tabs-card .tab { padding: 10px 14px; font-size: 12px; }
    .lyrics-text { font-size: 14px; }
    .lyrics-line { font-size: 14px; line-height: 1.65; }
    .song-info-label { width: 95px; font-size: 12px; padding: 8px 12px; }
    .song-info-value { font-size: 12px; padding: 8px 12px; }
}

/* ── Custom Logo (uploaded via Customizer) ── */
.site-logo--image {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}
.site-logo--image:hover { opacity: 0.9; }
.site-logo__img {
    max-height: 46px;    /* header height अनुसार */
    max-width: 200px;    /* धेरै ठूलो नहोस् */
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}
@media (max-width: 900px) {
    .site-logo__img { max-height: 40px; max-width: 160px; }
}
@media (max-width: 640px) {
    .site-logo__img { max-height: 36px; max-width: 130px; }
}

/* ============================================================
   HOMEPAGE PRO REDESIGN
   ============================================================ */

/* ── Hero Section ── */
.hp-hero {
    background: linear-gradient(135deg, #1a237e 0%, #0d1257 60%, #1a237e 100%);
    padding: 44px 20px 40px;
    border-bottom: 3px solid var(--accent);
    position: relative;
    overflow: hidden;
}
.hp-hero::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    pointer-events: none;
}
.hp-hero::after {
    content: '';
    position: absolute;
    bottom: -80px; left: 30%;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(245,124,0,0.06);
    pointer-events: none;
}
.hp-hero__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
    position: relative;
    z-index: 1;
}
.hp-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245,124,0,0.18);
    color: var(--yellow);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(245,124,0,0.3);
    margin-bottom: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.hp-hero__title {
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}
.hp-hero__title span { color: var(--yellow); }
.hp-hero__sub {
    font-size: 14px;
    color: #9fa8da;
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 24px;
}

/* Hero Search */
.hp-hero__search-wrap {
    display: flex;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    max-width: 480px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.hp-hero__search-icon {
    width: 18px; height: 18px;
    color: #9fa8da;
    margin: 0 12px 0 16px;
    flex-shrink: 0;
    align-self: center;
}
.hp-hero__search-wrap input {
    flex: 1;
    border: none;
    outline: none;
    padding: 13px 8px;
    font-size: 14px;
    color: var(--text);
    background: transparent;
}
.hp-hero__search-wrap input::placeholder { color: #bbb; }
.hp-hero__search-wrap button {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 13px 22px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: background .15s;
    white-space: nowrap;
}
.hp-hero__search-wrap button:hover { background: var(--accent-dark); }

/* Hero Stats */
.hp-hero__stats {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 22px;
    flex-wrap: wrap;
}
.hstat-n {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.hstat-l {
    font-size: 10px;
    color: #7986cb;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-top: 3px;
    font-weight: 600;
}
.hstat-div {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,0.12);
}

/* ── Hero Trending Cards (RIGHT SIDE) ── */
.hp-hero__right {
    position: relative;
    overflow: hidden;
    max-height: 420px;
    display: flex;
    flex-direction: column;
}
.hp-trending-label {
    font-size: 10px;
    font-weight: 800;
    color: var(--yellow);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}
.hp-feat-cards {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
    flex: 1;
}

/* Featured card (rank 1 — large) */
.hp-feat-card--featured {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    transition: background .15s, transform .15s;
}
.hp-feat-card--featured:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-2px);
}
.hp-feat-card__img {
    position: relative;
    height: 150px;
    overflow: hidden;
}
.hp-feat-card__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.hp-feat-card__placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
}
.hp-feat-card__genre {
    position: absolute;
    top: 8px; left: 8px;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 10px;
    letter-spacing: 0.04em;
}
.hp-feat-card__rank {
    position: absolute;
    top: 8px; right: 8px;
    width: 26px; height: 26px;
    background: rgba(0,0,0,0.5);
    color: var(--yellow);
    font-size: 13px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hp-feat-card__body {
    padding: 10px 12px;
}
.hp-feat-card__title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hp-feat-card__artist {
    font-size: 11px;
    color: #9fa8da;
    margin-top: 3px;
}
.hp-feat-card__views {
    font-size: 10px;
    color: #7986cb;
    margin-top: 4px;
}

/* Small cards (rank 2 & 3) */
.hp-feat-card {
    text-decoration: none;
    display: block;
}
.hp-feat-card__small {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 10px 12px;
    transition: background .15s;
    overflow: hidden;
}
.hp-feat-card:hover .hp-feat-card__small {
    background: rgba(255,255,255,0.11);
}
.hp-feat-card__small-thumb {
    width: 52px; height: 40px;
    border-radius: 6px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hp-feat-card__small-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.hp-feat-card__small-body {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}
.hp-feat-card__small-rank {
    font-size: 18px;
    font-weight: 900;
    color: rgba(255,255,255,0.15);
    width: 20px;
    flex-shrink: 0;
    line-height: 1;
}
.hp-feat-card__small .hp-feat-card__title {
    font-size: 12px;
}
.hp-feat-card__small .hp-feat-card__artist {
    font-size: 10.5px;
}

/* ── Category Pills Strip ── */
.hp-cats-strip {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}
.hp-cats-strip__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.hp-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 22px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid var(--cat-color, #1a237e);
    color: var(--cat-color, #1a237e);
    background: transparent;
    transition: background .15s, color .15s;
    white-space: nowrap;
}
.hp-cat-pill:hover {
    background: var(--cat-color, #1a237e);
    color: #fff;
}
.hp-cat-pill__icon { font-size: 14px; }
.hp-cat-pill__name { font-weight: 800; }
.hp-cat-pill__count {
    font-size: 10px;
    font-weight: 600;
    opacity: 0.7;
}

/* ── Ad wrap ── */
.hp-ad-wrap {
    max-width: var(--container);
    margin: 16px auto;
    padding: 0 16px;
}

/* ── Section heading: colored accent line ── */
.sh-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--primary);
    padding-bottom: 10px;
    border-bottom: 3px solid var(--accent);
    margin-bottom: -2px;
}

/* ── Responsive hero ── */
@media (max-width: 960px) {
    .hp-hero__inner { grid-template-columns: 1fr; }
    .hp-hero__right { display: none; }
    .hp-hero__title { font-size: 32px; }
}
@media (max-width: 640px) {
    .hp-hero { padding: 28px 16px; }
    .hp-hero__title { font-size: 26px; }
    .hp-cats-strip__inner { gap: 6px; }
    .hp-cat-pill { padding: 5px 10px; font-size: 11.5px; }
}

/* ============================================================
   PRO PAGINATION — lq-pagination
   ============================================================ */
.lq-pagination {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
    margin: 28px 0 8px;
}
.lq-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #444;
    background: var(--white);
    border: 1.5px solid var(--border);
    text-decoration: none;
    transition: all .15s ease;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
}
.lq-page-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(26,35,126,0.18);
}
.lq-page-current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 3px 8px rgba(26,35,126,0.25);
    cursor: default;
}
.lq-page-arrow {
    font-size: 18px;
    font-weight: 400;
    color: var(--primary);
    background: #f0f2ff;
    border-color: #c5cae9;
    min-width: 38px;
    padding: 0;
}
.lq-page-arrow:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.lq-page-dots {
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 700;
    padding: 0 4px;
    cursor: default;
    display: inline-flex;
    align-items: center;
    height: 38px;
}

/* ============================================================
   PRO SIDEBAR — clean design, no default WP widgets
   ============================================================ */

/* Override any default WP widget styling that might leak */
.sidebar .widget,
.sidebar .widgettitle,
.sidebar h2.widgettitle {
    display: none !important;
}

/* Our custom sb-card widgets always visible */
.sidebar .sb-card,
.sidebar .ad-banner,
.sidebar .cat-grid,
.sidebar .sb-item,
.sidebar .sb-head {
    display: block !important;
}
.sidebar .cat-grid { display: grid !important; }
.sidebar .sb-item  { display: flex !important; }
.sidebar .sb-head  { display: flex !important; }

/* ============================================================
   SINGLE LYRICS PAGE — PRO REDESIGN v2
   ============================================================ */

/* ── Detail Header — more attractive ── */
.detail-header {
    background: linear-gradient(135deg, #1a237e 0%, #0d1257 70%, #1a237e 100%);
    padding: 24px 20px 28px;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid var(--accent);
}
.detail-header::after {
    content: '';
    position: absolute;
    bottom: -40px; right: -40px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(245,124,0,0.07);
    pointer-events: none;
}
.detail-header__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    gap: 22px;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

/* Artwork — more polished */
.dh-art {
    width: 140px;
    height: 140px;
    border-radius: 14px;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    border: 2px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}
.dh-art img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 12px;
}
.dh-art svg {
    width: 52px; height: 52px;
    fill: rgba(255,204,2,0.5);
}

/* Meta chips — cleaner pill style */
.dh-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}
.dh-meta-chip {
    background: rgba(255,255,255,0.09);
    color: #c5cae9;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    gap: 5px;
}
.dh-meta-chip strong {
    color: rgba(255,255,255,0.7);
    font-weight: 600;
}

/* Share buttons — cleaner */
.share-row {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}
.share-lbl {
    font-size: 10px;
    font-weight: 800;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.share-ico {
    width: 32px; height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    transition: transform 0.15s, opacity 0.15s;
}
.share-ico:hover { transform: translateY(-2px); opacity: 0.9; }

/* ── Lyrics Card — more professional ── */
.lyric-tabs-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(26,35,126,0.06);
}

/* Tab bar */
.lyric-tabs-card .tabs-row {
    background: #f8f9ff;
    border-bottom: 2px solid var(--border);
    padding: 0 4px;
    display: flex;
    gap: 0;
}
.lyric-tabs-card .tab {
    padding: 13px 20px;
    font-size: 13px;
    font-weight: 700;
    color: #666;
    border: none;
    border-bottom: 3px solid transparent;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.15s, border-color 0.15s;
    white-space: nowrap;
    margin-bottom: -2px;
}
.lyric-tabs-card .tab:hover { color: var(--primary); }
.lyric-tabs-card .tab.active {
    color: var(--primary);
    border-bottom-color: var(--accent);
    background: var(--white);
}

/* Tab panel */
.tab-panel { padding: 22px 24px; }

/* ── Lyrics stanza display ── */
.lyrics-stanza {
    margin-bottom: 1.4em;
}
.lyrics-stanza:last-child { margin-bottom: 0; }
.lyrics-line {
    font-size: 15.5px;
    line-height: 1.75;
    color: #2a2e40;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Chorus label — bold accent */
.chorus-label {
    display: inline-block;
    font-size: 9.5px;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: rgba(245,124,0,0.08);
    border: 1px solid rgba(245,124,0,0.2);
    padding: 3px 10px;
    border-radius: 10px;
    margin: 16px 0 8px;
}

/* Copy bar */
.lyrics-copy-bar {
    display: flex;
    gap: 8px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    background: var(--bg);
    color: #555;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    transition: all 0.15s;
}
.copy-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #f0f2ff;
    transform: translateY(-1px);
}

/* ── Song Info Table — better design ── */
.song-info-table {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 20px;
    box-shadow: 0 2px 8px rgba(26,35,126,0.04);
}
.song-info-head {
    background: var(--primary);
    padding: 11px 18px;
    font-size: 11px;
    font-weight: 800;
    color: var(--yellow);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 8px;
}
.song-info-head::before { content: '🎵'; font-size: 13px; }
.song-info-row {
    display: flex;
    border-bottom: 1px solid var(--border-light);
    font-size: 13px;
    transition: background 0.12s;
}
.song-info-row:last-child { border-bottom: none; }
.song-info-row:hover { background: #f8f9ff; }
.song-info-label {
    width: 110px;
    flex-shrink: 0;
    padding: 11px 16px;
    font-weight: 700;
    color: var(--primary);
    font-size: 12px;
}
.song-info-value {
    padding: 11px 16px;
    color: var(--text-secondary);
    flex: 1;
    font-size: 13px;
}

/* ── Related Songs sidebar card ── */
.sb-item:hover .sb-title { color: var(--primary); }
.sb-title { transition: color 0.15s; }

/* ── Detail body grid ── */
.detail-body {
    max-width: var(--container);
    margin: 20px auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--sidebar-width);
    gap: 20px;
    padding: 0 16px;
}
.detail-main-col { min-width: 0; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .detail-header__inner { flex-direction: column; gap: 14px; }
    .dh-art { width: 100px; height: 100px; align-self: flex-start; }
    .dh-title { font-size: 20px; }
    .detail-body { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .tab-panel { padding: 16px; }
    .lyric-tabs-card .tab { padding: 11px 14px; font-size: 12px; }
    .lyrics-line { font-size: 14.5px; }
    .dh-art { width: 80px; height: 80px; border-radius: 10px; }
    .dh-title { font-size: 18px; }
    .dh-meta-chip { font-size: 11px; padding: 4px 10px; }
}

/* ── Breadcrumb inside dark detail-header ── */
.detail-header .breadcrumb {
    padding: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 12px;
}
.detail-header .breadcrumb a {
    color: #9fa8da;          /* light purple-blue — visible on dark bg */
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s;
}
.detail-header .breadcrumb a:hover { color: #fff; }
.detail-header .breadcrumb-sep {
    color: rgba(255,255,255,0.25);
    font-size: 13px;
}
.detail-header .breadcrumb span {
    color: rgba(255,255,255,0.5);  /* current page — dimmed */
    font-size: 11.5px;
}

/* ── dh-info: flex column ── */
.dh-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* ── dh-title visible ── */
.dh-title {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 5px;
}
.dh-deva {
    font-size: 14px;
    color: #9fa8da;
    margin-bottom: 14px;
}

/* Category pill in header */
.dh-cat-pill {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    color: #c5cae9;
    font-size: 10.5px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 14px;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    border: 1px solid rgba(255,255,255,0.15);
    align-self: flex-start;
}

/* ============================================================
   COMPREHENSIVE DESIGN FIXES
   ============================================================ */

/* ── 1. Topbar links — visible on dark bg ── */
.site-topbar__inner a {
    color: #c5cae9 !important;
    font-size: 11px;
}
.site-topbar__inner a:hover { color: #fff !important; }

/* ── 2. Category page breadcrumb — visible ── */
.page-hero .breadcrumb a {
    color: #9fa8da !important;
    font-weight: 600;
}
.page-hero .breadcrumb a:hover { color: #fff !important; }
.page-hero .breadcrumb-sep { color: rgba(255,255,255,0.3) !important; }
.page-hero .breadcrumb span { color: rgba(255,255,255,0.55) !important; }
.page-hero .breadcrumb { padding: 0 0 10px; }

/* ── 3. Footer — Pro Mobile Design ── */
@media (max-width: 640px) {
    .site-footer { padding: 28px 16px 0; }
    .site-footer__inner {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    .footer-brand { margin-bottom: 4px; }
    .footer-brand .fn { font-size: 20px; }
    .footer-brand p { font-size: 12px; max-width: 100%; }
    .footer-col h4 {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--yellow);
        margin-bottom: 10px;
        padding-bottom: 6px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .footer-col a {
        font-size: 12.5px;
        margin-bottom: 8px;
        display: block;
        color: #9fa8da;
        padding: 2px 0;
    }
    .site-footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 16px 0;
    }
    .footer-social { justify-content: center; gap: 20px; }
    .footer-social a { font-size: 12px; color: #9fa8da; }
}

@media (max-width: 900px) {
    .site-footer__inner {
        grid-template-columns: 1fr 1fr !important;
    }
}

/* ── 4. AdSense placeholder areas — better styled ── */
.ad-banner {
    background: #fffde7;
    border: 1.5px dashed #f9a825;
    border-radius: 8px;
    text-align: center;
    padding: 12px;
    font-size: 11px;
    color: #827717;
    font-weight: 600;
    letter-spacing: 0.04em;
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
/* When actual AdSense code is inside */
.ad-banner ins.adsbygoogle {
    display: block !important;
    width: 100%;
}
.ad-placement {
    width: 100%;
    text-align: center;
    overflow: hidden;
}

/* ── 5. Category page — breadcrumb-nav inside page-hero ── */
.page-hero__inner .breadcrumb-nav a { color: #9fa8da; text-decoration: none; }
.page-hero__inner .breadcrumb-nav a:hover { color: #fff; }
.page-hero__inner .breadcrumb-nav span { color: rgba(255,255,255,0.3); margin: 0 5px; }

/* ── 6. Topbar date/text visibility ── */
.site-topbar { background: #0d1257; }
.site-topbar__inner { justify-content: center; gap: 20px; }
.site-topbar__inner a {
    font-size: 11px;
    color: rgba(197,202,233,0.85);
    transition: color 0.15s;
}

/* ── TOPBAR — force white text always ── */
.site-topbar,
.site-topbar * { box-sizing: border-box; }
.site-topbar { background: #0d1257 !important; }
.site-topbar__inner a,
.site-topbar__inner a:visited,
.site-topbar__inner a:link {
    color: #c5cae9 !important;
    font-size: 11px !important;
    text-decoration: none !important;
}
.site-topbar__inner a:hover { color: #ffffff !important; }

/* ── Page Hero — ALL text elements visible on dark bg ── */
.page-hero { color: rgba(255,255,255,0.85); }
.page-hero p,
.page-hero .updated,
.page-hero .post-date,
.page-hero time,
.page-hero span,
.page-hero small,
.page-hero div {
    color: rgba(255,255,255,0.7) !important;
}
.page-hero h1 { color: #ffffff !important; }
.page-hero a { color: #9fa8da !important; }
.page-hero a:hover { color: #ffffff !important; }

/* ── Hero small cards — prevent text cut-off ── */
.hp-feat-card__small-body {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    padding-right: 12px;
}
.hp-feat-card__small .hp-feat-card__title {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}
.hp-feat-card__small {
    padding: 10px 0 10px 10px;
}

/* ── Hero right — proper inner padding ── */
.hp-hero__right {
    padding-right: 0;
}
.hp-feat-card--featured,
.hp-feat-card__small {
    margin-right: 0;
}

/* ============================================================
   DISCOVERY SECTIONS (More by Artist, More Genre, Tags)
   ============================================================ */

/* ── Discovery Card container ── */
.discovery-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}
.discovery-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
    background: #f8f9ff;
}
.discovery-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
}
.discovery-title em {
    font-style: normal;
    color: var(--accent);
}
.discovery-more {
    font-size: 12px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
.discovery-more:hover { color: var(--accent); }

/* ── Cards list — horizontal scroll on mobile, wrap on desktop ── */
.discovery-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}
.discovery-scroll {
    padding: 12px;
    gap: 10px;
}

/* ── Individual disc-card ── */
.disc-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
    color: inherit;
    width: 100%;
    transition: background 0.15s;
}
.disc-card:last-child { border-bottom: none; }
.disc-card:hover { background: #f8f9ff; }

.disc-card__img {
    width: 56px;
    height: 42px;
    border-radius: 7px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.disc-card__img img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.disc-card__badge {
    position: absolute;
    bottom: 3px; left: 3px;
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 6px;
    letter-spacing: 0.03em;
}
.disc-card__body { flex: 1; min-width: 0; }
.disc-card__title {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.disc-card__sub {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ── Tags row ── */
.lq-tags-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    padding: 12px 0;
}
.lq-tags-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}
.lq-tag {
    display: inline-block;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 16px;
    border: 1.5px solid var(--border);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.15s;
    background: var(--white);
}
.lq-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #f0f2ff;
}

/* ── Mobile: horizontal scroll for discovery cards ── */
@media (max-width: 640px) {
    .discovery-scroll {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 10px;
    }
    .discovery-scroll::-webkit-scrollbar { display: none; }
    .disc-card {
        flex-direction: column;
        align-items: flex-start;
        width: 130px;
        min-width: 130px;
        border-bottom: none;
        border-right: 1px solid var(--border-light);
        padding: 10px;
    }
    .disc-card:last-child { border-right: none; }
    .disc-card__img {
        width: 100%;
        height: 80px;
        border-radius: 8px;
        margin-bottom: 6px;
    }
    .disc-card__title {
        font-size: 12px;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

/* ============================================================
   UPLOAD LYRICS PAGE — REDESIGNED
   ============================================================ */
.ul-body {
    max-width: var(--container, 1160px);
    margin: 24px auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
    align-items: start;
}

/* Section card */
.ul-section-card {
    background: var(--white, #fff);
    border: 1px solid var(--border, #e8eaf0);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
}
.ul-sec-head {
    background: var(--primary, #1a237e);
    color: #fff;
    padding: 11px 18px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ul-sec-note {
    font-size: 11px;
    font-weight: 400;
    color: rgba(255,255,255,0.7);
    margin-left: auto;
}
.ul-sec-body { padding: 18px; }

/* Grids */
.ul-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.ul-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

/* Row */
.ul-row { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.ul-row:last-child { margin-bottom: 0; }
.ul-row label {
    font-size: 11px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.ul-row input,
.ul-row select,
.ul-row textarea {
    padding: 9px 12px;
    border: 1.5px solid var(--border, #e8eaf0);
    border-radius: 7px;
    font-size: 13px;
    font-family: inherit;
    color: var(--text, #1a1e2e);
    background: var(--bg, #f8f9ff);
    transition: border-color 0.15s;
    width: 100%;
    box-sizing: border-box;
}
.ul-row input:focus,
.ul-row select:focus,
.ul-row textarea:focus {
    border-color: var(--primary, #1a237e);
    outline: none;
    background: #fff;
}
.ul-row textarea { resize: vertical; min-height: 280px; line-height: 1.8; font-family: monospace; width: 100%; box-sizing: border-box; }
.req { color: #e53935; }

/* Tabs */
.ul-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.ul-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 8px;
    border: 2px solid var(--border, #e8eaf0);
    background: var(--bg, #f8f9ff);
    font-size: 13px;
    font-weight: 700;
    color: #666;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
}
.ul-tab:hover { border-color: var(--primary, #1a237e); color: var(--primary, #1a237e); }
.ul-tab.active {
    border-color: var(--primary, #1a237e);
    background: var(--primary, #1a237e);
    color: #fff;
}
.ul-tab-icon { font-size: 16px; }
.ul-tab-badge {
    font-size: 9px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 8px;
    letter-spacing: 0.05em;
}
.req-badge { background: rgba(229,57,53,0.15); color: #c62828; }
.ul-tab.active .req-badge { background: rgba(255,255,255,0.2); color: #fff; }
.opt-badge { background: rgba(255,255,255,0.15); color: #888; }
.ul-tab.active .opt-badge { background: rgba(255,255,255,0.2); color: #fff; }

/* Pane hint */
.ul-pane-hint {
    background: #f0f2ff;
    border-left: 3px solid var(--primary, #1a237e);
    border-radius: 0 6px 6px 0;
    padding: 8px 14px;
    font-size: 12px;
    color: #555;
    margin-bottom: 10px;
}

/* Contributor card */
.ul-contributor-card .ul-sec-head { background: linear-gradient(135deg, #1a237e, #283593); }
.ul-contributor-intro {
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 13px;
    color: #5d4037;
    line-height: 1.7;
    margin-bottom: 16px;
}
.ul-contributor-preview {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border, #e8eaf0);
}
.ul-cp-label { font-size: 11px; color: #999; margin-bottom: 6px; }
.ul-cp-box {
    background: #f8f9ff;
    border: 1.5px dashed var(--primary, #1a237e);
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 13px;
    color: #555;
}
.ul-cp-box strong { color: var(--primary, #1a237e); }

/* Submit */
.ul-submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary, #1a237e);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s, transform 0.1s;
    letter-spacing: 0.03em;
}
.ul-submit-btn:hover { background: #283593; transform: translateY(-1px); }
.ul-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* Success */
.ul-success-box {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-radius: 10px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
    margin-bottom: 20px;
    min-height: 120px;
}
.ul-success-icon { font-size: 32px; flex-shrink: 0; }
.ul-success-msg { font-size: 14px; color: #2e7d32; line-height: 1.7; }

/* Error */
.ul-error-box {
    margin-top: 10px;
    background: #ffebee;
    border: 1px solid #ffcdd2;
    border-radius: 7px;
    padding: 11px 14px;
    color: #c62828;
    font-size: 13px;
}

/* Sidebar */
.ul-sidebar-col { display: flex; flex-direction: column; gap: 14px; }
.ul-guide-card {
    background: var(--white, #fff);
    border: 1px solid var(--border, #e8eaf0);
    border-radius: 12px;
    overflow: hidden;
}
.ul-guide-head {
    background: var(--primary, #1a237e);
    color: #fff;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 800;
}
.ul-guide-item {
    padding: 9px 16px;
    font-size: 12.5px;
    border-bottom: 1px solid var(--border, #f0f2f8);
    display: flex;
    align-items: center;
    gap: 8px;
}
.ul-guide-item:last-child { border-bottom: none; }
.ul-guide-item.good::before { content: '✓'; color: #2e7d32; font-weight: 800; flex-shrink: 0; }
.ul-guide-item.bad::before  { content: '✕'; color: #c62828; font-weight: 800; flex-shrink: 0; }
.ul-guide-step {
    padding: 9px 16px;
    font-size: 12.5px;
    border-bottom: 1px solid var(--border, #f0f2f8);
    display: flex;
    align-items: center;
    gap: 10px;
    color: #444;
}
.ul-guide-step:last-child { border-bottom: none; }
.ul-guide-step span {
    width: 22px; height: 22px;
    background: var(--primary, #1a237e);
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Mobile */
@media (max-width: 640px) {
    .ul-body { grid-template-columns: 1fr; }
    .ul-grid-3 { grid-template-columns: 1fr 1fr; }
    .ul-sidebar-col { order: -1; }
}
@media (max-width: 540px) {
    .ul-grid-3 { grid-template-columns: 1fr; }
    .ul-grid-2 { grid-template-columns: 1fr; }
}

.ul-pane { width: 100%; }

/* ── Contributor Box — Single Lyrics Page ── */
.contributor-box {
    background: linear-gradient(135deg, #f0f2ff 0%, #fff8e1 100%);
    border: 1.5px solid #c5cae9;
    border-radius: 12px;
    padding: 16px 20px;
}
.contributor-box__inner {
    display: flex;
    align-items: center;
    gap: 14px;
}
.contrib-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary, #1a237e);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-transform: uppercase;
}
.contrib-info { flex: 1; min-width: 0; }
.contrib-label {
    font-size: 10px;
    font-weight: 700;
    color: #7986cb;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 3px;
}
.contrib-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--primary, #1a237e);
    text-decoration: none;
    display: block;
}
a.contrib-name:hover { color: var(--accent, #f57c00); }
.contrib-thanks {
    font-size: 12px;
    color: #888;
    margin-top: 3px;
}

/* ── Section Labels in Lyrics (# Intro, # Verse, [Chorus] etc.) ── */
.section-label {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    color: var(--accent, #f57c00);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: rgba(245, 124, 0, 0.08);
    border: 1px solid rgba(245, 124, 0, 0.2);
    padding: 3px 10px;
    border-radius: 10px;
    margin: 14px 0 6px;
}
.lyrics-stanza + .section-label { margin-top: 20px; }
