/* ==========================================================
   nlmusic Unified Theme
   One file for the homepage, header, release drawer, player,
   news, social feed, lyrics, video blocks and responsive rules.
   ========================================================== */

/* ==========================================================
   01. Design tokens: dark and light themes
   ========================================================== */
:root {
    color-scheme: dark;
    --home-background: #08090d;
    --home-text-color: #f7f2ee;
    --home-muted: rgba(247, 242, 238, .64);
    --home-header-bg: rgba(8, 9, 13, .78);
    --home-card-bg: rgba(22, 20, 29, .88);
    --home-card-solid: #16141d;
    --home-card-hover: rgba(38, 34, 47, .92);
    --home-border: rgba(255, 255, 255, .11);
    --home-track-border: rgba(255, 255, 255, .10);
    --home-overlay: rgba(0, 0, 0, .72);
    --home-accent: #1e93b7;
    --home-accent-dark: #116076;
    --home-accent-rgb: 30, 147, 183;
    --home-tx-about: #45d7ff;
    --home-tx-about2: #f0b071;
    --home-tx-about-rgb: 69, 215, 255;
    --home-neon-light: #45d7ff;
    --home-neon-glow-light: rgba(69, 215, 255, .45);
    --home-neon-glow-dark: rgba(30, 147, 183, .28);
    --home-ember: #c06a4a;
    --home-ember-rgb: 192, 106, 74;
    --home-player-bg: rgba(14, 14, 20, .88);
    --home-progress-bg: rgba(255, 255, 255, .12);
    --home-progress-fill: #45d7ff;
    --home-scroll-track: #15151b;
    --home-shadow: 0 24px 70px rgba(0, 0, 0, .38);
    --home-shadow-hover: 0 30px 90px rgba(0, 0, 0, .52);
    --home-radius-xl: 32px;
    --home-radius-lg: 24px;
    --home-radius-md: 18px;
    --home-glass: blur(20px) saturate(130%);
    --player-height: 0px;
}

[data-theme="light"] {
    color-scheme: light;
    --home-background: #f4f0ea;
    --home-text-color: #1b1720;
    --home-muted: rgba(27, 23, 32, .64);
    --home-header-bg: rgba(255, 252, 246, .84);
    --home-card-bg: rgba(255, 252, 246, .90);
    --home-card-solid: #fffaf2;
    --home-card-hover: rgba(255, 255, 255, .94);
    --home-border: rgba(39, 28, 42, .14);
    --home-track-border: rgba(39, 28, 42, .13);
    --home-overlay: rgba(16, 12, 20, .52);
    --home-accent: #096d86;
    --home-accent-dark: #074b61;
    --home-accent-rgb: 9, 109, 134;
    --home-tx-about: #096d86;
    --home-tx-about2: #9b4f3b;
    --home-tx-about-rgb: 9, 109, 134;
    --home-neon-light: #0d8cad;
    --home-neon-glow-light: rgba(13, 140, 173, .32);
    --home-neon-glow-dark: rgba(9, 109, 134, .22);
    --home-ember: #9b4f3b;
    --home-ember-rgb: 155, 79, 59;
    --home-player-bg: rgba(255, 252, 246, .88);
    --home-progress-bg: rgba(27, 23, 32, .12);
    --home-progress-fill: #096d86;
    --home-scroll-track: #e8e0d6;
    --home-shadow: 0 24px 70px rgba(48, 35, 40, .14);
    --home-shadow-hover: 0 30px 90px rgba(48, 35, 40, .20);
}

/* ==========================================================
   02. Global reset, utilities and page background
   ========================================================== */
