/* Jatav History – YouTube Songs Library */
.jh-music-page{--mb:#174b91;--mbd:#10366c;--mg:#d5a63b;--ink:#17243a;--muted:#718096;--line:#e7edf5;width:min(1220px,calc(100% - 32px));margin:28px auto 56px;color:var(--ink);font-family:inherit}
.jh-music-page *{box-sizing:border-box}.jh-music-hero{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:space-between;min-height:218px;padding:38px 48px;border-radius:20px;color:#fff;background:linear-gradient(115deg,#10366c,#174b91 58%,#2868ad);box-shadow:0 14px 34px #174b9126}
.jh-music-hero:before,.jh-music-hero:after{content:"";position:absolute;z-index:-1;border:1px solid #ffffff20;border-radius:50%}.jh-music-hero:before{width:340px;height:340px;right:105px;top:-205px}.jh-music-hero:after{width:440px;height:440px;right:-110px;bottom:-335px}.jh-music-hero-inner{z-index:1;max-width:700px}.jh-music-kicker,.jh-results-heading small,.jh-sidebar-heading small{display:inline-flex;align-items:center;gap:8px;font-size:10px;font-weight:800;letter-spacing:1.5px}.jh-music-kicker{color:#f4d58e}.jh-music-kicker b{font-size:20px}.jh-music-hero h1{margin:12px 0 8px;color:#fff;font-size:clamp(27px,4vw,39px);line-height:1.15;font-weight:800;letter-spacing:-.7px}.jh-music-hero p{margin:0;color:#ffffffd9;font-size:15px;line-height:1.65}.jh-music-hero-meta{display:flex;align-items:center;gap:12px;margin-top:22px;color:#ffffffc7;font-size:12px}.jh-music-hero-meta strong{color:#fff;font-size:14px}.jh-music-hero-meta i{width:4px;height:4px;border-radius:50%;background:#e3bd69}.jh-music-hero-art{position:relative;width:190px;height:150px;flex:0 0 190px;margin-right:18px}.music-disc{position:absolute;width:142px;height:142px;right:10px;top:2px;border-radius:50%;background:repeating-radial-gradient(circle,#101c31 0 3px,#253a59 4px 5px);box-shadow:0 15px 28px #0004}.music-disc:before{content:"";position:absolute;inset:48px;border-radius:50%;background:linear-gradient(135deg,#e4c06d,#b77b25)}.music-disc span{position:absolute;width:15px;height:15px;left:calc(50% - 7.5px);top:calc(50% - 7.5px);border-radius:50%;background:#fff}.note-one,.note-two{position:absolute;z-index:2;color:#f2d38c;text-shadow:0 5px 15px #0003}.note-one{font-size:48px;left:2px;top:0;transform:rotate(-12deg)}.note-two{font-size:34px;right:0;bottom:0;transform:rotate(12deg)}
.jh-music-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:25px 0 22px;padding:13px;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:0 5px 18px #18304f09}.jh-music-search{position:relative;display:flex;align-items:center;flex:1;min-width:190px;max-width:480px}.jh-music-search>span{position:absolute;left:15px;top:50%;transform:translateY(-54%);font-size:25px;color:#7b8ca4}.jh-music-search input{width:100%;height:46px;padding:0 42px 0 45px;border:1px solid #e7edf5;border-radius:10px;background:#f8fafd;color:var(--ink);font:inherit;font-size:13px;outline:none;transition:.2s}.jh-music-search input:focus{border-color:#7fa7d7;box-shadow:0 0 0 3px #174b9114;background:#fff}.jh-music-search input::placeholder{color:#9aa7b8}.jh-music-search button{position:absolute;right:10px;width:28px;height:28px;border:0;border-radius:50%;background:#e9eef5;color:#50617a;font-size:20px;cursor:pointer}.jh-music-tabs{display:flex;align-items:center;gap:5px;padding:4px;border-radius:11px;background:#f1f5fa}.jh-music-tab{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 15px;border:0;border-radius:8px;background:transparent;color:#61718a;font:inherit;font-size:13px;font-weight:700;cursor:pointer;transition:.2s}.jh-music-tab:hover{color:var(--mb);background:#fff}.jh-music-tab.is-active{background:var(--mb);color:#fff;box-shadow:0 3px 8px #174b912e}
.jh-music-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:24px;align-items:start}.jh-music-sidebar{position:sticky;top:18px;padding:20px 15px 15px;border:1px solid var(--line);border-radius:15px;background:#fff}.jh-sidebar-heading{display:flex;align-items:center;justify-content:space-between;margin:0 4px 15px}.jh-sidebar-heading small,.jh-results-heading small{color:#9aa7b7;font-size:9px;letter-spacing:1.4px}.jh-sidebar-heading h2{margin:4px 0 0;font-size:19px;font-weight:800}.jh-sidebar-heading>b{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:#eef4fb;color:var(--mb);font-size:12px}.jh-singer-filter{display:flex;align-items:center;gap:10px;width:100%;min-height:43px;margin:3px 0;padding:6px 8px;border:0;border-radius:9px;background:transparent;text-align:left;color:#53647b;cursor:pointer;transition:.18s}.jh-singer-filter:hover{background:#f5f8fc;color:var(--mb)}.jh-singer-filter.is-active{background:#edf4fc;color:var(--mb)}.singer-avatar{display:grid;place-items:center;width:29px;height:29px;flex:0 0 29px;border-radius:50%;background:#e9eff7;color:var(--mb);font-size:12px;font-weight:800}.jh-singer-filter.is-active .singer-avatar{background:var(--mb);color:#fff}.singer-name{overflow:hidden;flex:1;font-size:12px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.singer-count{color:#93a0b1;font-size:11px;font-weight:700}.jh-singer-empty{padding:8px 5px;color:#8997a9;font-size:12px;line-height:1.6}.jh-sidebar-note{display:flex;gap:9px;margin:17px 2px 0;padding:13px 10px;border-top:1px solid var(--line);color:#8795a7;font-size:11px;line-height:1.55}.jh-sidebar-note:first-letter{color:var(--mg)}
.jh-results-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin:2px 0 17px}.jh-results-heading h2{margin:4px 0 3px;font-size:23px;font-weight:800;letter-spacing:-.3px}.jh-results-heading p{margin:0;color:#8794a5;font-size:12px}.jh-results-heading>span{flex:0 0 auto;padding:7px 11px;border:1px solid var(--line);border-radius:20px;color:#6c7c91;font-size:11px;font-weight:700}.jh-song-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.jh-song-card{overflow:hidden;border:1px solid var(--line);border-radius:14px;background:#fff;transition:transform .2s,box-shadow .2s,border-color .2s}.jh-song-card:hover{transform:translateY(-3px);border-color:#d6e2f0;box-shadow:0 12px 25px #1c375817}.jh-song-card[hidden]{display:none!important}.jh-song-thumb{position:relative;overflow:hidden;aspect-ratio:16/9;background:#e8edf4}.jh-song-thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s}.jh-song-card:hover .jh-song-thumb img{transform:scale(1.035)}.jh-song-thumb:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#0004);pointer-events:none}.jh-song-play{position:absolute;z-index:2;left:50%;top:50%;display:grid;place-items:center;width:49px;height:49px;transform:translate(-50%,-50%);border:1px solid #ffffffbf;border-radius:50%;background:#123763e0;color:#fff;cursor:pointer;box-shadow:0 5px 18px #0004;transition:.2s}.jh-song-play:hover{transform:translate(-50%,-50%) scale(1.09);background:#d19d35}.jh-song-badge{position:absolute;z-index:2;left:11px;top:11px;padding:5px 8px;border-radius:5px;background:var(--mg);color:#17243a;font-size:9px;font-weight:900;letter-spacing:.7px}.jh-song-info{padding:14px 15px 12px}.jh-song-info>small{display:inline-block;margin-bottom:6px;color:var(--mb);font-size:9px;font-weight:800;letter-spacing:.7px;text-transform:uppercase}.jh-song-info h3{display:-webkit-box;overflow:hidden;margin:0 0 6px;color:#1d2a3d;font-size:15px;font-weight:800;line-height:1.4;-webkit-line-clamp:2;-webkit-box-orient:vertical}.jh-song-singer{margin:0;color:#64758c;font-size:12px;font-weight:600}.jh-song-description{display:-webkit-box;overflow:hidden;margin:8px 0 0;color:#8a97a8;font-size:11px;line-height:1.5;-webkit-line-clamp:2;-webkit-box-orient:vertical}.jh-song-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:13px;padding-top:10px;border-top:1px solid #edf1f6;color:#9aa6b5;font-size:10px}.jh-song-foot a{color:var(--mb);font-size:10px;font-weight:800;text-decoration:none;white-space:nowrap}.jh-song-foot a:hover{text-decoration:underline}.jh-song-player{position:relative;aspect-ratio:16/9;background:#111}.jh-song-player iframe{display:block;width:100%;height:100%;border:0}.jh-music-empty{padding:55px 20px;border:1px dashed #d6e0ec;border-radius:14px;background:#fafcff;text-align:center}.jh-music-empty[hidden]{display:none}.jh-music-empty>div{display:grid;place-items:center;width:55px;height:55px;margin:0 auto 13px;border-radius:17px;background:#edf4fc;color:var(--mb);font-size:27px}.jh-music-empty h3{margin:0 0 7px;color:#25354b;font-size:18px}.jh-music-empty p{margin:0;color:#8492a4;font-size:12px;line-height:1.6}.jh-music-empty small{display:inline-block;margin-top:13px;padding:7px 11px;border-radius:20px;background:#f0f4f9;color:#6e7d91;font-size:10px}.jh-music-about{display:flex;align-items:flex-start;gap:15px;margin-top:26px;padding:21px 23px;border:1px solid #e5edf6;border-radius:14px;background:linear-gradient(110deg,#f7faff,#fff)}.jh-music-about>div{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:12px;background:#eaf1fa;color:var(--mb);font-size:22px}.jh-music-about h2{margin:1px 0 6px;color:#26364b;font-size:15px;font-weight:800}.jh-music-about p{margin:0;color:#77869a;font-size:11px;line-height:1.7}
@media(max-width:850px){.jh-music-hero{padding:32px 30px}.jh-music-hero-art{margin-right:0;transform:scale(.82);transform-origin:right center}.jh-music-layout{grid-template-columns:205px minmax(0,1fr);gap:17px}.jh-song-grid{gap:13px}.jh-music-toolbar{align-items:stretch;flex-direction:column}.jh-music-search{max-width:none}.jh-music-tabs{justify-content:stretch}.jh-music-tab{flex:1}}
@media(max-width:620px){.jh-music-page{width:calc(100% - 22px);margin:15px auto 35px}.jh-music-hero{min-height:190px;padding:27px 22px;border-radius:15px}.jh-music-hero-art{position:absolute;right:5px;bottom:0;opacity:.25;transform:scale(.8);transform-origin:right bottom}.jh-music-hero h1{max-width:340px;font-size:27px}.jh-music-hero p{max-width:310px;font-size:13px}.jh-music-hero-meta{gap:8px;margin-top:16px;font-size:10px}.jh-music-toolbar{gap:10px;margin:15px 0;padding:10px}.jh-music-search input{height:43px;font-size:12px}.jh-music-tab{min-height:37px;padding:0 7px;font-size:11px}.jh-music-layout{grid-template-columns:1fr;gap:17px}.jh-music-sidebar{position:static;display:flex;flex-wrap:wrap;gap:5px;padding:14px 12px}.jh-sidebar-heading{width:100%;margin-bottom:9px}.jh-sidebar-heading h2{font-size:16px}.jh-singer-filter{width:auto;max-width:100%;min-height:34px;gap:6px;margin:0;padding:4px 8px;border:1px solid #edf1f6;border-radius:20px}.singer-avatar{width:23px;height:23px;flex-basis:23px;font-size:10px}.singer-name{max-width:115px;font-size:10px}.singer-count{font-size:9px}.jh-singer-empty{width:100%;margin:0}.jh-sidebar-note{display:none}.jh-results-heading{margin-bottom:12px}.jh-results-heading h2{font-size:20px}.jh-results-heading p{font-size:10px}.jh-results-heading>span{padding:6px 9px;font-size:10px}.jh-song-grid{grid-template-columns:1fr;gap:13px}.jh-song-card{display:grid;grid-template-columns:42% minmax(0,1fr);align-items:stretch}.jh-song-thumb{height:100%;min-height:130px;aspect-ratio:auto}.jh-song-info{display:flex;flex-direction:column;justify-content:center;padding:11px}.jh-song-info h3{font-size:13px}.jh-song-info>small{font-size:8px}.jh-song-singer{font-size:10px}.jh-song-description{display:none}.jh-song-foot{align-items:flex-start;flex-direction:column;gap:5px;margin-top:9px;padding-top:8px;font-size:9px}.jh-song-foot a{font-size:9px}.jh-song-play{width:38px;height:38px;font-size:12px}.jh-song-badge{left:6px;top:6px;padding:4px 5px;font-size:7px}.jh-music-about{gap:11px;margin-top:18px;padding:15px}.jh-music-about>div{width:35px;height:35px;flex-basis:35px;font-size:18px}.jh-music-about h2{font-size:13px}.jh-music-about p{font-size:10px}}
@media(prefers-reduced-motion:reduce){.jh-music-page *{scroll-behavior:auto!important;transition:none!important}}


/* =========================================
   JH MUSIC LIBRARY - NEW UI UPDATE
   Trending / Latest / All Songs
========================================= */

/* Song views */
.jh-song-views {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    margin-top: 10px;
    padding: 6px 10px;
    border: 1px solid #e4edf8;
    border-radius: 7px;
    background: #f2f7fd;
    color: #174b91;
    font-size: 11px;
    font-weight: 800;
}

.jh-song-views span {
    font-size: 10px;
}

/* Trending tab */
.jh-music-tab[data-view="trending"].is-active {
    background: linear-gradient(135deg, #d5a63b, #efc96f);
    color: #17243a;
    box-shadow: 0 3px 10px #d5a63b45;
}

/* Latest tab */
.jh-music-tab[data-view="latest"].is-active {
    background: #174b91;
    color: #fff;
}

/* All songs tab */
.jh-music-tab[data-view="all"].is-active {
    background: #26364b;
    color: #fff;
}

/* Trending cards */
.jh-song-grid[data-view="trending"] .jh-song-card:first-child {
    border-color: #e5c36f;
    box-shadow: 0 5px 18px #d5a63b20;
}

.jh-song-grid[data-view="trending"] .jh-song-card:first-child
.jh-song-thumb:before {
    content: "MOST VIEWED";
    position: absolute;
    z-index: 3;
    right: 10px;
    top: 10px;
    padding: 5px 8px;
    border-radius: 5px;
    background: #d5a63b;
    color: #17243a;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .6px;
}

/* Latest cards */
.jh-song-grid[data-view="latest"] .jh-song-card {
    border-color: #e2eaf5;
}

/* All songs cards */
.jh-song-grid[data-view="all"] .jh-song-card {
    border-radius: 10px;
}

/* Results heading */
.jh-music-results:has(.jh-song-grid[data-view="trending"])
.jh-results-heading small {
    color: #b18423;
}

.jh-music-results:has(.jh-song-grid[data-view="latest"])
.jh-results-heading small {
    color: #174b91;
}

.jh-music-results:has(.jh-song-grid[data-view="all"])
.jh-results-heading small {
    color: #53647b;
}

/* Mobile views */
@media(max-width:620px) {

    .jh-song-views {
        margin-top: 7px;
        padding: 5px 7px;
        font-size: 9px;
    }

    .jh-song-grid[data-view="trending"] .jh-song-card:first-child
    .jh-song-thumb:before {
        right: 5px;
        top: 5px;
        font-size: 7px;
        padding: 4px 5px;
    }

}


/* SEO INTRO */
.jh-music-intro {
    margin: 22px 0;
    padding: 22px 24px;
    border: 1px solid #e5edf6;
    border-radius: 14px;
    background: #fff;
}

.jh-music-intro h2,
.jh-music-faq h2 {
    margin: 0 0 10px;
    color: #174b91;
    font-size: 19px;
    font-weight: 800;
}

.jh-music-intro p {
    margin: 8px 0 0;
    color: #687991;
    font-size: 13px;
    line-height: 1.8;
}

/* FAQ */
.jh-music-faq {
    margin-top: 26px;
    padding: 23px;
    border: 1px solid #e5edf6;
    border-radius: 14px;
    background: #fff;
}

.jh-music-faq details {
    padding: 14px 0;
    border-bottom: 1px solid #edf1f6;
}

.jh-music-faq details:last-child {
    border-bottom: 0;
}

.jh-music-faq summary {
    color: #26364b;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
}

.jh-music-faq details p {
    margin: 10px 0 0;
    color: #718096;
    font-size: 12px;
    line-height: 1.8;
}

@media(max-width:620px) {
    .jh-music-intro,
    .jh-music-faq {
        padding: 16px;
    }

    .jh-music-intro h2,
    .jh-music-faq h2 {
        font-size: 17px;
    }

    .jh-music-intro p {
        font-size: 12px;
    }
}


/* CATEGORY FILTERS */

.jh-category-section {
    margin: -8px 0 24px;
    padding: 17px 18px;
    border: 1px solid #e5edf6;
    border-radius: 14px;
    background: #fff;
}

.jh-category-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 13px;
}

.jh-category-heading small {
    color: #9aa7b7;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.jh-category-heading h2 {
    margin: 4px 0 0;
    color: #26364b;
    font-size: 17px;
    font-weight: 800;
}

.jh-category-heading > span {
    color: #8794a5;
    font-size: 11px;
}

.jh-category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.jh-category-btn {
    min-height: 35px;
    padding: 0 13px;
    border: 1px solid #e5ebf3;
    border-radius: 20px;
    background: #f8fafd;
    color: #52647c;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
}

.jh-category-btn:hover {
    border-color: #9bb9dd;
    background: #edf4fc;
    color: #174b91;
}

.jh-category-btn.is-active {
    border-color: #174b91;
    background: #174b91;
    color: #fff;
    box-shadow: 0 3px 9px #174b9125;
}

@media(max-width:620px) {
    .jh-category-section {
        margin: -5px 0 18px;
        padding: 14px 11px;
    }

    .jh-category-heading h2 {
        font-size: 15px;
    }

    .jh-category-heading > span {
        font-size: 9px;
    }

    .jh-category-buttons {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
        scrollbar-width: thin;
    }

    .jh-category-btn {
        flex: 0 0 auto;
        min-height: 34px;
        padding: 0 11px;
        font-size: 10px;
    }
}