* { box-sizing: border-box; }
html {
    scrollbar-width: thin;
    scrollbar-color: var(--home-tx-about) var(--home-scroll-track);
    scroll-behavior: smooth;
}
html::-webkit-scrollbar { width: 13px; }
html::-webkit-scrollbar-track { background: var(--home-scroll-track); }
html::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--home-tx-about), var(--home-accent));
    border-radius: 999px;
    border: 3px solid var(--home-scroll-track);
}
html::-webkit-scrollbar-thumb:hover { background: var(--home-ember); }
body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--home-text-color);
    background:
        radial-gradient(circle at 18% 8%, rgba(var(--home-ember-rgb), .24), transparent 36rem),
        radial-gradient(circle at 82% 14%, rgba(var(--home-tx-about-rgb), .15), transparent 34rem),
        linear-gradient(135deg, var(--home-background), #111018 58%, var(--home-background));
    transition: background .3s ease, color .3s ease;
}
[data-theme="light"] body {
    background:
        radial-gradient(circle at 18% 8%, rgba(var(--home-ember-rgb), .13), transparent 34rem),
        radial-gradient(circle at 82% 14%, rgba(var(--home-tx-about-rgb), .12), transparent 33rem),
        linear-gradient(135deg, var(--home-background), #ede7df 58%, var(--home-background));
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, black 0%, transparent 92%);
}
[data-theme="light"] body::before {
    background-image:
        linear-gradient(rgba(27,23,32,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(27,23,32,.035) 1px, transparent 1px);
}
body.panel-open { overflow: hidden; }
a { color: inherit; }
img, video { max-width: 100%; }
button, input { font: inherit; }
.d-none { display: none !important; }
.text-center { text-align: center; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }
.mt-3 { margin-top: 1rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 3rem; }
.me-2 { margin-right: .5rem; }
.text-muted, .small { color: var(--home-muted) !important; }
.fw-bold { font-weight: 900; }

/* ==========================================================
   03. Header compatibility with existing includes/header.php
   ========================================================== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--home-header-bg);
    border-bottom: 1px solid var(--home-border);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .22);
    backdrop-filter: var(--home-glass);
}
.container {
    width: min(1400px, calc(100% - 32px));
    margin: 0 auto;
}
.header-inner {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--home-text-color);
    font-size: 1.25rem;
    font-weight: 950;
    letter-spacing: -.04em;
}
.logo::before {
    content: "⚡";
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--home-accent), var(--home-neon-light));
    box-shadow: 0 0 24px rgba(var(--home-tx-about-rgb), .32);
}
.logo-music {
    display: block;
    color: var(--home-neon-light);
    font-size: .65rem;
    font-weight: 950;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.header-btn,
.admin-btn,
.theme-toggle {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    border: 1px solid var(--home-border);
    color: var(--home-text-color);
    text-decoration: none;
    background: rgba(255,255,255,.055);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
    cursor: pointer;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.theme-toggle { border: 0; }
.header-btn:hover,
.admin-btn:hover,
.theme-toggle:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--home-tx-about-rgb), .42);
    background: rgba(var(--home-tx-about-rgb), .10);
    box-shadow: 0 14px 32px rgba(0,0,0,.20), 0 0 0 4px rgba(var(--home-tx-about-rgb), .10);
}
.admin-btn { color: #ffd56a; }

/* ==========================================================
   04. Homepage shell, hero and reusable buttons
   ========================================================== */
.gr-page {
    width: min(1335px, calc(100% - 32px));
    margin: 0 auto;
    padding: clamp(26px, 4vw, 54px) 0 calc(120px + var(--player-height));
}
.gr-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(var(--home-tx-about-rgb), .26);
    color: var(--home-neon-light);
    background: rgba(var(--home-tx-about-rgb), .09);
    box-shadow: 0 0 22px rgba(var(--home-tx-about-rgb), .10);
    font-size: .75rem;
    font-weight: 950;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.gr-kicker-small { margin-bottom: 12px; }
.gr-btn,
.gr-link-pill,
.gr-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}
.gr-btn { min-height: 48px; padding: 10px 18px; }
.gr-btn-small { min-height: 40px; padding: 8px 14px; font-size: .9rem; }
.gr-btn-primary {
    color: #061017;
    background: linear-gradient(135deg, var(--home-neon-light), #72e7ff 58%, var(--home-ember));
    box-shadow: 0 18px 36px rgba(var(--home-tx-about-rgb), .24);
}
.gr-btn-ghost,
.gr-link-pill {
    color: var(--home-text-color);
    border-color: var(--home-border);
    background: rgba(255,255,255,.055);
}
[data-theme="light"] .gr-btn-ghost,
[data-theme="light"] .gr-link-pill { background: rgba(255,255,255,.68); }
.gr-btn:hover,
.gr-link-pill:hover,
.gr-card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0,0,0,.22), 0 0 0 4px rgba(var(--home-tx-about-rgb), .09);
    border-color: rgba(var(--home-tx-about-rgb), .36);
}
.gr-link-pill { min-height: 42px; padding: 8px 14px; color: var(--home-neon-light); }
.gr-card-link { color: var(--home-neon-light); font-size: .9rem; }
.gr-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
    gap: clamp(22px, 4vw, 52px);
    min-height: 430px;
    overflow: hidden;
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius-xl);
    padding: clamp(26px, 5vw, 56px);
    background:
        linear-gradient(135deg, rgba(var(--home-ember-rgb), .33), rgba(10, 10, 14, .28) 44%, rgba(19, 23, 31, .72)),
        var(--home-card-bg);
    box-shadow: var(--home-shadow);
    backdrop-filter: var(--home-glass);
}
[data-theme="light"] .gr-hero {
    background:
        linear-gradient(135deg, rgba(var(--home-ember-rgb), .13), rgba(255, 250, 242, .86) 48%, rgba(233, 244, 247, .68)),
        var(--home-card-bg);
}
.gr-hero::before,
.gr-hero::after,
.gr-hero-bg { content: ""; position: absolute; pointer-events: none; }
.gr-hero-bg {
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(8,9,13,.94) 0%, rgba(8,9,13,.78) 38%, rgba(8,9,13,.38) 100%),
        var(--gr-hero-img);
    background-size: cover;
    background-position: center;
    opacity: .34;
    filter: blur(2px) saturate(110%);
    transform: scale(1.03);
}
[data-theme="light"] .gr-hero-bg {
    background-image:
        linear-gradient(90deg, rgba(255,250,242,.92) 0%, rgba(255,250,242,.78) 38%, rgba(255,250,242,.45) 100%),
        var(--gr-hero-img);
    opacity: .36;
}
.gr-hero::before {
    inset: -2px;
    background:
        radial-gradient(circle at 72% 26%, rgba(var(--home-tx-about-rgb), .18), transparent 30%),
        radial-gradient(circle at 20% 74%, rgba(var(--home-ember-rgb), .14), transparent 30%);
}
.gr-hero::after {
    right: -120px;
    bottom: -170px;
    width: 430px;
    height: 430px;
    border-radius: 999px;
    border: 1px solid rgba(var(--home-tx-about-rgb), .18);
    box-shadow: inset 0 0 80px rgba(var(--home-tx-about-rgb), .08);
}
.gr-hero-copy,
.gr-hero-release { position: relative; z-index: 1; }
.gr-hero h1 {
    max-width: 720px;
    margin: 22px 0 16px;
    color: var(--home-text-color);
    font-size: clamp(3rem, 8vw, 6.8rem);
    line-height: .82;
    letter-spacing: -.085em;
    font-weight: 1000;
    text-wrap: balance;
	opacity: 0.7;
}
.gr-hero p {
    max-width: 620px;
    margin: 0;
    color: var(--home-muted);
    font-size: clamp(1rem, 1.7vw, 1.18rem);
    line-height: 1.72;
}
.gr-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.gr-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}
.gr-hero-stats div {
    min-width: 118px;
    padding: 13px 14px;
    border-radius: 18px;
    border: 1px solid var(--home-border);
    background: rgba(255,255,255,.055);
}
[data-theme="light"] .gr-hero-stats div { background: rgba(255,255,255,.62); }
.gr-hero-stats strong { display: block; font-size: 1.35rem; line-height: 1; }
.gr-hero-stats span { display: block; margin-top: 6px; color: var(--home-muted); font-size: .78rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.gr-hero-release {
    align-self: center;
    display: grid;
    width: 100%;
    text-align: left;
    color: var(--home-text-color);
    border: 1px solid var(--home-border);
    border-radius: 28px;
    padding: 14px;
    background: rgba(255,255,255,.06);
    box-shadow: 0 26px 70px rgba(0,0,0,.28);
    cursor: pointer;
}
[data-theme="light"] .gr-hero-release { background: rgba(255,255,255,.70); }
.gr-hero-release-label {
    display: inline-flex;
    width: fit-content;
    margin: 2px 0 12px;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--home-neon-light);
    border: 1px solid rgba(var(--home-tx-about-rgb), .26);
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.gr-hero-release-cover {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 22px;
    background: #111;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.gr-hero-release-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .45s ease; }
.gr-hero-release:hover img { transform: scale(1.055); }
.gr-hero-play,
.gr-release-play {
    position: absolute;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    color: #071016;
    background: linear-gradient(135deg, var(--home-neon-light), #76e9ff);
    box-shadow: 0 14px 35px rgba(var(--home-tx-about-rgb), .34);
}
.gr-hero-play { right: 14px; bottom: 14px; width: 54px; height: 54px; font-size: 1.5rem; }
.gr-hero-release-title { display: block; margin-top: 16px; font-size: 1.35rem; font-weight: 950; letter-spacing: -.04em; }
.gr-hero-release-meta { display: inline-flex; align-items: center; gap: 7px; margin-top: 7px; color: var(--home-muted); font-size: .86rem; font-weight: 850; }
.gr-featured-banner {
    margin-top: 24px;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid var(--home-border);
    box-shadow: var(--home-shadow);
    background: var(--home-card-bg);
}
.gr-featured-banner img { display: block; width: 100%; max-height: 360px; object-fit: cover; object-position: center; }

/* ==========================================================
   05. Section headings, news block and cards
   ========================================================== */
.gr-section,
.gr-news-card,
.gr-youtube-channel,
.privacy-section,
.stats-popup-bar {
    margin-top: clamp(26px, 5vw, 58px);
}
.gr-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 20px;
}
.gr-section-head--center { justify-content: center; text-align: center; }
.gr-section-head--compact { margin-bottom: 16px; }
.gr-section-head h2 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: .9;
    letter-spacing: -.075em;
    font-weight: 1000;
}
.gr-section-head p {
    max-width: 650px;
    margin: 10px 0 0;
    color: var(--home-muted);
    line-height: 1.6;
}
.gr-news-card {
    display: grid;
    grid-template-columns: minmax(280px, .95fr) minmax(0, 1.05fr);
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid var(--home-border);
    background: var(--home-card-bg);
    box-shadow: var(--home-shadow);
    backdrop-filter: var(--home-glass);
}
.gr-news-image {
    position: relative;
    min-height: 320px;
    display: block;
    overflow: hidden;
    background: #111;
    text-decoration: none;
}
.gr-news-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.72));
}
.gr-news-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .55s ease; }
.gr-news-card:hover .gr-news-image img { transform: scale(1.045); }
.gr-news-badge,
.gr-news-reactions {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    color: #fff;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(0,0,0,.52);
    backdrop-filter: blur(12px);
    font-weight: 900;
}
.gr-news-badge { left: 18px; top: 18px; min-height: 36px; padding: 7px 12px; }
.gr-news-reactions { left: 18px; bottom: 18px; flex-wrap: wrap; padding: 7px; font-size: .86rem; }
.gr-news-reactions span { padding: 4px 8px; }
.gr-news-copy { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.gr-date { color: var(--home-neon-light); font-size: .82rem; font-weight: 950; text-transform: uppercase; letter-spacing: .11em; }
.gr-news-copy h2 { margin: 12px 0 14px; font-size: clamp(1.8rem, 4vw, 3.3rem); line-height: .94; letter-spacing: -.065em; font-weight: 1000; }
.gr-news-copy h2 a { text-decoration: none; }
.gr-news-copy p { margin: 0 0 22px; color: var(--home-muted); line-height: 1.68; }
.gr-empty {
    margin-top: 28px;
    padding: 46px;
    text-align: center;
    border-radius: 24px;
    border: 1px solid var(--home-border);
    background: var(--home-card-bg);
}
.gr-cover-fallback {
    width: 100%;
    height: 100%;
    min-height: 180px;
    display: grid;
    place-items: center;
    color: var(--home-neon-light);
    background:
        radial-gradient(circle at 30% 20%, rgba(var(--home-tx-about-rgb), .18), transparent 34%),
        linear-gradient(135deg, #14141b, #08090d);
    font-size: 3rem;
}
[data-theme="light"] .gr-cover-fallback { background: linear-gradient(135deg, #fff, #eaf4f7); }

/* ==========================================================
   06. Release carousel and video carousel
   ========================================================== */
.carousel-wrapper {
    position: relative;
    overflow: hidden;
}
.gr-carousel-shell {
    padding: 0 56px;
}
.carousel-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 8px 0 18px;
    -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar { display: none; }
.gr-release-card,
.video-card {
    flex: 0 0 292px;
    scroll-snap-align: start;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--home-border);
    background: var(--home-card-bg);
    box-shadow: 0 20px 48px rgba(0,0,0,.22);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.gr-release-card {
    cursor: pointer;
}
.gr-release-card:hover,
.video-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--home-tx-about-rgb), .36);
    box-shadow: var(--home-shadow-hover);
}
.gr-release-cover {
    position: relative;
    display: block;
    height: 278px;
    overflow: hidden;
    background: #111;
}
.gr-release-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(0,0,0,.78));
}
.gr-release-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .5s ease; }
.gr-release-card:hover .gr-release-cover img { transform: scale(1.065); }
.new-badge,
.release-type-badge,
.album-listens-mini {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #fff;
    background: rgba(0,0,0,.62);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(12px);
    font-size: .78rem;
    font-weight: 950;
}
.new-badge { left: 12px; top: 12px; color: #071016; background: linear-gradient(135deg, var(--home-neon-light), #7ceaff); }
.release-type-badge {
    left: 12px;
    top: 12px;
    color: var(--home-neon-light);
    background: rgba(8, 12, 18, .72);
    border-color: rgba(var(--home-tx-about-rgb), .42);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .66rem;
}
.release-type-badge--under-new { top: 50px; }
/*
.gr-release-card[data-release-type="single"] .release-type-badge {
    color: #071016;
    background: linear-gradient(135deg, var(--home-neon-light), #7ceaff);
}
*/
.album-listens-mini { right: 12px; bottom: 12px; }
.gr-release-play { right: 12px; top: 12px; width: 42px; height: 42px; opacity: 0; transform: translateY(-4px) scale(.92); transition: opacity .22s ease, transform .22s ease; }
.gr-release-card:hover .gr-release-play { opacity: 1; transform: none; }
.gr-release-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
}
.genre {
    margin: 0 0 9px;
    color: var(--home-neon-light);
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .06em;
    line-height: 1.35;
    text-transform: uppercase;
}
.gr-release-body .genre {
    display: inline-flex;
    max-width: 100%;
    margin: 0;
    padding: 5px 9px;
    border: 1px solid rgba(var(--home-tx-about-rgb), .28);
    border-radius: 999px;
    background: rgba(var(--home-tx-about-rgb), .10);
    font-size: .64rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gr-release-body h3,
.video-card h3 {
    margin: 0;
    color: var(--home-text-color);
    font-size: 1.1rem;
    font-weight: 950;
    line-height: 1.15;
    letter-spacing: -.035em;
}
.gr-release-body h3 {
    margin-bottom: 10px;
}
.video-card { flex-basis: 320px; padding: 12px; }
.video-card h3 { margin-top: 14px; padding: 0 4px; }
.video-card p { margin: 8px 4px 4px; color: var(--home-muted); font-size: .9rem; line-height: 1.45; }
.carousel-btn {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid rgba(var(--home-tx-about-rgb), .28);
    color: var(--home-neon-light);
    background: var(--home-card-bg);
    box-shadow: 0 14px 30px rgba(0,0,0,.28);
    backdrop-filter: var(--home-glass);
    cursor: pointer;
    transform: translateY(-50%);
    transition: transform .22s ease, opacity .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.carousel-btn.prev { left: 4px; }
.carousel-btn.next { right: 4px; }
.carousel-btn:hover:not(:disabled) {
    transform: translateY(-50%) scale(1.08);
    border-color: rgba(var(--home-tx-about-rgb), .52);
    box-shadow: 0 16px 38px rgba(0,0,0,.34), 0 0 0 4px rgba(var(--home-tx-about-rgb), .10);
}
.carousel-btn:disabled { opacity: .35; cursor: not-allowed; }

/* ==========================================================
   07. Stats, lyrics and streaming blocks
   ========================================================== */
.stats-popup-bar {
    position: relative;
    border-radius: 24px;
    border: 1px solid var(--home-border);
    background:
        radial-gradient(circle at 0% 0%, rgba(var(--home-tx-about-rgb), .13), transparent 34%),
        var(--home-card-bg);
    box-shadow: var(--home-shadow);
    overflow: hidden;
}
.stats-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
}
.stats-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.stat-item,
.stat-block {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 62px;
    padding: 12px 16px;
    border-radius: 18px;
    border: 1px solid var(--home-border);
    background: rgba(255,255,255,.055);
}
[data-theme="light"] .stat-item,
[data-theme="light"] .stat-block { background: rgba(255,255,255,.68); }
.stat-item i,
.stat-icon { color: var(--home-neon-light); font-size: 1.3rem; }
.stat-num,
.stat-value { display: block; font-size: 1.22rem; font-weight: 1000; line-height: 1; }
.stat-label { display: block; margin-top: 4px; color: var(--home-muted); font-size: .72rem; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.stats-next-btn {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #071016;
    background: linear-gradient(135deg, var(--home-neon-light), #7ceaff);
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(var(--home-tx-about-rgb), .24);
}
.lyrics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.lyrics-card {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--home-border);
    background: var(--home-card-bg);
    box-shadow: 0 20px 48px rgba(0,0,0,.20);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.lyrics-card:hover { transform: translateY(-6px); border-color: rgba(var(--home-tx-about-rgb), .34); box-shadow: var(--home-shadow-hover); }
.lyrics-cover {
    position: relative;
    display: block;
    height: 220px;
    overflow: hidden;
    text-decoration: none;
    background: #111;
}
.lyrics-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.75));
}
.lyrics-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .5s ease; }
.lyrics-card:hover .lyrics-cover img { transform: scale(1.06); }
.track-badge {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    max-width: calc(100% - 24px);
    padding: 7px 10px;
    border-radius: 999px;
    color: #fff;
    background: rgba(0,0,0,.62);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(12px);
    font-size: .75rem;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lyrics-content { padding: 16px; }
.lyrics-title { margin: 0; font-size: 1.08rem; line-height: 1.15; font-weight: 950; letter-spacing: -.035em; }
.lyrics-title a { text-decoration: none; }
.lyrics-meta { margin-top: 9px; color: var(--home-muted); font-size: .78rem; font-weight: 800; }
.lyrics-preview { margin: 12px 0 14px; color: var(--home-muted); font-size: .9rem; line-height: 1.56; }
.links-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 22px;
    border-radius: 24px;
    border: 1px solid var(--home-border);
    background: var(--home-card-bg);
    box-shadow: var(--home-shadow);
}
.links-grid .btn-link {
    --home-platform-color: var(--home-neon-light);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--home-platform-color) 65%, transparent);
    color: var(--home-platform-color);
    background: rgba(255,255,255,.045);
    text-decoration: none;
    font-weight: 900;
    transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}
.links-grid .btn-link:hover { transform: translateY(-2px); background: var(--home-platform-color); color: #fff; box-shadow: 0 16px 34px rgba(0,0,0,.22); }
.platform-vk { --home-platform-color: #4a76a8; }
.platform-deezer { --home-platform-color: #ad47ff; }
.platform-spotify { --home-platform-color: #1db954; }
.platform-yandex { --home-platform-color: #d7a900; }
.platform-apple { --home-platform-color: #fb5c7e; }
.platform-youtube { --home-platform-color: #ff3030; }
.platform-default { --home-platform-color: var(--home-neon-light); }

/* ==========================================================
   08. Social Feed block: preserved layout, consolidated styles
   ========================================================== */
.social-feed-home {
    position: relative;
    isolation: isolate;
    padding: 22px;
    border-radius: 24px;
    border: 1px solid rgba(var(--home-accent-rgb), .22);
    background:
        radial-gradient(circle at 12% 0%, rgba(var(--home-tx-about-rgb), .16), transparent 34%),
        radial-gradient(circle at 92% 18%, rgba(255, 95, 122, .10), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .015)),
        var(--home-card-bg);
    box-shadow: var(--home-shadow);
    overflow: hidden;
    margin-top: clamp(26px, 5vw, 58px);
}
.social-feed-home::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    z-index: -1;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(var(--home-tx-about-rgb), .32), rgba(var(--home-accent-rgb), .24), transparent);
    box-shadow: 0 0 18px rgba(var(--home-tx-about-rgb), .35);
}
.social-feed-home-head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(var(--home-accent-rgb), .18);
    background: radial-gradient(circle at 0% 0%, rgba(var(--home-tx-about-rgb), .15), transparent 34%), rgba(255,255,255,.035);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 28px rgba(0,0,0,.14);
}
.social-feed-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 9px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(var(--home-tx-about-rgb), .28);
    background: rgba(var(--home-tx-about-rgb), .10);
    color: var(--home-neon-light);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.social-feed-main-title {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 0;
    line-height: 1;
}
.social-feed-main-title__icon,
.social-feed-all-link__orb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #fff;
    background: linear-gradient(135deg, var(--home-accent), var(--home-neon-light));
    box-shadow: 0 0 26px rgba(var(--home-tx-about-rgb), .30), inset 0 1px 0 rgba(255,255,255,.20);
}
.social-feed-main-title__icon { width: 52px; height: 52px; border-radius: 18px; }
.social-feed-main-title__text { display: grid; gap: 5px; }
.social-feed-main-title__text strong {
    display: block;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 1000;
    letter-spacing: -.06em;
}
.social-feed-main-title__text em { color: var(--home-muted); font-size: 14px; font-style: normal; font-weight: 750; }
.social-feed-all-link--universe {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-height: 48px;
    padding: 8px 10px 8px 8px;
    border-radius: 999px;
    border: 1px solid rgba(var(--home-tx-about-rgb), .28);
    background: rgba(255,255,255,.055);
    color: var(--home-text-color);
    text-decoration: none;
    overflow: hidden;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.social-feed-all-link--universe:hover { transform: translateY(-2px); border-color: rgba(var(--home-tx-about-rgb), .48); box-shadow: 0 16px 34px rgba(0,0,0,.22); }
.social-feed-all-link__orb { width: 34px; height: 34px; border-radius: 50%; }
.social-feed-all-link__text { display: grid; gap: 1px; line-height: 1.05; }
.social-feed-all-link__text strong { font-size: 13px; font-weight: 950; white-space: nowrap; }
.social-feed-all-link__text small { color: var(--home-muted); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .055em; white-space: nowrap; }
.social-feed-all-link__arrow { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--home-neon-light); background: rgba(255,255,255,.07); }
.social-feed-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.social-feed-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: 22px;
    border: 1px solid var(--home-border);
    background: rgba(255,255,255,.045);
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(0,0,0,.16);
}
[data-theme="light"] .social-feed-card,
[data-theme="light"] .social-feed-home-head,
[data-theme="light"] .social-feed-all-link--universe { background: rgba(255,255,255,.70); }
.social-feed-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 14px 10px;
}
.social-feed-avatar {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--home-accent), var(--home-neon-light));
    text-decoration: none;
}
.social-feed-avatar img { width: 100%; height: 100%; object-fit: cover; }
.social-feed-user-info { min-width: 0; }
.social-feed-name { display: block; overflow: hidden; color: var(--home-text-color); font-weight: 950; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.social-feed-date { margin-top: 4px; color: var(--home-muted); font-size: .75rem; font-weight: 750; }
.social-feed-type {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 5px 8px;
    border-radius: 999px;
    color: var(--home-neon-light);
    background: rgba(var(--home-tx-about-rgb), .10);
    font-size: .72rem;
    font-weight: 900;
}
.social-feed-text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    padding: 0 14px 14px;
    color: var(--home-muted);
    line-height: 1.48;
}
.social-feed-media,
.social-feed-youtube,
.youtube-placeholder--safe {
    position: relative;
    display: grid;
    place-items: center;
    width: calc(100% - 28px);
    min-height: 210px;
    aspect-ratio: 16 / 9;
    margin: 0 14px 14px;
    overflow: hidden;
    border-radius: 16px;
    color: #fff;
    text-decoration: none;
    background: radial-gradient(circle at 18% 18%, rgba(255, 0, 0, .24), transparent 34%), radial-gradient(circle at 82% 82%, rgba(var(--home-tx-about-rgb), .16), transparent 32%), linear-gradient(135deg, #14171c, #08090b);
    border: 1px solid rgba(255,255,255,.10);
}
.youtube-placeholder--safe { width: 100%; margin: 0; min-height: 220px; cursor: pointer; }
.social-feed-media img,
.social-feed-media video { width: 100%; height: 100%; object-fit: cover; }
.social-feed-youtube iframe { width: 100%; height: 100%; border: 0; background: #000; }
.youtube-safe-card { width: min(92%, 360px); display: grid; justify-items: center; gap: 8px; padding: 20px; text-align: center; }
.youtube-safe-card__icon { width: 58px; height: 58px; display: inline-flex; align-items: center; justify-content: center; border-radius: 20px; color: #fff; background: linear-gradient(135deg, #ff0033, #b00020); box-shadow: 0 12px 28px rgba(255,0,51,.24); font-size: 1.55rem; }
.youtube-safe-card strong { color: #fff; font-size: 1.05rem; font-weight: 950; line-height: 1.15; }
.youtube-safe-card em { max-width: 280px; color: rgba(255,255,255,.68); font-size: .86rem; font-style: normal; line-height: 1.35; }
.youtube-safe-card__button { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 7px 12px; border-radius: 999px; color: #fff; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.14); font-size: .82rem; font-weight: 850; }
.social-feed-media--teaser { isolation: isolate; }
.social-feed-media-badge { position: absolute; right: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 6px 10px; border-radius: 999px; color: #fff; background: rgba(0,0,0,.68); border: 1px solid rgba(255,255,255,.22); box-shadow: 0 10px 24px rgba(0,0,0,.28); backdrop-filter: blur(10px); font-size: 12px; font-weight: 900; pointer-events: none; }
.social-feed-media-badge--photo { background: linear-gradient(135deg, rgba(79,140,255,.88), rgba(123,97,255,.82)); }
.social-feed-media-badge--audio { background: linear-gradient(135deg, rgba(167,139,250,.90), rgba(255,95,122,.82)); }
.social-feed-audio {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 14px 14px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid var(--home-border);
    background: rgba(255,255,255,.055);
}
.social-audio-btn { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border: 0; border-radius: 999px; color: #071016; background: linear-gradient(135deg, var(--home-neon-light), #7ceaff); cursor: pointer; }
.social-audio-info { min-width: 0; display: grid; gap: 4px; }
.social-audio-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social-audio-info span { color: var(--home-muted); font-size: .82rem; }
.social-feed-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding: 14px; border-top: 1px solid var(--home-border); }
.social-feed-profile-link { display: inline-flex; align-items: center; gap: 7px; color: var(--home-neon-light); text-decoration: none; font-size: .86rem; font-weight: 900; white-space: nowrap; }
.social-feed-likes { display: inline-flex; align-items: center; gap: 6px; color: #ff5f7a; font-weight: 950; }

/* ==========================================================
   09. YouTube channel, privacy and footer-adjacent cards
   ========================================================== */
.gr-youtube-channel,
.privacy-section {
    border-radius: 24px;
    border: 1px solid var(--home-border);
    background: var(--home-card-bg);
    box-shadow: var(--home-shadow);
    padding: 22px;
}
.youtube-widget {
    display: flex;
    align-items: center;
    gap: 20px;
}
.channel-avatar {
    width: 92px;
    height: 92px;
    flex: 0 0 auto;
    border-radius: 24px;
    object-fit: cover;
    border: 1px solid var(--home-border);
    box-shadow: 0 16px 34px rgba(0,0,0,.22);
}
.channel-info { min-width: 0; flex: 1; }
.channel-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--home-text-color);
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 950;
}
.channel-link i { color: #ff3030; }
.stats-row--youtube { margin-top: 14px; }
.privacy-content { max-width: 850px; margin: 0 auto; text-align: center; }
.privacy-title { margin: 0 0 12px; font-size: 1.6rem; font-weight: 950; letter-spacing: -.04em; }
.privacy-icon { color: var(--home-neon-light); margin-right: 8px; }
.privacy-text { color: var(--home-muted); line-height: 1.68; }

/* ==========================================================
   10. Album drawer and track list
   ========================================================== */
.album-panel {
    position: fixed;
    top: 82px;
   /*  right: max(18px, calc((100vw - 1440px) / 2 + 18px)); */
	right: 18px;
    bottom: calc(18px + var(--player-height));
    width: min(750px, calc(100vw - 36px));
    z-index: 1600;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--home-border);
    color: var(--home-text-color);
    background: rgba(20, 18, 27, .94);
    box-shadow: 0 34px 110px rgba(0,0,0,.58);
    backdrop-filter: var(--home-glass);
    transform: translateX(calc(100% + 44px));
    transition: transform .36s cubic-bezier(.2,.8,.2,1), opacity .22s ease;
    opacity: 0;
}
[data-theme="light"] .album-panel { background: rgba(255,252,246,.96); box-shadow: 0 34px 110px rgba(48,35,40,.20); }
.album-panel.show { transform: translateX(0); opacity: 1; }
.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
    border-bottom: 1px solid var(--home-border);
    background: linear-gradient(135deg, rgba(var(--home-tx-about-rgb), .10), rgba(var(--home-ember-rgb), .08));
}
.panel-header span {
    display: block;
    margin-bottom: 4px;
    color: var(--home-muted);
    font-size: .7rem;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.panel-header h5 { margin: 0; font-size: 1.25rem; line-height: 1.1; font-weight: 950; letter-spacing: -.04em; }
.close-panel,
.close-modal {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid var(--home-border);
    border-radius: 999px;
    color: var(--home-text-color);
    background: rgba(255,255,255,.07);
    cursor: pointer;
    transition: transform .22s ease, background .22s ease, border-color .22s ease;
}
.close-panel:hover,
.close-modal:hover { transform: rotate(90deg) scale(1.04); border-color: rgba(var(--home-tx-about-rgb), .38); background: rgba(var(--home-tx-about-rgb), .12); }
.panel-body { min-height: 0; flex: 1; overflow: auto; padding: 18px; }
.album-details { display: grid; grid-template-columns: 265px minmax(0, 1fr); gap: 18px; align-items: start; }
.cover-column { position: sticky; top: 0; min-width: 0; }
#albumCoverFull { position: relative; display: block; overflow: hidden; border-radius: 20px; border: 1px solid var(--home-border); background: #111; cursor: zoom-in; text-decoration: none; }
.album-cover-img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; transition: transform .35s ease; }
#albumCoverFull:hover .album-cover-img { transform: scale(1.035); }
.cover-open-hint { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 32px; padding: 7px 10px; border-radius: 999px; color: #fff; background: rgba(0,0,0,.62); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(12px); font-size: .78rem; font-weight: 900; opacity: 0; transform: translateY(6px); transition: opacity .22s ease, transform .22s ease;width: 45%; }
#albumCoverFull:hover .cover-open-hint { opacity: 1; transform: none; }
.cover-column .genre { margin-top: 12px; }
.tracks-list { display: grid; gap: 10px; }
.track-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 9px 10px;
    border-radius: 16px;
    border: 1px solid var(--home-track-border);
    background: rgba(255,255,255,.055);
    transition: border-color .22s ease, background .22s ease, transform .22s ease;
}
[data-theme="light"] .track-item { background: rgba(27,23,32,.045); }
.track-item:hover { transform: translateY(-1px); border-color: rgba(var(--home-tx-about-rgb), .34); background: rgba(var(--home-tx-about-rgb), .08); }
.track-item.playing { border-color: rgba(var(--home-tx-about-rgb), .48); box-shadow: 0 0 0 3px rgba(var(--home-tx-about-rgb), .08); }
.track-left { min-width: 0; display: flex; align-items: center; gap: 10px; }
.play-track {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    color: #071016;
    background: linear-gradient(135deg, var(--home-neon-light), #7ceaff);
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(var(--home-tx-about-rgb), .24);
}
.track-number { width: 26px; height: 26px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 999px; color: var(--home-neon-light); background: rgba(var(--home-tx-about-rgb), .10); font-size: .8rem; font-weight: 950; }
.track-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 900; }
.track-actions { display: inline-flex; align-items: center; gap: 8px; }
.lyrics-btn,
.download-btn,
.btn-download {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid rgba(var(--home-tx-about-rgb), .25);
    color: var(--home-neon-light);
    background: rgba(var(--home-tx-about-rgb), .08);
    text-decoration: none;
    cursor: pointer;
}
.track-duration { color: var(--home-muted); font-size: .82rem; font-weight: 900; }
.overlay { position: fixed; inset: 0; z-index: 1500; background: var(--home-overlay); opacity: 0; pointer-events: none; transition: opacity .28s ease; backdrop-filter: blur(6px); }
.overlay.show { opacity: 1; pointer-events: auto; }
.loading-state,
.error,
.muted { color: var(--home-muted); text-align: center; padding: 24px; }
.error { color: #ff7b8b; }

/* ==========================================================
   11. Global audio player
   ========================================================== */
#globalPlayer {
    position: fixed;
    left: 50%;
    bottom: 14px;
    z-index: 1800;
    width: min(980px, calc(100% - 28px));
    transform: translateX(-50%);
    border-radius: 22px;
    border: 1px solid var(--home-border);
    background: var(--home-player-bg);
    box-shadow: 0 28px 80px rgba(0,0,0,.48);
    backdrop-filter: var(--home-glass);
    overflow: hidden;
}
.player-container {
    display: grid;
    grid-template-columns: minmax(220px, 1.1fr) auto minmax(220px, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 12px 14px;
}
.player-track-info { min-width: 0; display: flex; align-items: center; gap: 12px; }
.player-cover { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; flex: 0 0 auto; border: 1px solid var(--home-border); }
.player-meta { min-width: 0; }
#playerTrackTitle,
#playerAlbumTitle { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#playerTrackTitle { font-size: .98rem; }
#playerAlbumTitle { margin-top: 4px; font-size: .8rem; }
.player-controls { display: inline-flex; align-items: center; gap: 8px; }
.btn-player {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    color: var(--home-text-color);
    background: rgba(255,255,255,.07);
    cursor: pointer;
}
.play-btn { width: 48px; height: 48px; color: #071016; background: linear-gradient(135deg, var(--home-neon-light), #7ceaff); font-size: 1.45rem; box-shadow: 0 14px 32px rgba(var(--home-tx-about-rgb), .25); }
.player-progress { min-width: 0; display: grid; gap: 6px; }
.player-progress input,
.volume input { width: 100%; accent-color: var(--home-neon-light); }
.player-progress .time { color: var(--home-muted); font-size: .78rem; font-weight: 850; text-align: center; }
.player-extra { display: inline-flex; align-items: center; gap: 12px; }
.volume { display: inline-flex; align-items: center; gap: 8px; color: var(--home-muted); }
.volume input { width: 86px; }

/* ==========================================================
   12. Lyrics modal and Fancybox layering
   ========================================================== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(0,0,0,.72);
    backdrop-filter: blur(8px);
}
.modal.show { display: flex; }
.modal-dialog {
    width: min(1120px, 100%);
    max-height: min(86vh, 980px);
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--home-border);
    background: var(--home-card-solid);
    box-shadow: 0 34px 110px rgba(0,0,0,.58);
}
[data-theme="light"] .modal-dialog { background: var(--home-card-solid); }
.modal-content { display: flex; flex-direction: column; max-height: inherit; }
.modal-header,
.modal-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--home-border); }
.modal-footer { border-top: 1px solid var(--home-border); border-bottom: 0; justify-content: flex-end; }
.modal-title { margin: 0; font-size: 1.25rem; font-weight: 950; letter-spacing: -.035em; }
.modal-body { overflow: auto; padding: 18px; }
.lyrics-text-container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lyrics-column { display: grid; gap: 16px; align-content: start; }
.lyrics-section-title { margin: 0 0 8px; color: var(--home-neon-light); font-size: .92rem; font-weight: 950; }
.lyrics-text,
.lyrics-translation,
.lyrics-explanation { padding: 14px; border-radius: 16px; border: 1px solid var(--home-border); background: rgba(255,255,255,.055); color: var(--home-text-color); line-height: 1.68; }
.btn-secondary { min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(var(--home-tx-about-rgb), .28); color: var(--home-neon-light); background: rgba(var(--home-tx-about-rgb), .08); cursor: pointer; font-weight: 900; }
.fancybox__container { z-index: 3000 !important; }
.fancybox__backdrop { background: rgba(0,0,0,.86) !important; }

/* ==========================================================
   13. Responsive rules
   ========================================================== */
@media (max-width: 1100px) {
    .lyrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .social-feed-grid { grid-template-columns: 1fr; }
    .album-details { grid-template-columns: 180px minmax(0, 1fr); }
}
@media (max-width: 900px) {
    .gr-hero { grid-template-columns: 1fr; }
    .gr-hero-release { max-width: 440px; }
    .gr-news-card { grid-template-columns: 1fr; }
    .gr-news-image { min-height: 260px; }
    .gr-section-head { align-items: flex-start; flex-direction: column; }
    .player-container { grid-template-columns: 1fr; text-align: center; }
    .player-track-info,
    .player-controls,
    .player-extra { justify-content: center; }
    .player-progress { order: -1; }
}
@media (max-width: 760px) {
    .container,
    .gr-page { width: min(100% - 22px, 1180px); }
    .header-inner { min-height: 58px; }
    .logo { font-size: 1rem; }
    .logo::before { width: 30px; height: 30px; border-radius: 10px; }
    .header-btn,
    .admin-btn,
    .theme-toggle { width: 34px; height: 34px; border-radius: 12px; }
    .gr-hero { border-radius: 24px; padding: 24px; }
    .gr-hero h1 { font-size: clamp(3rem, 16vw, 4.8rem); }
    .gr-hero-actions { flex-direction: column; }
    .gr-btn { width: 100%; }
    .gr-carousel-shell { padding: 0; }
    .carousel-track { scroll-padding-left: 10px; padding-left: 4px; padding-right: 4px; }
    .gr-release-card { flex-basis: 82vw; max-width: 360px; }
    .video-card { flex-basis: 86vw; }
    .carousel-btn { display: none; }
    .stats-container,
    .youtube-widget,
    .social-feed-home-head { align-items: stretch; flex-direction: column; }
    .stats-row { width: 100%; }
    .stat-item { flex: 1 1 130px; }
    .lyrics-grid { grid-template-columns: 1fr; }
    .album-panel { top: 72px; right: 10px; left: 10px; width: auto; bottom: calc(10px + var(--player-height)); border-radius: 22px; }
    .album-details { grid-template-columns: 1fr; }
    .cover-column { position: static; }
    #albumCoverFull { max-width: 300px; margin: 0 auto; }
    .track-item { grid-template-columns: minmax(0, 1fr) auto; }
    .track-duration { display: none; }
    .lyrics-text-container { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .gr-page { padding-top: 18px; }
    .gr-hero-stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .gr-hero-stats div { min-width: 0; }
    .gr-hero-stats div:last-child { grid-column: 1 / -1; }
    .gr-news-reactions { right: 12px; left: 12px; }
    .social-feed-home { padding: 14px; border-radius: 20px; }
    .social-feed-home-head { padding: 15px; }
    .social-feed-main-title__icon { width: 46px; height: 46px; border-radius: 16px; }
    .social-feed-main-title__text strong { font-size: 30px; }
    .social-feed-all-link--universe { width: 100%; justify-content: space-between; }
    .track-title { font-size: .9rem; }
    .player-cover { width: 48px; height: 48px; }
    .volume input { width: 72px; }
}

/* ==========================================================
   14. Patch 2026-06-29: iPhone social media previews,
       colored streaming buttons, centered stats/channel cards
   ========================================================== */

/* iOS Safari can miscalculate 100% height for images inside grid + aspect-ratio.
   For real social media previews we keep the card aspect ratio, but place media
   absolutely so the image always fills the preview area correctly. */
.social-feed-media.social-feed-photo,
.social-feed-media.social-feed-video:not(.social-feed-youtube) {
    display: block;
    place-items: initial;
    min-height: 0;
    aspect-ratio: 16 / 9;
    background: #08090b;
}

.social-feed-media.social-feed-photo > img,
.social-feed-media.social-feed-video:not(.social-feed-youtube) > video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.social-feed-media--audio-cover > img {
    object-position: center 42%;
}

@supports (-webkit-touch-callout: none) {
    .social-feed-media.social-feed-photo,
    .social-feed-media.social-feed-video:not(.social-feed-youtube) {
        height: auto;
        contain: paint;
    }
}

/* Streaming links: bring back strong platform colors instead of mostly neutral pills. */
.links-grid .btn-link {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: var(--home-platform-text, #fff);
    background: var(--home-platform-color);
    border-color: rgba(255, 255, 255, .16);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .22),
        inset 0 -18px 32px rgba(0, 0, 0, .18),
        0 14px 30px rgba(0, 0, 0, .18);
}

.links-grid .btn-link::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 255, 255, .28), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(0, 0, 0, .18));
    opacity: .95;
}

.links-grid .btn-link i {
    color: currentColor;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .20));
}

.links-grid .btn-link:hover {
    transform: translateY(-3px) scale(1.025);
    color: var(--home-platform-text, #fff);
    background: var(--home-platform-color);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .28),
        inset 0 -20px 34px rgba(0, 0, 0, .20),
        0 18px 40px rgba(0, 0, 0, .26),
        0 0 0 4px rgba(255, 255, 255, .06);
}

.platform-yandex { --home-platform-text: #14110a; }
.platform-apple { --home-platform-text: #fff; }

/* Center the wide stat strips while keeping the arrow parked on the right. */
.stats-container {
    position: relative;
    justify-content: center;
    padding-left: 82px;
    padding-right: 82px;
}

.stats-container > .stats-row {
    justify-content: center;
}

.stats-container > .stats-next-btn {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
}

.stats-container > .stats-next-btn:hover {
    transform: translateY(-50%) scale(1.06);
}

/* Center the channel card content so the YouTube block feels balanced. */
.gr-youtube-channel .gr-section-head--compact {
    justify-content: center;
    text-align: center;
}

.youtube-widget {
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
}

.channel-info {
    flex: 0 1 auto;
}

.channel-link {
    justify-content: center;
}

.stats-row--youtube {
    justify-content: center;
}

@media (max-width: 760px) {
    .stats-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .stats-container > .stats-next-btn {
        position: static;
        transform: none;
        align-self: center;
    }

    .stats-container > .stats-next-btn:hover {
        transform: scale(1.06);
    }

    .social-feed-media.social-feed-photo,
    .social-feed-media.social-feed-video:not(.social-feed-youtube) {
        border-radius: 15px;
    }
}

/* ==========================================================
   15. Patch 2026-06-30: real platform colors for streaming buttons
   ==========================================================
   Important: the base .links-grid .btn-link rule defines --home-platform-color
   with higher specificity than simple .platform-* classes. These combined
   selectors intentionally outrank it, so every streaming platform keeps its
   own brand-like color in both dark and light themes.
*/
.links-grid .btn-link.platform-vk {
    --home-platform-color: #4a76a8;
    --home-platform-text: #ffffff;
    --home-platform-glow: rgba(74, 118, 168, .45);
}

.links-grid .btn-link.platform-yandex {
    --home-platform-color: #ffcc00;
    --home-platform-text: #15120a;
    --home-platform-glow: rgba(255, 204, 0, .42);
}

.links-grid .btn-link.platform-spotify {
    --home-platform-color: #1db954;
    --home-platform-text: #ffffff;
    --home-platform-glow: rgba(29, 185, 84, .42);
}

.links-grid .btn-link.platform-deezer {
    --home-platform-color: #a238ff;
    --home-platform-text: #ffffff;
    --home-platform-glow: rgba(162, 56, 255, .44);
}

.links-grid .btn-link.platform-youtube {
    --home-platform-color: #ff1f1f;
    --home-platform-text: #ffffff;
    --home-platform-glow: rgba(255, 31, 31, .42);
}

.links-grid .btn-link.platform-apple {
    --home-platform-color: #fb5c7e;
    --home-platform-text: #ffffff;
    --home-platform-glow: rgba(251, 92, 126, .42);
}

.links-grid .btn-link.platform-default {
    --home-platform-color: var(--home-neon-light);
    --home-platform-text: #ffffff;
    --home-platform-glow: rgba(var(--home-tx-about-rgb), .40);
}

.links-grid .btn-link {
    color: var(--home-platform-text, #fff);
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 255, 255, .30), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(0, 0, 0, .20)),
        var(--home-platform-color);
    border-color: color-mix(in srgb, var(--home-platform-color) 70%, #ffffff 30%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .28),
        inset 0 -18px 32px rgba(0, 0, 0, .18),
        0 14px 30px rgba(0, 0, 0, .16),
        0 0 24px var(--home-platform-glow, rgba(var(--home-tx-about-rgb), .30));
}

.links-grid .btn-link:hover {
    color: var(--home-platform-text, #fff);
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 255, 255, .36), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(0, 0, 0, .24)),
        var(--home-platform-color);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .34),
        inset 0 -20px 34px rgba(0, 0, 0, .20),
        0 18px 42px rgba(0, 0, 0, .24),
        0 0 34px var(--home-platform-glow, rgba(var(--home-tx-about-rgb), .34));
}

.links-grid .btn-link i {
    color: currentColor;
}

/* ==========================================================
   PATCH v4 — YouTube channel card redesign
   Makes the channel block feel like one balanced feature card
   instead of a loose title + floating avatar + scattered stats.
   ========================================================== */
.gr-youtube-channel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(22px, 3.2vw, 34px);
    border-radius: 30px;
}

.gr-youtube-channel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 48, 48, .14), transparent 34%),
        radial-gradient(circle at 84% 28%, rgba(var(--home-tx-about-rgb), .12), transparent 36%);
}

.youtube-card-layout {
    display: grid;
    grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr);
    align-items: center;
    gap: clamp(20px, 3vw, 38px);
}

.youtube-card-copy {
    min-width: 0;
}

.youtube-card-copy .gr-kicker {
    margin-bottom: 16px;
}

.youtube-card-copy h2 {
    margin: 0;
    font-size: clamp(2.25rem, 5vw, 4.7rem);
    line-height: .88;
    letter-spacing: -.08em;
    font-weight: 1000;
}

.youtube-card-copy p {
    max-width: 440px;
    margin: 16px 0 0;
    color: var(--home-muted);
    font-size: .98rem;
    line-height: 1.55;
}

.youtube-widget {
    display: grid;
    grid-template-columns: minmax(210px, 270px) minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    padding: 18px;
    border-radius: 26px;
    border: 1px solid var(--home-border);
    background: rgba(255,255,255,.045);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
    text-align: left;
}

[data-theme="light"] .youtube-widget {
    background: rgba(255,255,255,.62);
}

.channel-identity {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.channel-avatar {
    width: 96px;
    height: 96px;
    border-radius: 25px;
}

.channel-info {
    min-width: 0;
}

.channel-overline {
    display: block;
    margin-bottom: 5px;
    color: var(--home-muted);
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.channel-link {
    justify-content: flex-start;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.1;
}

.stats-row--youtube {
    width: 100%;
    margin-top: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(104px, 1fr));
    gap: 10px;
    justify-content: stretch;
}

.stats-row--youtube .stat-block {
    width: 100%;
    min-height: 72px;
    padding: 12px 13px;
    justify-content: center;
    background: rgba(255,255,255,.06);
}

[data-theme="light"] .stats-row--youtube .stat-block {
    background: rgba(255,255,255,.74);
}

.stats-row--youtube .stat-value {
    font-size: 1.15rem;
}

@media (max-width: 1180px) {
    .youtube-card-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .youtube-card-copy p {
        margin-left: auto;
        margin-right: auto;
    }

    .youtube-widget {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .channel-identity,
    .channel-link {
        justify-content: center;
    }

    .stats-row--youtube {
        max-width: 720px;
        margin: 0 auto;
    }
}

@media (max-width: 680px) {
    .gr-youtube-channel {
        padding: 18px;
        border-radius: 24px;
    }

    .youtube-card-copy h2 {
        font-size: clamp(2.1rem, 12vw, 3.35rem);
        letter-spacing: -.075em;
    }

    .youtube-card-copy p {
        font-size: .9rem;
    }

    .youtube-widget {
        padding: 14px;
        border-radius: 22px;
    }

    .channel-identity {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .channel-avatar {
        width: 94px;
        height: 94px;
    }

    .stats-row--youtube {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .stats-row--youtube .stat-block {
        min-height: 70px;
        padding: 11px 10px;
    }
}

@media (max-width: 380px) {
    .stats-row--youtube {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   PATCH v5 — YouTube desktop composition fix
   Desktop version no longer squeezes the stats row into a
   narrow horizontal strip. The channel card becomes a clean
   vertical module on desktop, while mobile keeps the compact
   centered layout from v4.
   ========================================================== */
@media (min-width: 1181px) {
    .gr-youtube-channel {
        padding: clamp(26px, 3.4vw, 42px);
    }

    .youtube-card-layout {
        grid-template-columns: minmax(330px, .72fr) minmax(560px, 1.28fr);
        gap: clamp(32px, 4.5vw, 68px);
    }

    .youtube-widget {
        width: 100%;
        max-width: 760px;
        margin-left: auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 22px;
        overflow: hidden;
    }

    .channel-identity {
        width: 100%;
        justify-content: flex-start;
        padding: 0 2px 2px;
    }

    .channel-avatar {
        flex: 0 0 98px;
    }

    .stats-row--youtube {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        width: 100%;
        max-width: none;
        margin: 0;
        gap: 12px;
    }

    .stats-row--youtube .stat-block {
        min-width: 0;
        width: 100%;
        min-height: 78px;
        padding: 12px 10px;
        gap: 9px;
    }

    .stats-row--youtube .stat-icon {
        flex: 0 0 auto;
        font-size: 1.15rem;
    }

    .stats-row--youtube .stat-value {
        font-size: clamp(1rem, 1.35vw, 1.22rem);
        line-height: 1;
        white-space: nowrap;
    }

    .stats-row--youtube .stat-label {
        font-size: .68rem;
        line-height: 1.05;
        white-space: nowrap;
    }
}

@media (min-width: 1181px) and (max-width: 1360px) {
    .youtube-card-layout {
        grid-template-columns: minmax(300px, .68fr) minmax(520px, 1.32fr);
        gap: 32px;
    }

    .youtube-card-copy h2 {
        font-size: clamp(3.2rem, 5vw, 4.15rem);
    }

    .youtube-widget {
        max-width: 700px;
        padding: 20px;
    }

    .stats-row--youtube {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats-row--youtube .stat-block {
        min-height: 72px;
    }
}

/* ==========================================================
   PATCH 2026-07-15: Home Latest Releases + Latest Lyrics
   ========================================================== */
.gr-showcase-section {
    position: relative;
    isolation: isolate;
}
.gr-showcase-head {
    position: relative;
    z-index: 3;
    align-items: center;
    margin-bottom: 18px;
}
.gr-showcase-title-wrap {
    display: flex;
    align-items: flex-start;
    gap: clamp(14px, 2vw, 24px);
}
.gr-showcase-index {
    flex: 0 0 auto;
    padding-top: 7px;
    color: transparent;
    -webkit-text-stroke: 1px rgba(var(--home-tx-about-rgb), .44);
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    font-weight: 1000;
    line-height: .75;
    letter-spacing: -.09em;
    opacity: .75;
}
.gr-showcase-head h2 {
    position: relative;
    width: fit-content;
}
.gr-showcase-head h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -9px;
    width: clamp(66px, 10vw, 126px);
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--home-neon-light), transparent);
    box-shadow: 0 0 18px rgba(var(--home-tx-about-rgb), .4);
}
.gr-showcase-head p { margin-top: 19px; }
.gr-showcase-link {
    position: relative;
    isolation: isolate;
    flex: 0 0 auto;
    min-height: 48px;
    padding: 8px 9px 8px 18px;
    gap: 12px;
    overflow: hidden;
    border: 1px solid transparent;
    color: var(--home-neon-light);
    background:
        linear-gradient(135deg, rgba(255,255,255,.09), rgba(var(--home-tx-about-rgb), .055)) padding-box,
        linear-gradient(135deg, rgba(var(--home-tx-about-rgb), .66), rgba(255,255,255,.10), rgba(var(--home-tx-about-rgb), .32)) border-box;
    box-shadow: 0 14px 34px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.08);
}
.gr-showcase-link::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 12%, rgba(var(--home-tx-about-rgb), .16) 48%, transparent 78%);
    transform: translateX(-105%);
    transition: transform .48s ease;
}
.gr-showcase-link i {
    width: 30px;
    height: 30px;
    display: grid;
    flex: 0 0 30px;
    place-items: center;
    margin-right: -1px;
    border-radius: 50%;
    color: #061017;
    background: linear-gradient(135deg, var(--home-neon-light), #7ceaff);
    box-shadow: 0 7px 18px rgba(var(--home-tx-about-rgb), .28);
    transition: transform .25s ease, box-shadow .25s ease;
}
.gr-showcase-link:hover {
    border-color: transparent;
    background:
        linear-gradient(135deg, rgba(var(--home-tx-about-rgb), .15), rgba(255,255,255,.07)) padding-box,
        linear-gradient(135deg, var(--home-neon-light), rgba(255,255,255,.18), rgba(var(--home-tx-about-rgb), .58)) border-box;
    box-shadow: 0 18px 42px rgba(0,0,0,.28), 0 0 0 4px rgba(var(--home-tx-about-rgb), .08), 0 0 28px rgba(var(--home-tx-about-rgb), .13);
}
.gr-showcase-link:hover::before { transform: translateX(105%); }
.gr-showcase-link:hover i {
    transform: translateX(2px);
    box-shadow: 0 9px 22px rgba(var(--home-tx-about-rgb), .38);
}
.gr-showcase-link:focus-visible {
    outline: 2px solid var(--home-neon-light);
    outline-offset: 3px;
}
[data-theme="light"] .gr-showcase-link {
    background:
        linear-gradient(135deg, rgba(255,255,255,.92), rgba(var(--home-tx-about-rgb), .07)) padding-box,
        linear-gradient(135deg, rgba(var(--home-tx-about-rgb), .52), rgba(255,255,255,.92), rgba(var(--home-tx-about-rgb), .24)) border-box;
    box-shadow: 0 14px 30px rgba(48,35,40,.13), inset 0 1px 0 rgba(255,255,255,.9);
}
[data-theme="light"] .gr-showcase-link:hover {
    background:
        linear-gradient(135deg, #fff, rgba(var(--home-tx-about-rgb), .11)) padding-box,
        linear-gradient(135deg, var(--home-neon-light), rgba(255,255,255,.9), rgba(var(--home-tx-about-rgb), .52)) border-box;
    box-shadow: 0 18px 38px rgba(48,35,40,.17), 0 0 0 4px rgba(var(--home-tx-about-rgb), .07), 0 0 24px rgba(var(--home-tx-about-rgb), .10);
}
.gr-showcase-frame {
    position: relative;
    z-index: 1;
    padding: clamp(18px, 2.7vw, 34px);
    overflow: hidden;
    border: 1px solid var(--home-border);
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.015)),
        radial-gradient(circle at 10% 5%, rgba(var(--home-tx-about-rgb), .15), transparent 34%),
        var(--home-card-bg);
    box-shadow: var(--home-shadow);
    backdrop-filter: var(--home-glass);
}
.gr-showcase-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(var(--home-tx-about-rgb), .045) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--home-tx-about-rgb), .045) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: linear-gradient(135deg, #000, transparent 72%);
    opacity: .52;
}
.gr-showcase-frame > * { position: relative; z-index: 2; }
.gr-releases-frame { padding-inline: clamp(8px, 1.3vw, 18px); }
.gr-releases-frame .gr-carousel-shell { padding-top: 8px; padding-bottom: 2px; }
.gr-releases-frame .carousel-track { gap: 22px; padding-top: 18px; padding-bottom: 24px; }
.gr-releases-showcase .gr-release-card {
    flex-basis: 300px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.025));
    box-shadow: 0 24px 58px rgba(0,0,0,.28);
}
.gr-releases-showcase .gr-release-card:nth-child(even) { transform: translateY(12px); }
.gr-releases-showcase .gr-release-card:nth-child(even):hover { transform: translateY(5px); }
.gr-releases-showcase .gr-release-cover { height: 292px; }
.gr-releases-showcase .gr-release-cover::after {
    background: linear-gradient(180deg, rgba(0,0,0,.02) 35%, rgba(0,0,0,.88));
}
.gr-releases-showcase .gr-release-body { min-height: 92px; padding: 18px; }
.gr-releases-showcase .gr-release-body h3 { font-size: 1.18rem; }
@media (min-width: 1181px) {
    .gr-releases-showcase .gr-release-card {
        flex-basis: calc((100% - 66px) / 4);
        min-width: 0;
    }
    .gr-releases-showcase .gr-release-cover {
        height: auto;
        aspect-ratio: 1 / 1;
    }
}
.gr-showcase-orbit {
    position: absolute !important;
    z-index: 0 !important;
    border: 1px solid rgba(var(--home-tx-about-rgb), .18);
    border-radius: 50%;
    pointer-events: none;
}
.gr-showcase-orbit--one { width: 390px; height: 390px; right: -180px; top: -210px; }
.gr-showcase-orbit--two { width: 250px; height: 250px; right: -105px; top: -140px; box-shadow: 0 0 70px rgba(var(--home-tx-about-rgb), .13) inset; }
.gr-lyrics-frame { padding: clamp(18px, 2.8vw, 34px); }
.gr-lyrics-frame::after {
    content: "LYRICS";
    position: absolute;
    right: 20px;
    bottom: -22px;
    z-index: 0;
    color: rgba(var(--home-tx-about-rgb), .055);
    font-size: clamp(5rem, 13vw, 11rem);
    font-weight: 1000;
    line-height: 1;
    letter-spacing: -.09em;
    pointer-events: none;
}
.gr-lyrics-showcase .lyrics-grid { gap: 22px; }
.gr-lyrics-showcase .lyrics-card {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr;
    min-height: 100%;
    border-radius: 26px;
    background: linear-gradient(160deg, rgba(255,255,255,.085), rgba(255,255,255,.02));
    box-shadow: 0 24px 58px rgba(0,0,0,.24);
}
.gr-lyrics-showcase .lyrics-card::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 18px;
    z-index: 3;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--home-neon-light);
    box-shadow: 0 0 0 5px rgba(var(--home-tx-about-rgb), .12), 0 0 20px rgba(var(--home-tx-about-rgb), .5);
}
.gr-lyrics-showcase .lyrics-cover { height: 238px; }
.gr-lyrics-showcase .lyrics-content {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 18px 18px 20px;
}
.gr-lyrics-showcase .lyrics-title { font-size: 1.16rem; }
.gr-lyrics-showcase .lyrics-preview { flex: 1; }
.gr-lyrics-showcase .gr-card-link { align-self: flex-start; }
.gr-showcase-note {
    position: absolute !important;
    z-index: 1 !important;
    color: rgba(var(--home-tx-about-rgb), .13);
    pointer-events: none;
    filter: drop-shadow(0 0 24px rgba(var(--home-tx-about-rgb), .18));
}
.gr-showcase-note--one { right: 4%; top: 3%; font-size: 5rem; transform: rotate(12deg); }
.gr-showcase-note--two { left: 2%; bottom: 2%; font-size: 3.5rem; transform: rotate(-18deg); }
[data-theme="light"] .gr-showcase-frame {
    background:
        linear-gradient(135deg, rgba(255,255,255,.82), rgba(255,255,255,.5)),
        radial-gradient(circle at 10% 5%, rgba(var(--home-tx-about-rgb), .12), transparent 34%),
        var(--home-card-bg);
}

@media (max-width: 1100px) {
    .gr-lyrics-showcase .lyrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .gr-showcase-head { align-items: flex-start; }
    .gr-showcase-link { margin-left: calc(clamp(14px, 2vw, 24px) + clamp(2.4rem, 5vw, 4.8rem)); }
}
@media (max-width: 760px) {
    .gr-showcase-title-wrap { gap: 12px; }
    .gr-showcase-index { padding-top: 5px; font-size: 2.35rem; }
    .gr-showcase-head h2 { font-size: clamp(2.3rem, 12vw, 3.65rem); }
    .gr-showcase-link { margin-left: 0; }
    .gr-showcase-frame { margin-inline: -2px; padding: 14px; border-radius: 24px; }
    .gr-releases-frame { padding-inline: 6px; }
    .gr-releases-frame .carousel-track { gap: 14px; padding-top: 10px; padding-bottom: 16px; }
    .gr-releases-showcase .gr-release-card { flex-basis: 82vw; }
    .gr-releases-showcase .gr-release-card:nth-child(even),
    .gr-releases-showcase .gr-release-card:nth-child(even):hover { transform: none; }
    .gr-releases-showcase .gr-release-cover { height: min(78vw, 320px); }
    .gr-lyrics-showcase .lyrics-grid { grid-template-columns: 1fr; gap: 14px; }
    .gr-lyrics-showcase .lyrics-card { grid-template-columns: 116px minmax(0, 1fr); grid-template-rows: none; }
    .gr-lyrics-showcase .lyrics-cover { height: 100%; min-height: 184px; }
    .gr-lyrics-showcase .lyrics-content { padding: 15px; }
    .gr-lyrics-showcase .lyrics-preview { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .gr-showcase-note { display: none; }
}
@media (max-width: 520px) {
    .gr-showcase-title-wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); }
    .gr-showcase-index { font-size: 1.9rem; }
    .gr-showcase-head p { font-size: .9rem; }
    .gr-lyrics-showcase .lyrics-card { grid-template-columns: 96px minmax(0, 1fr); border-radius: 20px; }
    .gr-lyrics-showcase .lyrics-cover { min-height: 172px; }
    .gr-lyrics-showcase .lyrics-content { padding: 13px; }
    .gr-lyrics-showcase .lyrics-title { font-size: 1rem; }
    .gr-lyrics-showcase .lyrics-preview { margin: 9px 0 11px; font-size: .82rem; -webkit-line-clamp: 2; }
    .gr-lyrics-showcase .track-badge { left: 8px; right: 8px; bottom: 8px; max-width: calc(100% - 16px); font-size: 0; width: 34px; height: 34px; justify-content: center; padding: 0; }
    .gr-lyrics-showcase .track-badge i { font-size: .85rem; }
}

/* ==========================================================
   PATCH 2026-07-15: release genre, lyrics action and videos
   ========================================================== */
.gr-release-body .genre {
    display: block;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    padding-right: 13px;
}

.gr-lyrics-showcase .gr-card-link {
    min-height: 34px;
    padding: 6px 8px 6px 12px;
    border-color: rgba(var(--home-tx-about-rgb), .28);
    background: rgba(var(--home-tx-about-rgb), .08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.gr-lyrics-showcase .gr-card-link i {
    width: 22px;
    height: 22px;
    display: grid;
    flex: 0 0 22px;
    place-items: center;
    border-radius: 50%;
    background: rgba(var(--home-tx-about-rgb), .14);
    transition: transform .22s ease, background .22s ease;
}
.gr-lyrics-showcase .gr-card-link:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--home-tx-about-rgb), .48);
    background: rgba(var(--home-tx-about-rgb), .14);
    box-shadow: 0 10px 24px rgba(0,0,0,.18), 0 0 0 3px rgba(var(--home-tx-about-rgb), .07);
}
.gr-lyrics-showcase .gr-card-link:hover i {
    transform: translateX(2px);
    background: rgba(var(--home-tx-about-rgb), .22);
}
[data-theme="light"] .gr-lyrics-showcase .gr-card-link {
    background: rgba(255,255,255,.68);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
[data-theme="light"] .gr-lyrics-showcase .gr-card-link:hover {
    background: rgba(var(--home-tx-about-rgb), .10);
    box-shadow: 0 10px 24px rgba(48,35,40,.12), 0 0 0 3px rgba(var(--home-tx-about-rgb), .06);
}

.gr-videos-frame {
    padding-inline: clamp(8px, 1.3vw, 18px);
}
.gr-videos-frame .gr-carousel-shell {
    padding-top: 8px;
    padding-bottom: 2px;
}
.gr-videos-frame .carousel-track {
    gap: 22px;
    padding-top: 18px;
    padding-bottom: 24px;
}
.gr-videos-showcase .video-card {
    flex-basis: 300px;
    padding: 12px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.025));
    box-shadow: 0 24px 58px rgba(0,0,0,.28);
}
.gr-videos-showcase .youtube-placeholder--safe {
    min-height: 220px;
    aspect-ratio: auto;
    border-radius: 20px;
    border-color: rgba(var(--home-tx-about-rgb), .20);
    background:
        radial-gradient(circle at 14% 12%, rgba(255, 0, 51, .18), transparent 34%),
        radial-gradient(circle at 86% 88%, rgba(var(--home-tx-about-rgb), .18), transparent 36%),
        linear-gradient(145deg, rgba(18,20,27,.98), rgba(8,10,14,.98));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
}
.gr-videos-showcase .youtube-safe-card--carousel {
    gap: 9px;
    padding: 18px;
}
.gr-videos-showcase .youtube-safe-card__icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(255,0,51,.20), 0 0 0 5px rgba(var(--home-tx-about-rgb), .06);
}
.gr-videos-showcase .youtube-safe-card__button {
    color: var(--home-neon-light);
    background: rgba(var(--home-tx-about-rgb), .09);
    border-color: rgba(var(--home-tx-about-rgb), .28);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
    transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}
.gr-videos-showcase .youtube-placeholder--safe:hover .youtube-safe-card__button,
.gr-videos-showcase .youtube-placeholder--safe:focus-visible .youtube-safe-card__button {
    transform: translateY(-2px);
    border-color: rgba(var(--home-tx-about-rgb), .48);
    background: rgba(var(--home-tx-about-rgb), .15);
    box-shadow: 0 10px 24px rgba(0,0,0,.18), 0 0 0 3px rgba(var(--home-tx-about-rgb), .07);
}
.gr-videos-showcase .video-card h3 {
    margin-top: 15px;
    padding-inline: 5px;
}
.gr-videos-showcase .video-card p {
    margin-inline: 5px;
}
[data-theme="light"] .gr-videos-showcase .video-card {
    background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.62));
    box-shadow: 0 24px 52px rgba(48,35,40,.14);
}
[data-theme="light"] .gr-videos-showcase .youtube-placeholder--safe {
    border-color: rgba(var(--home-tx-about-rgb), .18);
    background:
        radial-gradient(circle at 14% 12%, rgba(255, 0, 51, .10), transparent 34%),
        radial-gradient(circle at 86% 88%, rgba(var(--home-tx-about-rgb), .12), transparent 36%),
        linear-gradient(145deg, #20232a, #0f1218);
}

@media (min-width: 1181px) {
    .gr-videos-showcase .video-card {
        flex-basis: calc((100% - 66px) / 4);
        min-width: 0;
    }
}

@media (max-width: 760px) {
    .gr-videos-frame {
        padding-inline: 6px;
    }
    .gr-videos-frame .carousel-track {
        gap: 14px;
        padding-top: 10px;
        padding-bottom: 16px;
    }
    .gr-videos-showcase .video-card {
        flex-basis: 82vw;
    }
}
